:root{color-scheme:dark;font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;font-synthesis:none;color:#f2f0ed;background:#111214;--fg:#f2f0ed;--muted:#97989e;--border:#2b2c30;--accent:#ff6b32;--surface:#1a1b1e;--sidebar:224px}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;background:none;border:0}button:disabled{cursor:not-allowed;opacity:.42}a{color:inherit}img{max-width:100%}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #ff9d73;outline-offset:4px}button{transition:background .18s,border-color .18s,transform .18s}::selection{background:#b74b2d;color:#fff}svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.skip-link{position:fixed;top:-100px;left:20px;padding:12px;background:var(--surface);z-index:100}.skip-link:focus{top:15px}.hidden,[hidden]{display:none!important}.small-icon{width:18px;height:18px;flex:none;vertical-align:middle}
.topbar{height:76px;position:fixed;top:0;left:var(--sidebar);right:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:0 36px;background:#111214ed;border-bottom:1px solid #242529;backdrop-filter:blur(18px)}.topbar-left,.header-right{display:flex;align-items:center;gap:20px}.breadcrumb{display:flex;align-items:center;gap:16px;font-size:12px}.breadcrumb span{color:#777a82}.breadcrumb b{font-weight:400;color:#4d4f57}.breadcrumb strong{font-weight:500;color:#c8c9ce}.prototype-badge{display:flex;align-items:center;gap:7px;font-size:11px;color:#a3a3a9}.prototype-badge i,.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#e88b59;box-shadow:0 0 0 4px #e88b5912}.upgrade{font-size:12px;color:#d5d4d2;padding:9px 12px;border:1px solid #36373c;border-radius:8px}.upgrade:hover{background:#25262a}.upgrade span{margin-left:10px;color:var(--accent)}.user-avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#33271f;color:#ffb286;font-size:13px;border:1px solid #65432e}.nav-toggle{display:none;width:34px;height:36px;place-items:center}.nav-toggle svg{width:21px;height:21px}.mobile-brand{display:none!important}
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);z-index:40;background:#17181b;border-right:1px solid #2a2b2f;padding:24px 18px;display:flex;flex-direction:column}.sidebar-brand{display:flex;align-items:center;justify-content:center;gap:8px}.brand-logo{width:188px;padding:8px;background:transparent;border-radius:9px;display:flex;justify-content:center;flex:none}.logo-window{display:block;width:100%;aspect-ratio:3.6;position:relative;overflow:hidden}.logo-window img{position:absolute;max-width:none;width:130.66%;height:auto;left:-15.96%;top:-77%;display:block}.brand-description{text-align:center;font-size:11px;letter-spacing:4px;color:#9b9995;margin:13px 0 28px}.sidebar-brand .icon-button{display:none}.sidebar-create{width:100%;min-height:43px}.nav-caption{font-size:10px;color:#6f727b;margin:30px 12px 12px;letter-spacing:2px}nav button{width:100%;padding:14px 13px;border-radius:9px;display:flex;align-items:center;gap:12px;text-align:left;font-size:13px;color:#a7a8b0;margin-bottom:5px;position:relative}nav button svg{width:19px;height:19px;flex:none}nav button.active{background:#ff743316;color:#ff9565;font-weight:600}nav button.active:before{content:"";position:absolute;left:-18px;height:20px;width:3px;border-radius:0 2px 2px 0;background:#ff7337}nav button:hover{background:#ffffff08;color:#eee}.sidebar-footer{margin-top:auto;padding-top:45px}.local-note{padding:16px 12px;background:#1e1f22;border:1px solid #2a2b30;border-radius:10px}.local-note strong{font-size:11px;font-weight:500;margin-left:9px;color:#c7c4c0}.local-note p{font-size:10px;line-height:1.9;color:#777b86;margin:12px 0 0}.sidebar-footer>button{padding:20px 12px 18px;display:flex;justify-content:space-between;width:100%;font-size:12px;color:#92959f}.sidebar-footer>small{display:block;text-align:center;font-size:9px;color:#5d606a}.sidebar-backdrop{position:fixed;inset:0;z-index:35;background:#0009;backdrop-filter:blur(4px)}
#main{margin-left:var(--sidebar);padding:108px 36px 35px;min-height:100vh;outline:none;max-width:1800px}.home-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 25px}.eyebrow{display:block;font-size:10px;letter-spacing:2px;color:#9d9790;margin:0 0 9px}.home-heading h1{font-size:25px;font-weight:550;letter-spacing:1px;margin:0}.home-date{font-size:11px;color:#6f727a}.brand-hero{position:relative;overflow:hidden;min-height:350px;border:1px solid #4b3327;border-radius:16px;background:#211a16;display:grid;grid-template-columns:1fr 1fr}.hero-copy{z-index:2;padding:33px 35px 25px;background:linear-gradient(90deg,#241b16,#221b17e8 70%,#211b16a1)}.hero-kicker{font-size:10px;letter-spacing:2px;color:#deb095;display:flex;gap:8px;align-items:center}.hero-kicker i{width:5px;height:5px;background:var(--accent);border-radius:50%}.hero-copy h2{font-size:43px;font-weight:650;line-height:1.4;letter-spacing:2px;margin:15px 0 12px;color:#fff4e9}.hero-copy em{font-style:normal;color:#ff8a50}.hero-copy p{font-size:12px;line-height:1.9;color:#b2a69c;margin:0 0 21px}.hero-copy .button-row{gap:20px}.hero-start{padding:12px 20px!important}.hero-start span{margin-left:9px}.hero-secondary{font-size:11px;color:#d3c4b7;padding:9px 0}.hero-secondary:hover{color:#fff}.hero-flow{display:flex;align-items:center;gap:13px;font-size:9px;color:#908074;margin-top:23px}.hero-flow b{font-weight:400;color:#775844}.hero-visual{position:relative;min-width:0}.hero-visual>img{width:100%;height:100%;object-fit:cover;object-position:54% 38%;position:absolute;inset:0}.hero-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#221b17 0,transparent 28%),linear-gradient(0deg,#100e0d8a,transparent 45%)}.hero-caption{position:absolute;z-index:1;bottom:26px;left:25px;right:25px;display:flex;align-items:center;gap:12px;border:1px solid #ffffff26;background:#1111127a;backdrop-filter:blur(18px);padding:12px 15px;border-radius:10px}.caption-icon{font-size:20px;color:#ffaf80}.hero-caption strong{display:block;font-size:11px;font-weight:500;color:#f5eee7}.hero-caption small{display:block;font-size:9px;color:#b0a49a;margin-top:5px}.mini-wave{display:flex;align-items:center;gap:3px;margin-left:auto}.mini-wave i{width:2px;height:var(--h);background:#ffa56d;border-radius:2px}
.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0 30px}.quick-card{padding:18px;border:1px solid var(--border);border-radius:12px;background:#1b1c20;display:flex;align-items:center;gap:14px;text-align:left;min-width:0}.quick-card:hover{background:#222326;border-color:#515158;transform:translateY(-2px)}.quick-icon{height:42px;width:42px;border-radius:11px;display:grid;place-items:center;flex:none;background:#e7783221;color:#efa172}.quick-icon svg{width:21px;height:21px}.quick-card.blue .quick-icon{background:#2c7eb52a;color:#69b2e5}.quick-card.pink .quick-icon{background:#ba52692a;color:#e488a2}.quick-card strong{display:block;font-size:13px;font-weight:550;margin-bottom:7px}.quick-card small{display:block;font-size:10px;color:#83858e;line-height:1.6}.quick-card>b{margin-left:auto;color:#686b75;font-size:18px;font-weight:400}
.section-heading{display:flex;align-items:center;justify-content:space-between;margin:28px 0 18px}.section-heading h2{font-size:18px;font-weight:550;margin:0}.section-heading p{font-size:11px;color:#7e818a;margin:9px 0 0}.text-button{font-size:11px;color:#aaaeb8;padding:7px 0}.text-button:hover{color:#ff9b69}.text-button span{margin-left:8px}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.template-card{display:block;padding:0;overflow:hidden;border:1px solid #2d2e33;border-radius:12px;background:#1a1b1f;text-align:left}.template-card:hover{border-color:#9c6042;transform:translateY(-3px)}.template-image{position:relative;display:block;width:100%;aspect-ratio:1.7;overflow:hidden;background:#282421}.template-image img{width:100%;height:100%;object-fit:cover;object-position:center 38%;transition:transform .35s}.template-card:hover img{transform:scale(1.035)}.template-image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0005,transparent 35%,transparent 70%,#0005);pointer-events:none}.template-index{position:absolute;z-index:1;left:12px;top:12px;padding:5px 7px;border-radius:4px;background:#10101373;backdrop-filter:blur(8px);font-size:9px;letter-spacing:1px;color:#fff}.create-pill{position:absolute;bottom:12px;right:12px;z-index:1;background:#161616a8;backdrop-filter:blur(10px);border:1px solid #ffffff3b;padding:7px 10px;border-radius:6px;font-size:10px;color:#fff}.template-caption{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px}.template-caption h3{font-size:14px;font-weight:550;margin:0 0 8px}.template-caption small{font-size:10px;color:#858994;line-height:1.5}.template-arrow{font-size:18px;color:#787d89}.template-card:hover .template-arrow{color:#ff8d52}.onboarding{display:grid;grid-template-columns:1.2fr repeat(4,1fr);align-items:center;gap:15px;padding:23px 22px;border:1px solid var(--border);border-radius:12px;margin-top:30px;background:#17181b}.setup-label strong{font-size:12px;font-weight:500;display:block}.setup-label small{font-size:10px;color:#7c7e87;display:block;margin-top:8px}.step-card{display:flex;align-items:center;gap:8px;text-align:left;padding:0;font-size:10px;color:#aaadb5}.step-card>b{color:#656872;font-size:17px;margin-left:auto}.step-circle{display:grid;place-items:center;flex:none;height:26px;width:26px;border:1px solid #3e4049;border-radius:50%;font-size:9px;color:#9c9fab}.step-circle.done{background:#713f25;border-color:#c77340;color:#ffd1ae}.home-footnote{display:flex;justify-content:space-between;gap:12px;color:#5e626d;font-size:9px;line-height:1.9;margin:24px 0 0}
.page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:5px 0 30px}.page-header h1{font-size:28px;font-weight:550;margin:0 0 12px;letter-spacing:.5px}.page-header p{font-size:12px;color:var(--muted);line-height:1.8;margin:0}.primary,.secondary,.subtle{font-size:12px;font-weight:550;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:11px 17px;border-radius:8px;white-space:nowrap;text-decoration:none}.primary{color:#fff7f0;background:#ed632d;border:1px solid #f57a43;box-shadow:0 3px 12px #d94b1517}.primary:hover{background:#ff7b40}.secondary{background:#242529;border:1px solid #3c3e46;color:#dadbdf}.secondary:hover{background:#303136;border-color:#60616b}.subtle{color:#90949f;padding:9px}.button-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.surface{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:24px}.studio-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:25px;align-items:start}.studio-form{display:flex;flex-direction:column;gap:22px}.field{display:flex;flex-direction:column;gap:9px;min-width:0}.field-label{font-size:12px;font-weight:550;display:flex;justify-content:space-between;align-items:center;gap:10px}.field-label small{color:#7c818b;font-size:10px;font-weight:400}.field input:not([type=file]):not([type=range]),.field textarea,.field select,.search-input{width:100%;color:#dedfe2;background:#141518;border:1px solid #36383e;border-radius:8px;padding:11px 12px;font-size:12px;line-height:1.7}.field textarea{resize:vertical;min-height:95px}.field input:focus,.field textarea:focus,.field select:focus{border-color:#b87851;outline:2px solid #c7783d1c}.field input::placeholder,.field textarea::placeholder,.search-input::placeholder{color:#666c78}.field-help{color:#8a8f9a;font-size:10px;line-height:1.8;margin:0}.input-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:13px}.upload-box{border:1px dashed #565050;border-radius:10px;min-height:126px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:16px;background:#211c19;position:relative;overflow:hidden;cursor:pointer;color:#dec2af}.upload-box:hover,.upload-box.dragover{background:#33241a;border-color:#ed965d}.upload-box svg{width:26px;height:26px;color:#d3966e}.upload-box strong{font-size:12px;font-weight:500}.upload-box small{font-size:10px;color:#9f8e83}.upload-box input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.upload-selected{display:flex;gap:12px;align-items:center;border:1px solid #3c3d43;border-radius:9px;padding:9px;background:#202126}.upload-selected img{width:44px;height:48px;object-fit:cover;border-radius:5px}.file-info{min-width:0;flex:1}.upload-selected strong{font-size:11px;font-weight:500;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.upload-selected small{font-size:10px;color:#858b97}.icon-button{height:32px;width:32px;flex:none;display:grid;place-items:center;border-radius:7px;font-size:23px;color:#a9abb4}.icon-button:hover{background:#ffffff0c}.segmented{display:flex;gap:4px;padding:4px;background:#111215;border:1px solid #2a2c31;border-radius:9px}.segmented button{flex:1;border-radius:6px;font-size:11px;padding:10px 8px;color:#858b95}.segmented button.active{background:#36302b;color:#ffbc8b;font-weight:500}audio{width:100%;height:36px;margin-top:8px;color-scheme:dark}.section-divider{height:1px;background:#303137}.studio-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}.range-field{display:flex;align-items:center;gap:12px}.range-field input{width:100%;accent-color:#ed8d50}.range-field output{font-size:11px;min-width:34px;color:#e3a77d}
.preview-panel{position:sticky;top:100px;background:#1a1b1f;border:1px solid #35363c;border-radius:14px;padding:20px}.preview-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px;gap:10px;font-size:12px}.preview-top span:last-child{font-size:9px;color:#bf9f88;background:#342820;padding:5px 8px;border-radius:5px}.preview-stage{border:1px solid #383b42;border-radius:10px;aspect-ratio:16/9;overflow:hidden;display:grid;place-items:center;position:relative;margin:auto;width:100%;background:radial-gradient(ellipse at 60% 35%,#323035,#141619)}.preview-stage.portrait{aspect-ratio:9/16;width:62%;max-height:480px}.preview-stage.square{aspect-ratio:1;width:85%}.preview-stage img{width:100%;height:100%;object-fit:contain;position:absolute}.preview-empty{text-align:center;color:#9a9eab;padding:25px}.preview-empty svg{height:42px;width:42px;color:#6e7480}.preview-empty p{font-size:12px;margin:12px 0 7px}.preview-empty small{font-size:10px;color:#6f7786}.preview-watermark{position:absolute;bottom:10px;right:10px;font-size:9px;background:#101114ad;backdrop-filter:blur(10px);border:1px solid #ffffff15;padding:4px 7px;border-radius:4px;color:#d7d0c9}.preview-info{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:#9497a0;margin:15px 0}.preview-caption{font-size:11px;line-height:1.9;color:#878c98;margin:15px 0}.preview-actions{display:flex;gap:8px;margin-top:18px}.preview-actions>*{flex:1}.generation-message{margin-top:15px;border:1px solid #655038;border-radius:8px;padding:11px;background:#2c241b;font-size:11px;color:#ddbb90;line-height:1.8;overflow-wrap:anywhere}.generation-message:empty{display:none}
.feature-page{display:grid;grid-template-columns:1fr 1fr;gap:35px;border:1px solid var(--border);border-radius:16px;overflow:hidden;background:#1a1b1e}.feature-art{min-height:400px;position:relative;overflow:hidden;background:#242224;display:flex;align-items:center;justify-content:center}.avatar-art>img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:53% 35%}.art-label{position:absolute;bottom:18px;left:18px;background:#141414a6;backdrop-filter:blur(8px);border:1px solid #ffffff25;padding:8px 12px;border-radius:6px;color:#d6ccc3;font-size:10px}.feature-copy{padding:30px 30px 30px 0;align-self:center}.feature-copy h2{font-size:28px;font-weight:550;line-height:1.6;margin:0 0 16px}.feature-copy p{font-size:12px;line-height:2;color:#989ba6}.feature-points{padding:0;list-style:none;margin:22px 0;color:#b2b3bc;font-size:11px;line-height:2.6}.feature-points li:before{content:'✓';color:#ec945b;margin-right:10px}.notice{margin-top:24px;padding:18px 20px;background:#24201c;border:1px solid #44382b;color:#baa991;font-size:11px;line-height:1.9;border-radius:10px}.voice-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.42}.voice-card{position:relative;max-width:370px;width:85%;border:1px solid #b987604d;background:#1c1614ba;backdrop-filter:blur(16px);border-radius:18px;padding:28px 22px;text-align:center;box-shadow:0 20px 40px #0003}.voice-bars{display:flex;align-items:center;justify-content:center;gap:6px;height:130px}.voice-bars i{width:7px;border-radius:8px;height:var(--h);background:linear-gradient(#ffd9a3,#e87945 50%,#a54b34)}.voice-card strong{font-size:17px;font-weight:550}.voice-card p{font-size:10px;color:#b4a393;overflow-wrap:anywhere}.voice-card .eyebrow{color:#c4a890}
.search-row{display:flex;margin-bottom:24px}.search-input{max-width:350px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.project-card{border:1px solid var(--border);border-radius:13px;overflow:hidden;background:var(--surface)}.project-thumb{aspect-ratio:1.78;background:linear-gradient(140deg,#2e2825,#252934);display:grid;place-items:center;position:relative;overflow:hidden}.project-thumb>svg{width:38px;height:38px;color:#6f737d}.project-thumb img{position:absolute;width:100%;height:100%;object-fit:cover}.draft-tag{position:absolute;left:12px;top:12px;color:#e1d1c3;background:#171717bc;backdrop-filter:blur(10px);padding:5px 8px;font-size:10px;border-radius:5px;border:1px solid #fff2}.project-content{padding:16px}.project-content h2{font-size:14px;margin:0 0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-content p{font-size:10px;color:#9295a1;margin:0 0 15px}.project-content .button-row{justify-content:space-between}.project-content button{font-size:11px;padding:7px 12px}.delete-button{color:#d59499}.empty-state{text-align:center;padding:65px 25px;border:1px dashed #41434c;border-radius:14px;background:#1b1c20}.empty-icon{margin-bottom:20px;color:#bd8c69}.empty-icon svg{width:40px;height:40px}.empty-state h2{font-size:19px;font-weight:500;margin:0 0 12px}.empty-state p{font-size:12px;line-height:1.9;color:#8d929e;max-width:430px;margin:0 auto 24px}.model-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.model-card{border:1px solid var(--border);background:#1a1b1f;border-radius:13px;padding:25px}.model-symbol{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:#422d20;color:#efa66f;margin-bottom:23px}.model-symbol svg{width:22px;height:22px}.model-card small{font-size:10px;color:#a39281}.model-card h2{font-size:20px;font-weight:500;margin:13px 0}.model-card p{color:#949aa6;font-size:12px;line-height:2}.model-card .text-button{color:#efa66f}.about-section{margin-top:24px}.about-section h2{font-size:16px;font-weight:550;margin:0 0 20px}.about-section p{font-size:12px;line-height:1.9;color:#8e949f}.flow{display:flex;align-items:stretch;gap:10px;margin:20px 0}.flow div{flex:1;background:#212226;border:1px solid #34353b;border-radius:10px;padding:16px}.flow strong{display:block;font-size:12px;font-weight:500;margin-bottom:9px}.flow small{font-size:10px;line-height:1.7;color:#969aa4}.flow>span{display:flex;align-items:center;color:#7d6958}
dialog{border:1px solid #4c4540;border-radius:16px;padding:0;max-width:540px;width:calc(100% - 40px);background:#1b1c20;color:var(--fg);box-shadow:0 25px 100px #0008;max-height:90vh;overflow:auto}dialog::backdrop{background:#050507bc;backdrop-filter:blur(7px)}.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;padding:25px 25px 0;gap:15px}.dialog-header h2{font-size:20px;font-weight:550;margin:2px 0 9px}.dialog-header p{font-size:11px;color:#9498a2;line-height:1.8;margin:0}.dialog-body{padding:22px 25px 25px}.dialog-body p{font-size:12px;line-height:1.9;color:#b1b3bc}.dialog-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}.connection{border:1px solid #594433;background:#30251e;padding:15px;border-radius:9px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px}.connection span{font-size:10px;color:#daa478}.service-list{margin:20px 0}.service-list>div{padding:14px 0;border-bottom:1px solid #30323a;display:flex;justify-content:space-between;font-size:12px}.service-list small{color:#747c8b;font-size:10px}.option-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.option-list label{font-size:12px;color:#ccc7c2;display:flex;align-items:center;gap:10px;padding:15px;border:1px solid #414047;border-radius:8px;cursor:pointer;background:#232427}.option-list input{accent-color:#ed7e43}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:70;border-radius:10px;padding:13px 20px;background:#3c3028;border:1px solid #a16f4f;color:#ffdec3;font-size:12px;line-height:1.7;max-width:calc(100% - 40px);box-shadow:0 8px 25px #0005;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:1650px){#main{padding-left:50px;padding-right:50px}.brand-hero{min-height:410px}.hero-copy{padding:44px}.hero-copy h2{font-size:51px}.hero-copy p{font-size:14px}.hero-flow{margin-top:28px}.template-image{aspect-ratio:1.9}}
@media(max-width:1280px){.topbar{padding:0 25px}#main{padding-left:25px;padding-right:25px}.hero-copy{padding:28px}.hero-copy h2{font-size:37px}.hero-copy .button-row{gap:10px}.hero-secondary{font-size:10px}.quick-card{gap:10px;padding:15px}.quick-icon{width:36px;height:36px}.quick-card small{font-size:9px}.onboarding{grid-template-columns:repeat(4,1fr);gap:18px}.setup-label{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center}.setup-label small{margin:0}.template-grid{gap:15px}.feature-copy h2{font-size:25px}.feature-page{gap:25px}}
@media(max-width:1100px){.sidebar{transform:translateX(-101%);transition:transform .2s;width:250px}.sidebar.open{transform:translateX(0)}.sidebar-brand .icon-button{display:grid}.sidebar-brand .brand-logo{width:169px}.sidebar-brand{justify-content:space-between}.brand-description{text-align:left;padding-left:10px}.topbar{left:0;padding:0 26px}.nav-toggle{display:grid}.mobile-brand{display:flex!important;width:132px;padding:6px}.breadcrumb{display:none}.topbar-left{gap:12px}#main{margin-left:0;padding:105px 30px 30px}.sidebar-create{margin-top:0}.hero-copy h2{font-size:42px}.hero-caption{left:15px;right:15px}.onboarding{grid-template-columns:repeat(4,1fr)}.sidebar-footer{padding-top:25px}}
@media(max-width:760px){#main{padding:98px 20px 25px}.topbar{height:70px;padding:0 18px}.prototype-badge{display:none}.header-right{gap:12px}.home-date{display:none}.home-heading{margin-bottom:20px}.home-heading h1{font-size:23px}.brand-hero{min-height:330px;grid-template-columns:1fr 1fr}.hero-copy{padding:27px 22px}.hero-copy h2{font-size:34px}.hero-copy p{font-size:11px}.hero-copy .button-row{gap:6px}.hero-secondary{padding:5px 0}.hero-flow{gap:9px;margin-top:15px;font-size:8px}.hero-caption{left:10px;right:10px;padding:10px;gap:8px;bottom:18px}.hero-caption strong{font-size:10px}.hero-caption small{font-size:8px}.mini-wave{display:none}.quick-grid{gap:10px;margin:16px 0 25px}.quick-card{display:block;padding:15px 13px}.quick-icon{margin-bottom:12px;height:34px;width:34px}.quick-card strong{font-size:12px}.quick-card small{font-size:9px;line-height:1.8}.quick-card>b{display:none}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.template-caption{padding:13px}.template-caption h3{font-size:13px}.template-caption small{font-size:9px}.template-index{font-size:8px;padding:4px 5px;left:9px;top:9px}.create-pill{padding:5px 7px;font-size:9px;right:9px;bottom:9px}.onboarding{grid-template-columns:1fr 1fr;padding:20px;gap:19px}.home-footnote{display:block;text-align:center}.home-footnote span{display:block;margin-top:5px}.page-header h1{font-size:25px}.studio-layout{grid-template-columns:1fr;gap:20px}.preview-panel{position:static;order:0}.preview-stage.portrait{width:220px;max-height:390px}.preview-stage.square{width:320px;max-width:100%}.feature-page{grid-template-columns:1fr;gap:0}.feature-art{min-height:350px}.feature-copy{padding:28px}.feature-copy h2{font-size:26px}.model-grid{grid-template-columns:1fr;gap:15px}.model-symbol{float:right}.model-card{padding:23px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.flow{flex-direction:column}.flow>span{display:none}.page-header{gap:15px;align-items:flex-start}.page-header p{font-size:11px}}
@media(max-width:480px){.topbar{padding:0 14px}.topbar-left{gap:5px}.mobile-brand{width:120px}.header-right{gap:9px}.user-avatar{display:none}.upgrade{font-size:10px;padding:8px 10px}.upgrade span{margin-left:4px}#main{padding:94px 16px 25px}.eyebrow{font-size:9px}.home-heading h1{font-size:22px}.brand-hero{display:block;min-height:0}.hero-copy{padding:26px 24px 23px;background:linear-gradient(110deg,#2e2118,#221b17)}.hero-copy h2{font-size:38px;margin-top:15px}.hero-copy p{font-size:12px}.hero-copy .button-row{gap:15px}.hero-flow{margin-top:20px;font-size:9px}.hero-visual{height:235px}.hero-visual>img{object-position:50% 33%}.hero-visual:after{background:linear-gradient(180deg,#221b174d,transparent 35%),linear-gradient(0deg,#100e0d80,transparent 50%)}.hero-caption{left:16px;right:16px;bottom:14px;padding:10px 12px}.hero-caption strong{font-size:11px}.hero-caption small{font-size:9px}.mini-wave{display:flex}.quick-grid{gap:8px}.quick-card{padding:13px 10px}.quick-card strong{font-size:11px;white-space:nowrap}.quick-card small{font-size:9px}.section-heading{margin:27px 0 16px}.section-heading h2{font-size:17px}.section-heading p{font-size:10px}.text-button{font-size:10px}.template-grid{gap:11px}.template-image{aspect-ratio:1.2}.template-image img{object-position:48% 35%}.template-index{font-size:7px;letter-spacing:0;top:8px;left:7px}.template-caption{padding:12px 10px}.template-caption h3{font-size:12px;margin-bottom:6px}.template-caption small{font-size:9px;line-height:1.7}.template-arrow{display:none}.create-pill{font-size:8px;padding:5px 7px;right:7px;bottom:8px}.onboarding{padding:18px 15px;gap:18px 12px}.step-card{gap:6px;font-size:9px}.step-circle{width:24px;height:24px;font-size:8px}.surface{padding:18px}.page-header{margin-bottom:22px}.page-header h1{font-size:23px}.page-header>.primary,.page-header>.secondary{padding:9px 10px;font-size:10px}.field-label{font-size:11px;align-items:flex-start}.field-label small{font-size:9px;text-align:right}.input-row{gap:10px}.preview-panel{padding:16px}.preview-info{font-size:8px}.preview-stage.portrait{width:180px;max-height:320px}.preview-stage.square{width:260px}.studio-bottom>*{font-size:10px;padding:10px 13px}.feature-art{min-height:300px}.feature-copy{padding:24px}.feature-copy h2{font-size:24px}.voice-bars{gap:5px}.voice-bars i{width:6px}.project-grid{grid-template-columns:1fr}.search-input{max-width:none}.dialog-header{padding:20px 20px 0}.dialog-body{padding:18px 20px 20px}.dialog-header h2{font-size:18px}.connection{font-size:11px;padding:12px}.connection span{font-size:9px}.option-list{gap:10px}.option-list label{padding:12px;font-size:11px}.toast{font-size:11px;min-width:250px;text-align:center}.button-row .primary,.button-row .secondary{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

#account-dialog{width:min(460px,calc(100vw - 32px));border:1px solid #393939;border-radius:22px;background:#1b1c1f;color:#f4f2ef;padding:0}#account-dialog::backdrop{background:#000a;backdrop-filter:blur(5px)}.account-content{padding:32px;position:relative}.account-close{position:absolute;right:12px;top:12px}.account-content h2{margin:14px 0 8px}.account-content p{line-height:1.7;color:#b6b4b1}.account-content input{width:100%}.account-error{color:#ffaaa4!important;min-height:20px}.balance-panel{background:#242528;padding:22px;border-radius:14px;margin:22px 0}.balance-panel small{display:block;color:#a6a4a0}.balance-panel strong{display:block;font-size:38px;margin-top:8px;color:#ff8a43}.balance-panel em{font-size:16px;font-style:normal}.account-content .text-button{margin:16px 0 0;display:block}.account-content button:disabled{opacity:.5;cursor:not-allowed}
:root{color-scheme:dark}
.local-budget{padding:12px 16px;border:1px solid #45402c;border-radius:12px;background:#242218;color:#e8cb84;font-size:13px;line-height:1.7;margin:0 0 24px;overflow-wrap:anywhere}
.local-budget.has-error,.local-error{color:#ff9c94}
.local-results{margin-top:32px;scroll-margin-top:100px}
.local-results h2{font-size:22px;margin-bottom:12px}
.local-result{border:1px solid #35363b;background:#1b1c20;border-radius:16px;padding:22px;margin:16px 0;overflow:hidden}
.local-result-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.local-result h3{margin:0;font-size:17px;overflow-wrap:anywhere}
.status-pill{border:1px solid #59523b;border-radius:30px;font-size:12px;color:#e8cb84;padding:5px 10px;white-space:nowrap}
.status-pill.success{color:#8fdeb4;border-color:#365b46}
.local-result audio{display:block;width:100%;margin:12px 0;max-width:600px}
.local-result video{display:block;width:100%;max-height:520px;background:#0b0b0d;border-radius:12px;margin:16px 0}
.local-result .button-row{flex-wrap:wrap}
.cost-preview{padding:16px;background:#25221b;border:1px solid #4d422d;border-radius:12px;margin-top:14px}
.cost-preview p,.local-error{font-size:13px;line-height:1.8}
.cost-preview p{color:#c8bb9c}
.local-result .download-result{display:inline-flex;text-decoration:none}
#clone-file{padding:14px;width:100%;border:1px dashed #53545c;border-radius:10px}
#clone-audio{width:100%;margin-top:12px}
.script-assist{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px;margin:14px 0 10px;border:1px solid #64432f;border-radius:10px;background:linear-gradient(120deg,#30231c,#211e1c)}.script-assist strong{display:block;font-size:12px;color:#f4d8c2}.script-assist small{display:block;margin-top:6px;font-size:10px;line-height:1.7;color:#bdab9c}.script-assist button{flex:none;color:#ffc194}.script-assist button:disabled{opacity:.5}
.voice-only-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(115deg,#30231c,#1b1c20 70%)}.voice-only-intro h2{font-size:21px;font-weight:550;margin:12px 0}.voice-only-intro p{font-size:12px;line-height:1.9;color:#b1aaa3}.voice-only-action{display:flex;flex-direction:column;gap:12px;flex-shrink:0}.voice-only-action small{font-size:10px;color:#a69a91;text-align:center}.speech-form{margin-top:28px;display:flex;flex-direction:column;gap:18px}.speech-form .section-heading{margin:0 0 4px}.speech-form .section-heading h2{font-size:20px}.speech-form .section-heading p{margin:9px 0 0;line-height:1.8;color:#a69e98;font-size:12px}.speech-form textarea{font-size:14px;line-height:1.9;min-height:140px}.speech-copy{font-size:12px;line-height:1.9;color:#b9b8b5;white-space:pre-wrap;overflow-wrap:anywhere}#speech-heading{scroll-margin-top:100px}#local-voices .local-result{margin-bottom:12px}@media(max-width:700px){.voice-only-intro{align-items:stretch;flex-direction:column;gap:14px}.voice-only-action{align-items:flex-start}.speech-form .input-row{grid-template-columns:1fr}.speech-form .section-heading{align-items:flex-start}.speech-form .button-row{align-items:stretch;flex-direction:column}.speech-form .button-row button{width:100%}}
#script-writer-dialog{max-width:660px}#script-writer-dialog input,#script-writer-dialog textarea,#script-writer-dialog select{display:block;width:100%;color:#dedfe2;background:#141518;border:1px solid #36383e;border-radius:8px;padding:10px 12px;font-size:14px;line-height:1.7;margin-top:8px}#script-writer-dialog textarea{resize:vertical;min-height:80px}#script-writer-dialog input::placeholder,#script-writer-dialog textarea::placeholder{color:#757b86}#script-writer-dialog .field-label{font-size:13px}#writer-form>.field-label,#writer-source-wrap>.field-label{margin-top:17px}#writer-form>.field-label:first-child{margin-top:0}#writer-form .input-row{margin-top:17px}#writer-form .input-row>div{flex:1;min-width:0}#writer-result{margin-top:23px;padding-top:20px;border-top:1px solid #494039}#writer-status{min-height:20px;color:#e9b48a;font-size:12px;line-height:1.8}#writer-retry{margin-left:8px}#writer-output{line-height:1.9}#script-writer-dialog button:disabled{opacity:.5;cursor:wait}#writer-form .field-help{font-size:11px;margin-top:16px}
@media(max-width:480px){.script-assist{align-items:flex-start;flex-direction:column;gap:12px}.script-assist button{width:100%}#writer-retry{margin:10px 0 0}#writer-form .input-row{gap:12px}}
@media(min-width:1101px){#local-job-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}#local-job-list .local-result{margin:0}.local-results>.field-help{margin-bottom:16px}}

/* 2026-10-31 模板库与数字人库 */
.heading-actions{display:flex;align-items:center;gap:18px}
.aspect-tag{position:absolute;z-index:1;right:12px;top:12px;padding:5px 7px;border-radius:4px;background:#10101380;backdrop-filter:blur(8px);font-size:9px;letter-spacing:.5px;color:#f4e8df}
.library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:24px}
.library-toolbar .search-input{width:260px}
.chip-row{display:flex;flex-wrap:wrap;gap:8px}
.chip{padding:8px 14px;border-radius:999px;border:1px solid #33353b;background:#1a1b1f;color:#b9bbc2;font-size:12px}
.chip:hover{border-color:#6b4a3a;color:#f2f0ed}
.chip.active{background:#3a2216;border-color:#f57a43;color:#ffb48c}
.file-button{cursor:pointer}
.avatar-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:18px}
.avatar-card{position:relative;display:flex;flex-direction:column;overflow:hidden;border:1px solid #2d2e33;border-radius:12px;background:#1a1b1f;transition:border-color .18s,transform .18s}
.avatar-card:hover{border-color:#9c6042;transform:translateY(-3px)}
.avatar-photo{position:relative;display:block;aspect-ratio:3/4;overflow:hidden;background:#232327}
.avatar-photo img{width:100%;height:100%;object-fit:cover;object-position:center 30%;transition:transform .35s}
.avatar-card:hover .avatar-photo img{transform:scale(1.035)}
.avatar-photo.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border-bottom:1px dashed #41434c;color:#c9a28c;background:#1d1a19}
.avatar-photo.empty b{font-weight:550;color:#f2f0ed;font-size:13px}
.avatar-photo.empty small{font-size:10px;color:#8d929e}
.upload-card{cursor:pointer;border-style:dashed}
.avatar-meta{display:flex;flex-direction:column;gap:5px;padding:13px 14px 4px}
.avatar-meta strong{font-size:14px;font-weight:550}
.avatar-meta small{font-size:11px;color:#8d929e}
.avatar-actions{padding:10px 14px 14px}
.avatar-actions .primary{width:100%;padding:9px 12px}
.avatar-card.mine{border-color:#7a4a33}
@media(max-width:700px){.avatar-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.library-toolbar .search-input{width:100%}.heading-actions{gap:10px}}

/* 2026-11-02 视频编辑器 */
.video-editor{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start;position:relative}
.ed-stage{display:flex;flex-direction:column;gap:16px;min-width:0}
.ed-canvas-wrap{position:relative;display:flex;align-items:center;justify-content:center;background:#0b0b0d;border:1px solid #2d2e33;border-radius:14px;padding:14px;min-height:300px}
.ed-canvas-wrap canvas{display:block;width:100%;max-height:62vh;object-fit:contain;border-radius:6px;background:#000;aspect-ratio:16/9}
.ed-canvas-wrap.portrait canvas{width:auto;height:62vh;max-width:100%;aspect-ratio:9/16}
.ed-canvas-wrap.square canvas{width:auto;height:58vh;max-width:100%;aspect-ratio:1/1}
.ed-busy{position:absolute;inset:auto 0 18px;margin:auto;width:max-content;padding:8px 14px;border-radius:8px;background:#000c;color:#ffcfb3;font-size:12px}
.ed-transport{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.ed-transport #editor-time{font-variant-numeric:tabular-nums;color:#a6a8b0;font-size:12px}
.ed-transport .ed-export{margin-left:auto}
.ed-timeline{border:1px solid #2d2e33;border-radius:12px;background:#17181b;padding:14px}
.ed-timeline h3{font-size:13px;font-weight:550;margin:0 0 12px}
.ed-timeline h3 small{font-weight:400;color:#7e818a;margin-left:6px;font-size:11px}
.ed-empty{padding:18px;border:1px dashed #3a3c43;border-radius:10px;color:#8d929e;font-size:12px;text-align:center}
.ed-scene{display:flex;align-items:center;gap:8px;border:1px solid #2a2b30;border-radius:10px;background:#1c1d21;margin-bottom:8px;padding-right:8px}
.ed-scene.selected{border-color:#f57a43}
.ed-scene.playing{box-shadow:0 0 0 2px #ff6b3255}
.ed-scene-main{display:flex;align-items:center;gap:10px;flex:1;min-width:0;padding:8px;text-align:left}
.ed-scene-main img,.ed-noimg{width:64px;height:40px;object-fit:cover;border-radius:6px;background:#2a2b30;display:flex;align-items:center;justify-content:center;flex:none}
.ed-scene-main b{display:block;font-size:12px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ed-scene-main small{font-size:10px;color:#8d929e}
.ed-num{width:20px;height:20px;border-radius:50%;background:#2c2d33;font-size:10px;display:flex;align-items:center;justify-content:center;flex:none}
.ed-scene-tools{display:flex;gap:4px}
.ed-scene-tools button{width:26px;height:26px;border-radius:6px;border:1px solid #33353b;font-size:12px;color:#c4c6cc}
.ed-scene-tools button:hover:not(:disabled){border-color:#9c6042;color:#fff}
.ed-library{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px;margin-bottom:12px}
.ed-clip{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid #2a2b30;border-radius:10px;background:#1c1d21;text-align:left}
.ed-clip:hover{border-color:#9c6042}
.ed-clip img{width:56px;height:36px;object-fit:cover;border-radius:6px;flex:none}
.ed-clip span{flex:1;min-width:0}
.ed-clip b{display:block;font-size:12px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ed-clip small{font-size:10px;color:#8d929e}
.ed-clip i{font-style:normal;color:#ff8d52;font-size:18px}
.ed-file{cursor:pointer}
.ed-panel{position:sticky;top:20px;display:flex;flex-direction:column;gap:12px;max-height:calc(100vh - 40px);overflow:auto;padding-right:2px}
.ed-group{border:1px solid #2d2e33;border-radius:12px;background:#17181b;padding:14px;display:flex;flex-direction:column;gap:10px}
.ed-group h3{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:550;margin:0}
.ed-group input:not([type]),.ed-group textarea{width:100%;box-sizing:border-box;background:#111214;border:1px solid #33353b;border-radius:8px;color:#f2f0ed;padding:9px 11px;font-size:12px;resize:vertical}
.ed-seg{display:flex;flex-wrap:wrap;gap:6px}
.ed-seg button{flex:1;min-width:max-content;padding:7px 9px;border-radius:7px;border:1px solid #33353b;background:#1c1d21;font-size:11px;color:#b9bbc2}
.ed-seg button.active{background:#3a2216;border-color:#f57a43;color:#ffb48c}
.ed-swatches{display:flex;flex-wrap:wrap;gap:8px}
.ed-swatches>*{width:34px;height:34px;border-radius:8px;border:2px solid transparent;box-shadow:inset 0 0 0 1px #ffffff22;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#c9a28c;background:#1c1d21}
.ed-swatches>.active{border-color:#f57a43}
.ed-check{display:flex;gap:8px;align-items:flex-start;font-size:12px;color:#d6d7db;line-height:1.5}
.ed-switch{position:relative;display:inline-block;width:34px;height:20px}
.ed-switch input{opacity:0;width:0;height:0}
.ed-switch span{position:absolute;inset:0;border-radius:20px;background:#33353b;transition:background .2s}
.ed-switch span:before{content:"";position:absolute;left:3px;top:3px;width:14px;height:14px;border-radius:50%;background:#fff;transition:transform .2s}
.ed-switch input:checked+span{background:#ed632d}
.ed-switch input:checked+span:before{transform:translateX(14px)}
.ed-export-overlay{position:fixed;inset:0;z-index:50;background:#000b;display:flex;align-items:center;justify-content:center}
.ed-export-overlay[hidden]{display:none}
.ed-export-overlay>div{width:min(420px,90vw);background:#1a1b1f;border:1px solid #3a3c43;border-radius:14px;padding:24px;text-align:center}
.ed-export-overlay h3{margin:0 0 8px;font-size:16px}
.ed-export-overlay p{font-size:12px;color:#a6a8b0}
.ed-bar{height:8px;border-radius:8px;background:#2a2b30;overflow:hidden;margin:14px 0 6px}
.ed-bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,#ed632d,#ffb48c);transition:width .2s}
@media(max-width:1100px){.video-editor{grid-template-columns:1fr}.ed-panel{position:static;max-height:none}}
@media(max-width:700px){.ed-canvas-wrap{padding:8px;min-height:0}.ed-canvas-wrap.portrait canvas{height:auto;width:100%}.ed-canvas-wrap.square canvas{height:auto;width:100%}.ed-transport .ed-export{margin-left:0}}

.icp-link{display:block;margin-top:6px;font-size:10px;color:#6f727b;text-decoration:none}
.icp-link:hover{color:#ff8d52}
.icp-row{justify-content:center}
