@charset "UTF-8";
:root{--canvas:#f6f5f0;--paper:#fff;--ink:#252522;--muted:#676760;--line:#e3e2dc;--accent:#c84d35;--accent-hover:#aa3d28;--soft:#f9eee9;--green:#46624e;--radius:12px;font-family:"PingFang SC","Noto Sans CJK SC","Microsoft YaHei",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--canvas);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select,summary{-webkit-tap-highlight-color:transparent}button,a,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:inherit;text-underline-offset:4px}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #c84d3570;outline-offset:4px}::selection{background:#f1c4b6;color:#252522}input,textarea{caret-color:var(--accent)}[hidden]{display:none!important}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.app-shell{max-width:1216px;padding:0 44px;margin:auto}.site-header{height:92px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.wordmark{text-decoration:none;display:flex;align-items:center;gap:10px}.wordmark>span:nth-child(2){font-family:Georgia,"Times New Roman",serif;font-size:31px;letter-spacing:-1.1px;font-weight:700}.wordmark-dot{color:var(--accent)}.brand-symbol{width:33px;height:33px;border-radius:9px;background:var(--accent);display:grid;place-items:center}.brand-symbol svg{height:23px;width:23px;fill:white;stroke:white;stroke-width:1.5;margin-left:-2px}.brand-chinese{border-left:1px solid #d6d5cd;margin-left:9px;padding-left:18px;font-size:12px;letter-spacing:2px;color:var(--muted)}.header-tools{display:flex;align-items:center;gap:24px}.mode-badge{font-size:12px;color:#5b6157;display:flex;align-items:center;gap:7px}.mode-badge>span{height:6px;width:6px;background:#87917a;border-radius:50%}.help{position:relative}.help summary{display:flex;gap:7px;align-items:center;cursor:pointer;font-size:12px;min-height:44px;list-style:none}.help summary::-webkit-details-marker{display:none}.help .icon{width:17px;height:17px}.help-panel{position:absolute;z-index:10;right:0;top:43px;width:320px;padding:24px;background:var(--paper);box-shadow:0 12px 40px #29291d1a;border-radius:var(--radius);font-size:13px;line-height:1.8}.help-panel p{color:var(--muted);margin:12px 0 0}.page-intro{display:flex;justify-content:space-between;align-items:flex-end;padding:43px 0 34px}.page-intro h1{font-size:38px;letter-spacing:-1.1px;line-height:1.4;font-weight:650;margin:0;text-wrap:balance}.page-intro h1 br{display:none}.page-intro h1 span{color:var(--accent)}.page-intro>div>p{font-size:14px;color:var(--muted);margin:13px 0 0;letter-spacing:.3px}.intro-note{display:flex;align-items:flex-start;gap:11px;padding-bottom:3px}.intro-note>.icon{color:#8b8b7f;margin-top:4px;width:24px;height:24px}.intro-note p{font-size:12px;line-height:1.9;margin:0;color:#52554b}.intro-note p span{color:var(--muted)}
.workspace{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:28px;align-items:start}.input-panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:28px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:16px}.section-title h2{font-size:16px;margin:0;font-weight:600;display:flex;gap:10px;align-items:center}.step-number{font-size:11px;font-weight:600;height:22px;width:22px;border-radius:50%;background:var(--soft);color:var(--accent);display:grid;place-items:center;font-variant-numeric:tabular-nums}.field-hint{font-size:11px;color:var(--muted)}.story-field{background:#fbfbf8;border:1px solid #ddded6;border-radius:8px;overflow:hidden}.story-field:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px #c84d3512}.story-field textarea{display:block;width:100%;height:145px;resize:vertical;border:0;background:none;color:var(--ink);padding:16px 17px 4px;font-size:13px;line-height:1.95;outline:none;min-height:110px;max-height:350px}.story-field textarea:focus-visible{outline:none}.story-field textarea::placeholder{color:#7a7c72}.textarea-bottom{display:flex;justify-content:space-between;gap:8px;padding:11px 16px 13px;font-size:10px;color:var(--muted)}#story-count{white-space:nowrap;font-variant-numeric:tabular-nums}.examples{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:10px 0 0}.examples>span{font-size:10px;color:var(--muted);margin-right:3px}.examples button{display:flex;align-items:center;gap:3px;background:#fff;border:0;border-radius:4px;padding:7px 3px;min-height:32px;font-size:10px;color:#5b5d53}.examples button .icon{width:12px;height:12px;color:#8b8d83}.examples button:hover{color:var(--accent);background:var(--soft)}.material-heading{margin-top:28px;margin-bottom:7px}.section-description{font-size:11px;color:var(--muted);margin:0 0 15px 32px}.photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.photo-grid>div,.upload-tile{aspect-ratio:1.04;min-width:0;border-radius:8px;position:relative;overflow:hidden}.sample-photo img,.uploaded-photo img{height:100%;width:100%;object-fit:cover;display:block}.sample-photo span{position:absolute;bottom:5px;left:5px;color:white;background:#242721a6;font-size:8px;padding:3px 5px;border-radius:3px}.upload-tile{background:#fcfcf9;border:1px dashed #c7c9bc;color:#64695c;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;font-size:11px;transition:background .2s}.upload-tile:hover{border-color:var(--accent);background:var(--soft);color:var(--accent)}.upload-tile .icon{width:23px;height:23px}.photo-note{font-size:10px;color:var(--muted);line-height:1.7;margin:10px 0 0}.remove-photo{position:absolute;top:4px;right:4px;width:28px;height:28px;border:0;border-radius:50%;background:#fffef3ed;display:grid;place-items:center;color:#433d35}.remove-photo .icon{width:14px;height:14px}.uploaded-photo>span{position:absolute;left:5px;bottom:5px;border-radius:3px;background:#242721ab;color:white;font-size:9px;padding:2px 6px}.brand-details{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:24px}.brand-details summary{list-style:none;display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:550;padding:16px 0;cursor:pointer;min-height:48px}.brand-details summary::-webkit-details-marker{display:none}.brand-details summary>span{display:flex;gap:7px;align-items:center;font-size:10px;color:var(--muted);font-weight:400}.brand-details summary .icon{width:16px;height:16px;transition:transform .2s}.brand-details[open] summary .icon{transform:rotate(180deg)}.brand-fields{display:grid;grid-template-columns:.8fr 1.2fr;gap:12px;padding-bottom:18px}.brand-fields label{display:block;font-size:10px;margin-bottom:7px;color:var(--muted)}.brand-fields input{width:100%;height:39px;border-radius:6px;border:1px solid var(--line);background:#fbfbf8;font-size:12px;padding:0 11px;color:var(--ink)}.brand-fields input::placeholder{color:#77796f}.generation-options{display:flex;align-items:center;gap:9px;margin-top:19px;font-size:10px;color:var(--muted)}.generation-options select{appearance:auto;border:0;color:#454940;background:#f4f4ee;border-radius:4px;padding:6px 5px;font-size:10px;max-width:190px;min-height:34px}.format-tag{margin-left:auto;white-space:nowrap;font-size:10px}.generate-button{display:flex;align-items:center;justify-content:center;gap:11px;width:100%;min-height:52px;border:0;border-radius:8px;background:var(--accent);color:#fff;margin-top:14px;font-size:14px;font-weight:550;transition:background .2s}.generate-button:hover{background:var(--accent-hover)}.generate-button .arrow{margin-left:auto;width:19px;height:19px}.generate-button>.icon:first-child{margin-right:auto;margin-left:16px}.generate-button>.icon:last-child{margin-right:16px}.generate-button:disabled{background:#bc8375}.generation-note{font-size:10px;line-height:1.7;text-align:center;color:var(--muted);margin:10px 0 0}.field-error{font-size:12px;color:#a13222;line-height:1.6;margin:8px 0 0}.error-box{background:#fff1ec;color:#9c3725;padding:12px;border-radius:7px;font-size:12px;line-height:1.7;margin-top:12px}
.result-panel{padding-top:4px;min-width:0}.preview-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.preview-heading h2{font-size:14px;font-weight:550;margin:0}.preview-heading>span{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:6px}.status-dot{width:5px;height:5px;border-radius:50%;background:#aaa99f}.preview-stage{position:relative;background:#252925;border-radius:var(--radius);padding:46px 36px 20px;overflow:hidden;display:flex;align-items:center;flex-direction:column}.stage-corner{position:absolute;top:17px;left:20px;display:flex;align-items:center;gap:7px;color:#b9c0b5}.stage-corner .icon{height:12px;width:12px}.stage-corner span{font-size:8px;letter-spacing:1.6px}.portrait-preview{position:relative;width:255px;max-width:100%;aspect-ratio:9/16;border-radius:4px;overflow:hidden;background:#171e19;box-shadow:0 12px 25px #00000026}.placeholder-preview{position:relative;height:100%;width:100%}.placeholder-preview>img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:48%}.poster-shade{position:absolute;inset:0;background:linear-gradient(180deg,#10170f26 0%,transparent 35%,#172018db 100%)}.poster-brand{position:absolute;top:23px;left:23px;color:white;font-size:9px;letter-spacing:1.1px}.poster-text{position:absolute;bottom:48px;left:23px;right:20px;color:white}.poster-label{font-size:8px;letter-spacing:1px;color:#edece2}.poster-text strong{display:block;font-size:25px;line-height:1.55;font-weight:550;letter-spacing:.5px;margin:14px 0 17px}.poster-rule{height:1px;width:26px;background:#e0ccac;display:block}.poster-text p{font-size:9px;margin:14px 0 0;color:#e4e7db}.poster-disclaimer{position:absolute;bottom:13px;left:23px;font-size:7px;color:#ebede5}.portrait-preview video{display:block;height:100%;width:100%;object-fit:contain;background:#111}.stage-caption{display:flex;justify-content:center;align-items:center;gap:7px;font-size:9px;color:#bdc6b6;margin-top:18px;min-height:16px}.tiny-dot{width:4px;height:4px;border-radius:50%;background:#9eac8d}.preview-specs{display:flex;align-items:center;gap:17px;padding:15px 4px 17px;border-bottom:1px solid var(--line);font-size:10px;color:var(--muted)}.preview-specs>span{display:flex;align-items:center;gap:4px}.preview-specs .icon{width:12px;height:12px;color:var(--green)}.preview-specs>span:last-child{margin-left:auto;font-size:9px;font-variant-numeric:tabular-nums}.download-row{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:19px 0 0}.download-row strong{font-size:12px;font-weight:550}.download-row p{font-size:10px;color:var(--muted);margin:7px 0 0}.download-row button{background:#fff;border:1px solid #cecec4;border-radius:6px;min-height:40px;padding:0 13px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;white-space:nowrap}.download-row button .icon{width:15px;height:15px}.download-row button:disabled{color:#81827a;background:#eeeeE7;border-color:#e2e2d8}.download-row button:not(:disabled):hover{border-color:var(--accent);color:var(--accent)}.stale-notice{color:#985438;background:#f5e9de;border-radius:6px;padding:10px;font-size:11px;line-height:1.7}.render-overlay{position:absolute;inset:0;background:#222a22f5;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:17px;padding:32px;text-align:center;color:#f6f5e9}.render-mark{height:60px;width:60px;color:#eaa58a;display:grid;place-items:center;margin-bottom:6px}.render-mark svg{height:50px;width:50px;fill:none;stroke:currentColor;stroke-width:1.2;animation:breathe 2s ease-in-out infinite}.render-overlay>strong{font-size:17px;font-weight:500}.render-overlay>span{font-size:11px;color:#bfcab5}.progress-track{height:3px;width:74%;background:#ffffff20;overflow:hidden;border-radius:3px;margin-top:15px}.progress-track>div{height:100%;background:#e5ab8d;width:100%;transform:scaleX(0);transform-origin:left;transition:transform .5s ease-out}.render-overlay>.render-percent{font-size:10px;font-variant-numeric:tabular-nums;color:#e9bd9c;margin-top:-6px}
.storyboard-section{padding-top:42px}.storyboard-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:20px;gap:12px}.storyboard-heading h2{margin:0;font-size:20px;font-weight:550}.storyboard-heading p{margin:8px 0 0;font-size:12px;color:var(--muted)}.script-source{font-size:10px;color:var(--muted)}.storyboard{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.scene{background:transparent;border:0;border-top:1px solid #cfcfc3;text-align:left;padding:15px 0;color:var(--ink);min-width:0}.scene:hover{border-color:var(--accent)}.scene-top{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}.scene h3{font-size:13px;margin:13px 0 8px;line-height:1.7;font-weight:550}.scene p{font-size:11px;line-height:1.85;color:var(--muted);margin:0;overflow-wrap:anywhere}.scene-play{display:inline-flex;align-items:center;gap:4px;margin-top:13px;color:var(--accent);font-size:10px}.scene-play .icon{height:12px;width:12px}.scene[aria-current=true]{border-color:var(--accent)}footer{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:29px 0 26px;margin-top:28px;border-top:1px solid var(--line);color:var(--muted);font-size:10px}footer>span:last-child{font-size:9px;letter-spacing:.7px}.footer-cross{padding:0 8px;color:#aaa89c}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:13px 22px;max-width:90vw;background:#2a332b;color:#fff;box-shadow:0 8px 25px #0002;border-radius:8px;font-size:12px;z-index:20;line-height:1.7;text-align:center}@keyframes breathe{50%{transform:rotate(12deg) scale(1.08)}}
@media(min-width:1300px){.app-shell{max-width:1264px}.workspace{gap:38px;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr)}.portrait-preview{width:272px}.input-panel{padding:30px 32px}.story-field textarea{height:152px}.page-intro{padding-top:45px}}
@media(max-width:1000px){.app-shell{padding:0 26px}.workspace{gap:24px}.input-panel{padding:22px}.page-intro h1{font-size:32px}.intro-note{display:none}.section-title h2{font-size:14px}.field-hint{font-size:10px}.examples{gap:5px}.examples>span{width:100%;margin-bottom:-5px}.preview-stage{padding-left:24px;padding-right:24px}.portrait-preview{width:244px}.generation-options{gap:5px}.generation-options>label{display:none}.format-tag{font-size:9px}.preview-specs{gap:10px}.brand-fields{grid-template-columns:1fr}.download-row{flex-wrap:wrap}.download-row button{flex:1;margin-top:4px}}
@media(max-width:720px){.app-shell{padding:0 20px}.site-header{height:77px}.wordmark>span:nth-child(2){font-size:27px}.brand-symbol{width:29px;height:29px;border-radius:8px}.brand-chinese{display:none}.header-tools{gap:16px}.help summary>span{display:none}.help-panel{width:min(320px,calc(100vw - 40px))}.mode-badge{font-size:10px}.page-intro{padding:30px 0 25px}.page-intro h1{font-size:30px;line-height:1.5;letter-spacing:-.6px}.page-intro h1 br{display:block}.page-intro>div>p{font-size:12px;margin-top:10px}.workspace{grid-template-columns:1fr;gap:31px}.input-panel{padding:22px 19px}.section-title h2{font-size:14px}.story-field textarea{font-size:13px;height:157px}.examples>span{width:auto;margin-bottom:0}.examples{gap:6px}.examples button{font-size:9px}.examples>span{font-size:9px}.textarea-bottom{font-size:9px;padding:10px 12px}.material-heading{margin-top:25px}.section-description{margin-left:0;font-size:10px}.photo-grid{gap:7px}.upload-tile{font-size:10px;gap:6px}.sample-photo span{font-size:7px}.photo-note{font-size:9px}.brand-fields{grid-template-columns:1fr;gap:14px}.brand-fields input{height:43px;font-size:13px}.brand-fields label{font-size:11px}.generation-options>label{display:inline}.generation-options select{font-size:10px;max-width:165px}.generate-button{min-height:54px;font-size:14px}.generation-note{font-size:9px}.preview-stage{padding-top:45px;padding-bottom:18px}.portrait-preview{width:256px}.preview-heading{margin-bottom:13px}.preview-specs{font-size:10px;gap:15px}.download-row{flex-wrap:nowrap;padding-top:18px}.download-row button{flex:initial;margin:0;font-size:11px}.download-row p{font-size:9px}.download-row strong{font-size:12px}.storyboard{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px}.storyboard-heading{display:block}.script-source{display:block;margin-top:12px}.storyboard-heading h2{font-size:19px}.storyboard-heading p{font-size:11px}footer{align-items:flex-start;flex-direction:column;gap:10px;margin-top:26px;padding:23px 0}.storyboard-section{padding-top:32px}.stage-caption{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
