:root{--paper:#faf9f6;--panel:#fff;--ink:#252722;--muted:#7b7b72;--line:#e8e7e0;--accent:#c9432f;--warm:#fff1e9;--night:#151916;--danger:#d64545;--danger-strong:#c33a3a;--danger-soft:#d645451a}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select,summary{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,video:focus-visible{outline:3px solid #d9473260;outline-offset:4px}[hidden]{display:none!important}a{color:inherit;text-decoration:none}p,h1,h2,h3{margin:0}p{line-height:1.7}button{transition:background .15s,color .15s,border-color .15s}h1{font-size:32px;font-weight:650;letter-spacing:-1px;line-height:1.4}h2{font-size:24px;font-weight:650}h3{font-size:15px;font-weight:600}.site-header{height:88px;max-width:1200px;margin:auto;padding:0 40px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px}.brand img{object-fit:contain}.brand-name{display:block;font-size:24px;letter-spacing:2px;font-weight:700;line-height:1.4}.brand-name small{vertical-align:middle;letter-spacing:0;font-weight:500;font-size:10px;color:var(--muted);margin-left:8px}.brand-description{font-size:10px;color:var(--muted);letter-spacing:.8px}nav{display:flex;gap:30px;height:100%;align-items:center}.nav-link{font-size:13px;color:var(--muted);height:100%;display:flex;align-items:center;border-bottom:2px solid transparent}.nav-link.active{color:var(--ink);border-color:var(--accent)}main{max-width:1120px;margin:0 auto;padding:36px 20px}.page-intro{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:25px}.eyebrow{color:var(--accent);font-size:11px;letter-spacing:2px;font-weight:600;margin-bottom:8px}.muted{color:var(--muted)}.small{font-size:12px}.tiny{font-size:11px}.template-card{display:grid;grid-template-columns:42% 58%;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--panel)}.sample-stage{position:relative;height:432px;background:var(--night);display:flex;justify-content:center;overflow:hidden}.sample-stage video{height:100%;width:100%;object-fit:contain;background:var(--night)}.sample-tag{position:absolute;z-index:2;top:17px;left:19px;color:#fff;background:#0005;border:1px solid #ffffff25;border-radius:4px;padding:5px 9px;font-size:10px;pointer-events:none}.sample-play{line-height:42px;position:absolute;inset:0;width:100%;border:0;background:linear-gradient(transparent 50%,#0009);display:flex;gap:14px;justify-content:center;align-items:flex-end;padding-bottom:44px;color:#fff;font-weight:500;font-size:14px;text-align:left}.play-disc{display:flex;align-items:center;justify-content:center;background:#fff;color:var(--ink);width:42px;height:42px;border-radius:50%;font-size:16px;padding-left:2px}.template-info{padding:34px 40px;display:flex;flex-direction:column;justify-content:center}.template-category{font-size:10px;letter-spacing:1px;color:var(--accent);font-weight:600;display:block;margin-bottom:12px}.template-info h2{font-size:31px;letter-spacing:-.7px;margin-bottom:10px}.template-summary{color:#6c6f65;font-size:14px;line-height:1.7}.template-actions{display:flex;gap:10px}.button{border:1px solid transparent;border-radius:7px;padding:12px 20px;display:inline-flex;justify-content:center;align-items:center;gap:22px;font-size:13px;font-weight:550;min-height:43px}.primary{background:var(--accent);color:white}.primary:hover:not(:disabled){background:#af3827}.secondary{background:white;color:var(--ink);border-color:#dcded5}.secondary:hover{background:#f5f5ef}.spec-line{display:flex;gap:16px;font-size:11px;color:var(--muted);margin-top:18px;margin-bottom:26px}.spec-line span+span:before{content:"·";margin-right:16px}footer{max-width:1080px;margin:0 auto;padding:22px 20px 28px;font-size:10px;color:#909286;border-top:1px solid var(--line);display:flex;justify-content:center;gap:10px}.back-link{font-size:12px;color:var(--muted);display:inline-block;margin-bottom:14px}.work-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.work-heading h1{font-size:27px;margin-bottom:5px}.text-button{border:0;background:transparent;padding:6px 0;color:var(--accent);font-size:12px}.text-button:hover{text-decoration:underline}.mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:22px}.mode-tab{text-align:left;border:1px solid var(--line);border-radius:9px;padding:16px 20px;background:#fff;color:var(--muted);font-size:15px;font-weight:600}.mode-tab.active{background:#fff8f3;border-color:var(--accent);color:var(--accent)}.work-section{background:white;border:1px solid var(--line);border-radius:12px;padding:26px;margin-bottom:20px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.section-heading h2{font-size:17px;display:flex;gap:10px;align-items:center}.step{font-size:10px;width:22px;height:22px;background:#f3f3ec;display:inline-flex;align-items:center;justify-content:center;border-radius:5px;color:var(--muted)}.upload-grid,.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.field-label{display:block;font-size:12px;font-weight:550;margin-bottom:10px}.upload-zone{height:167px;position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;border:1px dashed #d6d8cd;border-radius:8px;background:#fcfcf9;cursor:pointer;overflow:hidden}.upload-zone:hover,.upload-zone.dragging{border-color:var(--accent);background:#fff9f4}.upload-zone:focus-within{outline:3px solid #d9473260;outline-offset:2px}.upload-zone input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.upload-zone strong{font-size:13px;font-weight:500}.upload-zone span{font-size:11px;color:var(--muted)}.upload-zone small{font-size:10px;color:#999b90}.upload-zone .upload-icon{font-size:22px;color:#8d9781;margin-bottom:4px}.upload-zone.compact{height:38px;margin-top:8px;border-style:solid}.upload-zone.compact>*:not(input):not(strong){display:none}.upload-zone.compact strong{font-size:11px}.asset-detail{display:flex;gap:12px;align-items:center;margin-top:10px;padding:9px;background:#f6f7f1;border-radius:7px;min-height:77px}.asset-detail img,.asset-detail video{width:68px;height:62px;object-fit:contain;border-radius:3px;background:#ededdf}.asset-detail .asset-name{font-size:12px;word-break:break-all}.field-status{font-size:11px;color:var(--muted);padding-top:6px}.error{color:#bb3929!important}.info-grid{margin-top:22px}.text-input{width:100%;border:1px solid #dfe1d7;border-radius:6px;padding:12px;color:var(--ink);background:white;font-size:13px}.text-input::placeholder{color:#aaa99f}.generate-bar{display:flex;align-items:center;justify-content:space-between;padding:22px 0;gap:15px}.count-row{display:flex;align-items:center;gap:12px;font-size:12px}.count-row select{border:1px solid #dfe1d7;background:#fff;padding:7px 25px 7px 10px;border-radius:5px;color:var(--ink)}#generateHint{margin-top:8px;font-size:11px}.preset-details{border-bottom:1px solid var(--line);padding-bottom:18px}.preset-details summary{font-size:12px;cursor:pointer}.preset-grid{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.preset-button{background:#f8f8f3;border:1px solid var(--line);padding:8px 12px;border-radius:5px;font-size:11px}.preset-button.active{border-color:var(--accent);color:var(--accent)}.setting-heading{display:flex;align-items:center;justify-content:space-between;margin:24px 0 13px;gap:15px}.music-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.music-card{border:1px solid var(--line);border-radius:8px;padding:12px;display:flex;flex-direction:column;gap:9px;background:#fff}.music-card.active{border-color:var(--accent);background:#fff9f4}.music-choice{border:0;text-align:left;background:transparent;padding:0;line-height:1.6;color:var(--ink)}.music-choice strong{display:block;font-size:13px;font-weight:500}.music-choice small{display:block;color:var(--muted);font-size:10px}.listen-button{align-self:flex-start;font-size:10px;background:white;border:1px solid #e2e3d9;border-radius:20px;padding:5px 9px;color:#777c6c}.inline-actions{display:flex;gap:18px}.fx-groups{display:flex;flex-direction:column;gap:15px;margin-top:18px}.fx-group{display:flex;gap:20px;align-items:flex-start}.fx-group h4{font-size:11px;color:var(--muted);min-width:50px;font-weight:400;margin:10px 0}.fx-options{display:flex;gap:8px;flex-wrap:wrap}.fx-option{border:1px solid var(--line);border-radius:6px;display:flex;align-items:center;background:white}.fx-option.active{border-color:#dc8d7e;background:#fff5ef;color:var(--accent)}.fx-choice{font-size:11px;color:inherit;background:transparent;border:0;padding:9px 4px 9px 10px}.fx-info{font-size:12px;color:#999a90;background:transparent;border:0;padding:8px}.fx-choice[aria-pressed=true]:before{content:"✓ ";color:var(--accent)}.fx-popup{position:fixed;z-index:100;width:270px;padding:16px;background:#fff;border:1px solid #e1e3d9;border-radius:12px;box-shadow:0 8px 30px #15191620}.popup-heading{display:flex;justify-content:space-between;align-items:center}.popup-heading .eyebrow{font-size:9px;margin:0}.icon-button{border:0;background:none;font-size:22px;color:var(--muted);line-height:1;padding:2px 5px}.fx-popup h3{font-size:15px;margin-top:7px}.fx-popup>p{font-size:11px;margin-top:8px}.fx-video-wrap{position:relative;background:var(--night);height:210px;border-radius:7px;margin-top:12px;overflow:hidden}.fx-video-wrap video{width:100%;height:100%;object-fit:contain}.fx-play{position:absolute;inset:0;width:100%;border:0;background:#151916b0;color:white;font-size:12px}.progress-box{border:1px solid var(--line);padding:23px;background:white;border-radius:9px;margin:4px 0 22px}.progress-box>div:first-child{display:flex;justify-content:space-between;font-size:12px}.progress-track{height:4px;background:#efefe6;border-radius:3px;margin-top:15px;overflow:hidden}.progress-track>div{background:var(--accent);height:100%;width:0;transition:width .4s}.result-layout{display:grid;grid-template-columns:45% 55%}.result-player{height:480px;background:var(--night);border-radius:8px;overflow:hidden;display:flex;justify-content:center}.result-player video{width:100%;height:100%;object-fit:contain}.result-info{padding:25px 35px;display:flex;align-items:flex-start;flex-direction:column;gap:15px}.result-info h3{font-size:21px;line-height:1.5}.result-info .button{width:100%}.result-versions{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.version-button{border:1px solid var(--line);background:white;border-radius:5px;padding:8px 10px;font-size:11px}.version-button.active{border-color:var(--accent);color:var(--accent);background:#fff9f4}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:200;background:#282c24;color:#fff;padding:13px 22px;border-radius:8px;max-width:min(500px,90vw);line-height:1.5;font-size:12px;box-shadow:0 4px 14px #0001}audio{display:none}@media(min-width:1500px){main{padding-top:55px}.sample-stage{height:490px}.template-info{padding:40px 50px}}@media(max-width:760px){.site-header{height:75px;padding:0 20px}.brand-name{font-size:21px}.brand-description{font-size:9px}nav{gap:16px}.nav-link{font-size:11px}main{padding:28px 18px}.page-intro{margin-bottom:20px}h1{font-size:25px}.template-card{grid-template-columns:1fr}.sample-stage{height:360px}.template-info{padding:27px 24px}.template-info h2{font-size:27px}.template-actions .primary{flex:1}.spec-line{gap:10px;margin-bottom:22px}.spec-line span+span:before{margin-right:10px}.work-heading{align-items:flex-start;gap:15px}.work-heading h1{font-size:23px}.work-heading>.text-button{font-size:10px;white-space:nowrap}.mode-tab{padding:15px 12px;font-size:13px}.work-section{padding:20px 16px}.section-heading{align-items:flex-start}.section-heading h2{font-size:15px}.section-heading>.tiny{font-size:9px}.upload-grid{gap:14px}.upload-zone{height:154px;padding:10px;text-align:center}.upload-zone span{font-size:10px}.info-grid{gap:14px}.field-label{font-size:11px}.text-input{font-size:12px}.generate-bar{align-items:stretch;flex-direction:column;padding:17px 0}.count-row{gap:9px}.music-grid{grid-template-columns:repeat(2,1fr)}.setting-heading{flex-wrap:wrap;gap:6px}.fx-group{flex-direction:column;gap:0}.fx-group h4{margin:0 0 8px}.result-layout{grid-template-columns:1fr}.result-player{height:440px}.result-info{padding:24px 5px 0}.result-info .button{max-width:none}.result-versions{margin:0}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.stage-track{display:flex;gap:6px;flex-wrap:wrap;list-style:none;margin:14px 0 0;padding:0}.stage-track li{font-size:10px;color:var(--muted);border:1px solid var(--line);border-radius:12px;padding:4px 10px;background:#fcfcf9}.stage-track li.done{color:#777c6c;border-color:#dcded5;background:#f4f6ef}.stage-track li.current{color:var(--accent);border-color:var(--accent);background:#fff5ef;font-weight:600}.stage-track li.current[aria-current=step]{background:#fff5ef}.stage-track li.failed{color:#fff;background:#bb3929;border-color:#bb3929}

.context-note{font-size:12px;color:var(--muted);margin:-10px 0 18px}
.field-error{font-size:11px;color:#bb3929;margin-top:7px}
.text-input[aria-invalid="true"],.upload-zone:has(input[aria-invalid="true"]){border-color:#bb3929}
.field-status:empty,#generateHint:empty,#resultStatus:empty{display:none}
.effect-ratio{max-width:480px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.ratio-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px}.ratio-heading label{font-weight:550}.ratio-heading label span{margin-left:8px;font-weight:400}.ratio-heading output{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--accent)}.effect-ratio input{width:100%;height:32px;margin:6px 0 0;accent-color:var(--accent);cursor:pointer}.effect-ratio input:disabled{cursor:not-allowed;opacity:.45}.ratio-labels{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:10px}

.project-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:28px 0}.project-search{width:min(420px,70%)}.project-list{border-top:1px solid var(--line)}.project-row{display:flex;align-items:center;gap:24px;padding:24px 0;border-bottom:1px solid var(--line)}.project-open{flex:1;min-width:0;text-decoration:none;color:inherit}.project-open strong{display:block;font-size:20px;overflow-wrap:anywhere}.project-meta{display:block;font-size:13px;color:var(--muted);margin-top:8px}.project-actions{display:flex;gap:16px;align-items:center}.project-state{font-size:13px;color:var(--muted)}.account-dialog{border:1px solid var(--line);border-radius:12px;background:var(--paper,#fffaf5);color:var(--ink);padding:32px;width:min(440px,calc(100vw - 32px));box-shadow:0 24px 80px #24181026}.account-dialog::backdrop{background:#24181070}.account-dialog h2{margin:0 0 16px}.account-dialog .field-label{display:block;margin:24px 0 10px}.account-dialog .code-row{display:flex;gap:12px}.account-dialog .code-row input{min-width:0;flex:1}.account-dialog .code-row button{white-space:nowrap;padding:12px}.account-dialog #loginSubmit{width:100%;margin-top:12px}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#creatorTitle{overflow-wrap:anywhere}#moreProjects{margin-top:24px}#saveStatus.error{color:var(--accent)}#navProjects.active,#trashButton[aria-pressed=true]{color:var(--accent)}
@media(max-width:640px){.site-header{flex-wrap:wrap;gap:20px}.site-header nav{width:100%;justify-content:space-between;gap:12px}.project-row{flex-wrap:wrap;gap:12px}.project-open{flex-basis:70%}.project-actions{width:100%;justify-content:flex-end}.account-dialog{padding:24px}.project-row .project-open strong{font-size:18px}}

@media(max-width:640px){.site-header{height:auto;min-height:88px;padding-top:20px;padding-bottom:16px}.site-header nav{flex-wrap:wrap}}
.storage-summary{max-width:460px;margin:24px 0 8px}.storage-summary>div{display:flex;justify-content:space-between;gap:20px;font-size:13px;color:var(--muted)}.storage-summary meter{width:100%;height:8px;margin:10px 0;appearance:none;border:0;border-radius:4px;background:var(--line)}.storage-summary meter::-webkit-meter-bar{border:0;background:var(--line);height:6px}.storage-summary meter::-webkit-meter-optimum-value{background:var(--accent)}.upload-actions{margin:8px 0}.upload-zone:has(input:disabled){cursor:default;opacity:.6}
.points-button{display:flex;align-items:baseline;gap:7px;border:1px solid var(--line);border-radius:18px;background:#fff;padding:7px 11px;color:var(--muted);font-size:10px;white-space:nowrap}.points-button strong{color:var(--accent);font-size:13px;font-variant-numeric:tabular-nums}.points-dialog{width:min(620px,calc(100vw - 32px))}.points-dialog .popup-heading h2{margin:3px 0 0}.points-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:24px 0}.points-summary>div{padding:16px;border:1px solid var(--line);border-radius:8px;background:#fff}.points-summary span{display:block;color:var(--muted);font-size:10px;margin-bottom:8px}.points-summary strong{font-size:22px;font-variant-numeric:tabular-nums}.points-summary>div:last-child strong{font-size:12px;line-height:1.5}.points-ledger-heading{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:20px}.points-ledger{margin-top:8px;max-height:330px;overflow:auto}.point-entry{display:grid;grid-template-columns:1fr auto;gap:5px 18px;padding:14px 0;border-bottom:1px solid var(--line)}.point-entry strong{font-size:13px}.point-entry .point-change{text-align:right;font-variant-numeric:tabular-nums}.point-entry small{font-size:10px;color:var(--muted);line-height:1.5}.point-entry .point-after{text-align:right}.point-change.positive{color:#398249}.point-change.negative{color:var(--accent)}#morePointLedger{margin-top:18px;width:100%}
@media(max-width:760px){.points-button span{display:none}.points-button{padding:6px 9px}.points-summary{grid-template-columns:1fr}.points-summary>div{display:flex;align-items:center;justify-content:space-between}.points-summary span{margin:0}.point-entry{grid-template-columns:1fr auto}}

/* ==========================================================================
   新版界面迁移 · L1：外壳 + 首页（2026-09-10）
   设计来源：outputs/yanzuo-ux-demo 浅色工具风；数值按 demo 最终生效层逐项对齐。
   迁移策略：沿用本文件既有的“分层覆盖”约定，旧令牌改指新品牌色。
   ========================================================================== */

/* 1 · 设计令牌与基础排版 */
:root{
  --paper:#f4f6f8;--panel:#fff;--ink:#17191d;--muted:#6e7681;--line:#e3e7ec;
  --accent:#5b5cf0;--warm:#f0f0ff;--night:#111418;
  --porcelain:#fff;--ash:#e3e7ec;--smoke:#6e7681;--ember:#5b5cf0;--ember-wash:#f0f0ff;
  --script-paper:#fafbfc;--script-line:#dfe3e8;
  --leaf:#2f6fed;--gold:#b9822e;--side:232px;
  /* 与 demo 同源：色标覆盖整段；两端不再出现异色线靠 .primary 的 background-origin:border-box 保证 */
  --grad-brand:linear-gradient(105deg,#f05a38 0%,#d943c5 26%,#7c4dff 48%,#5457e9 70%,#2672f3 100%);
  --grad-brand-hover:linear-gradient(105deg,#dd4b2d 0%,#c936b4 26%,#7040ef 48%,#484bd9 70%,#1e63df 100%);
}
body{background:var(--paper);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;line-height:1.55;letter-spacing:-.01em}
button{background:none;border:0;color:inherit}

/* 2 · 侧栏外壳 */
.sidebar{position:fixed;left:0;top:0;bottom:0;z-index:10;width:var(--side);padding:25px 16px 18px;background:#fff;border-right:1px solid #e7e9ed;display:flex;flex-direction:column;transition:width .2s ease,padding .2s ease}
.sidebar-toggle{position:absolute;top:24px;right:-14px;z-index:1;display:grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid #e0e4e9;border-radius:50%;background:#fff;color:#68717c;box-shadow:0 2px 7px #18223012}
.sidebar-toggle:hover{border-color:#c9cfd6;color:#5b5cf0}
.sidebar-toggle svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s ease}
.sidebar .brand{display:flex;align-items:center;gap:13px;flex-shrink:0;padding:0 11px 37px}
.sidebar .brand img{width:46px;height:46px;max-width:100%;object-fit:contain;margin:-6px -4px -6px -5px;filter:drop-shadow(0 3px 8px #654ef02b)}
.sidebar .brand>span{font-size:21px;font-weight:720;letter-spacing:.5px;color:#17191d;white-space:nowrap}
.sidebar .brand small{display:block;font-size:10px;font-weight:400;letter-spacing:0;color:#7e8792;margin-top:2px}
.sidebar nav{display:flex;flex-direction:column;gap:5px;height:auto;flex:0 0 auto;align-items:stretch}
.sidebar nav a{display:flex;align-items:center;gap:13px;width:100%;padding:12px;border:1px solid transparent;border-radius:9px;color:#68717c;font-size:13px;transition:background .15s,color .15s}
.sidebar nav a svg{width:17px;height:17px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.sidebar nav a:hover{background:#f4f6f8;color:#17191d}
.sidebar nav a.active,.sidebar nav a.active:hover{background:#f0f2f5;border-color:#e2e6eb;color:#17191d;font-weight:600;box-shadow:none}
.sidebar nav a.active svg{color:#6258eb}
#projectCount{margin-left:auto;color:#8a929d;font-size:10px;font-weight:400}
.sidebar-bottom{margin-top:auto}
.storage{padding:20px 10px;font-size:10px;color:var(--smoke)}
.storage b{color:inherit;font-weight:400}
.storage>div{height:3px;margin-top:9px;border-radius:2px;background:#e8ebef;overflow:hidden}
.storage>div span{display:block;width:0;height:100%;background:linear-gradient(90deg,#356df3,#7c4dff);transition:width .3s}
.profile{display:flex;align-items:center;gap:9px;width:100%;padding:17px 3px;border-top:1px solid #e4e7eb;text-align:left}
.profile .avatar{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:33px;height:33px;border-radius:50%;background:#eef1f4;color:#4d555f;font-size:13px}
.profile .avatar svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.profile-text{flex:1;min-width:0}
.profile-text b{display:block;font-size:12px;font-weight:600;color:#313840;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-text small{display:block;font-size:10px;color:#8c939c;margin-top:3px}
.profile .chev{flex-shrink:0;width:14px;height:14px;color:#a8aeb6;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.profile:hover .profile-text b{color:#6258eb}
.foot-action{font-size:9px;color:#8c939c}
.foot-action:hover{color:#6258eb}
.sidebar-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 3px;font-size:9px;color:#8c939c}

.shell{display:flex;flex-direction:column;min-height:100vh;margin-left:var(--side);transition:margin-left .2s ease}

@media(min-width:851px){
  body.sidebar-collapsed{--side:72px}
  body.sidebar-collapsed .sidebar{padding:25px 10px 18px}
  body.sidebar-collapsed .sidebar-toggle svg{transform:rotate(180deg)}
  body.sidebar-collapsed .sidebar .brand{justify-content:center;padding-left:0;padding-right:0}
  body.sidebar-collapsed .sidebar .brand>span,body.sidebar-collapsed .sidebar .storage,body.sidebar-collapsed .sidebar .profile-text,body.sidebar-collapsed .sidebar .profile .chev,body.sidebar-collapsed .sidebar-foot{display:none}
  body.sidebar-collapsed .sidebar nav a{justify-content:center;gap:0;padding:12px;font-size:0}
  body.sidebar-collapsed #projectCount{display:none}
  body.sidebar-collapsed .profile{justify-content:center;padding-left:0;padding-right:0}
}
.topbar{display:flex;align-items:center;justify-content:space-between;height:64px;padding:0 34px;background:#ffffffde;border-bottom:1px solid #e3e7eb;backdrop-filter:blur(14px)}
.crumb{font-size:12px;color:#8a929b}
.crumb strong{font-weight:600;color:#353b43}
.shell>main{width:100%;max-width:1480px;margin:0 auto;padding:26px 40px 40px}

/* 顶栏积点钱包（沿用 #pointsButton 结构，仅改外观） */
.top-actions{display:flex;align-items:center;gap:14px}
.topbar .points-button{align-items:center;gap:7px;padding:7px 11px;border:1px solid #e0e4e9;border-radius:9px;background:#fff;color:#8a929b;font-size:10px}
.topbar .points-button svg{width:15px;height:15px;fill:none;stroke:#6258eb;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.topbar .points-button strong{color:#17191d;font-size:13px;font-weight:650;font-variant-numeric:tabular-nums}
.topbar .points-button:hover{border-color:#c9cfd6;background:#fafbfc}
.top-avatar{display:flex;align-items:center;justify-content:center;width:29px;height:29px;border-radius:50%;background:#eef1f4;color:#4d555f}
.top-avatar svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.top-avatar:hover{background:#e4e8ec;color:#17191d}

/* 3 · 首页：工作流选择 */
.launch-head{display:flex;align-items:flex-end;justify-content:space-between;padding:8px 2px 28px}
.launch-head h1{margin:0;font-size:38px;font-weight:740;line-height:1.15;letter-spacing:-2px;color:var(--ink)}
.flow-toolbar{display:flex;align-items:center;justify-content:space-between;margin:28px 0 20px;border-bottom:1px solid #dfe3e8}
.flow-toolbar>span{color:#8b939c;font-size:10px;white-space:nowrap}
.category-tabs{display:flex;gap:25px;width:max-content;overflow:auto}
.category-tabs button{flex:none;min-height:44px;padding:0 1px;border-radius:0;background:none;border-bottom:2px solid transparent;color:#747d88;font-size:11px;font-weight:600;white-space:nowrap}
.category-tabs button:hover{color:#17191d}
.category-tabs button.active{color:#17191d;font-weight:650;background:none;box-shadow:none;border-color:#6258eb}
.flow-grid{display:grid;grid-template-columns:repeat(auto-fill,360px);justify-content:start;gap:18px}
.ai-flow-card{display:grid;grid-template-rows:200px 1fr;min-width:0;height:475px;overflow:hidden;border:1px solid #e0e4e9;border-radius:15px;background:#fff;box-shadow:0 8px 24px #1822300a;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.ai-flow-card:hover{transform:translateY(-3px);border-color:#ccd2d9;box-shadow:0 18px 42px #18223014}
.flow-media{position:relative;overflow:hidden;background:#06080a}
.flow-media:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#00000010 35%,#000000b3)}
.flow-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.ai-flow-card:hover .flow-media img{transform:scale(1.025)}
.flow-media-top{position:absolute;z-index:2;left:18px;right:18px;top:17px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.flow-media-top>span{padding:5px 8px;border:1px solid #ffffff26;border-radius:6px;background:#0d1014a8;backdrop-filter:blur(12px);color:#e8eaed;font-size:9px}
.flow-media-top small{border:0;background:transparent;color:#aeb4bd;font-size:9px;letter-spacing:1.4px}
.flow-preview{position:absolute;z-index:3;left:18px;bottom:17px;display:flex;align-items:center;gap:8px;padding:7px 11px 7px 7px;border:1px solid #ffffff25;border-radius:22px;background:#11151ac4;backdrop-filter:blur(12px);color:#fff;font-size:10px}
.flow-preview:hover{background:#1b2027e0;color:#fff}
.flow-preview-disc{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#fff;color:#11151a;font-size:8px}
.flow-duration{position:absolute;z-index:2;right:18px;bottom:24px;color:#aeb4bd;font-size:9px}
.flow-content{display:flex;flex-direction:column;min-height:0;padding:22px 24px 23px;background:#fff}
.flow-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}
.flow-heading h2{font-size:21px;font-weight:600;line-height:1.25;letter-spacing:-.5px;color:#17191d}
.flow-content>p{margin-top:8px;color:#737c87;font-size:11px;line-height:1.55}
.flow-input{display:flex;align-items:center;gap:9px;margin-top:15px;padding:10px 11px;border-radius:8px;background:#f4f6f8;font-size:10px}
.flow-input span{color:#8a929c}
.flow-input b{color:#3f464f;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.flow-meta{display:flex;gap:7px;margin-top:11px;overflow:auto}
.flow-meta span{padding:4px 7px;border:1px solid #e1e5e9;border-radius:5px;background:#fafbfc;color:#707985;font-size:9px;white-space:nowrap}
.flow-actions{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:auto}
.flow-actions .button{gap:12px}
.flow-actions .button.primary{min-height:44px;padding:10px 18px;border-radius:10px;font-size:13px;font-weight:650}
.flow-actions .button.secondary{min-height:40px;padding:9px 16px;border-radius:8px;font-size:12px;font-weight:600}
.flow-actions .button svg{width:19px;height:19px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.flow-actions.solo{grid-template-columns:1fr}
.presenter-flow-art{display:grid;grid-template-columns:1fr .7fr 1fr;gap:1px;background:#141922}
.presenter-flow-art:after{background:linear-gradient(180deg,#0b0d1214 25%,#080b10c7)}
.concept-flow-art{display:grid;grid-template-columns:1fr .72fr 1fr;gap:1px;background:#121620}
.concept-flow-art:after{background:linear-gradient(180deg,#08101c10 20%,#070a10c9)}
.concept-flow-art .presenter-art-product{grid-column:2}
.concept-art-orbit{position:relative;overflow:hidden;background:radial-gradient(circle at 65% 45%,#8f6bd842,#121827 60%,#090d14)}
.concept-art-orbit i{position:absolute;left:50%;top:50%;width:66px;height:66px;border:1px solid #d3b8ff75;border-radius:46% 54% 50% 45%;transform:translate(-50%,-50%) rotate(18deg)}
.concept-art-orbit i:nth-child(2){width:45px;height:45px;border-color:#70c9ff88;transform:translate(-50%,-50%) rotate(62deg)}
.concept-art-orbit i:nth-child(3){width:5px;height:5px;border:0;background:#ffd88c;box-shadow:22px -17px 0 #b9e8ff,-23px 12px 0 #e8c0ff,13px 25px 0 #fff;border-radius:50%}
.presenter-art-person,.presenter-art-product,.presenter-art-fireworks{position:relative;overflow:hidden;background:linear-gradient(155deg,#262d38,#10141b)}
.presenter-art-person span{position:absolute;left:50%;bottom:-10px;width:68px;height:105px;transform:translateX(-50%);border-radius:40px 40px 12px 12px;background:linear-gradient(#c8b7aa 0 34%,#596478 35%)}
.presenter-art-person span:before{content:"";position:absolute;left:18px;top:-23px;width:34px;height:40px;border-radius:48% 48% 42% 42%;background:#d8c5b7}
.presenter-art-product{display:grid;place-items:center;background:linear-gradient(155deg,#3a3348,#171923)}
.presenter-art-product:before{content:"";width:48px;height:76px;border:1px solid #d7ccee80;border-radius:4px;background:linear-gradient(145deg,#775ca0,#302844);box-shadow:0 12px 30px #0008;transform:rotate(4deg)}
.presenter-art-product span{position:absolute;color:#e8e1f0;font-size:6px;letter-spacing:1px;transform:rotate(4deg)}
.presenter-art-fireworks{background:radial-gradient(circle at 50% 35%,#503d74 0,#151827 32%,#080b12 75%)}
.presenter-art-fireworks i{position:absolute;left:50%;top:38%;width:3px;height:3px;border-radius:50%;background:#fff;box-shadow:0 -35px 0 #fff,25px -25px 0 #ffb7d8,35px 0 0 #8bc4ff,25px 25px 0 #ffd589,0 35px 0 #e6c4ff,-25px 25px 0 #8bc4ff,-35px 0 0 #fff,-25px -25px 0 #ffd589}
.presenter-art-fireworks i:nth-child(2){transform:translate(24px,48px) scale(.55)}
.presenter-art-fireworks i:nth-child(3){transform:translate(-32px,65px) scale(.4)}
.flow-coming{position:absolute;z-index:3;left:18px;bottom:20px;padding:7px 10px;border:1px solid #ffffff26;border-radius:20px;background:#11151ac4;color:#e5e8ec;font-size:9px;backdrop-filter:blur(12px)}

/* 4 · 首页：最近项目 */
.section-title{display:flex;align-items:center;justify-content:space-between;margin:25px 0 17px}
.section-title h2{font-size:16px;font-weight:600}
.section-title.recent-title{margin:0 0 14px}
.recent-title>div{display:flex;align-items:center;gap:11px}
.recent-title h2{font-size:15px;font-weight:600}
.section-kicker{color:#9097a0;font-size:9px;letter-spacing:1.4px}
.recent-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.recent-card{display:flex;align-items:center;gap:13px;min-width:0;padding:11px;letter-spacing:normal;border:1px solid #e1e5e9;border-radius:10px;background:#fff;box-shadow:0 5px 16px #1f293708;color:#313840;text-align:left;transition:background .15s,border-color .15s}
.recent-card:hover{background:#f8f9fa;color:#17191d;border-color:#d3d9df}
.recent-card .mini-empty{display:grid;place-items:center;flex-shrink:0;width:39px;height:46px;border-radius:3px;background:#eef1f4;color:#7a838e}
.recent-card .mini-media{flex-shrink:0;width:39px;height:46px;border-radius:3px;overflow:hidden;background:#15191f}
.recent-card .mini-media img,.recent-card .mini-media video{display:block;width:100%;height:100%;object-fit:cover}
.project-picture.has-cover{padding:0;background:#15191f}
.project-picture.has-cover img,.project-picture.has-cover video{display:block;width:100%;height:100%;object-fit:cover}
.recent-card .mini-empty svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.recent-info{flex:1;min-width:0}
.recent-card strong{display:block;font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.project-name-editable{cursor:text}
.project-name-editable:hover{color:#6258eb}
.project-name-editable[contenteditable="true"]{display:block;max-width:none;overflow:visible;white-space:normal;text-overflow:clip;padding:2px 5px;margin:-2px -5px;border:1px solid #a9a3f0;border-radius:6px;background:#fff;color:var(--ink);box-shadow:0 0 0 3px #6258eb14;outline:none}
.recent-card small{display:block;margin-top:6px;color:#7f8791;font-size:10px}
.recent-card>svg{flex-shrink:0;width:14px;height:14px;color:#98998e;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.recent-empty{margin:0;color:#8a929b;font-size:12px;line-height:1.55}
.recent-none{margin:0;padding:14px 0;color:#8a929b;font-size:12px;line-height:1.55}

/* 5 · 按钮 / 弹层 / 提示条统一到新品牌色 */
/* 老样式有一条全局 .button{width:100%}，会把新布局里的按钮撑变形 */
.button{border-radius:8px;padding:9px 16px;font-size:12px;font-weight:600;gap:9px;min-height:40px;width:auto;max-width:none;white-space:nowrap}
.primary{border:0;background:var(--grad-brand);background-origin:border-box;background-clip:border-box;color:#fff;box-shadow:0 8px 20px #7c4dff24}
.primary:hover:not(:disabled){background:var(--grad-brand-hover);background-origin:border-box;background-clip:border-box;color:#fff;box-shadow:0 0 0 4px #a34dd718,0 10px 24px #b946a32b}
.secondary{background:#fff;border-color:#dce1e7;color:#30363d}
.secondary:hover:not(:disabled){background:#f2f4f6;color:#17191d}
.button.primary{min-height:44px;padding:10px 18px;border-radius:10px;font-size:13px;font-weight:650}
.button.secondary{min-height:40px;padding:9px 16px;border-radius:8px;font-size:12px;font-weight:600;background:#fff;border-color:#dce1e7;color:#30363d;box-shadow:none}
.button.secondary:hover:not(:disabled){background:#f2f4f6;border-color:#c9ced5;color:#17191d;box-shadow:none}
.button.is-loading:disabled{cursor:wait}
.button-spinner{width:12px;height:12px;flex:0 0 12px;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;animation:button-spin .7s linear infinite}
@keyframes button-spin{to{transform:rotate(360deg)}}
.button.tertiary{min-height:32px;padding:6px 10px;border-radius:6px;background:var(--grad-brand);border-color:transparent;color:#fff;font-size:11px;font-weight:550;box-shadow:0 4px 12px #7c4dff16}
.button.tertiary:hover:not(:disabled){background:var(--grad-brand-hover);color:#fff;box-shadow:0 0 0 3px #a34dd710,0 6px 14px #b946a320}
.subtle{display:inline-flex;align-items:center;gap:7px;padding:5px 0;color:#707985;font-size:12px}
/* 危险操作按钮：仅用于需要二次确认的破坏性动作 */
.button.danger{background:var(--danger);border-color:transparent;color:#fff;box-shadow:0 6px 16px #d645451f}
.button.danger:hover:not(:disabled){background:var(--danger-strong);color:#fff}
.confirm-dialog .context-note{margin:12px 0 0;padding:11px 13px;border:1px solid #e3e7eb;border-radius:7px;background:#fafbfc;font-size:11px}
.subtle:hover{color:#6258eb}
.subtle svg{width:19px;height:19px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.text-button{color:#5b5cf0}
dialog{border:1px solid #dfe4e9;border-radius:14px;background:#fff;color:#17191d;box-shadow:0 28px 80px #1c26332b}
dialog::backdrop{background:#25303c66;backdrop-filter:blur(6px)}
html:has(dialog[open]){overflow:hidden}
.account-dialog{padding:30px;background:#fff;border-color:#dfe4e9}
.account-dialog::backdrop{background:#25303c66;backdrop-filter:blur(6px)}
.sample-modal{width:min(620px,calc(100% - 32px));padding:0;overflow:hidden}
.sample-modal video{display:block;width:100%;height:52vh;background:var(--night);object-fit:contain}
.sample-modal .modal-body{padding:20px 24px 24px;background:#fff}
.modal-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
.modal-head h2{font-size:19px;font-weight:650}
.modal-close{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#f2f4f6;color:#5c646e;font-size:18px;line-height:1}
.modal-close:hover{background:#e8ebef;color:#17191d}
.sample-modal .modal-body>p{margin-top:10px;color:#6f7883;font-size:12px}
#toast{border-radius:10px;background:#17191d;color:#fff}

/* 6 · 响应式：侧栏在窄屏折叠为顶部横条 */
@media(max-width:1120px){
  :root{--side:190px}
  .sidebar{padding:25px 13px 18px}
  .shell>main{padding:34px 28px 46px}
  .flow-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ai-flow-card{height:500px;grid-template-rows:225px 1fr}
  .flow-content{padding:20px}
  .launch-head h1{font-size:37px}
  .recent-card{gap:9px;padding:12px}
}
@media(max-width:850px){
  :root,body.sidebar-collapsed{--side:0px}
  .sidebar{position:relative;width:100%;height:auto;padding:14px 22px;border-right:0;border-bottom:1px solid #e3e7eb;flex-direction:row;align-items:center;justify-content:space-between;gap:12px}
  .sidebar .brand{padding:0}
  .sidebar .brand img{width:39px;height:39px;margin:-5px -3px -5px -4px}
  .sidebar .brand>span{font-size:22px}
  .sidebar .brand small,.sidebar .storage{display:none}
  .sidebar-foot{padding:0;gap:0}
  .sidebar-toggle{display:none}
  .sidebar-foot>span{display:none}
  .sidebar nav{flex-direction:row;gap:5px}
  .sidebar nav a{width:auto;padding:9px 12px;font-size:12px}
  .sidebar-bottom{display:flex;align-items:center;gap:6px;margin:0}
  .profile{width:auto;padding:8px 10px;border-top:0;border-radius:10px}
  .profile-text small{display:none}
  .foot-action{padding:8px 6px;font-size:11px}
  .shell{margin-left:0}
  .topbar{height:53px;padding:0 22px}
  .shell>main{padding:32px 24px 40px}
  .flow-grid{grid-template-columns:1fr}
  .recent-row{grid-template-columns:1fr;gap:10px}
  .recent-card strong{max-width:none}
}
@media(max-width:640px){
  /* 三个导航项 + 账户区在 390px 下会挤出横向滚动，故只留吉祥物图形 */
  .sidebar{padding:13px 16px;gap:8px;flex-wrap:wrap;row-gap:8px}
  .sidebar .brand img{width:35px;height:35px}
  .sidebar .brand>span{display:none}
  .sidebar nav a{padding:8px;font-size:11px;gap:8px}
  .sidebar nav a svg,#projectCount{display:none}
  .profile{padding:8px}
  .profile-text,.profile .chev{display:none}
  .topbar{padding:0 19px}
  .shell>main{padding:25px 19px 34px}
  .launch-head{padding-bottom:22px}
  .launch-head h1{font-size:31px;letter-spacing:-1.3px}
  .category-tabs{gap:17px}
  .ai-flow-card{height:auto;grid-template-rows:220px auto}
  .flow-content{min-height:248px;padding:19px}
  .flow-actions{padding-top:19px}
}

/* 7 · 我的项目 */
.page-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:31px}
.page-title>div{min-width:0}
.page-title h1{font-size:36px;font-weight:740;letter-spacing:-1.5px;line-height:1.3}
.page-title p{margin-top:9px;color:#697079;font-size:13px}
.eyebrow{margin-bottom:10px;color:#7c858f;font-size:10px;font-weight:650;letter-spacing:1.6px;text-transform:uppercase}
.project-tools{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:25px}
.segments{display:flex;flex-wrap:wrap;gap:6px}
.segments button{padding:7px 12px;border-radius:8px;color:#707985;font-size:12px}
.segments button.active{background:#17191d;color:#fff}
.project-tools .search{margin-left:auto}
.project-tools .button svg{width:16px;height:16px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.search{display:flex;align-items:center;gap:8px;padding:8px 11px;border:1px solid #dce1e7;border-radius:9px;background:#fff;color:var(--smoke)}
.search svg{width:15px;height:15px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.search input{width:170px;border:0;background:transparent;color:var(--ink);font-size:12px;outline:none}
.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.batch-bar{display:flex;align-items:center;gap:16px;margin:-12px 0 18px;padding:10px 14px;border:1px solid #e0e4e9;border-radius:10px;background:#fff}
.batch-bar>span{margin-right:auto;font-size:12px;color:#252722}
.batch-bar .button.danger{padding:8px 14px;font-size:11px}
.batch-check{position:absolute;top:10px;left:10px;z-index:2;display:grid;place-items:center;width:24px;height:24px;padding:0;border:1.5px solid #b6bdc6;border-radius:7px;background:#fffffff2;color:#fff}
.batch-check.checked{border-color:var(--danger);background:var(--danger)}
.batch-check svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.project-grid.batching .project-card{position:relative}
.project-grid.batching .project-card-footer{display:none}
.project-grid.batching .project-picture{pointer-events:none}
.project-card{overflow:hidden;border:1px solid #e0e4e9;border-radius:13px;background:#fff;box-shadow:0 7px 22px #18223008}
.project-picture{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:100%;height:210px;padding:0;background:#f0f2f4;color:#818a94;text-align:center;text-decoration:none}
.project-picture svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.project-picture>span{font-size:10px}
.project-picture:not(.has-cover):hover{background:#e9edf1;color:#68717c}
.project-details{padding:20px}
.project-kind{margin-bottom:7px;color:#6258eb;font-size:9px;letter-spacing:.5px}
.project-details h3{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.project-details h3.project-name-editable[contenteditable="true"]{white-space:normal}
.project-details small{display:block;margin-top:6px;color:var(--smoke);font-size:10px}
.project-card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:21px}
.project-card-footer .subtle{color:#6258eb;font-size:11px}
.project-card-actions{display:flex;gap:12px}
.project-card-actions .text-button{font-size:10px;color:#8a929b}
.project-card-actions .text-button:hover{color:#6258eb}
.empty-list{grid-column:1/-1;padding:70px 20px;color:var(--smoke);text-align:center}

/* 8 · 项目工作台 */
.project-back{display:inline-block;margin-bottom:9px;color:#8a929b;font-size:11px}
.project-back:hover{color:#6258eb}
.project-bar{display:flex;align-items:center;gap:16px;min-width:0}
.project-title-input{flex:0 1 auto;width:auto;min-width:120px;max-width:380px;padding:2px 6px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--ink);font-family:inherit;font-size:20px;font-weight:600;letter-spacing:-.5px}
.project-template{flex-shrink:0;color:var(--ink);font-size:20px;font-weight:600;letter-spacing:-.5px;white-space:nowrap}
.project-sep{flex-shrink:0;color:#b4bac2;font-size:20px;font-style:normal}
.project-title-input:hover{border-color:#e3e7eb;background:#fff}
.project-title-input:focus{outline:none;border-color:#a9a3f0;background:#fff;box-shadow:0 0 0 3px #6258eb14}
.project-top-actions{display:flex;align-items:center;gap:18px}
.project-save-state{display:inline-flex;align-items:center;padding:6px 9px;border-radius:7px;background:#eef4ff;color:#2f6fed;font-size:10px;white-space:nowrap}
.project-save-state.error{background:#fdecea;color:#c0392b}
.save-state{color:var(--leaf);font-size:10px;white-space:nowrap}
.save-state.error{color:#c0392b}
.top-actions{display:flex;align-items:center;gap:12px}
.workspace{display:grid;grid-template-columns:minmax(320px,1fr) minmax(330px,1.03fr);gap:24px;align-items:stretch;padding-bottom:79px}
.editor{align-self:start;overflow:clip;border:1px solid #e0e4e9;border-radius:15px;background:#fff;box-shadow:0 7px 22px #18223008}
.editor-head{display:flex;align-items:center;justify-content:space-between;height:66px;padding:0 23px;border-bottom:1px solid #e3e7eb}
.editor-tabs{display:flex;gap:27px;padding:0 24px;border-bottom:1px solid #e3e7eb}
.editor-tabs button{padding:14px 0 12px;border-bottom:2px solid transparent;color:#79828d;font-size:12px}
.editor-tabs button.active{border-color:#6258eb;color:#6258eb}
.editor-title strong{display:block;font-size:13px;font-weight:600}
.editor-title small{display:block;margin-top:4px;color:var(--smoke);font-size:10px}
.editor-body{padding:25px;background:#fff}
.editor .context-note{margin:0;padding:9px 24px;border-bottom:1px solid #e3e7eb;background:#f7f9fb;color:#5d646d;font-size:11px}
.block-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.block-title h3{font-size:13px;font-weight:600}
.block-title>span{color:var(--smoke);font-size:10px}
.block-heading small{display:block;margin-top:4px;color:var(--smoke);font-size:9px;font-weight:400}
.block-title.spaced{margin-top:29px}
.upload-pair{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.upload-field{min-width:0}
.field-label{display:block;margin-bottom:8px;color:var(--ink);font-size:11px;font-weight:400}
.upload-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;height:146px;padding:12px;border:1px dashed #cfd5dc;border-radius:10px;background:#f7f8fa;color:#4e5660;text-align:center;cursor:pointer;overflow:hidden;position:relative}
.upload-zone:hover{border-color:#a9b3bd;background:#f2f5f8}
.upload-zone svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.upload-zone strong{font-size:11px;font-weight:500}
.upload-zone small{color:var(--smoke);font-size:9px}
.upload-zone input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.upload-zone.compact{height:auto;padding:14px}
.upload-actions{justify-content:center;gap:12px;margin-top:8px}
.upload-zone.has-file{padding:0;border-style:dashed;overflow:hidden}
.upload-zone.has-file>svg,.upload-zone.has-file>strong,.upload-zone.has-file>small{display:none}
.zone-preview{position:absolute;inset:0;display:block;background:#15191f}
.zone-preview img,.zone-preview video{display:block;width:100%;height:100%;object-fit:contain}
.zone-check{position:absolute;z-index:2;top:10px;right:10px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#fff;color:#2f6fed;font-size:12px;box-shadow:0 2px 8px #18223024}
.zone-replace{position:absolute;z-index:2;left:0;right:0;bottom:0;padding:8px;background:#11151ac9;color:#fff;font-size:10px;text-align:center;backdrop-filter:blur(6px)}
.asset-detail{display:block;min-height:0;margin-top:8px;padding:0;background:none;border-radius:0}
.asset-detail .asset-name{overflow:hidden;margin:0;color:#3f464f;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.asset-detail p{margin:0;font-size:11px;color:var(--smoke)}
.asset-detail img,.asset-detail video{display:none}
.asset-detail video,.asset-detail img{width:100%;max-height:150px;object-fit:contain;border-radius:6px;background:#0d1014}
.asset-detail .asset-name{font-size:11px;overflow-wrap:anywhere}
.asset-detail p{margin-top:4px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.product-info-fields{display:grid;gap:18px}
.product-info-field{display:grid;gap:8px;align-content:start}
.product-info-field .field-label{margin-bottom:0}
.input{width:100%;padding:10px 11px;border:1px solid #dfe2e6;border-radius:9px;background:#fff;color:#20252b;font-size:12px}
.input:focus{outline:2px solid #b9b5f5;outline-offset:1px;border-color:#a9a3f0}
.setting-summary{display:block;margin-top:25px;padding-top:18px;border-top:1px solid #e3e7eb}
.setting-summary>div{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:8px 0;font-size:11px}
.setting-summary span{display:block;margin:0;color:#7e8791;font-size:11px}
.setting-summary b{font-size:11px;font-weight:500;text-align:right}
.summary-select{width:auto;min-width:96px;padding:6px 8px;border:1px solid #dfe2e6;border-radius:8px;background:#fff;color:var(--ink);font-size:11px}
.editor-footnote{margin-top:18px;color:#747d87;font-size:10px}
#advancedPanel{margin-top:28px;padding-top:24px;border-top:1px solid #e3e7eb}
#panelEffects{margin-top:30px;padding-top:24px;border-top:1px solid #e3e7eb}
.music-list{display:flex;flex-direction:column;gap:10px}
.music-card{display:flex;flex-direction:row;align-items:center;gap:12px;padding:13px;border:1px solid #dfe3e8;border-radius:8px}
.music-card.active{border-color:#a69ff4;background:#f2f1ff}
.music-choice{flex:1;min-width:0;text-align:left}
.music-choice strong{display:block;font-size:12px;font-weight:600}
.music-choice small{display:block;margin-top:4px;color:var(--smoke);font-size:10px}
.music-art{display:grid;place-items:center;width:35px;height:35px;border:1px solid #dce1e6;border-radius:50%;background:#f0f2f4;color:#68717c;flex-shrink:0}
.music-art svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.listen-button{display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;padding:5px;border:1px solid #e3e7ec;border-radius:50%;background:transparent;color:var(--ink);font-size:14px;line-height:1}
.listen-button:hover{border-color:#a69ff4;color:#544bd0}
.fx-list{display:flex;flex-direction:column;gap:20px}
.fx-group h4{margin-bottom:10px;color:#7c858f;font-size:10px;font-weight:600;letter-spacing:1px;text-transform:uppercase}
.fx-options{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.fx-card{position:relative;overflow:hidden;border:1px solid #dfe3e8;border-radius:6px;background:#fff}
.fx-card.active{border-color:#9188ef}
.fx-art{position:relative;height:89px;background:#111418;overflow:hidden}
.fx-art img{display:block;width:100%;height:100%;object-fit:cover}
.fx-demo{position:absolute;right:8px;bottom:8px;display:grid;place-items:center;width:24px;height:24px;padding:0;border-radius:50%;background:#11151ac4;color:#fff;font-size:9px;backdrop-filter:blur(8px)}
.fx-demo:hover{background:#1b2027e0}
.fx-select{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:10px 11px;color:#3f464f;font-size:11px;text-align:left}
.fx-card.active .fx-select{color:#544bd0;font-weight:600}
.fx-select span:last-child{display:grid;place-items:center;flex-shrink:0;width:14px;height:14px;border:1px solid #c8cbbd;border-radius:3px;font-size:10px}
.fx-card.active .fx-select span:last-child{border-color:#6258eb;background:linear-gradient(135deg,#356df3,#7c4dff);background-origin:border-box;background-clip:border-box;color:#fff}
.slider-field{margin-top:26px;padding-top:18px;border-top:1px solid #e3e7eb}
.slider-field>div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px}
.slider-field input{width:100%;margin:14px 0 4px;accent-color:#6258eb}
.slider-field small{color:var(--smoke);font-size:10px}
.viewer{display:flex;flex-direction:column;overflow:hidden;border:1px solid #e0e4e9;border-radius:15px;background:#fff;box-shadow:0 7px 22px #18223008}
/* 未出片时跟随左栏高度（网格拉伸），出片后固定为屏幕高度的 80% */
.viewer.has-result{height:80vh}
@supports (height:80dvh){.viewer.has-result{height:80dvh}}
.viewer-head{display:flex;align-items:center;justify-content:space-between;height:57px;padding:15px 19px;border-bottom:1px solid #e3e7eb;background:#fff}
.viewer-head span{font-size:12px;font-weight:500}
.viewer-head small{color:var(--smoke);font-size:10px}
.viewer-stage{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1 1 auto;height:auto;min-height:300px;background:#080a0d;color:#d9ddd3;overflow:hidden}
.viewer-stage>video,.viewer-stage>section{width:100%;height:100%}
.viewer-stage video,#resultsSection video{display:block;width:100%;height:100%;object-fit:contain}
#resultsSection{position:relative}
.viewer-placeholder{display:flex;flex-direction:column;align-items:center;gap:12px;color:#7d8695;text-align:center}
.viewer-placeholder svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1;stroke-linecap:round;stroke-linejoin:round}
.viewer-placeholder span{font-size:9px;letter-spacing:1px}
.viewer-placeholder p{color:var(--smoke);font-size:11px}
#progressBox{display:flex;align-items:center;justify-content:center}
.stage-label{position:absolute;top:14px;left:16px;padding:3px 7px;border-radius:4px;background:#0c0f12c9;color:#c8d0c2;font-size:9px;backdrop-filter:blur(8px)}
.progress-content{width:min(75%,720px);text-align:center;color:#d9ddd3}
.progress-mark{margin-bottom:20px;color:#8f86ef;animation:viewer-turn 7s linear infinite}
.progress-mark svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
@keyframes viewer-turn{from{transform:rotate(0)}to{transform:rotate(360deg)}}
.progress-content strong{display:block;font-size:13px;font-weight:600}
.progress-content p{margin-top:8px;color:#8e97a5;font-size:10px}
.progress-line{height:3px;margin:26px 0 12px;background:#39414d;overflow:hidden}
.progress-line span{display:block;width:0;height:100%;background:linear-gradient(90deg,#356df3,#7c4dff);transition:width .3s}
.progress-details{display:flex;justify-content:space-between;color:#a4af99;font-size:10px}
.stage-track{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0 0;padding:0;list-style:none;justify-content:center}
.stage-track li{padding:4px 8px;border:1px solid #39414d;border-radius:5px;color:#8e97a5;font-size:9px}
.stage-track li.done{border-color:#4a5a45;color:#a9c39d}
.stage-track li.current{border-color:#8f86ef;color:#c9c4ff}
.viewer-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:66px;padding:16px 19px;background:#fff}
.viewer-foot p{font-size:11px;min-width:0}
.viewer-foot p strong{display:block;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.viewer-foot small{display:block;margin-top:3px;color:var(--smoke);font-size:9px}
.viewer-foot-actions{display:flex;align-items:center;gap:14px;flex-shrink:0}
.version-info{display:grid;place-items:center;padding:1px 6px;border:0;background:none;color:var(--smoke)}
.version-info svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.version-info:hover{color:var(--ink)}
.viewer-foot-actions .button{min-height:38px;padding:9px 14px;font-size:12px}
.version-strip{display:flex;gap:7px;padding:13px 19px 0;border-top:1px solid #e3e7eb}
.version-strip button{padding:4px 9px;border:1px solid #e3e7eb;border-radius:4px;color:#707985;font-size:10px}
.version-strip button.active{border-color:#6258eb;color:#6258eb}
#resultStatus{padding:0 19px 14px}
#resultStatus:empty{display:none}
.actionbar{position:fixed;bottom:0;left:var(--side);right:0;z-index:8;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 38px;border-top:1px solid #dfe4e9;background:#fffffff2;box-shadow:0 -10px 30px #1822300c;backdrop-filter:blur(10px)}
.actionbar-info{display:block;min-width:0}
.actionbar-info strong{color:var(--ink);font-size:12px;font-weight:600}
.actionbar-info small{color:var(--smoke);font-size:10px}
.actionbar-info small:empty{display:none}
.actionbar .actions{display:flex;align-items:center;gap:12px}
.actionbar .button.primary{height:44px;min-height:44px;border-radius:10px;font-size:13px;padding:10px 18px}
.actionbar .button.secondary{height:40px;min-height:40px;border-radius:8px;font-size:12px;padding:9px 16px}
.count-row{display:flex;align-items:center;gap:9px}

/* 产品介绍＋燃放效果：沿用同一工作台骨架，只增加此流程需要的控件 */
.workflow-chip{padding:5px 8px;border:1px solid #e0e4e9;border-radius:6px;background:#f6f7f9;color:#6f7882;font-size:9px;white-space:nowrap}
.presenter-workspace{grid-template-columns:minmax(0,758px) minmax(340px,394px);gap:40px;justify-content:start;padding-bottom:24px}
.presenter-workspace .editor{width:100%;max-width:758px}
.presenter-workspace.presenter-viewer-hidden{grid-template-columns:minmax(0,1fr)}
/* 长表单：环节标签吸顶，点击定位；右侧查看器跟随滚动 */
.presenter-steps{position:sticky;top:0;z-index:6;justify-content:space-between;gap:12px;background:#fff}
.presenter-steps button{flex:1;text-align:center}
.presenter-form .presenter-section{scroll-margin-top:64px}
.presenter-form .presenter-section + .presenter-section{margin-top:26px;padding-top:24px;border-top:1px solid #e7eaee}
.presenter-workspace .viewer{position:sticky;top:16px;align-self:start;max-height:calc(100vh - 32px)}
.presenter-workspace .viewer .viewer-stage{flex:1;min-height:300px;height:auto}
.source-switch{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:15px;padding:4px;border-radius:9px;background:#f1f3f5}
.source-switch button{padding:9px 12px;border-radius:7px;color:#707985;font-size:11px}
.source-switch button.active{background:#fff;color:#544bd0;box-shadow:0 2px 8px #1c263314}
.presenter-main-upload .upload-zone{height:174px}
.compose-music-field{margin-top:20px}
.compose-music-field .input{height:42px}
.compose-music-field small{display:block;margin-top:7px;color:var(--smoke);font-size:9px;line-height:1.5}
.field-label.spaced{margin-top:18px}
/* 产品介绍 02 步：区块间距统一节奏（标题后 16px，字段间 20px，操作区保持 24px） */
#presenterPreparePanel .future-empty{margin-top:0}
#presenterPreparePanel .field-label{margin-top:20px}
#presenterPreparePanel .field-label.spaced{margin-top:22px}
.textarea{min-height:96px;padding:12px;resize:vertical;line-height:1.55}
#presenterSellingPoints{height:42px;min-height:42px;padding:9px 10px;line-height:1.4;white-space:nowrap;overflow-x:auto;overflow-y:hidden}
#storyboardNote{height:64px;min-height:64px;padding:9px 11px;line-height:1.5}
.consent-row{display:flex;align-items:flex-start;gap:9px;margin-top:17px;color:#59616b;font-size:11px;line-height:1.45;cursor:pointer}
.consent-row input{margin-top:1px;accent-color:#6258eb}
.stage-action{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:24px;padding-top:18px;border-top:1px solid #e4e7eb}
.stage-action.action-only{justify-content:flex-end}
.stage-action.action-only p{order:-1}
.stage-action p{min-width:0}
.stage-action strong{display:block;color:var(--ink);font-size:12px;font-weight:650}
.stage-action small{display:block;margin-top:4px;color:var(--smoke);font-size:9px;line-height:1.45}
.stage-action .button{flex-shrink:0}
.profile-process-results{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.7fr);gap:14px;margin-top:18px;padding-top:18px;border-top:1px solid #e4e7eb}
.profile-process-results>div{min-width:0}
.profile-process-results span{display:block;margin-bottom:8px;color:var(--smoke);font-size:10px;font-weight:600}
.profile-process-results video{display:block;width:100%;height:220px;border-radius:9px;background:#11151a;object-fit:contain}
.profile-process-results audio{display:block;width:100%;margin-top:52px}
.profile-voice-name{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;margin-top:12px}
.profile-voice-name .text-button{white-space:nowrap}
.future-step>span{color:#6258eb;font-size:9px;font-weight:650;letter-spacing:1px}
.future-step h3{margin-top:10px;font-size:19px}
.future-step>p{margin-top:9px;color:#707985;font-size:11px}
.future-empty{display:grid;place-items:center;min-height:235px;margin-top:22px;border:1px dashed #d7dce2;border-radius:10px;background:#f7f8fa;color:#8a929c;font-size:11px}
.future-empty.compact{min-height:92px;align-content:center;gap:8px}
.future-empty.compact p{margin:0}
#presenterViewer .viewer-stage>img{display:block;width:100%;height:100%;object-fit:contain}
#presenterViewer .viewer-placeholder svg{fill:none;stroke:currentColor}
.asset-folders{display:flex;gap:6px;margin:-4px 0 12px;padding-bottom:12px;border-bottom:1px solid #e1e5e9}
.asset-folders a{padding:10px 16px;border-radius:8px;color:#707985;font-size:12px;font-weight:600;text-decoration:none}
.asset-folders a:hover{background:#f3f4f6;color:var(--ink)}
.asset-folders a.active{background:#eeedff;color:#544bd0}
.asset-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}
.asset-section-head h2{font-size:20px}
.asset-section-head p{margin-top:6px;color:var(--smoke);font-size:11px}
.profile-create-dialog{width:min(670px,calc(100vw - 32px));max-height:calc(100vh - 40px);padding:0;overflow:auto}
.profile-create-dialog.viewing-profile{width:min(820px,calc(100vw - 32px))}
.profile-create-dialog .profile-create-panel{margin:0;border:0;box-shadow:none}
.profile-create-panel{margin-bottom:28px;padding:24px;border:1px solid #dde2e7;border-radius:14px;background:#fff;box-shadow:0 7px 22px #18223008}
.profile-create-panel #profileSetup{max-width:520px}
.profile-source-switch{margin:16px 0}
.profile-guide{margin:0 0 14px;border:1px solid #e2e7ed;border-radius:10px;background:#fafbfc}
.profile-guide summary{display:flex;align-items:center;gap:8px;padding:10px 13px;font-size:12px;font-weight:600;color:#3c4653;cursor:pointer;user-select:none;list-style:none}
.profile-guide summary::-webkit-details-marker{display:none}
.profile-guide summary::before{content:"?";display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;background:#eef1f5;color:#6b7480;font-size:9px;font-weight:700}
.profile-guide summary::after{content:"展开";margin-left:auto;color:#8a929b;font-size:10px;font-weight:400}
.profile-guide[open] summary::after{content:"收起"}
.profile-guide-body{display:grid;grid-template-columns:1fr auto;gap:6px 16px;padding:2px 13px 13px}
.profile-guide-tips{margin:0;color:#5a626d;font-size:11px;line-height:1.9;list-style:none}
.profile-guide-tips li{padding-left:14px;position:relative}
.profile-guide-tips li::before{content:"";position:absolute;left:0;top:0.7em;width:5px;height:5px;border-radius:50%;background:#c3cad2}
.profile-guide-demo span{display:block;margin-bottom:6px;color:#8a929b;font-size:10px}
.profile-guide-demo video{display:block;width:200px;aspect-ratio:16/9;max-height:150px;border-radius:7px;background:#11151a;object-fit:cover}
.asset-name-field{margin-top:18px}
/* AI 创建形象：上传引导条（常显在上传区上方，不折叠）。引导图由超管配置，
   未配置时不显示图、只留文字要点，布局随之自然收成一列。 */
.ai-portrait-guide{display:flex;gap:14px;align-items:flex-start;margin-bottom:14px;padding:13px;border:1px solid #e2e7ed;border-radius:10px;background:#fafbfc}
.ai-portrait-guide-figure{flex:0 0 132px;display:block;width:132px;padding:0;border:1px solid #e2e7ed;border-radius:8px;background:#fff;overflow:hidden;cursor:zoom-in}
.ai-portrait-guide-figure img{display:block;width:100%;height:auto}
.ai-portrait-guide-figure span{display:block;padding:5px 0 6px;color:var(--smoke);font-size:10px;text-align:center}
.ai-portrait-guide-body{flex:1;min-width:0}
.ai-portrait-guide-body h4{color:#3c4653;font-size:12px;font-weight:650}
.ai-portrait-guide-tips{margin:8px 0 0;padding:0;color:#5a626d;font-size:11px;line-height:1.9;list-style:none}
.ai-portrait-guide-tips li{padding-left:14px;position:relative}
.ai-portrait-guide-tips li::before{content:"";position:absolute;left:0;top:.75em;width:5px;height:5px;border-radius:50%;background:#c3cad2}
.ai-portrait-guide-note{margin-top:8px;color:var(--accent);font-size:11px;line-height:1.6}
.ai-portrait-guide-note:empty{display:none}
.ai-portrait-thumbs{margin-top:12px}
.ai-portrait-thumbs-head{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:var(--smoke)}
.ai-portrait-thumb-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px;margin:10px 0 0;padding:0;list-style:none}
.ai-portrait-thumb{position:relative;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#f2f5f8}
.ai-portrait-thumb img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover}
.ai-portrait-thumb-index{position:absolute;left:6px;bottom:6px;min-width:18px;padding:1px 5px;border-radius:9px;background:#15191fb8;color:#fff;font-size:10px;text-align:center}
.ai-portrait-thumb-remove{position:absolute;top:5px;right:5px;width:22px;height:22px;border:0;border-radius:50%;background:#15191fb8;color:#fff;font-size:14px;line-height:1;padding:0}
.ai-portrait-thumb-remove:hover{background:var(--danger)}
@media(max-width:560px){.ai-portrait-guide{flex-direction:column}.ai-portrait-guide-figure{flex:none;width:132px}}
.brand-information-form{display:grid;gap:24px;padding:24px;border:1px solid #dde2e7;border-radius:14px;background:#fff;box-shadow:0 7px 22px #18223008}
.brand-information-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;max-width:720px}
.brand-information-fields .field-label{align-self:center}
.brand-information-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:720px}
.brand-information-upload{display:grid;gap:8px}.upload-zone.compact{height:180px;min-height:180px}.brand-information-upload .upload-zone.compact .zone-preview:not([hidden]){display:block;background:transparent}.brand-information-upload .upload-zone.compact .zone-preview img{display:block;width:100%;height:100%;max-height:none;object-fit:contain}
.brand-background-section{display:grid;gap:12px;padding-top:22px;border-top:1px solid #edf0f2}
.brand-background-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand-background-heading h3{font-size:14px}.brand-background-heading small{display:block;margin-top:4px;color:var(--smoke);font-size:10px}.brand-background-heading input{display:none}
.brand-background-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.brand-background-card{overflow:hidden;border:1px solid #dfe4e9;border-radius:10px;background:#fff}.brand-background-card.is-default{border-color:#8176ec;box-shadow:0 0 0 1px #8176ec}
.brand-background-card>img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.brand-background-card>div{padding:10px 11px}.brand-background-card strong,.brand-background-card span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brand-background-card strong{font-size:11px}.brand-background-card span{margin-top:4px;color:var(--smoke);font-size:9px}
.brand-background-actions{display:flex;justify-content:space-between;gap:10px;padding-top:0!important}.brand-background-actions .text-button{font-size:10px}
.profile-card-media,.material-card-media,.material-preview-stage,.profile-choice-media{background:transparent}.profile-card-media video,.material-card-media video,.material-preview-stage video,.profile-choice-media video{background:#11151a}
@media(max-width:700px){.brand-information-fields{grid-template-columns:1fr}.brand-information-media{grid-template-columns:1fr}.brand-background-heading{align-items:flex-start;flex-direction:column}.brand-background-grid{grid-template-columns:1fr}}
.profile-create-actions{margin-top:20px}
.library-upload-field{margin-top:18px}
.library-create-dialog{width:min(820px,calc(100vw - 32px))}
.library-create-dialog .library-upload-field .upload-zone{height:clamp(320px,48vh,420px)}
.profile-upload-title{margin-bottom:18px}
.profile-upload-title strong{font-size:16px}
.viewing-profile .presenter-main-upload>.field-label{display:none}
.viewing-profile .presenter-main-upload .upload-zone{height:clamp(300px,52vh,440px)}
.profile-grid,.material-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.profile-card,.material-card{min-width:0;overflow:hidden;border:1px solid #dfe4e9;border-radius:12px;background:#fff}
.asset-card-open{position:absolute;inset:0;z-index:1;padding:0;border:0;border-radius:12px;background:transparent}
.profile-card:hover,.material-card:hover{border-color:#c7cdd4}
.profile-card-media,.material-card-media{height:178px;background:#11151a}
.profile-card-media img,.profile-card-media video,.material-card-media img,.material-card-media video{display:block;width:100%;height:100%;object-fit:cover}
.profile-card-body,.material-card-body{padding:14px}
.profile-card-title,.material-card-title{display:flex;align-items:center;gap:6px;min-width:0}
.profile-card-title h3,.material-card-title h3{flex:1;min-width:0}
.profile-card-body h3,.material-card-body h3{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.profile-card-body p,.material-card-body p{margin-top:7px;color:var(--smoke);font-size:9px}
.profile-card-meta,.material-card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px}
.profile-card-meta p,.material-card-meta p{min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-card-actions{position:relative;z-index:2;display:flex;align-items:center;gap:4px}.profile-card-actions .text-button{font-size:9px;white-space:nowrap}
.profile-state{flex:0 0 auto;padding:3px 6px;border-radius:999px;font-size:8px;font-weight:700;white-space:nowrap;pointer-events:none}
.profile-state.needs-action{background:#fff0e8;color:#c64712}
.profile-state.processing{background:#edf2ff;color:#4662cf}
.profile-state.ready{background:#edf7f1;color:#397357}
.profile-state.failed{background:#ffebeb;color:#bd3030}
.danger-text{color:var(--danger)}
.material-preview-dialog{width:min(900px,calc(100vw - 32px))}
.material-preview-stage{height:clamp(360px,65vh,620px);margin-top:18px;background:#11151a}
.material-preview-stage img,.material-preview-stage video{display:block;width:100%;height:100%;object-fit:contain}
.block-actions{display:flex;align-items:center;gap:13px}
.block-actions .subtle{white-space:nowrap}
.profile-choice-list{display:flex;flex-direction:column;gap:10px}
.profile-choice{display:grid;grid-template-columns:64px 1fr auto;align-items:center;gap:13px;width:100%;padding:10px;border:1px solid #dfe3e8;border-radius:10px;background:#fff;text-align:left}
.profile-choice.active{border-color:#8e86ed;background:#f5f4ff;box-shadow:0 0 0 1px #8e86ed}
.profile-choice-media{width:64px;height:64px;overflow:hidden;border-radius:8px;background:#15191f}
.profile-choice-media img,.profile-choice-media video{display:block;width:100%;height:100%;object-fit:cover}
.flower-mix-video-choice{grid-template-columns:160px 1fr auto}
.flower-mix-video-choice .profile-choice-media{width:160px;height:90px}
.flower-mix-selected-choice{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;gap:10px 13px}
.flower-mix-selected-choice .profile-choice-media{grid-column:1 / 3;width:100%;height:140px;background:#f7f8fa}
.flower-mix-selected-choice .profile-choice-media video{object-fit:cover}
.flower-mix-selected-choice .profile-choice-media img{object-fit:contain}
.flower-mix-selected-choice>span:nth-child(2){grid-column:1;grid-row:2;min-width:0}
.flower-mix-selected-choice .profile-choice-check{grid-column:2;grid-row:2}
.profile-choice strong,.profile-choice small{display:block}
.profile-choice strong{font-size:12px}
.profile-choice small{margin-top:5px;color:var(--smoke);font-size:9px}
.profile-choice-check{padding:5px 9px;border-radius:999px;background:#e9e7ff;color:#5549dc;font-size:9px;font-weight:700;white-space:nowrap}
.presenter-scale-reference-choice{grid-template-columns:96px 1fr auto}
.presenter-scale-reference-choice .profile-choice-media{width:96px;height:120px;background:#11151a}
.presenter-scale-reference-choice .profile-choice-media img{object-fit:contain}
.presenter-scale-reference-choice .profile-choice-media.empty{display:grid;place-items:center;background:#f0f1f5;color:var(--smoke);font-size:10px;text-align:center}
.voice-choice-icon{display:grid;width:100%;height:100%;place-items:center;background:#f0f1f5;color:#6258eb}.voice-choice-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.voice-choice{grid-template-columns:64px minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center}
.voice-choice-select{display:grid;grid-column:1 / 3;grid-row:1;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:13px;width:100%;min-width:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.voice-choice-audio{display:block;grid-column:2;grid-row:2;width:100%;min-width:0;height:30px;margin-top:7px}
.voice-choice .profile-choice-check{grid-column:3;grid-row:1 / span 2}
.voice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.voice-card{display:grid;gap:14px;padding:16px;border:1px solid #dfe4e9;border-radius:12px;background:#fff}.voice-card.is-default{border-color:#8e86ed;box-shadow:0 0 0 1px #8e86ed}.voice-card-heading,.voice-card-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.voice-card-heading>div{min-width:0}.voice-card-title{min-width:0}.voice-card-title small{display:block;margin-top:5px;overflow:hidden;color:var(--smoke);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.voice-name-input{display:block;width:100%;padding:0;border:0;background:transparent;color:var(--ink);font:inherit;font-size:12px;font-weight:700;line-height:1.4;outline:0}.voice-name-input:focus{border-bottom:1px solid #8e86ed}.voice-card audio{display:block;width:100%}.voice-card-actions{color:var(--smoke);font-size:9px}.voice-card-buttons{display:flex;align-items:center;gap:10px}.voice-card-buttons .text-button{font-size:9px;white-space:nowrap}

@media(max-width:1120px){
  .project-grid{grid-template-columns:repeat(2,1fr);gap:18px}
  .profile-grid,.material-grid{grid-template-columns:repeat(3,1fr)}
  .voice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .workspace{grid-template-columns:1fr;gap:18px}
  .presenter-workspace:not(.presenter-viewer-hidden){grid-template-columns:minmax(0,1.45fr) minmax(340px,.55fr);gap:28px}
  .presenter-workspace.presenter-viewer-hidden{grid-template-columns:minmax(0,1fr)}
  .viewer-stage{height:340px;min-height:340px}
  .presenter-workspace .viewer{position:sticky;top:16px;max-height:calc(100vh - 32px)}
  .presenter-workspace .viewer .viewer-stage{height:340px;min-height:340px}
  .actionbar{padding:14px 26px}
}
@media(max-width:850px){.presenter-workspace:not(.presenter-viewer-hidden){gap:24px}}
@media(max-width:700px){.presenter-workspace:not(.presenter-viewer-hidden){grid-template-columns:1fr}.presenter-workspace .viewer{position:static;max-height:none}}
@media(max-width:850px){
  .project-bar{flex-wrap:nowrap;min-width:0}
  .project-template,.project-sep,.project-title-input{font-size:17px}
  .page-title{flex-direction:column;align-items:flex-start;gap:14px}
  .project-tools{flex-direction:column;align-items:stretch;gap:12px}
  .search{width:100%}
  .search input{width:100%}
  #presenterViewer .viewer-stage{flex:0 0 250px;height:250px;min-height:250px}
  .actionbar{left:0;padding:12px 20px}
  .actionbar-info{flex-direction:column;align-items:flex-start;gap:8px}
}
@media(max-width:640px){
  .page-title h1{font-size:28px;letter-spacing:-1px}
  .project-template,.project-sep{display:none}
  .project-title-input{font-size:17px;max-width:180px}
  .project-grid{grid-template-columns:1fr}
  .profile-grid,.material-grid{grid-template-columns:repeat(2,1fr)}
  .voice-grid{grid-template-columns:1fr}.profile-voice-name{grid-template-columns:1fr}.profile-process-results audio{margin-top:0}
  .asset-folders{overflow-x:auto}
  .asset-folders a{flex:0 0 auto}
  .asset-section-head{align-items:flex-start;flex-direction:column}
  .block-actions{gap:8px}
  .concept-narration-heading{flex-direction:column;gap:11px}
  .concept-narration-control{width:max-content;max-width:100%;padding:7px 9px;gap:8px}
  .upload-pair,.form-row,.setting-summary,.fx-options{grid-template-columns:1fr}
  .viewer-stage{height:280px;min-height:280px}
  .actionbar{flex-direction:column;align-items:stretch;gap:10px}
  .actionbar .actions .button{width:100%}
  .stage-action{align-items:stretch;flex-direction:column}
  .stage-action .button{width:100%}
  .editor-body{padding:19px}
}

/* 9 · 我的账户 */
.badge{display:inline-flex;align-items:center;gap:6px;padding:4px 7px;border-radius:6px;background:#eef0f2;color:#707468;font-size:9px;white-space:nowrap}
.account-summary{display:grid;grid-template-columns:1.25fr 1fr;gap:35px;margin:10px 0 32px;padding:30px 0;border-top:1px solid #e1e5e9;border-bottom:1px solid #e1e5e9}
.account-summary p{font-size:11px;color:#727b86}
.big-balance{margin:8px 0;font-size:52px;font-weight:500;line-height:1.55;letter-spacing:-2px;font-variant-numeric:tabular-nums}
.big-balance small{margin-left:12px;color:var(--smoke);font-size:12px;font-weight:500;letter-spacing:0}
.account-detail{display:flex;flex-direction:column;justify-content:center;gap:15px;padding-left:35px;font-size:12px}
.account-detail>div{display:flex;align-items:baseline;justify-content:space-between;gap:20px}
.account-detail span{color:#727b86;font-size:12px}
.account-detail b{font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}
.account-ledger-tools{display:flex;align-items:center;gap:14px}
.ledger-table{overflow:auto}
.ledger-table table{width:100%;border-collapse:collapse}
.ledger-table th{padding:16px 10px;border-bottom:1px solid #e1e5e9;color:#727b86;font-size:10px;font-weight:400;text-align:left;white-space:nowrap}
.ledger-table td{padding:16px 10px;border-bottom:1px solid #e1e5e9;font-size:12px;text-align:left}
.ledger-table td.muted{color:var(--smoke)}
.ledger-change{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.ledger-table td.positive{color:#2f6fed;font-weight:600}
.ledger-table td.negative{color:#475569;font-weight:500}
#accountMoreLedger{margin-top:18px}
#accountStatus:empty{display:none}

@media(max-width:850px){
  .account-summary{grid-template-columns:1fr;gap:20px;padding:22px 0}
  .account-detail{padding:20px 0 0;border-top:1px solid #e1e5e9}
  .big-balance{font-size:42px}
}

.asset-tabbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.asset-tabbar .button.primary{padding:10px 18px;min-height:44px;font-size:13px;border-radius:10px}
.asset-tabbar .button.secondary{padding:9px 16px;min-height:40px;font-size:12px;border-radius:8px}
.asset-toolbar-actions{display:flex;align-items:center;gap:14px;margin-left:auto}
.asset-count{color:var(--smoke);font-size:11px;white-space:nowrap}
.asset-subtabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:3px;border-radius:9px;background:#f1f3f5;max-width:420px;flex:1 1 300px}
.asset-subtabs button{padding:8px 12px;border-radius:7px;color:#707985;font-size:12px;font-weight:600}
.asset-subtabs button.active{background:#fff;color:#544bd0;box-shadow:0 2px 8px #1c263314}
.asset-subtabs button span{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;margin-left:5px;padding:0 5px;border-radius:9px;background:#e2e5e9;color:#707985;font-size:9px}
.asset-subtabs button.active span{background:#eeedff;color:#544bd0}
.asset-source-tabs{grid-template-columns:repeat(2,minmax(0,1fr));max-width:420px}
.profile-create-panel>.asset-source-tabs{width:100%;max-width:none;margin:2px 0 14px}
.asset-note{font-size:11px;color:#8b919b;line-height:1.6;padding-left:9px;border-left:2px solid #e2e5ea;margin-bottom:6px}
.profile-card,.material-card{position:relative}
.card-remove{position:relative;z-index:2;flex:0 0 auto;width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:7px;background:transparent;color:var(--danger);opacity:0;transition:opacity .15s,background .15s}
.card-remove svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.profile-card:hover .card-remove,.material-card:hover .card-remove,.card-remove:focus-visible{opacity:1}
.card-remove:hover{background:var(--danger-soft)}
@media(hover:none){.card-remove{opacity:1}}
@media(max-width:620px){
  .asset-tabbar{align-items:stretch}
  .asset-subtabs{max-width:none;flex-basis:100%}
  .asset-toolbar-actions{width:100%;justify-content:space-between}
  #assetLibraryPanel>.asset-tabbar{align-items:center}
  .profile-process-results{grid-template-columns:1fr}
  .profile-process-results audio{margin-top:0}
}
@media(max-width:640px){.profile-guide-body{grid-template-columns:1fr}.profile-guide-demo video{width:100%}}

/* 分镜脚本编辑（主播工作流 step 03） */
.storyboard-detail-toggle{color:#6258eb;font-weight:600}
.storyboard-detail-toggle::after{content:"＋";font-size:14px;line-height:1;transition:transform .2s ease}
.show-full-storyboard .storyboard-detail-toggle::after{content:"−"}
.concept-narration-heading{align-items:flex-start}
.concept-narration-control{display:flex;align-items:center;gap:11px;padding:8px 11px;border:1px solid #d7dce6;border-radius:10px;background:#f7f8fc;cursor:pointer}
.concept-narration-label{display:flex;flex-direction:column;gap:2px;white-space:nowrap}
.concept-narration-label strong{color:#30363d;font-size:11px;font-weight:650}
.concept-narration-label small{color:#7b838e;font-size:9px}
.concept-narration-state{position:relative;display:flex;align-items:center;gap:7px;color:#7b838e;font-size:10px;font-weight:650;white-space:nowrap}
.concept-narration-state input{position:absolute;width:1px;height:1px;margin:0;opacity:0}
.concept-narration-track{position:relative;width:36px;height:21px;border-radius:999px;background:#aeb5c0;transition:background .18s ease}
.concept-narration-track i{position:absolute;top:3px;left:3px;width:15px;height:15px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #15202b33;transition:transform .18s ease}
.concept-narration-control.enabled{border-color:#8e86ed;background:#f3f2ff}
.concept-narration-control.enabled .concept-narration-state{color:#6258eb}
.concept-narration-control.enabled .concept-narration-track{background:linear-gradient(110deg,#d53d8e,#6258eb)}
.concept-narration-control.enabled .concept-narration-track i{transform:translateX(15px)}
.concept-narration-state input:focus-visible+.concept-narration-track{outline:3px solid #6258eb33;outline-offset:2px}
.storyboard-list{display:flex;flex-direction:column;gap:12px;margin-bottom:14px}
.storyboard-shot{padding:13px 14px;border:1px solid var(--script-line);border-radius:10px;background:var(--script-paper);transition:border-color .15s ease,box-shadow .15s ease}
.storyboard-shot:focus-within{border-color:#aaa4f1;box-shadow:0 0 0 3px #6258eb12}
.storyboard-fields{display:flex;flex-direction:column;min-width:0}
.storyboard-shot-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}
.storyboard-shot-title{min-width:0;color:#30363d;font-size:11px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.storyboard-shot-time{flex:none;padding:3px 7px;border-radius:5px;background:#f0f1f5;color:#7b838e;font-size:9px;font-variant-numeric:tabular-nums}
.storyboard-line-label,.storyboard-camera-label{margin-bottom:6px;color:var(--smoke);font-size:9px;font-weight:600}
.storyboard-line{height:44px;min-height:44px;margin:0;padding:10px 11px;line-height:1.4;white-space:nowrap;overflow-x:auto;overflow-y:hidden}
.storyboard-camera-field{display:none;margin-top:13px;padding-top:12px;border-top:1px solid #eceef1}
.show-full-storyboard .storyboard-camera-field{display:flex;flex-direction:column}
.storyboard-camera-input{min-height:0;margin:0;padding:10px 11px;color:#59616b;font-size:11px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;resize:none;overflow-y:hidden}
.storyboard-revise{margin-bottom:16px}
.storyboard-revision-trigger{width:100%;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--script-line);border-radius:10px;background:#fafbfc;color:#30363d;text-align:left;transition:border-color .15s ease,background .15s ease}
.storyboard-revision-trigger:hover{border-color:#c7c3ef;background:#f8f7ff}
.storyboard-revision-symbol{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#eeecff;color:#6258eb}
.storyboard-revision-symbol svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.storyboard-revision-copy{min-width:0;display:flex;flex-direction:column;gap:3px}
.storyboard-revision-copy strong{font-size:12px;font-weight:650}
.storyboard-revision-copy small{color:#7b838e;font-size:10px}
.storyboard-revision-open{display:inline-flex;align-items:center;gap:5px;color:#6258eb;font-size:11px;font-weight:600;white-space:nowrap}
.storyboard-revision-open svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.storyboard-revision-panel{padding:16px;border:1px solid #dfe2e8;border-radius:10px;background:#fafbfc}
.storyboard-revision-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:15px}
.storyboard-revision-heading>div{display:flex;flex-direction:column;gap:3px}
.storyboard-revision-heading strong{color:#30363d;font-size:13px;font-weight:650}
.storyboard-revision-heading small{color:#7b838e;font-size:10px}
.storyboard-revision-heading .text-button{padding:1px 0;font-size:11px}
.storyboard-revision-panel .field-label{margin-bottom:7px;color:#59616b;font-size:10px}
.storyboard-revision-panel .textarea{min-height:88px;margin:0;background:#fff;resize:vertical}
.storyboard-revision-footer{display:flex;align-items:center;justify-content:flex-end;margin-top:12px}
.storyboard-revision-footer .button{flex:none}
@media(max-width:640px){
  .storyboard-revision-trigger{grid-template-columns:34px minmax(0,1fr);padding:11px 12px}
  .storyboard-revision-open{grid-column:2}
  .storyboard-revision-footer{align-items:stretch;flex-direction:column}
  .storyboard-revision-footer .button{width:100%}
}
.button.is-storyboarding:disabled{opacity:1;cursor:wait}
.storyboard-frame-loader{display:inline-flex;align-items:center;gap:3px;height:14px}
.storyboard-frame-loader i{display:block;width:5px;height:9px;border:1px solid #fff9;border-radius:2px;background:#fff2;animation:storyboard-frame-fill 1.05s ease-in-out infinite}
.storyboard-frame-loader i:nth-child(2){animation-delay:.14s}
.storyboard-frame-loader i:nth-child(3){animation-delay:.28s}
@keyframes storyboard-frame-fill{0%,70%,100%{transform:translateY(0);background:#fff2}35%{transform:translateY(-3px);background:#fff}}
.brand-information-heading{margin-top:29px;margin-bottom:0}
.presenter-brand-information-body{display:grid;gap:16px}
.presenter-brand-background-item{display:grid;gap:10px;padding-top:16px;border-top:1px solid #edf0f2}
.presenter-brand-subheading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.presenter-brand-subheading>div{min-width:0}.presenter-brand-subheading strong{display:block;font-size:11px;font-weight:600}.presenter-brand-subheading small{display:block;margin-top:4px;color:var(--smoke);font-size:10px}.presenter-brand-subheading .subtle{flex:none}

.profile-card-media,.material-card-media,.material-preview-stage,.profile-choice-media{background:transparent}
.profile-card-media video,.material-card-media video,.material-preview-stage video,.profile-choice-media video{background:#11151a}
@media(prefers-reduced-motion:reduce){.storyboard-frame-loader i{animation:none;background:#fff}}
#introProgressBox{display:flex;align-items:center;justify-content:center}.presenter-fireworks-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}#voicePickerDialog .voice-choice-select{grid-column:2;grid-row:1}.voice-picker-media{display:flex;grid-column:1;grid-row:1 / span 2;align-items:center;justify-content:center}.voice-picker-media .voice-choice-icon{width:44px;height:44px;border-radius:50%}.voice-picker-play{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:#544bd0;color:#fff;transition:background .15s,transform .1s}.voice-picker-play:hover{background:#453cb4}.voice-picker-play:active{transform:scale(.94)}.voice-picker-play svg{width:20px;height:20px;fill:currentColor;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.voice-picker-play.playing{background:#151916}.profile-choice.voice-choice.is-playing{border-color:#544bd0;background:#f5f4ff}
.compose-settings{display:flex;flex-direction:column;gap:18px;margin-top:18px}.compose-param-field small{display:block;color:var(--muted);font-size:11px;margin-top:6px}.compose-param-field input[type=range]{width:100%;height:32px;margin:2px 0 0}.compose-toggle-row{display:flex;gap:18px}.compose-toggle{display:inline-flex;align-items:center;gap:7px;font-size:13px}.compose-toggle input{width:auto;height:auto;margin:0;accent-color:var(--accent)}#presenterBgmVolumeValue{font-variant-numeric:tabular-nums;margin-left:6px}
/* 灰度期登录：密码/验证码登录、两步注册、邀请激活、密码重置共用一个弹窗 */
.auth-dialog .popup-heading .eyebrow{font-size:9px;margin:0 0 4px}
.auth-pane{margin-top:6px}
.auth-pane .field-label{display:block;margin:16px 0 8px}
.auth-pane>.field-label:first-child{margin-top:20px}
.auth-pane small{display:block;margin-top:7px;line-height:1.6}
.auth-pane>.button{width:100%;margin-top:18px}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:22px}
.auth-tab{border:1px solid var(--line);background:white;color:var(--muted);font-size:12px;font-weight:550;border-radius:6px;padding:10px 8px}
.auth-tab.active{border-color:var(--accent);color:var(--accent);background:#fff9f4}
.auth-pane .text-input.readonly{background:#f6f6f1;color:var(--muted)}
.auth-foot{display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-top:18px}
.auth-foot .text-button{font-size:12px;padding:0}
.compose-settings-toggle[aria-expanded=true] .compose-music-row{display:flex;gap:8px;align-items:center}.compose-audition{display:grid;place-items:center;flex:0 0 auto;width:40px;height:40px;padding:0;border:1px solid var(--line);border-radius:8px;background:#fff;color:#544bd0;transition:background .15s,color .15s}.compose-audition:hover{border-color:#544bd0}.compose-audition.playing{background:#151916;border-color:#151916;color:#fff}.compose-audition svg{width:18px;height:18px;fill:currentColor}
/* AI 创建形象：形象名可改名，卡片上标明生成来源。
   名称是单行输入框（不能换行），长名称会把状态与来源标签挤到下一行，避免文字被裁切。 */
.profile-card-title{flex-wrap:wrap}
.profile-card-title h3,.profile-name-input{flex:1;min-width:0}
.profile-name-input{flex:1 1 auto;min-width:120px;padding:0;border:0;background:transparent;color:var(--ink);font:inherit;font-size:inherit;font-weight:700;line-height:1.4;outline:0}
.profile-name-input:focus{border-bottom:1px solid #8e86ed}
.profile-name-input:disabled{color:var(--ink)}
.profile-origin{flex:0 0 auto;padding:3px 6px;border-radius:999px;background:var(--warm);color:var(--accent);font-size:8px;font-weight:700;white-space:nowrap;pointer-events:none}
.compose-module{border:1px solid var(--line);border-radius:12px;background:#fff;margin-top:20px;overflow:hidden}.compose-module-toggle{display:flex;align-items:center;gap:11px;width:100%;padding:14px 18px;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.compose-module-toggle:hover{background:#fcfcf9}.compose-module-mark{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:var(--warm);color:var(--accent);flex:0 0 auto}.compose-module-mark svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.compose-module-toggle strong{font-size:13px;font-weight:650}.compose-module-toggle .compose-summary{color:var(--muted);font-size:11px;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compose-module-chevron{width:16px;height:16px;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s;flex:0 0 auto}.compose-module-toggle[aria-expanded=true] .compose-module-chevron{transform:rotate(90deg)}.compose-module-body{display:flex;flex-direction:column;gap:18px;padding:2px 18px 20px 59px}.compose-module-action{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;border-top:1px solid var(--line);background:#fcfcf9}.compose-module-action .compose-status{flex:1;min-width:0;margin:0;font-size:11px;color:var(--muted)}.compose-module-action .compose-submit{flex:0 0 auto;min-height:44px;padding:10px 18px;border-radius:8px;font-size:13px;font-weight:650}@media(max-width:760px){.compose-module-body{padding-left:18px}.compose-module-action{flex-direction:column;align-items:stretch}.compose-module-action .compose-submit{width:100%}}
/* 查看主播形象：只读预览（不能通过点击或拖拽替换原图） */
.profile-view-stage{margin-top:4px}
.profile-view-stage video,.profile-view-open{display:block;width:100%;height:clamp(300px,52vh,440px);border:1px solid var(--line);border-radius:8px;background:var(--night);overflow:hidden}
.profile-view-open{padding:0;cursor:zoom-in}
.profile-view-open img{width:100%;height:100%;object-fit:contain}
.profile-view-open:hover{border-color:var(--accent)}
.profile-view-empty{display:grid;place-items:center;height:clamp(300px,52vh,440px);border:1px dashed var(--line);border-radius:8px;color:var(--muted);font-size:12px}
.profile-view-hint{margin-top:8px;color:var(--muted);font-size:11px}

/* 首页「最近项目」卡片：区块高度统一为 100px，缩略图按 9:16 填满内容区 */
.recent-card{height:100px;padding:11px}
.recent-card .mini-media,.recent-card .mini-empty{width:44px;height:78px}
.material-preview-actions{display:flex;justify-content:flex-end;margin-top:14px}.profile-name-input{position:relative;z-index:2;cursor:text;transition:color .15s}.profile-name-input:hover{color:#6258eb}.profile-name-input:focus{border:1px solid #a9a3f0;border-radius:6px;background:#fff;box-shadow:0 0 0 3px #6258eb14;outline:none;padding:2px 5px;margin:-2px -5px}.profile-name-input:disabled{cursor:default}.profile-name-input:disabled:hover{color:var(--ink)}/* 卡片标题与标签固定两行：名字独占第一行，AI 创建/状态标签统一落在下一行（2026-09-20） */.profile-card-title .profile-name-input{flex:1 1 100%}/* 卡片信息栏统一贴住底部：卡片纵向弹性布局，meta 行 margin-top:auto（2026-09-20） */.profile-card,.material-card{display:flex;flex-direction:column}.profile-card-body,.material-card-body{display:flex;flex-direction:column;flex:1 1 auto}.profile-card-meta,.material-card-meta{margin-top:auto;padding-top:7px}
