.novel-library-page,.novel-detail-page{--novel-ink: #21163f;--novel-muted: #756c8e;--novel-border: #ddd5f1;--novel-panel: rgba(255, 255, 255, .92);--novel-purple: #7257e8;--novel-purple-dark: #4b34b8;min-height:100vh;padding:26px;color:var(--novel-ink);background:radial-gradient(circle at 8% 0%,rgba(125,93,255,.14),transparent 28%),radial-gradient(circle at 95% 12%,rgba(78,190,255,.12),transparent 25%),linear-gradient(180deg,#fbfaff,#f3f0fa)}.novel-library-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:30px;min-height:260px;padding:42px 48px;overflow:hidden;border:1px solid #d5c9f0;border-radius:30px;background:linear-gradient(112deg,#fffffff7,#f4effff0),linear-gradient(120deg,#fff,#ede6ff);box-shadow:0 24px 60px #452d7f1f}.novel-library-hero:after{content:"";position:absolute;right:-100px;bottom:-170px;width:520px;height:520px;border:1px solid rgba(116,82,223,.2);border-radius:50%;box-shadow:0 0 0 48px #7452df09,0 0 0 100px #4fbeff06}.novel-hero-copy{position:relative;z-index:2;max-width:860px}.novel-eyebrow{display:inline-flex;align-items:center;gap:8px;color:#6c4fe0;font-size:13px;font-weight:800;letter-spacing:.08em}.novel-hero-copy h1{margin:14px 0 12px;color:#241840;font-size:clamp(40px,4vw,64px);line-height:1;letter-spacing:-.04em}.novel-hero-copy>p{max-width:760px;margin:0;color:#665d7d;font-size:17px;line-height:1.8}.novel-hero-stats{display:flex;gap:12px;margin-top:26px;flex-wrap:wrap}.novel-hero-stats span{display:inline-flex;align-items:baseline;gap:7px;padding:10px 16px;border:1px solid #dfd6f3;border-radius:999px;color:#6e6585;background:#ffffffbf}.novel-hero-stats strong{color:#4e35ba;font-size:17px}.novel-hero-mark{position:relative;z-index:2;display:grid;align-content:center;justify-items:center;gap:18px;color:#795ce8}.novel-hero-mark:before{content:"";position:absolute;width:164px;height:164px;border:1px solid rgba(118,82,224,.26);border-radius:50%;box-shadow:inset 0 0 38px #7454db1f,0 0 45px #50c5ff1f}.novel-hero-mark svg,.novel-hero-mark span{position:relative;z-index:1}.novel-hero-mark span{margin-top:46px;font-size:11px;font-weight:900;line-height:1.5;letter-spacing:.18em;text-align:center}.novel-library-toolbar{display:grid;grid-template-columns:260px minmax(0,1fr) auto;align-items:center;gap:16px;margin:22px 0;padding:14px;border:1px solid var(--novel-border);border-radius:20px;background:#ffffffe0;box-shadow:0 12px 32px #462f7a12}.novel-search{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 14px;border:1px solid #d8cfed;border-radius:14px;color:#776c94;background:#faf9ff}.novel-search input{width:100%;border:0;outline:0;color:#2a1d4a;background:transparent;font:inherit}.novel-filter-strip{display:flex;gap:8px;min-width:0;overflow-x:auto;scrollbar-width:none}.novel-filter-strip::-webkit-scrollbar{display:none}.novel-filter-strip button{flex:0 0 auto;min-height:38px;padding:0 15px;border:1px solid #ded6ef;border-radius:999px;color:#665b80;background:#fff;cursor:pointer}.novel-filter-strip button.active{border-color:#7559e8;color:#fff;background:linear-gradient(135deg,#5f77e8,#9258ef);box-shadow:0 8px 18px #6f52dc40}.novel-result-count{padding-right:8px;color:#807694;font-size:13px;white-space:nowrap}.novel-card-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}.novel-card{min-width:0;overflow:hidden;border:1px solid #d8d0e8;border-radius:22px;background:#fff;box-shadow:0 12px 34px #3823671a;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.novel-card:hover{transform:translateY(-6px);border-color:color-mix(in srgb,var(--novel-accent) 58%,#cabfe4);box-shadow:0 22px 45px #3a23702e}.novel-card.selected{border-color:var(--novel-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--novel-accent) 20%,transparent),0 18px 40px #4731862b}.novel-card-open{display:block;width:100%;padding:0;border:0;color:inherit;text-align:left;background:transparent;cursor:pointer}.novel-cover-frame{position:relative;aspect-ratio:2 / 3;overflow:hidden;background:#161027}.novel-cover-frame:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid rgba(255,255,255,.1);pointer-events:none}.novel-cover-frame img{width:100%;height:100%;object-fit:cover;transition:transform .28s ease}.novel-card:hover .novel-cover-frame img{transform:scale(1.025)}.novel-selected-badge{position:absolute;top:12px;right:12px;display:inline-flex;align-items:center;gap:5px;padding:7px 10px;border-radius:999px;color:#fff;background:#27194bd6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-size:12px;font-weight:800}.novel-card-body{padding:17px 17px 16px}.novel-card-number{color:color-mix(in srgb,var(--novel-tone) 72%,#4f3f79);font-size:10px;font-weight:900;letter-spacing:.16em}.novel-card-title-row{display:flex;align-items:center;gap:8px;min-width:0}.novel-short-badge{flex:0 0 auto;padding:4px 8px;border:1px solid color-mix(in srgb,var(--novel-accent) 42%,#d8c9ff);border-radius:999px;color:#fff;background:linear-gradient(135deg,#6d7cff,#a84dff);box-shadow:0 5px 14px #704dd833;font-size:10px;font-weight:900;line-height:1;white-space:nowrap}.novel-card h2{min-width:0;margin:8px 0 4px;color:#241840;font-size:21px}.novel-card-genre{min-height:38px;margin:0;color:#746a8a;font-size:12px;line-height:1.55}.novel-card-tagline{display:-webkit-box;min-height:62px;margin:12px 0;overflow:hidden;color:#514866;font-size:13px;line-height:1.65;-webkit-box-orient:vertical;-webkit-line-clamp:3}.novel-card-tags,.novel-highlight-list{display:flex;gap:6px;flex-wrap:wrap}.novel-card-tags span,.novel-highlight-list b{padding:5px 8px;border:1px solid color-mix(in srgb,var(--novel-accent) 30%,#dcd5ea);border-radius:999px;color:#655681;background:color-mix(in srgb,var(--novel-accent) 7%,#fff);font-size:10px;font-weight:700}.novel-card-footer{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:8px;margin-top:14px;padding-top:13px;border-top:1px solid #ece8f3;color:#81778f;font-size:11px}.novel-card-footer b{display:inline-flex;align-items:center;justify-content:flex-end;color:#6044cd;font-size:12px}.novel-library-state{display:grid;justify-items:center;gap:10px;min-height:300px;align-content:center;color:#776d8d}.novel-library-state.error{color:#b34262}.novel-detail-page{padding-top:18px}.novel-detail-topbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;margin-bottom:18px;padding:12px 16px;border:1px solid #ddd5ef;border-radius:18px;background:#ffffffeb}.novel-detail-topbar button{display:inline-flex;align-items:center;gap:8px;width:max-content;padding:9px 13px;border:1px solid #d8cfeb;border-radius:12px;color:#53446f;background:#fff;cursor:pointer}.novel-detail-topbar>div{display:grid;justify-items:center}.novel-detail-topbar>div span{color:#8a7ea0;font-size:10px;font-weight:800;letter-spacing:.12em}.novel-detail-topbar>div strong{color:#2b1e49}.novel-detail-position{justify-self:end;color:#776c8e;font-size:13px}.novel-detail-hero{display:grid;grid-template-columns:minmax(260px,350px) minmax(0,1fr);gap:44px;padding:34px;border:1px solid #d9d0ed;border-radius:30px;background:radial-gradient(circle at 72% 12%,color-mix(in srgb,var(--novel-accent) 18%,transparent),transparent 36%),#fffffff0;box-shadow:0 20px 55px #4027741f}.novel-detail-cover{overflow:hidden;aspect-ratio:2 / 3;border-radius:22px;box-shadow:0 24px 55px #1b113647}.novel-detail-cover img{width:100%;height:100%;object-fit:cover}.novel-detail-summary{align-self:center;max-width:900px}.novel-detail-summary h1{margin:16px 0 8px;color:#251841;font-size:clamp(38px,4vw,64px);line-height:1.05}.novel-detail-genre{margin:0;color:color-mix(in srgb,var(--novel-tone) 75%,#574276);font-size:15px;font-weight:800}.novel-detail-tagline{margin:22px 0 14px;color:#3e3159;font-size:22px;font-weight:700;line-height:1.55}.novel-detail-premise{max-width:850px;color:#6c627d;font-size:15px;line-height:1.9}.novel-detail-metrics{display:flex;gap:12px;margin:24px 0;flex-wrap:wrap}.novel-detail-metrics span{display:grid;min-width:120px;gap:4px;padding:14px 18px;border:1px solid #ded6ee;border-radius:16px;background:#faf9ff}.novel-detail-metrics strong{color:#4f38ba;font-size:18px}.novel-detail-metrics small{color:#857b98}.novel-detail-actions{display:flex;gap:12px;flex-wrap:wrap}.novel-detail-actions button,.novel-detail-actions a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 20px;border:1px solid #d8d0ea;border-radius:14px;color:#55476f;text-decoration:none;background:#fff;cursor:pointer}.novel-detail-actions .novel-select-button{border-color:#6e52e4;color:#fff;background:linear-gradient(135deg,#557fe9,#9758ef);box-shadow:0 12px 24px #694dd43d}.novel-detail-actions .novel-select-button.selected{border-color:#47a17d;background:linear-gradient(135deg,#3a9675,#5aaf89)}.novel-detail-facts{display:grid;grid-template-columns:1.1fr 1fr .9fr;gap:16px;margin:18px 0}.novel-detail-facts article{min-width:0;padding:20px;border:1px solid #ded6ee;border-radius:20px;background:#ffffffeb}.novel-detail-facts article>span{display:flex;align-items:center;gap:8px;color:#5d49b4;font-size:12px;font-weight:800}.novel-detail-facts article>strong{display:block;margin:14px 0 6px;color:#2b2041}.novel-detail-facts article>p{margin:0;color:#756b87;font-size:13px;line-height:1.7}.novel-character-chips{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}.novel-character-chips b{display:grid;gap:2px;min-width:78px;padding:9px 11px;border:1px solid #e1daef;border-radius:12px;color:#3d3155;background:#faf9ff;font-size:12px}.novel-character-chips small{color:#948aa4;font-weight:500}.novel-highlight-list{margin-top:14px}.novel-reader-shell{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:720px;overflow:hidden;border:1px solid #d9d0eb;border-radius:24px;background:#fff;box-shadow:0 20px 50px #3e2a6a1a}.novel-chapter-sidebar{min-width:0;border-right:1px solid #dfd7ed;background:#f7f5fc}.novel-chapter-sidebar>header{display:grid;gap:4px;padding:22px 20px 16px;border-bottom:1px solid #e0d9ec}.novel-chapter-sidebar>header span{color:#7257dc;font-size:10px;font-weight:900;letter-spacing:.14em}.novel-chapter-sidebar>header strong{color:#2e2246;font-size:18px}.novel-chapter-sidebar>header small{color:#887e98}.novel-chapter-list{max-height:760px;padding:10px;overflow-y:auto}.novel-chapter-list button{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:48px;padding:6px 9px;border:0;border-radius:11px;color:#6c627e;text-align:left;background:transparent;cursor:pointer}.novel-chapter-list button:hover{background:#ede8f8}.novel-chapter-list button.active{color:#fff;background:linear-gradient(135deg,#5c76e5,#8656df);box-shadow:0 8px 18px #644bc540}.novel-chapter-list button>span{display:grid;width:30px;height:30px;place-items:center;border-radius:9px;background:#7058c91a;font-size:11px;font-weight:900}.novel-chapter-list button.active>span{background:#ffffff26}.novel-chapter-list b{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.novel-reader{min-width:0;background:linear-gradient(#fffffff5,#fffffff5),repeating-linear-gradient(0deg,transparent,transparent 28px,rgba(112,89,174,.045) 29px)}.novel-reader-loading{display:grid;min-height:620px;align-content:center;justify-items:center;gap:12px;color:#7d7191}.novel-reader-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:35px 8% 24px;border-bottom:1px solid #e6e0ef}.novel-reader-heading-copy{flex:1;min-width:0}.novel-reader-heading-copy>span{color:#7255d2;font-size:11px;font-weight:900;letter-spacing:.16em}.novel-reader-header h2{margin:10px 0 14px;color:#2b1e42;font-family:STKaiti,KaiTi,serif;font-size:30px}.novel-reader-heading-copy>div{display:flex;gap:16px;color:#8a8098;font-size:12px}.novel-copy-chapter{display:inline-flex;min-width:126px;min-height:44px;align-items:center;justify-content:center;gap:8px;border:1px solid #cfc1ee;border-radius:13px;color:#6541bd;background:linear-gradient(135deg,#fff,#f3edff);box-shadow:0 8px 22px #6341b51f;font-size:14px;font-weight:800;cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.novel-copy-chapter:hover{transform:translateY(-1px);border-color:#8e68ec;box-shadow:0 10px 28px #6341b533}.novel-copy-chapter.copied{border-color:#59b99a;color:#15725a;background:#eafaf4}.novel-reader-content{max-width:920px;min-height:560px;margin:0 auto;padding:36px 8%;color:#3b3345;font-family:STSong,SimSun,serif;font-size:17px;line-height:1.9}.novel-reader-content p{margin:0 0 .85em;text-align:justify;text-justify:inter-ideograph;text-indent:2em;overflow-wrap:anywhere}.novel-reader-content p:last-child{margin-bottom:0}.novel-reader-navigation{display:grid;grid-template-columns:120px 1fr 120px;align-items:center;gap:16px;padding:20px 8%;border-top:1px solid #e6e0ef}.novel-reader-navigation button{min-height:42px;border:1px solid #dcd4e9;border-radius:12px;color:#5d4d78;background:#fff;cursor:pointer}.novel-reader-navigation button:disabled{opacity:.4;cursor:not-allowed}.novel-reader-navigation span{color:#897f96;text-align:center}@media (max-width: 1500px){.novel-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width: 1180px){.novel-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.novel-library-toolbar{grid-template-columns:1fr}.novel-result-count{display:none}.novel-detail-facts{grid-template-columns:1fr 1fr}.novel-detail-facts article:last-child{grid-column:1 / -1}}@media (max-width: 860px){.novel-library-page,.novel-detail-page{padding:14px}.novel-library-hero{grid-template-columns:1fr;padding:30px}.novel-hero-mark{display:none}.novel-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.novel-detail-topbar{grid-template-columns:1fr auto}.novel-detail-topbar>div{display:none}.novel-detail-hero{grid-template-columns:1fr;padding:20px}.novel-detail-cover{width:min(100%,340px);margin:0 auto}.novel-detail-facts,.novel-reader-shell{grid-template-columns:1fr}.novel-detail-facts article:last-child{grid-column:auto}.novel-chapter-sidebar{border-right:0;border-bottom:1px solid #dfd7ed}.novel-chapter-list{display:flex;max-height:none;overflow-x:auto}.novel-chapter-list button{flex:0 0 180px}}@media (max-width: 560px){.novel-reader-header{flex-direction:column}.novel-copy-chapter{width:100%}.novel-card-grid{grid-template-columns:1fr}.novel-library-hero{padding:24px}}.personal-script-library{--history-bg: #0b0c0e;--history-surface: #141619;--history-raised: #1b1e22;--history-hover: #22262b;--history-line: #30343a;--history-line-strong: #444a53;--history-text: #f5f6f7;--history-muted: #9ba1aa;--history-soft: #c8ccd2;--history-accent: #8b6ee8;--history-accent-soft: rgba(139, 110, 232, .14);min-height:100vh;padding:clamp(24px,3vw,48px);color:var(--history-text);background:var(--history-bg);font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif}.personal-script-library *,.personal-script-library *:before,.personal-script-library *:after{box-sizing:border-box}.personal-script-library button,.personal-script-library input{font:inherit}.history-workspace-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:32px;align-items:end;max-width:1500px;margin:0 auto 34px;padding-bottom:30px;border-bottom:1px solid var(--history-line)}.history-workspace-title>span{display:inline-flex;gap:8px;align-items:center;color:#ad9cf0;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.history-workspace-title h1{margin:10px 0 8px;font-size:clamp(34px,4vw,54px);line-height:1.05;letter-spacing:-.045em}.history-workspace-title>p{margin:0;color:var(--history-muted);font-size:15px}.history-workspace-stats{display:flex;gap:24px;margin:22px 0 0}.history-workspace-stats div{display:flex;gap:8px;align-items:baseline}.history-workspace-stats dt{color:var(--history-muted);font-size:12px}.history-workspace-stats dd{margin:0;font-size:18px;font-weight:750}.history-workspace-actions{display:flex;gap:10px;align-items:center}.personal-script-search{display:flex;width:min(320px,32vw);height:44px;gap:10px;align-items:center;padding:0 14px;color:var(--history-muted);background:var(--history-surface);border:1px solid var(--history-line);border-radius:10px}.personal-script-search:focus-within{border-color:var(--history-accent)}.personal-script-search input{width:100%;color:var(--history-text);background:transparent;border:0;outline:0}.personal-script-search input::placeholder{color:#727881}.personal-script-create,.personal-edit-script,.personal-continue-project{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 18px;color:#fff;font-weight:700;background:var(--history-accent);border:0;border-radius:10px;cursor:pointer}.personal-script-create:hover,.personal-continue-project:hover{background:#9a80ed}.personal-history-projects,.personal-script-toolbar,.personal-text-layout,.personal-video-grid{max-width:1500px;margin-inline:auto}.personal-history-projects>header{display:flex;align-items:end;justify-content:space-between;margin-bottom:14px}.personal-history-projects>header div{display:grid;gap:4px}.personal-history-projects>header strong{font-size:18px}.personal-history-projects>header span{color:var(--history-muted);font-size:12px}.personal-history-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.personal-history-project-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;min-width:0;padding:10px;background:var(--history-surface);border:1px solid var(--history-line);border-radius:18px;overflow:hidden;transition:border-color .16s ease,background-color .16s ease}.personal-history-project-card:hover{background:#17191d;border-color:var(--history-line-strong)}.personal-history-project-card.selected{border-color:var(--history-accent);box-shadow:inset 3px 0 0 var(--history-accent)}.personal-history-project-main{display:grid;grid-template-columns:48px minmax(0,1fr) 18px;gap:12px;align-items:center;min-width:0;padding:7px 8px;color:inherit;text-align:left;background:transparent;border:0;border-radius:12px;cursor:pointer}.personal-project-art{display:grid;width:48px;height:48px;place-items:center;color:#b8a8f5;background:var(--history-accent-soft);border-radius:13px}.personal-project-card-copy{display:grid;min-width:0;gap:3px}.personal-project-card-copy small{color:#ad9cf0;font-size:11px;font-weight:700}.personal-project-card-copy strong{overflow:hidden;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.personal-project-card-copy i{display:flex;gap:5px;align-items:center;overflow:hidden;color:var(--history-muted);font-size:11px;font-style:normal;white-space:nowrap}.personal-history-project-actions{display:flex;gap:6px;align-items:center}.personal-history-project-actions button,.personal-text-item-actions button{display:inline-flex;min-width:34px;height:34px;align-items:center;justify-content:center;gap:7px;padding:0 9px;color:var(--history-soft);background:var(--history-raised);border:1px solid var(--history-line);border-radius:11px;cursor:pointer}.personal-history-project-actions .continue{padding-inline:12px;color:#fff;background:#262a30}.personal-history-project-actions button:hover,.personal-text-item-actions button:hover{border-color:#626975}.personal-history-project-actions .danger:hover,.personal-text-item-actions .danger:hover{color:#ff8b91;border-color:#ff5e6673}.personal-script-toolbar{display:flex;align-items:center;justify-content:space-between;margin-top:32px;padding:8px 12px;background:var(--history-surface);border:1px solid var(--history-line);border-radius:16px}.personal-script-tabs{display:flex;gap:6px}.personal-script-tabs button{display:inline-flex;gap:8px;align-items:center;padding:9px 12px;color:var(--history-muted);font-weight:700;background:transparent;border:0;border:1px solid transparent;border-radius:10px;cursor:pointer}.personal-script-tabs button.active{color:var(--history-text);background:var(--history-raised);border-color:var(--history-line-strong)}.personal-script-tabs button span{min-width:22px;padding:2px 6px;color:var(--history-soft);font-size:11px;background:var(--history-raised);border-radius:10px}.history-assets-hint{color:var(--history-muted);font-size:12px}.personal-text-layout{display:grid;grid-template-columns:minmax(280px,380px) minmax(0,1fr);gap:16px;margin-top:16px}.personal-text-list,.personal-text-preview{min-width:0;background:var(--history-surface);border:1px solid var(--history-line);border-radius:18px}.personal-text-list{display:grid;align-content:start;gap:8px;max-height:650px;overflow:auto;padding:10px}.personal-text-list-item{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;overflow:hidden;background:#1b1e22;border:1px solid transparent;border-radius:13px}.personal-text-list-item.selected{background:var(--history-accent-soft);border-color:#8b6fdb8f}.personal-text-list-main{display:grid;grid-template-columns:36px minmax(0,1fr) 16px;gap:10px;align-items:center;min-width:0;padding:13px 10px;color:inherit;text-align:left;background:transparent!important;border:0;border-radius:12px;cursor:pointer}.personal-text-list-main>span{display:grid;width:36px;height:36px;place-items:center;color:#b8a8f5;background:#25222f;border-radius:11px}.personal-text-list-main div{display:grid;min-width:0;gap:2px}.personal-text-list-main small{color:#ad9cf0;font-size:10px}.personal-text-list-main strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.personal-text-list-main em{color:var(--history-muted);font-size:10px;font-style:normal}.personal-text-item-actions{display:flex;gap:4px;padding-right:8px;opacity:0;transition:opacity .15s ease}.personal-text-list-item:hover .personal-text-item-actions,.personal-text-list-item:focus-within .personal-text-item-actions{opacity:1}.personal-text-item-actions button{width:30px;min-width:30px;height:30px;padding:0}.personal-text-preview{display:flex;min-height:520px;flex-direction:column;padding:24px;overflow:hidden}.personal-text-preview>header{display:flex;gap:20px;align-items:start;justify-content:space-between;padding-bottom:18px;border-bottom:1px solid var(--history-line)}.personal-text-preview>header small{color:#ad9cf0;font-weight:700}.personal-text-preview h2{margin:4px 0 0;font-size:22px}.personal-text-preview>header button{display:inline-flex;gap:7px;align-items:center;height:36px;padding:0 12px;color:var(--history-soft);background:var(--history-raised);border:1px solid var(--history-line);border-radius:11px;cursor:pointer}.personal-text-content{flex:1;padding:24px 4px;color:#e2e4e7;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.personal-text-preview-actions{display:flex;gap:10px;padding-top:18px;border-top:1px solid var(--history-line)}.personal-edit-script{color:var(--history-text);background:var(--history-raised);border:1px solid var(--history-line)}.personal-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:16px}.personal-video-card{min-width:0;padding:10px 10px 16px;background:var(--history-surface);border:1px solid var(--history-line);border-radius:14px}.personal-video-player{position:relative;overflow:hidden;aspect-ratio:16/9;background:#08090a;border-radius:10px}.personal-video-player video{width:100%;height:100%;object-fit:cover}.personal-video-player span{position:absolute;right:8px;bottom:8px;padding:3px 7px;color:#fff;font-size:10px;background:#000000b8;border-radius:6px}.personal-video-card>small{display:block;margin:14px 6px 3px;color:#ad9cf0}.personal-video-card h3{margin:0 6px;font-size:16px}.personal-video-card p{min-height:38px;margin:8px 6px 12px;color:var(--history-muted);font-size:12px;line-height:1.55}.personal-video-card a{display:inline-flex;gap:6px;align-items:center;margin:0 6px;color:#c0b3f4;font-size:12px;text-decoration:none}.personal-asset-empty{display:grid;min-height:180px;place-items:center;align-content:center;gap:8px;padding:28px;color:var(--history-muted);text-align:center;border:1px dashed var(--history-line);border-radius:12px}.personal-history-project-grid>.personal-asset-empty{grid-column:1 / -1}.personal-asset-empty>span{display:grid;width:50px;height:50px;place-items:center;color:#a995ef;background:var(--history-accent-soft);border-radius:50%}.personal-asset-empty strong{color:var(--history-text)}.personal-asset-empty p{max-width:360px;margin:0;font-size:12px;line-height:1.6}@media (max-width: 1050px){.history-workspace-head{grid-template-columns:1fr;align-items:start}.history-workspace-actions,.personal-script-search{width:100%}.personal-history-project-grid{grid-template-columns:1fr}.personal-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 760px){.personal-script-library{padding:20px 14px 40px}.history-workspace-actions{align-items:stretch;flex-direction:column}.history-workspace-stats{gap:16px}.personal-history-project-card{grid-template-columns:1fr}.personal-history-project-actions{justify-content:flex-end}.personal-text-layout{grid-template-columns:1fr}.personal-text-list{max-height:360px}.personal-video-grid{grid-template-columns:1fr}.history-assets-hint{display:none}.personal-text-preview{min-height:420px;padding:18px}.personal-text-preview-actions{align-items:stretch;flex-direction:column}}@media (prefers-reduced-motion: reduce){.personal-script-library *{scroll-behavior:auto!important;transition:none!important}}@media (min-width: 901px){.personal-script-library{width:100%;max-width:none;padding:24px 20px 48px}.history-workspace-head,.personal-history-projects,.personal-script-toolbar,.personal-text-layout,.personal-video-grid{width:100%;max-width:none;margin-right:0;margin-left:0}}.history-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:180;display:grid;place-items:center;padding:20px;background:#000000b8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.history-dialog{width:min(430px,100%);display:grid;grid-template-columns:auto 1fr;gap:14px;padding:24px;color:#f7f8f6;background:#17191c;border:1px solid #3a3e43;border-radius:20px;box-shadow:0 24px 80px #0000008c}.history-dialog-icon{grid-row:1;display:grid;place-items:center;width:44px;height:44px;color:#c9f45b;background:#252a23;border:1px solid #48523a;border-radius:14px}.history-dialog-icon.danger{color:#ff8e8e;background:#2a2021;border-color:#5e3639}.history-dialog small{color:#8f969d;font-size:12px}.history-dialog h2{margin:3px 0 0;font-size:20px;line-height:1.25}.history-dialog input,.history-dialog p,.history-dialog footer{grid-column:1 / -1}.history-dialog input{width:100%;min-height:46px;padding:0 14px;color:#fff;background:#23262a;border:1px solid #4a4f55;border-radius:12px;outline:none}.history-dialog input:focus{border-color:#c9f45b;box-shadow:0 0 0 3px #c9f45b21}.history-dialog p{margin:2px 0 4px;color:#c6c9cc;line-height:1.7}.history-dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:4px}.history-dialog footer button{min-height:40px;padding:0 18px;color:#e7e9e6;background:#292c30;border:1px solid #45494e;border-radius:12px;cursor:pointer}.history-dialog footer button.primary{color:#11150d;background:#c9f45b;border-color:#c9f45b;font-weight:700}.history-dialog footer button.danger{color:#fff;background:#c9434c;border-color:#d4555d}.history-dialog footer button:disabled{opacity:.45;cursor:not-allowed}.personal-history-projects{display:block;margin-top:18px;padding:18px;background:var(--history-surface);border:1px solid var(--history-line);border-radius:20px}.personal-project-gallery-head{display:flex;gap:18px;align-items:center;justify-content:space-between;margin-bottom:16px;padding:0 2px 14px;border-bottom:1px solid var(--history-line)}.personal-project-gallery-head>div{display:grid;gap:4px}.personal-project-gallery-head strong{color:#f4f5f7;font-size:18px}.personal-project-gallery-head span{color:var(--history-muted);font-size:12px}.personal-project-gallery-head>span:last-child{padding:6px 10px;background:#24272c;border:1px solid #3a3e45;border-radius:999px}.personal-history-project-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;min-width:0;padding:0;overflow:visible}.personal-history-project-card{display:flex;width:auto;width:100%;min-width:0;min-height:0;flex-direction:column;gap:0;padding:0;background:#17191d;border:1px solid #30343b;border-radius:14px;overflow:hidden;box-shadow:0 10px 24px #00000029;transition:transform .2s ease,border-color .2s ease,background-color .2s ease,box-shadow .2s ease}.personal-history-project-card:hover{background:#1c1f23;border-color:#555b65;box-shadow:0 18px 44px #00000047;transform:translateY(-3px)}.personal-history-project-card.selected{border-color:#9a80ed;box-shadow:0 0 0 1px #9a80ed40}.personal-history-project-main{display:block;width:100%;padding:0;color:inherit;text-align:left;background:transparent;border:0;cursor:pointer}.personal-project-cover{position:relative;display:grid;width:100%;aspect-ratio:16 / 9;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:2px;overflow:hidden;background:#101216}.personal-project-cover.media-count-1{display:block}.personal-project-cover.media-count-2{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:1fr}.personal-project-cover.media-count-3{grid-template-columns:1.35fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr))}.personal-project-cover.media-count-3 .personal-project-preview-tile:first-child{grid-row:1 / 3}.personal-project-preview-tile{position:relative;display:block;min-width:0;min-height:0;overflow:hidden;background:#22252a}.personal-project-preview-tile>img,.personal-project-preview-tile>video{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.personal-history-project-card:hover .personal-project-preview-tile>img,.personal-history-project-card:hover .personal-project-preview-tile>video{transform:scale(1.025)}.personal-project-preview-play{position:absolute;right:6px;bottom:6px;display:grid;width:22px;height:22px;place-items:center;color:#fff;background:#08090cb8;border:1px solid rgba(255,255,255,.22);border-radius:50%;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.personal-project-cover-empty{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-content:center;place-items:center;gap:9px;color:#c7bafd;background:radial-gradient(circle at 72% 18%,rgba(137,108,232,.3),transparent 34%),radial-gradient(circle at 25% 86%,rgba(90,111,210,.16),transparent 38%),linear-gradient(145deg,#252931,#121418 72%)}.personal-project-cover-mark{display:grid;width:40px;height:40px;place-items:center;color:#dfd6ff;background:#ffffff12;border:1px solid rgba(255,255,255,.12);border-radius:18px;box-shadow:0 12px 30px #0003}.personal-project-cover-empty b{display:grid;width:32px;height:32px;place-items:center;color:#e6e0ff;font-size:15px;background:#ffffff0f;border:1px solid rgba(255,255,255,.1);border-radius:50%}.personal-project-cover-empty small{color:#9299a3;font-size:10px;letter-spacing:.08em}.personal-project-card-copy{display:grid;gap:5px;padding:10px 12px 8px}.personal-project-card-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;min-width:0}.personal-project-card-copy strong{overflow:hidden;color:#f5f6f7;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.personal-project-card-heading em{flex:none;color:#b9a5ff;font-size:11px;font-style:normal;font-weight:700;letter-spacing:.04em}.personal-project-card-copy i{display:flex;gap:8px;align-items:center;color:#9299a3;font-size:11px;font-style:normal}.personal-project-card-copy i span{display:inline-flex;gap:5px;align-items:center}.personal-history-project-actions{display:flex;gap:5px;align-items:center;padding:8px 10px 10px;border-top:1px solid rgba(255,255,255,.07)}.personal-history-project-actions .continue{width:auto;min-width:0;margin-right:auto;padding:0 10px;color:#f8f8fa;font-size:12px;background:#32363d}.personal-history-project-actions .continue span{display:inline;white-space:nowrap}.personal-history-project-actions button{width:26px;min-width:26px;height:26px;padding:0;color:#c5cad1;background:#24272c;border:1px solid #393e46;border-radius:8px}.personal-history-project-actions button:hover{color:#fff;background:#30343a;border-color:#565c66}@media (max-width: 680px){.personal-history-project-grid{grid-template-columns:1fr}.personal-project-card-copy i{gap:9px}}@media (prefers-reduced-motion: reduce){.personal-history-project-card,.personal-project-preview-tile>img,.personal-project-preview-tile>video{transition:none}.personal-history-project-card:hover{transform:none}}.personal-text-layout{display:block;margin-top:16px}.personal-text-list{display:grid;grid-template-columns:1fr;gap:14px;max-height:none;padding:0;overflow:visible;background:transparent;border:0}.personal-text-list-item{display:flex;min-height:0;flex-direction:column;background:var(--history-surface);border:1px solid var(--history-line);border-radius:20px}.personal-text-list-main{display:grid;grid-template-columns:44px minmax(0,1fr) auto;width:100%;padding:16px 18px;border-bottom:1px solid var(--history-line);border-radius:0}.personal-text-name-card{display:grid;gap:4px;min-width:0;padding:11px 14px;background:#22252a;border:1px solid #3c4149;border-radius:13px;box-shadow:inset 0 1px #ffffff09}.personal-text-name-card small{color:#aeb4bd;font-size:11px;font-weight:700;line-height:1.2}.personal-text-name-card strong{overflow:hidden;color:#f5f7fa;font-size:18px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.personal-text-name-card em{overflow:hidden;color:#858c96;font-size:11px;font-style:normal;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.personal-text-list-main>span{width:44px;height:44px;border-radius:13px}.personal-text-list-main strong{font-size:18px;white-space:normal}.personal-video-actions{display:flex;flex-wrap:wrap;gap:7px;margin:12px 6px 0}.personal-video-actions a,.personal-video-actions button{display:inline-flex;min-height:34px;gap:6px;align-items:center;padding:0 10px;color:#e8e9ec;font:inherit;font-size:12px;text-decoration:none;background:#25282d;border:1px solid #444950;border-radius:10px;cursor:pointer}.personal-video-actions .danger{color:#ff9ca2}.personal-studio-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}.personal-studio-card{min-width:0;overflow:hidden;background:#14181d;border:1px solid #31363d;border-radius:20px;box-shadow:0 14px 36px #00000038}.personal-studio-preview{position:relative;display:grid;min-height:180px;overflow:hidden;place-items:center;aspect-ratio:16 / 9;background:radial-gradient(circle at 75% 15%,rgba(126,226,255,.16),transparent 36%),radial-gradient(circle at 20% 80%,rgba(188,246,90,.09),transparent 32%),#0b0e12;border-bottom:1px solid #2b3036}.personal-studio-preview img,.personal-studio-preview video{width:100%;height:100%;object-fit:cover}.personal-studio-preview audio{width:calc(100% - 36px)}.personal-studio-placeholder{display:flex;gap:8px;flex-direction:column;align-items:center;color:#f5f7fa}.personal-studio-placeholder svg{color:#8eeaff}.personal-studio-placeholder small{color:#8f99a5}.personal-studio-status{position:absolute;top:12px;left:12px;padding:6px 10px;color:#dde4ea;font-size:12px;background:#242a31;border:1px solid #414954;border-radius:999px}.personal-studio-status.status-completed{color:#bdf86a;border-color:#57752c}.personal-studio-status.status-api_pending{color:#ffd479;border-color:#6b5429}.personal-studio-status.status-failed{color:#ff9797;border-color:#6e3434}.personal-studio-meta{padding:16px 17px 12px}.personal-studio-meta>small{color:#65dfff;font-size:12px}.personal-studio-meta h3{margin:6px 0 8px;color:#f7f9fb;font-size:18px}.personal-studio-meta p{display:-webkit-box;min-height:42px;margin:0;overflow:hidden;color:#aeb6c0;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2}.personal-studio-meta>div{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.personal-studio-meta>div span{padding:5px 8px;color:#c8d0d8;font-size:11px;background:#20252b;border-radius:999px}.personal-studio-actions{display:flex;gap:8px;justify-content:flex-end;padding:0 17px 16px}.personal-studio-actions a,.personal-studio-actions button{display:inline-flex;gap:6px;align-items:center;padding:8px 11px;color:#eef2f5;font:inherit;text-decoration:none;cursor:pointer;background:#22272d;border:1px solid #3b424b;border-radius:10px}.personal-studio-actions .danger{color:#ffabab}.personal-text-list-main em{margin-top:3px;font-size:11px}.personal-text-item-actions{display:flex;align-self:center;padding:0;opacity:1}.personal-text-card-actions{display:flex;gap:8px;justify-content:flex-end;padding:14px 20px;border-top:1px solid var(--history-line)}.personal-text-card-actions button{display:inline-flex;min-height:38px;gap:7px;align-items:center;padding:0 14px;color:var(--history-soft);background:var(--history-raised);border:1px solid var(--history-line);border-radius:11px;cursor:pointer}.personal-text-card-actions button:hover{border-color:#626975}.history-dialog-fields{grid-column:1 / -1;display:grid;gap:8px}.history-dialog-fields label{color:#aeb3b9;font-size:12px;font-weight:700}.history-download-toast{position:fixed;right:24px;bottom:24px;z-index:190;padding:12px 16px;color:#fff;background:#25282d;border:1px solid #51565e;border-radius:12px;box-shadow:0 14px 40px #0000006b}@media (max-width: 760px){.personal-history-projects{padding:14px}.personal-history-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.personal-history-project-actions .continue span{display:none}}.personal-history-project-actions .continue span{display:none}.personal-text-list-item{min-height:132px}.personal-text-list-main{grid-template-columns:40px minmax(0,1fr)}.personal-text-item-actions{grid-column:1 / -1;justify-self:end}.personal-text-list-item .personal-text-content{padding:22px 18px}} @media (min-width: 761px) and (max-width: 1120px){.personal-history-project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 1121px) and (max-width: 1360px){.personal-history-project-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width: 520px){.personal-history-project-grid{grid-template-columns:1fr}}.cf-editor{--cf-bg: #0b0d10;--cf-panel: #12151a;--cf-panel-soft: #181c22;--cf-panel-hover: #1d222a;--cf-line: rgba(255, 255, 255, .08);--cf-line-strong: rgba(255, 255, 255, .14);--cf-text: #f4f6f8;--cf-muted: #a0a7b2;--cf-subtle: #69717e;--cf-accent: #7657f6;--cf-accent-strong: #876cff;--cf-success: #65b98d;--cf-danger: #e27682;position:relative;z-index:2;display:grid;width:100%;height:100dvh;min-height:720px;grid-template-rows:56px minmax(0,1fr) var(--cf-timeline-height, 286px);overflow:hidden;color:var(--cf-text);background:var(--cf-bg);color-scheme:dark}.cf-editor *,.cf-editor *:before,.cf-editor *:after{box-sizing:border-box}.cf-editor button,.cf-editor input,.cf-editor select{font:inherit}.cf-editor button{cursor:pointer}.cf-editor button:disabled{cursor:not-allowed;opacity:.42}.cf-editor button:focus-visible,.cf-editor input:focus-visible,.cf-editor select:focus-visible,.cf-editor [role=slider]:focus-visible{outline:2px solid rgba(118,87,246,.7);outline-offset:2px}.cf-editor-toolbar{display:grid;min-width:0;grid-template-columns:minmax(230px,.8fr) minmax(460px,1.4fr) minmax(390px,auto);align-items:center;gap:16px;padding:0 14px;border-bottom:1px solid var(--cf-line);background:#0f1115}.cf-toolbar-project,.cf-toolbar-actions,.cf-workflow-steps,.cf-project-copy,.cf-save-state,.cf-secondary-button,.cf-primary-button,.cf-credit-button,.cf-member-button{display:flex;align-items:center}.cf-toolbar-project{min-width:0;gap:9px}.cf-toolbar-project>img{width:30px;height:30px;flex:0 0 30px;border-radius:8px;object-fit:cover}.cf-editor-mark{display:grid;width:30px;height:30px;flex:0 0 30px;place-items:center;border-radius:8px;color:#d7d0ff;background:#7657f629}.cf-project-copy{min-width:0;align-items:baseline;gap:8px}.cf-project-copy strong,.cf-project-copy span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cf-project-copy strong{max-width:170px;font-size:13px}.cf-project-copy span{color:var(--cf-muted);font-size:12px}.cf-icon-button,.cf-panel-heading>button,.cf-preview-toolbar button,.cf-player-controls button,.cf-timeline-tools button{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;padding:0;border:1px solid transparent;border-radius:9px;color:var(--cf-muted);background:transparent;transition:color .18s ease,border-color .18s ease,background .18s ease}.cf-icon-button:hover,.cf-panel-heading>button:hover,.cf-preview-toolbar button:hover,.cf-player-controls button:hover,.cf-timeline-tools button:hover{color:var(--cf-text);border-color:var(--cf-line);background:var(--cf-panel-soft)}.cf-workflow-steps{min-width:0;justify-content:center;gap:2px}.cf-workflow-steps button{position:relative;display:flex;min-width:0;align-items:center;gap:6px;height:38px;padding:0 9px;border:0;border-radius:8px;color:var(--cf-subtle);font-size:12px;background:transparent;white-space:nowrap}.cf-workflow-steps button>span{display:grid;width:18px;height:18px;flex:0 0 18px;place-items:center;border-radius:50%;color:#c5cad1;font-size:10px;background:#252a31}.cf-workflow-steps button:hover:not(:disabled){color:var(--cf-text);background:#ffffff09}.cf-workflow-steps button.completed{color:#8b929d}.cf-workflow-steps button.completed>span{color:#b9e1cb;background:#65b98d29}.cf-workflow-steps button.active{color:#fff;background:#7657f624}.cf-workflow-steps button.active:after{position:absolute;right:10px;bottom:0;left:10px;height:2px;border-radius:2px;content:"";background:var(--cf-accent-strong)}.cf-workflow-steps button.active>span{color:#fff;background:var(--cf-accent)}.cf-toolbar-actions{min-width:0;justify-content:flex-end;gap:6px}.cf-save-state{gap:5px;color:var(--cf-muted);font-size:11px;white-space:nowrap}.cf-save-state.saved{color:var(--cf-success)}.cf-secondary-button,.cf-primary-button,.cf-credit-button,.cf-member-button{min-height:34px;justify-content:center;gap:6px;padding:0 11px;border:1px solid var(--cf-line-strong);border-radius:9px;color:var(--cf-text);font-size:12px;font-weight:700;background:var(--cf-panel-soft);white-space:nowrap}.cf-primary-button{color:#fff;border-color:transparent;background:var(--cf-accent)}.cf-primary-button:hover{background:var(--cf-accent-strong)}.cf-credit-button{color:#e3ddff}.cf-member-button{padding:0 9px;background:transparent}.cf-editor-main{display:grid;min-width:0;min-height:0;grid-template-columns:270px minmax(420px,1fr) 310px;gap:8px;padding:8px;overflow:hidden;background:var(--cf-bg)}.cf-media-panel,.cf-preview-column,.cf-settings-panel,.cf-timeline{min-width:0;min-height:0;overflow:hidden;border:1px solid var(--cf-line);border-radius:11px;background:var(--cf-panel)}.cf-media-panel,.cf-settings-panel{display:flex;flex-direction:column}.cf-panel-heading,.cf-preview-toolbar,.cf-timeline>header{display:flex;align-items:center;justify-content:space-between;gap:10px;height:44px;flex:0 0 44px;padding:0 12px;border-bottom:1px solid var(--cf-line);background:var(--cf-panel)}.cf-panel-heading>div{display:flex;align-items:baseline;gap:8px;min-width:0}.cf-panel-heading strong{font-size:14px}.cf-panel-heading small{color:var(--cf-subtle);font-size:10px}.cf-media-tabs{display:grid;grid-template-columns:repeat(4,1fr);height:42px;flex:0 0 42px;padding:0 8px;border-bottom:1px solid var(--cf-line)}.cf-media-tabs button{position:relative;display:flex;min-width:0;align-items:center;justify-content:center;gap:5px;padding:0 4px;border:0;color:var(--cf-subtle);font-size:11px;background:transparent}.cf-media-tabs button:hover{color:var(--cf-text)}.cf-media-tabs button.active{color:#dcd5ff}.cf-media-tabs button.active:after{position:absolute;right:8px;bottom:0;left:8px;height:2px;border-radius:2px;content:"";background:var(--cf-accent)}.cf-media-body,.cf-inspector-body{min-height:0;flex:1;overflow:auto;padding:10px;scrollbar-color:#3c424c transparent;scrollbar-width:thin}.cf-asset-tools{display:grid;grid-template-columns:minmax(0,1fr) 96px;gap:6px;margin-bottom:8px}.cf-asset-tools label{display:flex;min-width:0;align-items:center;gap:7px;height:34px;padding:0 9px;border:1px solid var(--cf-line);border-radius:8px;color:var(--cf-subtle);background:#0f1216}.cf-asset-tools input{width:100%;min-width:0;border:0;color:var(--cf-text);font-size:11px;background:transparent;outline:0}.cf-asset-tools select,.cf-clip-inspector select,.cf-clip-inspector input{height:36px;border:1px solid var(--cf-line);border-radius:8px;color:var(--cf-text);background:#0f1216}.cf-asset-tools select{min-width:0;padding:0 7px;font-size:10px}.cf-import-compact,.cf-smart-caption{display:flex;width:100%;min-height:38px;align-items:center;gap:7px;margin-bottom:8px;padding:0 10px;border:1px dashed var(--cf-line-strong);border-radius:9px;color:var(--cf-muted);font-size:11px;text-align:left;background:#ffffff05}.cf-import-compact:hover,.cf-smart-caption:hover{color:var(--cf-text);border-color:#7657f68c;background:#7657f612}.cf-import-compact span{color:var(--cf-text);font-weight:700}.cf-import-compact small{margin-left:auto;color:var(--cf-subtle);font-size:9px}.cf-asset-list,.cf-music-library,.cf-caption-import{display:grid;gap:6px}.cf-video-asset,.cf-audio-asset,.cf-music-library article{display:grid;min-width:0;grid-template-columns:56px minmax(0,1fr) 30px;align-items:center;gap:8px;padding:6px;border:1px solid transparent;border-radius:9px;background:#ffffff06;transition:border-color .18s ease,background .18s ease,transform .18s ease}.cf-video-asset:hover,.cf-audio-asset:hover,.cf-music-library article:hover{border-color:var(--cf-line);background:var(--cf-panel-hover)}.cf-video-asset.draggable{cursor:grab}.cf-video-asset.draggable:active{cursor:grabbing;transform:translateY(-2px)}.cf-video-asset.disabled{opacity:.5}.cf-video-asset>div:nth-child(2),.cf-audio-asset>div,.cf-music-library article>div{min-width:0}.cf-video-asset strong,.cf-video-asset small,.cf-audio-asset strong,.cf-audio-asset small,.cf-music-library article strong,.cf-music-library article small,.cf-music-library article span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cf-video-asset strong,.cf-audio-asset strong,.cf-music-library article strong{color:var(--cf-text);font-size:11px}.cf-video-asset small,.cf-audio-asset small,.cf-music-library article small{margin-top:3px;color:var(--cf-subtle);font-size:9px}.cf-music-library article span{margin-top:2px;color:#b9adef;font-size:9px}.cf-asset-thumb{position:relative;display:grid;height:42px;place-items:center;overflow:hidden;border-radius:7px;color:#a99ce7;background:#20242d}.cf-asset-thumb img{width:100%;height:100%;object-fit:cover}.cf-asset-thumb span{position:absolute;right:3px;bottom:3px;padding:1px 4px;border-radius:4px;color:#fff;font-size:8px;background:#000000bd}.cf-video-asset>button,.cf-audio-asset>button,.cf-round-play{display:grid;width:30px;height:30px;place-items:center;padding:0;border:1px solid var(--cf-line);border-radius:8px;color:#b9adef;background:#151920}.cf-audio-asset{grid-template-columns:32px minmax(0,1fr) 30px}.cf-asset-empty{display:grid;min-height:132px;place-items:center;align-content:center;gap:7px;padding:18px 12px;color:var(--cf-subtle);text-align:center}.cf-asset-empty>span{display:grid;width:40px;height:40px;place-items:center;border-radius:11px;color:#b9adef;background:#7657f61c}.cf-asset-empty strong{color:var(--cf-text);font-size:13px}.cf-asset-empty small{max-width:230px;line-height:1.5;font-size:10px}.cf-asset-empty button,.cf-text-button,.cf-use-track{min-height:30px;padding:0 9px;border:1px solid var(--cf-line-strong);border-radius:8px;color:#d7d0ff;font-size:10px;font-weight:700;background:#181c22}.cf-asset-empty button{display:inline-flex;align-items:center;gap:5px}.cf-text-button{width:100%;color:var(--cf-muted);background:transparent}.cf-library-note{display:grid;grid-template-columns:20px 1fr auto;align-items:center;gap:6px;padding:5px 6px;color:#b9adef;font-size:10px}.cf-library-note small{color:var(--cf-subtle);font-size:9px}.cf-music-library article{grid-template-columns:30px minmax(0,1fr) 44px}.cf-music-library article.selected{border-color:#7657f680;background:#7657f617}.cf-use-track{padding:0 5px}.cf-music-library>a{padding:5px;color:var(--cf-subtle);font-size:9px;text-align:center;text-decoration:none}.cf-caption-import>span{color:var(--cf-subtle);font-size:10px;text-align:center}.cf-preview-column{display:grid;min-width:0;min-height:0;grid-template-rows:44px minmax(0,1fr) auto;background:#050607}.cf-preview-toolbar{color:var(--cf-muted);background:#101318}.cf-preview-toolbar span{min-width:0;overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.cf-preview-toolbar b{margin-right:8px;color:var(--cf-text);font-size:12px}.cf-preview-stage{position:relative;display:grid;min-height:0;place-items:center;overflow:hidden;background:#020304}.cf-preview-stage video{width:100%;height:100%;min-height:0;background:#000}.cf-preview-stage.fit-contain video{object-fit:contain}.cf-preview-stage.fit-cover video{object-fit:cover}.cf-preview-empty{display:grid;max-width:420px;place-items:center;gap:8px;padding:24px;color:var(--cf-subtle);text-align:center}.cf-preview-empty>span{display:grid;width:56px;height:56px;place-items:center;border-radius:16px;color:#b9adef;background:#7657f61f}.cf-preview-empty strong{color:var(--cf-text);font-size:15px}.cf-preview-empty small{font-size:10px}.cf-preview-empty>div{display:flex;gap:7px;margin-top:5px}.cf-preview-empty button{min-height:34px;padding:0 11px;border:1px solid transparent;border-radius:8px;color:#fff;font-size:11px;background:var(--cf-accent)}.cf-preview-empty button.secondary{color:var(--cf-muted);border-color:var(--cf-line);background:var(--cf-panel-soft)}.cf-center-play{position:absolute;top:50%;left:50%;display:grid;width:54px;height:54px;place-items:center;border:1px solid rgba(255,255,255,.22);border-radius:50%;color:#fff;background:#080a0db8;opacity:0;transform:translate(-50%,-50%);transition:opacity .18s ease,transform .18s ease}.cf-preview-stage:hover .cf-center-play{opacity:1}.cf-preview-caption{position:absolute;right:7%;bottom:8%;left:7%;color:#fff;font-size:clamp(14px,1.35vw,22px);font-weight:800;line-height:1.45;text-align:center;text-shadow:0 2px 2px #000,0 0 5px #000;white-space:pre-wrap}.cf-player-controls{display:flex;height:46px;align-items:center;gap:7px;padding:0 10px;border-top:1px solid var(--cf-line);color:var(--cf-muted);background:#101318}.cf-player-controls button{width:32px;height:32px;flex-basis:32px}.cf-player-controls button.play{color:#fff;background:var(--cf-accent)}.cf-player-controls strong,.cf-player-controls>span{font-size:10px;font-variant-numeric:tabular-nums}.cf-player-progress{position:relative;flex:1;height:5px;overflow:hidden;border-radius:999px;background:#2b3038;cursor:ew-resize;touch-action:none}.cf-player-progress span{display:block;height:100%;border-radius:inherit;background:var(--cf-accent-strong)}.cf-player-progress.is-scrubbing{height:7px}.cf-inspector-body{padding:0 12px 16px}.cf-clip-inspector,.cf-caption-editor,.cf-audio-controls{display:grid;gap:14px;padding-top:12px}.cf-clip-inspector section,.cf-caption-editor section,.cf-audio-controls section{display:grid;gap:9px;padding-bottom:14px;border-bottom:1px solid var(--cf-line)}.cf-clip-inspector h3,.cf-caption-editor h3,.cf-audio-controls h3{margin:0;color:var(--cf-muted);font-size:11px;font-weight:800}.cf-clip-inspector label,.cf-audio-controls label{display:grid;gap:6px;color:var(--cf-muted);font-size:10px}.cf-clip-inspector label>span,.cf-audio-controls label>span{display:flex;justify-content:space-between}.cf-clip-inspector label b,.cf-audio-controls label b{color:var(--cf-text);font-weight:700}.cf-clip-inspector input,.cf-clip-inspector select{width:100%;min-width:0;padding:0 9px;font-size:11px}.cf-two-fields{display:grid;grid-template-columns:1fr 1fr;gap:7px}.cf-clip-actions,.cf-caption-actions{display:flex;gap:6px}.cf-clip-actions button,.cf-caption-actions button,.cf-audio-controls button{display:inline-flex;min-height:34px;flex:1;align-items:center;justify-content:center;gap:5px;padding:0 8px;border:1px solid var(--cf-line);border-radius:8px;color:var(--cf-muted);font-size:10px;background:var(--cf-panel-soft)}.cf-regenerate-link{min-height:34px;border:1px solid var(--cf-line);border-radius:8px;color:#c4bafd;font-size:10px;background:transparent}.cf-danger-button{display:inline-flex;min-height:34px;align-items:center;justify-content:center;gap:6px;border:0;border-radius:8px;color:var(--cf-danger);font-size:10px;background:transparent}.cf-audio-controls input[type=range],.cf-timeline-tools input[type=range]{width:100%;accent-color:var(--cf-accent)}.cf-audio-controls label small{color:var(--cf-subtle);font-size:9px;line-height:1.4}.cf-caption-create{display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:6px}.cf-caption-create input,.cf-caption-list input{width:100%;min-width:0;height:36px;padding:0 9px;border:1px solid var(--cf-line);border-radius:8px;color:var(--cf-text);font-size:11px;background:#0f1216}.cf-caption-create button{display:grid;place-items:center;border:0;border-radius:8px;color:#fff;background:var(--cf-accent)}.cf-caption-list{display:grid;gap:6px}.cf-caption-list article{display:grid;grid-template-columns:minmax(0,1fr) auto 24px;align-items:center;gap:5px}.cf-caption-list article span{color:var(--cf-subtle);font-size:8px}.cf-caption-list article button{display:grid;width:24px;height:24px;place-items:center;padding:0;border:0;color:var(--cf-danger);background:transparent}.cf-timeline{position:relative;display:grid;grid-template-rows:44px minmax(0,1fr);height:var(--cf-timeline-height, 286px);margin:0 8px 8px;border-radius:11px 11px 0 0;background:#101318}.cf-timeline-resizer{position:absolute;top:-6px;right:0;left:0;z-index:12;height:12px;cursor:ns-resize;touch-action:none}.cf-timeline-resizer span{position:absolute;top:4px;left:50%;width:44px;height:3px;border-radius:3px;background:#3b414b;transform:translate(-50%)}.cf-timeline-resizer:hover span{background:var(--cf-accent)}.cf-timeline>header{height:44px;padding:0 10px;background:#12151a}.cf-timeline-title,.cf-timeline-tools{display:flex;min-width:0;align-items:center;gap:7px}.cf-timeline-title svg{color:#aa9df1}.cf-timeline-title strong{font-size:13px}.cf-timeline-title span{color:var(--cf-subtle);font-size:10px}.cf-timeline-tools{justify-content:flex-end}.cf-timeline-tools button{width:auto;min-width:32px;flex:0 0 auto;padding:0 8px;gap:5px;display:inline-flex;font-size:10px}.cf-timeline-tools button.danger{color:var(--cf-danger)}.cf-timeline-tools label{display:flex;align-items:center;gap:6px;color:var(--cf-subtle);font-size:9px}.cf-timeline-tools label input{width:72px}.cf-timeline-body{min-height:0;overflow:auto;scrollbar-color:#3c424c transparent;scrollbar-width:thin}.cf-time-ruler{position:relative;min-width:620px;height:26px;margin-left:104px;border-bottom:1px solid var(--cf-line);cursor:ew-resize;background:repeating-linear-gradient(90deg,#333943 0 1px,transparent 1px 42px);background-position-y:12px;background-size:auto 7px;background-repeat:repeat-x;outline:none;touch-action:none;-webkit-user-select:none;user-select:none}.cf-playhead{position:absolute;top:0;bottom:-230px;z-index:8;width:2px;background:var(--cf-accent-strong);pointer-events:none;transform:translate(-50%)}.cf-playhead:before{position:absolute;top:0;left:50%;width:10px;height:10px;border-radius:3px;content:"";background:var(--cf-accent-strong);transform:translate(-50%,-20%) rotate(45deg)}.cf-playhead i{position:absolute;top:4px;left:8px;padding:2px 5px;border-radius:5px;color:#fff;font-size:8px;font-style:normal;background:#2b2454;opacity:0}.cf-time-ruler:hover .cf-playhead i,.cf-time-ruler.is-scrubbing .cf-playhead i{opacity:1}.cf-track-row{display:grid;min-width:724px;min-height:46px;grid-template-columns:104px minmax(620px,1fr);border-bottom:1px solid var(--cf-line)}.cf-track-label{position:sticky;left:0;z-index:6;display:flex;align-items:center;gap:7px;padding:7px 10px;border-right:1px solid var(--cf-line);color:#a99ce7;background:#12151a}.cf-track-label span,.cf-track-label strong,.cf-track-label small{display:block}.cf-track-label strong{color:var(--cf-text);font-size:10px}.cf-track-label small{margin-top:2px;color:var(--cf-subtle);font-size:8px}.cf-track-content{display:flex;min-width:620px;align-items:stretch;gap:4px;overflow:hidden;padding:5px;background:repeating-linear-gradient(90deg,#101318 0,#101318 41px,#14181e 42px)}.cf-timeline-clip{position:relative;display:grid;min-width:calc(110px * var(--cf-timeline-zoom));flex:calc(var(--clip-flex) * var(--cf-timeline-zoom)) 1 0;grid-template-columns:14px minmax(0,1fr);align-items:center;gap:5px;padding:5px 8px;border:1px solid #4f4779;border-radius:7px;color:#e9e6fa;text-align:left;background:#302a4c}.cf-timeline-clip.active{border-color:#a893ff;box-shadow:inset 0 0 0 1px #a893ff59;background:#39315c}.cf-timeline-clip>span{min-width:0}.cf-timeline-clip strong,.cf-timeline-clip small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cf-timeline-clip strong{font-size:9px}.cf-timeline-clip small{margin-top:2px;color:#aaa3c4;font-size:8px}.cf-clip-resize-handle{position:absolute;z-index:4;top:3px;bottom:3px;width:6px;border-radius:4px;background:#c4b8ff;cursor:ew-resize;touch-action:none;opacity:.55}.cf-clip-resize-handle.left{left:2px}.cf-clip-resize-handle.right{right:2px}.cf-timeline-clip:hover .cf-clip-resize-handle,.cf-timeline-clip.active .cf-clip-resize-handle{opacity:1}.cf-track-add{display:inline-flex;min-width:106px;align-items:center;justify-content:center;gap:5px;border:1px dashed var(--cf-line-strong);border-radius:7px;color:var(--cf-muted);font-size:9px;background:transparent}.cf-audio-clip,.cf-caption-clip{display:inline-flex;min-width:140px;align-items:center;gap:6px;padding:0 9px;border:1px solid;border-radius:7px;font-size:9px}.cf-audio-clip.voice{color:#9ec8d7;border-color:#31505a;background:#17262b}.cf-audio-clip.music{color:#d5bd8e;border-color:#54482f;background:#292319}.cf-caption-clip{color:#c6b9ee;border-color:#4e426c;background:#252033}.cf-audio-clip button{display:grid;width:20px;height:20px;place-items:center;margin-left:auto;padding:0;border:0;color:inherit;background:transparent}.cf-render-status{position:fixed;right:18px;bottom:calc(var(--cf-timeline-height, 286px) + 18px);z-index:30;display:flex;align-items:center;gap:7px;padding:9px 11px;border:1px solid var(--cf-line);border-radius:9px;color:#d7d0ff;font-size:10px;background:#171a20}.cf-editor-toast{position:fixed;right:18px;bottom:18px;z-index:50;display:flex;align-items:center;gap:7px;max-width:420px;padding:10px 13px;border:1px solid var(--cf-line);border-radius:9px;color:var(--cf-text);font-size:11px;background:#1a1e25;box-shadow:0 14px 36px #00000057}@media (max-width: 1480px){.cf-editor-toolbar{grid-template-columns:minmax(210px,.7fr) minmax(410px,1.25fr) auto;gap:9px}.cf-workflow-steps button{padding:0 6px;font-size:11px}.cf-editor-main{grid-template-columns:240px minmax(380px,1fr) 285px}.cf-member-button{display:none}}@media (max-width: 1240px){.cf-editor-toolbar{grid-template-columns:minmax(190px,.7fr) minmax(360px,1fr) auto}.cf-workflow-steps button{gap:4px;padding:0 4px;font-size:0}.cf-workflow-steps button>span{font-size:10px}.cf-workflow-steps button:before{content:attr(aria-label);font-size:0}.cf-save-state,.cf-secondary-button span,.cf-credit-button,.cf-member-button{display:none}.cf-editor-main{grid-template-columns:220px minmax(360px,1fr) 270px}}@media (max-width: 980px){.cf-editor{height:auto;min-height:100dvh;grid-template-rows:auto auto auto;overflow:visible}.cf-editor-toolbar{position:sticky;top:0;z-index:20;grid-template-columns:minmax(0,1fr) auto;height:56px}.cf-workflow-steps,.cf-toolbar-actions .cf-icon-button{display:none}.cf-editor-main{grid-template-columns:minmax(200px,240px) minmax(0,1fr);min-height:620px;overflow:visible}.cf-settings-panel{grid-column:1 / -1;min-height:280px}.cf-timeline{height:280px}}@media (max-width: 720px){.cf-editor-toolbar{padding:0 8px}.cf-project-copy strong{max-width:130px}.cf-secondary-button{display:none}.cf-editor-main{grid-template-columns:1fr}.cf-media-panel{min-height:360px}.cf-preview-column{min-height:520px}.cf-settings-panel{min-height:320px}.cf-timeline{margin:0;border-radius:0}.cf-timeline-tools label,.cf-timeline-tools button:nth-of-type(1),.cf-timeline-tools button:nth-of-type(2){display:none}}.creator-studio{--studio-bg: #07090c;--studio-panel: #11151a;--studio-panel-strong: #171c22;--studio-panel-soft: #1c222a;--studio-border: #2b333d;--studio-border-strong: #3b4653;--studio-text: #f6f8fb;--studio-muted: #9ba6b3;--studio-cyan: #55d7ff;--studio-lime: #baf45d;min-height:100%;padding:26px;color:var(--studio-text);background:radial-gradient(circle at 15% 0%,rgba(85,215,255,.08),transparent 30%),radial-gradient(circle at 88% 10%,rgba(186,244,93,.045),transparent 24%),var(--studio-bg)}.creator-studio button,.creator-studio input,.creator-studio textarea,.creator-studio select{font:inherit}.creator-studio button{color:inherit}.creator-studio-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:24px;max-width:1480px;margin:0 auto;padding:10px 0 26px;border-bottom:1px solid var(--studio-border)}.creator-studio-back,.creator-studio-save{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 15px;border:1px solid var(--studio-border-strong);border-radius:12px;background:#151a20;color:#dce2e8;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease}.creator-studio-back:hover,.creator-studio-save:hover{border-color:#66717e;background:#1b2128;transform:translateY(-1px)}.creator-studio-heading{display:flex;align-items:center;gap:16px;min-width:0}.creator-studio-logo{display:grid;flex:0 0 auto;width:54px;height:54px;place-items:center;border:1px solid rgba(85,215,255,.35);border-radius:17px;background:linear-gradient(145deg,#55d7ff2e,#55d7ff0b);color:var(--studio-cyan);box-shadow:inset 0 1px #ffffff14}.creator-studio-heading span:not(.creator-studio-logo){color:var(--studio-cyan);font-size:11px;font-weight:800;letter-spacing:.18em}.creator-studio-heading h1{margin:4px 0 2px;font-size:clamp(27px,2.2vw,38px);letter-spacing:-.035em}.creator-studio-heading p{margin:0;color:var(--studio-muted);font-size:14px}.creator-studio-modebar{display:flex;align-items:center;justify-content:space-between;gap:18px;max-width:1480px;margin:20px auto 0;padding:10px;border:1px solid var(--studio-border);border-radius:16px;background:#11151af0}.studio-segmented{display:flex;flex-wrap:wrap;gap:6px}.studio-segmented button{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 15px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--studio-muted);cursor:pointer}.studio-segmented button:hover{color:var(--studio-text);background:#1a2027}.studio-segmented button.is-active{border-color:#46515e;background:#292f37;color:#fff;box-shadow:inset 0 -2px 0 var(--studio-cyan)}.creator-studio-api-note{display:inline-flex;align-items:center;gap:8px;color:var(--studio-muted);font-size:12px;white-space:nowrap}.creator-studio-api-note>span{width:8px;height:8px;border-radius:50%;background:var(--studio-lime);box-shadow:0 0 13px #baf45d80}.creator-studio-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(360px,.8fr);gap:18px;max-width:1480px;margin:18px auto 0}.creator-studio-form,.creator-studio-settings,.creator-studio-history{border:1px solid var(--studio-border);border-radius:20px;background:linear-gradient(180deg,#171c22f7,#0f1318fa);box-shadow:0 18px 44px #00000029}.creator-studio-form,.creator-studio-settings{padding:24px}.creator-studio-settings{align-self:start;position:sticky;top:18px}.studio-section-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:20px}.studio-section-heading>span{display:grid;flex:0 0 auto;width:34px;height:34px;place-items:center;border:1px solid rgba(85,215,255,.28);border-radius:10px;color:var(--studio-cyan);background:#55d7ff14;font-size:11px;font-weight:800}.studio-section-heading h2{margin:0 0 3px;font-size:18px}.studio-section-heading p{margin:0;color:var(--studio-muted);font-size:12px}.studio-field,.studio-reference-block,.studio-model-picker{display:grid;gap:8px;margin-top:17px}.studio-field-label{color:#cbd2da;font-size:12px;font-weight:700}.studio-field-label em{margin-left:6px;color:#ffb0a8;font-style:normal}.studio-field input,.studio-field textarea,.studio-field select{width:100%;border:1px solid var(--studio-border-strong);border-radius:12px;outline:none;background:#0e1217;color:var(--studio-text);transition:border-color .15s ease,box-shadow .15s ease}.studio-field input,.studio-field select{min-height:46px;padding:0 13px}.studio-field textarea{padding:13px;line-height:1.65;resize:vertical}.studio-field input:focus,.studio-field textarea:focus,.studio-field select:focus{border-color:var(--studio-cyan);box-shadow:0 0 0 3px #55d7ff1a}.studio-prompt-field{position:relative}.studio-prompt-field>small{position:absolute;right:12px;bottom:10px;color:#65707b;font-size:11px}.studio-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.studio-upload-zone{display:grid;min-height:150px;place-items:center;align-content:center;gap:7px;border:1px dashed #46515e;border-radius:14px;background:#0e1217;color:var(--studio-muted);cursor:pointer}.studio-upload-zone:hover{border-color:var(--studio-cyan);color:var(--studio-text)}.studio-upload-zone svg{color:var(--studio-cyan)}.studio-upload-zone small{color:#69737f}.studio-reference-preview{position:relative;display:grid;grid-template-columns:96px minmax(0,1fr) auto;align-items:center;gap:13px;padding:10px;border:1px solid var(--studio-border-strong);border-radius:14px;background:#0e1217}.studio-reference-preview.is-audio{grid-template-columns:minmax(0,1fr) auto}.studio-reference-audio{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;min-width:0;color:#bfff4f}.studio-reference-audio audio{width:100%;min-width:0;height:34px}.studio-reference-preview img{width:96px;height:74px;border-radius:9px;object-fit:cover}.studio-reference-preview span{overflow:hidden;color:#dfe5eb;text-overflow:ellipsis;white-space:nowrap}.studio-reference-preview button{display:grid;width:32px;height:32px;place-items:center;border:1px solid var(--studio-border-strong);border-radius:9px;background:#1a2027;cursor:pointer}.studio-model-trigger{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:11px;width:100%;min-height:68px;padding:10px 12px;border:1px solid var(--studio-border-strong);border-radius:13px;background:#0e1217;text-align:left;cursor:pointer}.studio-model-trigger:hover{background:#151a20}.studio-model-mark{display:grid;width:38px;height:38px;place-items:center;border:1px solid rgba(85,215,255,.3);border-radius:11px;color:var(--studio-cyan);background:#55d7ff14}.studio-model-mark img{width:24px;height:24px;object-fit:contain}.studio-model-mark b{color:currentColor;font-size:10px;letter-spacing:.02em}.studio-model-copy{display:grid;gap:4px;min-width:0}.studio-model-copy strong,.studio-model-menu strong{overflow:hidden;color:#eef2f6;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.studio-model-copy small,.studio-model-menu small{overflow:hidden;color:var(--studio-muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.studio-model-state{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap}.studio-model-state.is-registered{color:var(--studio-lime);background:#baf45d1a}.studio-model-state.is-pending{color:#b8c2cc;background:#252b33}.studio-model-trigger .is-open{transform:rotate(180deg)}.studio-model-menu{display:grid;gap:6px;max-height:285px;padding:7px;overflow-y:auto;border:1px solid var(--studio-border-strong);border-radius:13px;background:#0a0d11;box-shadow:0 18px 44px #0000006b}.studio-model-menu button{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px;border:1px solid transparent;border-radius:10px;background:#151a20;text-align:left;cursor:pointer}.studio-model-menu button>span:nth-child(2){display:grid;gap:4px;min-width:0}.creator-studio-showreel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:1480px;margin:12px auto 0}.creator-studio-showreel article{position:relative;min-height:150px;overflow:hidden;border:1px solid var(--studio-border);border-radius:14px;background:#0b0e12}.creator-studio-showreel video{width:100%;height:150px;object-fit:cover;opacity:.72}.creator-studio-showreel article:after{position:absolute;top:0;right:0;bottom:0;left:0;content:"";background:linear-gradient(180deg,transparent 28%,rgba(5,8,12,.88));pointer-events:none}.creator-studio-showreel article>div{position:absolute;z-index:1;right:14px;bottom:12px;left:14px;display:grid;gap:2px}.creator-studio-showreel strong{color:#f4f7fa;font-size:13px}.creator-studio-showreel span{color:#a8b4c0;font-size:10px}@media (max-width: 760px){.creator-studio-showreel{grid-template-columns:1fr}}.studio-model-menu button:hover,.studio-model-menu button.is-selected{border-color:#4b5663;background:#20262e}.studio-model-menu button.is-selected{box-shadow:inset 3px 0 0 var(--studio-cyan)}.studio-model-disclosure{display:flex;gap:10px;margin-top:20px;padding:13px;border:1px solid var(--studio-border);border-radius:12px;background:#55d7ff0b;color:var(--studio-cyan)}.studio-model-disclosure div{display:grid;gap:4px}.studio-model-disclosure strong{color:#dfe7ed;font-size:12px}.studio-model-disclosure p{margin:0;color:var(--studio-muted);font-size:11px;line-height:1.55}.creator-studio-submit{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:49px;margin-top:18px;border:1px solid var(--studio-lime);border-radius:12px;background:var(--studio-lime);color:#12170d!important;font-weight:900;cursor:pointer;box-shadow:0 10px 28px #baf45d1f}.creator-studio-submit:hover{background:#caff71}.creator-studio-notice{display:flex;align-items:center;gap:8px;margin-top:12px;color:#dce5eb;font-size:12px}.creator-studio-notice svg{color:var(--studio-lime)}.creator-studio-history{max-width:1480px;margin:18px auto 0;padding:24px}.studio-empty-state{display:grid;min-height:130px;place-items:center;align-content:center;gap:7px;border:1px dashed var(--studio-border-strong);border-radius:14px;background:#0e1217;color:var(--studio-muted)}.studio-empty-state svg{color:var(--studio-cyan)}.studio-empty-state strong{color:#e9edf1}.studio-empty-state span{font-size:12px}.studio-task-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.studio-task-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-height:88px;padding:13px;border:1px solid var(--studio-border);border-radius:14px;background:#0e1217}.studio-task-kind{display:grid;width:42px;height:42px;place-items:center;border-radius:12px;color:var(--studio-cyan);background:#55d7ff17}.studio-task-card>div{display:grid;gap:3px;min-width:0}.studio-task-card strong,.studio-task-card span,.studio-task-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-task-card>div>span{color:var(--studio-muted);font-size:11px}.studio-task-card small{color:var(--studio-lime);font-size:10px}.studio-task-card button{display:grid;width:34px;height:34px;place-items:center;border:1px solid var(--studio-border);border-radius:10px;background:#181d24;color:#69737f}@media (max-width: 1080px){.creator-studio-layout{grid-template-columns:1fr}.creator-studio-settings{position:static}.studio-task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 720px){.creator-studio{padding:16px}.creator-studio-header{grid-template-columns:1fr auto}.creator-studio-heading{grid-column:1 / -1;grid-row:1}.creator-studio-back{grid-column:1;grid-row:2;justify-self:start}.creator-studio-save{grid-column:2;grid-row:2}.creator-studio-modebar{align-items:flex-start;flex-direction:column}.creator-studio-form,.creator-studio-settings,.creator-studio-history{padding:17px}.studio-settings-grid,.studio-task-grid{grid-template-columns:1fr}.studio-model-trigger{grid-template-columns:auto minmax(0,1fr) auto}.studio-model-trigger>.studio-model-state{display:none}}.voice-studio-page{--vs-bg:#07101d;--vs-panel:#0d1726;--vs-panel-2:#111d2e;--vs-line:#24334a;--vs-blue:#3b82f6;--vs-cyan:#22d3ee;--vs-text:#eef6ff;--vs-muted:#8fa3ba;min-height:100vh;padding:18px;color:var(--vs-text);background:radial-gradient(circle at 16% 0,rgba(34,211,238,.09),transparent 28%),radial-gradient(circle at 88% 0,rgba(59,130,246,.12),transparent 30%),var(--vs-bg);font-family:Inter,Microsoft YaHei,sans-serif}.voice-studio-page button,.voice-studio-page input,.voice-studio-page textarea,.voice-studio-page select{font:inherit}.voice-studio-page button{cursor:pointer}.voice-studio-header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;min-height:68px;padding:0 16px;border:1px solid var(--vs-line);border-radius:14px;background:#0a1422e0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.voice-studio-crumb,.voice-studio-head-actions,.voice-studio-title{display:flex;align-items:center}.voice-studio-crumb{gap:8px;color:var(--vs-muted);font-size:12px}.voice-studio-crumb button,.voice-studio-head-actions button{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;color:#bdd0e3;border:0;background:transparent}.voice-studio-title{gap:10px}.voice-studio-title>span{display:grid;width:42px;height:42px;place-items:center;border:1px solid #2c78a2;border-radius:12px;color:#8be9ff;background:linear-gradient(145deg,#123d57,#172d5d)}.voice-studio-title small{color:#62d9ff;font-size:9px;font-weight:800;letter-spacing:.14em}.voice-studio-title h1{margin:2px 0 0;font-size:18px}.voice-studio-title em{display:flex;align-items:center;gap:6px;margin-left:6px;color:var(--vs-muted);font-size:11px;font-style:normal}.voice-studio-title em i{width:7px;height:7px;border-radius:50%;background:#f1a54d}.voice-studio-title em.ready i{background:#43d6a0}.voice-studio-head-actions{justify-content:flex-end;gap:3px}.voice-studio-head-actions b{margin-left:8px;padding:8px 11px;border:1px solid var(--vs-line);border-radius:9px;color:#f2cf69;font-size:12px}.voice-studio-stages{display:flex;align-items:center;justify-content:center;gap:0;margin:12px 0;padding:8px;border:1px solid rgba(36,51,74,.72);border-radius:12px;background:#08111dcc}.voice-studio-stages button{display:flex;align-items:center;gap:7px;padding:6px;color:#70849a;border:0;background:transparent;font-size:11px}.voice-studio-stages button>i{display:grid;width:25px;height:25px;place-items:center;border:1px solid #314159;border-radius:50%;font-size:9px;font-style:normal}.voice-studio-stages button>svg{margin:0 8px;color:#35465c}.voice-studio-stages button.active{color:#fff}.voice-studio-stages button.active>i{border-color:var(--vs-cyan);color:#06111e;background:var(--vs-cyan);box-shadow:0 0 20px #22d3ee3d}.voice-studio-stages button.done{color:#9fc2df}.voice-studio-stages button.done>i{color:#79edc3;border-color:#2e8d72;background:#14392f}.voice-studio-workbench{display:grid;grid-template-columns:260px minmax(620px,1fr) 320px;gap:12px;min-height:680px}.voice-library-panel,.voice-production-panel,.voice-parameters-panel,.voice-task-drawer{border:1px solid var(--vs-line);border-radius:14px;background:#0d1726eb;box-shadow:0 16px 42px #00000038}.voice-library-panel{display:flex;min-width:0;flex-direction:column;padding:13px}.voice-library-panel>header,.voice-production-heading,.voice-parameters-panel>header,.voice-task-drawer>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.voice-library-panel>header>div{display:grid;gap:2px}.voice-library-panel>header span{color:var(--vs-muted);font-size:10px}.voice-library-panel>header button,.voice-library-create{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:7px 9px;color:#d8f7ff;border:1px solid #2f6781;border-radius:8px;background:#10283a;font-size:11px}.voice-library-search{display:flex;align-items:center;gap:7px;margin:14px 0 9px;padding:9px 10px;border:1px solid var(--vs-line);border-radius:9px;background:#09131f}.voice-library-search input{width:100%;color:#fff;border:0;outline:0;background:transparent;font-size:11px}.voice-library-filters{display:flex;gap:4px}.voice-library-filters button{padding:6px 7px;color:var(--vs-muted);border:0;border-radius:7px;background:transparent;font-size:10px}.voice-library-filters button.active{color:#8eeeff;background:#122c40}.voice-asset-list{display:grid;align-content:start;gap:6px;min-height:0;margin:10px 0;overflow:auto}.voice-asset-list>button{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px;color:#ced9e5;text-align:left;border:1px solid transparent;border-radius:10px;background:#0b1522}.voice-asset-list>button.active{border-color:#285d7a;background:#10263a}.voice-asset-list>button>span{display:grid;width:32px;height:32px;place-items:center;border-radius:50%;color:#7de8ff;background:#173752}.voice-asset-list>button>div{display:grid;gap:2px}.voice-asset-list small,.voice-asset-list em{color:var(--vs-muted);font-size:9px;font-style:normal}.voice-asset-list>button>svg{display:none}.voice-library-empty{display:grid;min-height:180px;place-items:center;align-content:center;gap:6px;color:var(--vs-muted);text-align:center}.voice-library-empty span{font-size:10px}.voice-library-create{margin-top:auto}.voice-production-panel{min-width:0;padding:18px}.voice-production-heading small{color:#62d9ff;font-size:9px;font-weight:800;letter-spacing:.12em}.voice-production-heading h2{margin:3px 0;font-size:22px}.voice-production-heading p{margin:0;color:var(--vs-muted);font-size:12px}.voice-production-heading>span{display:flex;align-items:center;gap:6px;color:#92abc0;font-size:10px}.voice-method-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:18px 0}.voice-method-grid button{position:relative;display:grid;grid-template-columns:36px 1fr;gap:3px 9px;padding:13px;color:#d9e4ef;text-align:left;border:1px solid var(--vs-line);border-radius:12px;background:#0c1725}.voice-method-grid button.active{border-color:#2d82ad;background:linear-gradient(145deg,#10283d,#102039)}.voice-method-grid button>span{display:grid;grid-row:1/4;width:36px;height:36px;place-items:center;border-radius:10px;color:#80e8ff;background:#163752}.voice-method-grid em{position:absolute;top:8px;right:8px;color:#74dfff;font-size:9px;font-style:normal}.voice-method-grid small{color:var(--vs-muted);font-size:10px;line-height:1.45}.voice-core-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(280px,.95fr);gap:12px}.voice-setup-column,.voice-analysis-column{display:grid;align-content:start;gap:10px}.voice-setup-column>label,.voice-parameters-panel>label{display:grid;gap:6px;color:#aebed0;font-size:11px}.voice-setup-column input,.voice-setup-column textarea,.voice-parameters-panel select,.voice-test-studio textarea,.voice-test-studio input{width:100%;box-sizing:border-box;padding:10px;color:#eef6ff;border:1px solid var(--vs-line);border-radius:9px;outline:0;background:#09131f}.voice-consent-box{display:grid;gap:9px;padding:12px;border:1px solid #34445a;border-radius:11px;background:#0a1421}.voice-consent-box>div:first-child{display:flex;gap:9px}.voice-consent-box span{display:grid;gap:2px}.voice-consent-box small{color:var(--vs-muted);font-size:9px}.voice-consent-choice{display:grid;grid-template-columns:1fr 1fr;gap:6px}.voice-consent-choice button{padding:8px;color:#93a6b8;border:1px solid var(--vs-line);border-radius:8px;background:#101a28;font-size:10px}.voice-consent-choice button.active{color:#dffaff;border-color:#2f91ba;background:#12334a}.voice-consent-box>label{display:flex;gap:7px;color:#b9c7d5;font-size:10px}.voice-consent-box>label input{width:auto}.voice-upload-card{display:grid;gap:8px;padding:11px;border:1px solid var(--vs-line);border-radius:12px;background:#0a1421}.voice-upload-meta{display:flex;justify-content:space-between;color:var(--vs-muted);font-size:9px}.voice-upload-meta>div{display:flex;gap:7px}.voice-upload-zone{display:grid;min-height:112px;place-items:center;align-content:center;gap:5px;color:#bdd9e8;border:1px dashed #32627c;border-radius:10px;background:#0d2030}.voice-upload-zone small{color:var(--vs-muted);font-size:9px}.voice-record{display:flex;align-items:center;justify-content:center;gap:6px;padding:9px;color:#9defff;border:1px solid #275a74;border-radius:8px;background:#112a3c}.voice-record.active{color:#ffd1d1;border-color:#85454e;background:#361b24}.voice-upload-card audio{width:100%;height:34px}.voice-file-chip{display:flex;align-items:center;gap:5px;color:#95aabd;font-size:10px}.voice-analysis-card{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:8px;padding:11px;border:1px solid var(--vs-line);border-radius:11px;background:#0a1421}.voice-analysis-card>span{display:grid;width:38px;height:38px;place-items:center;border-radius:10px;color:#7de8ff;background:#163752}.voice-analysis-card>div{display:grid;gap:3px}.voice-analysis-card small{color:var(--vs-muted);font-size:9px}.voice-analysis-card em{color:#e0b46a;font-size:9px;font-style:normal}.voice-analysis-placeholder{display:grid;min-height:250px;place-items:center;align-content:center;gap:8px;padding:18px;color:#7fdff7;text-align:center;border:1px dashed #2b5068;border-radius:12px;background:linear-gradient(180deg,#0b1725,#09121d)}.voice-analysis-placeholder p{max-width:360px;margin:0;color:var(--vs-muted);font-size:10px;line-height:1.6}.voice-analysis-placeholder>div{display:flex;gap:8px}.voice-analysis-placeholder span{padding:5px 7px;border-radius:999px;color:#93a9bd;background:#121f2e;font-size:9px}.voice-clone-button{display:flex;min-height:48px;align-items:center;justify-content:center;gap:7px;color:#06131c;border:0;border-radius:10px;background:linear-gradient(135deg,#22d3ee,#4b8ef7);font-weight:800}.voice-clone-button small{margin-left:5px;font-size:9px;font-weight:600}.voice-test-studio{display:grid;gap:9px;margin-top:14px;padding:13px;border:1px solid var(--vs-line);border-radius:12px;background:#0a1421}.voice-test-studio header{display:flex;align-items:center;justify-content:space-between}.voice-test-studio header>div{display:flex;gap:8px}.voice-test-studio header span{display:grid}.voice-test-studio header small,.voice-test-studio header em{color:var(--vs-muted);font-size:9px;font-style:normal}.voice-test-presets{display:flex;gap:5px}.voice-test-presets button,.voice-test-studio>button{padding:7px 9px;color:#9fb2c3;border:1px solid var(--vs-line);border-radius:7px;background:#101b29;font-size:10px}.voice-test-studio>label{display:flex;align-items:center;gap:7px}.voice-parameters-panel{display:grid;align-content:start;gap:15px;padding:15px}.voice-parameters-panel>header>div{display:grid}.voice-parameters-panel>header span{color:var(--vs-muted);font-size:9px}.voice-parameters-panel label span{display:flex;justify-content:space-between}.voice-parameters-panel label em{color:#6be4ff;font-style:normal}.voice-parameters-panel input[type=range]{accent-color:#35ccec}.voice-advanced,.voice-save{display:flex;align-items:center;justify-content:center;gap:7px;padding:10px;color:#c6d5e4;border:1px solid var(--vs-line);border-radius:9px;background:#101b29}.voice-provider-card{display:grid;gap:9px;padding:11px;border:1px solid #34445a;border-radius:10px;background:#09131f}.voice-provider-card>div{display:flex;align-items:center;gap:8px}.voice-provider-card i{width:8px;height:8px;border-radius:50%;background:#d28e3f}.voice-provider-card i.ready{background:#39d29a}.voice-provider-card span{display:grid}.voice-provider-card small{color:var(--vs-muted);font-size:9px}.voice-provider-card p{margin:0;color:#8ea3b8;font-size:9px;line-height:1.6}.voice-save:disabled{cursor:not-allowed;opacity:.45}.voice-task-drawer{margin-top:12px;padding:12px 14px}.voice-task-drawer header>div{display:flex;align-items:center;gap:7px}.voice-task-drawer header span{color:var(--vs-muted);font-size:10px}.voice-task-drawer header button{display:flex;align-items:center;gap:5px;color:#9ab1c5;border:0;background:transparent;font-size:10px}.voice-task-drawer article{display:grid;grid-template-columns:100px minmax(150px,1fr) 1fr 190px 70px;align-items:center;gap:10px;margin-top:8px;padding:9px;border-top:1px solid #203047;font-size:10px}.voice-task-drawer article span{color:#dfad65}.voice-task-drawer article small,.voice-task-drawer article em{color:var(--vs-muted);font-style:normal}.voice-task-drawer>div{display:flex;align-items:center;gap:8px;padding:14px;color:var(--vs-muted);font-size:10px}.voice-studio-toast{position:fixed;right:24px;bottom:24px;z-index:50;display:flex;max-width:520px;align-items:flex-start;gap:8px;padding:12px 14px;color:#baf7db;border:1px solid #2c7359;border-radius:10px;background:#10271f;box-shadow:0 16px 38px #00000057;font-size:11px}.voice-studio-toast.error{color:#ffd0d5;border-color:#7b3943;background:#2d161b}.voice-studio-toast button{margin-left:auto;color:inherit;border:0;background:transparent}@media (max-width:1350px){.voice-studio-workbench{grid-template-columns:230px minmax(560px,1fr)}.voice-parameters-panel{grid-column:1/-1;grid-template-columns:repeat(4,1fr)}.voice-parameters-panel>header,.voice-provider-card{grid-column:1/-1}}@media (max-width:980px){.voice-studio-header{grid-template-columns:1fr}.voice-studio-title{order:-1}.voice-studio-head-actions,.voice-studio-stages{justify-content:flex-start;overflow:auto}.voice-studio-workbench{grid-template-columns:1fr}.voice-library-panel{max-height:360px}.voice-core-grid,.voice-method-grid,.voice-parameters-panel{grid-template-columns:1fr}}.voice-studio-v2,.voice-studio-v2 *{box-sizing:border-box}.voice-studio-v2{--bg:#090b10;--surface:#12151c;--surface2:#171b23;--line:rgba(255,255,255,.08);--text:#f5f7fa;--muted:#9299a8;--weak:#626a79;--accent:#6c7cff;min-height:100vh;color:var(--text);background:var(--bg);font-family:Inter,Microsoft YaHei,system-ui,sans-serif}.voice-studio-v2 button,.voice-studio-v2 input,.voice-studio-v2 textarea,.voice-studio-v2 select{font:inherit}.voice-v2-header{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;min-height:64px;padding:0 24px;border-bottom:1px solid var(--line);background:#090b10eb;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.voice-v2-brand,.voice-v2-header-actions,.voice-v2-brand>div,.voice-v2-header-actions button{display:flex;align-items:center}.voice-v2-brand{gap:12px}.voice-v2-brand>div{align-items:flex-start;flex-direction:column;gap:2px}.voice-v2-brand strong{font-size:15px}.voice-v2-brand small{color:var(--weak);font-size:10px;letter-spacing:.08em}.voice-v2-back,.voice-v2-logo,.voice-v2-avatar{display:grid;place-items:center;width:38px;height:38px;color:#d9deea;border:1px solid var(--line);border-radius:11px;background:var(--surface)}.voice-v2-back{cursor:pointer}.voice-v2-logo{color:#91a0ff;background:linear-gradient(145deg,#6c7cff2e,#37c6f414)}.voice-v2-avatar{border-radius:50%}.voice-v2-header-actions{gap:10px}.voice-v2-header-actions button,.voice-v2-header-actions>b{min-height:38px;padding:0 13px;color:#dce1eb;border:1px solid var(--line);border-radius:11px;background:var(--surface)}.voice-v2-header-actions button{position:relative;gap:7px;cursor:pointer}.voice-v2-header-actions button i{display:grid;place-items:center;min-width:17px;height:17px;color:#fff;border-radius:999px;background:var(--accent);font-size:10px;font-style:normal}.voice-v2-header-actions>b{display:inline-flex;align-items:center;color:#e9d68a;font-size:13px}.voice-v2-layout{display:grid;grid-template-columns:236px minmax(0,1fr);min-height:calc(100vh - 64px);transition:grid-template-columns .2s ease}.voice-v2-layout.library-collapsed{grid-template-columns:68px minmax(0,1fr)}.voice-v2-library{position:relative;min-width:0;padding:22px 16px;border-right:1px solid var(--line);background:#0d1016}.voice-v2-library>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:18px}.voice-v2-library>header>div{display:flex;align-items:center;gap:7px;white-space:nowrap;overflow:hidden}.voice-v2-library>header strong{font-size:14px}.voice-v2-library>header span{color:var(--muted);font-size:11px}.voice-v2-library>header>button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:38px;height:36px;padding:0 10px;color:#fff;border:0;border-radius:10px;background:var(--accent);cursor:pointer}.voice-v2-layout.library-collapsed .voice-v2-library>header{justify-content:center}.voice-v2-layout.library-collapsed .voice-v2-library>header>div,.voice-v2-layout.library-collapsed .voice-v2-library>header>button span{display:none}.voice-v2-search{display:flex;align-items:center;gap:8px;height:42px;padding:0 11px;color:var(--weak);border:1px solid var(--line);border-radius:11px;background:var(--surface)}.voice-v2-search input{width:100%;color:var(--text);border:0;outline:0;background:transparent}.voice-v2-filters{display:flex;gap:3px;margin:12px 0 15px;padding:3px;border-radius:10px;background:var(--surface)}.voice-v2-filters button{flex:1;min-height:30px;padding:0 5px;color:var(--muted);border:0;border-radius:8px;background:transparent;font-size:11px;cursor:pointer}.voice-v2-filters button.active{color:#eef1ff;background:#232938}.voice-v2-asset-list{display:grid;align-content:start;gap:6px;max-height:calc(100vh - 250px);overflow:auto}.voice-v2-asset-list>button{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:58px;padding:8px;text-align:left;color:var(--text);border:1px solid transparent;border-radius:11px;background:transparent;cursor:pointer;transition:.18s ease}.voice-v2-asset-list>button:hover{background:var(--surface)}.voice-v2-asset-list>button.active{border-color:#6c7cff4d;background:#6c7cff1a}.voice-v2-asset-list>button>span{display:grid;place-items:center;width:36px;height:36px;color:#94a3ff;border-radius:10px;background:#6c7cff21}.voice-v2-asset-list>button>div{display:grid;gap:3px;min-width:0}.voice-v2-asset-list strong,.voice-v2-asset-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.voice-v2-asset-list strong{font-size:12px}.voice-v2-asset-list small{color:var(--muted);font-size:10px}.voice-v2-asset-list>button>svg{color:var(--weak)}.voice-v2-empty{display:grid;place-items:center;gap:6px;padding:34px 12px;text-align:center;color:var(--muted)}.voice-v2-empty strong{color:#cbd1dc;font-size:12px}.voice-v2-empty span{font-size:11px;line-height:1.5}.voice-v2-collapse{position:absolute;right:-13px;bottom:24px;display:grid;place-items:center;width:26px;height:26px;color:var(--muted);border:1px solid var(--line);border-radius:50%;background:var(--surface2);cursor:pointer}.voice-v2-layout:not(.library-collapsed) .voice-v2-collapse svg{transform:rotate(180deg)}.voice-v2-main{width:100%;max-width:1000px;margin:0 auto;padding:54px 44px 84px}.voice-v2-hero{margin-bottom:28px}.voice-v2-hero>span{color:#7e8cf4;font-size:11px;font-weight:800;letter-spacing:.14em}.voice-v2-hero h1{margin:9px 0 7px;color:var(--text);font-size:clamp(28px,3vw,34px);line-height:1.16;letter-spacing:-.025em}.voice-v2-hero p{margin:0;color:var(--muted);font-size:15px}.voice-v2-steps{display:grid;grid-template-columns:repeat(4,1fr);margin-bottom:24px}.voice-v2-steps>div{position:relative;display:flex;align-items:center;gap:8px;color:var(--weak);font-size:12px}.voice-v2-steps>div:not(:last-child):after{content:"";position:absolute;right:12px;width:calc(100% - 104px);height:1px;background:#272c35}.voice-v2-steps i{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#20242c;font-style:normal}.voice-v2-steps .active{color:#dfe3ff}.voice-v2-steps .active i{color:#fff;background:var(--accent);box-shadow:0 0 0 4px #6c7cff1f}.voice-v2-steps .done{color:#91a0aa}.voice-v2-steps .done i{color:#a8dcc1;background:#4a9f742e}.voice-v2-mode-switch{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:5px;border-radius:14px;background:var(--surface)}.voice-v2-mode-switch button{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;min-height:64px;padding:10px 12px;text-align:left;color:var(--muted);border:1px solid transparent;border-radius:11px;background:transparent;cursor:pointer}.voice-v2-mode-switch button>span{display:grid;gap:2px}.voice-v2-mode-switch strong{color:#d7dbe4;font-size:12px}.voice-v2-mode-switch small{color:var(--weak);font-size:10px;line-height:1.3}.voice-v2-mode-switch em{padding:3px 6px;color:#aab4ff;border-radius:999px;background:#6c7cff1f;font-size:9px;font-style:normal}.voice-v2-mode-switch button.active{color:#91a0ff;border-color:#6c7cff59;background:#1a1e28}.voice-v2-mode-switch button.active strong{color:#f5f7fa}.voice-v2-create,.voice-v2-test{margin-top:18px;padding:28px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}.voice-v2-field{display:grid;gap:8px;margin-bottom:20px}.voice-v2-field>span{color:#cbd0da;font-size:12px;font-weight:700}.voice-v2-field input,.voice-v2-field textarea,.voice-v2-owner-switch+input,.voice-v2-test textarea,.voice-v2-test label,.voice-v2-parameters select{width:100%;min-height:46px;padding:0 14px;color:var(--text);border:1px solid var(--line);border-radius:11px;outline:0;background:var(--surface2);transition:.18s ease}.voice-v2-field textarea,.voice-v2-test textarea{min-height:118px;padding-top:13px;resize:vertical}.voice-v2-field :is(input,textarea):focus,.voice-v2-test :is(input,textarea):focus{border-color:#6c7cff8c;box-shadow:0 0 0 3px #6c7cff17}.voice-v2-upload{display:grid;place-items:center;margin-bottom:18px}.voice-v2-dropzone{display:grid;place-items:center;gap:9px;width:100%;min-height:266px;padding:28px;color:var(--text);border:1px dashed rgba(126,140,244,.4);border-radius:16px;background:radial-gradient(circle at 50% 20%,rgba(108,124,255,.1),transparent 48%),#10131a;cursor:pointer;transition:.2s ease}.voice-v2-dropzone:hover{border-color:#7e8cf4cc;background-color:#141822}.voice-v2-dropzone>span{display:grid;place-items:center;width:58px;height:58px;color:#91a0ff;border-radius:17px;background:#6c7cff21}.voice-v2-dropzone strong{margin-top:3px;font-size:16px}.voice-v2-dropzone small{color:var(--muted);font-size:12px}.voice-v2-dropzone em{display:inline-flex;align-items:center;gap:7px;min-height:42px;margin-top:6px;padding:0 16px;color:#fff;border-radius:10px;background:linear-gradient(135deg,#6c7cff,#4c9fe8);font-size:12px;font-style:normal;font-weight:800}.voice-v2-record{display:inline-flex;align-items:center;gap:7px;min-height:42px;margin-top:13px;padding:0 16px;color:#d5dae5;border:1px solid var(--line);border-radius:10px;background:var(--surface2);cursor:pointer}.voice-v2-record.active{color:#ffb1b1;border-color:#e05c5c59}.voice-v2-upload>p{margin:10px 0 0;color:var(--weak);font-size:11px}.voice-v2-file{display:grid;grid-template-columns:auto minmax(130px,1fr) minmax(150px,1fr) auto;align-items:center;gap:14px;min-height:96px;margin-bottom:18px;padding:16px;border-radius:14px;background:var(--surface2)}.voice-v2-file-play{display:grid;place-items:center;width:44px;height:44px;color:#fff;border:0;border-radius:50%;background:var(--accent)}.voice-v2-wave{display:flex;align-items:center;gap:2px;height:42px;overflow:hidden}.voice-v2-wave i{width:3px;min-height:5px;border-radius:99px;background:linear-gradient(#7e8cff,#37c6f4);opacity:.78}.voice-v2-file>div:nth-of-type(2){display:grid;gap:4px}.voice-v2-file strong{font-size:12px}.voice-v2-file small{color:var(--muted);font-size:10px}.voice-v2-file>button:last-of-type{min-height:36px;padding:0 11px;color:#cfd4df;border:1px solid var(--line);border-radius:9px;background:transparent}.voice-v2-file audio{grid-column:1/-1;width:100%;height:34px}.voice-v2-consent{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px 14px;margin-top:4px;padding:14px 0;border-top:1px solid var(--line)}.voice-v2-consent>label{display:flex;align-items:flex-start;gap:9px;color:#c7ccd6;font-size:12px;line-height:1.45}.voice-v2-consent>label input{margin-top:2px;accent-color:var(--accent)}.voice-v2-consent>button{color:#8d9cff;border:0;background:transparent;font-size:11px;cursor:pointer}.voice-v2-owner-switch{grid-column:1/-1;display:flex;gap:6px}.voice-v2-owner-switch button{min-height:34px;padding:0 10px;color:var(--muted);border:1px solid var(--line);border-radius:9px;background:transparent}.voice-v2-owner-switch button.active{color:#dfe3ff;border-color:#6c7cff59;background:#6c7cff1a}.voice-v2-owner-switch+input{grid-column:1/-1}.voice-v2-analysis{margin-top:18px;padding:18px;border-radius:14px;background:#10131a}.voice-v2-analysis>header{display:flex;align-items:center;justify-content:space-between;gap:14px}.voice-v2-analysis>header>div{display:flex;align-items:center;gap:10px;color:#8e9dff}.voice-v2-analysis>header span{display:grid;gap:3px}.voice-v2-analysis>header strong{color:#edf0f6;font-size:13px}.voice-v2-analysis>header small{color:var(--muted);font-size:10px}.voice-v2-analysis>header em{padding:5px 8px;border-radius:999px;font-size:10px;font-style:normal}.voice-v2-analysis>header em.ready{color:#9fd9b9;background:#438e6524}.voice-v2-analysis>header em.pending{color:#e7c28f;background:#b1793824}.voice-v2-analysis-note{display:flex;align-items:center;gap:9px;margin:16px 0 0;padding:13px;color:var(--muted);border-radius:10px;background:var(--surface2);font-size:11px}.voice-v2-metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:15px}.voice-v2-metrics>div{display:grid;gap:4px;padding:10px;border-radius:9px;background:var(--surface2)}.voice-v2-metrics span{color:var(--muted);font-size:10px}.voice-v2-metrics strong{font-size:16px}.voice-v2-clone-bar{display:flex;align-items:center;gap:14px;margin-top:22px}.voice-v2-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 22px;color:#fff;border:0;border-radius:11px;background:linear-gradient(135deg,#6c7cff,#4ba5eb);font-weight:800;box-shadow:0 12px 26px #5167db2e;cursor:pointer}.voice-v2-primary:disabled{cursor:not-allowed;opacity:.4;box-shadow:none}.voice-v2-clone-bar>span{color:var(--muted);font-size:11px}.voice-v2-advanced{margin-top:18px;border-top:1px solid var(--line)}.voice-v2-advanced summary{display:flex;align-items:center;gap:7px;padding-top:15px;color:var(--muted);font-size:11px;cursor:pointer;list-style:none}.voice-v2-advanced>div{display:grid;grid-template-columns:auto 1fr;gap:7px 14px;margin-top:12px;padding:12px;border-radius:10px;background:#0f1218;font-size:11px}.voice-v2-advanced span{color:var(--weak)}.voice-v2-test>header,.voice-v2-task-center>header,.voice-v2-parameters>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.voice-v2-test>header>div,.voice-v2-task-center>header>div,.voice-v2-parameters>header>div{display:flex;align-items:center;gap:10px;color:#8f9dff}.voice-v2-test>header span,.voice-v2-task-center>header span,.voice-v2-parameters>header span{display:grid;gap:3px}.voice-v2-test>header strong,.voice-v2-task-center>header strong,.voice-v2-parameters>header strong{color:var(--text);font-size:14px}.voice-v2-test>header small,.voice-v2-task-center>header small,.voice-v2-parameters>header small{color:var(--muted);font-size:10px}.voice-v2-test>header button{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 11px;color:#d3d8e4;border:1px solid var(--line);border-radius:9px;background:var(--surface2)}.voice-v2-test label{display:flex;align-items:center;gap:9px;margin-top:10px}.voice-v2-test label input{width:100%;color:var(--text);border:0;outline:0;background:transparent}.voice-v2-test footer{display:flex;justify-content:flex-end;gap:9px;margin-top:14px}.voice-v2-test footer>button:not(.voice-v2-primary){min-height:44px;padding:0 16px;color:#d3d8e4;border:1px solid var(--line);border-radius:10px;background:var(--surface2)}.voice-v2-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;display:flex;justify-content:flex-end;background:#040508ad;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.voice-v2-task-center,.voice-v2-parameters{width:min(430px,100%);height:100%;padding:24px;color:var(--text);border-left:1px solid var(--line);background:var(--surface);box-shadow:-24px 0 60px #0000004d;animation:voiceV2Drawer .2s ease both}.voice-v2-task-center>header button,.voice-v2-parameters>header button{display:grid;place-items:center;width:38px;height:38px;color:#d2d7e1;border:0;border-radius:10px;background:var(--surface2)}.voice-v2-refresh{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 12px;color:#d2d7e1;border:1px solid var(--line);border-radius:9px;background:transparent}.voice-v2-task-list{display:grid;gap:8px;margin-top:16px}.voice-v2-task-list article{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:13px;border-radius:11px;background:var(--surface2)}.voice-v2-task-list article>span{display:grid;place-items:center;width:36px;height:36px;color:#91a0ff;border-radius:10px;background:#6c7cff1f}.voice-v2-task-list article>div{display:grid;gap:4px}.voice-v2-task-list article strong{font-size:12px}.voice-v2-task-list article small{color:var(--muted);font-size:10px;line-height:1.4}.voice-v2-task-list article em{color:#ddc882;font-size:10px;font-style:normal}.voice-v2-parameters{overflow:auto}.voice-v2-parameters>label{display:grid;gap:9px;margin-bottom:18px;color:#cbd0da;font-size:12px}.voice-v2-parameters>label>span{display:flex;justify-content:space-between}.voice-v2-parameters>label em{color:#8f9dff;font-style:normal}.voice-v2-parameters input[type=range]{width:100%;accent-color:var(--accent)}.voice-v2-toast{position:fixed;right:22px;bottom:22px;z-index:2200;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;max-width:520px;padding:13px 15px;color:#c9ead8;border:1px solid rgba(86,167,122,.25);border-radius:12px;background:#14231c;box-shadow:0 18px 46px #0000004d;font-size:12px}.voice-v2-toast.error{color:#f0b7b7;border-color:#c2555540;background:#291719}.voice-v2-toast button{display:grid;place-items:center;width:26px;height:26px;color:currentColor;border:0;border-radius:7px;background:#ffffff0f}.spin{animation:voice-spin .8s linear infinite}@keyframes voice-spin{to{transform:rotate(360deg)}}@keyframes voiceV2Drawer{0%{opacity:0;transform:translate(24px)}}@media (max-width:1200px){.voice-v2-main{padding-inline:32px}.voice-v2-mode-switch small{display:none}}@media (max-width:900px){.voice-v2-layout{grid-template-columns:68px minmax(0,1fr)}.voice-v2-library>header{justify-content:center}.voice-v2-library>header>div,.voice-v2-library>header>button span,.voice-v2-library>:not(header):not(.voice-v2-collapse){display:none}.voice-v2-collapse{display:none}.voice-v2-main{padding:38px 24px 70px}.voice-v2-mode-switch{grid-template-columns:1fr}.voice-v2-mode-switch small{display:block}}@media (max-width:640px){.voice-v2-header{padding:0 12px}.voice-v2-logo,.voice-v2-brand small,.voice-v2-header-actions button{display:none}.voice-v2-header-actions>b{padding:0 9px}.voice-v2-layout{display:block}.voice-v2-library{display:none}.voice-v2-main{padding:30px 14px 64px}.voice-v2-hero h1{font-size:27px}.voice-v2-steps{overflow-x:auto;grid-template-columns:repeat(4,minmax(110px,1fr));padding-bottom:6px}.voice-v2-mode-switch button{min-height:58px}.voice-v2-create,.voice-v2-test{padding:18px;border-radius:15px}.voice-v2-dropzone{min-height:230px}.voice-v2-file{grid-template-columns:auto 1fr}.voice-v2-wave{grid-column:1/-1;grid-row:2}.voice-v2-file>button:last-of-type{grid-column:1/-1}.voice-v2-clone-bar{align-items:stretch;flex-direction:column}.voice-v2-primary{width:100%}.voice-v2-test footer{flex-direction:column}.voice-v2-toast{left:12px;right:12px;bottom:12px}}.voice-v2-centered-overlay{align-items:center;justify-content:center;padding:20px}.voice-v2-guidelines{width:min(520px,100%);padding:24px;color:var(--text);border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:0 28px 80px #0000006b}.voice-v2-guidelines>header{display:flex;align-items:center;justify-content:space-between;gap:14px}.voice-v2-guidelines>header>div{display:flex;align-items:center;gap:10px;color:#8f9dff}.voice-v2-guidelines>header span{display:grid;gap:3px}.voice-v2-guidelines>header strong{color:var(--text);font-size:15px}.voice-v2-guidelines>header small{color:var(--muted);font-size:10px}.voice-v2-guidelines>header button{display:grid;place-items:center;width:38px;height:38px;color:#d2d7e1;border:0;border-radius:10px;background:var(--surface2)}.voice-v2-guidelines ul{display:grid;gap:10px;margin:22px 0;padding-left:22px;color:#c8ced9;font-size:12px;line-height:1.6}.voice-v2-guidelines>.voice-v2-primary{margin-left:auto}.ma-root{height:100%;min-height:100dvh;overflow-y:auto;box-sizing:border-box;margin:0;background:#f5f4f1;color:#20201f!important;color-scheme:light;font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif}.ma-root *,.ma-root *:before,.ma-root *:after{box-sizing:border-box}.ma-root button,.ma-root input,.ma-root select,.ma-root textarea{font:inherit}.ma-root h1,.ma-root h2,.ma-root h3,.ma-root p,.ma-root ul{margin:0}.ma-root ul{padding-left:18px}.ma-topnav{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;height:68px;padding:0 34px;border-bottom:1px solid #dedbd4;background:#ffffffe0;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.ma-brand{display:flex;align-items:center;gap:12px;padding:0;border:0;background:none;color:#1c1c1b;font-weight:800;text-decoration:none;cursor:pointer}.ma-brand i{margin:0 7px;color:#aaa69d;font-style:normal;font-weight:400}.ma-brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;color:#fff;background:#161615}.ma-nav-meta{display:flex;align-items:center;gap:18px}.ma-nav-meta>span{display:flex;align-items:center;gap:7px;color:#78746b;font-size:12px}.ma-online-dot{width:7px;height:7px;border-radius:50%;background:#37a36d;box-shadow:0 0 0 4px #e6f4ec}.ma-page{width:100%;max-width:1160px;margin:0 auto;padding:28px 16px 42px}.ma-dashboard{padding-top:36px}.ma-stack{display:grid;gap:18px}.ma-grid{display:grid;gap:16px}.ma-two-col{grid-template-columns:minmax(0,1fr) minmax(280px,360px)}.ma-hero-card{min-height:390px;display:grid;grid-template-columns:1.1fr .9fr;overflow:hidden;border-radius:22px;background:#171716;color:#fff;box-shadow:0 24px 60px #18171424}.ma-hero-copy{padding:54px;position:relative;background:radial-gradient(circle at 10% 0%,rgba(209,255,107,.13),transparent 38%)}.ma-eyebrow{display:inline-flex;align-items:center;gap:7px;color:#718d30;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.ma-hero-card .ma-eyebrow{color:#c7ed72}.ma-hero-card h1{margin:26px 0 20px;font-size:clamp(38px,5vw,62px);line-height:1.08;letter-spacing:-.045em}.ma-hero-card h1 em{color:#c7ed72;font-style:normal}.ma-hero-card p{max-width:570px;color:#aaa9a3;line-height:1.8}.ma-hero-actions{display:flex;gap:10px;margin-top:30px}.ma-hero-card .ma-secondary-button{color:#fff;border-color:#44443f;background:#292927}.ma-pipeline-card{margin:30px 30px 30px 0;padding:24px;border:1px solid #383834;border-radius:16px;align-self:stretch;background:linear-gradient(145deg,#242422,#1c1c1b)}.ma-pipeline-head,.ma-pipeline-row{display:flex;align-items:center}.ma-pipeline-head{justify-content:space-between;padding-bottom:17px;color:#dddcd6;font-size:13px;border-bottom:1px solid #3a3a36}.ma-pipeline-head b{color:#7f7e77;font-size:11px}.ma-pipeline-row{position:relative;min-height:45px;gap:12px}.ma-pipeline-row>span{width:22px;color:#62625e;font:10px monospace}.ma-pipeline-row i{width:8px;height:8px;border-radius:50%;background:#4b4b47;box-shadow:0 0 0 4px #292927}.ma-pipeline-row i.ma-live{background:#c7ed72}.ma-pipeline-row strong{flex:1;font-size:13px}.ma-pipeline-row small{color:#777771}.ma-metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.ma-metric-grid article{display:flex;align-items:center;gap:16px;padding:20px;border:1px solid #dedbd4;border-radius:14px;background:#fff}.ma-metric-grid svg{color:#858178}.ma-metric-grid div{display:grid}.ma-metric-grid strong{font-size:25px;color:#23231f!important}.ma-metric-grid span{color:#5a564e!important;font-size:12px}.ma-project-section{margin-top:10px;scroll-margin-top:80px}.ma-section-title{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:14px}.ma-section-title h2{margin:5px 0 0;font-size:25px}.ma-section-title button{display:flex;gap:5px;align-items:center;padding:0;border:0;background:none;color:#252523;font-size:13px;cursor:pointer}.ma-project-list{overflow:hidden;border:1px solid #dedbd4;border-radius:14px;background:#fff}.ma-project-row{display:grid;grid-template-columns:48px 1fr auto 24px;align-items:center;gap:15px;width:100%;padding:14px 18px;border:0;border-bottom:1px solid #ece9e3;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.ma-project-row:last-child{border-bottom:0}.ma-project-row:hover{background:#fafaf7}.ma-project-row>div:nth-child(2){display:grid;gap:5px}.ma-project-row>div span{color:#88847b;font-size:12px}.ma-project-row>svg{color:#aaa69d}.ma-project-thumb{width:44px;height:44px;display:grid;place-items:center;border-radius:10px;color:#c7ed72;background:#242422}.ma-empty{display:grid;justify-items:center;gap:10px;padding:55px;color:#8a867d}.ma-empty strong{color:#343431}.ma-empty .ma-button{margin-top:8px}.ma-panel,.ma-item-card,.ma-shot-card{border:1px solid #dde2ea;border-radius:8px;background:#fff}.ma-panel{padding:22px}.ma-list{display:grid;gap:10px}.ma-item-card{display:grid;gap:8px;padding:14px}button.ma-item-card{width:100%;border:1px solid #dde2ea;background:#fff;color:inherit;font:inherit;text-align:left;cursor:pointer}.ma-item-card-link:hover{border-color:#b8c0cf;background:#f8fafc}.ma-shot-card{display:grid;gap:10px;padding:16px}.ma-shot-grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.ma-back-link{display:inline-flex;align-items:center;gap:6px;margin-bottom:30px;padding:0;border:0;background:none;color:#6f6b63;font-size:13px;text-decoration:none;cursor:pointer}.ma-create-heading h1{margin:10px 0 4px;font-size:38px;letter-spacing:-.04em}.ma-create-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px;align-items:start}.ma-form-section-title{display:flex;align-items:center;gap:12px;margin:4px 0}.ma-form-section-title>span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;color:#fff;background:#20201f;font-size:11px}.ma-form-section-title div{display:grid}.ma-form-section-title small{color:#99958c}.ma-mode-tabs{display:flex;gap:4px;padding:4px;border-radius:9px;background:#f1efea}.ma-mode-tabs button{flex:1;border:0;border-radius:7px;padding:9px;background:transparent;color:#77736b;cursor:pointer}.ma-mode-tabs button.ma-active{background:#fff;color:#20201f;box-shadow:0 2px 8px #0000000f}.ma-textarea{min-height:230px;resize:vertical;padding:14px;border:1px solid #cad2df;border-radius:8px;line-height:1.7}.ma-counter{text-align:right;color:#99958c}.ma-upload-zone{position:relative;display:grid;justify-items:center;gap:8px;padding:45px;border:1px dashed #b9b5ac;border-radius:10px;color:#77736b;background:#faf9f6;cursor:pointer}.ma-upload-zone strong{color:#343431}.ma-upload-zone input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.ma-submit-card{position:sticky;top:88px;padding:26px;border-radius:14px;color:#ecece8;background:#20201f;box-shadow:0 18px 38px #1e1e1c1f}.ma-submit-card>svg{color:#c7ed72}.ma-submit-card h3{font-size:20px}.ma-submit-card ul{color:#a8a7a1;font-size:13px;line-height:2}.ma-submit-card>small{display:block;margin-top:12px;text-align:center;color:#74736e}.ma-estimate{display:flex;justify-content:space-between;margin:22px 0;padding:14px 0;border-top:1px solid #3d3d39;border-bottom:1px solid #3d3d39;font-size:12px}.ma-estimate span{color:#85847e}.ma-wide{width:100%}.ma-field{display:grid;gap:7px}.ma-field>span{font-size:13px;font-weight:700;color:#566176}.ma-input,.ma-select{width:100%;border:1px solid #cad2df;border-radius:7px;padding:11px 12px;background:#fff}.ma-button,.ma-secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border-radius:7px;padding:0 14px;border:1px solid transparent;font:inherit;text-decoration:none;cursor:pointer}.ma-button{color:#171716;background:#c7ed72;font-weight:800}.ma-secondary-button{color:#20201f;border-color:#d5d1c9;background:#fff}.ma-button:disabled,.ma-secondary-button:disabled{cursor:not-allowed;opacity:.58}.ma-status{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:800;background:#eef2f7;color:#4b5565}.ma-status.ma-completed{background:#e7f7ee;color:#14743e}.ma-status.ma-processing{background:#fff4d8;color:#8a5a00}.ma-status.ma-failed{background:#ffe6e7;color:#b4232c}.ma-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.ma-toolbar:last-child{margin-bottom:0}.ma-kv{display:grid;grid-template-columns:96px minmax(0,1fr);gap:8px;font-size:14px}.ma-kv strong{color:#566176}.ma-muted{color:#657188}.ma-error{border:1px solid #ffb8bd;border-radius:8px;padding:12px;color:#9f1d28;background:#fff0f1}.ma-page h1{letter-spacing:-.02em}.ma-page h2{margin:0 0 12px;font-size:19px}.ma-spin{animation:ma-spin 1s linear infinite}@keyframes ma-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ma-root.ma-root h1,.ma-root.ma-root h2,.ma-root.ma-root h3,.ma-root.ma-root h4,.ma-root.ma-root strong,.ma-root.ma-root b,.ma-root.ma-root label{color:#232320!important}.ma-root .ma-hero-card h1{color:#fff!important}.ma-root .ma-pipeline-card strong{color:#eceae2!important}.ma-root .ma-pipeline-head b{color:#7f7e77!important}.ma-root .ma-submit-card h3{color:#fff!important}@media (max-width: 760px){.ma-topnav{padding:14px 16px}.ma-two-col,.ma-hero-card,.ma-create-layout{grid-template-columns:1fr}.ma-pipeline-card{margin:0 18px 18px}.ma-hero-copy{padding:34px 24px}.ma-metric-grid{grid-template-columns:1fr 1fr}.ma-nav-meta>span{display:none}.ma-submit-card{position:static}.ma-project-row{grid-template-columns:44px 1fr auto}.ma-project-row>svg{display:none}}.ma-progress-panel{background:var(--ma-panel, #12141c);border:1px solid var(--ma-line, rgba(255,255,255,.08));border-radius:14px;padding:14px 16px;display:flex;flex-direction:column;gap:8px}.ma-progress-panel .ma-toolbar{margin:0}.ma-progress-panel .ma-toolbar strong{display:inline-flex;align-items:center;gap:6px;font-size:13px}.ma-progress-track{height:8px;border-radius:999px;background:#ffffff14;overflow:hidden}.ma-progress-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#5b6ef5,#a259ff);transition:width .6s ease}.ma-progress-fill.ma-progress-failed{background:linear-gradient(90deg,#f43f5e,#fb7185)}.ma-error-inline{color:#fda4af;font-size:12px;line-height:1.5}.ma-model-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.ma-model-card{background:#ffffff08;border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:6px}.ma-model-card.ma-model-active{border-color:#a259ff8c;box-shadow:0 0 0 1px #a259ff40}.ma-model-cat{font-size:11px;padding:2px 8px;border-radius:999px;background:#5b6ef529;color:#a5b4fc;letter-spacing:1px}.ma-model-ready{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:#4ade80}.ma-model-nokey{font-size:11px;color:#f59e0b}.ma-model-card strong{font-size:14px}.ma-model-card code{font-size:11px;color:#c4b5fd;background:#a259ff1a;padding:2px 6px;border-radius:6px;word-break:break-all}.ma-model-card small{font-size:11px;color:#ffffff73;line-height:1.5}.ma-character-card{display:flex;gap:12px;align-items:flex-start}.ma-character-portrait{width:76px;height:100px;object-fit:cover;border-radius:10px;flex:0 0 auto;border:1px solid rgba(255,255,255,.1)}.ma-character-portrait.ma-character-placeholder{display:flex;align-items:center;justify-content:center;background:#ffffff0d;color:#ffffff4d}.ma-character-body{display:flex;flex-direction:column;gap:4px;min-width:0}.ma-shot-media{width:100%;border-radius:10px;border:1px solid rgba(255,255,255,.08);margin-bottom:8px;display:block}.ma-shot-tools{display:inline-flex;align-items:center;gap:8px}.ma-shot-saving{font-size:11px;color:#a5b4fc}.ma-shot-redraw{display:inline-flex;align-items:center;gap:4px;font-size:12px;padding:5px 10px;border-radius:8px;cursor:pointer}.ma-shot-redraw:disabled{opacity:.55;cursor:default}.ma-shot-redrawing{outline:1px dashed rgba(162,89,255,.5);outline-offset:2px}.ma-kv-editable{cursor:text;border-radius:6px;padding:2px 4px;margin:-2px -4px;transition:background .15s ease,box-shadow .15s ease;white-space:pre-wrap;word-break:break-word;min-height:1.4em;display:block}.ma-kv-editable:hover{background:#ffffff0f;box-shadow:inset 0 0 0 1px #ffffff1f}.ma-kv-editable:focus-visible{outline:none;box-shadow:inset 0 0 0 1px #a259ff99;background:#ffffff0f}.ma-kv-placeholder{font-style:italic;opacity:.45}.ma-kv-textarea,.ma-kv-input{width:100%;font-size:13px;line-height:1.5}.ma-kv-textarea{min-height:48px;resize:vertical}.ma-kv-input{height:30px}video.ma-shot-media{background:#000;aspect-ratio:9/16;max-height:320px;object-fit:contain}.ma-shot-media-empty{aspect-ratio:9/16;max-height:200px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:#ffffff0a;color:#ffffff4d;font-size:12px}.ma-final-video{width:100%;max-width:420px;border-radius:12px;background:#000;margin-top:12px}.ma-shot-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:4px 2px}.ma-shot-toolbar-left{display:inline-flex;align-items:baseline;gap:10px}.ma-shot-toolbar-right{display:inline-flex;align-items:center;gap:10px}.ma-shot-pending-hint{font-size:12px;color:#fbbf24;font-weight:600}.ma-shot-add{display:inline-flex;align-items:center;gap:5px;font-size:12px;padding:6px 12px;border-radius:8px;cursor:pointer}.ma-shot-add:disabled{opacity:.55;cursor:default}.ma-shot-head{display:inline-flex;align-items:center;gap:6px;min-width:0}.ma-shot-grip{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border:none;border-radius:6px;background:#ffffff0f;color:#ffffff80;cursor:grab;flex:0 0 auto;touch-action:none}.ma-shot-grip:hover{background:#ffffff1f;color:#ffffffd9}.ma-shot-grip:active{cursor:grabbing}.ma-shot-delete{display:inline-flex;align-items:center;justify-content:center;padding:5px 8px;border-radius:8px;color:#ffffff8c;cursor:pointer}.ma-shot-delete:hover:not(:disabled){color:#fda4af;background:#f43f5e1f;border-color:#f43f5e4d}.ma-shot-delete:disabled{opacity:.55;cursor:default}.ma-sortable-shot{display:flex}.ma-sortable-shot .ma-shot-card{flex:1 1 auto;min-width:0}.ma-sortable-dragging{z-index:20}.ma-sortable-dragging .ma-shot-card{box-shadow:0 12px 32px #0006}.ma-template-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}.ma-template-card{display:flex;flex-direction:column;align-items:flex-start;gap:5px;text-align:left;padding:12px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.1);background:#ffffff0a;cursor:pointer;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease;color:inherit;font-size:13px;line-height:1.45}.ma-template-card:hover{background:#ffffff14;border-color:#fff3}.ma-template-selected{border-color:#a259ffb3;background:#a259ff1a;box-shadow:inset 0 0 0 1px #a259ff73}.ma-template-meta{display:flex;gap:10px;flex-wrap:wrap}.ma-template-meta em{font-style:normal;font-size:11px;color:#a5b4fc;background:#a5b4fc1f;padding:2px 8px;border-radius:999px}.ma-template-apply{border:1px dashed rgba(162,89,255,.45);border-radius:12px;padding:12px 14px;background:#a259ff0f}.ma-template-apply .ma-toolbar{padding:0}.ma-template-apply-text{font-size:13px;margin:0;line-height:1.6}:root{color-scheme:light;--bg: #f4f7fb;--bg-strong: #eaf0f7;--surface: #ffffff;--surface-soft: #f8fafc;--surface-blue: #eef6fb;--ink: #17212b;--ink-strong: #0c1520;--muted: #64748b;--subtle: #94a3b8;--line: #dbe4ee;--line-strong: #bfccd9;--teal: #0f766e;--teal-dark: #0b534f;--teal-soft: #d9f2ef;--blue: #2563eb;--blue-soft: #e6efff;--amber: #b7791f;--amber-soft: #fff3d8;--rose: #be123c;--rose-soft: #ffe4e9;--green: #167346;--green-soft: #dff6e9;--shadow: 0 18px 48px rgba(23, 33, 43, .08);--shadow-soft: 0 8px 24px rgba(23, 33, 43, .06);--radius: 8px;font-family:Inter,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,system-ui,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;background:linear-gradient(180deg,rgba(37,99,235,.08),transparent 260px),linear-gradient(120deg,rgba(15,118,110,.08),transparent 420px),var(--bg);color:var(--ink)}button,input,textarea,select{font:inherit}button{color:inherit}.app-shell{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh;transition:grid-template-columns .18s ease}.app-shell.sidebar-collapsed{grid-template-columns:76px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:16px;padding:20px 16px;border-right:1px solid rgba(191,204,217,.72);background:#ffffffe6;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);transition:padding .18s ease}.sidebar.collapsed{align-items:center;gap:14px;padding:16px 10px}.sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}.sidebar.collapsed .sidebar-head{display:grid;justify-items:center}.sidebar-toggle{display:grid;width:34px;height:34px;flex:0 0 auto;place-items:center;border:1px solid var(--line);border-radius:var(--radius);color:#475569;background:#fff}.brand-block{display:flex;align-items:center;gap:12px;min-height:44px;min-width:0}.brand-logo{display:block;width:auto;height:54px;flex:0 0 auto;border-radius:var(--radius);background:#fff;box-shadow:0 10px 22px #0f172a1f}.brand-mark{display:grid;width:42px;height:42px;place-items:center;border-radius:var(--radius);color:#fff;background:linear-gradient(145deg,#0f766eeb,#2563ebd1),#0f766e;box-shadow:inset 0 -10px 22px #0c152033,0 10px 22px #0f766e33}.brand-block strong{display:block;color:var(--ink-strong);font-size:17px;line-height:1.1}.brand-block span{display:block;margin-top:4px;color:var(--muted);font-size:12px;line-height:1.2}.brand-copy{min-width:0}.sidebar.collapsed .brand-block{justify-content:center}.sidebar.collapsed .brand-logo{height:42px}.sidebar.collapsed .brand-copy{display:none}.new-project,.primary-button,.ghost-button,.nav-item,.episode-row,.icon-button,.choice-chip,.shot-card,.mode-tabs button,.script-strip button{cursor:pointer;transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease,color .16s ease}.new-project:disabled,.primary-button:disabled,.ghost-button:disabled,.script-strip button:disabled{cursor:not-allowed;opacity:.58}.new-project{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;border:0;border-radius:var(--radius);color:#fff;background:var(--ink-strong);font-size:13px;font-weight:800;box-shadow:var(--shadow-soft)}.new-project:hover,.primary-button:hover,.ghost-button:hover,.nav-item:hover,.episode-row:hover,.icon-button:hover,.choice-chip:hover,.shot-card:hover,.script-strip button:hover{transform:translateY(-1px)}.nav-stack{display:grid;gap:4px;width:100%}.nav-item{display:flex;align-items:center;gap:9px;min-height:42px;padding:5px 8px;border:1px solid transparent;border-radius:var(--radius);background:transparent;color:#344256;font-size:13px;font-weight:700;text-align:left}.sidebar.collapsed .nav-item{justify-content:center;width:44px;min-height:44px;padding:6px}.sidebar.collapsed .nav-stack{justify-items:center}.sidebar.collapsed .nav-label{display:none}.nav-item svg{flex:0 0 auto}.nav-visual{display:grid;width:30px;height:30px;flex:0 0 auto;place-items:center;border:1px solid rgba(191,204,217,.75);border-radius:7px;color:var(--teal);background:linear-gradient(145deg,#ffffffeb,#eef6fbcc),var(--surface-blue)}.nav-visual.script{color:var(--blue);background:linear-gradient(145deg,#fff,var(--blue-soft))}.nav-visual.character{color:#9a5a10;background:linear-gradient(145deg,#fff,var(--amber-soft))}.nav-visual.scene{color:var(--green);background:linear-gradient(145deg,#fff,var(--green-soft))}.nav-visual.voice,.nav-visual.export{color:var(--rose);background:linear-gradient(145deg,#fff,var(--rose-soft))}.nav-item.active,.nav-item:hover{border-color:#0f766e33;background:linear-gradient(90deg,var(--teal-soft),rgba(230,239,255,.72));color:var(--teal-dark)}.nav-item.active svg,.nav-item:hover svg{color:var(--teal)}.project-card{padding:14px;border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(180deg,#fff,#f8fafcf0),var(--surface);box-shadow:0 1px #fffc}.project-card>span,.section-heading,.script-copy span,.workspace-title span,.scene-header span,.inspector-title span,.field span,.topbar-context span,.studio-stat span{color:var(--subtle);font-size:11px;font-weight:800;line-height:1.25}.project-card h2{margin:8px 0 6px;color:var(--ink-strong);font-size:17px;line-height:1.25}.project-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.project-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:14px}.project-metrics div{min-width:0;padding:8px 7px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-soft)}.project-metrics strong,.project-metrics span{display:block;text-align:center}.project-metrics strong{color:var(--ink-strong);font-size:15px;line-height:1.2}.project-metrics span{margin-top:3px;color:var(--muted);font-size:10px;font-weight:800}.episode-list{display:grid;gap:8px;min-height:0}.section-heading{display:flex;align-items:center;justify-content:space-between;padding:0 2px}.episode-row{display:grid;gap:5px;padding:10px;border:1px solid transparent;border-radius:var(--radius);background:transparent;text-align:left}.episode-row.selected{border-color:#2563eb2e;background:var(--blue-soft)}.episode-row span{overflow:hidden;color:var(--ink-strong);font-size:13px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.episode-row small{color:var(--muted);font-size:12px}.main-panel{min-width:0;padding:16px 18px 18px}.topbar{display:grid;grid-template-columns:minmax(160px,240px) minmax(220px,1fr) auto;gap:14px;align-items:center;min-height:48px}.topbar-context{min-width:0}.topbar-context strong{display:block;overflow:hidden;margin-top:4px;color:var(--ink-strong);font-size:17px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.search-box{display:flex;align-items:center;gap:9px;height:38px;padding:0 12px;border:1px solid var(--line);border-radius:var(--radius);background:#ffffffe6;color:var(--muted);box-shadow:0 1px #ffffffe6}.search-box input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--muted);font-size:13px}.topbar-actions,.inspector-actions,.workspace-toolbar{display:flex;align-items:center;gap:8px}.ghost-button,.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:0 12px;border-radius:var(--radius);font-size:13px;font-weight:800;white-space:nowrap}.ghost-button{border:1px solid var(--line);background:#ffffffe6;color:#344256}.primary-button{border:0;color:#fff;background:linear-gradient(135deg,var(--teal),var(--blue));box-shadow:0 12px 24px #0f766e2e}.toast{display:inline-flex;align-items:center;gap:8px;min-height:36px;margin-top:12px;padding:0 12px;border:1px solid rgba(22,115,70,.24);border-radius:var(--radius);background:var(--green-soft);color:var(--green);font-size:13px;font-weight:800}.toast.error{border-color:#be123c38;background:var(--rose-soft);color:var(--rose)}.model-status-banner{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:12px;align-items:center;margin-top:12px;padding:11px 12px;border:1px solid rgba(191,204,217,.78);border-radius:var(--radius);background:#ffffffe6;box-shadow:var(--shadow-soft)}.model-status-banner.locked{border-color:#b7791f47;background:linear-gradient(90deg,#fff3d8e6,#fffffff5),#fff}.model-status-banner.ready{border-color:#0f766e3d;background:linear-gradient(90deg,#d9f2efe6,#fffffff5),#fff}.status-visual{display:grid;width:40px;height:40px;place-items:center;border-radius:var(--radius);color:#fff;background:var(--amber)}.model-status-banner.ready .status-visual{background:var(--teal)}.status-copy{min-width:0}.status-copy strong,.status-copy span{display:block}.status-copy strong{color:var(--ink-strong);font-size:14px;line-height:1.25}.status-copy span{margin-top:4px;overflow:hidden;color:var(--muted);font-size:12px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.status-pills{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.status-pills span{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;font-size:11px;font-weight:900}.status-pills .ok{color:var(--green);background:var(--green-soft)}.status-pills .warn{color:var(--amber);background:var(--amber-soft)}.home-main-panel{padding:0;background:#07111f}.home-lobby{position:relative;isolation:isolate;min-height:100vh;overflow:hidden;padding:22px 28px;color:#fff;background:#07111f}.home-lobby-background-video{position:absolute;z-index:0;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none;opacity:0;transition:opacity .72s ease}.home-lobby-background-video.active{opacity:1}.home-lobby:before{content:"";position:absolute;z-index:1;top:0;right:0;bottom:0;left:0;pointer-events:none;background:linear-gradient(90deg,rgba(4,9,15,.58),transparent 22%,transparent 72%,rgba(4,9,15,.58)),linear-gradient(180deg,#04090f6b,#04090f2e 42%,#04090fc2)}.home-lobby>:not(.home-lobby-background-video){position:relative;z-index:2}.home-statusbar{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:48px}.home-status-pills{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.home-status-pills button,.home-icon-button,.home-avatar{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;border:1px solid rgba(255,255,255,.16);border-radius:999px;color:#ffffffdb;background:#0c15208c;box-shadow:inset 0 1px #ffffff0f,0 12px 30px #0000002e;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.home-status-pills button{padding:0 16px;font-size:13px;font-weight:900}.home-status-pills button:nth-child(2){color:#ffd18a}.home-icon-button,.home-avatar{width:38px;padding:0}.home-avatar{color:#dff6e9;border-color:#63d3bd61;background:linear-gradient(135deg,#0f766ec7,#2563ebb8),#0c152099}.home-hero-copy{display:grid;justify-items:center;gap:14px;max-width:1280px;margin:72px auto 0;text-align:center}.home-hero-copy span{padding:9px 18px;border:1px solid rgba(255,255,255,.14);border-radius:999px;color:#ffffffb8;background:#0c152075;font-size:15px;font-weight:900;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.home-hero-copy h1{margin:0;color:#fff;font-size:clamp(44px,5vw,78px);line-height:1.08;letter-spacing:0;text-shadow:0 12px 36px rgba(0,0,0,.46)}.home-hero-copy p{margin:0;color:#ffffffb8;font-size:20px;line-height:1.55}.home-create-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:22px;align-items:center;width:min(1220px,calc(100% - 120px));margin:52px auto 0;padding:26px 32px;border:1px solid rgba(255,255,255,.18);border-radius:14px;background:linear-gradient(100deg,#212d3fc7,#0b0e18c2 58%,#271a14b8),#0c15209e;box-shadow:0 26px 70px #00000057,inset 0 1px #ffffff14;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.home-card-icon{position:relative;display:grid;width:78px;height:78px;place-items:center;border:1px solid rgba(255,255,255,.17);border-radius:14px;color:#ffd18a;background:#ffffff14}.home-card-icon svg:last-child{position:absolute;right:15px;bottom:15px}.home-card-copy{min-width:0}.home-card-copy strong,.home-card-copy span{display:block}.home-card-copy strong{color:#fff;font-size:28px;line-height:1.2}.home-card-copy span{margin-top:9px;color:#ffffffad;font-size:15px}.home-start-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:268px;min-height:64px;border:0;border-radius:999px;color:#3b2205;background:linear-gradient(135deg,#ffd374,#ff9358);box-shadow:0 18px 38px #ff9a5752,inset 0 1px #ffffff57;font-size:18px;font-weight:950}.home-quick-actions{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;width:min(1260px,calc(100% - 160px));margin:34px auto 0;padding:14px;border:1px solid rgba(255,255,255,.13);border-radius:14px;background:#0c152094;box-shadow:0 18px 44px #00000047,inset 0 1px #ffffff0f;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.home-quick-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 18px;border:1px solid rgba(255,255,255,.14);border-radius:9px;color:#ffffffd6;background:#ffffff14;font-size:14px;font-weight:900}.home-quick-actions button:hover,.home-status-pills button:hover,.home-start-button:hover{transform:translateY(-1px)}.home-quick-actions svg{color:#7ee1d6}.home-recent{width:min(1220px,calc(100% - 120px));margin:36px auto 0}.home-recent-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.home-recent-head h2{display:inline-flex;align-items:center;gap:8px;margin:0;color:#fff;font-size:19px;font-weight:900}.home-recent-head h2 svg{color:#7ee1d6}.home-recent-all{display:inline-flex;align-items:center;gap:4px;border:0;padding:6px 10px;border-radius:8px;color:#ffffffb8;background:transparent;font-size:13px;font-weight:800}.home-recent-all:hover{color:#fff;background:#ffffff1a}.home-recent-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}.home-recent-card{display:grid;gap:8px;justify-items:start;padding:18px 20px;border:1px solid rgba(255,255,255,.16);border-radius:14px;color:#fff;background:#0c152099;box-shadow:0 18px 44px #00000047,inset 0 1px #ffffff0f;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);text-align:left;transition:transform .16s ease,border-color .16s ease,background .16s ease}.home-recent-card:hover:not(:disabled){transform:translateY(-2px);border-color:#7ee1d673;background:#101c2ab8}.home-recent-card:disabled{opacity:.7;cursor:progress}.home-recent-card strong{max-width:100%;overflow:hidden;font-size:17px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.home-recent-status{padding:3px 10px;border-radius:999px;color:#ffffffd1;background:#ffffff1f;font-size:12px;font-weight:800}.home-recent-status.status-ready{color:#7ef0c0;background:#22c55e2e}.home-recent-status.status-generating{color:#ffd18a;background:#ff9a572e}.home-recent-status.status-failed{color:#ff9f9f;background:#ef44442e}.home-recent-meta{color:#fff9;font-size:13px}.home-recent-action{display:inline-flex;align-items:center;gap:6px;margin-top:2px;color:#7ee1d6;font-size:13px;font-weight:900}.home-recent-card-new{justify-content:center;align-content:center;justify-items:center;border-style:dashed;border-color:#ffffff42;background:#0c15205c;box-shadow:none;min-height:148px}.home-recent-card-new svg{color:#7ee1d6}.home-recent-empty{display:grid;gap:12px;justify-items:center;padding:30px 20px;border:1px dashed rgba(255,255,255,.26);border-radius:14px;background:#0c152070;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);text-align:center}.home-recent-empty p{margin:0;color:#ffffffad;font-size:14px}.home-recent-empty button{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 22px;border:0;border-radius:999px;color:#3b2205;background:linear-gradient(135deg,#ffd374,#ff9358);font-size:14px;font-weight:900}.home-toast{position:fixed;right:28px;bottom:28px;z-index:20}.script-config-main-panel{min-height:100vh;padding:0;background:#0b0c0f}.script-config-page{min-height:100vh;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:24px;padding:0 26px 20px;color:#e8e9ed;background:linear-gradient(180deg,rgba(255,124,36,.05),transparent 180px),#0b0c0f}.script-config-header{display:grid;grid-template-columns:minmax(190px,260px) minmax(0,1fr) auto;gap:24px;align-items:center;min-height:72px}.script-config-brand{display:flex;align-items:center;gap:12px;min-width:0}.script-config-brand img{width:auto;height:38px;border-radius:6px}.script-config-brand strong,.script-config-brand b{overflow:hidden;color:#f7f7f4;font-size:18px;line-height:1;text-overflow:ellipsis;white-space:nowrap}.script-config-brand span{width:1px;height:24px;background:#ffffff29}.script-flow{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;overflow:hidden}.script-flow.compact{justify-content:flex-start;min-height:58px;margin:-2px -4px 14px;padding:0 18px;border-radius:10px;background:#0b0c0f;overflow-x:auto}.script-flow-step{position:relative;display:inline-flex;align-items:center;gap:7px;min-width:0;color:#e8e9ed73;font-size:13px;font-weight:900;white-space:nowrap;background:transparent;border:none;outline:none;-moz-appearance:none;appearance:none;-webkit-appearance:none;padding:4px 6px;border-radius:8px;font:inherit}.script-flow-step:not(:last-child):after{content:"";width:32px;height:2px;margin-left:4px;background:linear-gradient(90deg,#ffffff73,#ffffff1f);border-radius:1px;flex:none}.script-flow-step i{display:grid;width:24px;height:24px;place-items:center;border-radius:999px;background:#ffffff1a;color:#e8e9ed9e;font-style:normal;font-size:12px}.script-flow-step.active{color:#ff8b3d}.script-flow-step.active i{color:#fff;background:linear-gradient(135deg,#ff8c38,#d85516);box-shadow:0 0 0 4px #ff7c241f}.script-flow-step.done{color:#e8e9edd9}.script-flow-step.done i{background:#ff7c2459;color:#ffd5b0}.script-flow-step.unlocked{color:#e8e9edb8}.script-flow-step.unlocked i{color:#dbe7ff;background:#6f8fd23d;box-shadow:inset 0 0 0 1px #adc7ff1f}.script-flow-step.clickable{cursor:pointer;transition:color .15s ease,background .15s ease,transform .15s ease}.script-flow-step.clickable:hover{color:#ff8b3d;background:#ff7c2414;transform:translateY(-1px)}.script-flow-step.clickable:hover i{background:linear-gradient(135deg,#ff8c38,#d85516);color:#fff}.script-flow-step:disabled{cursor:default}.script-flow-step.locked{color:#e8e9ed57;opacity:.72}.script-flow-step.locked i{color:#e8e9ed6b;background:#fff1;box-shadow:inset 0 0 0 1px #ffffff0a}.script-flow-step.locked:not(:last-child):after{background:linear-gradient(90deg,#ffffff29,#ffffff0e)}.script-flow-lock{flex:none;opacity:.62}.script-flow-step:focus-visible{box-shadow:0 0 0 2px #0b0c0f,0 0 0 4px #ff8b3d}.script-config-status{display:flex;align-items:center;justify-content:flex-end;gap:10px}.script-config-status span,.script-config-status button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:#ffffff14;color:#f3c06a;font-size:13px;font-weight:900}.script-config-status span{padding:0 13px}.script-config-status button{padding:0 15px;color:#ff8b3d}.script-config-stage{display:grid;grid-template-columns:minmax(360px,.42fr) minmax(0,.78fr);gap:28px;width:min(1640px,100%);margin:0 auto;align-self:start}.script-config-panel{min-width:0;border:1px solid rgba(255,255,255,.07);border-radius:10px;background:#202124;box-shadow:0 24px 70px #0000004d,inset 0 1px #ffffff0a}.script-project-panel{display:grid;align-content:start;gap:28px;max-height:min(820px,calc(100vh - 210px));overflow-y:auto;padding:30px 46px 34px}.script-generate-panel{display:grid;align-content:start;gap:28px;max-height:min(820px,calc(100vh - 210px));overflow-y:auto;padding:30px 44px 34px}.script-project-panel::-webkit-scrollbar,.script-generate-panel::-webkit-scrollbar{width:8px}.script-project-panel::-webkit-scrollbar-thumb,.script-generate-panel::-webkit-scrollbar-thumb{border-radius:999px;background:#fff3}.panel-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.panel-title-row span,.config-label,.config-field>span{display:block;color:#e8e9edad;font-size:14px;font-weight:900;line-height:1.35}.panel-title-row h1,.panel-title-row h2{margin:8px 0 0;color:#f8f8f5;line-height:1.18;letter-spacing:0}.panel-title-row h1{font-size:30px}.panel-title-row h2{font-size:22px}.panel-title-row svg{color:#ff8b3d}.config-field{display:grid;gap:12px;min-width:0}.project-name-input{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:58px;padding:0 18px;border-radius:9px;background:#2c2c2f}.project-name-input input{min-width:0;border:0;outline:0;background:transparent;color:#f6f6f2;font-size:15px;font-weight:800}.project-name-input input::placeholder,.script-source-field textarea::placeholder{color:#e8e9ed57}.project-name-input b{color:#e8e9ed8f;font-size:14px}.config-segment{display:grid;gap:10px}.config-segment.count-2{grid-template-columns:repeat(2,minmax(0,1fr))}.config-segment.count-4{grid-template-columns:repeat(4,minmax(0,1fr))}.aspect-ratio-selector{display:grid;gap:10px;min-width:0}.aspect-ratio-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.aspect-ratio-card{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr);min-width:0;min-height:128px;gap:12px;align-items:start;padding:15px 14px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:#232326e0;color:#f3f4f6;text-align:left;cursor:pointer;transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease,opacity .16s ease,filter .16s ease}.aspect-ratio-card:hover:not(:disabled){border-color:#ff7a1a73;transform:translateY(-2px);box-shadow:0 12px 28px #0000002e}.aspect-ratio-card.selected{border-color:#ff7a1a;background:linear-gradient(135deg,#ff7a1a38,#232326e6);box-shadow:0 0 24px #ff7a1a47,inset 0 0 20px #ff7a1a14}.aspect-ratio-card:disabled{cursor:not-allowed;opacity:.72;filter:grayscale(.28)}.aspect-ratio-card.unavailable{border-color:#ffffff0f;background:#1c1c1fd1}.ratio-icon{display:grid;width:44px;height:44px;place-items:center;border-radius:10px;background:#ffffff0f;box-shadow:inset 0 0 0 1px #ffffff14}.ratio-icon i{display:block;border:2px solid rgba(255,255,255,.78);border-radius:4px;background:linear-gradient(145deg,#ffffff24,#ffffff05)}.ratio-9-16 i{width:16px;height:30px}.ratio-16-9 i{width:32px;height:18px}.ratio-4-3 i{width:30px;height:22px}.ratio-3-4 i{width:22px;height:30px}.ratio-content{display:grid;min-width:0;gap:5px}.ratio-content strong{overflow-wrap:anywhere;color:#f8f8f5;font-size:14px;line-height:1.2}.ratio-content b{color:#ffad73;font-size:20px;line-height:1}.ratio-content small{overflow-wrap:anywhere;color:#e8e9ed94;font-size:12px;line-height:1.45}.selected-check{position:absolute;top:10px;right:10px;display:grid;width:22px;height:22px;place-items:center;border-radius:50%;background:#ff7a1a;color:#20140d;font-size:13px;font-weight:1000;box-shadow:0 0 16px #ff7a1a73}.ratio-disabled-note{grid-column:1 / -1;display:grid;gap:4px;align-self:end;padding-top:8px;border-top:1px solid rgba(255,255,255,.07)}.ratio-disabled-note strong{color:#ffad73;font-size:12px;font-weight:900}.ratio-disabled-note small{color:#e8e9ed9e;font-size:11px;line-height:1.45}.config-segment button,.model-choice,.style-card,.script-secondary-button,.script-start-button{cursor:pointer;transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease,color .16s ease}.config-segment button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:58px;border:1px solid transparent;border-radius:9px;background:#2d2d30;color:#e8e9ed8a;font-size:15px;font-weight:900}.config-segment button.active{border-color:#ec6b1d;background:#ec6b1d14;color:#f7f2ec;box-shadow:inset 0 0 0 1px #ec6b1d29}.script-source-field textarea{min-height:168px;resize:vertical;border:1px solid rgba(255,255,255,.06);border-radius:9px;outline:0;padding:16px 18px;background:#2c2c2f;color:#f6f6f2;font-size:14px;line-height:1.65}.script-source-field textarea:focus,.project-name-input:focus-within{border-color:#ec6b1d8c;box-shadow:0 0 0 3px #ec6b1d1f}.script-project-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.script-project-stats .studio-stat{border-color:#ffffff0f;background:#2b2c2f}.script-project-stats .studio-stat span{color:#e8e9ed8a}.script-project-stats .studio-stat strong{color:#f8f8f5}.script-project-stats .studio-stat svg{color:#ff8b3d}.generation-model-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:14px;align-items:start}.image-model-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.video-model-selector{width:320px;max-width:100%;padding:10px;border:1px solid rgba(255,255,255,.72);border-radius:10px;background:linear-gradient(180deg,#f8f9fb,#eef0f3);color:#25272d;box-shadow:0 16px 38px #0003}.video-model-selector.empty p{margin:10px 2px 2px;color:#68707d;font-size:12px;line-height:1.5}.video-model-title{padding:2px 2px 9px;color:#1e2128;font-size:14px;font-weight:900}.video-model-group+.video-model-group{margin-top:8px}.video-model-group-header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;width:100%;min-height:38px;padding:0 10px;border:1px solid #d9dde4;border-radius:8px;background:#fff;color:#2f333b;font-weight:900;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.video-model-group-header:hover{border-color:#f0a466;box-shadow:0 5px 16px #ec6b1d21}.video-model-group-header span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.video-model-group-header b{min-width:22px;height:22px;border-radius:999px;background:#f0f2f6;color:#68707d;font-size:12px;line-height:22px;text-align:center}.video-model-group-header i{width:8px;height:8px;border-right:2px solid #8b929f;border-bottom:2px solid #8b929f;transform:rotate(45deg);transition:transform .16s ease}.video-model-group.collapsed .video-model-group-header i{transform:rotate(-45deg)}.video-model-group-body{display:grid;gap:7px;overflow:hidden;max-height:340px;padding-top:8px;opacity:1;transition:max-height .18s ease,opacity .16s ease,padding-top .16s ease}.video-model-group.collapsed .video-model-group-body{max-height:0;padding-top:0;opacity:0}.video-model-option{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:9px;align-items:center;min-height:52px;padding:8px 10px;border:1px solid #dde1e7;border-radius:8px;background:#fdfdfd;color:#2b2f38;text-align:left;cursor:pointer;transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease}.video-model-option:hover:not(:disabled){transform:translateY(-1px);border-color:#ec6b1d85;box-shadow:0 8px 18px #ec6b1d1f}.video-model-option.selected{border-color:#ec6b1d;background:#fff7f0;box-shadow:inset 0 0 0 1px #ec6b1d2e}.video-model-option:disabled{cursor:not-allowed;opacity:.5}.video-model-radio{width:14px;height:14px;border:2px solid #b3bac5;border-radius:999px;background:#fff}.video-model-option.selected .video-model-radio{border-color:#ec6b1d;box-shadow:inset 0 0 0 3px #fff;background:#ec6b1d}.video-model-copy{display:grid;min-width:0;gap:3px}.video-model-copy strong,.video-model-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.video-model-copy strong{color:#1f232b;font-size:13px}.video-model-copy small{color:#737b88;font-size:11px}.video-model-option em{color:#b05a1a;font-size:11px;font-style:normal;white-space:nowrap}.model-picker-grid{display:grid;grid-template-columns:repeat(2,minmax(280px,1fr));gap:14px;align-items:start}.storyboard-model-guide{grid-column:1 / -1;display:grid;grid-template-columns:auto minmax(150px,auto) minmax(0,1fr);gap:10px 14px;align-items:center;min-width:0;padding:2px 2px 0}.storyboard-model-guide span{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:0 11px;border:1px solid rgba(236,107,29,.44);border-radius:999px;background:#ec6b1d1a;color:#ffb173;font-size:12px;font-weight:900;white-space:nowrap}.storyboard-model-guide strong{overflow:hidden;color:#f8f8f5;font-size:13px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.storyboard-model-guide small{overflow:hidden;color:#e8e9ed85;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.model-selector-card{position:relative;min-width:0}.model-selector-card.wide{grid-column:1 / -1}.model-selector-trigger{display:grid;grid-template-columns:48px minmax(0,1fr) 18px;gap:13px;align-items:center;width:100%;min-height:96px;padding:15px 16px;border:1px solid rgba(255,255,255,.16);border-radius:9px;background:#2d2d30;color:#e8e9edb8;text-align:left;cursor:pointer;transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease}.model-selector-trigger:hover:not(:disabled),.model-selector-card.open .model-selector-trigger{border-color:#ec6b1d94;box-shadow:inset 0 0 0 1px #ec6b1d1a}.model-selector-trigger:hover:not(:disabled){transform:translateY(-1px)}.model-selector-trigger:disabled{cursor:not-allowed;opacity:.56}.brand-mark{display:grid;width:44px;height:44px;place-items:center;border-radius:8px;background:linear-gradient(135deg,#10213a,#19164d 50%,#062f38);box-shadow:inset 0 1px #ffffff14}.brand-mark img{width:27px;height:27px;object-fit:contain}.brand-mark.brand-badge b{color:#fff;font-size:12px;font-weight:950;letter-spacing:-.02em}.brand-mark.brand-badge.black_forest_labs{background:#080808!important;border-color:#525252!important}.brand-mark.brand-badge.black_forest_labs b{font-size:9px;letter-spacing:-.06em}.brand-mark.brand-badge.openai{background:#101918!important;border-color:#47736c!important}.brand-mark.brand-badge.google,.brand-mark.brand-badge.google_vertex{background:linear-gradient(135deg,#4285f4,#34a853)!important;border-color:#6ea0f5!important}.brand-mark.brand-badge.stability_ai{background:#5b35d5!important;border-color:#8167de!important}.brand-mark.brand-badge.ideogram,.brand-mark.brand-badge.midjourney{background:#f2f3f5!important;border-color:#fff!important}.brand-mark.brand-badge.ideogram b,.brand-mark.brand-badge.midjourney b{color:#111!important}.brand-mark.brand-badge.volcengine{background:linear-gradient(135deg,#315cff,#7c45ef)!important;border-color:#758fff!important}.brand-mark.brand-badge.adobe_firefly{background:#e21f26!important;border-color:#f16a6e!important}.brand-mark.happyhorse{background:linear-gradient(135deg,#33201a,#4b2a11 52%,#141414)}.brand-mark.wan{background:linear-gradient(135deg,#201b4f,#0c4660 55%,#17151f)}.model-selector-copy{display:grid;min-width:0;gap:7px}.model-selector-copy b{color:#9eb7d6;font-size:13px;font-weight:900}.model-selector-copy strong{overflow:hidden;color:#f8f8f5;font-size:17px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.model-selector-copy small{overflow:hidden;color:#e8e9ed75;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.model-selector-arrow{width:9px;height:9px;justify-self:end;border-right:2px solid rgba(232,233,237,.52);border-bottom:2px solid rgba(232,233,237,.52);transform:rotate(45deg);transition:transform .16s ease}.model-selector-card.open .model-selector-arrow{transform:rotate(225deg)}.model-selector-menu{display:grid;gap:9px;margin-top:8px;padding:10px;border:1px solid rgba(255,255,255,.12);border-radius:9px;background:#232427;box-shadow:0 20px 45px #00000057}.model-selector-menu[hidden]{display:none}.model-selector-group-title{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;width:100%;min-height:34px;padding:0 8px;border:1px solid rgba(255,255,255,.08);border-radius:7px;background:#ffffff0a;color:#e8e9edc7;font-weight:900;cursor:pointer}.model-selector-group-title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-selector-group-title b{min-width:22px;height:22px;border-radius:999px;background:#ffffff14;color:#e8e9ed9e;font-size:12px;line-height:22px;text-align:center}.model-selector-group-title i{width:8px;height:8px;border-right:2px solid rgba(232,233,237,.5);border-bottom:2px solid rgba(232,233,237,.5);transform:rotate(45deg);transition:transform .16s ease}.model-selector-group.collapsed .model-selector-group-title i{transform:rotate(-45deg)}.model-selector-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;overflow:hidden;max-height:420px;padding-top:8px;opacity:1;transition:max-height .18s ease,opacity .16s ease,padding-top .16s ease}.model-selector-group.collapsed .model-selector-options{max-height:0;padding-top:0;opacity:0}.model-selector-option{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:10px;align-items:center;min-height:64px;padding:9px 10px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#2d2d30;color:#e8e9edb8;text-align:left;cursor:pointer;transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease}.model-selector-option:hover:not(:disabled){transform:translateY(-1px);border-color:#ec6b1d80}.model-selector-option.selected{border-color:#ec6b1db3;background:#ec6b1d17}.model-selector-option:disabled{cursor:not-allowed;opacity:.44}.model-selector-option span:not(.brand-mark){display:grid;min-width:0;gap:4px}.model-selector-option strong,.model-selector-option small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-selector-option strong{color:#f8f8f5;font-size:14px}.model-selector-option small{color:#e8e9ed75;font-size:11px}.model-selector-option em{color:#ff9853;font-size:11px;font-style:normal;white-space:nowrap}.model-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.model-choice{display:grid;gap:10px;min-width:0;padding:13px 16px;border:1px solid transparent;border-radius:9px;background:#2d2d30;color:#e8e9edb8;text-align:left}.model-choice.selected{border-color:#ec6b1d7a;box-shadow:inset 0 0 0 1px #ec6b1d1a}.model-choice:disabled{cursor:not-allowed;opacity:.48}.model-choice>span{color:#9eb7d6;font-size:13px;font-weight:900}.model-choice div{display:flex;align-items:center;gap:10px;min-width:0}.model-choice i{display:grid;width:40px;height:40px;flex:0 0 auto;place-items:center;border-radius:8px;color:#9bf1e8;background:linear-gradient(135deg,#10213a,#19164d 50%,#062f38);font-style:normal}.model-choice strong{overflow:hidden;color:#f8f8f5;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.model-choice p{margin:0 0 0 50px;color:#e8e9ed75;font-size:12px;line-height:1.45}.style-picker{display:grid;gap:12px;min-width:0}.style-strip{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:14px 12px;align-items:start}.style-card{position:relative;display:grid;gap:8px;min-width:0;padding:0;border:0;border-radius:8px;background:transparent;color:#e8e9ed;text-align:center}.style-card-image,.style-card-fallback{display:grid;width:100%;aspect-ratio:1 / 1;place-items:center;overflow:hidden;border:1px solid rgba(255,255,255,.14);border-radius:8px;background:#2b2c30;box-shadow:inset 0 1px #ffffff0d;transition:border-color .16s ease,box-shadow .16s ease,filter .16s ease}.style-card-image{object-fit:cover;filter:saturate(.96) contrast(1.04)}.style-card-fallback{color:#e8e9edad;background:linear-gradient(135deg,rgba(255,139,61,.18),transparent 52%),#2b2c30}.style-card-name{overflow:hidden;color:#f3f4f6;font-size:13px;font-weight:900;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.style-card-check{position:absolute;top:6px;right:6px;z-index:1;color:#fff;background:#ff8b3d;border-radius:999px;box-shadow:0 8px 16px #00000038}.style-card:hover .style-card-image,.style-card:hover .style-card-fallback{border-color:#ff8b3da8;box-shadow:0 0 0 2px #ff8b3d1f}.style-card.selected .style-card-image,.style-card.selected .style-card-fallback{border-color:#ff8b3d;box-shadow:0 0 0 2px #ff8b3d33,0 12px 26px #0000002e}.script-system-line{display:flex;flex-wrap:wrap;gap:8px;color:#e8e9ed8a;font-size:12px;font-weight:900}.script-system-line span{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:#ffffff12}.script-system-line .ready{color:#7ee1d6}.script-system-line .warn{color:#f3c06a}.script-action-bar{z-index:4;display:flex;align-items:center;justify-content:center;gap:14px;min-height:86px;padding:14px 0 0;background:linear-gradient(180deg,transparent,#0b0c0f 28%)}.script-secondary-button,.script-start-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:58px;border-radius:999px;font-size:16px;font-weight:950;white-space:nowrap}.script-secondary-button{min-width:150px;border:1px solid rgba(255,255,255,.12);background:#ffffff14;color:#e8e9edc7}.script-secondary-button input{display:none}.script-start-button{min-width:300px;border:0;color:#2b1908;background:linear-gradient(135deg,#ffd28a,#ff8b3d);box-shadow:0 18px 42px #ff8b3d47}.script-start-button:disabled{cursor:not-allowed;opacity:.54;filter:grayscale(.25)}.config-segment button:hover,.model-choice:hover,.style-card:hover,.script-secondary-button:hover,.script-start-button:not(:disabled):hover{transform:translateY(-1px)}.script-config-toast{position:fixed;right:28px;bottom:28px;z-index:30}.script-input-page{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:20px;min-height:calc(100vh - 34px);padding:18px 28px 0;background:#0b0c0f;color:#f5f7fb}.script-input-editor{position:relative;display:grid;min-height:0;width:min(100%,1458px);margin:0 auto;border-radius:7px;background:#202123;overflow:hidden}.script-input-editor textarea{width:100%;min-height:760px;resize:none;border:0;outline:0;padding:28px 32px 92px;background:transparent;color:#eef2f8;font-size:16px;font-weight:800;line-height:1.6}.script-input-editor textarea::placeholder{color:#8f98a8;opacity:1}.script-input-tools{position:absolute;right:32px;bottom:24px;left:32px;display:grid;grid-template-columns:auto minmax(90px,1fr) auto;align-items:center;gap:16px}.script-upload-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:fit-content;min-height:32px;padding:0 12px;border:0;border-radius:5px;background:#ffffff14;color:#fff;font-size:14px;font-weight:950}.script-upload-button input{display:none}.script-input-count{justify-self:end;color:#fff;font-size:14px;font-weight:900}.script-input-count.over-limit{color:#ff6b6b}.script-input-warning{display:inline-block;margin-left:12px;padding:4px 10px;background:#ff6b6b1f;border:1px solid rgba(255,107,107,.45);border-radius:6px;color:#ff8a8a;font-size:12px;font-weight:700;font-style:normal}.script-series-toggle{display:inline-flex;align-items:center;gap:10px;color:#f5f7fb;font-size:14px;font-weight:950}.script-series-toggle input{position:absolute;opacity:0;pointer-events:none}.script-series-toggle i{position:relative;width:40px;height:22px;border-radius:999px;background:#ff6a1a}.script-series-toggle i:after{content:"";position:absolute;top:3px;right:3px;width:16px;height:16px;border-radius:50%;background:#fff}.script-series-toggle input:not(:checked)+i{background:#ffffff2e}.script-series-toggle input:not(:checked)+i:after{right:21px}.script-input-actions{display:flex;justify-content:center;gap:14px;min-height:76px}.script-back-button,.script-next-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border-radius:999px;font-size:16px;font-weight:950}.script-back-button{min-width:150px;border:1px solid rgba(255,255,255,.12);background:#ffffff14;color:#d7dbe3}.script-next-button{min-width:332px;border:0;background:linear-gradient(135deg,#ff5f1f,#ff8b13);color:#fff;box-shadow:0 18px 42px #ff691a47}.script-next-button:disabled{cursor:not-allowed;opacity:.55}.blue-purple-workflow{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(circle at 10% 12%,rgba(91,197,255,.12),transparent 27%),radial-gradient(circle at 88% 18%,rgba(165,96,255,.14),transparent 31%),linear-gradient(180deg,rgba(24,47,81,.18),transparent 210px),#080b14}.blue-purple-workflow:before{position:absolute;z-index:0;top:-24%;right:-10%;bottom:-24%;left:-10%;content:"";pointer-events:none;opacity:.62;background:radial-gradient(circle at 24% 30%,rgba(83,202,255,.15),transparent 21%),radial-gradient(circle at 78% 24%,rgba(177,104,255,.15),transparent 23%),radial-gradient(circle at 54% 82%,rgba(87,104,255,.08),transparent 19%);filter:blur(12px);animation:smart-aurora-drift 15s ease-in-out infinite alternate}.blue-purple-workflow>*{position:relative;z-index:1}.blue-purple-workflow .script-config-header{border-bottom:1px solid rgba(132,189,255,.1);background:linear-gradient(90deg,#3e9fe306,#844acc09)}.blue-purple-workflow .script-config-brand img{box-shadow:0 8px 22px #428edc33}.blue-purple-workflow .script-flow-step.active{color:#b8e4ff;text-shadow:0 0 16px rgba(126,205,255,.5)}.blue-purple-workflow .script-flow-step.active i{color:#fff;background:linear-gradient(135deg,#6ed7ff,#8d7dff 55%,#c56cff);box-shadow:0 0 0 4px #78b0ff1f,0 0 22px #9667ff70;animation:smart-node-pulse 2.6s ease-in-out infinite}.blue-purple-workflow .script-flow-step.done i{color:#d8efff;background:linear-gradient(135deg,#60beff6b,#915cff61)}.blue-purple-workflow .script-flow-step.unlocked{color:#e1eeffc2}.blue-purple-workflow .script-flow-step.unlocked i{color:#e8f4ff;background:linear-gradient(135deg,#60beff47,#915cff3d);box-shadow:inset 0 0 0 1px #cfe2ff1f}.blue-purple-workflow .script-flow-step:not(:last-child):after{background:linear-gradient(90deg,#67d2ff8a,#ad69ff3d,#ffffff1a)}.blue-purple-workflow .script-flow-step.clickable:hover{color:#b8e4ff;background:#719aff14}.blue-purple-workflow .script-flow-step.clickable:hover i{color:#fff;background:linear-gradient(135deg,#62cfff,#a56aff)}.blue-purple-workflow .script-flow-step:focus-visible{box-shadow:0 0 0 2px #080b14,0 0 0 4px #8ba8ff}.blue-purple-workflow .script-flow-step.locked{color:#d6e2f752;opacity:.68;text-shadow:none}.blue-purple-workflow .script-flow-step.locked i{color:#dbe5f86b;background:#ffffff0e;box-shadow:inset 0 0 0 1px #ffffff0b}.blue-purple-workflow .script-flow-step.locked:not(:last-child):after{background:linear-gradient(90deg,#8db5ea24,#ae82e10e)}.blue-purple-workflow .script-config-status span,.blue-purple-workflow .script-config-status button{border-color:#8cbcff29;color:#c8dcff;background:linear-gradient(135deg,#4c9ddf17,#8f53ce17)}.blue-purple-workflow .script-config-status button{color:#d5b6ff}.project-config-active .script-config-stage{position:relative;animation:smart-panel-reveal .56s cubic-bezier(.2,.75,.22,1) both}.project-config-active .script-config-panel{position:relative;overflow:hidden;border:1px solid transparent;border-radius:17px;background:linear-gradient(145deg,#121d31f5,#1f1733f0) padding-box,linear-gradient(125deg,#66cfff75,#8e7eff3d,#c86fff57) border-box;box-shadow:0 26px 72px #040a1b52,inset 0 1px #ffffff0b}.project-config-active .script-config-panel:before{position:absolute;top:-120px;right:-100px;width:260px;height:260px;border-radius:50%;content:"";pointer-events:none;background:radial-gradient(circle,rgba(159,98,255,.15),transparent 68%);animation:smart-visual-glow 6.5s ease-in-out infinite alternate}.project-config-active .script-config-panel>*{position:relative;z-index:1}.project-config-active .script-project-panel::-webkit-scrollbar-thumb,.project-config-active .script-generate-panel::-webkit-scrollbar-thumb{background:linear-gradient(#66cfff,#a570ff)}.project-config-active .panel-title-row>div>span,.project-config-active .config-label,.project-config-active .config-field>span{color:#a9c8e3}.project-config-active .panel-title-row h1,.project-config-active .panel-title-row h2{color:transparent;background:linear-gradient(100deg,#eef9ff,#a6ddff 48%,#d9baff);background-clip:text;-webkit-background-clip:text}.project-config-active .panel-title-row svg{color:#ae8cff;filter:drop-shadow(0 0 10px rgba(159,111,255,.52));animation:smart-sparkle-breathe 2.8s ease-in-out infinite}.project-config-active .project-name-input,.project-config-active .script-source-field textarea{border:1px solid rgba(126,186,255,.13);background:linear-gradient(135deg,#1f2f48b8,#221d39b3);box-shadow:inset 0 1px #ffffff06}.project-config-active .script-source-field textarea:focus,.project-config-active .project-name-input:focus-within{border-color:#7ab8ff80;box-shadow:0 0 0 3px #7192ff1a,0 0 24px #9366ff14}.project-config-active .script-project-stats .studio-stat{border-color:#84beff1f;border-radius:12px;background:linear-gradient(135deg,#2b3e5b9e,#2d234594)}.project-config-active .script-project-stats .studio-stat svg{color:#9d91ff}.project-config-active .aspect-ratio-card,.project-config-active .config-segment button,.project-config-active .model-selector-trigger,.project-config-active .model-selector-option,.project-config-active .model-choice{border-color:#85bcff1c;background:linear-gradient(135deg,#24334db3,#26203cad)}.project-config-active .aspect-ratio-card:hover:not(:disabled),.project-config-active .model-selector-trigger:hover:not(:disabled),.project-config-active .model-selector-card.open .model-selector-trigger,.project-config-active .model-selector-option:hover:not(:disabled),.project-config-active .model-choice:hover{border-color:#7eb5ff80;box-shadow:0 12px 30px #4c57be29}.project-config-active .aspect-ratio-card.selected,.project-config-active .config-segment button.active,.project-config-active .model-selector-option.selected,.project-config-active .model-choice.selected{border-color:#7fa2ffb8;color:#f7f5ff;background:linear-gradient(135deg,#51aeff2e,#9d5dff30);box-shadow:0 0 26px #7681ff2e,inset 0 0 0 1px #ad81ff14}.project-config-active .ratio-icon{background:linear-gradient(135deg,#4dafff24,#9064ff21)}.project-config-active .ratio-content b,.project-config-active .model-selector-copy b{color:#a8d7ff}.project-config-active .selected-check,.project-config-active .style-card-check{color:#fff;background:linear-gradient(135deg,#5fcfff,#8f79ff 56%,#bd68ff);box-shadow:0 0 18px #8e74ff6b}.project-config-active .storyboard-model-guide span{border-color:#82b8ff57;color:#bce5ff;background:linear-gradient(90deg,#4cb0ff1a,#985bff1f)}.project-config-active .brand-mark{background:linear-gradient(135deg,#163f62,#312367 52%,#3a174e)}.project-config-active .model-selector-menu{border-color:#85b9ff29;background:#111827;box-shadow:0 24px 54px #0308187a}.project-config-active .style-card-image,.project-config-active .style-card-fallback{border-color:#89bfff24}.project-config-active .style-card:hover .style-card-image,.project-config-active .style-card:hover .style-card-fallback,.project-config-active .style-card.selected .style-card-image,.project-config-active .style-card.selected .style-card-fallback{border-color:#84aaffc2;box-shadow:0 0 0 2px #8b84ff29,0 12px 30px #2d2d7033}.project-config-active .script-system-line span{border:1px solid rgba(129,184,255,.08);color:#9eb5cc;background:linear-gradient(135deg,#4f9edd14,#8c52c114)}.project-config-active .script-system-line .ready{color:#a9e4ff}.project-config-active .script-action-bar{background:linear-gradient(180deg,transparent,#080b14 30%)}.project-config-active .script-secondary-button,.script-editor-active .script-back-button{border-color:#8bbeff2e;color:#cfdbeb;background:linear-gradient(135deg,#528bca1a,#854fbe1a)}.project-config-active .script-start-button,.script-editor-active .script-next-button{border:0;color:#fff;background:linear-gradient(110deg,#58c9ff,#747fff 46%,#b667ff 76%,#78d7ff);background-size:240% 100%;box-shadow:0 16px 40px #6277ff4d,0 0 24px #ae60ff26;animation:smart-button-flow 5s ease-in-out infinite}.script-editor-active .script-input-page{position:relative;isolation:isolate;grid-template-rows:auto minmax(0,1fr) auto;min-height:calc(100vh - 96px);padding:18px 28px 22px;overflow:hidden;border-radius:18px 18px 0 0;background:linear-gradient(150deg,rgba(28,49,84,.28),transparent 42%),linear-gradient(210deg,rgba(80,35,117,.23),transparent 46%),#090c15}.script-editor-active .script-input-page:before,.script-editor-active .script-input-page:after{position:absolute;z-index:-1;content:"";pointer-events:none}.script-editor-active .script-input-page:before{top:-30%;right:-12%;bottom:-30%;left:-12%;opacity:.68;background:radial-gradient(circle at 17% 31%,rgba(80,196,255,.2),transparent 22%),radial-gradient(circle at 79% 27%,rgba(157,97,255,.18),transparent 24%);filter:blur(10px);animation:smart-aurora-drift 13s ease-in-out infinite alternate}.script-editor-active .script-input-page:after{top:0;right:0;bottom:0;left:0;opacity:.2;background-image:linear-gradient(rgba(151,203,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(151,203,255,.07) 1px,transparent 1px);background-size:54px 54px;-webkit-mask-image:linear-gradient(to bottom,black,transparent 86%);mask-image:linear-gradient(to bottom,black,transparent 86%);animation:smart-grid-drift 18s linear infinite}.script-editor-intro,.script-editor-active .script-input-editor,.script-editor-active .script-input-actions{width:min(100%,1458px);margin-right:auto;margin-left:auto}.script-editor-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,.62fr);gap:28px;align-items:center;min-height:142px;padding:20px 26px;overflow:hidden;border:1px solid transparent;border-radius:17px;background:linear-gradient(135deg,#101c30f0,#1d1334eb) padding-box,linear-gradient(120deg,#67d3ff8f,#9e70ff6b,#df8bff33) border-box;box-shadow:0 22px 62px #0f2b5438,inset 0 1px #ffffff0d;animation:smart-panel-reveal .52s cubic-bezier(.2,.75,.22,1) both}.script-aurora-kicker{display:inline-flex;align-items:center;gap:7px;color:#a9dcff}.script-aurora-kicker svg{color:#b891ff;filter:drop-shadow(0 0 8px rgba(174,123,255,.68))}.script-aurora-kicker span{font-size:11px;font-weight:950;letter-spacing:.04em}.script-editor-intro h1{margin:6px 0 0;color:transparent;background:linear-gradient(100deg,#eaf8ff 4%,#9edcff 46%,#d7b7ff 92%);background-clip:text;-webkit-background-clip:text;font-size:clamp(25px,2vw,34px);line-height:1.15}.script-editor-intro p{margin:7px 0 0;color:#b3c1d5;font-size:13px;line-height:1.6}.script-editor-flow{display:flex;align-items:center;gap:8px;margin-top:13px}.script-editor-flow span{min-height:25px;padding:0 9px;border:1px solid rgba(131,191,255,.16);border-radius:999px;color:#b8d5eb;background:#5b9ee712;font-size:10px;font-weight:850;line-height:23px;white-space:nowrap}.script-editor-flow i{width:24px;height:1px;background:linear-gradient(90deg,#64d5ff,#a275ff);box-shadow:0 0 8px #74b1ff6b}.script-editor-status-card{display:grid;grid-template-columns:64px minmax(0,1fr);gap:15px;align-items:center;min-height:94px;padding:14px 16px;border:1px solid rgba(143,188,255,.14);border-radius:14px;background:linear-gradient(135deg,#4aa6f414,#9a58ff1a)}.script-editor-status-orbit{position:relative;display:grid;width:58px;height:58px;place-items:center;border:1px solid rgba(154,213,255,.24);border-radius:50%;color:#d8f3ff;background:radial-gradient(circle,rgba(135,111,255,.38),rgba(77,180,255,.1) 55%,transparent 72%);box-shadow:0 0 28px #6ca3ff33;animation:smart-orbit-float 4.8s ease-in-out infinite}.script-editor-status-orbit:after{position:absolute;top:7px;right:7px;bottom:7px;left:7px;border:1px solid rgba(172,139,255,.5);border-left-color:transparent;border-radius:50%;content:"";animation:spin 5s linear infinite}.script-editor-status-card small,.script-editor-status-card strong,.script-editor-status-card span{display:block}.script-editor-status-card small{color:#8acfff;font-size:8px;font-weight:900;letter-spacing:.15em}.script-editor-status-card strong{margin-top:5px;color:#f0f7ff;font-size:14px}.script-editor-status-card span{display:flex;align-items:center;gap:5px;margin-top:7px;color:#aabbd0;font-size:10px;font-weight:800}.script-editor-status-card span svg{color:#a899ff}.script-editor-active .script-input-editor{grid-template-rows:auto minmax(0,1fr);min-height:470px;border:1px solid transparent;border-radius:16px;background:linear-gradient(135deg,#101a2df5,#1d1830f0) padding-box,linear-gradient(120deg,#64ccff5c,#a369ff47) border-box;box-shadow:0 22px 60px #040a1a4d,inset 0 1px #ffffff09;animation:smart-panel-reveal .56s 80ms cubic-bezier(.2,.75,.22,1) both}.script-editor-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;padding:0 18px;border-bottom:1px solid rgba(135,187,255,.1);background:linear-gradient(90deg,#4ba1e50f,#8b50cc12)}.script-editor-toolbar>div,.script-editor-toolbar>span{display:flex;align-items:center}.script-editor-toolbar>div{gap:6px}.script-editor-toolbar>div i{width:7px;height:7px;border-radius:50%;background:#6bd3ff;box-shadow:0 0 8px #6bd3ff73}.script-editor-toolbar>div i:nth-child(2){background:#8e92ff}.script-editor-toolbar>div i:nth-child(3){background:#bd76ff}.script-editor-toolbar>div span{margin-left:5px;color:#86c4ec;font-size:9px;font-weight:900;letter-spacing:.15em}.script-editor-toolbar>span{gap:6px;color:#b9cae0;font-size:10px;font-weight:850}.script-editor-toolbar>span svg{color:#a88fff}.script-editor-active .script-input-editor textarea{min-height:430px;padding:26px 30px 92px;color:#eaf3ff;font-weight:700;caret-color:#8dd9ff;background:radial-gradient(circle at 92% 10%,rgba(158,99,255,.06),transparent 26%),transparent}.script-editor-active .script-input-editor textarea::selection{color:#fff;background:#7e7dff6b}.script-editor-active .script-input-tools{padding-top:14px;border-top:1px solid rgba(132,185,255,.08);background:linear-gradient(180deg,transparent,rgba(10,14,27,.72) 34%)}.script-editor-active .script-upload-button{border:1px solid rgba(129,189,255,.16);border-radius:999px;color:#d4e9f8;background:linear-gradient(135deg,#519fe01c,#8952c61c)}.script-editor-active .script-input-count{color:#b9cee0}.script-editor-active .script-series-toggle i{background:linear-gradient(90deg,#5bcfff,#8b7eff 55%,#b86bff);box-shadow:0 0 18px #7c89ff47}.script-editor-active .script-input-actions{animation:smart-panel-reveal .58s .16s cubic-bezier(.2,.75,.22,1) both}.smart-episode-active{background:radial-gradient(circle at 12% 14%,rgba(105,205,255,.12),transparent 28%),radial-gradient(circle at 86% 18%,rgba(165,102,255,.14),transparent 32%),#080b14}.smart-episode-active .script-config-header{position:relative;z-index:3;border-bottom:1px solid rgba(143,193,255,.1)}.smart-episode-active .script-flow-step.active{color:#b8e4ff;text-shadow:0 0 16px rgba(126,205,255,.5)}.smart-episode-active .script-flow-step.active i{background:linear-gradient(135deg,#6ed7ff,#8d7dff 55%,#c56cff);box-shadow:0 0 0 4px #78b0ff1f,0 0 22px #9667ff70;animation:smart-node-pulse 2.6s ease-in-out infinite}.smart-episode-active .script-flow-step.done i{color:#d8efff;background:linear-gradient(135deg,#60beff6b,#915cff61)}.smart-episode-active .script-flow-step:not(:last-child):after{background:linear-gradient(90deg,#67d2ff8a,#ad69ff3d,#ffffff1a)}.smart-episode-page{position:relative;isolation:isolate;display:grid;align-content:start;gap:16px;min-height:calc(100vh - 96px);padding:18px 28px 24px;overflow:hidden;border-radius:18px 18px 0 0;color:#f5f7fb;background:linear-gradient(150deg,rgba(28,49,84,.34),transparent 42%),linear-gradient(210deg,rgba(80,35,117,.26),transparent 46%),#090c15}.smart-episode-page:before,.smart-episode-page:after{position:absolute;z-index:-1;content:"";pointer-events:none}.smart-episode-page:before{top:-32%;right:-12%;bottom:-32%;left:-12%;opacity:.78;filter:blur(8px);background:radial-gradient(circle at 18% 34%,rgba(80,196,255,.22),transparent 23%),radial-gradient(circle at 78% 26%,rgba(157,97,255,.2),transparent 24%),radial-gradient(circle at 58% 78%,rgba(73,118,255,.12),transparent 22%);animation:smart-aurora-drift 13s ease-in-out infinite alternate}.smart-episode-page:after{top:0;right:0;bottom:0;left:0;opacity:.24;background-image:linear-gradient(rgba(151,203,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(151,203,255,.08) 1px,transparent 1px);background-size:54px 54px;-webkit-mask-image:linear-gradient(to bottom,black,transparent 78%);mask-image:linear-gradient(to bottom,black,transparent 78%);animation:smart-grid-drift 18s linear infinite}.smart-episode-page>*{position:relative;z-index:1}.smart-episode-intro,.smart-episode-summary,.smart-segmentation-warning,.smart-episode-list,.smart-episode-actions{width:min(100%,1458px);margin-right:auto;margin-left:auto}.smart-episode-intro{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.72fr);gap:34px;align-items:center;min-height:188px;padding:26px 30px;overflow:hidden;border:1px solid transparent;border-radius:18px;background:linear-gradient(135deg,#101c30f0,#1d1334eb) padding-box,linear-gradient(120deg,#67d3ff9e,#9e70ff7a,#df8bff3d) border-box;box-shadow:0 24px 70px #0f2b543d,inset 0 1px #ffffff0f;animation:smart-panel-reveal .56s cubic-bezier(.2,.75,.22,1) both}.smart-episode-intro:before{position:absolute;top:-80%;left:-20%;width:34%;height:260%;content:"";pointer-events:none;transform:rotate(18deg);background:linear-gradient(90deg,transparent,rgba(171,224,255,.11),transparent);animation:smart-sheen 8s ease-in-out infinite}.smart-episode-intro-copy{min-width:0}.smart-episode-kicker{display:inline-flex;align-items:center;gap:7px;color:#a9dcff}.smart-episode-kicker svg{color:#b891ff;filter:drop-shadow(0 0 8px rgba(174,123,255,.68))}.smart-episode-kicker span{font-size:12px;font-weight:950;letter-spacing:.04em}.smart-episode-intro h1{margin:8px 0 0;color:transparent;background:linear-gradient(100deg,#eaf8ff 4%,#9edcff 46%,#d7b7ff 92%);background-clip:text;-webkit-background-clip:text;font-size:clamp(28px,2.35vw,38px);letter-spacing:-.03em;line-height:1.12}.smart-episode-intro p{max-width:760px;margin:10px 0 0;color:#b8c5da;font-size:14px;line-height:1.7}.smart-episode-features{display:flex;gap:8px;flex-wrap:wrap;margin-top:17px}.smart-episode-features span{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border:1px solid rgba(133,196,255,.18);border-radius:999px;color:#b9d8f0;background:#699ee214;font-size:11px;font-weight:850}.smart-episode-visual{position:relative;display:grid;grid-template-columns:106px minmax(0,1fr);grid-template-rows:1fr auto;gap:8px 16px;align-items:center;min-height:132px;padding:16px 18px;overflow:hidden;border:1px solid rgba(149,179,255,.14);border-radius:15px;background:linear-gradient(135deg,#52b0ff14,#9752ff1a)}.smart-episode-visual:after{position:absolute;right:-28px;bottom:-58px;width:150px;height:150px;border-radius:50%;content:"";background:#ae63ff1f;filter:blur(28px);animation:smart-visual-glow 5.4s ease-in-out infinite alternate}.smart-episode-orbit{position:relative;grid-row:1 / 3;display:grid;width:92px;height:92px;place-items:center;border:1px solid rgba(144,214,255,.22);border-radius:50%;color:#e5f7ff;background:radial-gradient(circle,rgba(146,119,255,.48),rgba(78,180,255,.12) 42%,transparent 70%);box-shadow:0 0 38px #6fabff38,inset 0 0 28px #a06cff2e;animation:smart-orbit-float 4.8s ease-in-out infinite}.smart-episode-orbit:before,.smart-episode-orbit:after{position:absolute;border:1px solid rgba(154,201,255,.18);border-radius:50%;content:""}.smart-episode-orbit:before{top:9px;right:9px;bottom:9px;left:9px;border-right-color:#cd85ffc7;animation:spin 6s linear infinite}.smart-episode-orbit:after{top:20px;right:20px;bottom:20px;left:20px;border-top-color:#71daffeb;animation:spin 4s linear infinite reverse}.smart-episode-orbit i{position:absolute;z-index:2;width:6px;height:6px;border-radius:50%;background:#c9f1ff;box-shadow:0 0 12px #8bceff}.smart-episode-orbit i:nth-child(1){top:7px;left:43px}.smart-episode-orbit i:nth-child(2){right:5px;bottom:24px;background:#d7a8ff}.smart-episode-orbit i:nth-child(3){bottom:8px;left:20px}.smart-episode-orbit svg{z-index:3;filter:drop-shadow(0 0 12px rgba(190,211,255,.8));animation:smart-sparkle-breathe 2.5s ease-in-out infinite}.smart-episode-visual-copy{min-width:0}.smart-episode-visual-copy small,.smart-episode-visual-copy strong{display:block}.smart-episode-visual-copy small{color:#91cfff;font-size:9px;font-weight:900;letter-spacing:.17em}.smart-episode-visual-copy strong{max-width:210px;margin-top:7px;color:#eef7ff;font-size:14px;line-height:1.55}.smart-segmentation-badge{z-index:2;display:inline-flex;align-items:center;justify-self:start;gap:7px;min-height:32px;padding:0 11px;border:1px solid rgba(119,214,255,.26);border-radius:999px;color:#cef;background:linear-gradient(90deg,#4aafff1f,#975cff29);box-shadow:0 8px 24px #5c71ff1a}.smart-segmentation-badge svg{color:#b995ff}.smart-segmentation-badge span{color:#d7efff;font-size:11px;font-weight:900}.smart-segmentation-badge.warning{border-color:#fbbf2457;background:#fbbf241a}.smart-segmentation-badge.warning span{color:#fde68a}.smart-episode-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.smart-episode-summary article{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;min-height:78px;padding:13px 15px;overflow:hidden;border:1px solid rgba(130,190,255,.14);border-radius:14px;background:linear-gradient(135deg,#1a253be0,#19162de0);box-shadow:inset 0 1px #ffffff09;animation:smart-card-reveal .5s cubic-bezier(.2,.75,.22,1) both}.smart-episode-summary article:nth-child(2){animation-delay:70ms}.smart-episode-summary article:nth-child(3){animation-delay:.14s}.smart-episode-summary article:after{position:absolute;top:0;right:0;bottom:0;width:40%;content:"";opacity:.36;background:radial-gradient(circle at 100% 50%,rgba(99,194,255,.18),transparent 68%)}.smart-episode-summary article.segments:after{background:radial-gradient(circle at 100% 50%,rgba(134,126,255,.2),transparent 68%)}.smart-episode-summary article.mode:after{background:radial-gradient(circle at 100% 50%,rgba(196,104,255,.2),transparent 68%)}.smart-episode-stat-icon{z-index:1;display:grid;width:42px;height:42px;place-items:center;border:1px solid rgba(133,211,255,.18);border-radius:12px;color:#bfeaff;background:linear-gradient(135deg,#4fb9ff33,#7a74ff1f)}.segments .smart-episode-stat-icon{color:#c9c0ff}.mode .smart-episode-stat-icon{color:#e1b7ff}.smart-episode-stat-copy{z-index:1;min-width:0}.smart-episode-stat-copy span,.smart-episode-stat-copy strong{display:block}.smart-episode-stat-copy span{color:#91a1b8;font-size:11px;font-weight:850}.smart-episode-stat-copy strong{margin-top:4px;overflow:hidden;color:#f5f9ff;font-size:20px;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.smart-episode-summary article>small{z-index:1;padding:5px 8px;border-radius:999px;color:#aacfe8;background:#68b2ff14;font-size:10px;font-weight:850;white-space:nowrap}.smart-segmentation-warning{display:flex;align-items:center;gap:9px;padding:11px 14px;border:1px solid rgba(251,191,36,.3);border-radius:10px;color:#fde68a;background:#fbbf2414;font-size:13px;font-weight:800}.smart-episode-list{display:grid;align-content:start;gap:10px;min-height:220px;max-height:calc(100vh - 470px);padding:16px;overflow-y:auto;border:1px solid rgba(135,185,255,.1);border-radius:16px;background:#080c1775;box-shadow:inset 0 1px #ffffff06;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.smart-episode-list::-webkit-scrollbar{width:7px}.smart-episode-list::-webkit-scrollbar-thumb{border-radius:999px;background:linear-gradient(#6bcfff,#a872ff)}.smart-episode-list-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:2px 3px 8px}.smart-episode-list-heading>div span,.smart-episode-list-heading>div strong{display:block}.smart-episode-list-heading>div span{color:#7dbde6;font-size:9px;font-weight:900;letter-spacing:.16em}.smart-episode-list-heading>div strong{margin-top:3px;color:#eef7ff;font-size:15px}.smart-episode-list-heading>span{display:inline-flex;align-items:center;gap:6px;color:#c9dded;font-size:11px;font-weight:850}.smart-episode-list-heading>span svg{color:#9d8fff}.smart-episode-card{position:relative;display:grid;grid-template-columns:54px minmax(0,1fr);gap:15px;align-items:start;padding:16px 18px;overflow:hidden;border:1px solid rgba(140,190,255,.12);border-radius:13px;background:linear-gradient(115deg,#1d2a41d6,#1e1a32d1);box-shadow:0 10px 30px #04081424,inset 0 1px #ffffff08;animation:smart-card-reveal .52s cubic-bezier(.2,.75,.22,1) both;animation-delay:calc(var(--episode-index) * 70ms + .16s);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.smart-episode-card:before{position:absolute;top:0;bottom:0;left:0;width:3px;content:"";background:linear-gradient(180deg,#64d7ff,#8a81ff 55%,#c66fff);box-shadow:0 0 18px #7d9aff75}.smart-episode-card:after{position:absolute;top:-70%;left:-24%;width:24%;height:240%;content:"";pointer-events:none;transform:rotate(18deg);background:linear-gradient(90deg,transparent,rgba(171,224,255,.08),transparent);transition:left .65s ease}.smart-episode-card:hover{transform:translateY(-2px);border-color:#8ab6ff4d;box-shadow:0 16px 38px #1f2a5e33,0 0 0 1px #a16fff0d}.smart-episode-card:hover:after{left:108%}.smart-episode-number{display:grid;width:46px;height:46px;place-items:center;border:1px solid rgba(201,228,255,.2);border-radius:13px;color:#fff;background:linear-gradient(135deg,#5bc8ff,#7c83ff 54%,#b66dff);font-size:14px;font-weight:950;box-shadow:0 8px 24px #6489ff42,inset 0 1px #ffffff3d}.smart-episode-copy{min-width:0}.smart-episode-copy>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.smart-episode-copy strong{color:#f3f8ff;font-size:14px}.smart-episode-card-meta{display:flex;align-items:center;gap:8px}.smart-episode-card-meta span{display:inline-flex;align-items:center;gap:4px;min-height:24px;padding:0 8px;border-radius:999px;color:#9facc0;background:#76a0e812;font-size:10px;font-weight:850}.smart-episode-card-meta span:first-child{color:#b9dcf2}.smart-episode-card-meta svg{color:#9c8cff}.smart-episode-copy p{margin:8px 0 0;color:#cad4e3;font-size:14px;line-height:1.7;white-space:pre-wrap}.smart-episode-actions{display:flex;justify-content:center;gap:12px;min-height:72px;padding-top:4px;animation:smart-panel-reveal .6s .24s cubic-bezier(.2,.75,.22,1) both}.smart-episode-actions .script-back-button,.smart-episode-actions .script-secondary-button,.smart-episode-actions .script-next-button{min-height:48px;border-radius:999px}.smart-episode-actions .script-back-button,.smart-episode-actions .script-secondary-button{border-color:#8bbeff2e;color:#cfdbeb;background:linear-gradient(135deg,#528bca1a,#854fbe1a);box-shadow:inset 0 1px #ffffff09}.smart-episode-actions .script-secondary-button{min-width:170px}.smart-episode-actions .script-next-button{position:relative;overflow:hidden;background:linear-gradient(110deg,#58c9ff,#747fff 46%,#b667ff 76%,#78d7ff);background-size:240% 100%;color:#fff;box-shadow:0 16px 40px #6277ff4d,0 0 24px #ae60ff26;animation:smart-button-flow 5s ease-in-out infinite}.smart-episode-actions .script-next-button:hover:not(:disabled){box-shadow:0 20px 48px #6297ff61,0 0 30px #b468ff38}.blue-purple-workflow .script-config-header{box-shadow:inset 0 -1px #ffffff0b}.blue-purple-workflow .script-config-brand strong,.blue-purple-workflow .script-config-brand b{color:#fff;text-shadow:0 1px 16px rgba(255,255,255,.09)}.blue-purple-workflow .script-flow-step.done{color:#f8fbffe0}.blue-purple-workflow .script-config-status span,.blue-purple-workflow .script-config-status button{border-color:#ffffff26;background:linear-gradient(135deg,#ffffff16,#ffffff06),linear-gradient(135deg,#4c9ddf14,#8f53ce14);box-shadow:inset 0 1px #ffffff14}.project-config-active .script-config-panel{background:linear-gradient(145deg,#ffffff0e,#ffffff03) padding-box,linear-gradient(145deg,#121d31f7,#1f1733f2) padding-box,linear-gradient(125deg,#d8f3ff8f,#8e7eff4d,#e7bcff6b) border-box;box-shadow:0 26px 72px #040a1b52,inset 0 1px #ffffff21,inset 0 0 70px #ffffff03}.project-config-active .project-name-input,.project-config-active .script-source-field textarea{border-color:#ffffff21;background:linear-gradient(135deg,#ffffff12,#ffffff06),linear-gradient(135deg,#1f2f48a8,#221d39a3)}.project-config-active .project-name-input input,.project-config-active .script-source-field textarea,.project-config-active .script-project-stats .studio-stat strong{color:#fff}.project-config-active .script-project-stats .studio-stat,.project-config-active .aspect-ratio-card,.project-config-active .config-segment button,.project-config-active .model-selector-trigger,.project-config-active .model-selector-option,.project-config-active .model-choice{border-color:#ffffff1f;background:linear-gradient(135deg,#fff1,#ffffff05),linear-gradient(135deg,#24334da8,#26203ca3);box-shadow:inset 0 1px #ffffff0b}.project-config-active .aspect-ratio-card.selected,.project-config-active .config-segment button.active,.project-config-active .model-selector-option.selected,.project-config-active .model-choice.selected{background:linear-gradient(135deg,#ffffff1b,#ffffff06),linear-gradient(135deg,#51aeff2e,#9d5dff30);box-shadow:0 0 26px #7681ff2e,inset 0 1px #ffffff29,inset 0 0 0 1px #ad81ff14}.project-config-active .style-card-name,.project-config-active .storyboard-model-guide strong,.project-config-active .model-selector-copy strong{color:#fff}.project-config-active .script-system-line span,.smart-episode-features span,.script-editor-flow span,.smart-episode-card-meta span,.smart-segmentation-badge{border-color:#ffffff21;background:linear-gradient(135deg,#ffffff13,#ffffff05),linear-gradient(135deg,#4f9edd12,#8c52c112);box-shadow:inset 0 1px #ffffff0b}.project-config-active .script-secondary-button,.script-editor-active .script-back-button,.smart-episode-actions .script-back-button,.smart-episode-actions .script-secondary-button{border-color:#fff3;color:#f4f8ff;background:linear-gradient(135deg,#ffffff1d,#ffffff09),linear-gradient(135deg,#528bca14,#854fbe14);box-shadow:inset 0 1px #ffffff1f,0 10px 26px #050a191f}.project-config-active .script-start-button,.script-editor-active .script-next-button,.smart-episode-actions .script-next-button{box-shadow:0 16px 40px #6277ff4d,0 0 24px #ae60ff26,inset 0 1px #ffffff6b}.script-editor-intro,.smart-episode-intro{background:linear-gradient(135deg,#ffffff0e,#ffffff03) padding-box,linear-gradient(135deg,#101c30f2,#1d1334ed) padding-box,linear-gradient(120deg,#dcf6ffa3,#9e70ff7a,#ecc4ff61) border-box;box-shadow:0 24px 70px #0f2b543d,inset 0 1px #ffffff26}.script-editor-status-card,.smart-episode-visual{border-color:#ffffff29;background:linear-gradient(135deg,#ffffff16,#ffffff06),linear-gradient(135deg,#4aa6f412,#9a58ff17);box-shadow:inset 0 1px #ffffff14}.script-editor-active .script-input-editor{background:linear-gradient(135deg,#ffffff0e,#ffffff03) padding-box,linear-gradient(135deg,#101a2df7,#1d1830f2) padding-box,linear-gradient(120deg,#d5f2ff80,#b991ff61) border-box;box-shadow:0 22px 60px #040a1a4d,inset 0 1px #ffffff21}.script-editor-toolbar{border-bottom-color:#ffffff1a;background:linear-gradient(90deg,#ffffff14,#ffffff06),linear-gradient(90deg,#4ba1e50d,#8b50cc0f)}.script-editor-active .script-upload-button{border-color:#ffffff2e;color:#fff;background:linear-gradient(135deg,#ffffff1a,#ffffff06),linear-gradient(135deg,#519fe017,#8952c617)}.smart-episode-summary article,.smart-episode-list,.smart-episode-card{border-color:#ffffff1f;background:linear-gradient(135deg,#ffffff0f,#ffffff04),linear-gradient(135deg,#1a253bd6,#19162dd6);box-shadow:inset 0 1px #fff1,0 10px 30px #0408141f}.smart-episode-list{background:linear-gradient(135deg,#ffffff0a,#ffffff03),#080c1780}.smart-episode-copy strong,.smart-episode-list-heading>div strong,.smart-episode-stat-copy strong,.script-editor-status-card strong,.smart-episode-visual-copy strong{color:#fff}.project-config-active>.project-particle-layer{position:absolute;z-index:0;top:72px;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none;contain:paint}.script-editor-active>.script-particle-layer{position:absolute;z-index:0;top:72px;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none;contain:paint}.workflow-particle-layer i{position:absolute;top:var(--particle-y);left:var(--particle-x);width:var(--particle-size);height:var(--particle-size);border-radius:50%;opacity:0;background:#fff;box-shadow:0 0 8px #ffffffdb,0 0 18px #a5daff6b;will-change:transform,opacity;animation:project-particle-rise var(--particle-duration) linear var(--particle-delay) infinite}.workflow-particle-layer i:nth-child(3n+2){background:#d9f4ff;box-shadow:0 0 9px #daf6ffe6,0 0 22px #5dc5ff75}.workflow-particle-layer i:nth-child(3n){background:#f1e7ff;box-shadow:0 0 9px #f6edffe6,0 0 22px #b577ff6b}.project-config-active .script-config-panel:before{position:absolute;z-index:0;top:0;right:0;bottom:0;left:0;width:auto;height:auto;border-radius:inherit;opacity:.38;content:"";pointer-events:none;background-image:radial-gradient(circle,rgba(255,255,255,.82) 0 1px,transparent 1.8px),radial-gradient(circle,rgba(183,231,255,.72) 0 1.2px,transparent 2px),radial-gradient(circle,rgba(224,198,255,.68) 0 1px,transparent 1.9px);background-size:124px 142px,176px 198px,228px 244px;background-position:18px 22px,76px 112px,134px 54px;filter:drop-shadow(0 0 4px rgba(213,239,255,.34));animation:project-panel-particle-drift 20s linear infinite}.project-config-active .script-generate-panel:before{animation-duration:24s;animation-direction:reverse}.script-editor-intro:before,.script-editor-active .script-input-editor:before{position:absolute;z-index:0;top:0;right:0;bottom:0;left:0;border-radius:inherit;opacity:.4;content:"";pointer-events:none;background-image:radial-gradient(circle,rgba(255,255,255,.86) 0 1px,transparent 1.8px),radial-gradient(circle,rgba(183,231,255,.76) 0 1.2px,transparent 2px),radial-gradient(circle,rgba(224,198,255,.7) 0 1px,transparent 1.9px);background-size:132px 148px,184px 206px,236px 252px;background-position:24px 18px,82px 106px,142px 48px;filter:drop-shadow(0 0 4px rgba(213,239,255,.35));animation:project-panel-particle-drift 22s linear infinite}.script-editor-active .script-input-editor:before{opacity:.26;animation-duration:26s;animation-direction:reverse}.script-editor-intro:after,.script-editor-active .script-input-editor:after{position:absolute;z-index:0;top:-72%;left:-34%;width:18%;height:250%;content:"";pointer-events:none;transform:rotate(17deg);opacity:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent);animation:project-panel-white-sheen 10.5s ease-in-out infinite}.script-editor-active .script-input-editor:after{animation-delay:-5.2s}.script-editor-intro>*,.script-editor-active .script-editor-toolbar,.script-editor-active .script-input-editor textarea{position:relative;z-index:1}.script-editor-active .script-input-tools{z-index:2}.script-editor-intro,.script-editor-active .script-input-editor{position:relative;border-color:#ffffff3d;box-shadow:0 26px 72px #040a1b4d,inset 0 1px #ffffff38,inset 0 0 84px #ffffff05}.script-editor-intro{background:linear-gradient(135deg,#ffffff16,#ffffff06) padding-box,linear-gradient(135deg,#101c30f0,#1d1334eb) padding-box,linear-gradient(120deg,#effaffc7,#9c8fff66,#f4dcff8f) border-box}.script-editor-active .script-input-editor{background:linear-gradient(135deg,#fff1,#ffffff03) padding-box,linear-gradient(135deg,#172136,#211b3b 58%,#18172d) padding-box,linear-gradient(120deg,#ebf8ffb3,#b991ff70) border-box}.script-editor-active .script-input-editor textarea{background:linear-gradient(135deg,#0911208f,#1f18337a),radial-gradient(circle at 92% 10%,rgba(158,99,255,.045),transparent 26%)}.script-editor-toolbar,.script-editor-status-card,.script-editor-active .script-upload-button,.script-editor-active .script-back-button{border-color:#fff3;box-shadow:inset 0 1px #ffffff1c}.script-editor-toolbar{background:linear-gradient(90deg,#ffffff1c,#ffffff08),linear-gradient(90deg,#4ba1e50d,#8b50cc0f)}.project-config-active .script-config-panel{border-color:#ffffff3b;background:linear-gradient(145deg,#ffffff16,#ffffff06) padding-box,linear-gradient(145deg,#121d31f2,#1f1733ed) padding-box,linear-gradient(125deg,#effaffc7,#9c8fff61,#f4dcff94) border-box;box-shadow:0 28px 76px #040a1b57,inset 0 1px #ffffff38,inset 0 0 86px #ffffff05}.project-config-active .script-config-panel:after{position:absolute;z-index:0;top:-72%;left:-34%;width:18%;height:250%;content:"";pointer-events:none;transform:rotate(17deg);opacity:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.105),transparent);animation:project-panel-white-sheen 10s ease-in-out infinite}.project-config-active .script-generate-panel:after{animation-delay:-4.8s}.project-config-active .project-name-input,.project-config-active .script-source-field textarea,.project-config-active .script-project-stats .studio-stat,.project-config-active .aspect-ratio-card,.project-config-active .config-segment button,.project-config-active .model-selector-trigger,.project-config-active .model-selector-option,.project-config-active .model-choice{border-color:#ffffff2b;box-shadow:inset 0 1px #ffffff13}.project-config-active .ratio-icon,.project-config-active .brand-mark{border:1px solid rgba(255,255,255,.14);box-shadow:inset 0 1px #ffffff1f,0 8px 20px #1b2b6124}.project-config-active .script-action-bar:before{position:absolute;top:0;left:50%;width:min(760px,80vw);height:1px;content:"";transform:translate(-50%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.38),transparent);box-shadow:0 0 18px #b7dcff33}.project-config-active .script-action-bar{position:relative}@keyframes project-particle-rise{0%{opacity:0;transform:translate3d(0,26px,0) scale(.65)}15%{opacity:.78}68%{opacity:.42}to{opacity:0;transform:translate3d(var(--particle-drift),-150px,0) scale(1.18)}}@keyframes project-panel-white-sheen{0%,48%{left:-34%;opacity:0}56%{opacity:.7}76%,to{left:118%;opacity:0}}@keyframes project-panel-particle-drift{0%{background-position:18px 22px,76px 112px,134px 54px}50%{background-position:42px -34px,48px 58px,166px -12px}to{background-position:66px -90px,20px 4px,198px -78px}}@keyframes smart-aurora-drift{0%{transform:translate3d(-2%,-1%,0) scale(1)}55%{transform:translate3d(3%,2%,0) scale(1.08)}to{transform:translate3d(-1%,4%,0) scale(1.03)}}@keyframes smart-grid-drift{to{background-position:54px 54px}}@keyframes smart-panel-reveal{0%{opacity:0;transform:translateY(12px) scale(.992)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes smart-card-reveal{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes smart-sheen{0%,55%{left:-28%;opacity:0}63%{opacity:1}82%,to{left:112%;opacity:0}}@keyframes smart-orbit-float{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}@keyframes smart-sparkle-breathe{0%,to{opacity:.72;transform:scale(.9)}50%{opacity:1;transform:scale(1.08)}}@keyframes smart-visual-glow{0%{transform:translateZ(0) scale(.9);opacity:.55}to{transform:translate3d(-24px,-12px,0) scale(1.15);opacity:1}}@keyframes smart-node-pulse{0%,to{box-shadow:0 0 0 4px #78b0ff1f,0 0 16px #9667ff52}50%{box-shadow:0 0 0 6px #78b0ff0f,0 0 28px #9667ff8f}}@keyframes smart-button-flow{0%,to{background-position:0% 50%}50%{background-position:100% 50%}}.script-strip{display:grid;grid-template-columns:220px minmax(0,1fr) auto;gap:14px;align-items:center;margin:16px 0 12px;padding:14px;border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(90deg,#eef6fbe6,#fff 42%),var(--surface);box-shadow:var(--shadow-soft)}.script-copy{display:grid;gap:5px}.script-copy strong{color:var(--ink-strong);font-size:14px;line-height:1.4}.script-strip textarea{width:100%;min-height:58px;max-height:160px;resize:vertical;border:1px solid var(--line);border-radius:var(--radius);padding:10px 12px;outline:0;color:var(--ink);background:#fff;font-size:13px;line-height:1.55}.script-strip textarea:focus,.field input:focus,.field textarea:focus,.field select:focus{border-color:#0f766e7a;box-shadow:0 0 0 3px #0f766e1a}.script-strip button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;border:0;border-radius:var(--radius);background:var(--amber-soft);color:#835012;font-size:13px;font-weight:900;white-space:nowrap}.studio-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.studio-stat{display:flex;align-items:center;gap:10px;min-width:0;padding:11px 12px;border:1px solid var(--line);border-radius:var(--radius);background:#ffffffd1}.studio-stat svg{color:var(--teal);flex:0 0 auto}.studio-stat strong{display:block;margin-top:3px;color:var(--ink-strong);font-size:16px;line-height:1.2}.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px;align-items:start}.storyboard-area,.inspector,.bottom-rail{border:1px solid var(--line);border-radius:var(--radius);background:#fffffff0;box-shadow:var(--shadow)}.storyboard-area{min-width:0;padding:16px}.workspace-title{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:start;margin-bottom:16px}.workspace-title h1{margin:4px 0 0;color:var(--ink-strong);font-size:24px;line-height:1.16;letter-spacing:0}.icon-button{display:grid;width:34px;height:34px;place-items:center;border:1px solid var(--line);border-radius:var(--radius);background:#fff;color:#475569}.icon-button.active{border-color:#b7791f5c;color:var(--amber);background:var(--amber-soft)}.mode-tabs{display:inline-flex;padding:4px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-soft)}.mode-tabs button{height:30px;padding:0 12px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:12px;font-weight:800;white-space:nowrap}.mode-tabs .active{background:#fff;color:var(--teal-dark);box-shadow:0 4px 10px #17212b0f}.scene-board{display:grid;gap:12px}.scene-board+.scene-board{margin-top:18px}.scene-header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:12px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-soft)}.scene-header strong{display:block;margin-top:4px;color:var(--ink-strong);font-size:16px}.scene-header p{max-width:560px;margin:0;color:var(--muted);font-size:13px;line-height:1.5;text-align:right}.shot-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(172px,1fr));gap:12px}.mode-view{display:grid;gap:14px}.view-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:14px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-soft)}.view-intro>div:first-child{min-width:0}.view-intro span,.episode-script-copy span{color:var(--teal-dark);font-size:11px;font-weight:900}.view-intro strong{display:block;margin-top:5px;color:var(--ink-strong);font-size:17px}.view-intro p{max-width:680px;margin:7px 0 0;color:var(--muted);font-size:12px;line-height:1.55}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}.project-tile{display:grid;min-width:0;gap:10px;padding:14px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;color:var(--ink);text-align:left}.project-tile:hover{border-color:#0f766e6b;box-shadow:var(--shadow-soft)}.project-tile.active{border-color:#0f766eb8;box-shadow:0 0 0 3px #0f766e1a}.project-tile-head,.project-credit-line{display:flex;align-items:center;justify-content:space-between;gap:10px}.project-mark{display:grid;width:36px;height:36px;place-items:center;border-radius:7px;color:var(--teal-dark);background:var(--teal-soft)}.project-state{padding:4px 7px;border-radius:5px;color:var(--teal-dark);background:var(--teal-soft);font-size:10px;font-weight:900}.project-tile>strong{overflow:hidden;color:var(--ink-strong);font-size:15px;text-overflow:ellipsis;white-space:nowrap}.project-tile>p{min-height:36px;margin:0;color:var(--muted);font-size:12px;line-height:1.5}.project-tile-meta{display:flex;flex-wrap:wrap;gap:6px}.project-tile-meta span{padding:4px 6px;border:1px solid var(--line);border-radius:5px;color:var(--muted);background:var(--surface-soft);font-size:10px;font-weight:800}.project-credit-line{padding-top:10px;border-top:1px solid var(--line);color:var(--muted);font-size:11px}.project-credit-line strong{color:var(--amber);font-size:15px}.episode-script-list{display:grid;gap:10px}.episode-script-card{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:14px;align-items:center;min-width:0;padding:13px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}.episode-number{display:grid;width:48px;height:48px;place-items:center;border-radius:7px;color:var(--teal-dark);background:var(--teal-soft);font-size:16px;font-weight:900}.episode-script-copy{min-width:0}.episode-script-copy strong{display:block;margin-top:4px;color:var(--ink-strong);font-size:14px}.episode-script-copy p{margin:5px 0 0;overflow:hidden;color:var(--muted);font-size:12px;line-height:1.5;text-overflow:ellipsis;white-space:nowrap}.episode-script-stats{display:flex;align-items:center;gap:6px}.episode-script-stats span{min-width:52px;padding:6px 7px;border:1px solid var(--line);border-radius:5px;color:var(--muted);background:var(--surface-soft);font-size:10px;font-weight:800;text-align:center}.library-count{display:grid;grid-template-columns:auto auto;align-items:center;gap:2px 8px;min-width:118px;padding:9px 11px;border:1px solid var(--line);border-radius:var(--radius);color:var(--teal-dark);background:#fff}.library-count svg{grid-row:1 / 3}.library-count strong{margin:0;font-size:16px}.library-count span{color:var(--muted);font-size:10px}.focused-library .asset-group{background:#fff}.character-workspace-grid{grid-template-columns:minmax(0,1fr)}.storyboard-area.character-shell-area{padding:0;border-color:#25272c;background:#0f1013;box-shadow:0 22px 70px #0000002e;overflow:hidden}.character-library-page,.character-detail-view{min-height:calc(100vh - 138px);padding:26px;color:#f8fafc;background:linear-gradient(135deg,rgba(255,122,26,.08),transparent 360px),linear-gradient(180deg,#111216,#0b0c0f)}.character-library-header,.character-drawer-header,.character-detail-panel header{display:flex;align-items:center;justify-content:space-between;gap:18px}.character-library-header span,.character-drawer-header span,.character-detail-panel header span{color:#a7adb7;font-size:12px;font-weight:800}.character-library-header h1,.character-drawer-header h2,.character-detail-panel header h2{margin:4px 0 0;color:#fff;font-size:24px;line-height:1.18}.character-header-actions,.character-detail-actions,.character-drawer-footer{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.orange-button,.dark-ghost-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 18px;border-radius:8px;font-size:13px;font-weight:900;white-space:nowrap;transition:transform .16s ease,border-color .16s ease,background .16s ease}.orange-button{border:1px solid rgba(255,145,64,.84);color:#1b1208;background:linear-gradient(135deg,#ffd56a,#ff7a1a);box-shadow:0 12px 28px #ff7a1a42}.dark-ghost-button{border:1px solid rgba(255,255,255,.12);color:#f3f4f6;background:#ffffff14}.orange-button:hover,.dark-ghost-button:hover{transform:translateY(-1px)}.dark-ghost-button:hover{border-color:#ff7a1a73;background:#ff7a1a24}.icon-button.dark{border-color:#ffffff1f;color:#f8fafc;background:#ffffff14}.character-library-tabs{display:inline-flex;gap:6px;margin-top:22px;padding:4px;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#ffffff0f}.character-library-tabs button{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 14px;border:0;border-radius:6px;color:#aeb5c1;background:transparent;font-size:12px;font-weight:900}.character-library-tabs .active{color:#0b0c0f;background:#f8fafc}.character-library-tabs button:disabled{opacity:.48;cursor:not-allowed}.character-style-slider{display:flex;gap:10px;grid-column:1 / -1;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin;scrollbar-color:rgba(110,168,255,.5) transparent}.character-style-slider::-webkit-scrollbar{height:8px}.character-style-slider::-webkit-scrollbar-thumb{border-radius:999px;background:linear-gradient(90deg,#66cfffe6,#9765ffe6)}.character-style-slider button{flex:0 0 auto;min-height:40px;padding:0 16px;border:1px solid rgba(255,255,255,.12);border-radius:999px;color:#d3def6;background:#0a0b0e9e;font-size:13px;font-weight:900;white-space:nowrap;transition:transform .16s ease,border-color .16s ease,color .16s ease,background .16s ease,box-shadow .16s ease}.character-style-slider button:hover{transform:translateY(-1px);border-color:#73aeff73;color:#fff}.character-style-slider button.active{color:#fff;border-color:#6fb0ff7a;background:linear-gradient(135deg,#4e88ff4d,#965dff57);box-shadow:inset 0 1px #ffffff1f,0 10px 26px #23347333}.character-filter-bar{display:grid;grid-template-columns:minmax(220px,1fr) repeat(3,minmax(132px,160px));gap:10px;margin-top:18px;padding:12px;border:1px solid rgba(255,255,255,.11);border-radius:8px;background:#ffffff0f}.character-search,.character-select,.character-form-grid label,.prompt-section label,.character-generate-row label{display:grid;gap:7px;color:#c9ced8;font-size:12px;font-weight:800}.character-search{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;min-height:42px;padding:0 12px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#0a0b0eb8}.character-search input,.character-select select,.character-form-grid input,.character-form-grid select,.prompt-section textarea,.character-generate-row input,.character-generate-row select{min-width:0;width:100%;border:1px solid rgba(255,255,255,.1);border-radius:8px;color:#f8fafc;background:#0a0b0ec7;outline:0}.character-search input{height:38px;padding:0;border:0;background:transparent}.character-select select,.character-form-grid input,.character-form-grid select,.character-generate-row input,.character-generate-row select{height:42px;padding:0 11px}.prompt-section textarea{min-height:84px;padding:11px;resize:vertical}.character-search input::placeholder,.character-form-grid input::placeholder,.prompt-section textarea::placeholder{color:#6f7682}.character-library-meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.character-library-meta span,.character-notice{display:inline-flex;align-items:center;gap:7px;min-height:30px;padding:0 10px;border-radius:8px;color:#ccd2dc;background:#ffffff12;font-size:12px;font-weight:800}.character-notice{margin-top:14px;color:#ecfeff;border:1px solid rgba(94,234,212,.22);background:#14b8a621}.detail-notice{margin:12px 0 0}.character-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(228px,1fr));gap:14px;margin-top:20px}.character-card,.character-create-card{position:relative;overflow:hidden;min-height:330px;border:1px solid rgba(255,255,255,.12);border-radius:8px;color:#f8fafc;background:#202124;cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.character-card:hover,.character-create-card:hover,.character-card.selected{transform:translateY(-2px);border-color:#ff7a1af2;box-shadow:0 18px 38px #00000038}.character-card.selected:after{position:absolute;top:10px;right:10px;display:grid;width:24px;height:24px;place-items:center;border-radius:8px;color:#fff;background:#ff7a1a;content:"✓";font-size:15px;font-weight:900;z-index:4}.character-card-button{display:none}.character-card-image{position:relative;height:244px;background:#111216}.character-card-image img{width:100%;height:100%;object-fit:cover;display:block}.character-card-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:flex-end;justify-content:center;gap:8px;padding:14px;background:linear-gradient(180deg,transparent 30%,rgba(0,0,0,.68) 100%);opacity:0;transition:opacity .16s ease;z-index:5}.character-card:hover .character-card-overlay{opacity:1}.character-card-overlay button{display:grid;width:34px;height:34px;place-items:center;border:1px solid rgba(255,255,255,.18);border-radius:8px;color:#f8fafc;background:#1c1d21d1;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.character-card-overlay button:hover{border-color:#ff7a1adb;color:#ffbf72}.character-card-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-height:52px;padding:12px 14px 8px;background:#202124}.character-card-footer strong{color:#fff;font-size:15px;line-height:1.2}.character-card-footer span,.character-card-footer p{margin:0;color:#b6bdc8;font-size:12px;font-weight:800}.character-card-footer div{display:grid;gap:4px;min-width:0}.character-card-tags{display:flex;gap:6px;overflow:hidden;padding:0 14px 14px}.character-card-tags span,.character-tag-cloud b{flex:0 0 auto;max-width:100%;overflow:hidden;padding:5px 8px;border-radius:8px;color:#dce2eb;background:#ffffff14;font-size:11px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.character-card-tags span:first-child{color:#ffbf72;background:#ff7a1a21}.character-create-card{display:grid;align-content:center;justify-items:center;gap:10px;padding:24px;border-style:dashed;background:linear-gradient(135deg,#ff7a1a1f,#ffffff08),#1a1b1f;text-align:center}.character-create-card span{display:grid;width:58px;height:58px;place-items:center;border-radius:8px;color:#ffbf72;background:#ff7a1a24}.character-create-card strong{color:#fff;font-size:17px}.character-create-card p{max-width:190px;margin:0;color:#9ca3af;font-size:12px;line-height:1.6}.character-empty-state{display:grid;justify-items:center;gap:8px;margin-top:22px;padding:42px;border:1px dashed rgba(255,255,255,.14);border-radius:8px;color:#9ca3af;background:#ffffff0d}.character-empty-state strong{color:#fff;font-size:16px}.character-back-button{display:inline-flex;align-items:center;gap:6px;border:0;color:#aeb5c1;background:transparent;font-size:13px;font-weight:800}.character-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,520px);gap:28px;margin-top:12px;align-items:stretch}.character-detail-stage,.character-detail-panel{border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#202124;overflow:hidden}.character-detail-stage{display:grid;min-height:560px;place-items:center;background:linear-gradient(180deg,#3a3c40,#222326)}.character-detail-stage img{width:100%;height:100%;max-height:760px;object-fit:cover;display:block}.character-detail-panel{display:flex;flex-direction:column;gap:18px;padding:26px 30px}.character-detail-lines{display:grid;gap:0}.character-detail-panel .detail-line{border-color:#ffffff14}.character-detail-panel .detail-line span{color:#b3bac6}.character-detail-panel .detail-line strong{color:#fff}.character-style-preview,.character-tag-cloud,.character-description,.character-prompt-box{display:grid;gap:9px}.character-style-preview>span,.character-tag-cloud>span,.character-description>span,.character-prompt-box>span,.character-toggle-row>span{color:#c8ced8;font-size:12px;font-weight:900}.character-style-preview button{justify-self:start;position:relative;overflow:hidden;width:96px;height:96px;border:1px solid rgba(255,122,26,.72);border-radius:8px;color:#fff;background:#111216}.character-style-preview img{width:100%;height:100%;object-fit:cover;display:block}.character-style-preview strong{position:absolute;inset:auto 0 0;padding:18px 6px 8px;background:linear-gradient(180deg,transparent,rgba(0,0,0,.82));font-size:12px}.character-tag-cloud div{display:flex;flex-wrap:wrap;gap:7px}.character-description p,.character-prompt-box p{margin:0;color:#f4f5f7;font-size:13px;line-height:1.7}.character-prompt-box{padding:13px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#ffffff0d}.character-toggle-row{display:grid;grid-template-columns:44px auto minmax(0,1fr);align-items:center;gap:10px}.character-toggle-row em{color:#9ca3af;font-size:12px;font-style:normal;line-height:1.4}.character-switch{position:relative;width:42px;height:22px;border:0;border-radius:999px;background:#5f636b}.character-switch i{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:999px;background:#fff;transition:transform .16s ease}.character-switch.active{background:#ff7a1a}.character-switch.locked{background:#7c3aed}.character-switch.active i{transform:translate(20px)}.character-detail-actions{margin-top:auto;padding-top:8px}.character-drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;justify-content:flex-end;background:#00000094;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:80}.character-drawer{width:min(760px,100vw);height:100vh;overflow-y:auto;padding:24px;border-left:1px solid rgba(255,255,255,.1);color:#f8fafc;background:#18191d;box-shadow:-28px 0 80px #00000057}.character-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px}.reference-section,.prompt-section,.candidate-section{display:grid;gap:12px;margin-top:18px;padding:16px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#ffffff0d}.drawer-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.drawer-section-title strong{color:#fff;font-size:14px}.drawer-section-title span{color:#9ca3af;font-size:12px;font-weight:800}.drawer-section-title button{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 10px;border:1px solid rgba(255,122,26,.38);border-radius:8px;color:#ffbf72;background:#ff7a1a1f;font-size:12px;font-weight:900}.reference-upload{display:grid;min-height:96px;place-items:center;gap:8px;border:1px dashed rgba(255,255,255,.18);border-radius:8px;color:#c8ced8;background:#0a0b0e73;font-size:13px;font-weight:900;cursor:pointer}.reference-upload input{display:none}.reference-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:10px}.reference-grid article{position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#111216}.reference-grid img{display:block;width:100%;aspect-ratio:1 / 1;object-fit:cover}.reference-grid select{width:100%;height:34px;border:0;color:#f8fafc;background:#24252a;font-size:11px;font-weight:800}.reference-grid button{position:absolute;top:6px;right:6px;display:grid;width:24px;height:24px;place-items:center;border:0;border-radius:8px;color:#fff;background:#000000b8}.character-generate-row{display:grid;grid-template-columns:90px 110px minmax(160px,1fr) auto;align-items:end;gap:12px;margin-top:18px}.candidate-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.candidate-grid article{overflow:hidden;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#111216}.candidate-grid article.selected{border-color:#ff7a1ae6}.candidate-grid article>button{position:relative;width:100%;padding:0;border:0;background:transparent}.candidate-grid img{display:block;width:100%;aspect-ratio:4 / 3;object-fit:cover}.candidate-grid article>button span{position:absolute;right:8px;bottom:8px;padding:5px 8px;border-radius:8px;color:#111216;background:#ffd56a;font-size:11px;font-weight:900}.candidate-grid article>div{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:8px}.candidate-grid article>div button{height:32px;border:1px solid rgba(255,255,255,.1);border-radius:8px;color:#f8fafc;background:#ffffff12;font-size:11px;font-weight:900}.character-drawer-footer{position:sticky;bottom:-24px;justify-content:flex-end;margin:22px -24px -24px;padding:16px 24px;border-top:1px solid rgba(255,255,255,.1);background:#18191df0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.subtitle-table{overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:#fff}.subtitle-table-head,.subtitle-row{display:grid;grid-template-columns:minmax(130px,.8fr) minmax(220px,1.8fr) minmax(100px,.7fr) 52px;gap:12px;align-items:center;padding:11px 13px}.subtitle-table-head{color:var(--subtle);background:var(--surface-soft);font-size:10px;font-weight:900}.subtitle-row+.subtitle-row{border-top:1px solid var(--line)}.subtitle-row strong{min-width:0;overflow:hidden;color:var(--ink-strong);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.subtitle-row p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.subtitle-row>span{color:var(--muted);font-size:11px}.subtitle-row .bound,.subtitle-row .unbound{justify-self:start;padding:4px 7px;border-radius:5px;font-weight:800}.subtitle-row .bound{color:var(--teal-dark);background:var(--teal-soft)}.subtitle-row .unbound{color:#92400e;background:#fef3c7}.detail-list{display:grid;gap:0}.detail-line{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:9px 0;border-bottom:1px solid var(--line)}.detail-line:last-child{border-bottom:0}.detail-line span{color:var(--muted);font-size:11px}.detail-line strong{max-width:62%;color:var(--ink-strong);font-size:11px;line-height:1.45;text-align:right}.asset-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.asset-group,.timeline-board,.queue-panel{display:grid;gap:12px;padding:12px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-soft)}.mode-section-title{display:flex;align-items:center;gap:8px;color:var(--teal-dark);font-size:13px;font-weight:900}.mode-section-title span{margin-left:auto;color:var(--muted);font-size:12px;font-weight:800}.library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px}.library-card{display:grid;grid-template-columns:76px minmax(0,1fr);gap:10px;min-width:0;padding:9px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}.library-thumb{display:grid;width:76px;height:92px;place-items:center;overflow:hidden;border-radius:7px;color:var(--teal-dark);background:linear-gradient(135deg,#2563eb1a,#0f766e24),var(--surface-blue)}.library-thumb img{width:100%;height:100%;object-fit:cover}.library-copy{min-width:0}.library-copy strong,.library-copy span,.library-copy p{display:block}.library-copy strong{overflow:hidden;color:var(--ink-strong);font-size:14px;text-overflow:ellipsis;white-space:nowrap}.library-copy span{margin-top:5px;overflow:hidden;color:var(--teal-dark);font-size:11px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.library-copy p,.side-note{margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.empty-state{display:grid;min-height:120px;place-items:center;padding:18px;border:1px dashed var(--line-strong);border-radius:var(--radius);color:var(--muted);background:#fff;text-align:center;font-size:13px;line-height:1.55}.empty-state.compact{min-height:42px;padding:10px}.compose-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}.compose-header span,.timeline-label{color:var(--subtle);font-size:11px;font-weight:800}.compose-header strong{display:block;margin-top:4px;color:var(--ink-strong);font-size:17px}.inline-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.timeline-board{background:linear-gradient(180deg,#eef6fbc7,#f8fafceb),var(--surface-soft)}.timeline-row{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;align-items:center}.timeline-clips{display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:8px;min-height:46px;overflow-x:visible;padding:6px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}.timeline-clip{display:grid;min-width:0;place-items:center;padding:8px;border-radius:6px;color:#fff;background:linear-gradient(135deg,var(--teal),var(--blue));font-size:11px;font-weight:800;line-height:1.35;text-align:center}.timeline-clip.draft{color:#4b5563;background:#e6edf5}.timeline-clip.generating{color:#073d3a;background:var(--teal-soft)}.timeline-clip.failed{background:var(--rose)}.compose-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.compose-card{display:flex;align-items:flex-start;gap:10px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}.compose-card svg{color:var(--teal);flex:0 0 auto}.compose-card strong,.compose-card span{display:block}.compose-card strong{color:var(--ink-strong);font-size:13px}.compose-card span{margin-top:5px;color:var(--muted);font-size:12px;line-height:1.45}.shot-card{position:relative;display:grid;min-width:0;overflow:hidden;padding:0;border:1px solid var(--line);border-radius:var(--radius);background:#fff;text-align:left;box-shadow:0 1px #ffffffe6}.shot-card.active{border-color:#0f766ebd;box-shadow:0 0 0 3px #0f766e24,var(--shadow-soft)}.thumb-wrap{position:relative;aspect-ratio:9 / 13;overflow:hidden;background:linear-gradient(135deg,#2563eb1a,#0f766e1a),#dce5ee}.thumb-wrap:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:linear-gradient(180deg,rgba(12,21,32,.12),transparent 34%,rgba(12,21,32,.32)),repeating-linear-gradient(90deg,rgba(255,255,255,.08) 0 1px,transparent 1px 26px);mix-blend-mode:multiply}.thumb-wrap img{width:100%;height:100%;display:block;object-fit:cover;filter:saturate(.92) contrast(1.08);transform:scale(1.01)}.shot-number,.shot-status,.lock-chip{position:absolute;z-index:1;display:inline-flex;align-items:center;gap:4px;min-height:24px;padding:0 8px;border-radius:999px;color:#fff;background:#0c1520b8;font-size:11px;font-weight:900}.shot-number{left:8px;bottom:8px;border:1px solid rgba(255,255,255,.22)}.shot-status{left:8px;top:8px}.shot-status.ready{background:#167346e6}.shot-status.generating{background:#0f766ef0}.shot-status.failed{background:#be123ceb}.lock-chip{right:8px;top:8px;background:#b7791feb}.shot-meta{display:grid;gap:5px;padding:10px}.shot-meta span{color:var(--ink-strong);font-size:13px;font-weight:900;line-height:1.3}.shot-meta strong{color:var(--muted);font-size:11px;font-weight:800;line-height:1.35}.shot-meta p{display:-webkit-box;min-height:35px;margin:0;overflow:hidden;color:var(--muted);font-size:12px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.progress-track,.mini-progress{width:100%;height:4px;overflow:hidden;background:#e1e9f2}.progress-track span,.mini-progress i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--teal),var(--blue),var(--amber))}.inspector{position:sticky;top:16px;display:grid;gap:13px;padding:16px}.mode-side{align-content:start}.side-stat-list,.side-asset-list{display:grid;gap:8px}.side-asset-list article,.model-stack article{padding:10px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}.side-asset-list strong,.side-asset-list span,.model-stack strong,.model-stack span{display:block}.side-asset-list strong,.model-stack strong{overflow:hidden;color:var(--ink-strong);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.side-asset-list span,.model-stack span{margin-top:4px;color:var(--muted);font-size:11px;line-height:1.45}.export-readiness{display:grid;gap:7px;padding:14px;border:1px solid rgba(15,118,110,.22);border-radius:var(--radius);background:var(--teal-soft)}.export-readiness strong{color:var(--teal-dark);font-size:28px;line-height:1}.export-readiness span{color:var(--teal-dark);font-size:12px;font-weight:900}.model-stack{display:grid;gap:8px}.export-button{width:100%}.inspector.empty{min-height:280px;place-items:center;color:var(--muted);text-align:center}.inspector-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.inspector-title h2{margin:5px 0 0;color:var(--ink-strong);font-size:20px;line-height:1.2}.inspector-preview{position:relative;min-height:132px;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-soft)}.inspector-preview img{width:100%;height:150px;display:block;object-fit:cover;filter:saturate(.92) contrast(1.08)}.inspector-preview video{width:100%;height:150px;display:block;object-fit:cover;background:#07111f}.media-placeholder{width:100%;height:100%;min-height:110px;display:grid;place-items:center;align-content:center;gap:7px;color:#ffffffe0;background:linear-gradient(145deg,#17405b,#0f766e)}.media-placeholder.tone-1{background:linear-gradient(145deg,#334155,#1d4ed8)}.media-placeholder.tone-2{background:linear-gradient(145deg,#312e4f,#9f5f32)}.media-placeholder span{font-size:11px;font-weight:800}.media-placeholder.compact{min-height:0;height:100%}.shot-error{color:#b42318!important;font-weight:700}.export-result-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:1px solid #9bd3bf;border-radius:8px;background:#eefbf5}.export-result-panel>div{display:flex;align-items:center;gap:9px;color:#08745b;font-weight:700}.export-result-panel a{flex:0 0 auto;text-decoration:none}.inspector-preview div{position:absolute;left:10px;right:10px;bottom:10px;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:32px;padding:0 10px;border:1px solid rgba(255,255,255,.2);border-radius:var(--radius);background:#0c1520c2;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.inspector-preview span,.inspector-preview strong{overflow:hidden;font-size:12px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.field{display:grid;gap:7px;min-width:0}.field input,.field textarea,.field select{width:100%;border:1px solid var(--line);border-radius:var(--radius);background:#fff;color:var(--ink);outline:0;font-size:13px}.field input,.field select{height:38px;padding:0 10px}.field textarea{min-height:76px;resize:vertical;padding:10px;line-height:1.5}.field.small{max-width:92px}.field-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(92px,.72fr);gap:10px}.inspector-section{display:grid;gap:10px;padding:12px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-soft)}.inline-heading{display:flex;align-items:center;gap:7px;color:var(--teal-dark);font-size:13px;font-weight:900}.chip-list{display:flex;flex-wrap:wrap;gap:7px}.choice-chip{min-height:28px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted);font-size:12px;font-weight:800}.choice-chip.selected{border-color:#0f766e70;background:var(--teal-soft);color:var(--teal-dark)}.inspector-actions{display:grid;grid-template-columns:1fr 1fr 1fr}.bottom-rail{display:grid;grid-template-columns:minmax(280px,1.2fr) minmax(280px,1fr) 290px;gap:16px;margin-top:16px;padding:14px;box-shadow:none}.asset-rail,.queue-rail,.model-rail{min-width:0}.rail-title{display:flex;align-items:center;gap:7px;margin-bottom:10px;color:var(--teal-dark);font-size:13px;font-weight:900}.asset-list{display:flex;gap:10px;overflow-x:auto;padding-bottom:3px}.asset-pill{display:flex;align-items:center;gap:9px;min-width:158px;padding:8px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-soft)}.asset-avatar{display:grid;width:38px;height:38px;flex:0 0 auto;place-items:center;overflow:hidden;border-radius:7px;background:var(--surface-blue);color:var(--teal-dark)}.asset-avatar img{width:100%;height:100%;object-fit:cover}.asset-pill strong,.asset-pill span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.asset-pill strong{max-width:92px;color:var(--ink-strong);font-size:13px}.asset-pill span{max-width:96px;margin-top:4px;color:var(--muted);font-size:11px}.queue-list{display:grid;gap:8px}.queue-item{display:grid;grid-template-columns:minmax(0,1fr) 90px 42px;gap:8px;align-items:center;color:var(--muted);font-size:12px}.queue-item.visual-row{grid-template-columns:34px minmax(0,1fr) 90px 42px}.queue-thumb{display:grid;width:34px;height:34px;place-items:center;overflow:hidden;border:1px solid var(--line);border-radius:7px;background:var(--surface-blue)}.queue-thumb img{width:100%;height:100%;object-fit:cover}.queue-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.queue-item strong{color:var(--teal-dark);font-size:12px;text-align:right}.mini-progress{height:6px;border-radius:999px}.queue-empty{display:grid;height:38px;place-items:center;border:1px dashed var(--line-strong);border-radius:var(--radius);color:var(--muted);font-size:12px}.model-rail{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.model-rail article{padding:9px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-soft)}.warning-note{border-color:#b7791f47;background:var(--amber-soft)}.warning-note p{margin:0;color:#835012;font-size:12px;line-height:1.55}.model-rail strong,.model-rail span{display:block}.model-rail strong{color:var(--ink-strong);font-size:12px}.model-rail span{margin-top:5px;color:var(--muted);font-size:10px;line-height:1.4}.loading-page{display:grid;min-height:100vh;place-items:center;align-content:center;gap:12px;color:var(--teal-dark);background:var(--bg);font-weight:800}.error-boundary{display:grid;min-height:100vh;place-items:center;align-content:center;gap:12px;padding:24px;background:var(--bg);color:var(--rose);text-align:center}.error-boundary h1{margin:0;color:var(--ink-strong);font-size:22px;line-height:1.2}.error-boundary p{max-width:520px;margin:0;color:var(--muted);font-size:13px;line-height:1.6}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}@media (max-width: 1220px){.app-shell{grid-template-columns:220px minmax(0,1fr)}.app-shell.sidebar-collapsed{grid-template-columns:76px minmax(0,1fr)}.topbar{grid-template-columns:1fr}.topbar-actions{flex-wrap:wrap}.workspace-grid{grid-template-columns:minmax(0,1fr)}.inspector{position:static}.bottom-rail{grid-template-columns:1fr}.home-create-card,.home-quick-actions,.home-recent{width:calc(100% - 44px)}.home-create-card{grid-template-columns:auto minmax(0,1fr)}.home-start-button{grid-column:1 / -1;justify-self:end}.script-config-header{grid-template-columns:1fr;gap:14px;padding-top:14px}.script-flow{justify-content:flex-start;overflow-x:auto;padding-bottom:4px}.script-config-status{justify-content:flex-start}.script-config-stage{grid-template-columns:1fr}.script-generate-panel{max-height:none}.style-strip{grid-template-columns:repeat(3,minmax(140px,1fr))}}@media (max-width: 900px){.app-shell{display:block}.sidebar{position:static;height:auto;border-right:0;border-bottom:1px solid var(--line)}.sidebar.collapsed{align-items:stretch;padding:14px}.sidebar.collapsed .sidebar-head{display:flex;justify-items:stretch}.sidebar.collapsed .brand-copy,.sidebar.collapsed .nav-label{display:block}.sidebar.collapsed .nav-item{justify-content:flex-start;width:auto}.nav-stack{grid-template-columns:repeat(2,minmax(0,1fr))}.main-panel{padding:14px}.script-strip,.workspace-title,.scene-header{grid-template-columns:1fr}.script-strip{align-items:stretch}.scene-header{display:grid}.scene-header p{text-align:left}.studio-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.subtitle-table-head,.subtitle-row{grid-template-columns:minmax(120px,.8fr) minmax(180px,1.5fr) minmax(90px,.6fr) 48px}.home-lobby{min-height:calc(100vh - 180px);padding:18px}.home-statusbar{align-items:flex-start;flex-direction:column}.home-status-pills{justify-content:flex-start}.home-hero-copy{margin-top:44px}.home-hero-copy h1{font-size:42px}.home-hero-copy p{font-size:16px}.home-create-card{grid-template-columns:1fr;width:100%;margin-top:36px}.home-card-icon{width:64px;height:64px}.home-start-button{justify-self:stretch;width:100%;min-width:0}.home-quick-actions{width:100%}.home-recent{width:100%;margin-top:28px}.script-config-page{min-height:auto;padding:0 16px 18px}.script-project-panel,.script-generate-panel{padding:24px}.storyboard-model-guide{grid-template-columns:1fr;align-items:start}.storyboard-model-guide span{justify-self:start}.aspect-ratio-grid,.model-picker-grid,.model-selector-options,.model-choice-grid,.script-project-stats{grid-template-columns:1fr}.video-model-selector{width:100%}.script-action-bar{position:static;display:grid;grid-template-columns:1fr;background:transparent}.script-secondary-button,.script-start-button{width:100%;min-width:0}.smart-episode-intro,.script-editor-intro{grid-template-columns:1fr}.smart-segmentation-badge{justify-self:start}.smart-episode-summary{grid-template-columns:1fr}.smart-episode-actions{align-items:stretch;flex-direction:column}.smart-episode-actions .script-secondary-button,.smart-episode-actions .script-start-button{width:100%;min-width:0}}@media (max-width: 560px){html,body,#root{width:100%;overflow-x:hidden}body{overflow-x:hidden}.app-shell,.sidebar,.main-panel{width:100%;min-width:0;max-width:100%;overflow-x:hidden}.sidebar,.main-panel,.storyboard-area,.inspector,.bottom-rail{padding:12px}.sidebar{display:grid;grid-template-columns:minmax(0,1fr) 42px;align-items:center;gap:10px}.sidebar .brand-block{min-width:0}.sidebar .brand-logo{height:42px}.sidebar .project-card{display:none}.nav-stack,.studio-summary,.asset-overview,.project-grid,.compose-grid,.field-row,.model-rail,.inspector-actions{grid-template-columns:1fr}.nav-stack{grid-column:1 / -1;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.sidebar-head{display:contents}.nav-item{min-height:52px;padding:5px 3px;flex-direction:column;justify-content:center;gap:4px;font-size:10px;text-align:center}.home-lobby{min-height:auto;padding:14px}.home-status-pills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.home-status-pills button{min-width:0;padding:0 10px}.home-icon-button,.home-avatar{display:none}.home-hero-copy{align-items:start;justify-items:start;margin-top:34px;text-align:left}.home-hero-copy h1{font-size:34px}.home-create-card{padding:18px}.home-card-copy strong{font-size:23px}.home-quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px}.home-quick-actions button{min-height:44px;padding:0 10px}.home-recent{margin-top:22px}.home-recent-grid{grid-template-columns:1fr}.home-recent-card{padding:14px 16px}.script-config-main-panel{width:100%;overflow-x:hidden}.script-config-page{gap:16px;padding:0 12px 14px}.script-config-header{min-height:auto}.script-config-brand{gap:8px}.script-config-brand img{height:34px}.script-config-brand strong,.script-config-brand b{font-size:15px}.script-flow{justify-content:flex-start}.script-flow-step{font-size:12px}.script-flow-step:not(:last-child):after{width:14px}.script-config-stage{gap:14px}.script-project-panel,.script-generate-panel{gap:20px;padding:18px}.panel-title-row h1{font-size:24px}.panel-title-row h2{font-size:18px}.config-segment.count-2,.config-segment.count-4{grid-template-columns:1fr}.style-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.config-segment button{min-height:48px}.script-source-field textarea{min-height:140px}.style-card-name{white-space:normal}.video-model-selector{width:100%}.script-action-bar{min-height:auto;padding:0}.script-editor-active .script-input-page{min-height:auto;padding:12px}.script-editor-intro{gap:16px;min-height:0;padding:18px}.script-editor-flow{gap:5px;overflow-x:auto;padding-bottom:2px}.script-editor-flow i{width:14px;flex:0 0 auto}.script-editor-status-card{grid-template-columns:52px minmax(0,1fr)}.script-editor-status-orbit{width:48px;height:48px}.script-editor-active .script-input-editor{min-height:420px}.script-editor-toolbar{padding:0 14px}.script-editor-toolbar>span{display:none}.script-editor-active .script-input-editor textarea{min-height:370px;padding:20px 18px 140px;font-size:14px}.script-editor-active .script-input-tools{right:18px;bottom:16px;left:18px;grid-template-columns:1fr;gap:10px}.script-editor-active .script-input-count{justify-self:start}.script-editor-active .script-series-toggle{justify-content:space-between}.smart-episode-page{min-height:auto;padding:12px}.smart-episode-intro,.smart-episode-summary,.smart-episode-list,.smart-episode-actions{width:100%}.smart-episode-list{max-height:none;overflow:visible}.smart-episode-card{grid-template-columns:42px minmax(0,1fr);padding:14px}.smart-episode-number{width:42px;height:42px}.episode-list{grid-column:1 / -1;grid-template-columns:repeat(2,minmax(170px,1fr));overflow-x:auto;padding-bottom:2px}.episode-list .section-heading{display:none}.project-metrics{grid-template-columns:1fr;gap:6px}.project-metrics div{padding:8px 7px}.new-project,.project-card,.episode-row,.script-strip,.studio-stat,.storyboard-area,.inspector,.bottom-rail{max-width:100%}.new-project{width:100%}.shot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.asset-list{display:grid;grid-template-columns:1fr;overflow-x:visible}.asset-pill{width:100%;min-width:0}.compose-header,.view-intro,.inline-actions{align-items:stretch;flex-direction:column}.episode-script-card{grid-template-columns:48px minmax(0,1fr)}.episode-number{width:42px;height:42px}.episode-script-stats{grid-column:1 / -1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.subtitle-table-head{display:none}.subtitle-row{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}.subtitle-row p{grid-column:1 / -1;grid-row:2}.subtitle-row .bound,.subtitle-row .unbound{grid-column:1;grid-row:3}.subtitle-row>span:last-child{grid-column:2;grid-row:3;align-self:center}.timeline-row{grid-template-columns:1fr}.timeline-clips{display:grid;grid-template-columns:1fr;overflow-x:visible}.timeline-clip{min-width:0;width:100%}.topbar-actions{display:grid;grid-template-columns:1fr}.topbar-actions .ghost-button,.topbar-actions .primary-button,.script-strip button{width:100%}.workspace-title h1{font-size:21px}.model-status-banner{grid-template-columns:40px minmax(0,1fr);align-items:start}.status-copy strong,.status-copy span{overflow:visible;text-overflow:clip;white-space:normal}.status-pills{grid-column:1 / -1;justify-content:flex-start;padding-left:52px}}.character-workflow-main-panel{padding:0;color:#f8fbff;background:#080b14}.agent-cast-immersive-shell{grid-template-columns:minmax(0,1fr);background:#101010}.agent-cast-immersive-shell>.sidebar{display:none}.agent-cast-immersive-shell>.main-panel{min-height:100vh;padding:0}.character-workflow-shell{position:relative;isolation:isolate;min-height:100vh;overflow:hidden;background:radial-gradient(circle at 10% 12%,rgba(92,199,255,.13),transparent 30%),radial-gradient(circle at 86% 10%,rgba(166,102,255,.17),transparent 34%),radial-gradient(circle at 56% 88%,rgba(93,113,255,.09),transparent 29%),#080b14}.character-workflow-shell:before{position:absolute;inset:78px 0 auto;height:440px;pointer-events:none;content:"";background:radial-gradient(circle at 26% 32%,rgba(105,214,255,.11),transparent 24%),radial-gradient(circle at 76% 28%,rgba(183,108,255,.13),transparent 27%);filter:blur(18px);animation:smart-aurora-drift 14s ease-in-out infinite alternate}.character-workflow-shell>*{position:relative;z-index:1}.character-workflow-shell .character-particle-layer{position:absolute;z-index:0;top:70px;right:0;bottom:0;left:0;opacity:.8}.agent-cast-stage-shell{min-height:100vh;background:#101010}.agent-cast-stage-shell:before,.agent-cast-stage-shell .character-particle-layer{display:none}.character-workflow-header{position:sticky;top:0;z-index:8;border-bottom-color:#95c3ff1f;background:linear-gradient(90deg,#0a1324ed,#181030f0),#080b14e6;box-shadow:0 12px 34px #0000003d,inset 0 -1px #ffffff0a;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.character-workflow-shell .character-library-page,.character-workflow-shell .character-detail-view{min-height:calc(100vh - 82px);padding:18px 28px 30px;color:#f8fbff;background:transparent}.character-library-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(350px,.78fr);gap:26px;overflow:hidden;padding:26px 28px;border:1px solid rgba(191,220,255,.22);border-radius:18px;background:linear-gradient(135deg,#ffffff13,#ffffff05) padding-box,linear-gradient(135deg,#65caff21,#a166ff21);box-shadow:inset 0 1px #ffffff1a,0 24px 66px #03071247;animation:smart-panel-reveal .56s cubic-bezier(.2,.75,.22,1) both}.character-library-hero:after{position:absolute;top:-110px;right:-60px;width:360px;height:360px;border-radius:50%;pointer-events:none;content:"";background:radial-gradient(circle,rgba(172,111,255,.2),transparent 67%);filter:blur(6px);animation:smart-aurora-drift 10s ease-in-out infinite alternate}.character-hero-copy,.character-hero-visual{position:relative;z-index:1}.character-hero-copy{align-self:center}.character-hero-kicker{display:inline-flex;align-items:center;gap:7px;color:#a9ddff;font-size:12px;font-weight:900;letter-spacing:.04em}.character-hero-kicker svg{color:#c18aff;filter:drop-shadow(0 0 8px rgba(181,111,255,.55))}.character-hero-copy h1{margin:8px 0 7px;color:#fff;font-size:clamp(28px,3vw,38px);line-height:1.1;letter-spacing:-.04em;text-shadow:0 1px 18px rgba(255,255,255,.09)}.character-hero-copy>p{max-width:680px;margin:0;color:#deebffbf;font-size:14px;line-height:1.75}.character-hero-features{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.character-hero-features span{padding:7px 11px;border:1px solid rgba(159,206,255,.16);border-radius:999px;color:#dceeff;background:#ffffff0e;box-shadow:inset 0 1px #ffffff0f;font-size:11px;font-weight:900}.character-hero-visual{display:grid;grid-template-columns:78px minmax(0,1fr);align-items:center;gap:14px;min-height:138px;padding:16px;border:1px solid rgba(186,211,255,.16);border-radius:16px;background:linear-gradient(135deg,#5ba3e31f,#9454d721),#ffffff09;box-shadow:inset 0 1px #ffffff14,0 18px 42px #05081438}.character-visual-orbit{position:relative;width:72px;height:72px;border:1px solid rgba(130,203,255,.25);border-radius:50%;background:radial-gradient(circle,rgba(107,196,255,.16),rgba(132,93,255,.08) 56%,transparent 58%);box-shadow:0 0 32px #749aff33,inset 0 0 22px #ffffff0a;animation:smart-node-pulse 3.2s ease-in-out infinite}.character-visual-orbit i{position:absolute;display:grid;place-items:center;border:1px solid rgba(197,220,255,.24);border-radius:50%;color:#f7fbff;background:linear-gradient(135deg,#65cfff,#9a75ff);box-shadow:0 8px 20px #5069f04d}.character-visual-orbit i:first-child{top:14px;right:14px;bottom:14px;left:14px}.character-visual-orbit i:nth-child(2){right:-4px;bottom:-2px;width:28px;height:28px;background:linear-gradient(135deg,#9c7aff,#c56cff)}.character-visual-orbit>span{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-8px;border:1px dashed rgba(172,198,255,.22);border-radius:50%;animation:character-orbit-spin 11s linear infinite}.character-visual-copy{display:grid;gap:5px}.character-visual-copy small{color:#8ed8ff;font-size:9px;font-weight:900;letter-spacing:.14em}.character-visual-copy strong{color:#fff;font-size:15px}.character-visual-copy span{display:flex;align-items:center;gap:5px;color:#e0edffad;font-size:11px}.character-visual-copy span svg{color:#7fe0c2}.character-hero-visual .character-header-actions{grid-column:1 / -1;display:grid;grid-template-columns:1fr 1fr}.character-workflow-shell .orange-button,.character-workflow-shell .character-next-button{border:1px solid rgba(185,203,255,.24);color:#fff;background:linear-gradient(110deg,#6678ff,#9670ff 55%,#70cfff);box-shadow:0 14px 32px #646fff42,0 0 22px #a167ff1f;animation:smart-button-flow 6s ease-in-out infinite}.character-workflow-shell .dark-ghost-button{border-color:#cfe0ff29;color:#e8f2ff;background:#ffffff0e;box-shadow:inset 0 1px #ffffff0f}.character-workflow-shell .dark-ghost-button:hover{border-color:#82cdff61;background:#6f87ff1f}.character-overview-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px;animation:smart-panel-reveal .56s 80ms cubic-bezier(.2,.75,.22,1) both}.character-overview-stats article{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:72px;padding:12px 14px;border:1px solid rgba(192,218,255,.15);border-radius:14px;background:linear-gradient(135deg,#ffffff12,#ffffff05),#0f1425b3;box-shadow:inset 0 1px #ffffff12,0 14px 34px #02061229;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.character-overview-stats article>span{display:grid;width:38px;height:38px;place-items:center;border-radius:12px;color:#eaf7ff;background:linear-gradient(135deg,#5bc7ff52,#9963ff54)}.character-overview-stats article>div{display:grid;gap:2px}.character-overview-stats small,.character-overview-stats em{color:#d7e5fa94;font-size:10px;font-style:normal;font-weight:800}.character-overview-stats strong{color:#fff;font-size:21px}.character-workbench-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;padding:4px 2px 0}.character-workbench-heading>span{display:inline-flex;align-items:center;gap:6px;color:#a8dfff;font-size:11px;font-weight:900}.character-workbench-heading>span svg{color:#c28bff}.character-workflow-shell .character-library-tabs{margin:0;border-color:#b4d2ff26;border-radius:12px;background:#ffffff0b;box-shadow:inset 0 1px #ffffff0d}.character-workflow-shell .character-library-tabs button{border-radius:9px}.character-workflow-shell .character-library-tabs .active{color:#fff;background:linear-gradient(135deg,#64c4ff4d,#9765ff52);box-shadow:inset 0 1px #ffffff1f}.character-workflow-shell .character-style-slider button{border-color:#bfdaff29;background:#111827ad}.character-workflow-shell .character-style-slider button.active{background:linear-gradient(135deg,#64c4ff4d,#9765ff52)}.character-workflow-shell .character-filter-bar{margin-top:12px;padding:14px;border-color:#bfdaff29;border-radius:15px;background:linear-gradient(135deg,#fff1,#ffffff05),#0e1222c2;box-shadow:inset 0 1px #ffffff13,0 18px 46px #02051029;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);animation:smart-panel-reveal .56s .13s cubic-bezier(.2,.75,.22,1) both}.character-workflow-shell .character-search,.character-workflow-shell .character-select select{border-color:#c0d8ff24;border-radius:11px;color:#f5f9ff;background:#050915a8;box-shadow:inset 0 1px #ffffff09}.character-workflow-shell .character-search:focus-within,.character-workflow-shell .character-select select:focus{border-color:#7ac5ff80;box-shadow:0 0 0 3px #699eff1a}.character-workflow-shell .character-library-meta span{border:1px solid rgba(177,210,255,.1);color:#dceaffad;background:#ffffff0b}.character-workflow-shell .character-card-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:15px;animation:smart-panel-reveal .56s .18s cubic-bezier(.2,.75,.22,1) both}.character-workflow-shell .character-card,.character-workflow-shell .character-create-card{min-height:318px;border-color:#b8d6ff24;border-radius:15px;background:linear-gradient(145deg,#fff1,#ffffff04),#101424e0;box-shadow:inset 0 1px #ffffff12,0 18px 42px #02051033}.character-workflow-shell .character-card:hover,.character-workflow-shell .character-create-card:hover,.character-workflow-shell .character-card.selected{border-color:#79ccff9e;box-shadow:0 22px 50px #293f873d,0 0 25px #9f69ff1c;transform:translateY(-4px)}.character-workflow-shell .character-card.selected{outline:1px solid rgba(177,122,255,.34)}.character-workflow-shell .character-card.selected:after{border-radius:9px;background:linear-gradient(135deg,#65cfff,#9a72ff);box-shadow:0 6px 18px #6680ff57}.character-workflow-shell .character-card-image{height:226px;background:linear-gradient(145deg,#5e97d21f,#8551c01a)}.character-workflow-shell .character-card-overlay{background:linear-gradient(180deg,transparent 24%,rgba(5,8,19,.88) 100%)}.character-workflow-shell .character-card-overlay button:hover{border-color:#77cfffb8;color:#c8edff;background:#6d67f547}.character-workflow-shell .character-card-footer{background:transparent}.character-workflow-shell .character-card-tags span:first-child{color:#bfe8ff;background:linear-gradient(135deg,#5bbeff29,#9764ff24)}.character-workflow-shell .character-create-card{border-style:dashed;background:radial-gradient(circle at 50% 40%,rgba(102,199,255,.12),transparent 30%),linear-gradient(145deg,#667aff1a,#a765ff13),#0e1220d1}.character-workflow-shell .character-create-card span{border-radius:16px;color:#fff;background:linear-gradient(135deg,#5ac7ff57,#9d63ff61);box-shadow:0 12px 28px #6169f23d}.character-workflow-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:20px;padding:15px 16px;border:1px solid rgba(189,218,255,.16);border-radius:15px;background:linear-gradient(135deg,#fff1,#ffffff05),#0d1120bd;box-shadow:inset 0 1px #ffffff12,0 18px 44px #0205102e}.character-workflow-actions>div{display:flex;align-items:center;gap:11px}.character-workflow-actions>div>span{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;color:#e9fff8;background:#4acda629;box-shadow:inset 0 0 0 1px #69e5be2e}.character-workflow-actions>div>div{display:grid;gap:3px}.character-workflow-actions strong{color:#fff;font-size:13px}.character-workflow-actions small{color:#d8e6fa94;font-size:11px}.character-next-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 28px;border-radius:999px;font-size:13px;font-weight:900;white-space:nowrap}.character-next-button:disabled{opacity:.45;cursor:not-allowed}.character-workflow-shell .character-detail-stage,.character-workflow-shell .character-detail-panel,.character-workflow-shell .character-drawer{border-color:#bcd8ff29;background:linear-gradient(145deg,#fff1,#ffffff05),#101528;box-shadow:inset 0 1px #ffffff12,0 24px 66px #0205104d}.character-independent-header{position:sticky;top:0;z-index:8;display:grid;grid-template-columns:minmax(220px,1fr) auto minmax(220px,1fr);align-items:center;gap:20px;min-height:76px;padding:10px 20px;border-bottom:1px solid rgba(149,195,255,.12);background:linear-gradient(90deg,#0a1324f0,#181030f2);box-shadow:0 12px 34px #0000003d,inset 0 -1px #ffffff0a;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.character-independent-title{display:grid;justify-items:center;gap:2px}.character-independent-title span{color:#8fd8ff;font-size:9px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.character-independent-title strong{color:#fff;font-size:18px}.character-independent-header .script-config-status{justify-self:end}.character-voice-workflow-page{position:relative;z-index:1;min-height:calc(100vh - 82px);padding:18px 28px 30px}.character-voice-status-strip{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:8px}.character-voice-status-strip span{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid rgba(178,211,255,.14);border-radius:9px;color:#dceeff;background:#ffffff0d;font-size:10px;font-weight:900}.character-voice-workbench{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,.72fr);align-items:start;gap:14px;margin-top:14px;animation:smart-panel-reveal .56s .14s cubic-bezier(.2,.75,.22,1) both}.project-voice-panel{grid-column:2;grid-row:1}.character-generation-panel,.project-character-panel{grid-column:1;grid-row:1}.character-generation-panel,.project-character-panel,.project-voice-panel{min-height:430px;padding:16px;border:1px solid rgba(190,218,255,.16);border-radius:16px;background:linear-gradient(145deg,#fff1,#ffffff04),#0c1121d1;box-shadow:inset 0 1px #ffffff13,0 20px 48px #02051033;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.reference-character-panel.collapsed{min-height:0}.character-generation-panel>header,.project-character-panel>header,.project-voice-panel>header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.reference-character-panel.collapsed>header{margin-bottom:10px}.character-generation-panel header div,.project-character-panel header div,.project-voice-panel header div{display:grid;gap:3px}.character-generation-panel header div>span,.project-character-panel header div>span,.project-voice-panel header div>span{color:#8ed8ff;font-size:9px;font-weight:900;letter-spacing:.12em}.character-generation-panel header h2,.project-character-panel header h2,.project-voice-panel header h2{margin:0;color:#fff;font-size:17px}.character-generation-panel header small,.project-character-panel header small{padding:5px 8px;border-radius:8px;color:#ddecff;background:#ffffff0f;font-size:10px;font-weight:900}.character-generation-stage{display:grid;grid-template-columns:minmax(220px,.78fr) minmax(0,1.22fr);gap:14px;margin-bottom:14px}.character-generation-preview,.character-generation-controls,.generation-prompt-grid article{border:1px solid rgba(190,218,255,.13);border-radius:16px;background:linear-gradient(145deg,#ffffff10,#ffffff05),#080d1c8f}.character-generation-preview{position:relative;display:grid;justify-items:center;align-content:start;gap:9px;min-height:286px;padding:15px;overflow:hidden;text-align:center}.character-generation-preview:before{content:"";position:absolute;top:12px;right:12px;bottom:12px;left:12px;border-radius:14px;background:radial-gradient(circle at 50% 8%,rgba(130,205,255,.14),transparent 42%);pointer-events:none}.generation-status-pill{position:relative;z-index:1;display:inline-flex;align-items:center;gap:6px;min-height:26px;padding:0 10px;border:1px solid rgba(142,216,255,.18);border-radius:999px;color:#bfe6ff;background:#50aeff1a;font-size:10px;font-weight:900}.generation-status-pill.ready{border-color:#67e2bc38;color:#c1f6e7;background:#46c49d1f}.character-generation-preview img{position:relative;z-index:1;width:min(100%,168px);aspect-ratio:1;border:1px solid rgba(205,227,255,.18);border-radius:18px;object-fit:cover;background:#ffffff0f;box-shadow:0 16px 34px #01061238}.character-generation-preview strong{position:relative;z-index:1;color:#fff;font-size:18px}.character-generation-preview p{position:relative;z-index:1;display:-webkit-box;overflow:hidden;margin:0;color:#ddecffa8;font-size:11px;line-height:1.6;-webkit-box-orient:vertical;-webkit-line-clamp:3}.character-generation-controls{display:grid;gap:12px;padding:14px}.generation-current-label{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid rgba(190,218,255,.1)}.generation-current-label span{color:#91d9ff;font-size:10px;font-weight:900;letter-spacing:.08em}.generation-current-label strong{overflow:hidden;color:#fff;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.generation-prompt-grid{display:grid;gap:9px}.generation-prompt-grid article{display:grid;gap:5px;padding:10px}.generation-prompt-grid span{color:#9eddff;font-size:10px;font-weight:900}.generation-prompt-grid p{display:-webkit-box;overflow:hidden;margin:0;color:#deecffad;font-size:11px;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2}.character-generation-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:auto}.character-generation-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:0 14px;border-radius:999px;color:#fff;font-size:11px;font-weight:900}.character-generate-primary{border:0;background:linear-gradient(135deg,#79c8ff,#9d70ff);box-shadow:0 14px 32px #5d84ff3d}.character-generate-secondary{border:1px solid rgba(190,218,255,.16);background:#ffffff0e}.generation-character-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:11px;max-height:236px;overflow-y:auto;padding-right:4px}.generation-character-grid>button{display:grid;justify-items:center;gap:7px;width:100%;aspect-ratio:1;min-height:118px;padding:10px 8px;border:1px solid rgba(186,215,255,.12);border-radius:15px;color:#edf6ff;background:linear-gradient(145deg,#fff1,#ffffff04),#ffffff09;text-align:center;transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease}.generation-character-grid>button:hover,.generation-character-grid>button.active{border-color:#75caff7a;background:linear-gradient(135deg,#5abfff21,#9761ff21);transform:translateY(-1px)}.generation-character-grid>button.active{box-shadow:inset 0 0 0 1px #83d2ff61,0 12px 28px #4854b429}.generation-character-grid img{width:44px;height:44px;border:1px solid rgba(205,227,255,.15);border-radius:12px;object-fit:cover;background:#ffffff0d}.generation-character-grid button>div{display:grid;justify-items:center;gap:3px;width:100%;min-width:0}.generation-character-grid strong{overflow:hidden;max-width:100%;color:#fff;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.generation-character-grid span,.generation-character-grid em{overflow:hidden;max-width:100%;color:#d8e7fa99;font-size:9px;font-style:normal;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.generation-character-grid em{min-height:20px;padding:3px 8px;border:1px solid rgba(142,216,255,.16);border-radius:999px;color:#a6dfff;background:#59abff14}.reference-library-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:0 11px;border:1px solid rgba(142,216,255,.18);border-radius:999px;color:#ddecff;background:linear-gradient(135deg,#5eb8ff24,#9f67ff21);font-size:11px;font-weight:900;cursor:pointer;transition:transform .16s ease,border-color .16s ease,background .16s ease}.reference-library-toggle:hover{border-color:#8ed8ff70;transform:translateY(-1px)}.reference-library-toggle span{color:#9eddff;font-size:10px;letter-spacing:0}.reference-library-toggle svg{color:#b9dcff;transition:transform .18s ease}.reference-character-panel.open .reference-library-toggle svg{transform:rotate(180deg)}.reference-library-current{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;padding:10px 12px;border:1px solid rgba(190,218,255,.12);border-radius:14px;color:#e0efffd1;background:#ffffff09}.reference-character-panel.collapsed .reference-library-current{margin-bottom:0}.reference-library-current span{display:inline-flex;align-items:center;gap:6px;color:#cce5ffad;font-size:11px;font-weight:800}.reference-library-current svg{color:#9e85ff}.reference-library-current strong{overflow:hidden;max-width:220px;color:#fff;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.project-character-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(138px,1fr));align-content:start;gap:12px;max-height:550px;overflow-y:auto;padding-right:5px}.project-character-list>button{display:grid;grid-template-rows:auto minmax(0,1fr) auto;justify-items:center;align-items:center;gap:8px;width:100%;aspect-ratio:1;min-height:138px;padding:12px 10px 10px;border:1px solid rgba(186,215,255,.12);border-radius:16px;color:#edf6ff;background:linear-gradient(145deg,#ffffff12,#ffffff05),#ffffff09;text-align:center;transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease}.project-character-list>button:hover,.project-character-list>button.active{border-color:#75caff75;background:linear-gradient(135deg,#5abfff21,#9761ff21);transform:translateY(-1px)}.project-character-list>button.active{box-shadow:inset 0 0 0 1px #83d2ff66,0 12px 30px #4854b42e}.project-character-list img{width:58px;height:58px;border:1px solid rgba(205,227,255,.14);border-radius:14px;object-fit:cover;background:#ffffff0d}.project-character-list button>div{display:grid;justify-items:center;gap:4px;width:100%;min-width:0}.project-character-list button strong{overflow:hidden;max-width:100%;color:#fff;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.project-character-list button span,.project-character-list button em{color:#d8e7fa94;font-size:10px;font-style:normal;font-weight:800}.project-character-list button em{display:inline-flex;align-items:center;justify-content:center;max-width:100%;min-height:22px;padding:0 8px;border:1px solid rgba(142,216,255,.16);border-radius:999px;color:#a6dfff;background:#59abff14;white-space:nowrap}.voice-ready-badge{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border:1px solid rgba(103,226,188,.16);border-radius:999px;color:#bff6e5;background:#46c49d1a;font-size:10px;font-weight:900}.voice-section-heading,.voice-library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px}.voice-section-heading:first-child{margin-top:0}.voice-section-heading>div,.voice-library-toolbar>div{display:grid;gap:3px}.voice-section-heading span,.voice-library-toolbar span{color:#8ed8ff;font-size:9px;font-weight:900;letter-spacing:.1em}.voice-section-heading strong,.voice-library-toolbar strong{color:#fff;font-size:13px}.voice-section-heading small,.voice-library-toolbar small{color:#dcecff9e;font-size:9px;font-weight:800;text-align:right}.voice-library-toolbar em{color:#8ee8cac7;font-size:9px;font-style:normal;font-weight:900}.voice-clone-card,.reading-line-panel{display:grid;gap:10px;margin-top:13px;padding:12px;border:1px solid rgba(190,218,255,.12);border-radius:15px;background:linear-gradient(145deg,#ffffff0e,#ffffff04),#070b1880}.voice-clone-form{display:grid;gap:8px}.voice-clone-form input,.reading-line-panel textarea{width:100%;border:1px solid rgba(190,218,255,.13);border-radius:12px;color:#eef7ff;background:#ffffff0b;outline:0}.voice-clone-form input{min-height:36px;padding:0 11px;font-size:11px}.voice-clone-form input::placeholder,.reading-line-panel textarea::placeholder{color:#dcecff61}.voice-clone-upload{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:0 11px;border:1px dashed rgba(142,216,255,.28);border-radius:12px;color:#bfe8ff;background:#59abff12;font-size:11px;font-weight:900;cursor:pointer}.voice-clone-upload input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.voice-clone-consent{display:flex;align-items:center;gap:7px;color:#ddecffa3;font-size:10px;line-height:1.45}.voice-clone-consent input{accent-color:#86d8ff}.voice-clone-button,.reading-line-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;border-radius:999px;color:#fff;font-size:10px;font-weight:900}.voice-clone-button{border:0;background:linear-gradient(135deg,#79c8ff,#9d70ff)}.voice-clone-button:disabled{opacity:.45;cursor:not-allowed;filter:grayscale(.25)}.reading-line-list{display:grid;gap:7px;max-height:122px;overflow-y:auto;padding-right:3px}.reading-line-list>button{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:8px;min-height:42px;padding:7px;border:1px solid rgba(190,218,255,.1);border-radius:12px;color:#edf6ff;background:#ffffff09;text-align:left}.reading-line-list>button.active,.reading-line-list>button:hover{border-color:#75caff6b;background:linear-gradient(135deg,#5abfff1f,#9761ff1f)}.reading-line-list span{display:grid;width:30px;height:28px;place-items:center;border-radius:9px;color:#9eddff;background:#59abff17;font-size:10px;font-weight:900}.reading-line-list p{overflow:hidden;margin:0;color:#e4f1ffc2;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.reading-line-panel textarea{min-height:76px;resize:vertical;padding:10px;font-size:10px;line-height:1.55}.reading-line-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.reading-line-actions button{border:1px solid rgba(178,210,255,.16);background:#ffffff0e}.reading-line-actions button:last-child{border:0;background:linear-gradient(135deg,#5bb8ff6b,#9762ff75)}.reading-line-actions button:disabled,.voice-preview-row button:disabled{cursor:not-allowed;opacity:.68}.voice-error-tip{margin:-2px 0 0;color:#ffd6de;font-size:10px;line-height:1.45}.voice-age-filter-row{display:flex;gap:6px;margin-top:9px;overflow-x:auto;padding-bottom:2px}.voice-age-filter-row button{flex:0 0 auto;min-height:28px;padding:0 10px;border:1px solid rgba(190,218,255,.12);border-radius:999px;color:#ddecffa8;background:#ffffff09;font-size:10px;font-weight:900}.voice-age-filter-row button.active,.voice-age-filter-row button:hover{border-color:#75caff73;color:#fff;background:linear-gradient(135deg,#5abfff2e,#9761ff2e)}.selected-character-summary{display:grid;grid-template-columns:92px minmax(0,1fr);gap:14px;padding:13px;border:1px solid rgba(188,217,255,.12);border-radius:14px;background:#ffffff09}.selected-character-summary img{width:92px;height:92px;border-radius:13px;object-fit:cover;background:#ffffff0d}.selected-character-summary>div{display:grid;align-content:center;gap:6px}.selected-character-summary strong{color:#fff;font-size:17px}.selected-character-summary p{display:-webkit-box;overflow:hidden;margin:0;color:#dbe9fda8;font-size:11px;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2}.selected-character-summary span{color:#a8dfff;font-size:10px;font-weight:800}.voice-option-grid{display:grid;grid-template-columns:1fr;gap:8px;max-height:292px;overflow-y:auto;margin-top:9px;padding-right:3px}.voice-option-card{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:74px;padding:10px;border:1px solid rgba(186,215,255,.12);border-radius:13px;color:#edf6ff;background:#ffffff09;text-align:left}.voice-option-card:hover,.voice-option-card.active{border-color:#8cc2ff80;background:linear-gradient(135deg,#5bbbff21,#9d63ff26)}.voice-option-card>span{display:grid;width:34px;height:34px;place-items:center;border-radius:10px;color:#fff;background:linear-gradient(135deg,#5bc7ff59,#9b63ff61)}.voice-option-card>div:nth-child(2){display:grid;gap:4px;min-width:0}.voice-option-grid strong{color:#fff;font-size:12px}.voice-option-grid small{display:-webkit-box;overflow:hidden;color:#d7e6fa8f;font-size:9px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.voice-option-grid em{color:#8ee8cac7;font-size:9px;font-style:normal;font-weight:900}.voice-card-audio{width:min(100%,260px);height:28px;margin-top:3px;border-radius:999px;filter:hue-rotate(176deg) saturate(1.18)}.voice-option-actions{display:grid;gap:6px;justify-items:end}.voice-option-actions button{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:58px;min-height:27px;padding:0 9px;border-radius:999px;color:#fff;font-size:9px;font-weight:950;white-space:nowrap}.voice-audition-button{border:0;background:linear-gradient(135deg,#78d8ff,#9b78ff);box-shadow:0 8px 18px #70abff2e}.voice-select-button{border:1px solid rgba(190,218,255,.14);background:#ffffff0f}.voice-option-card.active .voice-select-button{border-color:#8ee8ca5c;color:#aaf4dc;background:#50d6a91f}.voice-option-actions button:disabled{cursor:not-allowed;opacity:.68}.voice-option-grid button>svg{color:#8fe6ca}.voice-preview-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:13px;padding:12px 13px;border:1px solid rgba(182,213,255,.12);border-radius:13px;background:#060a1773}.voice-preview-row>div{display:grid;gap:4px;min-width:0}.voice-preview-row span{color:#9cdcff;font-size:9px;font-weight:900;letter-spacing:.08em}.voice-preview-row p{display:-webkit-box;overflow:hidden;margin:0;color:#e9f2ffc2;font-size:11px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.voice-generated-audio{width:min(100%,310px);height:30px;margin-top:5px;filter:hue-rotate(176deg) saturate(1.18)}.voice-preview-row button{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 13px;border:1px solid rgba(178,210,255,.17);border-radius:999px;color:#fff;background:linear-gradient(135deg,#5bb8ff40,#9762ff47);font-size:10px;font-weight:900}.project-character-empty{display:grid;justify-items:center;gap:7px;padding:34px 18px;color:#d7e6fa94;text-align:center}.project-character-empty.large{min-height:360px;align-content:center}.project-character-empty strong{color:#fff;font-size:13px}.project-character-empty span{max-width:280px;font-size:10px;line-height:1.55}@keyframes character-orbit-spin{to{transform:rotate(360deg)}}@media (max-width: 1180px){.character-library-hero{grid-template-columns:1fr}.character-overview-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.character-voice-workbench{grid-template-columns:1fr}.project-voice-panel{grid-column:1;grid-row:2}.character-generation-panel,.project-character-panel{grid-column:1;grid-row:1}.character-generation-stage{grid-template-columns:1fr}}@media (max-width: 820px){.character-workflow-shell .character-library-page,.character-workflow-shell .character-detail-view,.character-voice-workflow-page{padding:14px}.character-independent-header{grid-template-columns:1fr auto}.character-independent-title{display:none}.character-library-hero{padding:20px}.character-overview-stats,.character-filter-bar{grid-template-columns:1fr}.character-workbench-heading,.character-workflow-actions{align-items:stretch;flex-direction:column}.character-next-button{width:100%}.voice-preview-row{align-items:stretch;flex-direction:column}}:root{color-scheme:dark;--huimu-bg: #090d12;--huimu-surface: #111720;--huimu-surface-raised: #18212c;--huimu-surface-soft: #202b37;--huimu-border: #2c3947;--huimu-border-strong: #405064;--huimu-text: #edf4fb;--huimu-muted: #94a5b7;--huimu-accent: #59c2e8;--huimu-accent-strong: #2989b8;--huimu-coin: #f2bd63;--huimu-radius: 16px;--huimu-radius-sm: 11px}html,body,#root{background:var(--huimu-bg);color:var(--huimu-text)}body{font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,sans-serif}.non-home-app-shell,.workflow-app-shell,.main-panel,.workspace-main,.workspace-content,.script-workspace,.smart-episode-workspace,.character-voice-workflow,.smart-storyboard-workflow,.personal-script-library-page,.novel-library-page,.simple-editing-workspace{background:var(--huimu-bg)!important;color:var(--huimu-text)!important}.sidebar,.sidebar.collapsed{background:#0c1117f0!important;border:1px solid var(--huimu-border)!important;box-shadow:none!important;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.nav-item,.sidebar button{border-radius:12px!important;color:var(--huimu-muted)!important}.nav-item:hover,.sidebar button:hover{background:var(--huimu-surface-raised)!important;color:var(--huimu-text)!important}.nav-item.active,.sidebar button.active{background:#59c2e81f!important;border-color:#59c2e885!important;color:var(--huimu-accent)!important}.workflow-brand,.script-flow-shell,.workflow-topbar,.workspace-topbar,.topbar{background:#0c1117f5!important;border-color:var(--huimu-border)!important;box-shadow:none!important}.workflow-brand img,.workspace-brand img,.topbar img{border-radius:50%!important;background:#fff;object-fit:cover}.script-flow-step{background:transparent!important;border:0!important;box-shadow:none!important;color:var(--huimu-muted)!important}.script-flow-step.active,.script-flow-step.done,.script-flow-step.unlocked:hover{color:var(--huimu-text)!important}.script-flow-step .step-number,.script-flow-step .flow-index{background:var(--huimu-surface-soft)!important;color:var(--huimu-muted)!important;box-shadow:none!important}.script-flow-step.active .step-number,.script-flow-step.active .flow-index,.script-flow-step.done .step-number,.script-flow-step.done .flow-index{background:var(--huimu-accent-strong)!important;color:#fff!important}.panel,.card,.workspace-card,.workflow-card,.hero-panel,.config-panel,.content-panel,.stats-card,.summary-card,.episode-segment-card,.character-card,.project-card,.history-card,.asset-card,.model-selector,.model-selector-card,.video-style-section,.aspect-ratio-section,.portal-modal,.dialog-panel{background:var(--huimu-surface)!important;border-color:var(--huimu-border)!important;color:var(--huimu-text)!important;box-shadow:none!important}input,textarea,select{background:var(--huimu-surface-raised)!important;border-color:var(--huimu-border-strong)!important;color:var(--huimu-text)!important;border-radius:var(--huimu-radius-sm)!important}input::placeholder,textarea::placeholder{color:#728396!important}.primary-button,.home-start-button,.recharge-confirm-button,.membership-confirm-button{background:var(--huimu-accent-strong)!important;border-color:var(--huimu-accent)!important;color:#fff!important;box-shadow:none!important}.primary-button:hover,.home-start-button:hover,.recharge-confirm-button:hover,.membership-confirm-button:hover{background:#329bc9!important;transform:translateY(-1px)}.ratio-card.selected,.style-card.selected,.video-style-card.selected,.model-option.selected,.model-card.selected,.character-style-card.selected,[aria-pressed=true]{background:#59c2e821!important;border-color:var(--huimu-accent)!important;color:var(--huimu-text)!important;box-shadow:inset 0 0 0 1px #59c2e833!important}.ratio-card.selected svg,.style-card.selected svg,.model-option.selected svg,[aria-pressed=true] svg{color:var(--huimu-accent)!important}.status-pills .ok,.huimu-tool-status,.status-success{background:#59c2e81a!important;border-color:#59c2e859!important;color:var(--huimu-accent)!important}.credits-chip,.coin-balance,.recharge-balance-value{color:var(--huimu-coin)!important}.home-brand-lockup{display:inline-flex;align-items:center;gap:12px;margin-bottom:22px;color:#d8e7f2;font-size:15px;font-weight:750;letter-spacing:.16em}.home-brand-lockup img{width:44px;height:44px;border-radius:50%;background:#fff;object-fit:cover}.home-hero-copy h1{max-width:none;white-space:nowrap;font-size:clamp(30px,6.5vw,88px)!important;letter-spacing:-.055em;line-height:.98}.home-create-card,.home-quick-actions{background:#0d131be6!important;border:1px solid rgba(148,165,183,.24)!important;box-shadow:none!important;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.home-quick-action-item{background:transparent!important;border-color:transparent!important;color:var(--huimu-muted)!important}.home-quick-action-item:hover{background:var(--huimu-surface-raised)!important;color:var(--huimu-text)!important}.huimu-tools-page{min-height:100vh;padding:clamp(24px,4vw,56px);background:radial-gradient(circle at 82% 10%,rgba(89,194,232,.11),transparent 28%),var(--huimu-bg)}.non-home-app-shell .main-panel:has(.huimu-tools-page){padding:0}.huimu-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;max-width:1380px;margin:0 auto 38px;padding-bottom:28px;border-bottom:1px solid var(--huimu-border)}.huimu-eyebrow{color:var(--huimu-accent);font-size:11px;font-weight:800;letter-spacing:.18em}.huimu-page-heading h1{margin:10px 0 8px;font-size:clamp(38px,5vw,64px);letter-spacing:-.05em}.huimu-page-heading p,.huimu-tool-card p{color:var(--huimu-muted)}.huimu-brand-chip{display:flex;align-items:center;gap:10px;color:var(--huimu-text);font-weight:700}.huimu-brand-chip img{width:44px;height:44px;border-radius:50%;background:#fff}.huimu-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:1380px;margin:0 auto}.huimu-tool-card{position:relative;min-height:250px;padding:28px;border:1px solid var(--huimu-border);border-radius:var(--huimu-radius);background:linear-gradient(145deg,#141b24,#10161e);overflow:hidden}.huimu-tool-card:hover{border-color:var(--huimu-border-strong);transform:translateY(-2px)}.huimu-tool-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#59c2e81a;color:var(--huimu-accent)}.huimu-tool-status{position:absolute;top:28px;right:28px;padding:5px 9px;border:1px solid;border-radius:999px;font-size:11px}.huimu-tool-card h2{margin:34px 0 10px;font-size:25px}.huimu-tool-card p{max-width:520px;line-height:1.7}.huimu-tool-card button{display:inline-flex;align-items:center;gap:8px;margin-top:24px;padding:10px 14px;border:1px solid var(--huimu-border-strong);border-radius:10px;background:var(--huimu-surface-raised);color:var(--huimu-text)}.huimu-tool-card button svg{transform:rotate(180deg)}.huimu-tool-card button:disabled{opacity:.52;cursor:not-allowed}@media (max-width: 820px){.huimu-page-heading{align-items:flex-start;flex-direction:column}.huimu-tool-grid{grid-template-columns:1fr}.home-hero-copy h1{font-size:clamp(26px,7.5vw,64px)!important}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.agent-character-add-card{display:grid;place-items:center;align-content:center;gap:12px;min-height:468px;padding:28px;border:1px dashed #565b66;border-radius:14px;color:#f5f6f8;background:#1b1e23;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease}.agent-character-add-card:hover{border-color:#9b7df1;background:#22252c;transform:translateY(-2px)}.agent-character-add-card>span{display:grid;width:72px;height:72px;place-items:center;border:1px solid #61557f;border-radius:22px;color:#c8b6ff;background:#29243a}.agent-character-add-card strong{font-size:20px}.agent-character-add-card small{color:#aeb2bc;font-size:13px}@media (max-width: 760px){.smart-episode-summary{grid-template-columns:1fr}.agent-character-add-card{min-height:220px}}@media (prefers-reduced-motion: reduce){.character-library-hero,.character-overview-stats,.character-workflow-shell .character-filter-bar,.character-workflow-shell .character-card-grid,.character-visual-orbit,.character-visual-orbit>span,.character-workflow-shell:before{animation:none!important}}.manga-agent-workspace{display:grid;grid-template-rows:auto minmax(0,1fr);gap:14px;min-height:calc(100vh - 28px);padding:14px;background:#f6f7f9}.manga-agent-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;border:1px solid rgba(19,32,51,.1);border-radius:8px;background:#fff}.manga-agent-header span{display:block;color:#69758a;font-size:12px;font-weight:800}.manga-agent-header h1{margin:2px 0 0;color:#172033;font-size:22px;letter-spacing:0}.manga-agent-actions{display:flex;flex-wrap:wrap;gap:10px}.manga-agent-frame{width:100%;min-height:720px;border:1px solid rgba(19,32,51,.12);border-radius:8px;background:#fff}@media (max-width: 720px){.manga-agent-header{align-items:stretch;flex-direction:column}.manga-agent-actions{display:grid;grid-template-columns:1fr}}.agent-cast-page{min-height:calc(100vh - 82px);padding:12px 20px 88px;overflow-x:hidden;color:#f8f8f5;background:radial-gradient(circle at 70% 3%,rgba(255,112,24,.08),transparent 30%),linear-gradient(180deg,#121212,#0d0d0f)}.agent-cast-stage-shell .agent-cast-page{min-height:calc(100vh - 82px);padding:12px 20px 88px;background:radial-gradient(circle at 73% 6%,rgba(255,112,24,.05),transparent 26%),linear-gradient(180deg,#101010,#0d0d0f)}.agent-cast-layout{display:grid;grid-template-columns:minmax(0,1fr) 478px;gap:16px;align-items:stretch}.agent-cast-board,.agent-ai-generator-panel{border:1px solid rgba(255,255,255,.09);background:#1a1a1b;box-shadow:inset 0 1px #ffffff0a,0 22px 52px #00000047}.agent-cast-board{min-height:calc(100vh - 205px);overflow:hidden;border-radius:7px}.agent-cast-stage-shell .agent-cast-board,.agent-cast-stage-shell .agent-ai-generator-panel{min-height:calc(100vh - 205px)}.agent-cast-board-header{display:flex;min-height:62px;align-items:center;justify-content:space-between;gap:16px;padding:0 16px;border-bottom:1px solid rgba(255,255,255,.07)}.agent-cast-tabs{display:flex;align-items:center;gap:28px}.agent-cast-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;color:#858b90;padding:0 2px 11px;font-size:14px;font-weight:900;cursor:pointer}.agent-cast-tabs button.active{border-bottom-color:#fff;color:#fff}.agent-cast-header-actions{display:flex;flex-wrap:wrap;gap:10px}.agent-cast-header-actions button{min-height:34px;padding:0 12px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#262629;color:#fff;font-size:13px;font-weight:900;cursor:pointer}.agent-narrator-row{display:flex;align-items:center;gap:16px;padding:12px 16px 0}.agent-narrator-row>strong{min-width:72px;color:#fff;font-size:14px}.agent-voice-pill{display:grid;grid-template-columns:40px minmax(0,1fr) 20px 16px;align-items:center;gap:12px;min-width:248px;min-height:56px;padding:8px 12px;border:0;border-radius:4px;background:#2a2a2b;color:#fff;text-align:left;cursor:pointer}.agent-voice-pill:disabled{cursor:not-allowed;opacity:.82}.agent-voice-pill img{width:40px;height:40px;border-radius:5px;object-fit:cover;background:#3a3a3a}.agent-voice-pill span{display:grid;gap:3px;min-width:0}.agent-voice-pill b{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.agent-voice-pill small{color:#ffffffeb;font-size:12px}.agent-character-canvas{position:relative;display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,320px));align-content:start;gap:18px;min-height:640px;padding:26px 16px 40px}.agent-character-card{overflow:hidden;border:1px solid rgba(255,120,24,.95);border-radius:7px;background:#242424;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.agent-character-card:not(.active){border-color:#ffffff1f}.agent-character-card:hover,.agent-character-card.active{transform:translateY(-2px);box-shadow:0 14px 34px #ff671829}.agent-character-preview{display:grid;height:178px;place-items:center;background:radial-gradient(circle at 50% 40%,rgba(255,255,255,.04),transparent 38%),#272727}.agent-character-preview img{width:100%;height:100%;object-fit:cover}.agent-empty-tools{display:flex;align-items:center;gap:8px}.agent-empty-tools span{display:grid;width:32px;height:32px;place-items:center;border:1px solid rgba(255,255,255,.13);border-radius:6px;background:#303033;color:#bfc2c6}.agent-empty-tools .ai{color:#ff7818;font-weight:950}.agent-character-footer{display:grid;gap:8px;padding:11px 13px 12px;background:#202020}.agent-character-name-row,.agent-character-voice-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.agent-character-name-row strong{overflow:hidden;color:#fff;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.agent-character-name-row button,.agent-character-voice-row button{display:grid;place-items:center;border:0;background:transparent;color:#9a9da3;cursor:pointer}.agent-character-voice-row{min-height:32px;padding:0 10px;border-radius:5px;background:#2b2b2c;color:#fff;font-size:13px;font-weight:900}.agent-character-voice-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-card-audio{width:100%;height:28px;filter:hue-rotate(176deg) saturate(1.18)}.agent-cast-page .agent-empty-state{display:grid;min-height:260px;place-items:center;gap:8px;color:#b7bec8}.agent-cast-page .agent-empty-state strong{color:#fff;font-size:16px}.agent-ai-generator-panel{min-height:calc(100vh - 205px);padding:18px 20px;border-radius:18px;background:radial-gradient(circle at 72% 6%,rgba(255,255,255,.035),transparent 34%),#222225}.agent-ai-panel-top{display:grid;grid-template-columns:34px 1fr 34px;align-items:center;gap:10px}.agent-ai-panel-top strong{color:#fff;font-size:14px;text-align:center}.agent-ai-panel-top button{display:grid;width:28px;height:28px;place-items:center;border:0;border-radius:7px;background:#29292b;color:#666b71;cursor:pointer}.flip-x{transform:rotate(180deg)}.agent-ai-tabs{display:grid;grid-template-columns:1fr 1fr;gap:0;margin-top:14px;padding:2px;border:1px solid rgba(255,255,255,.11);border-radius:7px}.agent-ai-tabs button{min-height:38px;border:0;border-radius:5px;background:transparent;color:#9ca3aa;font-weight:900;cursor:pointer}.agent-ai-tabs .active{background:#3a3a3b;color:#fff}.agent-ai-form{display:grid;gap:13px;margin-top:17px}.agent-ai-form>label,.agent-history strong,.agent-voice-mini-library strong{color:#c9ddff;font-size:13px;font-weight:950}.agent-model-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.agent-model-row button{display:flex;min-width:0;min-height:44px;align-items:center;justify-content:space-between;gap:8px;padding:0 12px;border:1px solid rgba(255,255,255,.09);border-radius:7px;background:#303033;color:#fff;font-size:13px;font-weight:900;cursor:pointer}.agent-model-row img{width:28px;height:28px;border-radius:5px;object-fit:cover;background:#3a3a3a}.agent-prompt-box{position:relative;min-height:306px;padding:18px 14px 54px;border:1px solid rgba(255,255,255,.09);border-radius:10px;background:#303033}.agent-prompt-box p{margin:0;color:#fff;font-size:14px;font-weight:800;line-height:1.65}.agent-prompt-box button{position:absolute;bottom:11px;left:12px;display:inline-flex;min-height:38px;align-items:center;gap:6px;padding:0 14px;border:1px solid rgba(255,255,255,.12);border-radius:6px;background:#38383a;color:#fff;font-size:13px;font-weight:900;cursor:pointer}.agent-prompt-box>span{position:absolute;right:12px;bottom:15px;color:#87909b;font-size:12px}.agent-generate-controls{display:grid;grid-template-columns:auto 88px auto 1fr 164px;align-items:center;gap:10px}.agent-generate-controls label{color:#c9ddff;font-size:13px;font-weight:950}.agent-generate-controls button:not(.agent-ai-generate-button),.agent-generate-controls select{min-height:38px;border:1px solid rgba(255,255,255,.11);border-radius:7px;background:#303033;color:#fff;font-weight:900}.agent-ai-generate-button{display:inline-flex;min-height:38px;align-items:center;justify-content:center;gap:6px;border:0;border-radius:7px;background:linear-gradient(90deg,#ff5d48,#ff861e);color:#fff;font-weight:950;cursor:pointer}.agent-ai-generate-button:disabled{cursor:not-allowed;opacity:.55}.agent-voice-mini-library{display:grid;gap:9px;margin-top:4px;padding-top:8px;border-top:1px solid rgba(255,255,255,.07)}.agent-voice-mini-library>div:first-child{display:flex;justify-content:space-between;gap:10px}.agent-voice-mini-library span{color:#9098a1;font-size:11px}.agent-voice-filter-row{display:flex;gap:6px;overflow:auto;padding-bottom:2px}.agent-voice-filter-row button{min-height:26px;padding:0 9px;border:1px solid rgba(255,255,255,.09);border-radius:999px;background:#303033;color:#a7adb4;font-size:10px;font-weight:900;white-space:nowrap;cursor:pointer}.agent-voice-filter-row .active{border-color:#ff7818;color:#fff}.agent-voice-list{display:grid;gap:7px;max-height:182px;overflow:auto;padding-right:4px}.agent-voice-list article{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:7px;padding:8px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#2b2b2d}.agent-voice-list article.active{border-color:#ff7818cc}.agent-voice-list article>div{display:grid;min-width:0;gap:2px}.agent-voice-list article strong{overflow:hidden;color:#fff;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.agent-voice-list article span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-voice-list button{display:inline-flex;min-height:28px;align-items:center;justify-content:center;gap:4px;padding:0 9px;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:#353537;color:#fff;font-size:10px;font-weight:900;cursor:pointer}.agent-voice-list button:disabled{cursor:not-allowed;opacity:.65}.agent-voice-list audio{grid-column:1 / -1;width:100%;height:28px}.agent-voice-mini-library p{margin:0;color:#ffd6de;font-size:10px}.agent-history{display:grid;gap:9px;margin-top:4px}.agent-history span{color:#717780;font-size:12px}.agent-bottom-actions{position:fixed;z-index:12;bottom:18px;left:50%;display:grid;grid-template-columns:1fr 1fr;min-width:398px;overflow:hidden;border-radius:999px;box-shadow:0 18px 46px #ff681c3d;transform:translate(-50%)}.agent-bottom-actions button{display:inline-flex;min-height:48px;align-items:center;justify-content:center;gap:8px;border:0;background:linear-gradient(90deg,#ff5f32,#ff8b1f);color:#fff;font-size:15px;font-weight:950;cursor:pointer}.agent-bottom-actions button+button{border-left:1px solid rgba(255,255,255,.2)}.agent-bottom-actions button:disabled{cursor:not-allowed;opacity:.5}.agent-bottom-actions .storyboard-cost{display:inline-flex;align-items:center;gap:5px;margin-left:10px;color:var(--huimu-coin, #ffd77a);font-size:13px;font-weight:800;white-space:nowrap}@media (max-width: 1180px){.agent-cast-layout{grid-template-columns:1fr}.agent-ai-generator-panel{min-height:auto}}@media (max-width: 760px){.agent-cast-page{padding:12px 12px 94px}.agent-cast-board-header,.agent-narrator-row,.agent-voice-mini-library>div:first-child{align-items:stretch;flex-direction:column}.agent-cast-tabs,.agent-cast-header-actions{width:100%;overflow:auto}.agent-character-canvas{grid-template-columns:1fr}.agent-generate-controls{grid-template-columns:1fr 1fr}.agent-ai-generate-button{grid-column:1 / -1}.agent-bottom-actions{width:calc(100% - 24px);min-width:0}}@media (prefers-reduced-motion: reduce){.agent-character-card{transition:none}}.agent-cast-immersive-shell{background:radial-gradient(circle at 9% 4%,rgba(111,211,255,.16),transparent 27%),radial-gradient(circle at 84% 7%,rgba(183,112,255,.2),transparent 32%),linear-gradient(145deg,#061321,#11112d 48%,#1e1438)}.agent-cast-stage-shell{background:radial-gradient(circle at 9% 8%,rgba(111,211,255,.16),transparent 27%),radial-gradient(circle at 86% 8%,rgba(183,112,255,.22),transparent 33%),radial-gradient(circle at 52% 92%,rgba(92,118,255,.12),transparent 30%),linear-gradient(145deg,#061321,#11132f 48%,#21143b)}.agent-cast-stage-shell:before{display:block;top:0;right:0;bottom:0;left:0;height:auto;opacity:.8;background:linear-gradient(90deg,#7ad3ff29,#bb77ff24),radial-gradient(circle at 18% 20%,rgba(255,255,255,.08),transparent 20%),radial-gradient(circle at 76% 18%,rgba(255,255,255,.07),transparent 24%);filter:blur(18px)}.agent-cast-stage-shell .character-particle-layer{display:block;top:0;right:0;bottom:0;left:0;opacity:.38}.agent-cast-page,.agent-cast-stage-shell .agent-cast-page{color:#f8fbff;background:linear-gradient(180deg,rgba(255,255,255,.04),transparent 18%),transparent}.agent-cast-board,.agent-ai-generator-panel{border-color:#b8d5ff5c;background:linear-gradient(135deg,#e6f4ff21,#ac91ff1f),#0a1224b8;box-shadow:inset 0 1px #ffffff29,0 24px 64px #04091670,0 0 34px #8bb4ff1f;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.agent-cast-board-header{border-bottom-color:#cadfff2e;background:linear-gradient(90deg,#ffffff14,#b289ff14)}.agent-cast-tabs button{color:#e1edff9e}.agent-cast-tabs button.active{border-bottom-color:#fff;color:#fff;text-shadow:0 0 18px rgba(130,207,255,.55)}.agent-cast-header-actions button,.agent-ai-panel-top button,.agent-model-row button,.agent-generate-controls button:not(.agent-ai-generate-button),.agent-generate-controls select,.agent-prompt-box button,.agent-voice-filter-row button,.agent-voice-list button{border-color:#d2e4ff38;background:linear-gradient(135deg,#ffffff1f,#a081ff1f),#111b32b8;color:#f8fbff}.agent-voice-pill{border:1px solid rgba(203,224,255,.22);background:linear-gradient(135deg,#89d1ff38,#b075ff2e),#111b32bd;box-shadow:inset 0 1px #ffffff1f}.agent-character-card{border-color:#8fd3ffe0;background:linear-gradient(145deg,#ffffff1c,#a27fff1a),#101930c7;box-shadow:0 18px 42px #0409163d}.agent-character-card:not(.active){border-color:#cfe1ff38}.agent-character-card:hover,.agent-character-card.active{box-shadow:0 20px 48px #449cff38,0 0 0 1px #c497ff38}.agent-character-preview{background:radial-gradient(circle at 50% 34%,rgba(255,255,255,.12),transparent 33%),linear-gradient(135deg,#7ec9ff1f,#ba7cff1f),#141e36e0}.agent-character-footer{background:linear-gradient(90deg,#ebf7ff1a,#a680ff1a),#0a1122b8}.agent-character-name-row strong,.agent-ai-panel-top strong,.agent-prompt-box p,.agent-voice-list article strong{color:#fff}.agent-empty-tools span,.agent-voice-list article{border-color:#d2e4ff33;background:#ffffff14}.agent-empty-tools .ai{color:#c291ff}.agent-ai-tabs{border-color:#d2e4ff33;background:#ffffff0d}.agent-ai-tabs button{color:#e6efff9e}.agent-ai-tabs .active{background:linear-gradient(90deg,#80cdff47,#b175ff40);color:#fff;box-shadow:inset 0 1px #ffffff1f}.agent-ai-form>label,.agent-history strong,.agent-voice-mini-library strong,.agent-generate-controls label{color:#dcedff}.agent-prompt-box{border-color:#d2e4ff38;background:linear-gradient(145deg,#ffffff1a,#a082ff1a),#131d35c2}.agent-prompt-box>span,.agent-history span,.agent-voice-mini-library span,.agent-voice-list article span{color:#e2eeffa8}.agent-ai-generate-button,.agent-bottom-actions button{background:linear-gradient(90deg,#75c9ff,#8e8cff 48%,#bd72ff);color:#fff;box-shadow:0 16px 38px #7ebcff4d,inset 0 1px #ffffff38}.agent-bottom-actions{box-shadow:0 20px 52px #7ebcff47}.agent-voice-filter-row .active,.agent-voice-list article.active{border-color:#8bd3ffdb;background:linear-gradient(135deg,#7acaff33,#b873ff2e),#141f3acc;box-shadow:0 0 22px #87c6ff1f}.agent-cast-stage-shell{background:radial-gradient(circle at 12% 14%,rgba(105,205,255,.12),transparent 28%),radial-gradient(circle at 86% 18%,rgba(165,102,255,.14),transparent 32%),#080b14}.agent-cast-page,.agent-cast-stage-shell .agent-cast-page{position:relative;isolation:isolate;display:grid;align-content:start;gap:16px;min-height:calc(100vh - 96px);padding:18px 28px 24px;overflow:hidden;border-radius:18px 18px 0 0;color:#f5f7fb;background:linear-gradient(150deg,rgba(28,49,84,.34),transparent 42%),linear-gradient(210deg,rgba(80,35,117,.26),transparent 46%),#090c15}.agent-cast-page:before,.agent-cast-page:after{position:absolute;z-index:-1;content:"";pointer-events:none}.agent-cast-page:before{top:-32%;right:-12%;bottom:-32%;left:-12%;opacity:.78;filter:blur(8px);background:radial-gradient(circle at 18% 34%,rgba(80,196,255,.22),transparent 23%),radial-gradient(circle at 78% 26%,rgba(157,97,255,.2),transparent 24%),radial-gradient(circle at 58% 78%,rgba(73,118,255,.12),transparent 22%);animation:smart-aurora-drift 13s ease-in-out infinite alternate}.agent-cast-page:after{top:0;right:0;bottom:0;left:0;opacity:.2;background-image:linear-gradient(rgba(151,203,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(151,203,255,.08) 1px,transparent 1px);background-size:54px 54px;-webkit-mask-image:linear-gradient(to bottom,black,transparent 78%);mask-image:linear-gradient(to bottom,black,transparent 78%);animation:smart-grid-drift 18s linear infinite}.agent-cast-page>*{position:relative;z-index:1}.agent-cast-intro,.agent-cast-summary,.agent-cast-layout,.agent-bottom-actions{width:min(100%,1458px);margin-right:auto;margin-left:auto}.agent-cast-intro{min-height:188px}.agent-cast-layout{grid-template-columns:minmax(0,1fr) minmax(380px,.38fr);gap:16px}.agent-cast-board,.agent-ai-generator-panel{min-height:auto;border:1px solid rgba(135,185,255,.14);border-radius:16px;background:linear-gradient(135deg,#1a253be0,#19162de0);box-shadow:inset 0 1px #ffffff09,0 24px 70px #0f2b542e}.agent-cast-stage-shell .agent-cast-board,.agent-cast-stage-shell .agent-ai-generator-panel{min-height:calc(100vh - 502px)}.agent-cast-board-header{min-height:58px;border-bottom-color:#87b9ff1a;background:#080c173d}.agent-cast-tabs button{color:#91a1b8}.agent-cast-tabs button.active{border-bottom-color:#e7f7ff;color:#f5f9ff}.agent-cast-header-actions button,.agent-voice-pill,.agent-ai-panel-top button,.agent-model-row button,.agent-generate-controls button:not(.agent-ai-generate-button),.agent-generate-controls select,.agent-prompt-box button,.agent-voice-filter-row button,.agent-voice-list button{border-color:#85c4ff2e;background:#699ee214;color:#dceeff;box-shadow:none}.agent-narrator-row{padding:14px 16px 0}.agent-narrator-row>strong{color:#f5f9ff}.agent-voice-pill{border-radius:8px;background:linear-gradient(90deg,#4aafff1f,#975cff29)}.agent-character-canvas{gap:18px;min-height:370px;padding:22px 16px 28px}.agent-character-card{border-color:#8fc1ff38;border-radius:10px;background:#080c1752;box-shadow:none}.agent-character-card:not(.active){border-color:#8fc1ff2e}.agent-character-card:hover,.agent-character-card.active{border-color:#76d3ffb8;box-shadow:0 0 0 1px #7ecdff2e,0 18px 46px #327bff21}.agent-character-preview{height:180px;background:radial-gradient(circle at 50% 42%,rgba(164,177,255,.16),transparent 30%),linear-gradient(135deg,#213658bd,#2a2654ad)}.agent-character-footer{min-height:40px;padding:10px 13px;background:#0c11228a}.agent-ai-generator-panel{padding:18px 20px}.agent-ai-tabs{border-color:#95b3ff2e;background:#080c172e}.agent-prompt-box{min-height:306px;border-color:#95b3ff29;background:#080c1752}.agent-voice-list article{border-color:#95b3ff24;background:#080c1738}.agent-voice-list article.active,.agent-voice-filter-row .active{border-color:#77d6ff5c;background:linear-gradient(90deg,#4aafff1f,#975cff29)}.agent-bottom-actions{position:relative;bottom:auto;left:auto;display:flex;justify-content:center;gap:14px;min-width:0;overflow:visible;border-radius:0;box-shadow:none;transform:none}.agent-bottom-actions button{min-width:220px;min-height:56px;border-radius:999px}.agent-bottom-actions button+button{border-left:0}.agent-cast-page,.agent-cast-stage-shell .agent-cast-page{gap:16px;padding:18px 28px 24px;background:linear-gradient(150deg,rgba(28,49,84,.34),transparent 42%),linear-gradient(210deg,rgba(80,35,117,.26),transparent 46%),#090c15}.agent-cast-intro,.agent-cast-summary,.agent-cast-layout{width:min(100%,1458px)}.agent-cast-intro{grid-template-columns:minmax(0,1fr) minmax(360px,.72fr);gap:34px;padding:26px 30px}.agent-cast-summary{gap:12px}.agent-cast-layout{grid-template-columns:minmax(0,1fr) minmax(360px,.72fr);gap:16px;align-items:stretch}.agent-cast-board,.agent-ai-generator-panel{overflow:hidden;border:1px solid rgba(135,185,255,.1);border-radius:16px;background:#080c1775;box-shadow:inset 0 1px #ffffff06;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.agent-cast-stage-shell .agent-cast-board,.agent-cast-stage-shell .agent-ai-generator-panel{height:clamp(390px,calc(100vh - 512px),560px);min-height:390px}.agent-cast-board-header{min-height:58px;padding:0 18px;border-bottom:1px solid rgba(135,185,255,.1);background:#080c1733}.agent-cast-tabs{gap:28px}.agent-cast-tabs button{color:#91a1b8;font-size:13px}.agent-cast-tabs button.active{border-bottom-color:#e7f7ff;color:#f5f9ff;text-shadow:none}.agent-cast-header-actions button,.agent-voice-pill,.agent-ai-panel-top button,.agent-model-row button,.agent-generate-controls button:not(.agent-ai-generate-button),.agent-generate-controls select,.agent-prompt-box button,.agent-voice-filter-row button,.agent-voice-list button{border:1px solid rgba(133,196,255,.18);color:#b9d8f0;background:#699ee214;box-shadow:none}.agent-cast-header-actions button{min-height:34px;border-radius:9px;color:#eaf7ff}.agent-narrator-row{gap:18px;min-height:82px;padding:13px 18px 0}.agent-narrator-row>strong{color:#f5f9ff;font-size:13px}.agent-voice-pill{min-height:58px;border-radius:10px;background:linear-gradient(90deg,#4aafff1f,#975cff29)}.agent-voice-pill small,.agent-voice-mini-library span,.agent-voice-list article span,.agent-history span,.agent-prompt-box>span{color:#91a1b8}.agent-character-canvas{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;min-height:0;height:calc(100% - 140px);padding:18px;overflow-y:auto}.agent-character-card{min-height:220px;border:1px solid rgba(130,190,255,.14);border-radius:12px;background:linear-gradient(135deg,#1a253be0,#19162de0);box-shadow:inset 0 1px #ffffff09;transform:none}.agent-character-card:not(.active){border-color:#82beff24}.agent-character-card:hover,.agent-character-card.active{border-color:#77d6ff5c;box-shadow:0 16px 42px #5c71ff1f,inset 0 1px #ffffff0a;transform:none}.agent-character-preview{height:176px;background:radial-gradient(circle at 50% 45%,rgba(157,176,255,.15),transparent 30%),linear-gradient(135deg,#243758e0,#272350db)}.agent-character-footer{min-height:44px;padding:11px 13px;background:#0c11228a}.agent-character-name-row strong{color:#f5f9ff;font-size:13px}.agent-ai-generator-panel{display:flex;flex-direction:column;padding:18px 20px;overflow-y:auto}.agent-ai-panel-top{min-height:34px}.agent-ai-tabs{margin-top:14px;border-color:#95b3ff2e;background:#080c172e}.agent-ai-tabs .active{background:linear-gradient(90deg,#5fc4ff57,#915cff57)}.agent-ai-form{gap:13px;margin-top:17px}.agent-ai-form>label,.agent-history strong,.agent-voice-mini-library strong,.agent-generate-controls label{color:#a9dcff}.agent-model-row button{min-height:44px;border-radius:8px}.agent-prompt-box{min-height:248px;border-color:#95b3ff29;border-radius:12px;background:#080c1752}.agent-prompt-box p{color:#f5f9ff;font-size:13px;line-height:1.75}.agent-generate-controls{grid-template-columns:auto 88px auto 1fr 164px}.agent-ai-generate-button{border-radius:9px;background:linear-gradient(90deg,#5bcfff,#8b7eff 55%,#b86bff);box-shadow:0 0 18px #7c89ff47}.agent-voice-mini-library{margin-top:0;border-top-color:#87b9ff1a}.agent-voice-filter-row button{color:#b9d8f0;font-size:10px}.agent-voice-filter-row .active,.agent-voice-list article.active{border-color:#77d6ff5c;color:#d7efff;background:linear-gradient(90deg,#4aafff1f,#975cff29);box-shadow:0 8px 24px #5c71ff1a}.agent-voice-list{max-height:168px}.agent-voice-list article{border-color:#82beff24;border-radius:10px;background:linear-gradient(135deg,#1a253bb8,#19162db8)}.agent-bottom-actions{margin-top:6px}.agent-bottom-actions button{min-width:220px;min-height:56px;border:0;border-radius:999px;background:linear-gradient(90deg,#5bcfff,#8b7eff 55%,#b86bff);box-shadow:0 18px 40px #5f77ff38}.agent-cast-stage-shell .agent-cast-board,.agent-cast-stage-shell .agent-ai-generator-panel{height:auto;min-height:610px}.agent-character-canvas{grid-template-columns:repeat(auto-fill,minmax(360px,1fr));height:auto;min-height:468px;padding:18px}.agent-character-card{min-height:468px;border-radius:14px}.agent-character-preview{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr);height:326px;padding:20px;overflow:hidden}.agent-character-toolrow{z-index:2;display:flex;align-items:center;justify-content:center;gap:10px;min-height:64px;padding:4px 0 14px}.agent-character-toolrow button{display:inline-grid;grid-template-columns:auto;place-items:center;gap:4px;min-width:58px;min-height:56px;padding:7px 9px;border:1px solid rgba(213,230,255,.22);border-radius:13px;color:#eff7ffd6;background:#ffffff0e;cursor:pointer}.agent-character-toolrow button span,.agent-character-toolrow button b{font-size:10px;font-weight:900;white-space:nowrap}.agent-character-toolrow .agent-ai-create-person{color:#fff;border-color:#8bd3ff70;background:linear-gradient(135deg,#5bcfff24,#b86bff33)}.agent-character-toolrow .agent-ai-create-person>span{color:#9bddff;font-size:18px;line-height:1}.agent-character-toolrow em{color:#eef6ffc7;font-size:12px;font-style:normal;font-weight:900;white-space:nowrap}.agent-character-display{display:grid;min-height:0;place-items:center}.agent-character-display>img{width:min(100%,290px);height:100%;max-height:224px;border:1px solid rgba(222,236,255,.25);border-radius:14px;object-fit:cover;background:#ffffff1a}.agent-character-placeholder{display:grid;width:min(100%,286px);min-height:196px;place-items:center;padding:14px;border:1px dashed rgba(226,238,255,.36);border-radius:16px;color:#eef6ffc2;text-align:center;background:#ffffff0b}.agent-character-placeholder-frame{display:grid;width:112px;height:112px;place-items:center;border:1px dashed rgba(226,238,255,.42);border-radius:999px 999px 34px 34px;color:#eef6ff80;background:#ffffff14}.agent-character-placeholder strong{margin-top:10px;color:#f5f9ff;font-size:16px}.agent-character-placeholder span{max-width:210px;margin-top:6px;color:#e2eeffad;font-size:11px;line-height:1.55}.agent-character-footer{gap:10px;min-height:142px;padding:16px 18px 18px}.agent-character-name-row{align-items:flex-start}.agent-character-name-row>div{display:grid;min-width:0;gap:4px}.agent-character-name-row strong{font-size:22px;line-height:1.1}.agent-character-name-row span{color:#e2eeffb8;font-size:12px;font-weight:800}.agent-character-name-row button{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:0 9px;border:1px solid rgba(213,230,255,.16);border-radius:999px;color:#eef6ffbd;background:#ffffff0f}.agent-character-name-row button span{color:inherit;font-size:10px}.agent-character-voice-row{display:grid;grid-template-columns:34px minmax(0,auto) minmax(0,1fr) 34px;min-height:48px;padding:0 10px;border:1px solid rgba(133,196,255,.14);border-radius:10px;background:#ffffff0f}.agent-character-voice-row button{width:30px;height:30px;border:0;color:#eef6ffcc;background:transparent}.agent-character-voice-row span{color:#f5f9ff;font-size:13px;font-weight:950}.agent-character-voice-row em{overflow:hidden;color:#e2eeffa8;font-size:12px;font-style:normal;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.agent-voice-mini-library{scroll-margin:90px;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.agent-voice-mini-library.open-highlight{border-top-color:#77d6ffb3;border-radius:14px;padding:12px;background:linear-gradient(90deg,#4aafff24,#975cff2e),#080c1752;box-shadow:0 0 0 1px #77d6ff59,0 0 34px #7c89ff38}.agent-character-voice-row button:last-child{border:1px solid rgba(251,191,36,.55);border-radius:8px;color:#fff7d6;background:#fbbf2414}.character-hidden-file-input{display:none!important}.character-library-picker-overlay,.character-ai-studio-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;display:grid;place-items:center;padding:28px;background:#040918d1;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.character-library-picker{width:min(1040px,94vw);max-height:86vh;overflow:hidden;border:1px solid rgba(107,151,255,.38);border-radius:24px;background:linear-gradient(145deg,#111a35,#172448);box-shadow:0 28px 80px #00000085}.character-library-picker>header,.character-ai-studio-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:24px 28px;border-bottom:1px solid rgba(126,158,233,.2);background:linear-gradient(90deg,#2a4b9647,#6746bf29)}.character-library-picker header div,.character-ai-studio-header div{display:grid;gap:6px}.character-library-picker header span,.character-ai-studio-header span{color:#7ee2ff;font-size:12px;font-weight:800;letter-spacing:.12em}.character-library-picker header strong,.character-ai-studio-header strong{color:#fff;font-size:24px}.character-library-picker header p,.character-ai-studio-header p{margin:0;color:#aebbd8;font-size:13px}.character-library-picker header>button,.character-ai-studio-header>button{display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid rgba(153,177,236,.3);border-radius:12px;color:#dbe7ff;background:#ffffff0f}.character-library-picker-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;max-height:calc(86vh - 126px);overflow:auto;padding:24px}.character-library-picker-grid>button{display:grid;gap:8px;min-width:0;padding:12px;text-align:left;border:1px solid rgba(125,156,226,.24);border-radius:16px;color:#eef4ff;background:#162243db;transition:.18s ease}.character-library-picker-grid>button:hover{transform:translateY(-3px);border-color:#71b9ff;box-shadow:0 14px 28px #1259c140}.character-library-picker-image{display:grid;place-items:center;aspect-ratio:16 / 10;overflow:hidden;border-radius:11px;color:#80a7dc;background:#e8eff7}.character-library-picker-image img{width:100%;height:100%;object-fit:cover}.character-library-picker-grid strong{font-size:15px}.character-library-picker-grid small{color:#97a9cd}.character-library-picker-grid em{color:#67d8ff;font-size:12px;font-style:normal;font-weight:700}.character-picker-empty{grid-column:1 / -1;display:grid;place-items:center;gap:8px;min-height:260px;color:#9eb2d7}.character-ai-studio-overlay{z-index:1250;padding:18px}.character-ai-studio{width:min(1360px,97vw);height:min(900px,94vh);overflow:hidden;border:1px solid rgba(95,154,255,.38);border-radius:26px;color:#eaf2ff;background:radial-gradient(circle at 80% 10%,rgba(71,77,190,.26),transparent 36%),linear-gradient(145deg,#0a1227,#111d3c 55%,#141c3a);box-shadow:0 30px 100px #00000094}.character-ai-studio-header span{display:flex;align-items:center;gap:7px}.character-ai-studio-body{display:grid;grid-template-columns:minmax(420px,.9fr) minmax(500px,1.1fr);height:calc(100% - 111px)}.character-ai-studio-form{display:grid;align-content:start;gap:15px;overflow:auto;padding:24px 28px 34px;border-right:1px solid rgba(116,147,222,.18)}.character-ai-studio-form label{display:grid;gap:7px;color:#b9c9e8;font-size:12px;font-weight:700}.character-ai-studio-form input,.character-ai-studio-form select,.character-ai-studio-form textarea{width:100%;padding:11px 13px;border:1px solid rgba(126,159,229,.25);border-radius:11px;color:#eef5ff;outline:none;resize:vertical;background:#050d22b3}.character-ai-studio-form input:focus,.character-ai-studio-form select:focus,.character-ai-studio-form textarea:focus{border-color:#5ba7ff;box-shadow:0 0 0 3px #408eff1f}.character-ai-studio-row{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:12px}.character-ai-studio-model-note{display:flex;align-items:center;gap:12px;padding:13px 15px;border:1px solid rgba(93,173,255,.28);border-radius:14px;color:#7fd9ff;background:#2a6ac51f}.character-ai-studio-model-note div{display:grid;gap:3px}.character-ai-studio-model-note strong{color:#eaf5ff;font-size:14px}.character-ai-studio-model-note span{color:#91a9d1;font-size:11px}.character-ai-studio-preview{display:grid;align-content:start;gap:16px;overflow:auto;padding:24px 28px 34px}.character-ai-studio-preview-top{display:flex;align-items:center;justify-content:space-between;color:#a9badb;font-size:12px}.character-ai-studio-preview-top strong{display:flex;align-items:center;gap:6px;color:#7ee4ff}.character-turnaround-preview{position:relative;display:grid;place-items:center;aspect-ratio:16 / 9;overflow:hidden;border:1px solid rgba(115,157,238,.28);border-radius:20px;color:#7798ca;background:linear-gradient(135deg,#eaf1f8,#cbd8e7)}.character-turnaround-preview img{width:100%;height:100%;object-fit:contain}.character-turnaround-preview i{position:absolute;top:8%;bottom:8%;left:50%;width:1px;background:#1e3a5f33}.character-turnaround-preview span{position:absolute;bottom:13px;padding:6px 10px;border-radius:999px;color:#dfeaff;font-size:10px;font-weight:800;letter-spacing:.08em;background:#08142bb8}.character-turnaround-preview .front-label{left:18%}.character-turnaround-preview .back-label{right:18%}.character-reference-upload{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;cursor:pointer;border:1px dashed rgba(103,174,255,.5);border-radius:12px;color:#8ddcff;background:#2b6bc417}.character-reference-upload input{display:none}.character-ai-studio-preview ul{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0;padding:0;list-style:none}.character-ai-studio-preview li{display:flex;align-items:center;gap:6px;padding:9px;border-radius:10px;color:#aebfe0;font-size:11px;background:#ffffff0a}.character-ai-studio-preview li svg{color:#61e0b2;flex:0 0 auto}.character-ai-progress{position:relative;height:38px;overflow:hidden;border-radius:10px;background:#030a1bb8}.character-ai-progress span{position:absolute;inset:0 auto 0 0;background:linear-gradient(90deg,#2d82ff,#8357f5);transition:width .25s ease}.character-ai-progress b{position:relative;z-index:1;display:grid;place-items:center;height:100%;color:#fff;font-size:12px}.character-ai-studio-error{display:flex;align-items:center;gap:7px;margin:0;padding:10px 12px;border-radius:10px;color:#ffb8c1;font-size:12px;background:#b3263e26}.character-ai-studio-generate{display:flex;align-items:center;justify-content:center;gap:9px;min-height:52px;border:0;border-radius:14px;color:#fff;font-size:15px;font-weight:800;background:linear-gradient(90deg,#247bff,#7856ee);box-shadow:0 12px 26px #355fe647}.character-ai-studio-generate:disabled{opacity:.55;cursor:not-allowed}@media (max-width: 980px){.character-library-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.character-ai-studio{height:96vh;overflow:auto}.character-ai-studio-body{display:block;height:auto}.character-ai-studio-form{border-right:0;border-bottom:1px solid rgba(116,147,222,.18)}.character-ai-studio-preview ul{grid-template-columns:1fr}}.agent-cast-layout{grid-template-columns:minmax(0,1fr)!important}.agent-cast-board{width:100%;max-width:none}.character-voice-picker-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1230;display:grid;place-items:center;padding:28px;background:#030816c7;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.character-voice-picker{width:min(980px,94vw);max-height:86vh;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:18px;overflow:hidden;padding:24px;border:1px solid rgba(116,168,255,.28);border-radius:24px;background:linear-gradient(145deg,#111a32,#0a1022);box-shadow:0 28px 90px #0000008c}.character-voice-picker__header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.character-voice-picker__header h3{margin:0 0 6px;color:#f5f8ff;font-size:22px}.character-voice-picker__header p{margin:0;color:#9ba9c6;font-size:13px}.character-voice-picker__close{min-width:40px;height:40px;border:1px solid #33415f;border-radius:12px;color:#dce6ff;background:#151f38;cursor:pointer}.character-voice-picker__filters{display:flex;flex-wrap:wrap;gap:8px}.character-voice-picker__filters button{padding:7px 14px;border:1px solid #31405f;border-radius:999px;color:#aebbd3;background:#111a30;cursor:pointer}.character-voice-picker__filters button.is-active{border-color:#61c7ff;color:#fff;background:linear-gradient(135deg,#255f91,#6241a8)}.character-voice-picker__grid{min-height:220px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;overflow-y:auto;padding-right:5px}.character-voice-picker__item{display:grid;grid-template-columns:44px minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:14px;border:1px solid #273653;border-radius:15px;background:#121c33eb}.character-voice-picker__item.is-selected{border-color:#f0b938;box-shadow:inset 0 0 0 1px #f0b93840}.character-voice-picker__avatar{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;color:#7ed5ff;background:#1d3154;font-size:20px}.character-voice-picker__copy strong,.character-voice-picker__copy span{display:block}.character-voice-picker__copy strong{color:#f5f7ff;font-size:14px}.character-voice-picker__copy span{margin-top:4px;color:#8e9bb6;font-size:12px}.character-voice-picker__preview,.character-voice-picker__choose{height:34px;padding:0 12px;border-radius:10px;cursor:pointer}.character-voice-picker__preview{border:1px solid #344562;color:#c9d7ef;background:#17223b}.character-voice-picker__choose{border:1px solid #4d85df;color:#fff;background:linear-gradient(135deg,#2f80ed,#8d4ced)}.character-voice-picker__item audio{grid-column:2 / -1;width:100%;height:32px}.character-voice-picker__error{margin:0;color:#ff8f9b;font-size:13px}@media (max-width: 760px){.character-voice-picker-overlay{padding:12px}.character-voice-picker{width:100%;max-height:92vh;padding:18px}.character-voice-picker__grid{grid-template-columns:1fr}}.agent-character-canvas{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.agent-character-card{min-width:0}@media (max-width: 1180px){.agent-character-canvas{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 680px){.agent-character-canvas{grid-template-columns:minmax(0,1fr)}}.agent-character-toolrow{justify-content:center;width:100%}.agent-character-toolrow button,.agent-character-toolrow .agent-ai-create-person{width:74px;min-width:74px;height:58px;min-height:58px;padding:7px 5px}.agent-character-card-menu{position:absolute;top:12px;right:12px;z-index:12}.agent-character-card-menu-trigger{display:grid;width:34px;height:34px;place-items:center;padding:0;border:1px solid rgba(181,205,255,.28);border-radius:50%;color:#e8efff;background:#090f1fc7;box-shadow:0 8px 24px #0000003d;cursor:pointer;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.agent-character-card-menu-trigger:hover{border-color:#7ecfffad;background:#1f3052f2}.agent-character-card-menu-popover{position:absolute;top:42px;right:0;width:136px;padding:6px;border:1px solid rgba(140,176,236,.25);border-radius:12px;background:#10192d;box-shadow:0 16px 36px #00000073}.agent-character-card-menu-popover button{display:flex;width:100%;align-items:center;gap:9px;padding:10px 11px;border:0;border-radius:8px;color:#ff9fa8;background:transparent;cursor:pointer}.agent-character-card-menu-popover button:hover{color:#fff;background:#ec46582e}.agent-character-placeholder{width:min(100%,220px);min-height:0;aspect-ratio:1 / 1;padding:0;border-radius:16px}.character-voice-picker__header>div>span{display:inline-flex;margin-bottom:7px;color:#70ccff;font-size:12px;font-weight:800;letter-spacing:.08em}.character-voice-picker__header>div>strong{display:block;color:#f5f8ff;font-size:22px}.character-voice-picker__copy small{display:block;margin-top:6px;overflow:hidden;color:#71809d;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.character-voice-picker__preview,.character-voice-picker__choose{display:inline-flex;align-items:center;justify-content:center;gap:5px}.character-voice-picker__empty{grid-column:1 / -1;display:grid;min-height:260px;place-items:center;align-content:center;gap:10px;padding:32px;border:1px dashed rgba(126,181,255,.28);border-radius:18px;color:#7183a4;text-align:center;background:#0a122480}.character-voice-picker__empty svg{color:#67c7ff}.character-voice-picker__empty strong{color:#eaf1ff;font-size:17px}.character-voice-picker__empty span{max-width:460px;font-size:13px;line-height:1.7}.agent-character-name-row{justify-content:center;text-align:center}.agent-character-name-row>div{display:grid;width:100%;justify-items:center}.agent-character-name-edit{max-width:100%;padding:0 8px;overflow:hidden;border:0;color:#f5f8ff;background:transparent;font-size:22px;font-weight:900;line-height:1.35;text-align:center;text-overflow:ellipsis;white-space:nowrap;cursor:text}.agent-character-name-edit:hover{color:#75d2ff}.agent-character-name-input{width:min(100%,220px);height:36px;padding:0 10px;border:1px solid rgba(102,201,255,.72);border-radius:9px;outline:0;color:#f7faff;background:#091225eb;box-shadow:0 0 0 3px #5bc1ff1f;font-size:17px;font-weight:800;text-align:center}.smart-episode-source-text,.smart-episode-video-prompt{margin-top:10px;padding:12px 14px;border-radius:11px}.smart-episode-source-text{border:1px solid rgba(138,181,242,.12);background:#070d1b42}.smart-episode-video-prompt{border:1px solid rgba(122,197,255,.2);background:linear-gradient(135deg,#3d86d01c,#844bc61c)}.smart-episode-source-text>span,.smart-episode-video-prompt>span{display:inline-flex;align-items:center;gap:6px;color:#8fa0b9;font-size:11px;font-weight:850;letter-spacing:.06em}.smart-episode-video-prompt>span{color:#82d5ff}.smart-episode-video-prompt>span svg{color:#a987ff}.smart-episode-copy .smart-episode-source-text p,.smart-episode-copy .smart-episode-video-prompt p{margin-top:6px}.smart-episode-copy .smart-episode-video-prompt p{color:#d9e6f8;font-size:13px;line-height:1.75}.smart-episode-video-prompt>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.smart-episode-video-prompt>div>span{display:inline-flex;align-items:center;gap:6px;color:#82d5ff;font-size:11px;font-weight:850;letter-spacing:.05em}.smart-episode-video-prompt>div>small{color:#8d9ab1;font-size:10px}.smart-episode-video-prompt textarea{width:100%;min-height:106px;resize:vertical;padding:11px 12px;border:1px solid rgba(126,190,255,.18);border-radius:9px;outline:none;color:#dbe8fa;background:#070d1c85;font:inherit;font-size:13px;line-height:1.72}.smart-episode-video-prompt textarea:focus{border-color:#66cbff9e;box-shadow:0 0 0 3px #5bc0ff1a;background:#070e1ec2}.smart-episode-page{overflow:visible}.smart-episode-list{max-height:none;overflow:visible}.smart-episode-card{min-height:max-content;overflow:visible}.smart-episode-copy,.smart-episode-source-text,.smart-episode-video-prompt{height:auto;max-height:none;overflow:visible}.smart-episode-video-prompt textarea{field-sizing:content;height:auto;min-height:118px;max-height:none;overflow:hidden}.local-model-progress-overlay{position:fixed!important;z-index:3000!important;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;background:#030712d1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.local-model-progress-card{display:grid;width:min(430px,92vw);justify-items:center;padding:34px 30px 30px;border:1px solid rgba(116,202,255,.32);border-radius:26px;color:#eef6ff;text-align:center;background:linear-gradient(145deg,#111f38fa,#140e2afa);box-shadow:0 30px 100px #0000009e,inset 0 1px #ffffff14}.local-model-progress-ring{position:relative;display:grid;width:154px;height:154px;place-items:center}.local-model-progress-ring svg{position:absolute;width:100%;height:100%;transform:rotate(-90deg)}.local-model-progress-ring circle{fill:none;stroke-width:9}.local-model-progress-ring .track{stroke:#84ace629}.local-model-progress-ring .value{stroke:url(#unused-gradient);stroke:#70d7ff;stroke-linecap:round;stroke-dasharray:326.73;stroke-dashoffset:calc(326.73 - (326.73 * var(--prompt-progress, 0) / 100));filter:drop-shadow(0 0 8px rgba(112,215,255,.72));transition:stroke-dashoffset .5s ease}.local-model-progress-ring strong{position:relative;z-index:1;font-size:31px;font-weight:950}.local-model-progress-card>span{margin-top:17px;color:#79d7ff;font-size:12px;font-weight:900;letter-spacing:.12em}.local-model-progress-card h3{margin:9px 0 0;font-size:18px}.local-model-progress-card p{margin:10px 0 0;color:#aebcd3;font-size:13px}.local-model-progress-card small{margin-top:14px;color:#75839d;font-size:11px}.scene-library-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:22px}.scene-library-grid,.agent-scene-canvas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.scene-library-card,.agent-scene-card{background:linear-gradient(180deg,#1c2847f0,#0f162af5);border:1px solid rgba(106,136,255,.22);border-radius:24px;overflow:hidden;box-shadow:0 22px 60px #0308183d}.scene-library-card__visual,.agent-scene-card__visual{aspect-ratio:16 / 9;background:radial-gradient(circle at top,#6ea8ff29,#0c1221e0);display:flex;align-items:center;justify-content:center;overflow:hidden}.scene-library-card__visual img,.agent-scene-card__visual img{width:100%;height:100%;object-fit:cover;display:block}.scene-library-card__placeholder,.agent-scene-card__placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#ceddffb3;background:linear-gradient(135deg,#5971ff2e,#111827e0)}.scene-library-card__body,.agent-scene-card__body{display:grid;gap:10px;padding:18px 20px 20px}.scene-library-card__body>span,.agent-scene-card__meta span{font-size:12px;letter-spacing:.16em;color:#83b3ffd1}.scene-library-card__body strong,.agent-scene-card__meta strong{font-size:22px;color:#f8fbff}.scene-library-card__body p,.agent-scene-card__body p{margin:0;color:#e2ebffd1;line-height:1.7}.scene-library-card__tags{display:flex;flex-wrap:wrap;gap:8px}.scene-library-card__tags em{font-style:normal;padding:6px 10px;border-radius:999px;background:#5679ff29;color:#d7e4ff;border:1px solid rgba(122,153,255,.16)}.scene-library-card__body small,.agent-scene-card__footer b,.agent-scene-card__footer small{color:#bbcbebc7}.agent-scene-card__meta,.agent-scene-card__footer{display:grid;gap:8px}.agent-scene-hint{display:inline-flex;align-items:center;padding:10px 14px;border-radius:999px;background:#5971ff24;border:1px solid rgba(110,168,255,.2);color:#d9e5ff;font-size:13px}.scene-library-empty-state{grid-column:1 / -1}@media (max-width: 1100px){.scene-library-grid,.agent-scene-canvas,.scene-library-stats{grid-template-columns:1fr}}.project-config-active .script-config-stage{min-height:0;align-items:start}.project-config-active .script-config-panel{min-height:0;overflow:visible}.project-config-active .script-generate-panel{min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.project-config-active .style-picker{min-height:0}.project-config-active .style-strip{align-content:start}.smart-segment-progress-overlay{position:fixed!important;z-index:6500!important;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;pointer-events:all;-webkit-user-select:none;user-select:none;background:radial-gradient(circle at 50% 42%,rgba(75,98,255,.2),transparent 36%),#020612d6;-webkit-backdrop-filter:blur(18px) saturate(1.18);backdrop-filter:blur(18px) saturate(1.18);animation:smart-segment-overlay-in .24s ease-out both}.smart-segment-progress-card{position:relative;display:grid;width:min(410px,calc(100vw - 36px));justify-items:center;overflow:hidden;padding:32px 34px 28px;border:1px solid rgba(126,177,255,.42);border-radius:26px;color:#f6f9ff;text-align:center;background:linear-gradient(145deg,#142648fa,#1b103bfb),#0b1127;box-shadow:0 34px 120px #000000ad,0 0 52px #565bff3d,inset 0 1px #ffffff21}.smart-segment-progress-card:before{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;content:"";background:radial-gradient(circle at 16% 5%,rgba(62,199,255,.16),transparent 32%),radial-gradient(circle at 88% 14%,rgba(167,65,255,.2),transparent 36%)}.smart-segment-progress-card:after{position:absolute;top:0;left:14%;width:72%;height:1px;content:"";background:linear-gradient(90deg,transparent,#75d8ff,#a45cff,transparent);box-shadow:0 0 16px #6f8fffe6}.smart-segment-liquid-ring{position:relative;z-index:1;display:grid;width:178px;height:178px;place-items:center;margin:2px 0 4px;isolation:isolate}.smart-segment-liquid-ring svg{position:absolute;z-index:4;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:visible;transform:rotate(-90deg)}.smart-segment-liquid-ring circle{fill:none;stroke-width:8}.smart-segment-ring-track{stroke:#89adf229}.smart-segment-ring-value{stroke:url(#smart-segment-progress-gradient);stroke-linecap:round;stroke-dasharray:326.73;stroke-dashoffset:calc(326.73 - (326.73 * var(--segment-progress, 0) / 100));filter:drop-shadow(0 0 7px rgba(74,190,255,.94)) drop-shadow(0 0 13px rgba(146,69,255,.6));transition:stroke-dashoffset .52s cubic-bezier(.22,1,.36,1)}.smart-segment-liquid-core{position:absolute;z-index:2;width:132px;height:132px;overflow:hidden;border:1px solid rgba(134,204,255,.28);border-radius:50%;background:radial-gradient(circle at 38% 28%,rgba(103,174,255,.18),transparent 36%),#060d23db;box-shadow:inset 0 0 36px #3963d233,0 0 28px #5351ff24}.smart-segment-liquid-fill{position:absolute;inset:auto 0 0;height:var(--segment-liquid-level, 10%);background:linear-gradient(160deg,#24c8ff 2%,#4d7dff 48%,#9b3fff);box-shadow:0 -8px 30px #4f85ff8c;transition:height .62s cubic-bezier(.22,1,.36,1)}.smart-segment-liquid-fill:after{position:absolute;top:0;right:0;bottom:0;left:0;content:"";background:radial-gradient(circle at 24% 32%,rgba(255,255,255,.42) 0 2px,transparent 3px),radial-gradient(circle at 70% 58%,rgba(255,255,255,.28) 0 1.5px,transparent 2.5px),linear-gradient(90deg,rgba(255,255,255,.08),transparent 52%,rgba(255,255,255,.12));animation:smart-liquid-shimmer .9s ease-in-out infinite alternate}.smart-segment-liquid-fill i{position:absolute;top:-22px;left:50%;width:184px;height:42px;margin-left:-92px;border-radius:45% 55% 48% 52%;background:#060e24e0;animation:smart-liquid-wave 1.15s ease-in-out infinite alternate}.smart-segment-liquid-fill i:nth-child(2){top:-17px;border-radius:55% 45% 54% 46%;background:#7acdff47;animation-duration:.85s;animation-direction:alternate-reverse}.smart-segment-liquid-ring>strong{position:relative;z-index:6;color:#fff;font-size:30px;font-weight:950;letter-spacing:-.04em;text-shadow:0 2px 14px rgba(4,10,32,.86),0 0 12px rgba(108,175,255,.8)}.smart-segment-ripple{position:absolute;z-index:0;top:18px;right:18px;bottom:18px;left:18px;border:1px solid rgba(87,181,255,.46);border-radius:50%;opacity:0;animation:smart-segment-ripple 1.25s ease-out infinite}.smart-segment-ripple.ripple-two{border-color:#a54aff6b;animation-delay:.62s}.smart-segment-engine-label{position:relative;z-index:1;display:inline-flex;align-items:center;gap:7px;margin-top:13px;color:#8edfff;font-size:11px;font-weight:900;letter-spacing:.16em}.smart-segment-engine-label svg{color:#b068ff;filter:drop-shadow(0 0 7px rgba(167,76,255,.8))}.smart-segment-progress-card h3{position:relative;z-index:1;margin:9px 0 0;color:#fff;font-size:19px;font-weight:900}.smart-segment-progress-card p{position:relative;z-index:1;min-height:20px;margin:8px 0 0;color:#d6e2fac7;font-size:13px;line-height:1.55}.smart-segment-count{position:relative;z-index:1;margin-top:11px;padding:6px 11px;border:1px solid rgba(112,167,255,.2);border-radius:999px;color:#c6dcff;background:#4c69c421;font-size:11px;font-weight:800}.smart-segment-linear-track{position:relative;z-index:1;width:100%;height:7px;overflow:hidden;margin-top:16px;border-radius:999px;background:#7a9cdd21;box-shadow:inset 0 1px 2px #0006}.smart-segment-linear-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#28c9ff,#547eff 52%,#a63fff);box-shadow:0 0 14px #6075ffd6;transition:width .52s cubic-bezier(.22,1,.36,1)}.smart-segment-progress-card small{position:relative;z-index:1;margin-top:13px;color:#a1b3d6b3;font-size:10px;line-height:1.5}@keyframes smart-liquid-wave{0%{transform:translate(-13px) rotate(-3deg) scaleX(1.04)}50%{transform:translate(3px) rotate(2deg) scaleX(.98)}to{transform:translate(13px) rotate(-1deg) scaleX(1.05)}}@keyframes smart-liquid-shimmer{0%{opacity:.55;transform:translate(-4px)}to{opacity:1;transform:translate(4px)}}@keyframes smart-segment-ripple{0%{opacity:.58;transform:scale(.72)}72%,to{opacity:0;transform:scale(1.28)}}@keyframes smart-segment-overlay-in{0%{opacity:0}to{opacity:1}}@media (max-width: 560px){.smart-segment-progress-card{padding:26px 22px 23px}.smart-segment-liquid-ring{width:160px;height:160px}.smart-segment-liquid-core{width:118px;height:118px}}@media (prefers-reduced-motion: reduce){.smart-segment-progress-overlay,.smart-segment-ripple,.smart-segment-liquid-fill i,.smart-segment-liquid-fill:after{animation:none!important}}.smart-storyboard-workflow-shell{position:relative;min-height:100%;overflow:hidden;background:radial-gradient(circle at 12% 8%,rgba(52,179,255,.15),transparent 30%),radial-gradient(circle at 92% 4%,rgba(142,82,255,.2),transparent 34%),linear-gradient(145deg,#071522,#0b1021 42%,#19112e);color:#eef5ff}.smart-storyboard-particle-layer{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:.55}.smart-storyboard-workflow-header{position:sticky;top:0;z-index:20;min-height:82px;padding:0 26px;border-bottom:1px solid rgba(129,181,255,.18);background:linear-gradient(90deg,#0a2336eb,#191130f0),#070b16f0;box-shadow:0 14px 34px #00000038,inset 0 -1px #ffffff08;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.smart-storyboard-workflow-header .script-flow{min-height:48px;overflow-x:auto;scrollbar-width:thin}.smart-storyboard-workflow-header .script-flow-step{flex:none}.smart-storyboard-workflow-header .script-config-status{white-space:nowrap}.smart-storyboard-page{position:relative;z-index:2;display:grid;gap:18px;padding:22px 28px 42px}.smart-storyboard-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr);gap:32px;align-items:center;min-height:186px;padding:28px 34px;border:1px solid rgba(184,205,255,.48);border-radius:18px;background:linear-gradient(120deg,#293f57c7,#302659c2);box-shadow:inset 0 1px #ffffff14,0 18px 50px #0409184d}.smart-storyboard-hero>div>span,.smart-storyboard-task-panel>header>div:first-child>span{display:flex;align-items:center;gap:7px;color:#84d7ff;font-size:12px;font-weight:800;letter-spacing:.11em}.smart-storyboard-hero h1{margin:8px 0 5px;font-size:clamp(32px,3vw,46px);line-height:1.05;color:#f3f7ff}.smart-storyboard-hero p{margin:0;color:#b8c8df;font-size:15px}.smart-storyboard-hero-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.smart-storyboard-hero-tags b{padding:7px 12px;border:1px solid rgba(139,172,231,.35);border-radius:999px;background:#5a71a42e;color:#d8e5fb;font-size:12px}.smart-storyboard-hero aside{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"orbit eyebrow" "orbit title" "orbit status";column-gap:18px;align-items:center;padding:22px;border:1px solid rgba(167,147,255,.38);border-radius:16px;background:linear-gradient(120deg,#45538780,#5e378c85)}.smart-storyboard-orbit{grid-area:orbit;display:grid;place-items:center;width:76px;height:76px;border:1px solid rgba(96,203,255,.5);border-radius:50%;color:#bdc9ff;background:radial-gradient(circle,rgba(102,78,225,.42),rgba(52,150,221,.08) 62%,transparent 64%);box-shadow:0 0 28px #6379ff4d,inset 0 0 18px #62ccff33}.smart-storyboard-hero aside>span{grid-area:eyebrow;color:#8ad8ff;font-size:10px;font-weight:800;letter-spacing:.13em}.smart-storyboard-hero aside>strong{grid-area:title;margin:5px 0 10px;font-size:15px}.smart-storyboard-hero aside>small{grid-area:status;display:flex;align-items:center;gap:6px;width:fit-content;padding:6px 10px;border-radius:999px;background:#7e68e238;color:#e1e7ff}.smart-storyboard-task-panel{overflow:hidden;border:1px solid rgba(117,151,207,.3);border-radius:17px;background:#060d1bbf;box-shadow:0 22px 60px #00000038}.smart-storyboard-task-panel>header{display:flex;justify-content:space-between;align-items:center;gap:18px;min-height:72px;padding:14px 20px;border-bottom:1px solid rgba(115,145,194,.24);background:#07111fd1}.smart-storyboard-task-panel>header>div:first-child{display:grid;gap:4px}.smart-storyboard-task-panel>header strong{font-size:17px}.smart-storyboard-task-filters{display:flex;gap:7px}.smart-storyboard-task-filters button{padding:8px 12px;border:1px solid rgba(103,139,194,.28);border-radius:9px;color:#aebdd4;background:#1a28408c}.smart-storyboard-task-filters button.active{color:#fff;border-color:#6e8aff99;background:linear-gradient(135deg,#3c8ed68c,#714cd88c)}.smart-storyboard-task-list{display:grid;gap:14px;padding:16px}.smart-storyboard-task{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(0,1.7fr);min-height:330px;overflow:hidden;border:1px solid rgba(104,141,198,.32);border-radius:16px;background:linear-gradient(125deg,#1a2b41db,#1f1c3de6);transition:border-color .2s ease,transform .2s ease}.smart-storyboard-task:hover{border-color:#5dc1ff94;transform:translateY(-1px)}.smart-storyboard-task-preview{position:relative;min-height:100%;border-right:1px solid rgba(118,149,198,.25);background:linear-gradient(145deg,#132a47,#292256 58%,#17172f)}.smart-storyboard-task-preview video{width:100%;height:100%;min-height:330px;object-fit:cover;background:#050913}.smart-storyboard-video-placeholder{display:grid;place-items:center;align-content:center;gap:10px;min-height:330px;padding:25px;text-align:center;color:#97b8dd;background:radial-gradient(circle at 50% 36%,rgba(84,116,211,.3),transparent 43%),linear-gradient(145deg,#1840609e,#39276999)}.smart-storyboard-video-placeholder>span{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;color:#fff;font-size:16px;font-weight:900;background:linear-gradient(135deg,#4fc5ff,#a667ff);box-shadow:0 10px 25px #467ef54d}.smart-storyboard-video-placeholder>svg{color:#a8c6ff}.smart-storyboard-video-placeholder strong{color:#e8efff;font-size:16px}.smart-storyboard-video-placeholder small{color:#8fa7c5}.smart-storyboard-status{position:absolute;top:14px;left:14px;padding:6px 10px;border-radius:999px;color:#e8efff;font-size:11px;background:#060d1acc}.smart-storyboard-status.ready{color:#cbffe9;background:#147e52e0}.smart-storyboard-status.generating,.smart-storyboard-status.submitting{color:#e6ebff;background:linear-gradient(135deg,#247ec6,#754ddb)}.smart-storyboard-status.failed{color:#ffe0e0;background:#aa3746db}.smart-storyboard-task-body{display:grid;gap:12px;align-content:start;padding:20px;min-width:0}.smart-storyboard-task-title{display:flex;justify-content:space-between;align-items:center;gap:14px}.smart-storyboard-task-title>div{display:grid;gap:3px}.smart-storyboard-task-title span{color:#6fd1ff;font-size:12px;font-weight:800}.smart-storyboard-task-title strong{color:#f2f6ff;font-size:20px}.smart-storyboard-task-title small{padding:6px 9px;border-radius:999px;color:#aab9d1;background:#50638e33}.smart-storyboard-source{padding:12px 14px;border:1px solid rgba(106,138,187,.24);border-radius:11px;background:#040d1b6b}.smart-storyboard-source span{color:#7ecfff;font-size:11px;font-weight:800}.smart-storyboard-source p{margin:7px 0 0;color:#d7e0ef;line-height:1.65}.smart-storyboard-prompt-editor{display:grid;gap:7px}.smart-storyboard-prompt-editor>span{display:flex;align-items:center;gap:7px;color:#91dcff;font-size:12px;font-weight:800}.smart-storyboard-prompt-editor em{margin-left:auto;color:#9aa9c0;font-style:normal;font-weight:500}.smart-storyboard-prompt-editor textarea{min-height:112px;resize:vertical;padding:12px 14px;border:1px solid rgba(113,142,200,.35);border-radius:11px;color:#e8eefb;background:#060c1ca8;line-height:1.6;outline:none}.smart-storyboard-prompt-editor textarea:focus{border-color:#6fa7ff;box-shadow:0 0 0 3px #4f7aff21}.smart-storyboard-bindings{display:flex;justify-content:space-between;align-items:flex-end;gap:16px}.smart-storyboard-bindings>div:first-child{display:grid;gap:7px;min-width:0}.smart-storyboard-bindings>div:first-child>span{color:#8ba0bc;font-size:11px}.smart-storyboard-role-chips{display:flex;flex-wrap:wrap;gap:7px}.smart-storyboard-role-chips b{display:inline-flex;align-items:center;gap:5px;max-width:230px;padding:6px 9px;border:1px solid rgba(102,150,217,.3);border-radius:999px;color:#dce8fb;background:#243e608c;font-size:12px}.smart-storyboard-role-chips i{overflow:hidden;max-width:95px;color:#81d6ff;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.smart-storyboard-task-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.smart-storyboard-task-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:9px 13px;border-radius:10px;font-weight:800}.smart-storyboard-task-actions button.secondary{border:1px solid rgba(112,155,223,.42);color:#dce9fb;background:#22395bbd}.smart-storyboard-task-actions button.primary{border:0;color:#fff;background:linear-gradient(135deg,#47baf3,#8a56ee);box-shadow:0 10px 24px #625ae73d}.smart-storyboard-task-actions button:disabled{cursor:not-allowed;opacity:.5}.smart-storyboard-task-message{margin:0;padding:8px 10px;border-radius:9px;color:#b9d9ff;font-size:12px;background:#315a8538}.smart-storyboard-empty{display:grid;place-items:center;gap:8px;min-height:280px;color:#8da4c1;text-align:center}.smart-storyboard-empty strong{color:#edf4ff;font-size:18px}@media (max-width: 1280px){.smart-storyboard-hero,.smart-storyboard-task{grid-template-columns:1fr}.smart-storyboard-task-preview{min-height:250px;border-right:0;border-bottom:1px solid rgba(118,149,198,.25)}.smart-storyboard-video-placeholder,.smart-storyboard-task-preview video{min-height:250px}}@media (max-width: 760px){.smart-storyboard-page{padding:14px}.smart-storyboard-hero{padding:20px}.smart-storyboard-hero aside{grid-template-columns:1fr;grid-template-areas:"orbit" "eyebrow" "title" "status";gap:8px}.smart-storyboard-task-panel>header,.smart-storyboard-bindings{align-items:stretch;flex-direction:column}.smart-storyboard-task-filters{overflow-x:auto}.smart-storyboard-task-actions{justify-content:stretch}.smart-storyboard-task-actions button{flex:1}}.voice-clone-entry{display:grid;min-height:170px;place-items:center;align-content:center;gap:10px;padding:26px;border:1px dashed rgba(111,199,255,.46);border-radius:18px;color:#eaf6ff;text-align:center;background:radial-gradient(circle at 50% 22%,rgba(100,202,255,.18),transparent 36%),linear-gradient(145deg,#1d325bc2,#1c1546b8);box-shadow:inset 0 0 0 1px #ffffff0a,0 18px 44px #00000047;cursor:pointer}.voice-clone-entry:hover{border-color:#7ed8ff;transform:translateY(-1px);box-shadow:0 0 34px #57a5ff38,0 22px 48px #00000052}.voice-clone-entry span{display:grid;width:64px;height:64px;place-items:center;border-radius:50%;color:#fff;background:linear-gradient(135deg,#4ac8ff,#9b63ff);box-shadow:0 0 28px #5bb9ff75}.voice-clone-entry strong{font-size:18px;font-weight:950}.voice-clone-entry small,.clone-empty-hint span{max-width:420px;color:#dcecffad;font-size:12px;line-height:1.65}.voice-clone-studio-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1260;display:grid;place-items:center;padding:28px;background:#020714d1;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.voice-clone-studio{width:min(720px,94vw);display:grid;gap:20px;padding:24px;border:1px solid rgba(120,181,255,.34);border-radius:24px;background:radial-gradient(circle at 88% 8%,rgba(151,91,255,.26),transparent 34%),linear-gradient(145deg,#111a33,#080e1f 72%);box-shadow:0 30px 100px #0000009e}.voice-clone-studio header,.voice-clone-studio footer{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.voice-clone-studio header span{display:inline-flex;align-items:center;gap:7px;color:#79d7ff;font-size:12px;font-weight:900;letter-spacing:.08em}.voice-clone-studio header strong{display:block;margin-top:7px;color:#f4f8ff;font-size:26px;font-weight:950}.voice-clone-studio header p,.voice-clone-studio-model small{margin:7px 0 0;color:#dcecffad;font-size:13px;line-height:1.65}.voice-clone-studio header button{display:grid;width:40px;height:40px;place-items:center;border:1px solid rgba(181,205,255,.25);border-radius:13px;color:#e9f0ff;background:#141f37db;cursor:pointer}.voice-clone-studio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.voice-clone-studio-grid label,.voice-clone-studio-model{display:grid;gap:8px;padding:14px;border:1px solid rgba(140,178,238,.16);border-radius:16px;background:#0a12249e}.voice-clone-studio-grid label>span,.voice-clone-studio-model>span{color:#8edfff;font-size:12px;font-weight:900}.voice-clone-studio input,.voice-clone-studio select{min-height:40px;border:1px solid rgba(156,190,246,.18);border-radius:12px;color:#f2f7ff;background:#ffffff0e;padding:0 12px;outline:0}.voice-clone-studio-upload,.voice-clone-studio-model,.voice-clone-studio-consent{grid-column:1 / -1}.voice-clone-studio-upload{min-height:132px;place-items:center;align-content:center;text-align:center;border-style:dashed!important;cursor:pointer}.voice-clone-studio-upload input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.voice-clone-studio-upload strong,.voice-clone-studio-model strong{color:#f5f8ff;font-size:16px}.voice-clone-studio-consent{display:flex!important;align-items:center;gap:10px!important;color:#e2eeffbd;font-size:13px;line-height:1.6}.voice-clone-studio-consent input{width:18px;min-height:18px;accent-color:#69d4ff}.voice-clone-studio footer{justify-content:flex-end;align-items:center}.voice-clone-studio footer button{min-height:42px;padding:0 18px;border:1px solid rgba(158,190,246,.24);border-radius:999px;color:#dfeaff;background:#17223ce6;cursor:pointer}.voice-clone-studio footer button.primary{display:inline-flex;align-items:center;gap:8px;border:0;color:#fff;font-weight:900;background:linear-gradient(135deg,#50c6ff,#9657ff)}.voice-clone-studio footer button:disabled{cursor:not-allowed;opacity:.45}@media (max-width: 720px){.voice-clone-studio-grid{grid-template-columns:1fr}.voice-clone-studio header{align-items:flex-start}}.edit-workflow-shell{position:relative;min-height:100vh;overflow:hidden;background:radial-gradient(circle at 12% 18%,rgba(34,101,150,.34),transparent 32%),radial-gradient(circle at 86% 4%,rgba(111,53,170,.32),transparent 36%),#070c18}.edit-workspace-page{position:relative;z-index:1;display:grid;gap:18px;padding:26px 32px 34px}.edit-hero,.edit-stats article,.edit-media-bin,.edit-preview-panel,.edit-inspector-panel,.edit-toolbox,.edit-timeline-board,.edit-render-queue{border:1px solid rgba(127,164,230,.25);background:linear-gradient(145deg,#192743e6,#12102de0);box-shadow:0 22px 60px #00000047;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.edit-hero{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:center;padding:26px 30px;border-radius:22px}.edit-hero>div>span,.edit-media-bin header span,.edit-inspector-panel header span,.edit-timeline-board header span{display:inline-flex;align-items:center;gap:7px;color:#8bdfff;font-size:12px;font-weight:900;letter-spacing:.09em}.edit-hero h1{margin:8px 0;color:#eff8ff;font-size:clamp(34px,4vw,56px);line-height:1}.edit-hero p{max-width:760px;color:#bccae0;line-height:1.7}.edit-hero-tags,.edit-toolbox article div,.edit-tabs{display:flex;flex-wrap:wrap;gap:9px}.edit-hero-tags b,.edit-toolbox button,.edit-tabs button{border:1px solid rgba(128,177,244,.28);border-radius:999px;color:#dce8ff;background:#263b5f8c}.edit-hero-tags b{padding:7px 12px;font-size:12px}.edit-hero aside{display:grid;gap:8px;padding:20px;border:1px solid rgba(141,109,238,.34);border-radius:18px;background:radial-gradient(circle at 22% 22%,rgba(91,193,255,.2),transparent 36%),#5a418f42}.edit-hero aside small{color:#91dfff;font-size:11px;font-weight:900;letter-spacing:.13em}.edit-hero aside strong{color:#fff;font-size:22px}.edit-hero aside span{color:#c5d2eb}.edit-hero aside i{display:block;height:8px;overflow:hidden;border-radius:999px;background:#060c1c9e}.edit-hero aside i span{display:block;height:100%;background:linear-gradient(90deg,#4fc6ff,#9b63ff)}.edit-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.edit-stats article{display:flex;align-items:center;gap:13px;padding:16px;border-radius:16px}.edit-stats svg{color:#75d6ff}.edit-stats span{display:block;color:#98aac6;font-size:12px}.edit-stats strong{color:#f2f7ff;font-size:20px}.edit-suite-grid{display:grid;grid-template-columns:280px minmax(0,1fr) 330px;gap:14px;align-items:stretch}.edit-media-bin,.edit-preview-panel,.edit-inspector-panel,.edit-toolbox,.edit-timeline-board,.edit-render-queue{border-radius:18px;padding:16px}.edit-media-bin header,.edit-inspector-panel header,.edit-timeline-board header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.edit-media-bin header strong,.edit-inspector-panel header strong,.edit-timeline-board header strong,.edit-toolbox article strong,.edit-render-queue strong{color:#f2f7ff;font-size:16px}.edit-media-list{display:grid;gap:10px;max-height:520px;overflow-y:auto;padding-right:4px}.edit-media-list button{display:grid;grid-template-columns:58px minmax(0,1fr);gap:10px;width:100%;padding:9px;border:1px solid rgba(111,152,218,.18);border-radius:13px;color:#dce8ff;text-align:left;background:#08102285;cursor:pointer}.edit-media-list button.active,.edit-media-list button:hover{border-color:#6fd3ff9e;background:#2c497a8c}.edit-media-list button>span{display:grid;width:58px;height:44px;place-items:center;overflow:hidden;border-radius:10px;color:#9edfff;background:linear-gradient(135deg,#14375d,#382863)}.edit-media-list img{width:100%;height:100%;object-fit:cover}.edit-media-list strong{display:block;overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.edit-media-list small{color:#91a2bf;font-size:11px}.edit-preview-screen{display:grid;min-height:420px;place-items:center;overflow:hidden;border:1px solid rgba(130,168,233,.2);border-radius:16px;background:radial-gradient(circle at 50% 38%,rgba(84,116,211,.28),transparent 44%),#060b16}.edit-preview-screen video{width:100%;height:100%;max-height:520px;object-fit:contain;background:#02050d}.edit-preview-placeholder{display:grid;place-items:center;gap:10px;color:#93a8c5;text-align:center}.edit-preview-placeholder svg{color:#a3c9ff}.edit-preview-placeholder strong{color:#f1f6ff;font-size:18px}.edit-preview-placeholder span{max-width:430px;line-height:1.6}.edit-player-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;color:#aebed7}.edit-player-bar button,.edit-inspector-panel select,.edit-inspector-panel input,.edit-toolbox button{min-height:34px;border:1px solid rgba(135,174,236,.25);border-radius:10px;color:#edf5ff;background:#0c162bb8}.edit-player-bar button{display:inline-flex;align-items:center;gap:6px;padding:0 13px}.edit-player-bar label{display:flex;align-items:center;gap:8px}.edit-inspector-panel{display:grid;align-content:start;gap:13px}.edit-tabs button{padding:7px 12px;cursor:pointer}.edit-tabs button.active{color:#fff;border-color:#71d0ff;background:linear-gradient(135deg,#2e78bd,#764fe0)}.edit-inspector-panel label{display:grid;gap:7px;color:#9cb0ce;font-size:12px}.edit-inspector-panel select,.edit-inspector-panel input{width:100%;padding:0 10px}.edit-export-box{display:grid;gap:6px;padding:12px;border:1px solid rgba(116,211,255,.22);border-radius:13px;color:#cfe2ff;background:#3052843d}.edit-export-box b{color:#fff}.edit-export-box small{line-height:1.6;color:#92a8c4}.edit-toolbox{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.edit-toolbox article{display:grid;align-content:start;gap:10px;min-width:0}.edit-toolbox button{padding:7px 10px;font-size:12px;cursor:pointer}.edit-toolbox button:hover{border-color:#77d8ff;color:#fff}.edit-timeline-board{display:grid;gap:12px}.edit-timeline-board .timeline-row{grid-template-columns:88px minmax(0,1fr)}.edit-timeline-board .timeline-clips{min-height:52px}.edit-timeline-board .timeline-clip{min-width:160px;border-color:#6bacf43d;background:linear-gradient(135deg,#1d497dbd,#3a2773ad)}.smart-storyboard-nextbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border:1px solid rgba(103,188,255,.25);border-radius:16px;background:linear-gradient(135deg,#142744e6,#2b1b56db)}.smart-storyboard-nextbar span{color:#86dfff;font-size:12px;font-weight:900}.smart-storyboard-nextbar strong{display:block;color:#fff;font-size:18px}.smart-storyboard-nextbar button{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;border:0;border-radius:999px;color:#fff;font-weight:900;background:linear-gradient(135deg,#4fc6ff,#9c58ff);cursor:pointer}.smart-storyboard-nextbar button:disabled{opacity:.45;cursor:not-allowed}@media (max-width: 1280px){.edit-suite-grid{grid-template-columns:240px minmax(0,1fr)}.edit-inspector-panel{grid-column:1 / -1}.edit-toolbox{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width: 820px){.edit-workspace-page{padding:16px}.edit-hero{grid-template-columns:1fr}.edit-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.edit-suite-grid,.edit-toolbox{grid-template-columns:1fr}.smart-storyboard-nextbar{align-items:stretch;flex-direction:column}}.editing-timeline{overflow:hidden;border:1px solid rgba(115,166,238,.34);border-radius:20px;color:#eaf2ff;background:linear-gradient(145deg,#111d34fa,#0e0d26fa);box-shadow:0 24px 70px #00000052}.editing-timeline-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 22px 18px;border-bottom:1px solid rgba(114,151,210,.2);background:linear-gradient(90deg,#22406557,#49277740)}.editing-timeline-header>div:first-child{display:grid;gap:5px}.editing-timeline-header>div:first-child>span{display:flex;align-items:center;gap:7px;color:#6ed8ff;font-size:12px;font-weight:900;letter-spacing:.08em}.editing-timeline-header>div:first-child>strong{color:#fff;font-size:20px}.editing-timeline-header>div:first-child>small{color:#9fb0ca;line-height:1.5}.editing-timeline-actions{display:flex;flex:0 0 auto;gap:10px}.editing-timeline-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:0 16px;border-radius:11px}.editing-timeline-guide{display:flex;align-items:center;gap:10px;margin:14px 18px 0;padding:11px 14px;border:1px solid rgba(84,188,255,.25);border-radius:11px;color:#b8c9df;background:#275e912e}.editing-timeline-guide svg{flex:0 0 auto;color:#71dcff}.editing-timeline-guide b{color:#f4f8ff}.editing-timeline-toolbar{display:flex;align-items:center;gap:9px;margin:12px 18px;padding:9px 12px;border:1px solid rgba(120,151,200,.2);border-radius:12px;background:#050c1a8c}.editing-timeline-toolbar>button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:36px;min-height:34px;padding:0 10px;border:1px solid rgba(121,164,226,.24);border-radius:9px;color:#dceaff;background:#121e36;cursor:pointer}.editing-timeline-toolbar>button:hover{border-color:#63d7ff;color:#fff}.editing-timeline-toolbar .timeline-play-button{min-width:88px;color:#fff;font-weight:800;border-color:#6ccdff73;background:linear-gradient(135deg,#237db7,#7651df)}.editing-timeline-toolbar>strong{margin-left:4px;color:#fff;font-variant-numeric:tabular-nums}.editing-timeline-toolbar>span{color:#8194b3;font-variant-numeric:tabular-nums}.editing-timeline-toolbar>i{flex:1 1 auto;height:1px;background:#7796c72e}.editing-timeline-toolbar label{display:flex;align-items:center;gap:9px;color:#9fb1cc;font-size:12px;white-space:nowrap}.editing-timeline-toolbar input{width:130px;accent-color:#7b6cff}.editing-timeline-scroll{overflow-x:auto;overflow-y:hidden;padding:0 18px 18px;scrollbar-color:#5a74b7 rgba(6,12,27,.62);scrollbar-width:thin}.editing-timeline-canvas{min-width:100%;border:1px solid rgba(112,149,207,.2);border-radius:14px;background:#080f20}.editing-time-ruler{display:grid;grid-template-columns:132px minmax(0,1fr);height:38px;border-bottom:1px solid rgba(109,145,202,.22);background:#0d172b}.editing-ruler-label{display:grid;place-items:center start;padding-left:17px;border-right:1px solid rgba(109,145,202,.2);color:#758aa8;font-size:11px;font-weight:800}.editing-ruler-scale{position:relative;cursor:crosshair}.editing-ruler-scale:after{position:absolute;inset:9px 0 auto;height:8px;content:"";opacity:.4;background:repeating-linear-gradient(90deg,rgba(142,170,215,.65) 0 1px,transparent 1px 20px);pointer-events:none}.editing-ruler-scale button{position:absolute;bottom:3px;z-index:1;padding:0;border:0;color:#7f94b3;font-size:10px;background:transparent;transform:translate(-1px)}.editing-track-surface{position:relative}.editing-track-row{display:grid;grid-template-columns:132px minmax(0,1fr);min-height:68px;border-bottom:1px solid rgba(95,126,179,.16)}.editing-track-row:last-child{border-bottom:0}.editing-track-label{display:grid;grid-template-columns:30px minmax(0,1fr) 24px;align-items:center;gap:7px;padding:10px 10px 10px 13px;border-right:1px solid rgba(105,143,201,.2);background:#101d33eb}.editing-track-label>svg{padding:6px;width:30px;height:30px;border-radius:8px;color:#73d9ff;background:#3971ac3d}.editing-track-label div{min-width:0}.editing-track-label strong,.editing-track-label small{display:block}.editing-track-label strong{color:#eef5ff;font-size:13px}.editing-track-label small{overflow:hidden;color:#7387a5;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.editing-track-label button{width:24px;height:24px;padding:0;border:1px solid rgba(119,154,211,.23);border-radius:6px;color:#7e91ae;font-size:10px;background:#050c1999;cursor:pointer}.editing-track-clips{display:grid;gap:4px;min-width:0;padding:7px;background:repeating-linear-gradient(90deg,transparent 0 39px,rgba(116,149,201,.045) 40px)}.editing-clip{display:grid;min-width:0;align-content:center;gap:3px;overflow:hidden;padding:8px 10px;border:1px solid rgba(118,173,238,.35);border-radius:8px;color:#dfeaff;text-align:left;background:linear-gradient(135deg,#2564a3d9,#4c3e96cc);cursor:pointer}.editing-clip strong,.editing-clip small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editing-clip strong{font-size:12px}.editing-clip small{color:#e2edffb3;font-size:10px}.editing-clip:hover{filter:brightness(1.14);transform:translateY(-1px)}.editing-clip.selected{border-color:#fff;outline:2px solid #59ccff;box-shadow:0 0 0 4px #51c3ff29,0 6px 20px #1479d147}.track-subtitle .editing-clip{border-color:#bc87ff59;background:linear-gradient(135deg,#57378dd6,#77499dbd)}.track-voice .editing-clip{border-color:#59dac257;background:linear-gradient(135deg,#19686fd1,#2d7585ad)}.track-music .editing-clip{border-color:#f5a95e4d;background:linear-gradient(135deg,#7f492fbf,#7c4b68ab)}.editing-clip.draft{opacity:.66;background-image:repeating-linear-gradient(135deg,#4b5a7eb3 0,#4b5a7eb3 10px,#374162b8 10px,#374162b8 20px)}.editing-playhead{position:absolute;top:0;bottom:0;z-index:6;width:2px;background:#ff5f89;pointer-events:none;box-shadow:0 0 12px #ff4f84cc}.editing-playhead span{position:absolute;top:-7px;left:50%;width:14px;height:14px;border-radius:50% 50% 50% 0;background:#ff5f89;transform:translate(-50%) rotate(-45deg)}.editing-timeline-empty{display:grid;place-items:center;gap:9px;min-height:260px;margin:0 18px 18px;border:1px dashed rgba(113,163,226,.35);border-radius:14px;color:#879bb9;text-align:center;background:#060d1c73}.editing-timeline-empty svg{color:#70d7ff}.editing-timeline-empty strong{color:#f2f7ff;font-size:18px}.editing-timeline-empty .primary-button{display:inline-flex;align-items:center;gap:7px;margin-top:5px}@media (max-width: 900px){.editing-timeline-header{align-items:stretch;flex-direction:column}.editing-timeline-actions{width:100%}.editing-timeline-actions button{flex:1}.editing-timeline-toolbar{align-items:flex-start;flex-wrap:wrap}.editing-timeline-toolbar>i{display:none}}.script-config-page,.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell{--wf-purple-950: #2f1659;--wf-purple-900: #432178;--wf-purple-700: #6941c6;--wf-purple-600: #7c4dff;--wf-purple-500: #8b5cf6;--wf-purple-300: #c4b5fd;--wf-purple-200: #ddd3f7;--wf-purple-100: #eee9fb;--wf-purple-50: #f7f5fc;--wf-white: #ffffff;--wf-ink: #271d36;--wf-muted: #746b82;--wf-line: #ded7e9;color:var(--wf-ink)!important;background:linear-gradient(180deg,#fbfaff,#f5f2fa)!important}.script-config-page:before,.character-workflow-shell:before,.smart-storyboard-workflow-shell:before,.edit-workflow-shell:before{opacity:.08!important;background:radial-gradient(circle at 80% 0,rgba(124,77,255,.3),transparent 34%)!important}.workflow-particle-layer{opacity:.08!important}.script-config-page .script-config-header,.character-workflow-shell .script-config-header,.smart-storyboard-workflow-shell .script-config-header,.edit-workflow-shell .script-config-header{border-bottom:1px solid var(--wf-line)!important;background:#fffffff5!important;box-shadow:0 8px 28px #3a215614!important;-webkit-backdrop-filter:blur(16px)!important;backdrop-filter:blur(16px)!important}.script-config-page .script-config-brand strong,.script-config-page .script-config-brand b,.character-workflow-shell .script-config-brand strong,.character-workflow-shell .script-config-brand b,.smart-storyboard-workflow-shell .script-config-brand strong,.smart-storyboard-workflow-shell .script-config-brand b,.edit-workflow-shell .script-config-brand strong,.edit-workflow-shell .script-config-brand b{color:var(--wf-purple-950)!important}.script-config-page .script-config-brand>span,.character-workflow-shell .script-config-brand>span,.smart-storyboard-workflow-shell .script-config-brand>span,.edit-workflow-shell .script-config-brand>span{background:var(--wf-purple-200)!important}.blue-purple-workflow .script-flow-step,.character-workflow-shell .script-flow-step{color:#5f566d!important;background:transparent!important}.blue-purple-workflow .script-flow-step i,.character-workflow-shell .script-flow-step i{color:#5c4b73!important;border:1px solid #d8cfee!important;background:#f0ebfa!important;box-shadow:none!important}.blue-purple-workflow .script-flow-step:not(:last-child):after,.character-workflow-shell .script-flow-step:not(:last-child):after{background:#d9d0e8!important}.blue-purple-workflow .script-flow-step.active,.character-workflow-shell .script-flow-step.active{color:var(--wf-purple-900)!important;font-weight:900!important}.blue-purple-workflow .script-flow-step.active i,.character-workflow-shell .script-flow-step.active i{color:#fff!important;border-color:#7c4dff!important;background:linear-gradient(135deg,#6d3bd1,#9567ff)!important;box-shadow:0 0 0 5px #7c4dff1f,0 4px 14px #522d9a3d!important}.blue-purple-workflow .script-flow-step.done i,.character-workflow-shell .script-flow-step.done i{color:#fff!important;border-color:#9a7ee2!important;background:#8a68d2!important}.blue-purple-workflow .script-flow-step.locked,.character-workflow-shell .script-flow-step.locked{color:#aaa2b4!important;opacity:.72!important}.blue-purple-workflow .script-config-status span,.blue-purple-workflow .script-config-status button,.character-workflow-shell .script-config-status span,.character-workflow-shell .script-config-status button{color:var(--wf-purple-900)!important;border-color:#d8cfee!important;background:#f6f2ff!important}.blue-purple-workflow .script-config-status button,.character-workflow-shell .script-config-status button{color:#fff!important;border-color:#6f40ce!important;background:linear-gradient(135deg,#5c2eac,#8a59ef)!important}.script-config-stage{background:transparent!important}.script-config-page .script-config-panel{border:1px solid var(--wf-line)!important;background:var(--wf-white)!important;box-shadow:0 14px 40px #371f5114!important}.script-config-page .panel-title-row h1,.script-config-page .panel-title-row h2,.script-config-page .config-field>span,.script-config-page .config-label{color:var(--wf-purple-950)!important}.script-config-page .panel-title-row p,.script-config-page .config-field small,.script-config-page .storyboard-model-guide p{color:var(--wf-muted)!important}.script-config-page input,.script-config-page textarea,.script-config-page select,.script-config-page .project-name-input,.script-config-page .config-segment,.script-config-page .model-choice,.script-config-page .video-model-selector,.script-config-page .style-card{color:var(--wf-ink)!important;border-color:var(--wf-line)!important;background:#fbfaff!important}.script-config-page textarea::placeholder,.script-config-page input::placeholder{color:#9e95aa!important}.script-config-page .model-choice.selected,.script-config-page .config-segment .active,.script-config-page .style-card.selected{color:var(--wf-purple-950)!important;border-color:#8c66dd!important;background:#eee8fb!important;box-shadow:0 0 0 3px #7c4dff1a!important}.script-config-page .script-project-stats article{color:var(--wf-ink)!important;border-color:var(--wf-line)!important;background:#f8f5fd!important}.script-config-page .script-project-stats span,.script-config-page .script-project-stats small{color:var(--wf-muted)!important}.script-config-page .storyboard-model-guide,.script-config-page .script-system-line{border-color:#ddd4ef!important;background:#f6f2fc!important}.script-editor-active .script-input-page{background:transparent!important}.script-editor-active .script-editor-intro,.script-editor-active .script-input-editor,.script-editor-active .script-input-actions{border-color:var(--wf-line)!important;background:var(--wf-white)!important;box-shadow:0 14px 40px #371f5114!important}.script-editor-active .script-editor-intro h1,.script-editor-active .script-editor-status-card strong,.script-editor-active .script-editor-toolbar span{color:var(--wf-purple-950)!important}.script-editor-active .script-editor-intro p,.script-editor-active .script-editor-status-card span,.script-editor-active .script-input-count{color:var(--wf-muted)!important}.script-editor-active .script-editor-status-card,.script-editor-active .script-editor-flow span,.script-editor-active .script-upload-button{color:var(--wf-purple-900)!important;border-color:#d9cfec!important;background:#f5f1fc!important}.script-editor-active .script-editor-toolbar{border-color:var(--wf-line)!important;background:#f7f4fb!important}.script-editor-active .script-input-editor textarea{color:#2d2638!important;caret-color:var(--wf-purple-600)!important;background:#fff!important}.smart-episode-active,.smart-episode-page{background:transparent!important}.smart-episode-intro,.smart-episode-summary article,.smart-episode-list,.smart-episode-card,.smart-episode-actions{color:var(--wf-ink)!important;border-color:var(--wf-line)!important;background:var(--wf-white)!important;box-shadow:0 14px 38px #371f5112!important}.smart-episode-intro h1,.smart-episode-visual-copy strong,.smart-episode-stat-copy strong,.smart-episode-list-heading strong,.smart-episode-copy strong{color:var(--wf-purple-950)!important}.smart-episode-intro p,.smart-episode-stat-copy span,.smart-episode-copy p,.smart-episode-visual-copy span{color:var(--wf-muted)!important}.smart-episode-visual,.smart-episode-features span,.smart-episode-card-meta span,.smart-episode-stat-icon{color:var(--wf-purple-900)!important;border-color:#dcd3ed!important;background:#f3effb!important}.smart-episode-number{color:#fff!important;background:linear-gradient(135deg,#6535be,#9164ec)!important;box-shadow:0 8px 20px #5b30a038!important}.smart-episode-source-text,.smart-episode-video-prompt{color:var(--wf-ink)!important;border-color:#ddd5eb!important;background:#faf8fd!important}.smart-episode-video-prompt{background:#f5f0fc!important}.smart-episode-video-prompt textarea{color:var(--wf-ink)!important;border-color:#cfc2e6!important;background:#fff!important}.character-workflow-shell .agent-cast-page,.character-workflow-shell .agent-cast-intro,.character-workflow-shell .agent-cast-summary,.character-workflow-shell .agent-cast-layout{background:transparent!important}.character-workflow-shell .agent-cast-intro,.character-workflow-shell .agent-cast-summary article,.character-workflow-shell .agent-cast-board,.character-workflow-shell .agent-ai-generator-panel,.character-workflow-shell .agent-character-card{color:var(--wf-ink)!important;border-color:var(--wf-line)!important;background:var(--wf-white)!important;box-shadow:0 14px 38px #371f5112!important}.character-workflow-shell h1,.character-workflow-shell h2,.character-workflow-shell h3,.character-workflow-shell strong{color:var(--wf-purple-950)!important}.character-workflow-shell p,.character-workflow-shell small,.character-workflow-shell .agent-cast-summary span{color:var(--wf-muted)!important}.character-workflow-shell .agent-cast-tabs button,.character-workflow-shell .agent-header-voice-card,.character-workflow-shell .agent-character-card button{color:var(--wf-purple-900)!important;border-color:#d9d0ea!important;background:#f7f4fc!important}.character-workflow-shell .agent-cast-tabs button.active,.character-workflow-shell .agent-header-actions button:first-child{color:#fff!important;border-color:#6f3cc6!important;background:linear-gradient(135deg,#6031b1,#8b5ee7)!important}.character-workflow-shell .agent-character-visual{background:linear-gradient(160deg,#f4effc,#ebe4f7)!important}.character-workflow-shell .agent-character-footer,.character-workflow-shell .agent-character-voice-row{border-color:#ded6eb!important;background:#fff!important}.smart-storyboard-page{color:var(--wf-ink)!important;background:transparent!important}.smart-storyboard-hero,.smart-storyboard-task-panel,.smart-storyboard-task,.smart-storyboard-nextbar{color:var(--wf-ink)!important;border-color:var(--wf-line)!important;background:var(--wf-white)!important;box-shadow:0 14px 38px #371f5112!important}.smart-storyboard-hero h1,.smart-storyboard-hero strong,.smart-storyboard-task-title strong,.smart-storyboard-task-panel>header strong,.smart-storyboard-nextbar strong{color:var(--wf-purple-950)!important}.smart-storyboard-hero p,.smart-storyboard-task-title span,.smart-storyboard-source p,.smart-storyboard-bindings span{color:var(--wf-muted)!important}.smart-storyboard-hero-tags b,.smart-storyboard-hero aside,.smart-storyboard-task-filters button,.smart-storyboard-source,.smart-storyboard-prompt-editor,.smart-storyboard-role-chips span{color:var(--wf-purple-900)!important;border-color:#dbd1ec!important;background:#f5f1fb!important}.smart-storyboard-task-filters button.active{color:#fff!important;border-color:#7041ca!important;background:linear-gradient(135deg,#6033b1,#895bea)!important}.smart-storyboard-prompt-editor textarea{color:var(--wf-ink)!important;border-color:#cfc4e3!important;background:#fff!important}.smart-storyboard-task-preview{border-color:#ded6ea!important;background:#f0ebf7!important}.smart-storyboard-nextbar button{color:#fff!important;background:linear-gradient(135deg,#5b2fab,#8b5eea)!important}.edit-workspace-page{color:var(--wf-ink)!important;background:transparent!important}.edit-hero,.edit-stats article,.edit-media-bin,.edit-preview-panel,.edit-inspector-panel,.edit-toolbox,.editing-timeline,.edit-render-queue{color:var(--wf-ink)!important;border-color:var(--wf-line)!important;background:var(--wf-white)!important;box-shadow:0 14px 38px #371f5112!important}.edit-hero h1,.edit-hero aside strong,.edit-stats strong,.edit-media-bin strong,.edit-inspector-panel strong,.edit-toolbox strong,.editing-timeline strong{color:var(--wf-purple-950)!important}.edit-hero p,.edit-hero aside span,.edit-stats span,.edit-media-list small,.edit-inspector-panel label,.editing-timeline small{color:var(--wf-muted)!important}.edit-hero aside,.edit-hero-tags b,.edit-tabs button,.edit-toolbox button,.edit-export-box{color:var(--wf-purple-900)!important;border-color:#d9cfeb!important;background:#f5f1fb!important}.edit-tabs button.active{color:#fff!important;border-color:#6c3ec4!important;background:linear-gradient(135deg,#5b2dad,#8c5fec)!important}.edit-media-list button{color:var(--wf-ink)!important;border-color:#e1dae9!important;background:#fbfafd!important}.edit-media-list button.active,.edit-media-list button:hover{border-color:#8960d4!important;background:#f0eafb!important}.edit-preview-screen{border-color:#d9d1e5!important;background:#191326!important}.edit-player-bar button,.edit-inspector-panel select,.edit-inspector-panel input{color:var(--wf-ink)!important;border-color:#d8d0e4!important;background:#fff!important}.editing-timeline-header{border-color:#ddd5e8!important;background:#f7f3fc!important}.editing-timeline-header>div:first-child>strong{color:var(--wf-purple-950)!important}.editing-timeline-guide{color:#554765!important;border-color:#d5c8e8!important;background:#f3edfb!important}.editing-timeline-toolbar{color:var(--wf-ink)!important;border-color:#ded6e9!important;background:#faf8fd!important}.editing-timeline-toolbar>button{color:var(--wf-purple-900)!important;border-color:#d8cce9!important;background:#fff!important}.editing-timeline-toolbar .timeline-play-button{color:#fff!important;border-color:#7141c9!important;background:linear-gradient(135deg,#5e31af,#8b5ce9)!important}.editing-timeline-canvas{border-color:#d8d0e3!important;background:#faf9fc!important}.editing-time-ruler{border-color:#ddd5e8!important;background:#f3eff8!important}.editing-ruler-label,.editing-track-label{color:var(--wf-ink)!important;border-color:#ded6e8!important;background:#f6f3fa!important}.editing-track-label strong{color:var(--wf-purple-950)!important}.editing-track-clips{background-color:#fbfafd!important}.editing-clip{color:#fff!important;border-color:#8159d2!important;background:linear-gradient(135deg,#6840bd,#8f6adb)!important}.track-subtitle .editing-clip{background:linear-gradient(135deg,#8051aa,#a06ac1)!important}.track-voice .editing-clip{background:linear-gradient(135deg,#6250a8,#766fc4)!important}.track-music .editing-clip{background:linear-gradient(135deg,#8f5f9f,#a875b3)!important}.editing-clip small,.editing-clip strong{color:#fff!important}.editing-clip.selected{border-color:#fff!important;outline-color:#7745d3!important;box-shadow:0 0 0 4px #7c4dff24!important}.script-config-page .script-start-button,.script-config-page .script-next-button,.smart-episode-actions .script-next-button,.character-workflow-shell .character-next-button,.smart-storyboard-page .primary-button,.edit-workspace-page .primary-button{color:#fff!important;border-color:#6736bb!important;background:linear-gradient(135deg,#5b2ca9,#8250dd 58%,#9a6cf0)!important;box-shadow:0 9px 22px #542a9533!important}.script-config-page .script-secondary-button,.script-config-page .script-back-button,.smart-episode-actions .script-secondary-button,.smart-episode-actions .script-back-button{color:var(--wf-purple-900)!important;border-color:#d3c6e7!important;background:#fff!important}.project-config-active .aspect-ratio-card,.project-config-active .config-segment button,.project-config-active .model-selector-trigger,.project-config-active .model-selector-option,.project-config-active .model-choice{color:#342742!important;border-color:#dcd3e8!important;background:#fbfafd!important;box-shadow:0 5px 16px #371f510d!important}.project-config-active .aspect-ratio-card:hover:not(:disabled),.project-config-active .model-selector-trigger:hover:not(:disabled),.project-config-active .model-selector-option:hover:not(:disabled),.project-config-active .model-choice:hover:not(:disabled){border-color:#9a79d7!important;background:#f5f0fc!important;box-shadow:0 8px 22px #572f931a!important}.project-config-active .aspect-ratio-card.selected,.project-config-active .config-segment button.active,.project-config-active .model-selector-option.selected,.project-config-active .model-choice.selected{color:#3e1f69!important;border-color:#8152d0!important;background:linear-gradient(135deg,#f5efff,#e9e0fa)!important;box-shadow:0 0 0 3px #7c4dff1a,0 9px 24px #532c911a!important}.project-config-active .aspect-ratio-card:disabled,.project-config-active .model-selector-option:disabled,.project-config-active .model-choice:disabled{opacity:.52!important;filter:grayscale(.18)!important}.project-config-active .ratio-content strong,.project-config-active .model-selector-copy strong,.project-config-active .model-selector-option strong,.project-config-active .model-choice strong{color:#30223e!important}.project-config-active .ratio-content b,.project-config-active .model-selector-copy b,.project-config-active .model-selector-option em{color:#7241c3!important}.project-config-active .ratio-content small,.project-config-active .model-selector-copy small,.project-config-active .model-selector-option small,.project-config-active .model-choice small{color:#776d82!important}.project-config-active .ratio-icon{border-color:#d7cae8!important;background:#eee8f8!important;box-shadow:inset 0 0 0 1px #6d43b00f!important}.project-config-active .ratio-icon i{border-color:#7250a8!important;background:#fff!important}.project-config-active .selected-check{color:#fff!important;background:linear-gradient(135deg,#6940bf,#9163e7)!important;box-shadow:0 5px 14px #5e329e40!important}.project-config-active .ratio-disabled-note{border-color:#dfd7e8!important}.project-config-active .ratio-disabled-note strong{color:#7b6e87!important}.project-config-active .ratio-disabled-note small{color:#988fa0!important}.project-config-active .model-selector-menu{border-color:#d9cfe6!important;background:#fff!important;box-shadow:0 20px 44px #341c4c29!important}.project-config-active .model-selector-group-title{color:#4a365e!important;border-color:#e1d9ea!important;background:#f7f4fb!important}.project-config-active .model-selector-group-title b{color:#6941a5!important;background:#e9e1f5!important}.project-config-active .model-selector-arrow,.project-config-active .model-selector-group-title i{border-color:#70588d!important}.project-config-active .brand-mark{border-color:#d8cbea!important;background:linear-gradient(135deg,#6a3bc1,#8b62dc)!important;box-shadow:0 7px 16px #47248029!important}.project-config-active .script-project-stats .studio-stat{color:#342640!important;border-color:#ded6e9!important;background:#f8f5fc!important;box-shadow:none!important}.project-config-active .script-project-stats .studio-stat strong{color:#3e245d!important}.project-config-active .script-project-stats .studio-stat span,.project-config-active .script-project-stats .studio-stat small{color:#776d82!important}.project-config-active .script-action-bar{border-top:1px solid #e0d8e9!important;background:#fffffff5!important;box-shadow:0 -10px 30px #31194914!important;-webkit-backdrop-filter:blur(14px)!important;backdrop-filter:blur(14px)!important}.project-config-active .script-action-bar:before{display:none!important}.project-config-active .script-secondary-button{color:#513278!important;border-color:#d5cae5!important;background:#fff!important;box-shadow:0 5px 14px #351d4d0f!important}.script-config-page.smart-episode-active{background:linear-gradient(180deg,#fbfaff,#f5f2fa)!important}.script-editor-active .script-input-tools{color:#4d3a61!important;border-top:1px solid #ddd4e8!important;background:#f7f4fb!important;box-shadow:none!important}.script-editor-active .script-series-toggle,.script-editor-active .script-input-count{color:#675b73!important}.script-editor-active .script-series-toggle i{background:#8050d1!important}.smart-episode-page:before,.smart-episode-page:after{opacity:.05!important}.character-workflow-shell .character-independent-header{color:#2f2050!important;border-bottom:1px solid #ddd5e8!important;background:#fffffff7!important;box-shadow:0 8px 26px #321c4a14!important}.character-workflow-shell .character-independent-title span{color:#82738e!important}.character-workflow-shell .character-independent-title strong{color:#4a2479!important}.character-workflow-shell .character-library-page{color:#30243c!important;background:transparent!important}.character-workflow-shell .character-library-hero,.character-workflow-shell .character-overview-stats article,.character-workflow-shell .character-filter-bar,.character-workflow-shell .character-card,.character-workflow-shell .character-create-card{color:#30243c!important;border-color:#ded6e9!important;background:#fff!important;box-shadow:0 12px 34px #361e4f12!important}.character-workflow-shell .character-hero-copy h1,.character-workflow-shell .character-visual-copy strong,.character-workflow-shell .character-overview-stats strong,.character-workflow-shell .character-card-footer strong,.character-workflow-shell .character-create-card strong{color:#3c205f!important}.character-workflow-shell .character-hero-copy p,.character-workflow-shell .character-visual-copy span,.character-workflow-shell .character-overview-stats span,.character-workflow-shell .character-card-footer span,.character-workflow-shell .character-library-meta{color:#786e82!important}.character-workflow-shell .character-hero-visual,.character-workflow-shell .character-hero-features span,.character-workflow-shell .character-library-tabs,.character-workflow-shell .character-library-tabs button,.character-workflow-shell .character-style-slider button{color:#543778!important;border-color:#ddd4e9!important;background:#f5f1fb!important}.character-workflow-shell .character-library-tabs button.active,.character-workflow-shell .character-style-slider button.active{color:#fff!important;border-color:#6e3ec3!important;background:linear-gradient(135deg,#5f30b0,#8c5fe9)!important}.character-workflow-shell .character-search,.character-workflow-shell .character-select select{color:#33243f!important;border-color:#dcd3e7!important;background:#fbfafd!important}.character-workflow-shell .character-search input{color:#33243f!important;background:transparent!important}.character-workflow-shell .character-create-card{background:linear-gradient(160deg,#f5f0fc,#ece5f8)!important}.character-workflow-shell .character-card-footer{background:#fff!important}.smart-storyboard-task-panel>header{border-bottom:1px solid #dcd3e8!important;background:#f5f1fb!important}.smart-storyboard-task-panel>header span{color:#7652a9!important}.smart-storyboard-task-preview,.smart-storyboard-video-placeholder{color:#4e346d!important;border-color:#d7cce7!important;background:linear-gradient(145deg,#f0eafb,#e5dcf5)!important}.smart-storyboard-video-placeholder strong{color:#3b205d!important}.smart-storyboard-video-placeholder span{color:#766b82!important}.smart-storyboard-status{color:#fff!important;background:#6540a5!important}.smart-storyboard-task-actions button{color:#56327e!important;border-color:#d3c6e5!important;background:#fff!important}.smart-storyboard-task-actions button:last-child{color:#fff!important;border-color:#6c3cc1!important;background:linear-gradient(135deg,#5f31af,#8b5ee8)!important}.smart-episode-active .smart-episode-visual-copy small,.character-workflow-shell .smart-episode-visual-copy small{color:#633ca0!important}.smart-episode-active .smart-segmentation-badge,.character-workflow-shell .smart-segmentation-badge{border-color:#cdbce8!important;background:#eee8f8!important}.smart-episode-active .smart-segmentation-badge span,.character-workflow-shell .smart-segmentation-badge span{color:#4b267d!important}.smart-episode-active .smart-segmentation-badge svg,.character-workflow-shell .smart-segmentation-badge svg{color:#7144be!important}.character-workflow-shell .agent-narrator-row>strong{color:#2f1659!important}.character-workflow-shell .agent-voice-pill,.character-workflow-shell .agent-voice-pill:disabled{color:#3c2165!important;border-color:#cfc2e5!important;background:linear-gradient(90deg,#eef7ff,#eee7fa)!important;opacity:1!important}.character-workflow-shell .agent-voice-pill b{color:#321857!important}.character-workflow-shell .agent-voice-pill small{color:#62586f!important}.character-workflow-shell .agent-voice-pill svg{color:#6b3eb2!important}.character-workflow-shell .agent-character-name-row>div>span{color:#665b73!important}.character-workflow-shell .agent-character-voice-row span{color:#321857!important}.character-workflow-shell .agent-character-voice-row em{color:#6c6278!important}.character-workflow-shell .agent-character-voice-row button{color:#6032a6!important;opacity:1!important}.smart-storyboard-hero aside>span{color:#633ca0!important}.smart-storyboard-hero aside>small{color:#4b267d!important;background:#e9e1f6!important}.smart-storyboard-hero aside>small svg{color:#7144be!important}.smart-episode-active .smart-episode-orbit,.character-workflow-shell .smart-episode-orbit{color:#563092!important;border:2px solid #79b7e6!important;background:radial-gradient(circle at 42% 36%,#fff,#eee8fb 48%,#dcecf9)!important;box-shadow:0 0 0 6px #7149b112,0 10px 24px #45296f24,inset 0 0 20px #7149b11f!important}.smart-episode-active .smart-episode-orbit svg,.character-workflow-shell .smart-episode-orbit svg{color:#563092!important;stroke-width:2.5!important;filter:drop-shadow(0 2px 3px rgba(75,42,123,.24))!important;opacity:1!important}.smart-episode-active .smart-episode-orbit:before,.smart-episode-active .smart-episode-orbit:after,.character-workflow-shell .smart-episode-orbit:before,.character-workflow-shell .smart-episode-orbit:after{border-color:#b69ada!important}.smart-episode-active .smart-episode-orbit:before,.character-workflow-shell .smart-episode-orbit:before{border-right-color:#7642bd!important}.smart-episode-active .smart-episode-orbit:after,.character-workflow-shell .smart-episode-orbit:after{border-top-color:#369fd9!important}.smart-episode-active .smart-episode-orbit i,.character-workflow-shell .smart-episode-orbit i{background:#379ed7!important;box-shadow:0 0 8px #379ed7b8!important}.smart-episode-active .smart-episode-orbit i:nth-child(2),.character-workflow-shell .smart-episode-orbit i:nth-child(2){background:#884fc8!important;box-shadow:0 0 8px #884fc8a8!important}.smart-storyboard-orbit{color:#563092!important;border:2px solid #79b7e6!important;background:radial-gradient(circle at 42% 36%,#fff,#eee8fb,#dcecf9)!important;box-shadow:0 0 0 6px #7149b112,0 10px 24px #45296f24,inset 0 0 18px #7149b11f!important}.smart-storyboard-orbit svg{color:#563092!important;stroke-width:2.5!important;filter:drop-shadow(0 2px 3px rgba(75,42,123,.24))!important;opacity:1!important}.script-editor-active .script-editor-status-orbit{color:#563092!important;border:2px solid #79b7e6!important;background:radial-gradient(circle at 42% 36%,#fff,#eee8fb,#dcecf9)!important;box-shadow:0 0 0 5px #7149b112,0 8px 20px #45296f24,inset 0 0 16px #7149b11f!important}.script-editor-active .script-editor-status-orbit:after{border-color:#aa8fd3!important;border-left-color:transparent!important}.script-editor-active .script-editor-status-orbit svg{width:28px!important;height:28px!important;color:#563092!important;stroke-width:2.5!important;filter:drop-shadow(0 2px 3px rgba(75,42,123,.22))!important;opacity:1!important}.smart-storyboard-bindings>div:first-child>span{color:#5f5170!important;font-weight:800!important}.smart-storyboard-role-chips b{color:#412161!important;border-color:#c9b9e2!important;background:linear-gradient(135deg,#f8f4fe,#ece5f7)!important;box-shadow:0 3px 10px #45296f14!important}.smart-storyboard-role-chips b svg{color:#6d3faf!important;stroke-width:2.3!important}.smart-storyboard-role-chips b i{color:#765c91!important;font-weight:800!important}.smart-storyboard-role-chips b:has(.lucide-mic-2){color:#35527f!important;border-color:#b9cbe5!important;background:linear-gradient(135deg,#f3f8ff,#ebe8fa)!important}.smart-storyboard-role-chips b:has(.lucide-mic-2) svg,.smart-storyboard-role-chips b:has(.lucide-mic-2) i{color:#526fa0!important}.character-workflow-shell .agent-cast-board-header{border-bottom:1px solid #ded5ed!important;background:linear-gradient(90deg,#fff,#faf7ff)!important}.character-workflow-shell .agent-cast-tabs{gap:6px!important;padding:5px!important;border:1px solid #ded4ee!important;border-radius:12px!important;background:#f4effb!important;box-shadow:inset 0 1px #ffffffe6!important}.character-workflow-shell .agent-cast-tabs button{min-height:34px!important;padding:7px 14px!important;border:1px solid transparent!important;border-radius:9px!important;color:#665476!important;background:transparent!important;box-shadow:none!important}.character-workflow-shell .agent-cast-tabs button:hover:not(.active){color:#4f2e76!important;background:#fff!important}.character-workflow-shell .agent-cast-tabs button.active{color:#fff!important;border-color:#7040c5!important;background:linear-gradient(135deg,#6534b8,#8d5ce5)!important;box-shadow:0 5px 13px #5c2f9b38!important;text-shadow:none!important}@media (min-width: 901px){.app-shell.sidebar-collapsed{grid-template-columns:64px minmax(0,1fr)!important}.sidebar.collapsed{align-items:center!important;gap:0!important;padding:14px 8px!important;overflow:visible!important}.sidebar.collapsed .nav-stack{display:grid!important;width:100%!important;justify-items:center!important;gap:7px!important}.sidebar.collapsed .nav-item{position:relative!important;width:44px!important;min-height:44px!important;justify-content:center!important;padding:6px!important;overflow:visible!important}.sidebar.collapsed .nav-label{display:none!important}.sidebar.collapsed .nav-item:after{position:absolute;z-index:1000;top:50%;left:calc(100% + 10px);min-width:max-content;padding:7px 10px;border:1px solid #d8ccea;border-radius:8px;color:#fff;background:#3f2467;box-shadow:0 8px 22px #2e19492e;content:attr(data-label);font-size:12px;font-weight:800;line-height:1;pointer-events:none;opacity:0;transform:translate(4px,-50%);transition:opacity .14s ease,transform .14s ease}.sidebar.collapsed .nav-item:before{position:absolute;z-index:1001;top:50%;left:calc(100% + 5px);width:9px;height:9px;content:"";background:#3f2467;pointer-events:none;opacity:0;transform:translate(4px,-50%) rotate(45deg);transition:opacity .14s ease,transform .14s ease}.sidebar.collapsed .nav-item:hover:after,.sidebar.collapsed .nav-item:focus-visible:after,.sidebar.collapsed .nav-item:hover:before,.sidebar.collapsed .nav-item:focus-visible:before{opacity:1;transform:translateY(-50%)}.sidebar.collapsed .nav-item:hover:before,.sidebar.collapsed .nav-item:focus-visible:before{transform:translateY(-50%) rotate(45deg)}}@media (min-width: 901px){.non-home-app-shell.workflow-app-shell .main-panel.floating-nav-content:not(.home-main-panel):not(.manga-agent-main-panel){width:100%!important;max-width:none!important;margin-left:0!important}.non-home-app-shell.workflow-app-shell :is(.script-config-page,.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell){width:100%!important;max-width:none!important;margin-left:0!important;box-sizing:border-box!important}.non-home-app-shell.workflow-app-shell .script-config-page.script-editor-active{width:100%!important;margin-left:0!important;padding-left:0!important}.non-home-app-shell.workflow-app-shell .script-config-header{width:100%!important;max-width:none!important;margin:0!important;padding:0 18px!important;border-radius:0!important;box-sizing:border-box!important}.non-home-app-shell.non-home-app-shell .script-editor-active .script-input-page{padding:12px 14px 18px!important}.non-home-app-shell.non-home-app-shell .script-editor-active .script-input-editor,.non-home-app-shell.non-home-app-shell .script-editor-active .script-input-actions{width:100%!important;max-width:none!important;margin-right:0!important;margin-left:0!important}.non-home-app-shell.non-home-app-shell .script-editor-active .script-input-editor{grid-template-rows:auto auto minmax(0,1fr) auto!important;min-height:clamp(650px,calc(100vh - 184px),860px)!important}.non-home-app-shell .smart-episode-page{width:100%!important;max-width:none!important;padding:12px 14px 18px!important;border-radius:0!important}.non-home-app-shell .smart-episode-page :is(.smart-segmentation-warning,.smart-episode-list,.smart-episode-actions){width:100%!important;max-width:none!important;margin-right:0!important;margin-left:0!important}.non-home-app-shell .character-voice-workflow-page.agent-cast-page{width:100%!important;max-width:none!important;padding:12px 14px 88px!important;box-sizing:border-box!important}.non-home-app-shell .agent-cast-page .agent-cast-layout{width:100%!important;max-width:none!important;grid-template-columns:minmax(0,1fr)!important;margin:0!important}.non-home-app-shell .agent-cast-page .agent-cast-board{width:100%!important;min-height:calc(100vh - 176px)!important}.non-home-app-shell .smart-storyboard-page{width:100%!important;max-width:none!important;padding:14px!important;box-sizing:border-box!important}.non-home-app-shell .smart-storyboard-page :is(.smart-storyboard-hero,.smart-storyboard-task-panel,.smart-storyboard-nextbar){width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box!important}}html:has(.huimu-tools-page){background:#08090a!important}html:has(.huimu-tools-page) body:has(.huimu-tools-page){min-height:100dvh;background-color:#050607!important;background-image:radial-gradient(circle at 8% 24%,rgba(23,76,86,.48),transparent 30%),radial-gradient(circle at 88% 10%,rgba(78,42,120,.38),transparent 34%),linear-gradient(180deg,#08090a,#050607)!important;background-attachment:fixed!important}html:has(.huimu-tools-page) body:has(.huimu-tools-page) #root,html:has(.huimu-tools-page) body:has(.huimu-tools-page) .non-home-app-shell,html:has(.huimu-tools-page) body:has(.huimu-tools-page) .non-home-app-shell .main-panel.floating-nav-content,html:has(.huimu-tools-page) body:has(.huimu-tools-page) .non-home-app-shell .huimu-tools-page{background:transparent!important;background-image:none!important}html:has(.huimu-tools-page) body:has(.huimu-tools-page) .huimu-tools-page{min-height:100dvh}html:has(.huimu-tools-page) body:has(.huimu-tools-page) .non-home-app-shell .huimu-tools-page{background:radial-gradient(circle at 82% 10%,rgba(89,194,232,.11),transparent 28%),var(--huimu-bg)!important}@media (min-width: 901px){.app-shell.sidebar-collapsed{grid-template-columns:minmax(0,1fr)!important}.sidebar.collapsed{position:fixed!important;z-index:900!important;top:0!important;left:0!important;width:60px!important;height:100vh!important;padding:14px 8px!important;border:0!important;background:transparent!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}.sidebar.collapsed .nav-item,.sidebar.collapsed .nav-item:hover,.sidebar.collapsed .nav-item.active{border-color:transparent!important;background:transparent!important;box-shadow:none!important}.sidebar.collapsed .nav-visual{border-color:#b8c8dbb8!important;box-shadow:0 5px 15px #0c182a21!important;-webkit-backdrop-filter:blur(12px)!important;backdrop-filter:blur(12px)!important}.sidebar.collapsed .nav-item.active .nav-visual,.sidebar.collapsed .nav-item:hover .nav-visual{border-color:#53bfb7a6!important;box-shadow:0 0 0 3px #37b1a821,0 7px 18px #0718262e!important}.main-panel{grid-column:1!important;width:100%!important}}@media (min-width: 901px){.sidebar.collapsed{top:50%!important;left:14px!important;width:54px!important;height:auto!important;padding:0!important;transform:translateY(-50%)!important}.sidebar.collapsed .nav-stack{display:grid!important;width:54px!important;gap:0!important;padding:8px 5px!important;border:1px solid rgba(255,255,255,.13)!important;border-radius:16px!important;background:#080a0dbd!important;box-shadow:0 18px 42px #00000061,inset 0 1px #ffffff12!important;-webkit-backdrop-filter:blur(18px) saturate(115%)!important;backdrop-filter:blur(18px) saturate(115%)!important}.sidebar.collapsed .nav-group{display:grid;justify-items:center;gap:5px}.sidebar.collapsed .nav-group-production{margin-top:10px;padding-top:10px;border-top:1px solid rgba(255,255,255,.16)}.sidebar.collapsed .nav-item{width:42px!important;min-height:42px!important;padding:5px!important;border-radius:11px!important}.sidebar.collapsed .nav-visual{border-color:transparent!important;color:#fff!important;background:transparent!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}.sidebar.collapsed .nav-item.active .nav-visual,.sidebar.collapsed .nav-item:hover .nav-visual,.sidebar.collapsed .nav-item:focus-visible .nav-visual{border-color:#ffffff29!important;color:#fff!important;background:#ffffff1f!important;box-shadow:inset 0 1px #ffffff14!important}.sidebar.collapsed .nav-item:after{border-color:#ffffff24!important;color:#fff!important;background:#090a0df0!important;box-shadow:0 10px 28px #00000057!important}.sidebar.collapsed .nav-item:before{background:#090a0df0!important}}.home-status-pills button,.home-icon-button,.home-avatar{border-color:#ffffff2e!important;color:#fff!important;background:#0d0e11b8!important;box-shadow:inset 0 1px #ffffff12,0 14px 34px #00000047!important}.home-status-pills button:nth-child(2),.home-status-pills button:hover,.home-icon-button:hover{color:#fff!important}.home-hero-copy{margin-top:112px!important}.home-create-card{border-color:#ffffff2e!important;background:linear-gradient(135deg,#191b20e0,#08090cd6)!important;box-shadow:0 26px 70px #0000006b,inset 0 1px #ffffff14!important}.home-card-icon{border-color:#ffffff2b!important;color:#fff!important;background:#ffffff14!important}.home-card-copy strong,.home-card-copy span{color:#fff!important}.home-card-copy span{opacity:.68}.home-start-button{border:1px solid rgba(255,255,255,.22)!important;color:#fff!important;background:linear-gradient(135deg,#34373d,#141519)!important;box-shadow:0 16px 36px #0000005c,inset 0 1px #ffffff21!important}.home-start-button:hover{background:linear-gradient(135deg,#454950,#202226)!important}.home-quick-actions{border-color:#ffffff24!important;background:#0a0b0ec2!important;box-shadow:0 18px 44px #0000005c,inset 0 1px #ffffff0f!important}.home-quick-action-item{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 18px;border:1px solid rgba(255,255,255,.14);border-radius:9px;color:#fff;background:linear-gradient(135deg,#36383ec2,#1a1b1fd1);font-size:14px;font-weight:900;cursor:default;-webkit-user-select:none;user-select:none}.home-quick-action-item svg{color:#fff!important;opacity:.78}@media (min-width: 901px){.sidebar.collapsed.sidebar-workspace{left:8px!important;width:46px!important}.sidebar.collapsed.sidebar-workspace .nav-stack{width:46px!important;padding:7px 4px!important;border-color:#ffffff1f!important;border-radius:23px!important;background:#1d1f2494!important;box-shadow:0 12px 30px #14161c38,inset 0 1px #ffffff14!important;-webkit-backdrop-filter:blur(20px) saturate(105%)!important;backdrop-filter:blur(20px) saturate(105%)!important;transition:background-color .18s ease,box-shadow .18s ease}.sidebar.collapsed.sidebar-workspace .nav-stack:hover{background:#191b20b8!important;box-shadow:0 16px 36px #14161c47,inset 0 1px #ffffff1a!important}.sidebar.collapsed.sidebar-workspace .nav-group{gap:3px}.sidebar.collapsed.sidebar-workspace .nav-group-production{margin-top:8px;padding-top:8px;border-top-color:#ffffff21}.sidebar.collapsed.sidebar-workspace .nav-item{width:36px!important;min-height:36px!important;padding:3px!important;border-radius:50%!important;outline:none!important}.sidebar.collapsed.sidebar-workspace .nav-visual{width:28px!important;height:28px!important;border-radius:50%!important;color:#ffffffc7!important}.sidebar.collapsed.sidebar-workspace .nav-item.active .nav-visual,.sidebar.collapsed.sidebar-workspace .nav-item:hover .nav-visual,.sidebar.collapsed.sidebar-workspace .nav-item:focus-visible .nav-visual{border-color:#fff3!important;color:#fff!important;background:#ffffff21!important;box-shadow:inset 0 1px #ffffff1a!important}.sidebar.collapsed.sidebar-workspace .nav-item.active:after,.sidebar.collapsed.sidebar-workspace .nav-item.active:before{display:none}}@media (min-width: 901px){.main-panel.floating-nav-content:not(.home-main-panel){width:calc(100% - 66px)!important;min-width:0!important;margin-left:66px!important;box-sizing:border-box!important}}.app-shell.workflow-app-shell{background:#07080b!important}:is(.script-config-page,.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell){--wf-purple-950: #ffffff;--wf-purple-900: #f4f1ff;--wf-purple-700: #b89cff;--wf-purple-600: #9a72ff;--wf-purple-500: #8b5cf6;--wf-purple-300: #8c76bf;--wf-purple-200: #332c43;--wf-purple-100: #211d2a;--wf-purple-50: #141319;--wf-white: #111318;--wf-ink: #ffffff;--wf-muted: #aeb2bd;--wf-line: #2d3038;color:#fff!important;background:radial-gradient(circle at 82% 2%,rgba(112,69,202,.17),transparent 30%),linear-gradient(180deg,#0c0d11,#06070a)!important}:is(.script-config-page,.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell):before{opacity:.14!important;background:radial-gradient(circle at 80% 0,rgba(139,92,246,.38),transparent 36%)!important}:is(.script-config-page,.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell) .workflow-particle-layer{opacity:.11!important}:is(.script-config-page,.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell) .script-config-header{border-bottom-color:#292b32!important;color:#fff!important;background:#08090cf0!important;box-shadow:0 10px 32px #00000057!important}:is(.script-config-page,.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell) .script-config-brand strong,:is(.script-config-page,.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell) .script-config-brand b,:is(.script-config-page,.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell) h1,:is(.script-config-page,.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell) h2,:is(.script-config-page,.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell) h3,:is(.script-config-page,.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell) h4,:is(.script-config-page,.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell) strong{color:#fff!important}:is(.script-config-page,.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell) p,:is(.script-config-page,.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell) small{color:#aeb2bd!important}:is(.blue-purple-workflow,.character-workflow-shell) .script-flow-step{color:#d7d9df!important;background:transparent!important}:is(.blue-purple-workflow,.character-workflow-shell) .script-flow-step i{color:#d9dce4!important;border-color:#3a3d46!important;background:#191b21!important;box-shadow:none!important}:is(.blue-purple-workflow,.character-workflow-shell) .script-flow-step:not(:last-child):after{background:#3a3d46!important}:is(.blue-purple-workflow,.character-workflow-shell) .script-flow-step.active{color:#fff!important}:is(.blue-purple-workflow,.character-workflow-shell) .script-flow-step.active i,:is(.blue-purple-workflow,.character-workflow-shell) .script-flow-step.done i{color:#fff!important;border-color:#9a72ff!important;background:linear-gradient(135deg,#6540c2,#9a72ff)!important}:is(.blue-purple-workflow,.character-workflow-shell) .script-flow-step.locked{color:#777b86!important}:is(.blue-purple-workflow,.character-workflow-shell) .script-config-status span,:is(.blue-purple-workflow,.character-workflow-shell) .script-config-status button{color:#fff!important;border-color:#343741!important;background:#15171c!important}.script-config-page .script-config-panel,.script-editor-active .script-editor-intro,.script-editor-active .script-input-editor,.script-editor-active .script-input-actions{color:#fff!important;border-color:#2d3038!important;background:#111318!important;box-shadow:0 16px 44px #00000047!important}.script-config-page .panel-title-row h1,.script-config-page .panel-title-row h2,.script-config-page .config-field>span,.script-config-page .config-label,.script-editor-active .script-editor-intro h1,.script-editor-active .script-editor-status-card strong,.script-editor-active .script-editor-toolbar span{color:#fff!important}.script-config-page .panel-title-row p,.script-config-page .config-field small,.script-config-page .storyboard-model-guide p,.script-editor-active .script-editor-intro p,.script-editor-active .script-editor-status-card span,.script-editor-active .script-input-count{color:#aeb2bd!important}.script-config-page input,.script-config-page textarea,.script-config-page select,.script-config-page .project-name-input,.script-config-page .config-segment,.script-config-page .model-choice,.script-config-page .video-model-selector,.script-config-page .style-card,.project-config-active .aspect-ratio-card,.project-config-active .config-segment button,.project-config-active .model-selector-trigger,.project-config-active .model-selector-option{color:#fff!important;border-color:#343741!important;background:#17191f!important;box-shadow:none!important}.script-config-page input::placeholder,.script-config-page textarea::placeholder{color:#777b85!important}.script-config-page .model-choice.selected,.script-config-page .config-segment .active,.script-config-page .style-card.selected,.project-config-active .aspect-ratio-card.selected,.project-config-active .config-segment button.active,.project-config-active .model-selector-option.selected{color:#fff!important;border-color:#9a72ff!important;background:#262036!important;box-shadow:0 0 0 3px #9a72ff1f!important}.script-config-page .script-project-stats article,.script-config-page .storyboard-model-guide,.script-config-page .script-system-line,.script-editor-active .script-editor-status-card,.script-editor-active .script-editor-flow span,.script-editor-active .script-upload-button,.script-editor-active .script-editor-toolbar{color:#fff!important;border-color:#30333b!important;background:#181a20!important}.script-editor-active .script-input-editor textarea{color:#fff!important;caret-color:#a986ff!important;background:#0b0c10!important}.script-editor-active .script-input-actions{border-top-color:#2b2e36!important}.script-editor-active .script-input-tools{color:#fff!important;border-color:#30333b!important;background:#15171c!important}.script-editor-active .script-series-toggle,.script-editor-active .script-input-count{color:#d5d7de!important}.script-config-page .script-secondary-button,.script-config-page .script-back-button,.smart-episode-actions .script-secondary-button,.smart-episode-actions .script-back-button{color:#fff!important;border-color:#3b3e47!important;background:#17191e!important}.smart-episode-intro,.smart-episode-summary article,.smart-episode-list,.smart-episode-card,.smart-episode-actions{color:#fff!important;border-color:#2e3139!important;background:#111318!important;box-shadow:0 14px 38px #00000042!important}.smart-episode-intro h1,.smart-episode-visual-copy strong,.smart-episode-stat-copy strong,.smart-episode-list-heading strong,.smart-episode-copy strong{color:#fff!important}.smart-episode-intro p,.smart-episode-stat-copy span,.smart-episode-copy p,.smart-episode-visual-copy span{color:#aeb2bd!important}.smart-episode-visual,.smart-episode-features span,.smart-episode-card-meta span,.smart-episode-stat-icon,.smart-episode-source-text,.smart-episode-video-prompt{color:#f5f5f7!important;border-color:#343741!important;background:#181a20!important}.smart-episode-video-prompt textarea{color:#fff!important;border-color:#3a3d46!important;background:#0b0c10!important}.character-workflow-shell .agent-cast-intro,.character-workflow-shell .agent-cast-summary article,.character-workflow-shell .agent-cast-board,.character-workflow-shell .agent-ai-generator-panel,.character-workflow-shell .agent-character-card{color:#fff!important;border-color:#2e3139!important;background:#111318!important;box-shadow:0 14px 38px #00000042!important}.character-workflow-shell .agent-cast-tabs button,.character-workflow-shell .agent-header-voice-card,.character-workflow-shell .agent-character-card button,.character-workflow-shell .agent-character-footer,.character-workflow-shell .agent-character-voice-row{color:#fff!important;border-color:#343741!important;background:#181a20!important}.character-workflow-shell .agent-character-visual{background:linear-gradient(160deg,#202229,#121419)!important}.smart-storyboard-hero,.smart-storyboard-task-panel,.smart-storyboard-task,.smart-storyboard-nextbar{color:#fff!important;border-color:#2e3139!important;background:#111318!important;box-shadow:0 14px 38px #00000042!important}.smart-storyboard-hero-tags b,.smart-storyboard-hero aside,.smart-storyboard-task-filters button,.smart-storyboard-source,.smart-storyboard-prompt-editor,.smart-storyboard-role-chips span,.smart-storyboard-task-preview{color:#fff!important;border-color:#343741!important;background:#181a20!important}.smart-storyboard-prompt-editor textarea{color:#fff!important;border-color:#3a3d46!important;background:#0b0c10!important}.edit-hero,.edit-stats article,.edit-media-bin,.edit-preview-panel,.edit-inspector-panel,.edit-toolbox,.editing-timeline,.edit-render-queue{color:#fff!important;border-color:#2e3139!important;background:#111318!important;box-shadow:0 14px 38px #00000042!important}.edit-hero aside,.edit-hero-tags b,.edit-tabs button,.edit-toolbox button,.edit-export-box,.edit-media-list button,.edit-player-bar button,.edit-inspector-panel select,.edit-inspector-panel input,.editing-timeline-header,.editing-timeline-guide,.editing-timeline-toolbar,.editing-timeline-toolbar>button,.editing-timeline-canvas,.editing-time-ruler,.editing-ruler-label,.editing-track-label,.editing-track-clips{color:#fff!important;border-color:#343741!important;background:#17191f!important}.edit-preview-screen{border-color:#343741!important;background:#050609!important}.editing-track-label strong,.editing-timeline-header>div:first-child>strong{color:#fff!important}:is(.script-config-page,.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell) button:disabled{color:#777b85!important;border-color:#292c33!important;background:#14161a!important;opacity:.72}.workflow-app-shell,.workflow-app-shell .main-panel.floating-nav-content:not(.home-main-panel),.script-config-page.smart-episode-active,.smart-episode-page,.smart-storyboard-workflow-shell,.edit-workflow-shell,.character-workflow-shell{color:#fff!important;background-color:#07080b!important}.project-config-active .script-action-bar{border-top-color:#292c33!important;background:#08090cf7!important;box-shadow:0 -10px 30px #00000057!important}.character-workflow-shell .agent-cast-board-header{color:#fff!important;border-bottom-color:#30333b!important;background:#15171c!important}.character-workflow-shell .agent-cast-header-actions button{color:#fff!important;border-color:#393c45!important;background:#1a1c22!important}.smart-storyboard-task-panel>header{color:#fff!important;border-bottom-color:#30333b!important;background:#15171c!important}.smart-storyboard-task-panel>header span{color:#ae8bff!important}.smart-storyboard-task-list{background:#0e1014!important}.smart-storyboard-task-preview,.smart-storyboard-video-placeholder{color:#d5d7de!important;border-color:#343741!important;background:radial-gradient(circle at 50% 36%,rgba(101,71,173,.22),transparent 43%),linear-gradient(145deg,#181a20,#101116)!important}.smart-storyboard-video-placeholder strong{color:#fff!important}.smart-storyboard-video-placeholder small{color:#aeb2bd!important}.smart-episode-page:before,.smart-episode-page:after{opacity:.04!important}.project-config-active .model-selector-card .model-selector-trigger,.project-config-active .model-selector-card .model-selector-menu,.project-config-active .model-selector-card .model-selector-option,.project-config-active .model-selector-card .model-selector-group-title{color:#f7f7f8!important;border-color:#3a3d46!important;background:#17191f!important;box-shadow:none!important}.project-config-active .model-selector-card .model-selector-menu{background:#101216!important;box-shadow:0 18px 42px #0000006b!important}.project-config-active .model-selector-card .model-selector-group-title{background:#1c1e24!important}.project-config-active .model-selector-card .model-selector-group-title span,.project-config-active .model-selector-card .model-selector-copy strong,.project-config-active .model-selector-card .model-selector-option strong{color:#fff!important}.project-config-active .model-selector-card .model-selector-copy b,.project-config-active .model-selector-card .model-selector-option em,.project-config-active .model-selector-card .model-selector-group-title b{color:#c3a6ff!important}.project-config-active .model-selector-card .model-selector-copy small,.project-config-active .model-selector-card .model-selector-option small{color:#aeb2bd!important}.project-config-active .model-selector-card .model-selector-group-title b{background:#302640!important}.project-config-active .model-selector-card .model-selector-option:hover:not(:disabled){color:#fff!important;border-color:#7653c8!important;background:#211c2a!important}.project-config-active .model-selector-card .model-selector-option.selected{color:#fff!important;border-color:#9a72ff!important;background:#292039!important;box-shadow:inset 0 0 0 1px #b492ff24!important}.project-config-active .model-selector-card .model-selector-trigger:disabled,.project-config-active .model-selector-card .model-selector-option:disabled{opacity:1!important}.project-config-active .model-selector-card .model-selector-trigger:disabled .model-selector-copy strong,.project-config-active .model-selector-card .model-selector-option:disabled strong{color:#8e929d!important}.project-config-active .model-selector-card .model-selector-trigger:disabled .model-selector-copy small,.project-config-active .model-selector-card .model-selector-option:disabled small{color:#717681!important}.character-workflow-shell .agent-narrator-row>strong{color:#fff!important}.character-workflow-shell .agent-voice-pill,.character-workflow-shell .agent-voice-pill:disabled{color:#f7f7f8!important;border-color:#3b3e47!important;background:#181a20!important;opacity:1!important}.character-workflow-shell .agent-voice-pill b,.character-workflow-shell .agent-character-voice-row span{color:#fff!important}.character-workflow-shell .agent-voice-pill small,.character-workflow-shell .agent-character-name-row>div>span,.character-workflow-shell .agent-character-voice-row em{color:#aeb2bd!important}.character-workflow-shell .agent-voice-pill svg,.character-workflow-shell .agent-character-voice-row button{color:#c6adff!important;opacity:1!important}html:has(.non-home-app-shell),body:has(.non-home-app-shell),body:has(.non-home-app-shell) #root{background:#050607!important}.non-home-app-shell{color-scheme:dark;color:#f5f6f7!important;background:#050607!important}.non-home-app-shell .main-panel.floating-nav-content:not(.home-main-panel){color:#f5f6f7!important;background:#050607!important}.non-home-app-shell :is(.script-config-page,.script-input-page,.smart-episode-page,.character-workflow-shell,.character-library-page,.smart-storyboard-workflow-shell,.edit-workflow-shell,.personal-script-library,.novel-library-page,.novel-detail-page,.manga-agent-workspace){color:#f5f6f7!important;background:#050607!important;background-image:none!important}.non-home-app-shell :is(.script-config-header,.script-config-panel,.script-editor-intro,.script-input-editor,.smart-episode-intro,.smart-episode-list,.smart-episode-card,.character-independent-header,.character-library-hero,.character-overview-stats article,.character-filter-bar,.character-card,.character-create-card,.agent-cast-intro,.agent-cast-summary article,.agent-cast-board,.agent-character-card,.smart-storyboard-hero,.smart-storyboard-task-panel,.smart-storyboard-task,.smart-storyboard-nextbar,.personal-script-hero,.personal-script-stats article,.personal-project-card,.personal-project-detail,.personal-text-list,.personal-text-preview,.personal-video-card,.novel-library-hero,.novel-card,.novel-detail-hero,.novel-detail-facts article,.novel-reader-shell,.novel-reader,.manga-agent-header,.cf-editor,.cf-editor-head,.cf-media-panel,.cf-preview-column,.cf-settings-panel,.cf-timeline){color:#f5f6f7!important;border-color:#303238!important;background:#1b1d21!important;background-image:none!important;box-shadow:0 14px 34px #00000047!important}.non-home-app-shell :is(.script-config-stage,.model-picker-grid,.model-selector-card,.style-picker,.style-strip,.personal-project-layout,.personal-project-list,.personal-text-layout,.personal-video-grid,.character-overview-stats,.character-card-grid,.agent-cast-content,.smart-storyboard-task-list,.novel-card-grid,.cf-editor-main){border-color:#34373d!important;background-color:#17191d!important}.non-home-app-shell :is(.script-config-status,.script-action-bar,.script-editor-toolbar,.smart-episode-actions,.agent-cast-board-header,.smart-storyboard-task-panel>header,.personal-script-toolbar,.personal-script-tabs,.character-library-tabs,.character-style-slider,.novel-library-toolbar,.novel-detail-topbar,.novel-reader-header,.novel-reader-navigation,.cf-panel-heading,.cf-media-tabs,.cf-preview-toolbar,.cf-player-controls,.cf-editor-guide,.cf-time-ruler){color:#f5f6f7!important;border-color:#3a3d43!important;background:#292c31!important;background-image:none!important;box-shadow:none!important}.non-home-app-shell :is(button,.config-segment,.model-choice,.model-selector-trigger,.model-selector-group-title,.model-selector-option,.style-card,.aspect-ratio-card,.character-library-tabs button,.character-style-slider button,.agent-cast-tabs button,.smart-storyboard-task-filters button,.personal-script-tabs button,.novel-filter-strip button,.cf-media-tabs button) :is(span,strong,small,b,em,p){color:inherit!important}.non-home-app-shell :is(button,select,input,textarea,.config-segment,.model-choice,.model-selector-trigger,.model-selector-menu,.model-selector-group-title,.model-selector-option,.style-card,.aspect-ratio-card,.storyboard-model-guide,.character-hero-features span,.character-library-tabs button,.character-style-slider button,.character-card-tags span,.agent-cast-tabs button,.agent-header-voice-card,.agent-voice-pill,.agent-character-voice-row,.smart-storyboard-hero-tags b,.smart-storyboard-task-filters button,.smart-storyboard-source,.smart-storyboard-prompt-editor,.smart-storyboard-role-chips span,.personal-script-ownership,.personal-script-search,.personal-script-tabs button,.personal-project-card-assets>span,.personal-project-readonly,.novel-search,.novel-filter-strip button,.novel-hero-stats span,.novel-card-tags span,.novel-character-chips b,.novel-highlight-list b,.novel-detail-metrics span,.cf-fold-title,.cf-import-large,.cf-track-add){color:#e2e4e8!important;border-color:#4a4e56!important;background:#34373d!important;background-image:none!important;box-shadow:none!important}.non-home-app-shell :is(button.active,button.selected,.active>button,.config-segment .active,.model-choice.selected,.model-selector-option.selected,.style-card.selected,.aspect-ratio-card.selected,.character-library-tabs button.active,.character-style-slider button.active,.agent-cast-tabs button.active,.smart-storyboard-task-filters button.active,.personal-script-tabs button.active,.novel-filter-strip button.active,.novel-chapter-list button.active,.cf-media-tabs button.active){color:#fff!important;border-color:#777c85!important;background:#53575f!important;background-image:none!important;box-shadow:inset 0 0 0 1px #ffffff14!important}.non-home-app-shell :is(.script-start-button,.script-next-button,.personal-script-create,.novel-select-button,.smart-storyboard-task-actions button:last-child,.cf-editor-actions .primary,.cf-export-main){color:#fff!important;border-color:#737780!important;background:linear-gradient(135deg,#44474e,#62666f)!important;box-shadow:none!important}.non-home-app-shell :is(h1,h2,h3,h4,strong,b,label){color:#f7f7f8!important}.non-home-app-shell :is(p,small,em,.muted){color:#aeb2ba!important}.non-home-app-shell :is(input,textarea,select){caret-color:#fff!important}.non-home-app-shell :is(input,textarea)::placeholder{color:#767b84!important}.non-home-app-shell .character-workflow-shell :is(.character-independent-header,.character-library-hero,.character-overview-stats article,.character-filter-bar,.character-card,.character-create-card,.character-card-footer){color:#f5f6f7!important;border-color:#303238!important;background:#1b1d21!important;background-image:none!important}.non-home-app-shell .character-workflow-shell :is(.character-hero-visual,.character-hero-features span,.character-library-tabs,.character-library-tabs button,.character-style-slider button,.character-search,.character-select select){color:#e2e4e8!important;border-color:#4a4e56!important;background:#34373d!important}.non-home-app-shell .character-workflow-shell .character-search input{color:#fff!important;background:transparent!important}.non-home-app-shell :is(.novel-library-page,.novel-detail-page){--novel-ink: #f7f7f8;--novel-muted: #aeb2ba;--novel-border: #34373d;--novel-panel: #0d0f12}.non-home-app-shell :is(.novel-card-body,.novel-card-footer,.novel-detail-summary,.novel-chapter-sidebar,.novel-reader-content){color:#f5f6f7!important;border-color:#303238!important;background:#1b1d21!important;background-image:none!important}.non-home-app-shell .novel-chapter-list button{color:#d9dce1!important;border-color:#34373d!important;background:#202328!important}.non-home-app-shell .novel-chapter-list button.active{color:#fff!important;background:#555a62!important}.non-home-app-shell .manga-agent-frame{border-color:#35383f!important;background:#0a0b0e!important}.non-home-app-shell .sidebar.collapsed.sidebar-workspace .nav-stack{border-color:#3a3d43!important;background:#1c1e22e6!important}.non-home-app-shell .sidebar.collapsed.sidebar-workspace .nav-visual{color:#c9ccd2!important;background:#24272c!important}.non-home-app-shell .sidebar.collapsed.sidebar-workspace :is(.nav-item.active,.nav-item:hover) .nav-visual{color:#fff!important;border-color:#767b84!important;background:#555a62!important}@media (prefers-reduced-motion: reduce){.non-home-app-shell *,.non-home-app-shell *:before,.non-home-app-shell *:after{transition-duration:.01ms!important}}.non-home-app-shell .main-panel.manga-agent-main-panel{min-width:0;min-height:100dvh;height:100dvh;padding:0!important;overflow:hidden!important;background:#050607!important}.non-home-app-shell .manga-agent-main-panel .manga-agent-workspace{display:block;width:100%;height:100%;min-height:0;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:#050607!important;box-shadow:none!important}.non-home-app-shell .manga-agent-main-panel .manga-agent-frame{display:block;width:100%;height:100%;min-height:100dvh;border:0!important;border-radius:0!important;background:#050607!important;box-shadow:none!important}.non-home-app-shell .project-config-active{--pc-canvas: #08090b;--pc-surface: #15171a;--pc-surface-raised: #1d2024;--pc-control: #292c31;--pc-control-active: #555a62;--pc-line: #34383f;--pc-line-strong: #60656e;--pc-text: #f7f8fa;--pc-muted: #a7abb3;display:grid;grid-template-rows:76px auto 76px;gap:16px;min-height:100vh;padding:0 22px 18px;color:var(--pc-text)!important;background:var(--pc-canvas)!important;background-image:none!important}.non-home-app-shell .project-config-active:before,.non-home-app-shell .project-config-active .project-particle-layer{display:none!important}.non-home-app-shell .project-config-active .script-config-header{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:minmax(180px,240px) minmax(0,1fr) auto;gap:20px;align-items:center;width:min(1540px,100%);min-height:76px;margin:0 auto;padding:0 18px;border:1px solid var(--pc-line)!important;border-top:0!important;border-radius:0 0 16px 16px;background:#141619!important;background-image:none!important;box-shadow:0 16px 36px #0000004d!important}.non-home-app-shell .project-config-active .script-config-brand{gap:10px}.non-home-app-shell .project-config-active .script-config-brand img{height:36px;padding:2px;border-radius:8px;background:#fff}.non-home-app-shell .project-config-active .script-config-brand :is(strong,b){color:var(--pc-text)!important;font-size:17px}.non-home-app-shell .project-config-active .script-flow{justify-content:center;gap:5px;overflow-x:auto;scrollbar-width:none}.non-home-app-shell .project-config-active .script-flow::-webkit-scrollbar{display:none}.non-home-app-shell .project-config-active .script-flow-step{min-height:40px;padding:5px 9px;border:1px solid #30343a!important;border-radius:10px;color:#b5b9c0!important;background:#23262b!important;box-shadow:none!important}.non-home-app-shell .project-config-active .script-flow-step:not(:last-child):after{width:18px;background:#4b4f57!important}.non-home-app-shell .project-config-active .script-flow-step i{color:#d4d7dc!important;background:#3b3f46!important;box-shadow:inset 0 0 0 1px #ffffff0f!important}.non-home-app-shell .project-config-active .script-flow-step:is(.active,.done){color:#fff!important;border-color:#6d727b!important;background:#4d5159!important}.non-home-app-shell .project-config-active .script-flow-step:is(.active,.done) i{color:#fff!important;background:#747983!important;box-shadow:0 0 0 3px #ffffff14!important}.non-home-app-shell .project-config-active .script-config-status{gap:8px}.non-home-app-shell .project-config-active .script-config-status :is(span,button){min-height:38px;color:#e5e7eb!important;border-color:#444850!important;background:#25282d!important;box-shadow:none!important}.non-home-app-shell .project-config-active .script-config-stage{display:grid;grid-template-columns:minmax(310px,.38fr) minmax(650px,1fr);gap:16px;width:min(1540px,100%);min-height:calc(100vh - 184px);height:auto;align-items:stretch;margin:0 auto;background:transparent!important}.non-home-app-shell .project-config-active .script-config-panel{min-width:0;min-height:0;max-height:none;height:auto;border:1px solid var(--pc-line)!important;border-radius:18px!important;color:var(--pc-text)!important;background:var(--pc-surface)!important;background-image:none!important;box-shadow:0 20px 48px #00000047!important}.non-home-app-shell .project-config-active .script-project-panel{position:sticky;top:92px;display:grid;grid-template-rows:auto auto minmax(230px,1fr);align-content:stretch;gap:20px;align-self:start;min-height:min(620px,calc(100vh - 110px));max-height:calc(100vh - 110px);padding:24px;overflow-x:hidden;overflow-y:auto}.non-home-app-shell .project-config-active .script-generate-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:14px;padding:24px;overflow:visible}.non-home-app-shell .project-config-active .script-generate-panel>:is(.panel-title-row,.aspect-ratio-selector,.model-selector-card.wide,.config-field,.model-picker-grid,.style-picker){grid-column:1 / -1}.non-home-app-shell .project-config-active :is(.script-project-panel,.script-generate-panel){scrollbar-width:thin;scrollbar-color:#60656e #1d2024}.non-home-app-shell .project-config-active :is(.script-project-panel,.script-generate-panel)::-webkit-scrollbar{width:8px}.non-home-app-shell .project-config-active :is(.script-project-panel,.script-generate-panel)::-webkit-scrollbar-track{background:#1d2024}.non-home-app-shell .project-config-active :is(.script-project-panel,.script-generate-panel)::-webkit-scrollbar-thumb{border-radius:999px;background:#60656e}.non-home-app-shell .project-config-active .panel-title-row{align-items:center;padding-bottom:18px;border-bottom:1px solid var(--pc-line)}.non-home-app-shell .project-config-active .panel-title-row>div{min-width:0}.non-home-app-shell .project-config-active .panel-title-row span{color:#aeb2ba!important;font-size:11px;font-weight:900;letter-spacing:.12em}.non-home-app-shell .project-config-active .panel-title-row h1,.non-home-app-shell .project-config-active .panel-title-row h2{margin-top:6px;color:#fff!important;letter-spacing:-.025em}.non-home-app-shell .project-config-active .panel-title-row h1{font-size:clamp(25px,2vw,32px)}.non-home-app-shell .project-config-active .panel-title-row h2{font-size:clamp(21px,1.6vw,26px)}.non-home-app-shell .project-config-active .panel-title-row>svg{width:38px;height:38px;padding:9px;flex:0 0 auto;border:1px solid #4b5058;border-radius:11px;color:#f1f2f4!important;background:#292c31}.non-home-app-shell .project-config-active .config-label,.non-home-app-shell .project-config-active .config-field>span{color:#d8dbe0!important;font-size:13px;font-weight:900}.non-home-app-shell .project-config-active .project-name-input{min-height:56px;padding:0 16px;border:1px solid #444850!important;border-radius:12px;background:var(--pc-control)!important}.non-home-app-shell .project-config-active .project-name-input input{color:#fff!important;font-size:15px;background:transparent!important}.non-home-app-shell .project-config-active .project-name-input b{color:#c7cad0!important}.non-home-app-shell .project-config-active .script-source-field{min-height:0;grid-template-rows:auto minmax(0,1fr)}.non-home-app-shell .project-config-active .script-source-field textarea{min-height:250px;height:100%;padding:17px 18px;resize:none;color:#f4f5f7!important;border:1px solid #444850!important;border-radius:12px;background:var(--pc-control)!important;line-height:1.75}.non-home-app-shell .project-config-active :is(.script-source-field textarea,.project-name-input):focus-within,.non-home-app-shell .project-config-active .script-source-field textarea:focus{border-color:#858b95!important;box-shadow:0 0 0 3px #ffffff12!important}.non-home-app-shell .project-config-active .script-generate-panel>:is(.aspect-ratio-selector,.model-selector-card.wide,.config-field,.model-picker-grid,.style-picker){padding:16px;border:1px solid var(--pc-line)!important;border-radius:14px;background:var(--pc-surface-raised)!important;background-image:none!important}.non-home-app-shell .project-config-active .aspect-ratio-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.non-home-app-shell .project-config-active .aspect-ratio-card{grid-template-columns:42px minmax(0,1fr);gap:11px;min-height:106px;padding:13px;color:#e8eaed!important;border:1px solid #484c53!important;border-radius:12px;background:var(--pc-control)!important;box-shadow:none!important}.non-home-app-shell .project-config-active .aspect-ratio-card:hover:not(:disabled){transform:translateY(-2px);border-color:#767c86!important;background:#33373d!important}.non-home-app-shell .project-config-active .aspect-ratio-card.selected{color:#fff!important;border-color:#8a909a!important;background:var(--pc-control-active)!important;box-shadow:inset 0 0 0 1px #ffffff14!important}.non-home-app-shell .project-config-active .ratio-icon{width:40px;height:40px;color:#fff!important;border:1px solid #50545c;border-radius:9px;background:#1b1d21!important;box-shadow:none!important}.non-home-app-shell .project-config-active .ratio-icon i{border-color:#f0f1f3;background:transparent}.non-home-app-shell .project-config-active .ratio-content{gap:4px}.non-home-app-shell .project-config-active .ratio-content strong{color:#fff!important;font-size:13px}.non-home-app-shell .project-config-active .ratio-content b{color:#fff!important;font-size:18px}.non-home-app-shell .project-config-active .ratio-content small{color:#aeb2ba!important;font-size:11px}.non-home-app-shell .project-config-active .selected-check{top:9px;right:9px;color:#141619!important;background:#f4f5f7!important;box-shadow:0 4px 12px #00000047!important}.non-home-app-shell .project-config-active .model-selector-card.wide{padding:0;overflow:visible}.non-home-app-shell .project-config-active .model-selector-trigger{min-height:80px;padding:13px 15px;color:#e8eaed!important;border:1px solid #484c53!important;border-radius:12px;background:var(--pc-control)!important;box-shadow:none!important}.non-home-app-shell .project-config-active .model-selector-trigger:hover:not(:disabled),.non-home-app-shell .project-config-active .model-selector-card.open .model-selector-trigger{transform:none;border-color:#777d86!important;background:#32363b!important}.non-home-app-shell .project-config-active .brand-mark{border:1px solid #555a62;background:#202328!important;background-image:none!important;box-shadow:none!important}.non-home-app-shell .project-config-active .model-selector-copy b{color:#c5c8ce!important}.non-home-app-shell .project-config-active .model-selector-copy strong{color:#fff!important}.non-home-app-shell .project-config-active .model-selector-copy small{color:#a7abb3!important}.non-home-app-shell .project-config-active .model-selector-menu{max-height:390px;overflow-y:auto;border-color:#4a4e56!important;background:#1a1c20!important;box-shadow:0 22px 44px #00000061!important}.non-home-app-shell .project-config-active :is(.model-selector-group-title,.model-selector-option){color:#e5e7eb!important;border-color:#464a51!important;background:#2a2d32!important}.non-home-app-shell .project-config-active .model-selector-option.selected{color:#fff!important;border-color:#858b95!important;background:#50555d!important}.non-home-app-shell .project-config-active .config-segment{padding:4px;border:1px solid #41454c!important;border-radius:12px;background:#24272c!important}.non-home-app-shell .project-config-active .config-segment button{min-height:48px;color:#b9bdc4!important;border:1px solid transparent!important;border-radius:9px;background:transparent!important;box-shadow:none!important}.non-home-app-shell .project-config-active .config-segment button:hover{color:#fff!important;background:#35393f!important}.non-home-app-shell .project-config-active .config-segment button.active{color:#fff!important;border-color:#717781!important;background:#555a62!important;box-shadow:inset 0 1px #ffffff14!important}.non-home-app-shell .project-config-active .model-picker-grid{grid-template-columns:repeat(2,minmax(260px,1fr));gap:12px}.non-home-app-shell .project-config-active .storyboard-model-guide{grid-template-columns:auto minmax(130px,auto) minmax(0,1fr);gap:8px 12px;padding:0 0 12px;border-bottom:1px solid #3a3e44}.non-home-app-shell .project-config-active .storyboard-model-guide span{color:#f0f1f3!important;border-color:#555a62!important;background:#30343a!important}.non-home-app-shell .project-config-active .storyboard-model-guide strong{color:#fff!important}.non-home-app-shell .project-config-active .storyboard-model-guide small{color:#a6aab2!important}.non-home-app-shell .project-config-active .style-strip{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(118px,1fr))!important;gap:10px;min-height:0;padding:2px 1px;overflow:visible}.non-home-app-shell .project-config-active .style-picker{min-height:0;align-self:start}.non-home-app-shell .project-config-active .style-card{width:100%;min-width:0;gap:7px;padding:7px!important;color:#e8eaed!important;border:1px solid #444850!important;border-radius:12px;background:#292c31!important;box-shadow:none!important}.non-home-app-shell .project-config-active .style-card:hover{transform:translateY(-2px);border-color:#737983!important;background:#34383e!important}.non-home-app-shell .project-config-active .style-card.selected{color:#fff!important;border-color:#898f99!important;background:#50555d!important;box-shadow:inset 0 0 0 1px #ffffff12!important}.non-home-app-shell .project-config-active :is(.style-card-image,.style-card-fallback){aspect-ratio:16 / 10;border-color:#4a4e56!important;border-radius:8px;background:#202328!important;box-shadow:none!important}.non-home-app-shell .project-config-active .style-card-name{color:#f3f4f6!important;font-size:12px}.non-home-app-shell .project-config-active .style-card-check{color:#17191d!important;background:#fff!important;box-shadow:0 4px 10px #0000004d!important}.non-home-app-shell .project-config-active .script-action-bar{position:sticky;bottom:0;z-index:18;display:flex;justify-content:flex-end;gap:10px;width:min(1540px,100%);min-height:68px;margin:0 auto;padding:10px 14px;border:1px solid var(--pc-line)!important;border-radius:16px;background:#141619!important;background-image:none!important;box-shadow:0 -12px 30px #0000003d!important}.non-home-app-shell .project-config-active :is(.script-secondary-button,.script-start-button){min-height:46px;border-radius:11px;font-size:14px;box-shadow:none!important}.non-home-app-shell .project-config-active .script-secondary-button{min-width:126px;color:#e4e6ea!important;border:1px solid #4b4f57!important;background:#292c31!important}.non-home-app-shell .project-config-active .script-start-button{min-width:220px;color:#fff!important;border:1px solid #777d86!important;background:linear-gradient(135deg,#454950,#656a73)!important}.non-home-app-shell .project-config-active :is(.script-secondary-button,.script-start-button):hover{transform:translateY(-1px);border-color:#969ca6!important;filter:brightness(1.08)}@media (max-width: 1180px){.non-home-app-shell .project-config-active{padding-inline:14px}.non-home-app-shell .project-config-active .script-config-header{grid-template-columns:auto minmax(0,1fr) auto}.non-home-app-shell .project-config-active .script-config-brand b,.non-home-app-shell .project-config-active .script-config-brand span{display:none}.non-home-app-shell .project-config-active .script-config-stage{grid-template-columns:minmax(290px,.36fr) minmax(560px,1fr)}.non-home-app-shell .project-config-active .script-flow-step{padding-inline:7px}.non-home-app-shell .project-config-active .script-flow-step:not(:last-child):after{width:8px}}@media (max-width: 900px){.non-home-app-shell .project-config-active{grid-template-rows:auto auto auto;min-height:100vh}.non-home-app-shell .project-config-active .script-config-header{position:relative;grid-template-columns:auto minmax(0,1fr);min-height:68px}.non-home-app-shell .project-config-active .script-config-status{display:none}.non-home-app-shell .project-config-active .script-config-stage{grid-template-columns:1fr;height:auto}.non-home-app-shell .project-config-active .script-config-panel{height:auto}.non-home-app-shell .project-config-active .script-project-panel{position:static;grid-template-rows:auto auto auto;min-height:0;max-height:none}.non-home-app-shell .project-config-active .script-source-field textarea{height:260px}.non-home-app-shell .project-config-active .script-generate-panel{grid-template-columns:1fr}}@media (max-width: 640px){.non-home-app-shell .project-config-active{padding-inline:8px}.non-home-app-shell .project-config-active .script-config-brand{display:none}.non-home-app-shell .project-config-active .script-config-header{grid-template-columns:1fr;padding-inline:10px}.non-home-app-shell .project-config-active .aspect-ratio-grid,.non-home-app-shell .project-config-active .model-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.non-home-app-shell .project-config-active .storyboard-model-guide{grid-template-columns:1fr}.non-home-app-shell .project-config-active .script-action-bar{flex-wrap:wrap}.non-home-app-shell .project-config-active .script-start-button{min-width:100%}}.non-home-app-shell .script-editor-active .script-input-editor,.non-home-app-shell .script-editor-active .script-input-editor textarea,.non-home-app-shell .script-editor-active .script-input-tools{color:#f4f5f7!important;border-color:#4a4e56!important;background:#34373d!important;background-image:none!important;box-shadow:none!important}.non-home-app-shell .script-editor-active .script-input-tools{border-top:1px solid #4a4e56!important}.non-home-app-shell .script-editor-active .script-upload-button{color:#f1f2f4!important;border-color:#626770!important;background:transparent!important}.non-home-app-shell .script-editor-active :is(.script-input-count,.script-series-toggle){color:#e0e2e6!important}.smart-segment-progress-overlay{background:#050608e6!important;background-image:none!important}.smart-segment-progress-card{color:#f7f8fa!important;border-color:#545961!important;background:#202328!important;background-image:none!important;box-shadow:0 34px 100px #0000009e,inset 0 1px #ffffff0f!important}.smart-segment-progress-card:before{display:none!important}.smart-segment-progress-card:after{background:linear-gradient(90deg,transparent,#8d929b,transparent)!important;box-shadow:0 0 14px #ffffff29!important}.smart-segment-ring-track{stroke:#41454c!important}.smart-segment-ring-value{stroke:#a4a9b2!important;filter:drop-shadow(0 0 8px rgba(255,255,255,.22))!important}.smart-segment-liquid-core{border-color:#5a5f68!important;background:#121418!important;background-image:none!important;box-shadow:inset 0 0 34px #ffffff0a!important}.smart-segment-liquid-fill{background:linear-gradient(160deg,#686d76,#969ca6)!important;box-shadow:0 -8px 24px #ffffff1f!important}.smart-segment-liquid-fill i{background:#121418e0!important}.smart-segment-liquid-fill i:nth-child(2){background:#dcdfe433!important}.smart-segment-ripple,.smart-segment-ripple.ripple-two{border-color:#bec2c957!important}.smart-segment-engine-label,.smart-segment-engine-label svg{color:#d4d7dc!important;filter:none!important}.smart-segment-progress-card :is(h3,p,small){color:#f4f5f7!important}.smart-segment-progress-card p,.smart-segment-progress-card small{color:#aeb2ba!important}.smart-segment-count{color:#e2e4e8!important;border-color:#555a62!important;background:#30343a!important}.smart-segment-linear-track{background:#34383e!important}.smart-segment-linear-track span{background:linear-gradient(90deg,#666b74,#a2a7b0)!important;box-shadow:0 0 10px #ffffff29!important}.non-home-app-shell .character-workflow-shell .agent-cast-board-header{background:#17191d!important;background-image:none!important}.non-home-app-shell .character-workflow-shell .agent-cast-tabs{gap:22px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.non-home-app-shell .character-workflow-shell .agent-cast-tabs button,.non-home-app-shell .character-workflow-shell .agent-cast-tabs button:hover:not(.active),.non-home-app-shell .character-workflow-shell .agent-cast-tabs button.active{min-height:42px!important;padding:8px 0!important;border:0!important;border-radius:0!important;color:#b8bcc4!important;background:transparent!important;background-image:none!important;box-shadow:none!important;text-shadow:none!important}.non-home-app-shell .character-workflow-shell .agent-cast-tabs button.active{color:#fff!important;box-shadow:inset 0 -2px #fff!important}.non-home-app-shell .smart-storyboard-role-chips b,.non-home-app-shell .smart-storyboard-role-chips b:has(.lucide-mic-2){color:#f2f3f5!important;border-color:#555a62!important;background:#3b3f46!important;background-image:none!important;box-shadow:none!important}.non-home-app-shell .smart-storyboard-role-chips b :is(svg,i),.non-home-app-shell .smart-storyboard-role-chips b:has(.lucide-mic-2) :is(svg,i){color:#e0e2e6!important}.non-home-app-shell .script-config-header .script-flow-step,.non-home-app-shell .script-config-header .script-flow-step:is(.active,.done,.unlocked,.locked),.non-home-app-shell .project-config-active .script-flow-step,.non-home-app-shell .project-config-active .script-flow-step:is(.active,.done){border:0!important;border-radius:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important}.non-home-app-shell .script-config-header .script-flow-step:hover{background:transparent!important;transform:none!important}.non-home-app-shell .project-config-active .ratio-icon{color:#d9dce2!important;border-color:#555a62!important;background:#202328!important;background-image:none!important}.non-home-app-shell .project-config-active .ratio-icon i{border-color:#a783f1!important;background:#30343a!important;background-image:none!important;box-shadow:inset 0 0 0 1px #ffffff0a!important}.non-home-app-shell .project-config-active .selected-check{display:grid;width:22px;height:22px;place-items:center;color:#f4f5f7!important;border:1px solid #6c727c!important;background:#454a52!important;background-image:none!important;box-shadow:0 4px 12px #00000047!important}.non-home-app-shell .project-config-active .style-strip{grid-template-columns:repeat(auto-fill,minmax(132px,1fr))!important;align-items:stretch;overflow:visible!important}.non-home-app-shell .project-config-active .style-card{grid-template-rows:auto minmax(32px,auto);align-content:start;overflow:visible!important}.non-home-app-shell .project-config-active .style-card-image{object-fit:contain!important;background:#202328!important}.non-home-app-shell .project-config-active .style-card-name{display:grid;min-height:32px;place-items:center;overflow:visible!important;line-height:1.35;text-overflow:clip!important;white-space:normal!important;overflow-wrap:anywhere}.non-home-app-shell .project-config-active .style-card-check{color:#f4f5f7!important;border:1px solid #6c727c!important;background:#454a52!important;background-image:none!important}html:has(.non-home-app-shell),body:has(.non-home-app-shell),body:has(.non-home-app-shell) #root{background:#f3f2ed!important}.non-home-app-shell{--agent-page: #f3f2ed;--agent-surface: #ffffff;--agent-ink: #171813;--agent-muted: #6f7169;--agent-line: #d9d8d1;--agent-dark: #171815;--agent-dark-soft: #22231f;--agent-dark-line: #3b3d36;--agent-lime: #c9f762;--agent-lime-strong: #bff052;color-scheme:light;color:var(--agent-ink)!important;background:var(--agent-page)!important}.non-home-app-shell :is(.script-config-header,.script-config-status,.script-action-bar,.script-editor-toolbar,.smart-episode-actions,.agent-cast-board-header,.smart-storyboard-task-panel>header,.personal-script-toolbar,.personal-script-tabs,.character-library-tabs,.character-style-slider,.novel-library-toolbar,.novel-detail-topbar,.novel-reader-header,.novel-reader-navigation,.cf-editor-head,.cf-panel-heading,.cf-media-tabs,.cf-preview-toolbar,.cf-player-controls,.cf-editor-guide,.cf-time-ruler){color:var(--agent-ink)!important;border-color:var(--agent-line)!important;background:var(--agent-surface)!important;background-image:none!important;box-shadow:0 8px 24px #1b1d170f!important}.non-home-app-shell :is(.script-project-panel,.script-generate-panel,.script-editor-intro,.smart-episode-intro,.character-independent-header,.character-library-hero,.agent-cast-intro,.smart-storyboard-hero,.personal-script-hero,.novel-library-hero,.novel-detail-hero){color:#fff!important;border-color:var(--agent-dark-line)!important;background:var(--agent-dark)!important;background-image:none!important;box-shadow:0 20px 50px #17181326!important}.non-home-app-shell :is(.script-project-panel,.script-generate-panel,.script-editor-intro,.smart-episode-intro,.character-independent-header,.character-library-hero,.agent-cast-intro,.smart-storyboard-hero,.personal-script-hero,.novel-library-hero,.novel-detail-hero) :is(h1,h2,h3,h4,strong,b,label){color:#fff!important}.non-home-app-shell :is(.script-project-panel,.script-generate-panel,.script-editor-intro,.smart-episode-intro,.character-independent-header,.character-library-hero,.agent-cast-intro,.smart-storyboard-hero,.personal-script-hero,.novel-library-hero,.novel-detail-hero) :is(p,small,em,span:not(.selected-check)){color:#b7b9b2!important}.non-home-app-shell :is(.script-input-editor,.smart-episode-list,.smart-episode-card,.character-overview-stats article,.character-filter-bar,.character-card,.character-create-card,.agent-cast-summary article,.agent-cast-board,.agent-character-card,.smart-storyboard-task-panel,.smart-storyboard-task,.smart-storyboard-nextbar,.personal-script-stats article,.personal-project-card,.personal-project-detail,.personal-text-list,.personal-text-preview,.personal-video-card,.novel-card,.novel-detail-facts article,.novel-reader-shell,.novel-reader,.cf-editor,.cf-media-panel,.cf-preview-column,.cf-settings-panel,.cf-timeline){color:var(--agent-ink)!important;border-color:var(--agent-line)!important;background:var(--agent-surface)!important;background-image:none!important;box-shadow:0 12px 34px #1b1d1712!important}.non-home-app-shell :is(.script-config-stage,.model-picker-grid,.model-selector-card,.style-picker,.style-strip,.personal-project-layout,.personal-project-list,.personal-text-layout,.personal-video-grid,.character-overview-stats,.character-card-grid,.agent-cast-content,.smart-storyboard-task-list,.novel-card-grid,.cf-editor-main){border-color:transparent!important;background:transparent!important;background-image:none!important}.non-home-app-shell :is(select,input,textarea,.config-segment,.model-choice,.model-selector-trigger,.model-selector-menu,.model-selector-group-title,.model-selector-option,.style-card,.aspect-ratio-card,.storyboard-model-guide,.character-hero-features span,.character-library-tabs button,.character-style-slider button,.character-card-tags span,.agent-cast-tabs button,.agent-header-voice-card,.agent-voice-pill,.agent-character-voice-row,.smart-storyboard-hero-tags b,.smart-storyboard-task-filters button,.smart-storyboard-source,.smart-storyboard-prompt-editor,.smart-storyboard-role-chips span,.personal-script-ownership,.personal-script-search,.personal-script-tabs button,.personal-project-card-assets>span,.personal-project-readonly,.novel-search,.novel-filter-strip button,.novel-hero-stats span,.novel-card-tags span,.novel-character-chips b,.novel-highlight-list b,.novel-detail-metrics span,.cf-fold-title,.cf-import-large,.cf-track-add){color:#30312d!important;border-color:var(--agent-line)!important;background:#f3f2ed!important;background-image:none!important;box-shadow:none!important}.non-home-app-shell :is(input,textarea,select){caret-color:var(--agent-ink)!important}.non-home-app-shell :is(input,textarea)::placeholder{color:#96988f!important}.non-home-app-shell :is(button.active,button.selected,.active>button,.config-segment .active,.model-choice.selected,.model-selector-option.selected,.style-card.selected,.aspect-ratio-card.selected,.character-library-tabs button.active,.character-style-slider button.active,.agent-cast-tabs button.active,.smart-storyboard-task-filters button.active,.personal-script-tabs button.active,.novel-filter-strip button.active,.novel-chapter-list button.active,.cf-media-tabs button.active){color:#171813!important;border-color:var(--agent-lime-strong)!important;background:var(--agent-lime)!important;background-image:none!important;box-shadow:none!important}.non-home-app-shell :is(.script-start-button,.script-next-button,.personal-script-create,.novel-select-button,.smart-storyboard-task-actions button:last-child,.cf-editor-actions .primary,.cf-export-main){color:#171813!important;border-color:var(--agent-lime-strong)!important;background:var(--agent-lime)!important;background-image:none!important;box-shadow:0 10px 26px #99c43f33!important}.non-home-app-shell :is(.script-start-button,.script-next-button,.personal-script-create,.novel-select-button,.smart-storyboard-task-actions button:last-child,.cf-editor-actions .primary,.cf-export-main):hover{border-color:var(--agent-lime-strong)!important;background:var(--agent-lime-strong)!important;filter:none!important}.non-home-app-shell :is(.script-project-panel,.script-generate-panel) :is(input,textarea,select,.aspect-ratio-card,.model-selector-card,.model-selector-trigger,.model-selector-menu,.model-selector-group-title,.model-selector-option,.style-picker,.style-strip,.style-card,.storyboard-model-guide){color:#f6f7f3!important;border-color:var(--agent-dark-line)!important;background:var(--agent-dark-soft)!important;background-image:none!important}.non-home-app-shell :is(.script-project-panel,.script-generate-panel) :is(.model-selector-option.selected,.style-card.selected,.aspect-ratio-card.selected){color:#171813!important;border-color:var(--agent-lime)!important;background:var(--agent-lime)!important}.non-home-app-shell .project-config-active .ratio-icon,.non-home-app-shell .project-config-active .style-card-image{color:#f4f5f1!important;border-color:#474941!important;background:#2b2d28!important}.non-home-app-shell .project-config-active .ratio-icon i{border-color:var(--agent-lime)!important;background:transparent!important}.non-home-app-shell .project-config-active :is(.selected-check,.style-card-check){color:#171813!important;border-color:var(--agent-lime-strong)!important;background:var(--agent-lime)!important}.non-home-app-shell .project-config-active .style-strip{grid-template-columns:repeat(7,minmax(132px,1fr))!important;gap:10px!important;overflow:visible!important}.non-home-app-shell .project-config-active .style-card{min-height:148px!important;padding:0!important;overflow:hidden!important;border:1px solid #41464a!important;border-radius:12px!important;background:#1d2022!important}.non-home-app-shell .project-config-active .style-card-image,.non-home-app-shell .project-config-active .style-card-fallback{width:100%!important;height:112px!important;margin:0!important;border:0!important;border-radius:0!important;object-fit:cover!important;transform:none!important}.non-home-app-shell .project-config-active .style-card-name{display:flex!important;align-items:center!important;justify-content:center!important;min-height:36px!important;padding:5px 8px!important;color:#f4f5f1!important;background:#24282b!important}.non-home-app-shell .project-config-active .style-card.selected,.non-home-app-shell .project-config-active .model-selector-option.selected,.non-home-app-shell .project-config-active .model-choice.selected{color:#f7f8f6!important;border-color:#f1f3f1!important;background:#34383c!important;background-image:none!important;box-shadow:0 0 0 1px #ffffff2e!important}.non-home-app-shell .project-config-active :is(.model-selector-option.selected,.model-choice.selected) :is(strong,b,span,small,p,em){color:#f7f8f6!important}.non-home-app-shell .script-editor-active .script-input-editor,.non-home-app-shell .script-editor-active .script-input-editor textarea,.non-home-app-shell .script-editor-active .script-input-tools,.non-home-app-shell :is(.novel-card-body,.novel-card-footer,.novel-detail-summary,.novel-chapter-sidebar,.novel-reader-content){color:var(--agent-ink)!important;border-color:var(--agent-line)!important;background:var(--agent-surface)!important;background-image:none!important;box-shadow:none!important}.non-home-app-shell .novel-chapter-list button{color:#3b3d36!important;border-color:var(--agent-line)!important;background:#f3f2ed!important}.non-home-app-shell .novel-chapter-list button.active{color:#171813!important;border-color:var(--agent-lime-strong)!important;background:var(--agent-lime)!important}.non-home-app-shell .character-workflow-shell .agent-cast-board-header{border-color:var(--agent-line)!important;background:var(--agent-surface)!important}.non-home-app-shell .character-workflow-shell .agent-cast-tabs button,.non-home-app-shell .character-workflow-shell .agent-cast-tabs button:hover:not(.active){color:var(--agent-muted)!important;background:transparent!important}.non-home-app-shell .character-workflow-shell .agent-cast-tabs button.active{color:var(--agent-ink)!important;background:transparent!important;box-shadow:inset 0 -2px 0 var(--agent-lime-strong)!important}.non-home-app-shell .smart-storyboard-role-chips b,.non-home-app-shell .smart-storyboard-role-chips b:has(.lucide-mic-2){color:#eef0e9!important;border-color:#474941!important;background:#2b2d28!important}.smart-segment-progress-overlay{background:#f3f2ede0!important}.smart-segment-progress-card{color:#fff!important;border-color:#3b3d36!important;background:var(--agent-dark, #171815)!important}.smart-segment-ring-value{stroke:#c9f762!important;filter:drop-shadow(0 0 8px rgba(201,247,98,.34))!important}.smart-segment-liquid-fill,.smart-segment-linear-track span{background:linear-gradient(135deg,#aee542,#d8ff82)!important}.smart-segment-engine-label,.smart-segment-engine-label svg{color:#c9f762!important}.non-home-app-shell .sidebar.collapsed.sidebar-workspace .nav-stack{border-color:#33352f!important;background:#171815f5!important;box-shadow:0 16px 34px #1718132e!important}.non-home-app-shell .sidebar.collapsed.sidebar-workspace .nav-visual{color:#d1d3cc!important;border-color:transparent!important;background:transparent!important}.non-home-app-shell .sidebar.collapsed.sidebar-workspace :is(.nav-item.active,.nav-item:hover) .nav-visual{color:#171813!important;border-color:var(--agent-lime-strong)!important;background:var(--agent-lime)!important}.non-home-app-shell .character-workflow-shell .character-independent-header{color:var(--agent-ink)!important;border-color:var(--agent-line)!important;background:var(--agent-surface)!important;background-image:none!important;box-shadow:0 8px 24px #1b1d170f!important}.non-home-app-shell .main-panel .character-workflow-shell header.character-independent-header{color:var(--agent-ink)!important;border-color:var(--agent-line)!important;background:var(--agent-surface)!important;background-image:none!important}.non-home-app-shell .character-workflow-shell :is(.character-overview-stats article,.character-filter-bar,.character-card,.character-create-card,.character-card-footer){color:var(--agent-ink)!important;border-color:var(--agent-line)!important;background:var(--agent-surface)!important;background-image:none!important;box-shadow:0 12px 30px #1b1d1712!important}.non-home-app-shell .character-workflow-shell :is(.character-library-tabs,.character-style-slider,.character-search,.character-select select){color:var(--agent-ink)!important;border-color:var(--agent-line)!important;background:var(--agent-surface)!important;background-image:none!important;box-shadow:none!important}.non-home-app-shell .character-workflow-shell :is(.character-library-tabs button,.character-style-slider button){color:#e9ebe5!important;border-color:#3b3d36!important;background:#282a25!important}.non-home-app-shell .character-workflow-shell :is(.character-library-tabs button.active,.character-style-slider button.active){color:#171813!important;border-color:var(--agent-lime-strong)!important;background:var(--agent-lime)!important}.non-home-app-shell .character-workflow-shell .character-search{background:#f3f2ed!important}.non-home-app-shell .character-workflow-shell .character-select select{color:var(--agent-ink)!important;background:#f3f2ed!important}.non-home-app-shell .character-workflow-shell :is(.character-independent-header,.character-library-hero) :is(.primary-button,button:last-child){color:#171813!important;border-color:var(--agent-lime-strong)!important;background:var(--agent-lime)!important}.non-home-app-shell .script-config-header .script-flow-step,.non-home-app-shell .script-config-header .script-flow-step:is(.done,.unlocked,.clickable){color:#3f413a!important;opacity:1!important}.non-home-app-shell .script-config-header .script-flow-step.active{color:var(--agent-ink)!important;font-weight:850!important;opacity:1!important}.non-home-app-shell .script-config-header .script-flow-step.locked{color:#9b9d95!important;opacity:.72!important}.non-home-app-shell .script-config-header .script-flow-step i{color:#fff!important;border-color:#2e302b!important;background:#2e302b!important;box-shadow:none!important}.non-home-app-shell .script-config-header .script-flow-step.active i{color:#171813!important;border-color:var(--agent-lime-strong)!important;background:var(--agent-lime)!important;box-shadow:0 0 0 4px #c9f7622e!important}.non-home-app-shell .script-config-header .script-flow-step:not(:last-child):after{background:#b7b8b1!important}.non-home-app-shell .novel-library-hero .novel-hero-stats span,.non-home-app-shell .novel-hero-stats span{color:#aaaca4!important;border-color:var(--agent-dark-line)!important;background:var(--agent-dark-soft)!important}.non-home-app-shell .novel-library-hero .novel-hero-stats strong,.non-home-app-shell .novel-hero-stats strong{color:var(--agent-lime)!important}.non-home-app-shell .character-workflow-shell header.character-independent-header .script-config-status span{color:#fff!important;border-color:#2e302b!important;background:#15171c!important}html:has(.non-home-app-shell),body:has(.non-home-app-shell),body:has(.non-home-app-shell) #root{background:#08090a!important}.non-home-app-shell{--agent-page: #08090a;--agent-surface: #181a1c;--agent-surface-soft: #232628;--agent-ink: #f4f5f1;--agent-muted: #a0a39d;--agent-line: #34383a;--agent-dark: #111314;--agent-dark-soft: #1d2021;--agent-dark-line: #383c3e;--agent-lime: #c9f762;--agent-lime-strong: #bff052;color-scheme:dark;color:var(--agent-ink)!important;background:var(--agent-page)!important}.non-home-app-shell .main-panel.floating-nav-content:not(.home-main-panel):not(.manga-agent-main-panel),.non-home-app-shell :is(.script-config-page,.script-input-page,.smart-episode-page,.character-workflow-shell,.character-library-page,.smart-storyboard-workflow-shell,.edit-workflow-shell,.personal-script-library,.novel-library-page,.novel-detail-page){color:var(--agent-ink)!important;background:var(--agent-page)!important;background-image:none!important}.non-home-app-shell :is(.script-config-header,.script-config-status,.script-action-bar,.script-editor-toolbar,.smart-episode-actions,.agent-cast-board-header,.smart-storyboard-task-panel>header,.personal-script-toolbar,.personal-script-tabs,.character-library-tabs,.character-style-slider,.novel-library-toolbar,.novel-detail-topbar,.novel-reader-header,.novel-reader-navigation,.cf-editor-head,.cf-panel-heading,.cf-media-tabs,.cf-preview-toolbar,.cf-player-controls,.cf-editor-guide,.cf-time-ruler,.script-input-editor,.smart-episode-list,.smart-episode-card,.character-overview-stats article,.character-filter-bar,.character-card,.character-create-card,.character-card-footer,.agent-cast-summary article,.agent-cast-board,.agent-character-card,.smart-storyboard-task-panel,.smart-storyboard-task,.smart-storyboard-nextbar,.personal-script-stats article,.personal-project-card,.personal-project-detail,.personal-text-list,.personal-text-preview,.personal-video-card,.novel-card,.novel-detail-facts article,.novel-reader-shell,.novel-reader,.cf-editor,.cf-media-panel,.cf-preview-column,.cf-settings-panel,.cf-timeline){color:var(--agent-ink)!important;border-color:var(--agent-line)!important;background:var(--agent-surface)!important;background-image:none!important;box-shadow:0 12px 32px #00000047!important}.non-home-app-shell :is(.script-project-panel,.script-generate-panel,.script-editor-intro,.smart-episode-intro,.character-independent-header,.character-library-hero,.agent-cast-intro,.smart-storyboard-hero,.personal-script-hero,.novel-library-hero,.novel-detail-hero){color:#f7f8f4!important;border-color:var(--agent-dark-line)!important;background:var(--agent-dark)!important;background-image:none!important;box-shadow:0 18px 44px #0000005c!important}.non-home-app-shell :is(h1,h2,h3,h4,strong,b,label){color:var(--agent-ink)!important}.non-home-app-shell :is(p,small,em,.muted){color:var(--agent-muted)!important}.non-home-app-shell :is(select,input,textarea,.config-segment,.model-choice,.model-selector-card,.model-selector-trigger,.model-selector-menu,.model-selector-group-title,.model-selector-option,.style-picker,.style-strip,.style-card,.aspect-ratio-card,.storyboard-model-guide,.character-hero-features span,.character-library-tabs button,.character-style-slider button,.character-card-tags span,.agent-cast-tabs button,.agent-header-voice-card,.agent-voice-pill,.agent-character-voice-row,.smart-storyboard-hero-tags b,.smart-storyboard-task-filters button,.smart-storyboard-source,.smart-storyboard-prompt-editor,.smart-storyboard-role-chips span,.personal-script-ownership,.personal-script-search,.personal-script-tabs button,.personal-project-card-assets>span,.personal-project-readonly,.novel-search,.novel-filter-strip button,.novel-card-tags span,.novel-character-chips b,.novel-highlight-list b,.novel-detail-metrics span,.cf-fold-title,.cf-import-large,.cf-track-add){color:#e5e7e2!important;border-color:var(--agent-line)!important;background:var(--agent-surface-soft)!important;background-image:none!important;box-shadow:none!important}.non-home-app-shell :is(input,textarea,select){caret-color:var(--agent-lime)!important}.non-home-app-shell :is(input,textarea)::placeholder{color:#777b76!important}.non-home-app-shell :is(button.active,button.selected,.active>button,.config-segment .active,.model-choice.selected,.model-selector-option.selected,.style-card.selected,.aspect-ratio-card.selected,.character-library-tabs button.active,.character-style-slider button.active,.agent-cast-tabs button.active,.smart-storyboard-task-filters button.active,.personal-script-tabs button.active,.novel-filter-strip button.active,.novel-chapter-list button.active,.cf-media-tabs button.active){color:#f7f8f6!important;border-color:#f1f3f1!important;background:#34383c!important;background-image:none!important;box-shadow:0 0 0 1px #ffffff2e!important}.non-home-app-shell :is(button.active,button.selected,.active>button,.config-segment .active,.model-choice.selected,.model-selector-option.selected,.style-card.selected,.aspect-ratio-card.selected,.character-library-tabs button.active,.character-style-slider button.active,.agent-cast-tabs button.active,.smart-storyboard-task-filters button.active,.personal-script-tabs button.active,.novel-filter-strip button.active,.novel-chapter-list button.active,.cf-media-tabs button.active) :is(strong,b,span,small,p,em){color:inherit!important}.non-home-app-shell :is(.script-start-button,.script-next-button,.personal-script-create,.novel-select-button,.smart-storyboard-task-actions button:last-child,.cf-editor-actions .primary,.cf-export-main){color:#11130f!important;border-color:var(--agent-lime-strong)!important;background:var(--agent-lime)!important;background-image:none!important;box-shadow:0 8px 22px #a0d23a29!important}.non-home-app-shell .script-editor-active .script-input-editor,.non-home-app-shell .script-editor-active .script-input-editor textarea,.non-home-app-shell .script-editor-active .script-input-tools,.non-home-app-shell :is(.novel-card-body,.novel-card-footer,.novel-detail-summary,.novel-chapter-sidebar,.novel-reader-content){color:var(--agent-ink)!important;border-color:var(--agent-line)!important;background:var(--agent-surface)!important;background-image:none!important}.non-home-app-shell .novel-chapter-list button,.non-home-app-shell .character-workflow-shell :is(.character-library-tabs,.character-style-slider,.character-search,.character-select select){color:#e5e7e2!important;border-color:var(--agent-line)!important;background:var(--agent-surface-soft)!important;background-image:none!important}.non-home-app-shell .character-workflow-shell .character-search input{color:var(--agent-ink)!important;background:transparent!important}.non-home-app-shell .character-workflow-shell :is(.character-overview-stats article,.character-filter-bar,.character-card,.character-create-card,.character-card-footer) :is(h2,h3,h4,strong,b,label){color:var(--agent-ink)!important}.non-home-app-shell .character-workflow-shell :is(.character-overview-stats article,.character-filter-bar,.character-card,.character-create-card,.character-card-footer) :is(p,small,em,span){color:var(--agent-muted)!important}.non-home-app-shell .script-config-header .script-flow-step,.non-home-app-shell .script-config-header .script-flow-step:is(.done,.unlocked,.clickable){color:#c4c7c1!important}.non-home-app-shell .script-config-header .script-flow-step.active{color:#f4f5f1!important}.non-home-app-shell .script-config-header .script-flow-step:not(:last-child):after{background:#45494b!important}.non-home-app-shell .character-workflow-shell header.character-independent-header,.non-home-app-shell .main-panel .character-workflow-shell header.character-independent-header{color:var(--agent-ink)!important;border-color:var(--agent-line)!important;background:var(--agent-surface)!important;background-image:none!important;box-shadow:0 10px 28px #00000047!important}.non-home-app-shell .character-workflow-shell .character-independent-header :is(strong,b,span){color:var(--agent-ink)!important}.smart-segment-progress-overlay{background:#040506e6!important}.non-home-app-shell .sidebar.collapsed.sidebar-workspace .nav-stack{border-color:#34383a!important;background:#101213f5!important;box-shadow:0 16px 34px #00000061!important}.non-home-app-shell .project-config-active .aspect-ratio-card.selected,.non-home-app-shell .project-config-active .style-card.selected{color:#f7f8f6!important;border-color:#f1f3f1!important;background:#34383c!important;background-image:none!important;box-shadow:0 0 0 1px #ffffff2e!important}.non-home-app-shell .project-config-active :is(.aspect-ratio-card.selected,.style-card.selected) :is(strong,b,span,small,p,em){color:#f7f8f6!important}.non-home-app-shell .project-config-active :is(.selected-check,.style-card-check){color:#17191c!important;border-color:#f7f8f6!important;background:#f7f8f6!important;box-shadow:0 2px 8px #00000047!important}.home-quick-actions{border-radius:26px!important;padding:12px!important}.home-quick-action-item{border-radius:16px!important}.non-home-app-shell .project-config-active .aspect-ratio-card.selected{color:#f7f8f6!important;border-color:#f1f3f1!important;background:#34383c!important;background-image:none!important;box-shadow:0 0 0 1px #ffffff2e!important}.non-home-app-shell .project-config-active .aspect-ratio-card.selected :is(strong,b,span,small,p,em){color:#f7f8f6!important}.non-home-app-shell .project-config-active .aspect-ratio-card.selected .ratio-icon{color:#f7f8f6!important;border-color:#d8dadd!important;background:#202327!important}.non-home-app-shell .project-config-active .aspect-ratio-card.selected .ratio-icon i{border-color:#f7f8f6!important}.smart-storyboard-next-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}.smart-storyboard-nextbar .smart-storyboard-next-actions>button.secondary{color:#f6f7f7!important;border:1px solid #4a4e52!important;background:#292c2f!important;box-shadow:none!important}.smart-storyboard-nextbar .smart-storyboard-next-actions>button.secondary:hover:not(:disabled){border-color:#bdf45c!important;color:#dfff9f!important}.non-home-app-shell .project-config-active .script-project-panel{overflow:hidden!important;scrollbar-width:none!important;overscroll-behavior:none!important}.non-home-app-shell .project-config-active .script-project-panel::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}.nav-group-settings{margin-top:6px;padding-top:8px;border-top:1px solid rgba(255,255,255,.14)}.portal-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:6000;display:grid;place-items:center;padding:24px;background:#020305c7;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);animation:portal-modal-fade .18s ease-out both}.portal-modal{width:min(920px,calc(100vw - 48px));max-height:min(760px,calc(100dvh - 48px));overflow:auto;color:#f7f8fa;border:1px solid #3b3f45;border-radius:24px;background:#15171a;box-shadow:0 28px 90px #0000008f;animation:portal-modal-rise .22s ease-out both}.portal-modal-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 26px 18px;border-bottom:1px solid #30343a;background:#15171af5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.portal-modal-header span{display:block;margin-bottom:4px;color:#aeb3ba;font-size:11px;font-weight:800;letter-spacing:.15em}.portal-modal-header h2{margin:0;color:#fff;font-size:28px;line-height:1.1}.portal-modal-close{display:grid;width:42px;height:42px;place-items:center;color:#e7e9ec;border:1px solid #3c4148;border-radius:14px;background:#24272c;cursor:pointer}.portal-modal-close:hover{border-color:#737a84;background:#30343a}.portal-modal-intro{display:flex;align-items:center;gap:14px;margin:24px 26px 18px;padding:16px 18px;border:1px solid #363a40;border-radius:16px;background:#202328}.portal-modal-intro>svg{color:#c8cbd0}.portal-modal-intro div{display:grid;gap:3px}.portal-modal-intro strong{color:#fff;font-size:16px}.portal-modal-intro span{color:#aeb3ba;font-size:13px}.language-option-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0 26px 28px}.language-option-grid button{display:flex;min-height:78px;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;text-align:left;color:#e9ebee;border:1px solid #383c42;border-radius:16px;background:#202328;cursor:pointer}.language-option-grid button:hover{border-color:#6d737c;background:#292d32}.language-option-grid button.selected{color:#fff;border-color:#d4d7dc;background:#3b3f46;box-shadow:0 0 0 1px #ffffff1f}.language-option-grid button>span{display:grid;gap:5px}.language-option-grid b{font-size:15px}.language-option-grid small{color:#9fa4ac;font-size:12px}.language-option-grid button.selected small{color:#d7dade}.settings-dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 26px 24px;border-top:1px solid #30343a;background:#17191d}.settings-dialog-actions>div{display:flex;align-items:center;gap:10px}.settings-current-language{color:#9fa4ac;font-size:13px}.settings-current-language b{color:#f3f4f6;font-weight:750}.settings-cancel-button,.settings-confirm-button{min-height:44px;padding:0 20px;border-radius:13px;font-size:14px;font-weight:750;cursor:pointer}.settings-cancel-button{color:#d6d9de;border:1px solid #3a3f46;background:#23262b}.settings-cancel-button:hover{border-color:#686f79;background:#2b2f35}.settings-confirm-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;color:#111315;border:1px solid #d8dbe0;background:#f0f1f3;box-shadow:0 8px 24px #0000003d}.settings-confirm-button:hover{background:#fff;transform:translateY(-1px)}html[dir=rtl] .settings-dialog-actions,html[dir=rtl] .portal-modal-header,html[dir=rtl] .portal-modal-intro{direction:rtl}.member-center-lead{margin:0;padding:22px 26px 8px;color:#afb4bc;font-size:14px}.membership-plan-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:18px 26px 28px}.membership-plan-grid article{position:relative;display:flex;min-height:286px;flex-direction:column;padding:20px;border:1px solid #383c42;border-radius:20px;background:#202328}.membership-plan-grid article.selected{border-color:#d9dce1;background:#30343a;box-shadow:0 0 0 1px #ffffff1a}.membership-plan-grid article.recommended{border-color:#777d86}.plan-recommendation{position:absolute;top:12px;right:12px;padding:4px 9px;color:#17191c;border-radius:999px;background:#f1f3f5;font-size:11px;font-weight:800}.plan-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-right:44px}.plan-title strong{color:#fff;font-size:17px}.plan-title span{color:#979da5;font-size:12px}.plan-price{display:flex;align-items:baseline;margin-top:30px;color:#fff}.plan-price small{margin-right:3px;font-size:16px}.plan-price b{font-size:42px;line-height:1}.plan-price span{margin-left:4px;color:#9fa5ad;font-size:12px}.plan-original{min-height:24px;margin-top:10px;color:#aeb3ba;font-size:12px}.membership-plan-grid article>p{margin:16px 0 20px;color:#c5c9cf;font-size:13px}.membership-plan-grid article>button{display:flex;min-height:42px;align-items:center;justify-content:center;gap:7px;margin-top:auto;color:#fff;border:1px solid #555b64;border-radius:13px;background:#34383e;cursor:pointer}.membership-plan-grid article>button:hover{background:#454a52}.membership-plan-grid article.selected>button{color:#181a1d;background:#f1f3f5}.recharge-dialog{display:flex;flex-direction:column}.recharge-balance-row{display:flex;gap:14px;padding:0 28px 8px}.recharge-balance-item{flex:1;background:#ffffff0a;border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:12px 16px;display:grid;gap:4px}.recharge-balance-item span{color:#aeb3ba;font-size:12px}.recharge-balance-item strong{color:#fff;font-size:20px;font-weight:700}.recharge-pack-grid{cursor:pointer}.recharge-pack-points{font-size:30px;font-weight:800;color:#ffd77a;line-height:1.1}.recharge-pack-points small{font-size:14px;color:#d3b76a;font-weight:600}.recharge-pack-grid article h3{margin:8px 0 6px}.recharge-error{margin:0 28px 12px;padding:10px 14px;border-radius:10px;background:#dc3c3c24;border:1px solid rgba(220,60,60,.4);color:#ff9c9c;font-size:13px}.recharge-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:6px 28px 18px}.recharge-hint small{color:#8b9097;font-size:12px;max-width:380px;display:inline-block}.recharge-confirm-button{display:inline-flex;align-items:center;gap:8px;border:none;border-radius:12px;padding:12px 30px;background:linear-gradient(135deg,#f6b73c,#ff8a3d);color:#23160a;font-size:15px;font-weight:700;cursor:pointer;transition:filter .15s ease,transform .15s ease}.recharge-confirm-button:hover:not(:disabled){filter:brightness(1.07);transform:translateY(-1px)}.recharge-confirm-button:disabled{opacity:.45;cursor:not-allowed}.credits-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:6px 14px;background:#ffffff0f;color:#ffd77a;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s ease}.credits-chip:hover{background:#ffd77a24}.recharge-order-history{margin:0 28px 24px;border-top:1px solid rgba(255,255,255,.08);padding-top:16px;max-height:220px;overflow:auto}.recharge-order-history h4{color:#c8cbd0;font-size:13px;margin:0 0 10px;font-weight:600}.recharge-order-history table{width:100%;border-collapse:collapse;font-size:12px;color:#aeb3ba}.recharge-order-history th{text-align:left;padding:6px 8px;color:#8b9097;font-weight:500;border-bottom:1px solid rgba(255,255,255,.08);white-space:nowrap}.recharge-order-history td{padding:6px 8px;border-bottom:1px solid rgba(255,255,255,.05);white-space:nowrap}@media (max-width: 620px){.recharge-balance-row{flex-direction:column;padding:0 18px 8px}.recharge-actions{flex-direction:column;align-items:stretch;padding:6px 18px 16px}.recharge-confirm-button{justify-content:center}.recharge-order-history{margin:0 18px 20px}}@keyframes portal-modal-fade{0%{opacity:0}to{opacity:1}}@keyframes portal-modal-rise{0%{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}@media (max-width: 900px){.membership-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 620px){.portal-modal-backdrop{padding:12px}.portal-modal{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:18px}.language-option-grid,.membership-plan-grid{grid-template-columns:1fr;padding-inline:18px}.portal-modal-header{padding-inline:18px}.portal-modal-intro{margin-inline:18px}.settings-dialog-actions{align-items:stretch;flex-direction:column;padding-inline:18px}.settings-dialog-actions>div{width:100%}.settings-dialog-actions button{flex:1}}@media (max-width: 820px){.smart-storyboard-next-actions,.smart-storyboard-next-actions>button{width:100%}.smart-storyboard-next-actions>button{justify-content:center}}.non-home-app-shell.non-home-app-shell .script-config-brand :is(strong,b,span,p){color:#fff!important}.non-home-app-shell.non-home-app-shell .script-config-brand :is(small,em){color:#ffffff8c!important}.non-home-app-shell.non-home-app-shell .script-config-status :is(span,button){background:#26282c!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}.non-home-app-shell.non-home-app-shell .script-config-status span{color:#ffd77a!important}.non-home-app-shell.non-home-app-shell .project-config-active .aspect-ratio-card{background:linear-gradient(165deg,#1a1c20,#101114)!important;border:1px solid rgba(255,255,255,.09)!important;box-shadow:0 14px 34px #080a0e38,inset 0 1px #ffffff0d!important}.non-home-app-shell.non-home-app-shell .project-config-active .aspect-ratio-card .ratio-content strong,.non-home-app-shell.non-home-app-shell .project-config-active .aspect-ratio-card .ratio-content b{color:#fff!important}.non-home-app-shell.non-home-app-shell .project-config-active .aspect-ratio-card .ratio-content small{color:#ffffff8c!important}.non-home-app-shell.non-home-app-shell .project-config-active .ratio-icon{background:#ffffff0f!important;border:1px solid rgba(255,255,255,.12)!important}.non-home-app-shell.non-home-app-shell .project-config-active .ratio-icon i{border-color:#c9f762!important}.non-home-app-shell.non-home-app-shell .project-config-active .aspect-ratio-card.selected{background:linear-gradient(165deg,#23262b,#16181c)!important;border-color:#c9f7628c!important;box-shadow:0 0 0 3px #c9f7621f,0 16px 38px #080a0e4d!important}.non-home-app-shell.non-home-app-shell .project-config-active .selected-check{background:#c9f762!important;border-color:#c9f762!important;color:#171716!important}.non-home-app-shell.non-home-app-shell .project-config-active .config-segment{background:#101114!important;border:1px solid rgba(255,255,255,.09)!important}.non-home-app-shell.non-home-app-shell .project-config-active .config-segment button{background:transparent!important;color:#ffffff8c!important}.non-home-app-shell.non-home-app-shell .project-config-active .config-segment button.active{background:#2e3238!important;color:#fff!important;box-shadow:inset 0 1px #ffffff14,0 8px 20px #00000059!important}.non-home-app-shell.non-home-app-shell .project-config-active .storyboard-model-guide{background:#141519!important;border:1px solid rgba(255,255,255,.08)!important}.non-home-app-shell.non-home-app-shell .project-config-active .storyboard-model-guide>span{background:#26282c!important;border:1px solid rgba(255,255,255,.14)!important;color:#fff!important}.non-home-app-shell.non-home-app-shell .project-config-active .storyboard-model-guide strong{color:#fff!important}.non-home-app-shell.non-home-app-shell .project-config-active .storyboard-model-guide small{color:#ffffff8c!important}.non-home-app-shell.non-home-app-shell .project-config-active :is(.model-selector-trigger,.model-selector-card,.model-choice){background:#17181c!important;border:1px solid rgba(255,255,255,.09)!important}.non-home-app-shell.non-home-app-shell .project-config-active .model-selector-copy b,.non-home-app-shell.non-home-app-shell .project-config-active .model-selector-copy strong,.non-home-app-shell.non-home-app-shell .project-config-active .model-choice strong{color:#fff!important}.non-home-app-shell.non-home-app-shell .project-config-active .model-selector-copy small,.non-home-app-shell.non-home-app-shell .project-config-active .model-choice p{color:#ffffff80!important}.non-home-app-shell.non-home-app-shell .project-config-active .model-selector-arrow{border-color:#ffffff8c!important}.non-home-app-shell.non-home-app-shell .project-config-active .model-choice.selected{border-color:#c9f76280!important;background:#1d2024!important}.non-home-app-shell.non-home-app-shell .project-config-active .script-project-panel input::placeholder,.non-home-app-shell.non-home-app-shell .project-config-active .script-project-panel textarea::placeholder{color:#9a968c!important}.non-home-app-shell .project-config-active .model-selector-menu{border-color:#41454b!important;background:#191b1f!important}.non-home-app-shell .project-config-active .model-selector-options{gap:8px!important}.non-home-app-shell .project-config-active .model-selector-option,.non-home-app-shell .project-config-active .model-selector-option:disabled,.non-home-app-shell .project-config-active .model-selector-option:hover:not(:disabled),.non-home-app-shell .project-config-active .model-selector-option.selected{opacity:1!important;border-color:#3e4248!important;background:#202327!important;box-shadow:none!important}.non-home-app-shell .project-config-active .model-selector-option.selected{border-color:#d8dbe0!important;background:#25282d!important}.non-home-app-shell .project-config-active .model-selector-option:hover:not(:disabled){border-color:#666b73!important;background:#25282d!important}.non-home-app-shell .project-config-active .model-selector-option .brand-mark,.non-home-app-shell .project-config-active .model-selector-option .brand-mark.brand-badge,.non-home-app-shell .project-config-active .model-selector-trigger .brand-mark,.non-home-app-shell .project-config-active .model-selector-trigger .brand-mark.brand-badge{border:1px solid #555a62!important;background:#202328!important;background-image:none!important;box-shadow:none!important}.non-home-app-shell .project-config-active .model-selector-option .brand-mark.brand-badge b,.non-home-app-shell .project-config-active .model-selector-trigger .brand-mark.brand-badge b{color:#e7e9ec!important}.non-home-app-shell .project-config-active .model-selector-option:disabled strong{color:#a6aab1!important}.non-home-app-shell .project-config-active .model-selector-option:disabled small,.non-home-app-shell .project-config-active .model-selector-option:disabled em{color:#777c84!important}.non-home-app-shell .project-config-active .model-selector-option:not(:disabled) strong{color:#f1f2f4!important}.non-home-app-shell .project-config-active .model-selector-option em{color:#c8cbd0!important}.non-home-app-shell.non-home-app-shell .huimu-tool-card button{background:#c9f762!important;border:0!important;color:#171716!important;font-weight:700!important}.non-home-app-shell.non-home-app-shell .huimu-tool-card button svg{color:#171716!important}.non-home-app-shell.non-home-app-shell .huimu-tool-card :is(h2,h3,strong){color:#fff!important}.non-home-app-shell.non-home-app-shell .huimu-tool-card p{color:#fff9!important}.home-lobby .home-start-button,.home-lobby [class*=home-create] button[type=button],.home-lobby .home-hero-copy button{background:#c9f762!important;border:0!important;color:#171716!important;font-weight:800!important;box-shadow:0 14px 34px #c9f76247!important}.non-home-app-shell.non-home-app-shell .project-config-active{--pc-surface: #111316;--pc-surface-strong: #17191d;--pc-panel-line: #31353b}.non-home-app-shell.non-home-app-shell .project-config-active .script-config-header{border-color:var(--pc-panel-line)!important;background:#0f1114f7!important;background-image:none!important;backdrop-filter:blur(18px) saturate(120%)!important;-webkit-backdrop-filter:blur(18px) saturate(120%)!important;box-shadow:0 18px 42px #00000075,inset 0 1px #ffffff0a!important}.non-home-app-shell.non-home-app-shell .project-config-active .script-config-panel{border-color:var(--pc-panel-line)!important;background:#111316f5!important;background-image:none!important;backdrop-filter:blur(16px) saturate(115%)!important;-webkit-backdrop-filter:blur(16px) saturate(115%)!important;box-shadow:0 24px 56px #0000006b,inset 0 1px #ffffff09!important}.non-home-app-shell.non-home-app-shell .project-config-active .script-project-panel{background:#0e1013f7!important}.non-home-app-shell.non-home-app-shell .project-config-active .script-generate-panel>:is(.aspect-ratio-selector,.model-selector-card.wide,.config-field,.model-picker-grid,.style-picker){border-color:#30343a!important;background:#181b1ff5!important;box-shadow:inset 0 1px #ffffff09!important}.non-home-app-shell.non-home-app-shell .script-editor-active .script-input-page{display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;gap:20px!important;padding:18px 28px 22px!important}.non-home-app-shell.non-home-app-shell .script-editor-active .script-editor-intro,.non-home-app-shell.non-home-app-shell .script-editor-active .script-input-editor,.non-home-app-shell.non-home-app-shell .script-editor-active .script-input-actions{width:min(100%,1458px)!important}.non-home-app-shell.non-home-app-shell .script-editor-active .script-input-editor{align-self:stretch!important;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;min-height:clamp(520px,calc(100vh - 360px),720px)!important;margin-bottom:0!important;overflow:hidden!important;border-color:#30343a!important;border-bottom:0!important;border-radius:16px 16px 0 0!important;background:#151719!important;background-image:none!important;box-shadow:0 24px 58px #00000061,inset 0 1px #ffffff09!important}.non-home-app-shell.non-home-app-shell .script-editor-active .script-input-editor textarea{min-height:0!important;height:100%!important;background:#151719!important}.non-home-app-shell.non-home-app-shell .script-editor-active .script-input-actions{min-height:96px!important;margin-top:-20px!important;padding:18px 24px!important;border:1px solid #30343a!important;border-top-color:#34383f!important;border-radius:0 0 16px 16px!important;background:#111316!important;background-image:none!important;box-shadow:0 28px 62px #00000075,inset 0 1px #ffffff06!important}.non-home-app-shell.non-home-app-shell .project-config-active .model-selector-card.wide,.non-home-app-shell.non-home-app-shell .project-config-active .model-selector-menu{width:100%!important}.non-home-app-shell.non-home-app-shell .project-config-active .model-selector-options,.non-home-app-shell.non-home-app-shell .project-config-active .model-selector-options-flat{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}.non-home-app-shell.non-home-app-shell .project-config-active .model-selector-option{width:100%!important;grid-template-columns:44px minmax(0,1fr) auto!important;min-height:62px!important;padding:9px 12px!important}.non-home-app-shell.non-home-app-shell .project-config-active .model-selector-option span:not(.brand-mark){min-width:0!important}.non-home-app-shell.non-home-app-shell .project-config-active .model-selector-copy b{color:#c2c6cd!important}.non-home-app-shell.non-home-app-shell .project-config-active .model-selector-trigger .model-selector-copy strong,.non-home-app-shell.non-home-app-shell .project-config-active .model-selector-option:not(:disabled) strong,.non-home-app-shell.non-home-app-shell .project-config-active .model-selector-option.selected strong{color:#e5e7eb!important}.non-home-app-shell.non-home-app-shell .project-config-active .model-selector-trigger .model-selector-copy small,.non-home-app-shell.non-home-app-shell .project-config-active .model-selector-option:not(:disabled) small,.non-home-app-shell.non-home-app-shell .project-config-active .model-selector-option.selected small{color:#a8adb5!important}.non-home-app-shell.non-home-app-shell .project-config-active .model-selector-option em,.non-home-app-shell.non-home-app-shell .project-config-active .model-selector-option.selected em{color:#c2c6cd!important}.non-home-app-shell.workflow-app-shell{background:radial-gradient(circle at 8% 24%,rgba(23,76,86,.48),transparent 30%),radial-gradient(circle at 88% 10%,rgba(78,42,120,.38),transparent 34%),linear-gradient(180deg,#08090a,#050607)!important}.non-home-app-shell.workflow-app-shell .main-panel.floating-nav-content:not(.home-main-panel):not(.manga-agent-main-panel){background:transparent!important}.non-home-app-shell.workflow-app-shell .sidebar.collapsed.sidebar-workspace{background:#07090a57!important;border-color:#ffffff14!important;box-shadow:none!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important}.non-home-app-shell.non-home-app-shell .script-editor-active{background:radial-gradient(circle at 2% 22%,rgba(25,82,92,.52),transparent 32%),radial-gradient(circle at 88% 6%,rgba(77,43,119,.42),transparent 36%),linear-gradient(180deg,#08090ac2,#050607f5)!important;background-image:radial-gradient(circle at 2% 22%,rgba(25,82,92,.52),transparent 32%),radial-gradient(circle at 88% 6%,rgba(77,43,119,.42),transparent 36%),linear-gradient(180deg,#08090ac2,#050607f5)!important}.non-home-app-shell.non-home-app-shell .script-editor-active .script-editor-intro{display:none!important}.non-home-app-shell.non-home-app-shell .script-editor-active .script-input-page{gap:0!important;min-height:calc(100vh - 76px)!important;padding:20px 26px 22px 10px!important;background:transparent!important;background-image:none!important}.non-home-app-shell.non-home-app-shell .script-editor-active .script-input-editor,.non-home-app-shell.non-home-app-shell .script-editor-active .script-input-actions{width:min(calc(100% - 22px),1680px)!important;margin-left:max(12px,calc((100% - 1680px)/2))!important;margin-right:auto!important}.non-home-app-shell.non-home-app-shell .script-editor-active .script-input-editor{min-height:clamp(620px,calc(100vh - 206px),820px)!important}.non-home-app-shell.non-home-app-shell .script-editor-active .script-input-actions{margin-top:0!important}@media (min-width: 901px){.non-home-app-shell.workflow-app-shell .script-config-page.script-editor-active{width:calc(100% + 66px)!important;max-width:none!important;margin-left:-66px!important;padding-left:92px!important;box-sizing:border-box!important}.non-home-app-shell.workflow-app-shell .sidebar.collapsed.sidebar-workspace{overflow:visible!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.non-home-app-shell.workflow-app-shell .sidebar.collapsed.sidebar-workspace .nav-stack{overflow:hidden!important;border-radius:999px!important;background-clip:padding-box!important}}@media (min-width: 901px){.non-home-app-shell.workflow-app-shell{--workflow-rail-safe: 74px}.non-home-app-shell.workflow-app-shell .main-panel.floating-nav-content:not(.home-main-panel):not(.manga-agent-main-panel),.non-home-app-shell.workflow-app-shell :is(.script-config-page,.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell){width:100%!important;max-width:none!important;margin-left:0!important;box-sizing:border-box!important}.non-home-app-shell.workflow-app-shell .script-config-page.script-editor-active{width:100%!important;margin-left:0!important;padding-left:0!important}.non-home-app-shell.workflow-app-shell .script-config-header{width:100%!important;max-width:none!important;margin:0!important;padding:0 18px!important;border-radius:0!important;box-sizing:border-box!important}.non-home-app-shell.workflow-app-shell .script-config-page:not(.script-editor-active)>.script-config-header{width:calc(100% + 44px)!important;margin-right:-22px!important;margin-left:-22px!important}.non-home-app-shell.non-home-app-shell .script-editor-active .script-input-page{padding:12px 14px 32px var(--workflow-rail-safe)!important}.non-home-app-shell.non-home-app-shell .script-editor-active .script-input-editor,.non-home-app-shell.non-home-app-shell .script-editor-active .script-input-actions{width:100%!important;max-width:none!important;margin-right:0!important;margin-left:0!important}.non-home-app-shell.non-home-app-shell .script-editor-active .script-input-editor{grid-template-rows:auto auto minmax(0,1fr) auto!important;min-height:clamp(650px,calc(100vh - 184px),860px)!important}.non-home-app-shell .smart-episode-page{width:100%!important;max-width:none!important;padding:12px 14px 32px var(--workflow-rail-safe)!important;border-radius:0!important}.non-home-app-shell .smart-episode-page :is(.smart-segmentation-warning,.smart-episode-list,.smart-episode-actions){width:100%!important;max-width:none!important;margin-right:0!important;margin-left:0!important}.non-home-app-shell .smart-episode-list{height:auto!important;min-height:0!important;max-height:none!important;padding:14px!important}.non-home-app-shell .character-voice-workflow-page.agent-cast-page{width:100%!important;max-width:none!important;padding:12px 14px 32px var(--workflow-rail-safe)!important;box-sizing:border-box!important}.non-home-app-shell .agent-cast-page .agent-cast-layout{width:100%!important;max-width:none!important;grid-template-columns:minmax(0,1fr)!important;margin:0!important}.non-home-app-shell .agent-cast-page .agent-cast-board{width:100%!important;min-height:calc(100vh - 176px)!important}.non-home-app-shell .smart-storyboard-page{width:100%!important;max-width:none!important;padding:14px 14px 32px var(--workflow-rail-safe)!important;box-sizing:border-box!important}.non-home-app-shell .smart-storyboard-page :is(.smart-storyboard-hero,.smart-storyboard-task-panel,.smart-storyboard-nextbar){width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box!important}.non-home-app-shell .personal-script-library{width:100%!important;max-width:none!important;padding:24px 20px 48px var(--workflow-rail-safe, 74px)!important;box-sizing:border-box!important}.non-home-app-shell .personal-script-library :is(.history-workspace-head,.personal-history-projects,.personal-script-toolbar,.personal-text-layout,.personal-video-grid){width:100%!important;max-width:none!important;margin-right:0!important;margin-left:0!important}.non-home-app-shell .agent-bottom-actions{position:static!important;inset:auto!important;width:min(680px,calc(100vw - 32px))!important;min-width:0!important;margin:16px auto 0!important;grid-template-columns:minmax(170px,.72fr) minmax(340px,1.28fr)!important;transform:none!important}.non-home-app-shell .agent-bottom-actions .agent-back-action{color:#f3f4f6!important;background:#34373d!important}.non-home-app-shell .project-config-active .script-config-stage,.non-home-app-shell .project-config-active .script-action-bar{width:calc(100% - 52px)!important;margin-right:0!important;margin-left:52px!important}.non-home-app-shell .project-config-active .script-action-bar,.non-home-app-shell .smart-episode-actions,.non-home-app-shell .smart-storyboard-nextbar{position:relative!important;bottom:auto!important}.non-home-app-shell .edit-workspace-page{padding:14px 14px 32px var(--workflow-rail-safe)!important}}.script-text-model-settings{display:grid;grid-template-columns:minmax(190px,.8fr) minmax(240px,1.2fr) minmax(220px,1fr) auto;gap:10px;align-items:end;padding:12px 14px;border-top:1px solid #30343a;border-bottom:1px solid #30343a;background:#111316}.script-text-model-settings label{display:grid;min-width:0;gap:6px}.script-text-model-settings label>span{color:#aeb2bd;font-size:11px;font-weight:800}.script-text-model-settings :is(select,input){width:100%;min-width:0;min-height:38px;padding:0 11px;border:1px solid #383c43!important;border-radius:9px;color:#edf0f2!important;outline:0;background:#1b1e22!important}.script-text-model-settings :is(select,input):focus{border-color:#8e949d!important;box-shadow:0 0 0 2px #ffffff14!important}.script-text-model-settings>small{display:inline-flex;min-height:38px;align-items:center;gap:6px;padding:0 12px;border:1px solid #3a3e45;border-radius:9px;color:#d7dadd!important;background:#202328;font-size:11px;font-weight:800;white-space:nowrap}.smart-episode-cost{display:inline-flex;align-items:center;gap:5px;margin-left:6px;padding-left:10px;border-left:1px solid rgba(23,24,20,.24);font-size:12px;white-space:nowrap}@media (max-width: 1180px){.script-text-model-settings{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 720px){.script-text-model-settings{grid-template-columns:minmax(0,1fr)}}.non-home-app-shell.non-home-app-shell .script-editor-active .script-input-editor,.non-home-app-shell.non-home-app-shell.workflow-app-shell .script-editor-active .script-input-editor{display:flex!important;flex-direction:column!important;grid-template-rows:none!important}.non-home-app-shell.non-home-app-shell .script-editor-active .script-input-editor>textarea,.non-home-app-shell.non-home-app-shell.workflow-app-shell .script-editor-active .script-input-editor>textarea{flex:1 1 auto!important;height:auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important}.non-home-app-shell.non-home-app-shell .script-editor-active .script-input-editor>.script-input-tools{position:relative!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;flex:0 0 auto!important;padding:14px 32px 18px!important}.non-home-app-shell.non-home-app-shell .script-editor-active .script-input-editor>textarea{padding:24px 32px!important}.dev-test-badge{display:inline-flex;align-items:center;padding:2px 8px;margin-left:8px;border-radius:999px;border:1px solid rgba(245,158,11,.55);background:#f59e0b29;color:#d97706;font-size:11px;font-style:normal;font-weight:600;line-height:1.5;white-space:nowrap;vertical-align:middle}.smart-storyboard-status.dev-test-badge{top:14px;left:auto;right:14px;color:#ffd9a0!important;background:#784808d9!important}.non-home-app-shell.workflow-app-shell .personal-script-library{background:transparent!important;background-image:none!important}@media (min-width: 901px){.non-home-app-shell.workflow-app-shell .character-library-shell .character-library-page{padding-left:var(--workflow-rail-safe, 74px)!important;box-sizing:border-box!important}.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor{padding-left:56px!important;box-sizing:border-box!important}}.non-home-app-shell.workflow-app-shell :is(.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell)>.script-config-header{color:#f4f5f1!important;border-color:#34383a!important;background:#151719!important;background-image:none!important;box-shadow:0 12px 30px #0000004d!important}.non-home-app-shell.workflow-app-shell :is(.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell)>.script-config-header .script-flow-step.active i{color:#171813!important;border-color:#bff052!important;background:#c9f762!important;box-shadow:0 0 0 4px #c9f76229!important}.model-action-cost{display:inline-flex;align-items:center;gap:4px;margin-left:5px;padding-left:9px;border-left:1px solid currentColor;white-space:nowrap;opacity:.78}.character-ai-studio-generate,.smart-storyboard-task-actions button{flex-wrap:nowrap;white-space:nowrap}.non-home-app-shell.workflow-app-shell .project-config-active .model-picker-grid{grid-template-columns:minmax(0,1fr)!important;width:100%!important;border-radius:14px!important;overflow:visible!important}.non-home-app-shell.workflow-app-shell .project-config-active .model-selector-card.wide{grid-column:1 / -1!important;width:100%!important;border-radius:14px!important;overflow:visible!important}.non-home-app-shell.workflow-app-shell .project-config-active .model-selector-trigger{width:100%!important;border-radius:14px!important}.non-home-app-shell.workflow-app-shell .project-config-active .style-picker{display:grid!important;gap:14px!important;padding:16px!important;min-width:0!important;border-radius:14px!important;overflow:hidden!important}.non-home-app-shell.workflow-app-shell .project-config-active .video-style-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding-bottom:12px;color:inherit;border:0!important;border-bottom:1px solid #34383e!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important;outline:none!important;text-align:left;cursor:pointer}.non-home-app-shell.workflow-app-shell .project-config-active .video-style-heading:focus,.non-home-app-shell.workflow-app-shell .project-config-active .video-style-heading:focus-visible{border-color:transparent!important;box-shadow:none!important;outline:none!important}.non-home-app-shell.workflow-app-shell .project-config-active .video-style-heading>div{display:grid;gap:3px}.non-home-app-shell.workflow-app-shell .project-config-active .video-style-heading span,.non-home-app-shell.workflow-app-shell .project-config-active .video-style-heading small{color:#8e939b!important;font-size:12px}.non-home-app-shell.workflow-app-shell .project-config-active .video-style-heading strong{color:#f4f5f2!important;font-size:15px}.non-home-app-shell.workflow-app-shell .project-config-active .style-picker-toggle{display:inline-flex;align-items:center;justify-content:flex-end;gap:10px;flex:0 0 auto}.non-home-app-shell.workflow-app-shell .project-config-active .style-picker-toggle em{color:#d9dce1;font-size:12px;font-style:normal;font-weight:700}.non-home-app-shell.workflow-app-shell .project-config-active .video-style-heading[aria-expanded=true] .when-collapsed,.non-home-app-shell.workflow-app-shell .project-config-active .video-style-heading[aria-expanded=false] .when-expanded{display:none!important}.non-home-app-shell.workflow-app-shell .project-config-active .style-picker-toggle svg{color:#c9f762}.non-home-app-shell.workflow-app-shell .project-config-active .style-picker.collapsed{gap:0!important}.non-home-app-shell.workflow-app-shell .project-config-active .style-picker.collapsed .video-style-heading{padding-bottom:0;border-bottom:0!important}.non-home-app-shell.workflow-app-shell .project-config-active .style-strip{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px!important;min-width:0}.non-home-app-shell.workflow-app-shell .project-config-active .style-card{grid-template-rows:auto minmax(36px,auto)!important;min-height:0!important}.non-home-app-shell.workflow-app-shell .project-config-active .style-card-image,.non-home-app-shell.workflow-app-shell .project-config-active .style-card-fallback{width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:1 / 1!important}.non-home-app-shell.workflow-app-shell .project-config-active .style-card-image{display:block!important;object-fit:contain!important;object-position:center!important;background:#181b1e!important}.non-home-app-shell.workflow-app-shell .project-config-active .style-card:disabled{cursor:not-allowed;opacity:.42!important}.non-home-app-shell.workflow-app-shell .project-config-active .video-style-empty{display:flex;align-items:center;justify-content:center;gap:8px;min-height:96px;color:#8e939b;border:1px dashed #41464d;border-radius:10px}@media (max-width: 1100px){.non-home-app-shell.workflow-app-shell .project-config-active .style-strip{grid-template-columns:repeat(4,minmax(0,1fr))!important}}@media (max-width: 720px){.non-home-app-shell.workflow-app-shell .project-config-active .style-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}}.non-home-app-shell.workflow-app-shell .script-editor-active .script-editor-toolbar{justify-content:flex-start!important}.non-home-app-shell.workflow-app-shell .script-editor-active .script-editor-toolbar>div span{color:#f2f4ef!important;font-family:inherit!important;font-size:13px!important;letter-spacing:0!important}.non-home-app-shell.workflow-app-shell .smart-episode-list:has(>.smart-episode-card:only-of-type){display:grid!important;grid-template-rows:auto minmax(460px,1fr)!important;min-height:min(720px,calc(100dvh - 188px))!important}.non-home-app-shell.workflow-app-shell .smart-episode-list>.smart-episode-card:only-of-type,.non-home-app-shell.workflow-app-shell .smart-episode-list>.smart-episode-card:only-of-type .smart-episode-copy{min-height:100%!important}.non-home-app-shell.workflow-app-shell .smart-episode-list>.smart-episode-card:only-of-type .smart-episode-copy{display:grid!important;grid-template-rows:auto auto minmax(260px,1fr)!important}.non-home-app-shell.workflow-app-shell .smart-episode-list>.smart-episode-card:only-of-type .smart-episode-video-prompt{display:grid!important;grid-template-rows:auto minmax(220px,1fr)!important;height:100%!important;background:#222629!important}.non-home-app-shell.workflow-app-shell .smart-episode-list>.smart-episode-card:only-of-type .smart-episode-video-prompt textarea{field-sizing:content;width:100%!important;min-height:240px!important;height:100%!important;overflow:hidden!important;resize:vertical!important}.non-home-app-shell.workflow-app-shell .agent-bottom-actions>button:last-child{color:#171813!important;border-color:#c9f762!important;background:#c9f762!important;box-shadow:0 12px 28px #c9f76233!important}.non-home-app-shell.workflow-app-shell .agent-bottom-actions>button:last-child:hover:not(:disabled){background:#d6ff79!important;transform:translateY(-1px)}.non-home-app-shell.workflow-app-shell .agent-bottom-actions>button:last-child:disabled{color:#171813!important;background:#c9f762!important;opacity:.56!important}.non-home-app-shell.workflow-app-shell .smart-storyboard-page{gap:16px!important}.non-home-app-shell.workflow-app-shell .smart-storyboard-task{grid-template-columns:minmax(260px,.62fr) minmax(0,1.75fr)!important;min-height:470px!important}.non-home-app-shell.workflow-app-shell .smart-storyboard-task-body{grid-template-rows:auto minmax(250px,auto) auto auto!important;gap:14px!important;padding:22px!important}.non-home-app-shell.workflow-app-shell .smart-storyboard-prompt-editor textarea{field-sizing:content;min-height:250px!important;max-height:none!important;overflow:hidden!important;resize:vertical!important;background:#222629!important}.non-home-app-shell.workflow-app-shell .smart-storyboard-bindings{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:stretch!important;gap:14px!important;padding-top:2px}.non-home-app-shell.workflow-app-shell .smart-storyboard-role-chips button{display:inline-flex;align-items:center;gap:6px;max-width:260px;padding:7px 10px;color:#eef1eb;border:1px solid #464b50;border-radius:999px;background:#292d31;font-size:12px;cursor:pointer}.non-home-app-shell.workflow-app-shell .smart-storyboard-role-chips button:hover{color:#dfff9f;border-color:#8dab4e;background:#30362c}.non-home-app-shell.workflow-app-shell .smart-storyboard-role-chips button i{overflow:hidden;max-width:112px;color:#c9f762;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.non-home-app-shell.workflow-app-shell .smart-storyboard-task-actions{display:grid!important;grid-template-columns:minmax(260px,1fr) auto auto!important;align-items:end!important;justify-content:stretch!important;gap:10px!important;width:100%!important}.non-home-app-shell.workflow-app-shell .smart-storyboard-model-select{display:grid;gap:6px;min-width:0}.non-home-app-shell.workflow-app-shell .smart-storyboard-model-select>span{color:#969ca4!important;font-size:11px}.non-home-app-shell.workflow-app-shell .smart-storyboard-model-select select{width:100%;min-height:42px;padding:0 38px 0 12px;color:#f1f3ef;border:1px solid #454a50;border-radius:10px;background:#24282c;outline:none}.non-home-app-shell.workflow-app-shell .smart-storyboard-model-select select:focus{border-color:#91b34e;box-shadow:0 0 0 3px #c9f7621a}.non-home-app-shell.workflow-app-shell .smart-storyboard-task-actions button.primary{min-height:42px!important;color:#171813!important;border:1px solid #c9f762!important;background:#c9f762!important;box-shadow:0 10px 24px #c9f7622e!important}.non-home-app-shell.workflow-app-shell .smart-storyboard-task-actions button.primary:hover:not(:disabled){background:#d6ff79!important;transform:translateY(-1px)}@media (max-width: 1280px){.non-home-app-shell.workflow-app-shell .smart-storyboard-task{grid-template-columns:1fr!important}}@media (max-width: 760px){.non-home-app-shell.workflow-app-shell .smart-storyboard-task-actions{grid-template-columns:1fr!important}.non-home-app-shell.workflow-app-shell .smart-episode-list:has(>.smart-episode-card:only-of-type){min-height:0!important;grid-template-rows:auto auto!important}}.non-home-app-shell.workflow-app-shell :is(.script-config-page,.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell)>.script-config-header{display:grid!important;grid-template-columns:minmax(190px,260px) minmax(0,1fr) auto!important;align-items:center!important;gap:24px!important;width:100%!important;max-width:none!important;min-height:72px!important;height:72px!important;margin:0!important;padding:0 18px!important;color:#f4f5f1!important;border-color:#34383a!important;border-radius:0!important;background:#181a1c!important;background-image:none!important;box-shadow:0 10px 28px #00000047!important;box-sizing:border-box!important}.non-home-app-shell.workflow-app-shell :is(.script-config-page,.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell)>.script-config-header .script-flow{display:flex!important;min-width:0!important;min-height:32px!important;height:32px!important;align-items:center!important;justify-content:center!important;gap:10px!important;padding:0!important;overflow:hidden!important}.non-home-app-shell.workflow-app-shell :is(.script-config-page,.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell)>.script-config-header .script-flow-step{display:inline-flex!important;flex:0 0 auto!important;min-height:32px!important;height:32px!important;align-items:center!important;gap:7px!important;padding:4px 6px!important;color:#c4c7c1!important;border:0!important;border-radius:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;font-family:inherit!important;font-size:16px!important;font-weight:800!important;line-height:1!important;letter-spacing:0!important;white-space:nowrap!important}.non-home-app-shell.workflow-app-shell :is(.script-config-page,.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell)>.script-config-header .script-flow-step.locked{color:#9b9d95!important;opacity:.72!important}.non-home-app-shell.workflow-app-shell :is(.script-config-page,.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell)>.script-config-header .script-flow-step.active{color:#f4f5f1!important;opacity:1!important}.non-home-app-shell.workflow-app-shell :is(.script-config-page,.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell)>.script-config-header .script-flow-step i{display:grid!important;flex:0 0 24px!important;width:24px!important;height:24px!important;place-items:center!important;border-radius:50%!important;font-size:12px!important;line-height:1!important}.non-home-app-shell.workflow-app-shell :is(.script-config-page,.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell)>.script-config-header .script-flow-step:not(:last-child):after{flex:0 0 32px!important;width:32px!important;height:2px!important;margin-left:4px!important;border-radius:1px!important;background:#45494b!important}.non-home-app-shell.workflow-app-shell .script-editor-active .script-input-editor,.non-home-app-shell.workflow-app-shell .script-editor-active .script-input-editor textarea,.non-home-app-shell.workflow-app-shell .script-editor-active .script-input-tools,.non-home-app-shell.workflow-app-shell .agent-cast-stage-shell .agent-cast-board,.non-home-app-shell.workflow-app-shell .agent-cast-stage-shell .agent-cast-board-header{background-color:#08090a!important;background-image:none!important}@media (max-width: 900px){.non-home-app-shell.workflow-app-shell :is(.script-config-page,.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell)>.script-config-header{grid-template-columns:1fr!important;height:auto!important;min-height:72px!important;gap:10px!important;padding-block:10px!important}.non-home-app-shell.workflow-app-shell :is(.script-config-page,.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell)>.script-config-header .script-flow{justify-content:flex-start!important;overflow-x:auto!important}}.non-home-app-shell.workflow-app-shell .script-editor-active>.script-particle-layer,.non-home-app-shell.workflow-app-shell .script-editor-active .script-input-page:before,.non-home-app-shell.workflow-app-shell .script-editor-active .script-input-page:after,.non-home-app-shell.workflow-app-shell .script-editor-active .script-input-editor:before,.non-home-app-shell.workflow-app-shell .script-editor-active .script-input-editor:after{display:none!important;content:none!important;animation:none!important;background:none!important}.non-home-app-shell.workflow-app-shell .script-editor-active .script-input-editor{border:0!important;border-radius:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important}.non-home-app-shell.workflow-app-shell .script-editor-active .script-editor-toolbar{border:0!important;border-bottom:1px solid rgba(255,255,255,.1)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.non-home-app-shell.workflow-app-shell .script-editor-active .script-input-editor textarea,.non-home-app-shell.workflow-app-shell .script-editor-active .script-input-tools{background:transparent!important;background-image:none!important;box-shadow:none!important}.non-home-app-shell.workflow-app-shell .script-editor-active .script-input-editor{border:1px solid rgba(255,255,255,.24)!important;border-radius:14px!important;overflow:hidden!important;transition:border-color .18s ease,box-shadow .18s ease!important}.non-home-app-shell.workflow-app-shell .script-editor-active .script-input-editor:focus-within{border-color:#8e7cffd1!important;box-shadow:0 0 0 3px #8e7cff1f!important}.character-ai-studio-overlay{background:#000000db!important}.character-ai-studio{border-color:#ffffff1f!important;color:#f1f3f5!important;background:#08090a!important;background-image:none!important;box-shadow:0 30px 90px #000000ad!important}.character-ai-studio .character-ai-studio-header{border-bottom-color:#ffffff1a!important;background:#0d0f12!important;background-image:none!important}.character-ai-studio .character-ai-studio-form{border-right-color:#ffffff1a!important;background:#08090a!important}.character-ai-studio .character-ai-studio-preview{background:#0a0b0d!important}.character-ai-studio .character-ai-studio-model-note,.character-ai-studio .character-reference-upload,.character-ai-studio .character-ai-studio-preview li{border-color:#ffffff1f!important;background:#14171b!important}.character-ai-studio .character-ai-studio-form input,.character-ai-studio .character-ai-studio-form select,.character-ai-studio .character-ai-studio-form textarea{border-color:#ffffff21!important;color:#f1f3f5!important;background:#15181c!important}.character-detail-view .character-detail-stage{min-height:min(760px,calc(100vh - 150px))!important;padding:18px!important;background:#08090a!important}.character-detail-view .character-detail-stage img{width:100%!important;height:100%!important;max-height:min(800px,calc(100vh - 150px))!important;object-fit:contain!important;object-position:center!important;background:#08090a!important}@media (max-width: 980px){.character-ai-studio .character-ai-studio-form{border-right:0!important;border-bottom:1px solid rgba(255,255,255,.1)!important}}.non-home-app-shell.workflow-app-shell .agent-character-preview{position:relative}.non-home-app-shell.workflow-app-shell .agent-character-source-trigger{position:absolute;right:14px;bottom:14px;z-index:3;display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 12px;color:#f5f7fa!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:11px!important;background:#090b10d1!important;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.character-source-picker-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1700;display:grid;place-items:center;padding:24px;background:#040508b8;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.character-source-picker{width:min(720px,100%);padding:24px;color:#f5f7fa;border:1px solid rgba(255,255,255,.1);border-radius:18px;background:#12151c;box-shadow:0 28px 80px #0000006b}.character-source-picker>header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:22px}.character-source-picker>header>div{display:grid;gap:5px}.character-source-picker>header span{color:#8c9dff;font-size:12px;font-weight:800}.character-source-picker>header strong{font-size:22px}.character-source-picker>header p{margin:0;color:#9299a8;font-size:13px}.character-source-picker>header>button{display:grid;place-items:center;width:40px;height:40px;color:#d8dce6;border:0;border-radius:11px;background:#1b1f28}.character-source-picker__options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.character-source-picker__options>button{display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto auto;align-items:center;gap:4px 12px;min-height:126px;padding:18px;text-align:left;color:#f5f7fa;border:1px solid rgba(255,255,255,.08);border-radius:15px;background:#171b23;transition:.18s ease}.character-source-picker__options>button:hover{border-color:#6c7cff99;background:#1b202b;transform:translateY(-2px)}.character-source-picker__options>button>span{grid-row:1 / 3;display:grid;place-items:center;width:48px;height:48px;color:#8c9dff;border-radius:13px;background:#6c7cff1f}.character-source-picker__options strong{font-size:15px}.character-source-picker__options small{color:#9299a8;line-height:1.45}.character-source-picker__options>button>svg{grid-column:3;grid-row:1 / 3;color:#6f7786}.non-home-app-shell.workflow-app-shell .smart-storyboard-task-preview{display:grid;grid-template-rows:minmax(310px,1fr) auto;align-content:stretch}.non-home-app-shell.workflow-app-shell .smart-storyboard-task-preview>:not(.smart-storyboard-media-controls):not(.smart-storyboard-status){grid-row:1}.non-home-app-shell.workflow-app-shell .smart-storyboard-media-controls{grid-row:2;display:grid;gap:12px;padding:15px;border-top:1px solid #30353d;background:#15181d}.non-home-app-shell.workflow-app-shell .smart-storyboard-media-voices,.non-home-app-shell.workflow-app-shell .smart-storyboard-media-models{display:grid;gap:8px}.non-home-app-shell.workflow-app-shell .smart-storyboard-media-voices>span{color:#9299a8;font-size:11px}.non-home-app-shell.workflow-app-shell .smart-storyboard-media-models{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.non-home-app-shell.workflow-app-shell .smart-storyboard-media-controls .video-model-selector{min-width:0}.non-home-app-shell.workflow-app-shell .smart-storyboard-generation-actions{justify-content:flex-end;padding-top:2px}.non-home-app-shell.workflow-app-shell .smart-storyboard-image-action{margin-right:auto}@media (max-width: 780px){.character-source-picker__options{grid-template-columns:1fr}.character-source-picker__options>button{min-height:92px}.non-home-app-shell.workflow-app-shell .smart-storyboard-generation-actions{flex-direction:column}.non-home-app-shell.workflow-app-shell .smart-storyboard-generation-actions button{width:100%}}.non-home-app-shell.workflow-app-shell .smart-episode-source-heading,.non-home-app-shell.workflow-app-shell .smart-episode-prompt-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.non-home-app-shell.workflow-app-shell .smart-episode-source-heading>span,.non-home-app-shell.workflow-app-shell .smart-episode-prompt-heading>div>span{display:inline-flex;align-items:center;gap:6px;color:#aeb4bd;font-size:11px;font-weight:850}.non-home-app-shell.workflow-app-shell .smart-episode-source-heading button,.non-home-app-shell.workflow-app-shell .smart-episode-regenerate-prompt{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:0 11px;color:#e7eae4;border:1px solid #43484e;border-radius:9px;background:#262a2e;cursor:pointer}.non-home-app-shell.workflow-app-shell .smart-episode-source-heading button:hover,.non-home-app-shell.workflow-app-shell .smart-episode-regenerate-prompt:hover:not(:disabled){color:#e9ffbb;border-color:#8eaa50;background:#30362c}.non-home-app-shell.workflow-app-shell .smart-episode-prompt-heading>div{display:grid;gap:3px}.non-home-app-shell.workflow-app-shell .smart-episode-prompt-heading>div>span{color:#9bdcff}.non-home-app-shell.workflow-app-shell .smart-episode-prompt-heading small{color:#9298a1;font-size:10px}.non-home-app-shell.workflow-app-shell .smart-episode-regenerate-prompt>span{display:inline-flex;align-items:center;gap:4px;padding-left:8px;color:#c9f762;border-left:1px solid #4a4f55;font-size:11px}.non-home-app-shell.workflow-app-shell .smart-episode-regenerate-prompt:disabled{cursor:wait;opacity:.58}.non-home-app-shell.workflow-app-shell .smart-episode-prompt-error{display:flex;align-items:center;gap:8px;width:min(100%,1680px);margin:0 auto;padding:10px 13px;color:#ffb1b9;border:1px solid rgba(255,102,122,.28);border-radius:10px;background:#731e2d33}.smart-episode-source-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1400;display:grid;place-items:center;padding:28px;background:#030405d1;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.smart-episode-source-modal{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:18px;width:min(980px,94vw);height:min(700px,86vh);padding:24px;color:#f3f5ef;border:1px solid #3a3f44;border-radius:18px;background:#151719;box-shadow:0 30px 90px #0000009e}.smart-episode-source-modal>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.smart-episode-source-modal>header span{color:#c9f762;font-size:11px;font-weight:850;letter-spacing:.08em}.smart-episode-source-modal h3{margin:6px 0;font-size:22px}.smart-episode-source-modal p,.smart-episode-source-modal label>small{margin:0;color:#989ea6;font-size:12px}.smart-episode-source-modal>header>button{display:grid;width:40px;height:40px;flex:0 0 auto;place-items:center;color:#e8ebe5;border:1px solid #40454a;border-radius:11px;background:#25292c;cursor:pointer}.smart-episode-source-modal>label{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:8px;min-height:0}.smart-episode-source-modal>label>span{color:#dfe3dc;font-size:13px;font-weight:800}.smart-episode-source-modal textarea{width:100%;min-height:0;padding:16px;color:#f5f6f2;border:1px solid #40464c;border-radius:12px;outline:none;resize:none;background:#0c0e0f;font:inherit;font-size:15px;line-height:1.8}.smart-episode-source-modal textarea:focus{border-color:#8eaa50;box-shadow:0 0 0 3px #c9f7621a}.smart-episode-source-modal>label>small{justify-self:end}.smart-episode-source-modal>footer{display:flex;justify-content:flex-end;gap:10px}.smart-episode-source-modal>footer button{display:inline-flex;min-width:112px;min-height:42px;align-items:center;justify-content:center;gap:7px;border-radius:10px;cursor:pointer}.smart-episode-source-modal>footer .secondary{color:#e2e5df;border:1px solid #44494f;background:#25292c}.smart-episode-source-modal>footer .primary{color:#171813!important;border:1px solid #c9f762!important;background:#c9f762!important}.non-home-app-shell.workflow-app-shell .agent-character-card{min-height:570px!important}.non-home-app-shell.workflow-app-shell .agent-character-preview{display:grid!important;grid-template-rows:minmax(0,1fr)!important;height:360px!important;padding:0!important;background:#111315!important}.non-home-app-shell.workflow-app-shell .agent-character-display,.non-home-app-shell.workflow-app-shell .agent-character-display>img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;border:0!important;border-radius:0!important}.non-home-app-shell.workflow-app-shell .agent-character-display>img{object-fit:cover!important;background:#0d0f10!important}.non-home-app-shell.workflow-app-shell .agent-character-placeholder{display:grid!important;width:100%!important;height:100%!important;aspect-ratio:auto!important;align-content:center;justify-items:center;gap:9px;padding:24px!important;color:#eef0ec!important;border:0!important;border-radius:0!important;background:#111315!important}.non-home-app-shell.workflow-app-shell .agent-character-placeholder>span{display:grid;width:68px;height:68px;place-items:center;margin:0;color:#c9f762!important;border:1px solid #5e6d3f;border-radius:16px;background:#252b20}.non-home-app-shell.workflow-app-shell .agent-character-placeholder>strong{margin:0;font-size:17px}.non-home-app-shell.workflow-app-shell .agent-character-placeholder>small{color:#949aa2}.non-home-app-shell.workflow-app-shell .agent-character-footer{min-height:206px!important;gap:12px!important;padding:16px 18px 18px!important}.non-home-app-shell.workflow-app-shell .agent-character-toolrow{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px!important;min-height:0;padding:2px 0 0!important}.non-home-app-shell.workflow-app-shell .agent-character-toolrow button,.non-home-app-shell.workflow-app-shell .agent-character-toolrow .agent-ai-create-person{display:flex!important;width:100%!important;min-width:0!important;height:42px!important;min-height:42px!important;flex-direction:row!important;gap:7px!important;color:#e4e7e1!important;border-color:#41464b!important;border-radius:10px!important;background:#25292c!important}.non-home-app-shell.workflow-app-shell .agent-character-toolrow .agent-ai-create-person>span{color:#c9f762!important;font-size:15px!important}.character-voice-picker-overlay{background:#030405d6!important}.character-voice-picker{border-color:#3b4045!important;background:#151719!important}.character-voice-picker__header>div>span{color:#c9f762!important}.character-voice-picker__header p,.character-voice-picker__copy span,.character-voice-picker__copy small{color:#9298a1!important}.character-voice-picker__close,.character-voice-picker__filters button,.character-voice-picker__preview{color:#e3e6e0!important;border-color:#42474c!important;background:#25292c!important}.character-voice-picker__filters button.is-active{color:#edffc4!important;border-color:#8eaa50!important;background:#30362c!important}.character-voice-picker__item{border-color:#363b40!important;background:#1b1e20!important}.character-voice-picker__item.is-selected{border-color:#9fbd58!important;box-shadow:inset 0 0 0 1px #c9f76229!important}.character-voice-picker__avatar{color:#c9f762!important;background:#2a2f26!important}.character-voice-picker__choose{color:#171813!important;border-color:#c9f762!important;background:#c9f762!important}.non-home-app-shell.workflow-app-shell .smart-storyboard-video-player{display:grid;grid-template-rows:minmax(0,1fr) auto;width:100%;height:100%;min-height:470px;background:#0a0c0d}.non-home-app-shell.workflow-app-shell .smart-storyboard-task-preview:has(.smart-storyboard-source-frame){display:grid;grid-template-rows:minmax(210px,.8fr) minmax(260px,1fr);align-content:stretch;background:#08090a!important}.non-home-app-shell.workflow-app-shell .smart-storyboard-source-frame{position:relative;min-height:210px;margin:0;overflow:hidden;border-bottom:1px solid #34393e;background:#101315}.non-home-app-shell.workflow-app-shell .smart-storyboard-source-frame img{width:100%;height:100%;min-height:210px;object-fit:contain;background:#08090a}.non-home-app-shell.workflow-app-shell .smart-storyboard-source-frame figcaption{position:absolute;top:12px;left:12px;padding:5px 9px;color:#eff1ec;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:#08090ac2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);font-size:11px;font-weight:700}.non-home-app-shell.workflow-app-shell .smart-storyboard-task-preview:has(.smart-storyboard-source-frame) .smart-storyboard-video-player{min-height:260px}.non-home-app-shell.workflow-app-shell .smart-storyboard-task-preview:has(.smart-storyboard-source-frame) .smart-storyboard-video-player video{min-height:208px!important}.non-home-app-shell.workflow-app-shell .smart-storyboard-motion-editor textarea{min-height:150px!important;border-color:#4b5056!important;background:#202427!important}.non-home-app-shell.workflow-app-shell .smart-storyboard-video-player video{width:100%!important;height:100%!important;min-height:410px!important;object-fit:contain!important;background:#08090a!important;cursor:pointer}.non-home-app-shell.workflow-app-shell .smart-storyboard-video-player>button{display:inline-flex;min-height:52px;align-items:center;justify-content:center;gap:8px;color:#eff1ec;border:0;border-top:1px solid #34393e;background:#1b1e20;cursor:pointer}.non-home-app-shell.workflow-app-shell .smart-storyboard-video-player>button:hover{color:#eaffb9;background:#252a22}.non-home-app-shell.workflow-app-shell .smart-storyboard-status{z-index:2}.non-home-app-shell.workflow-app-shell,.non-home-app-shell.workflow-app-shell>.main-panel,.non-home-app-shell.workflow-app-shell :is(.script-config-page,.script-input-page,.smart-episode-page,.character-workflow-shell,.character-voice-workflow-page,.smart-storyboard-workflow-shell,.smart-storyboard-page,.edit-workflow-shell){background-color:#08090a!important;background-image:none!important}.non-home-app-shell.workflow-app-shell :is(.script-config-page,.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell):before,.non-home-app-shell.workflow-app-shell :is(.script-config-page,.character-workflow-shell,.smart-storyboard-workflow-shell,.edit-workflow-shell):after{opacity:0!important;background:none!important}@media (min-width: 901px){.non-home-app-shell.workflow-app-shell>.main-panel.floating-nav-content:has(>.edit-workflow-shell){padding:0!important}.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;box-sizing:border-box!important;background:#0b0d10!important}.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor>:is(.cf-editor-main,.cf-timeline){max-width:none!important;box-sizing:border-box!important}.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor-main{padding-left:calc(var(--workflow-rail-safe, 66px) + 8px)!important}.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-timeline{width:calc(100% - var(--workflow-rail-safe, 66px) - 16px)!important;margin-right:8px!important;margin-left:calc(var(--workflow-rail-safe, 66px) + 8px)!important}}.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor,.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor-main{color:#f4f6f8!important;border-color:transparent!important;background:#0b0d10!important;background-image:none!important;box-shadow:none!important}.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor :is(.cf-editor-toolbar,.cf-media-panel,.cf-settings-panel,.cf-timeline,.cf-panel-heading,.cf-media-tabs,.cf-preview-toolbar,.cf-player-controls){color:#f4f6f8!important;border-color:#ffffff14!important;background-image:none!important;box-shadow:none!important}.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor :is(.cf-editor-toolbar,.cf-preview-toolbar,.cf-player-controls){background:#0f1217!important}.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor :is(.cf-media-panel,.cf-settings-panel,.cf-timeline,.cf-panel-heading,.cf-media-tabs){background:#12151a!important}.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor .cf-preview-column,.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor .cf-preview-stage{color:#f4f6f8!important;border-color:#ffffff14!important;background:#020304!important;background-image:none!important;box-shadow:none!important}.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor .cf-media-tabs button.active{color:#dcd5ff!important;border-color:transparent!important;background:transparent!important;box-shadow:none!important}.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor .cf-workflow-steps button{color:#69717e!important;border-color:transparent!important;background:transparent!important;box-shadow:none!important}.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor .cf-workflow-steps button.completed{color:#8b929d!important;background:transparent!important}.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor .cf-workflow-steps button.active{color:#fff!important;background:#7657f624!important}.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor .cf-primary-button{color:#fff!important;border-color:transparent!important;background:#7657f6!important;box-shadow:none!important}@media (max-width: 760px){.smart-episode-source-modal-overlay{padding:12px}.smart-episode-source-modal{width:100%;height:92vh;padding:18px}.non-home-app-shell.workflow-app-shell .smart-episode-prompt-heading{align-items:stretch;flex-direction:column}.non-home-app-shell.workflow-app-shell .smart-episode-regenerate-prompt{width:100%}}.non-home-app-shell.workflow-app-shell .character-workflow-shell .character-library-hero{display:block!important;min-height:0!important;padding:24px 28px!important;background:#151719!important;background-image:none!important}.non-home-app-shell.workflow-app-shell .character-workflow-shell .character-library-hero:after{display:none!important}.non-home-app-shell.workflow-app-shell .character-workflow-shell .character-filter-bar .character-style-slider{padding:0!important;border:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important}.home-lobby .home-brand-lockup{display:inline-flex!important;align-items:flex-start!important;flex-direction:column!important;gap:8px!important;justify-self:start!important;margin:0!important}.home-lobby .home-brand-lockup img{align-self:flex-start!important}.home-lobby .home-hero-copy{width:100%!important;max-width:none!important}.home-lobby .home-statusbar{align-items:flex-start!important}.non-home-app-shell.workflow-app-shell .character-workflow-shell .character-filter-bar{border-color:transparent!important;background:transparent!important;background-image:none!important;box-shadow:none!important}.non-home-app-shell.workflow-app-shell .agent-cast-stage-shell,.non-home-app-shell.workflow-app-shell .agent-cast-stage-shell .agent-cast-page,.non-home-app-shell.workflow-app-shell .agent-cast-stage-shell .agent-cast-layout,.non-home-app-shell.workflow-app-shell .agent-cast-stage-shell .agent-cast-board,.non-home-app-shell.workflow-app-shell .agent-cast-stage-shell .agent-cast-board-header{background-color:#08090a!important;background-image:none!important;box-shadow:none!important}.non-home-app-shell.workflow-app-shell .agent-cast-stage-shell:before,.non-home-app-shell.workflow-app-shell .agent-cast-stage-shell:after,.non-home-app-shell.workflow-app-shell .agent-cast-stage-shell .character-particle-layer{display:none!important;opacity:0!important;background:none!important}.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor{grid-template-rows:72px minmax(0,1fr) var(--cf-timeline-height, 286px)!important}.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor>.script-config-header{display:grid!important;grid-template-columns:minmax(190px,260px) minmax(0,1fr) auto!important;align-items:center!important;gap:24px!important;width:100%!important;max-width:none!important;min-height:72px!important;height:72px!important;margin:0!important;padding:0 18px!important;color:#f4f5f1!important;border-color:#34383a!important;border-radius:0!important;background:#181a1c!important;background-image:none!important;box-shadow:0 10px 28px #00000047!important;box-sizing:border-box!important}.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor>.script-config-header .script-flow{display:flex!important;min-width:0!important;min-height:32px!important;height:32px!important;align-items:center!important;justify-content:center!important;gap:10px!important;padding:0!important;overflow:hidden!important}.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor>.script-config-header .script-flow-step{position:relative!important;display:inline-flex!important;flex:0 0 auto!important;min-height:32px!important;height:32px!important;align-items:center!important;gap:7px!important;padding:4px 6px!important;color:#c4c7c1!important;border:0!important;border-radius:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;font-family:inherit!important;font-size:16px!important;font-weight:800!important;line-height:1!important;letter-spacing:0!important;white-space:nowrap!important;opacity:1!important}.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor>.script-config-header .script-flow-step.locked{color:#9b9d95!important;opacity:.72!important}.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor>.script-config-header .script-flow-step.active{color:#f4f5f1!important}.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor>.script-config-header .script-flow-step:after{position:static!important}.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor>.script-config-header .script-flow-step:not(:last-child):after{display:block!important;flex:0 0 32px!important;width:32px!important;height:2px!important;margin-left:4px!important;border-radius:1px!important;content:""!important;background:#45494b!important}.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor>.script-config-header .script-flow-step i{display:grid!important;flex:0 0 24px!important;width:24px!important;height:24px!important;place-items:center!important;border-radius:50%!important;color:#fff!important;background:#2e302b!important;font-size:12px!important;font-style:normal!important;line-height:1!important}.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor>.script-config-header .script-flow-step.active i{color:#171813!important;border-color:#bff052!important;background:#c9f762!important;box-shadow:0 0 0 4px #c9f76229!important}.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor .cf-timeline-tools .cf-save-state{display:inline-flex!important;align-items:center!important}@media (max-width: 900px){.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor{grid-template-rows:72px minmax(0,1fr) var(--cf-timeline-height, 286px)!important}.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor>.script-config-header{grid-template-columns:minmax(0,1fr) auto!important;height:72px!important}.non-home-app-shell.workflow-app-shell .edit-workflow-shell .cf-editor>.script-config-header .script-flow{display:none!important}}
