:root{font-family:Arial,Helvetica,sans-serif;color:#151515;background:#fff;font-synthesis:none;--blue:#0079c1}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #0079c1;outline-offset:4px}header{max-width:1360px;margin:auto;padding:30px 48px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e9e9e9}header>a:last-child{font-size:13px}.brand{font-size:29px;font-weight:800;letter-spacing:-2px}.brand span{color:var(--blue);font-size:21px}main{max-width:1360px;margin:auto;padding:0 48px}.hero{display:grid;grid-template-columns:1.4fr 1fr;align-items:center;gap:60px;padding:65px 0 80px}h1{font-size:clamp(46px,5.6vw,80px);line-height:1.03;letter-spacing:-5px;margin:0 0 25px}h1 span{color:var(--blue)}.hero p{font-size:17px;line-height:1.7;color:#666;margin-bottom:30px}.primary{background:var(--blue);color:#fff;border:0;border-radius:8px;min-height:54px;padding:18px 24px;display:inline-flex;gap:35px;justify-content:space-between;font-weight:600;font-size:14px}.hero-art{background:var(--blue);color:#fff;aspect-ratio:1.12;border-radius:4px;padding:35px;display:flex;flex-direction:column;justify-content:space-between;transform:rotate(3deg);box-shadow:12px 14px #e9f4fa}.hero-art>span,.hero-art small{font-size:10px;letter-spacing:2px;line-height:1.6}.hero-art strong{font-size:clamp(25px,3.3vw,47px);letter-spacing:-2px;line-height:1.1}.hero-art i{font-family:Georgia;font-weight:400}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px}.step{font-size:10px;font-weight:700;letter-spacing:2px;color:#777}h2{font-size:29px;letter-spacing:-1px;margin:12px 0 24px}.arrows{display:flex;gap:8px;margin-bottom:24px}button{border:1px solid #ddd;background:#fff;border-radius:7px;min-height:44px;padding:10px 16px}.filters{display:flex;gap:8px;overflow:auto;margin-bottom:24px}.filters button{border:0;color:#666;background:#f5f5f5;white-space:nowrap;font-size:12px;border-radius:30px;padding:10px 20px}.filters button.active{background:#151515;color:#fff}.rail{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 3px 18px;scrollbar-width:thin;scrollbar-color:#ccc transparent}.template{padding:0;border:0;background:none;flex:0 0 208px;text-align:left;scroll-snap-align:start}.template canvas{width:100%;aspect-ratio:9/16;border-radius:8px;display:block;transition:transform .25s}.template:hover canvas{transform:translateY(-4px)}.template.active canvas{outline:3px solid var(--blue);outline-offset:3px}.template b{display:block;margin-top:15px;font-size:14px}.template small{display:block;color:#777;margin-top:5px;font-size:11px}.rail-note{display:flex;justify-content:space-between;font-size:11px;color:#777;padding:10px 0 32px;border-bottom:1px solid #ddd}#editor{padding:65px 0}.section-head>span{color:#777;font-size:11px}.workspace{display:grid;grid-template-columns:1fr 1fr;border:1px solid #e5e5e5;border-radius:12px;overflow:hidden}.preview-area{background:#f3f4f5;padding:35px;display:flex;flex-direction:column;align-items:center}#preview{width:100%;max-width:280px;aspect-ratio:9/16;border-radius:6px;box-shadow:0 15px 40px #0002}.playback{display:flex;align-items:center;gap:12px;width:100%;max-width:350px;margin-top:20px}.playback button{border:0;background:none}.playback input{width:100%;min-width:30px;accent-color:var(--blue)}.playback span{white-space:nowrap;font-size:10px}.controls{padding:35px 40px;display:flex;flex-direction:column;gap:13px}.selected{font-size:10px;letter-spacing:1.5px;color:#777;border-bottom:1px solid #eee;padding-bottom:20px;margin-bottom:5px}.selected strong{display:block;color:#151515;font-size:22px;letter-spacing:-.6px;margin-top:8px}label{font-size:12px;font-weight:600;display:flex;justify-content:space-between}label span#count{font-weight:400;color:#888}textarea,input:not([type=range]),select{border:1px solid #ddd;border-radius:6px;padding:13px;width:100%;background:#fff;color:#222;font-size:14px}textarea{resize:vertical;line-height:1.5}.hint{font-size:11px;color:#777;margin:0}.presets{display:flex;gap:7px;flex-wrap:wrap}.presets button{font-size:11px;min-height:36px;padding:8px}.upload{cursor:pointer;border:1px dashed #bbb;border-radius:7px;padding:20px;display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:6px}.upload small{font-weight:400;color:#777;font-size:10px}.export{width:100%;margin-top:8px}#status{font-size:11px;color:#666;line-height:1.6;margin:0}button:disabled{opacity:.5;cursor:wait}footer{padding:25px 0 35px;border-top:1px solid #ddd;display:flex;justify-content:space-between;align-items:center;gap:20px}footer>span,footer>a:last-child{font-size:11px;color:#777}[hidden]{display:none!important}@media(max-width:700px){header{padding:22px}main{padding:0 22px}.hero{gap:24px;padding:42px 0 48px;grid-template-columns:1fr}.hero h1{letter-spacing:-2.8px;font-size:53px}.hero p{font-size:14px}.hero-art{display:none}h2{font-size:24px}.section-head{align-items:center}.arrows{gap:4px}.arrows button{padding:10px}.template{flex-basis:180px}.rail{margin-right:-22px;padding-right:22px}.rail-note{font-size:10px;gap:20px}.workspace{grid-template-columns:1fr}.preview-area{padding:24px}#preview{max-width:240px}.controls{padding:24px}#editor{padding:40px 0}.section-head>span{display:none}footer{flex-wrap:wrap}footer>span{margin-left:auto}footer>a:last-child{width:100%}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}.hero{display:block;text-align:center;padding:54px 0 35px}.hero h1{font:normal clamp(38px,4.4vw,64px)/1.12 Georgia,serif;letter-spacing:-2px;margin:0 0 20px}.hero h1 em{color:#a56876}.hero p{font-size:14px;line-height:1.8;color:#777;margin-bottom:0}.brand{font:italic 30px Georgia;letter-spacing:-1px;color:#123c59}.brand span{font-size:23px;color:#b67a85}.template{flex:1 0 195px;min-width:0}.template b{font:20px Georgia}.template small{line-height:1.6}.rail{gap:22px}.workspace{grid-template-columns:.9fr 1.1fr;align-items:start;overflow:visible}.preview-area{position:sticky;top:20px;border-radius:12px;min-height:780px;background:#f6f3f3;padding:35px 24px}#preview{max-width:345px;width:100%;border-radius:4px}.controls{gap:15px}.selected strong{font:30px Georgia}.selected p{font-size:12px;letter-spacing:0;line-height:1.6}.chapter-field{margin-bottom:17px}.chapter-field label{margin-bottom:8px;font-weight:400;color:#785c65}.chapter-field textarea{font-size:13px;min-height:112px;line-height:1.65}.chapter-field small{display:block;font-size:10px;color:#888;text-align:right;margin-top:4px}.chapter-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:15px}.chapter-nav button{font-size:10px;border:0;background:#ffffff9c;min-height:40px;padding:8px}.chapter-nav button.active{background:#633c43;color:#fff}.preview-note{font:italic 14px Georgia;color:#8d6a73;margin-top:20px}fieldset{padding:0;border:0;margin:2px 0}legend{font-size:12px;font-weight:600;margin-bottom:12px}#palettes{display:grid;grid-template-columns:1fr 1fr;gap:8px}.palette{display:flex;align-items:center;gap:9px;font-size:11px;text-align:left;padding:10px}.palette[aria-pressed=true]{border-color:#0079c1;box-shadow:0 0 0 1px #0079c1}.swatches{display:flex}.swatches i{width:16px;height:24px;display:block}.swatches i:first-child{border-radius:4px 0 0 4px}.swatches i:last-child{border-radius:0 4px 4px 0}.text-button{padding:4px 0;min-height:40px;border:0;text-align:left;color:#0079c1;font-size:11px;background:transparent}.controls .section-head{align-items:center}#photo-list{display:flex;gap:8px}#photo-list img{width:55px;height:65px;object-fit:cover;border-radius:4px}progress{width:100%;accent-color:#0079c1}.hint{line-height:1.7}#download{font-size:12px}.playback button{color:#633c43}.rail-note{gap:15px}.controls input{min-height:46px}@media(max-width:700px){.hero{padding:36px 0}.hero h1{font-size:40px;letter-spacing:-1.5px}.hero p{font-size:12px}.hero h1 br{display:none}.workspace{grid-template-columns:1fr;overflow:hidden}.preview-area{position:static;min-height:0;padding:24px 16px}#preview{max-width:285px}.template{flex:0 0 210px}.template b{font-size:19px}.controls{padding:24px 18px}.rail-note span{max-width:140px;text-align:right}header{padding:20px}header>a:last-child{font-size:11px}.chapter-field textarea,.controls input,select{font-size:16px}.section-head h2{font-size:23px}.hero-art{display:none}}
