:root{--paper:#f4f2ed;--surface:#fffefa;--ink:#252825;--muted:#656962;--line:#dcded5;--accent:#b63824;--soft:#eaece4;--danger:#a52d22;--radius:7px;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.6}::selection{background:#edd0bd;color:#292923}a{color:inherit;text-underline-offset:4px}button,input,textarea,select{font:inherit}button,a,input,textarea,select,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button,a,label,summary{-webkit-tap-highlight-color:transparent}input,textarea,select{width:100%;min-width:0;padding:11px 12px;border:1px solid #cdd1c5;border-radius:var(--radius);background:var(--surface);color:var(--ink);caret-color:var(--accent)}input::placeholder,textarea::placeholder{color:#777b72}textarea{resize:vertical;min-height:76px}input:focus,textarea:focus,select:focus{border-color:var(--ink);outline:none}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible,.upload-button:has(+input:focus-visible){outline:2px solid var(--accent);outline-offset:4px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[hidden]{display:none!important}.topbar{height:88px;border-bottom:1px solid var(--line);max-width:1392px;margin:auto;padding:0 48px;display:flex;justify-content:space-between;align-items:center}.brand{display:flex;align-items:center;gap:12px;text-decoration:none}.brand>svg{width:30px;height:30px;color:var(--accent);stroke-width:1.8}.brand>span{font-size:22px;font-weight:650;letter-spacing:-.03em}.brand small{font-family:Georgia,serif;font-size:17px;margin-left:4px;color:var(--muted)}.history-link{display:flex;align-items:center;gap:12px;font-size:13px;text-decoration:none}.history-link:hover,.text-button:hover,.result-links a:hover{color:var(--accent)}main{max-width:1296px;padding:44px 0 0;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:34px}h1{font-size:30px;letter-spacing:-.03em;font-weight:600;line-height:1.35;margin:0 0 9px;text-wrap:balance}.page-heading p{margin:0;color:var(--muted);font-size:14px}.output-format{font-size:12px;font-weight:650;letter-spacing:.03em;border:1px solid #cdd1c5;border-radius:4px;padding:6px 10px;white-space:nowrap}.output-format span{font-weight:400;color:var(--muted);margin-left:8px;font-variant-numeric:tabular-nums}.workspace{display:grid;grid-template-columns:minmax(350px, .9fr) minmax(0,1.25fr);background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden}.editor{padding:28px 32px 30px;min-width:0}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.section-heading h2{font-size:17px;margin:0;font-weight:650;letter-spacing:-.02em}.section-heading>span{font-size:12px;color:var(--muted)}.field{margin-bottom:20px}label{display:block;font-size:13px;font-weight:600;margin-bottom:7px}.required{font-size:11px;font-weight:400;color:var(--muted);margin-left:5px}.input-action{display:flex;gap:8px}.input-action input{flex:1}.input-action button{white-space:nowrap}.hint{font-size:12px;color:var(--muted);margin:6px 0 0;line-height:1.7}.field-meta{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted);margin-top:5px}.field-meta span:last-child{font-variant-numeric:tabular-nums;white-space:nowrap}.primary,.secondary{border:1px solid transparent;border-radius:var(--radius);font-weight:550;padding:10px 16px;transition:background .16s ease-out}.primary{background:var(--accent);color:white}.primary:hover{background:#982b1b}.secondary{background:var(--surface);border-color:#cdd1c5;color:var(--ink)}.secondary:hover{background:var(--soft)}.text-button{border:0;background:transparent;padding:2px 0;color:var(--muted);font-size:12px;text-decoration:underline;text-underline-offset:4px}.label-line{display:flex;justify-content:space-between;gap:12px}.small{font-size:11px;color:var(--muted);max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-line{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:9px}.upload-line .hint{margin:0;font-size:11px}.upload-button{display:flex;gap:5px;align-items:center;font-size:12px;margin:0;font-weight:500;cursor:pointer}.upload-button:hover{color:var(--accent)}.upload-button svg{width:16px;height:16px}.file-input{position:absolute;width:1px;height:1px;padding:0;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.advanced{border-top:1px solid var(--line);padding-top:15px;margin-top:24px}.advanced summary{cursor:pointer;list-style:none;font-size:13px;font-weight:550;display:flex;align-items:center;gap:10px}.advanced summary::-webkit-details-marker{display:none}.advanced summary:before{content:"+";font-size:18px;font-weight:400;line-height:1}.advanced[open] summary:before{content:"−"}.advanced summary span{font-weight:400;color:var(--muted);font-size:11px;margin-left:auto}.advanced-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px}.advanced-grid .field{margin:0}.advanced>.hint{margin-top:12px}.form-actions{display:flex;gap:10px;margin-top:25px}.form-actions .primary{display:flex;justify-content:space-between;gap:30px;flex:1}.form-actions .secondary{font-size:12px}.preview-panel{padding:28px 36px;background:#eaece5;border-left:1px solid var(--line);min-width:0}.preview-sheet{background:var(--surface);border-radius:9px;overflow:hidden;box-shadow:0 12px 32px #2229140c}.draft-cover{aspect-ratio:1200/630;position:relative;background:#252e28;overflow:hidden;color:#f6f5ed;container-type:inline-size}.draft-cover[data-theme=light]{background:#e9e3d6;color:#302e26}.draft-cover>img{width:100%;height:100%;object-fit:cover}.draft-type{padding:7% 8%;height:100%;display:flex;flex-direction:column;justify-content:center}.cover-mark{font-size:10px;letter-spacing:.19em;color:inherit;opacity:.7;margin-bottom:20px}.draft-type h3{font-size:clamp(20px,4.7cqw,38px);letter-spacing:-.035em;line-height:1.35;font-weight:500;white-space:pre-line;margin:0;max-width:92%;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.draft-type p{font-size:clamp(11px,2.2cqw,16px);color:inherit;opacity:.8;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:14px 0 0;max-width:90%;overflow-wrap:anywhere}.draft-type>span{font-size:11px;margin-top:18px;opacity:.7}.cover-symbol{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);height:50px;width:50px;display:grid;place-items:center;border-radius:50%;background:#111a;backdrop-filter:blur(4px);color:white}.cover-symbol svg{width:24px;height:24px}.duration{position:absolute;right:16px;bottom:14px;padding:2px 6px;background:#111c;color:white;border-radius:3px;font-size:12px;font-variant-numeric:tabular-nums}.generated-image{display:block;width:100%;height:auto;aspect-ratio:1200/630;object-fit:contain;background:#e0e2d8}.preview-caption{padding:20px 23px 23px}.preview-caption>span{font-size:11px;color:var(--muted);display:block;overflow-wrap:anywhere}.preview-caption h3{font-size:17px;line-height:1.55;margin:5px 0;overflow-wrap:anywhere}.preview-caption p{font-size:12px;color:var(--muted);margin:0;line-height:1.7;overflow-wrap:anywhere}.preview-note{font-size:11px;color:var(--muted);margin:14px 0 0}.preview-guide{display:flex;gap:12px;margin-top:38px;padding-top:21px;border-top:1px solid #ced2c5;color:#58614f}.preview-guide svg{margin-top:3px}.preview-guide p{font-size:13px;margin:0;line-height:1.9}.preview-guide span{font-size:12px;color:var(--muted)}.result{margin-top:23px}.result input{font-size:12px}.result-links{display:flex;justify-content:space-between;margin-top:17px;font-size:12px}.result-links a{display:flex;align-items:center;gap:7px;text-decoration:none}.result-links a:first-child{font-weight:600}.result-links svg{width:16px;height:16px}.result>.hint{margin-top:16px}.status,.notice{background:#eee9dc;color:#5a4b2f;font-size:12px;padding:10px 12px;border-radius:5px;overflow-wrap:anywhere}.status{margin-top:18px}.notice{margin:0 0 20px}.status[data-kind=error]{background:#f6e8e0;color:var(--danger)}.status[data-kind=success]{background:#e3eadc;color:#385329}.queue-section,.history{margin-top:42px;scroll-margin-top:24px}.queue-section .section-heading p{margin-bottom:0}.queue-section .section-heading h2 span,.history h2 span{font-weight:400;color:var(--muted);font-size:12px;margin-left:8px}.history .section-heading{margin-bottom:14px}.empty-state{margin:0;padding:30px 0;border-top:1px solid var(--line);color:var(--muted);font-size:13px}.queue-list{list-style:none;margin:0;padding:0}.queue-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(80px,160px) auto;gap:16px;padding:13px 0;border-top:1px solid var(--line);align-items:center}.queue-row strong{font-size:13px;font-weight:550;overflow-wrap:anywhere}.queue-row small{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.queue-row button{min-width:28px}.history-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.history-item{border-top:1px solid var(--line);padding-top:18px;display:grid;grid-template-columns:94px minmax(0,1fr);gap:13px}.history-item img{width:94px;aspect-ratio:1200/630;border-radius:4px;object-fit:cover;background:var(--soft)}.history-item h3{font-size:13px;margin:0 0 3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-item p{font-size:11px;margin:0;color:var(--muted);font-variant-numeric:tabular-nums}.history-actions{display:flex;gap:14px;font-size:11px;margin-top:7px}.history-actions button{font-size:11px;color:var(--ink)}footer{max-width:1296px;margin:58px auto 0;padding:21px 0 26px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}*{scrollbar-width:thin;scrollbar-color:#bdc3b3 transparent}@media(min-width:1600px){main{padding-top:50px}.workspace{grid-template-columns:510px minmax(0,1fr)}}@media(max-width:1390px){main,footer{margin-left:48px;margin-right:48px}}@media(max-width:1050px){.topbar{padding:0 28px}main,footer{margin-left:28px;margin-right:28px}.editor{padding:26px 24px}.preview-panel{padding:26px 24px}.workspace{grid-template-columns:minmax(340px,1fr) minmax(0,1fr)}.cover-mark{margin-bottom:12px;font-size:9px}.history-list{grid-template-columns:repeat(2,minmax(0,1fr))}.output-format{display:none}.form-actions{flex-wrap:wrap}.form-actions .primary{flex-basis:100%}.form-actions .secondary{width:100%}}@media(max-width:760px){.topbar{height:72px;padding:0 20px}.brand small{font-size:15px}.brand{gap:8px}.history-link{font-size:12px;gap:6px}main{padding-top:29px;margin:0 20px}.page-heading{margin-bottom:24px}h1{font-size:25px}.page-heading p{font-size:12px}.workspace{display:flex;flex-direction:column}.editor{padding:24px 20px}.preview-panel{padding:24px 20px;border-left:0;border-top:1px solid var(--line)}.section-heading{margin-bottom:22px}.form-actions{flex-wrap:nowrap}.form-actions .primary{flex-basis:auto;gap:12px}.form-actions .secondary{width:auto}.preview-guide{margin-top:25px}.history-list{grid-template-columns:1fr}.queue-section .section-heading{align-items:flex-start}.queue-section .primary{padding:8px 10px;font-size:12px}.queue-row{grid-template-columns:minmax(0,1fr) 90px auto;gap:8px}footer{margin:42px 20px 0;font-size:10px}.brand>span{font-size:20px}.history-item img{width:110px}.history-item{grid-template-columns:110px minmax(0,1fr)}.input-action button{padding-left:11px;padding-right:11px}.preview-caption{padding:17px 19px}.cover-mark{margin-bottom:15px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}
