:root,html[data-theme=dark]{--brand-background:#020829;--brand-action-blue:#0870f0;--brand-action-purple:#8070f0;--brand-action-shadow:rgb(8 112 240/0.28);--teal-400:#0870f0;--lime-300:#8070f0;--accent:#0870f0;--accent-strong:#085ecb;--accent-contrast:#fff;--border:var(--line);--surface-muted:var(--surface-elevated);--shadow-lg:var(--shadow);accent-color:var(--accent)}.theme-logo{block-size:100%}.theme-logo,.theme-logo img{display:block;inline-size:100%}.theme-logo img{block-size:auto;object-fit:contain}.theme-logo-light{display:none!important}.short-drama-create-section{inline-size:100%;margin-inline:0}:is(.three-d-page,.admin-console)>.page-header .eyebrow{display:none}:is(.three-d-page,.admin-console)>.page-header .page-title{gap:0}.three-d-page>.page-header .page-title h1{font-size:clamp(1.65rem,1.3rem + 1vw,2.5rem)}.three-d-lineage{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;align-self:start;grid-gap:.65rem;gap:.65rem;padding:.65rem;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);overflow-x:auto}.three-d-lineage button{display:grid;grid-gap:.2rem;gap:.2rem;min-inline-size:9rem;padding:.55rem;border:1px solid var(--line);border-radius:calc(var(--radius) - .2rem);background:var(--surface-elevated);color:var(--text);text-align:start}.three-d-lineage button:hover{border-color:var(--accent)}.three-d-lineage-import{grid-template-columns:minmax(0,1fr)}.three-d-lineage-import>div{display:grid;grid-gap:.2rem;gap:.2rem;padding:.55rem;border:1px solid var(--line);border-radius:calc(var(--radius) - .2rem);background:var(--surface-elevated)}.three-d-lineage small,.three-d-review-artifacts small,.three-d-review-inspector small{color:var(--muted)}.three-d-lineage-operation{display:flex;align-items:center;gap:.4rem;color:var(--muted);white-space:nowrap}.three-d-review-tabs{inline-size:100%}.three-d-review-tabs button{flex:1 1}.three-d-review-inspector{display:grid;grid-gap:.85rem;gap:.85rem;min-inline-size:0}.three-d-review-archive,.three-d-review-artifacts a,.three-d-review-completed,.three-d-review-inspector>header{display:flex;align-items:center;justify-content:space-between;gap:.6rem}.three-d-review-archive{min-inline-size:0;padding:.65rem;border:1px solid color-mix(in srgb,var(--accent) 55%,var(--line));border-radius:calc(var(--radius) - .15rem);background:color-mix(in srgb,var(--accent) 9%,var(--surface-elevated));color:var(--text);font-size:.78rem}.three-d-review-archive>span:first-child{display:grid;min-inline-size:0}.three-d-review-archive>span:nth-child(2){color:var(--muted);white-space:nowrap}.three-d-review-download-separator{block-size:1px;margin-block:.2rem;background:var(--line)}.three-d-review-inspector h3,.three-d-review-inspector h4{margin:0}.three-d-review-inspector section{display:grid;grid-gap:.45rem;gap:.45rem}.three-d-review-block{-webkit-padding-before:.8rem;padding-block-start:.8rem;-webkit-border-before:1px solid var(--line);border-block-start:1px solid var(--line)}.three-d-review-view-switch button{min-inline-size:0;white-space:nowrap}.three-d-review-chips{display:flex;flex-wrap:wrap;gap:.35rem}.three-d-review-chips span{padding:.2rem .45rem;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:.72rem}.three-d-review-warnings p{margin:0;color:var(--warning,var(--muted));font-size:.78rem}.three-d-review-artifacts{display:grid;align-content:start;grid-gap:.4rem;gap:.4rem;max-block-size:min(28rem,50dvh);-webkit-padding-end:.2rem;padding-inline-end:.2rem;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.three-d-review-artifacts a{min-inline-size:0;padding:.45rem;border:1px solid var(--line);border-radius:calc(var(--radius) - .25rem);color:var(--text);font-size:.75rem}.three-d-review-artifacts a>span:first-child{display:grid;min-inline-size:0}.three-d-review-artifacts a>span:nth-child(2){color:var(--muted);white-space:nowrap}.three-d-part-actions,.three-d-part-name-edit{display:flex;align-items:center;gap:.45rem}.three-d-part-name-edit .field{min-inline-size:0;flex:1 1}.three-d-uv-review{display:grid;grid-gap:.75rem;gap:.75rem}.three-d-uv-review-header{display:grid;grid-gap:.4rem;gap:.4rem}.three-d-uv-review-header h3,.three-d-uv-review-header p,.three-d-uv-texture-unavailable{margin:0}.three-d-uv-review-description,.three-d-uv-texture-unavailable{font-size:.82rem}.three-d-uv-controls{-webkit-margin-before:.75rem;margin-block-start:.75rem}.three-d-uv-zoom{display:grid;grid-gap:.25rem;gap:.25rem;min-inline-size:min(14rem,100%)}.three-d-uv-canvas{block-size:min(24rem,48dvh);overflow:auto;border:1px solid var(--line);border-radius:var(--radius);background-image:linear-gradient(45deg,var(--surface-elevated) 25%,transparent 25%),linear-gradient(-45deg,var(--surface-elevated) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--surface-elevated) 75%),linear-gradient(-45deg,transparent 75%,var(--surface-elevated) 75%);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px}.three-d-uv-canvas img{display:block;max-inline-size:100%;transform-origin:top left}.three-d-texture-map-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(8rem,1fr));grid-gap:.6rem;gap:.6rem}.three-d-texture-map-grid a{display:grid;grid-template-columns:3rem minmax(0,1fr) auto;align-items:center;grid-gap:.45rem;gap:.45rem;padding:.45rem;border:1px solid var(--line);border-radius:var(--radius);color:var(--text)}.three-d-texture-map-grid img{inline-size:3rem;block-size:3rem;object-fit:cover}.three-d-texture-map-grid span{display:grid;min-inline-size:0}.three-d-rig-controls{position:absolute;inset-inline:.75rem;inset-block-end:4.25rem;z-index:3;display:flex;align-items:end;gap:.55rem;padding:.55rem;border:1px solid var(--line);border-radius:var(--radius);background:color-mix(in srgb,var(--surface) 96%,transparent);box-shadow:0 .75rem 2rem rgb(0 0 0/.28);overflow-x:auto}.three-d-rig-controls>label:not(.checkbox-row){display:grid;grid-gap:.2rem;gap:.2rem;min-inline-size:7rem;font-size:.72rem}.three-d-rig-controls>span{flex:1 1 auto}.three-d-rig-controls>.checkbox-row{flex:0 0 auto;white-space:nowrap}.three-d-review-workflow-actions{display:grid;grid-gap:.45rem;gap:.45rem}.three-d-review-workflow-actions>.button.primary{inline-size:100%}.three-d-review-other-operations,.three-d-review-result-actions{display:grid;grid-gap:.4rem;gap:.4rem}.three-d-review-other-operations{-webkit-margin-before:.2rem;margin-block-start:.2rem}.three-d-confirm-summary,.three-d-review-summary-grid{display:grid;grid-gap:.5rem;gap:.5rem;margin:0}.three-d-review-summary-grid{grid-template-columns:1fr}.three-d-confirm-summary>div,.three-d-review-summary-grid>div{display:grid;grid-gap:.15rem;gap:.15rem;min-inline-size:0;padding:.55rem .65rem;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-muted)}.three-d-review-summary-grid>div{grid-template-columns:minmax(5.5rem,.8fr) minmax(0,1.2fr);align-items:start}.three-d-confirm-summary dt,.three-d-review-summary-grid dt{color:var(--muted);font-size:.72rem}.three-d-confirm-summary dd,.three-d-review-summary-grid dd{margin:0;overflow-wrap:anywhere}.three-d-review-inline-warning,.three-d-tpose-confirm{margin:0;padding:.65rem;border:1px solid color-mix(in srgb,var(--warning) 45%,var(--line));border-radius:var(--radius);background:color-mix(in srgb,var(--warning) 10%,transparent)}.three-d-operation-confirm-dialog{inline-size:min(calc(100vw - 2rem),32rem);text-align:start}.three-d-operation-confirm-dialog h2{text-align:start}.three-d-review-result-actions{-webkit-margin-before:.45rem;margin-block-start:.45rem;-webkit-padding-before:.75rem;padding-block-start:.75rem;-webkit-border-before:1px dashed var(--line);border-block-start:1px dashed var(--line)}.three-d-review-operation-list{display:grid;grid-gap:.4rem;gap:.4rem}.three-d-review-workflow-actions .three-d-review-chips button{padding:.2rem .45rem;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--muted);font-size:.72rem}@media (max-width:900px){.three-d-lineage{grid-template-columns:minmax(9rem,1fr) auto minmax(9rem,1fr)}.three-d-review-inspector{align-content:start}}:is(.guest-auth-card a:last-child,.top-nav-auth a:last-child,.home-credit-actions a:last-child){border-color:var(--brand-action-blue);background:color-mix(in srgb,var(--brand-action-blue) 18%,var(--surface));color:#dce9ff}:is(.mode.active,.create-button){border-color:transparent;background:linear-gradient(135deg,var(--brand-action-blue),var(--brand-action-purple));box-shadow:0 0 1.1rem var(--brand-action-shadow)}.prompt-composer{border-color:var(--brand-action-blue);box-shadow:0 0 0 1px var(--brand-action-purple),0 0 1.75rem var(--brand-action-shadow)}.home-experience-hero{background:linear-gradient(120deg,rgb(5 7 10/.92),rgb(12 15 22/.72)),radial-gradient(circle at 84% 22%,rgb(8 112 240/.22),transparent 28%),radial-gradient(circle at 68% 72%,rgb(128 112 240/.2),transparent 24%),#08090d}html[data-theme=light] .theme-logo-dark{display:none!important}html[data-theme=light] .theme-logo-light{display:block!important}.auth-logo .theme-logo{justify-self:center;inline-size:min(13.5rem,72%)}.profile-page{align-content:start}.profile-editor-card{grid-template-columns:auto minmax(0,1fr);align-items:start}.profile-editor-card .profile-avatar{align-self:start}.profile-editor-fields{display:grid;grid-gap:.45rem;gap:.45rem;min-inline-size:0}.profile-editor-actions{display:flex;grid-column:2;align-items:center;justify-content:flex-end;gap:.75rem}.profile-theme-select{min-inline-size:0}.profile-theme-select select{min-block-size:2.65rem;padding-inline:.75rem;border:1px solid color-mix(in srgb,var(--accent) 55%,var(--line));background:var(--surface);color:var(--text);font-weight:800}.studio-form{align-content:start;gap:.75rem;min-block-size:0}.studio-card{gap:.7rem;padding:.75rem}:is(.reference-dropzone,.reference-library-button){min-block-size:4.5rem}.studio-prompt{min-block-size:8rem}.settings-card{gap:.75rem}.studio-submit-area{-webkit-margin-before:0;margin-block-start:0}html[data-theme=light]{--brand-background:#fff;--brand-action-blue:#0870f0;--brand-action-purple:#8070f0;--brand-action-shadow:rgb(8 112 240/0.2);--ink-950:#e9edf7;--ink-900:#fff;--ink-800:#f4f6fb;--ink-700:#e6ebf5;--paper-50:#121936;--paper-100:#27335a;--teal-400:#0870f0;--lime-300:#8070f0;--surface:#fff;--surface-elevated:#f4f6fb;--surface-soft:#e6ebf5;--text:#121936;--muted:#58647e;--line:#cbd4e6;--accent:#0870f0;--accent-strong:#085ecb;--accent-contrast:#fff;--border:var(--line);--surface-muted:var(--surface-elevated);--shadow-lg:var(--shadow);--shadow:0 18px 48px rgb(26 48 92/0.12);background:#f6f8fc;color:var(--text);accent-color:var(--accent)}html[data-theme=light] .app-shell,html[data-theme=light] .main-panel,html[data-theme=light] .main-panel:has(.library-page),html[data-theme=light] .main-panel:has(.profile-page),html[data-theme=light] body{background:#f6f8fc;color:var(--text)}html[data-theme=light] .mobile-header,html[data-theme=light] .sidebar,html[data-theme=light] .top-nav{border-color:#d7deec;background:#fff;color:var(--text)}html[data-theme=light] :is(.sidebar-toggle,.square-button,.logout-button,.credit-pill,.user-row,.workspace-switcher,.guest-language-switcher,.guest-auth-card a,.top-nav-language,.top-nav-auth a){border-color:#cbd4e6;background:#f8f9fd;color:var(--text)}html[data-theme=light] :is(.nav-item,.lp-link){color:#27335a}html[data-theme=light] :is(.nav-item.active,.nav-item:hover,.lp-link:hover){background:color-mix(in srgb,var(--accent) 10%,#fff);color:var(--accent)}html[data-theme=light] .nav-item.active{border-color:color-mix(in srgb,var(--accent) 42%,#cbd4e6)}html[data-theme=light] .admin-sidebar-tree{border-color:#d7deec}html[data-theme=light] .admin-sidebar-group h2{color:var(--muted)}html[data-theme=light] .admin-sidebar-link{color:#58647e}html[data-theme=light] :is(.admin-sidebar-link:hover,.admin-sidebar-link.active){border-color:color-mix(in srgb,var(--accent) 42%,#cbd4e6);background:color-mix(in srgb,var(--accent) 10%,#fff);color:var(--accent)}html[data-theme=light] :is(.workspace-switcher select,.guest-language-switcher select,.top-nav-language select){border-color:#cbd4e6;background:#fff;color:var(--text)}html[data-theme=light] :is(.workspace-switcher span,.guest-language-switcher span,.user-row small,.top-nav-language){color:var(--muted)}html[data-theme=light] :is(.guest-auth-card a:last-child,.top-nav-auth a:last-child){border-color:var(--accent);background:color-mix(in srgb,var(--accent) 9%,#fff);color:var(--accent)}html[data-theme=light] .home-credit-actions a:last-child{background:color-mix(in srgb,var(--accent) 9%,#fff);color:var(--accent)}html[data-theme=light] :is(.panel,.asset-card,.stat,.models-tabs){border-color:var(--line);background:#fff}html[data-theme=light] .model-use-case-card.active{border-color:var(--accent);background:#eaf2ff;box-shadow:0 0 0 2px rgb(8 112 240/.2)}html[data-theme=light] .model-use-case-card.active .model-use-case-icon{background:#d9e9ff}html[data-theme=light] .models-access-choice{background:#fff}html[data-theme=light] .models-access-filter button{background:#f8faff}html[data-theme=light] .models-access-filter button.active{background:#e4efff;color:var(--accent-strong);font-weight:700}html[data-theme=light] .home-gallery-admin :is(.home-gallery-admin-header p,.admin-field small,.home-gallery-upload-preview-card small,.home-gallery-preview-panel>div:first-child small,.home-gallery-assets-help,.home-gallery-asset-card small,.home-gallery-asset-pager span,.home-gallery-asset-preview-header p){color:var(--muted)}html[data-theme=light] .home-gallery-admin .admin-field>span,html[data-theme=light] :is(.home-gallery-upload-preview>strong,.home-gallery-preview-panel>div:first-child strong,.home-gallery-upload-preview-card strong,.home-gallery-item-title-button,.home-gallery-asset-card strong,.home-gallery-asset-preview-header h2){color:var(--text)}html[data-theme=light] .home-gallery-tabs-section{border-color:var(--line)}html[data-theme=light] .home-gallery-tabs button{border-color:var(--line);background:#fff;color:var(--text)}html[data-theme=light] .home-gallery-tabs button.active{border-color:color-mix(in srgb,var(--accent) 48%,var(--line));background:color-mix(in srgb,var(--accent) 10%,#fff);color:var(--accent)}html[data-theme=light] .home-gallery-tabs small{color:var(--muted)}html[data-theme=light] .home-gallery-tabs button.active small{color:var(--accent)}html[data-theme=light] :is(.home-gallery-upload-preview,.home-gallery-admin-item,.home-gallery-asset-card){border-color:var(--line);background:#fff}html[data-theme=light] .home-gallery-preview-panel{border-color:color-mix(in srgb,var(--accent) 36%,var(--line));background:#f8faff}html[data-theme=light] :is(.home-gallery-upload-preview-card img,.home-gallery-upload-preview-card video,.home-gallery-admin-item img,.home-gallery-admin-item video,.home-gallery-asset-card img,.home-gallery-asset-card video){background:#eef2f8}html[data-theme=light] .home-gallery-item-title-button:hover{color:var(--accent)}html[data-theme=light] .home-gallery-asset-preview-dialog{box-shadow:0 1.5rem 4rem rgb(31 57 108/.18)}html[data-theme=light] :is(.home-gallery-asset-preview-dialog img,.home-gallery-asset-preview-dialog video){background:#eef2f8}html[data-theme=light] :is(.home-experience-hero,.mode-switch,.prompt-composer,.home-reference-panel,.studio-page,.studio-page-header){border-color:var(--line);background:#fff;color:var(--text);box-shadow:none}html[data-theme=light] :is(.home-hero-copy h1,.home-feature-body strong,.home-template-body h3,.home-gallery-card strong){color:var(--text)}html[data-theme=light] :is(.home-hero-copy p,.home-feature-body small,.home-template-body p,.home-gallery-card small,.home-credit-strip span){color:var(--muted)}html[data-theme=light] :is(.select-chip,.inspiration-button){border-color:var(--line);background:#fff;color:var(--text)}html[data-theme=light] :is(.field,.select,.textarea,input,select,textarea){border-color:var(--line);background-color:#fff;color:var(--text)}html[data-theme=light] option{background:#fff;color:var(--text)}html[data-theme=light] :is(.home-section,.home-credit-strip){border-color:var(--line);background:#fff;box-shadow:var(--shadow)}html[data-theme=light] .home-section-heading span{color:var(--brand-action-purple)}html[data-theme=light] .home-section-heading h2{color:var(--text)}html[data-theme=light] .home-cms-gallery-description{color:var(--muted)}html[data-theme=light] .home-coming-soon{border-color:var(--line);background:linear-gradient(135deg,rgb(8 112 240/.08),rgb(128 112 240/.08)),#f8faff;color:var(--text)}html[data-theme=light] :is(.home-feature-card,.home-template-card,.home-gallery-card,.home-cms-gallery-card){border-color:var(--line);background:#fff;color:var(--text)}html[data-theme=light] .home-feature-card:hover{border-color:color-mix(in srgb,var(--accent) 45%,var(--line));background:#f8faff}html[data-theme=light] .home-shortcut-card{border-color:var(--line);background:#fff;color:var(--text);box-shadow:var(--shadow)}html[data-theme=light] .home-shortcut-card:hover{border-color:color-mix(in srgb,var(--accent) 45%,var(--line));background:#f8faff}html[data-theme=light] :is(.home-shortcut-icon,.home-shortcut-thumbnail){background:#eef2fa;color:var(--accent)}html[data-theme=light] .home-shortcut-body strong{color:var(--text)}html[data-theme=light] .home-shortcut-body small{color:var(--muted)}html[data-theme=light] :is(.home-feature-icon,.home-template-visual,.home-gallery-visual,.status-pill,.home-template-category){background:#eef2fa;color:var(--text)}html[data-theme=light] :is(.home-template-cta,.home-model-readout){border-color:var(--line);background:#f8faff;color:var(--text)}html[data-theme=light] .home-template-cta:hover{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 8%,#fff)}html[data-theme=light] :is(.studio-control-panel,.studio-card,.settings-card){border-color:var(--line);background:#fff;color:var(--text)}html[data-theme=light] :is(.optional-pill,.reference-dropzone,.reference-library-button,.studio-select,.model-select-trigger,.count-options,.count-option.active){border-color:var(--line);background:#f4f6fb;color:var(--text)}html[data-theme=light] :is(.reference-dropzone,.reference-library-button):hover{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 8%,#fff)}html[data-theme=light] :is(.reference-count,.studio-note,.count-option){color:var(--muted)}html[data-theme=light] :is(.reference-preview,.studio-prompt,.library-picker,.model-select-popover,.prompt-mention-menu){border-color:var(--line);background:#fff;color:var(--text)}html[data-theme=light] :is(.studio-prompt::placeholder,.prompt-editor:empty:before){color:#7c879f}html[data-theme=light] .prompt-reference-chip{background:color-mix(in srgb,var(--accent) 14%,#fff);color:var(--accent)}html[data-theme=light] :is(.prompt-mention-menu button,.model-select-option,.library-picker-grid button){background:transparent;color:var(--text)}html[data-theme=light] :is(.prompt-mention-menu button.active,.prompt-mention-menu button:hover,.model-select-option.active,.model-select-option:hover,.model-select-option.selected){background:color-mix(in srgb,var(--accent) 10%,#fff)}html[data-theme=light] .library-picker-header-actions{color:var(--muted)}html[data-theme=light] .library-picker-header button{border-color:var(--line);background:#f4f6fb;color:var(--text)}html[data-theme=light] .library-picker-grid button.selected{border-color:var(--accent);box-shadow:0 0 0 2px rgb(8 112 240/.2)}html[data-theme=light] :is(.template-reference-video>img,.template-reference-video-empty,.template-face-input .button,.template-face-source-actions>.button,.template-admin-reference-image,.template-upload-preview-frame){border-color:var(--line);background:#f4f6fb;color:var(--text)}html[data-theme=light] .template-upload-preview-frame>figure img{background:#eef2f8}html[data-theme=light] :is(.library-picker-grid button.selected:after,.library-picker-grid button.attached:after){background:var(--accent);color:#fff}html[data-theme=light] .setting-row,html[data-theme=light] .studio-status{color:var(--text)}html[data-theme=light] .studio-showcase{background:#e6ebf5}html[data-theme=light] :is(.short-drama-story-card,.short-drama-step-panel,.short-drama-asset-section,.short-drama-asset-card){border-color:var(--line);background:#fff;color:var(--text)}html[data-theme=light] :is(.short-drama-summary-display,.short-drama-asset-title-display,.short-drama-asset-description-display,.short-drama-story-nav,.short-drama-prompt-toggle,.short-drama-asset-thumb){border-color:var(--line);background:#f4f6fb;color:var(--text)}html[data-theme=light] :is(.short-drama-step-panel h2,.short-drama-step-panel label,.short-drama-field-label,.short-drama-prompt-count){color:var(--text)}html[data-theme=light] .short-drama-step-panel label{color:var(--muted)}html[data-theme=light] .short-drama-story-nav button.active{background:color-mix(in srgb,var(--accent) 12%,#fff);color:var(--accent)}html[data-theme=light] .short-drama-credit-box{background:color-mix(in srgb,var(--accent) 13%,#fff);color:var(--accent)}html[data-theme=light] .short-drama-credit-box small{color:color-mix(in srgb,var(--accent) 78%,var(--text))}html[data-theme=light] .library-header h1{color:var(--text)}html[data-theme=light] :is(.library-view-toggle,.library-tabs){border-color:var(--line);background:#f4f6fb}html[data-theme=light] :is(.library-view-toggle button,.library-tabs button){color:var(--muted)}html[data-theme=light] :is(.library-view-toggle .active,.library-tabs .active){background:color-mix(in srgb,var(--accent) 14%,#fff);color:var(--accent)}html[data-theme=light] .library-select select{border-color:var(--line);background:#fff;color:var(--text)}html[data-theme=light] .library-toolbar{border-color:var(--line);background:#fff;box-shadow:0 8px 24px rgb(26 48 92/.06)}html[data-theme=light] :is(.library-search,.library-tag-filter,.library-card-tag-editor){border-color:var(--line);background:#f7f9fd;color:var(--text)}html[data-theme=light] .library-search input{background:transparent;color:var(--text)}html[data-theme=light] :is(.library-tag-filter legend,.library-card-tag-editor legend){background:#fff;color:var(--muted)}html[data-theme=light] .library-favorite,html[data-theme=light] .library-pagination{color:var(--text)}html[data-theme=light] :is(.library-card,.library-media,.library-card-meta,.library-empty-state){background:#fff}html[data-theme=light] .library-card{border:1px solid var(--line)}html[data-theme=light] .library-card-meta p{color:var(--text)}html[data-theme=light] :is(.library-card-meta div,.library-empty-state){color:var(--muted)}html[data-theme=light] .generation-result-panel{border-inline-start-color:var(--line);background:#f6f8fc;color:var(--text)}html[data-theme=light] :is(.image-history-tabs,.image-history-tabs button){border-color:var(--line);background:#f4f6fb;color:var(--muted)}html[data-theme=light] .image-history-tabs .active{background:color-mix(in srgb,var(--accent) 14%,#fff);color:var(--accent)}html[data-theme=light] :is(.image-history-favorite,.image-history-pagination,.generation-meta-row){color:var(--text)}html[data-theme=light] :is(.generation-kind-pill,.generation-chip-row span,.generation-actions button){border:1px solid var(--line);background:#f4f6fb;color:var(--text)}html[data-theme=light] .generation-prompt,html[data-theme=light] .generation-source-note{color:var(--muted)}html[data-theme=light] .generation-progress-panel{border-color:var(--line);background:#fff}html[data-theme=light] .generation-progress-label{color:var(--text)}html[data-theme=light] .generation-progress-track{background:#dce3f0}html[data-theme=light] :is(.generated-image-frame,.image-history-preview,.generation-empty-state){background:#eef2f8}html[data-theme=light] .generation-empty-state{color:var(--muted)}html[data-theme=light] .history-more-popover{border:1px solid var(--line);background:#fff;box-shadow:var(--shadow)}html[data-theme=light] :is(.prompt-history-table,.generation-comparison-dialog){border-color:var(--line);background:#fff;color:var(--text);box-shadow:var(--shadow)}html[data-theme=light] .generation-comparison-dialog>header{border-block-end-color:var(--line)}html[data-theme=light] .generation-comparison-status{background:var(--surface-soft);color:var(--muted)}html[data-theme=light] :is(.job-status-pill[data-state=succeeded],.job-status-pill[data-state=completed],.generation-status-pill[data-state=succeeded],.generation-progress-pill[data-tone=success]){background:#dcf7e7;color:#167044}html[data-theme=light] :is(.job-status-pill[data-state=failed],.generation-status-pill[data-state=failed],.generation-progress-pill[data-tone=danger]){background:#fee5e7;color:#bd273c}html[data-theme=light] :is(.job-status-pill[data-state=running],.job-status-pill[data-state=queued],.job-status-pill[data-state=retrying]){background:#e3ecff;color:var(--accent-strong)}html[data-theme=light] :is(.tools-page-header h1,.tools-section h2){color:var(--text)}html[data-theme=light] .tool-card{border-color:var(--line);background:#fff;box-shadow:var(--shadow)}html[data-theme=light] .tool-card-heading h3{color:var(--text)}html[data-theme=light] .tool-card p{color:var(--muted)}html[data-theme=light] .tool-card-tags span{background:#eef2fa;color:#314263}html[data-theme=light] .asset-preview-dialog{border-color:var(--line);background:#fff;box-shadow:var(--shadow)}html[data-theme=light] .asset-preview-header{border-block-end-color:var(--line)}html[data-theme=light] :is(.asset-preview-header h2,.asset-preview-detail h3,.asset-preview-detail dd){color:var(--text)}html[data-theme=light] .asset-preview-detail{border-inline-start-color:var(--line);background:#f8faff}html[data-theme=light] .asset-preview-detail dt{color:var(--muted)}html[data-theme=light] .button.danger{border-color:#dc2626;background:#fff;color:#b42318;font-weight:800}html[data-theme=light] .button.danger:hover:not(:disabled){background:#fef2f2}html[data-theme=light] .home-gallery-detail-dialog{border-color:var(--line);background:#fff;box-shadow:var(--shadow)}html[data-theme=light] .home-gallery-detail-header{border-block-end-color:var(--line)}html[data-theme=light] :is(.home-gallery-detail-header h2,.home-gallery-detail-panel h3,.home-gallery-detail-panel dd){color:var(--text)}html[data-theme=light] .home-gallery-detail-close{color:var(--muted)}html[data-theme=light] .home-gallery-detail-main{background:#fff}html[data-theme=light] .home-gallery-detail-side{border-inline-start-color:var(--line);background:#f8faff}html[data-theme=light] .home-gallery-detail-panel{border-color:var(--line);background:#fff}html[data-theme=light] .home-gallery-detail-panel p{background:#f4f6fb;color:var(--text)}html[data-theme=light] .home-gallery-detail-panel dt{color:var(--muted)}html[data-theme=light] .home-gallery-asset-preview-dialog{border-color:var(--line);background:#fff;box-shadow:var(--shadow)}html[data-theme=light] .home-gallery-asset-preview-header h2{color:var(--text)}html[data-theme=light] .home-gallery-asset-preview-header p{color:var(--muted)}html[data-theme=light] :is(.delete-confirm-dialog,.developer-api-key-dialog,.three-d-modal-dialog,.billing-plan-dialog){border-color:var(--line);background:#fff;color:var(--text);box-shadow:var(--shadow)}html[data-theme=light] :is(.delete-confirm-dialog p,.developer-api-key-dialog-summary,.billing-plan-dialog p){color:var(--muted)}html[data-theme=light] :is(.delete-confirm-dialog code,.developer-api-key-dialog code){border-color:var(--line);background:#f4f6fb;color:var(--text)}html[data-theme=light] .delete-confirm-actions button{border:1px solid var(--line);background:#f4f6fb;color:var(--text)}html[data-theme=light] .delete-confirm-actions button:last-child{border-color:#c93249;background:#d33c52;color:#fff}html[data-theme=light] .three-d-model-viewer{background:#dce5f4}html[data-theme=light] .three-d-viewer-mode-group{border-color:var(--line);background:rgb(255 255 255/.88)}html[data-theme=light] .three-d-viewer-mode-group button{color:var(--muted)}html[data-theme=light] :is(.three-d-viewer-mode-group button.active,.three-d-viewer-mode-group button:hover){background:color-mix(in srgb,var(--accent) 14%,#fff);color:var(--accent)}html[data-theme=light] .three-d-viewer-checker-button,html[data-theme=light] .three-d-viewer-toolbar .icon-button{border-color:var(--line);background:rgb(255 255 255/.9);color:var(--text)}html[data-theme=light] .three-d-viewer-checker-button:hover,html[data-theme=light] .three-d-viewer-toolbar .icon-button:hover{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,#fff)}html[data-theme=light] .three-d-viewer-checker-button.active{border-color:var(--accent);background:var(--accent);color:var(--accent-contrast)}html[data-theme=light] .three-d-viewer-stats{border-color:var(--line);background:rgb(255 255 255/.92);box-shadow:var(--shadow)}html[data-theme=light] .three-d-asset-menu-trigger{border-color:var(--line);background:rgb(255 255 255/.92);color:var(--text)}html[data-theme=light] .three-d-asset-action-menu{border-color:var(--line);background:#fff;box-shadow:var(--shadow)}html[data-theme=light] .three-d-asset-action-menu button{color:var(--text)}html[data-theme=light] .three-d-asset-action-menu button:hover{background:color-mix(in srgb,var(--accent) 9%,#fff)}html[data-theme=light] .three-d-asset-action-menu button.danger{color:#c93249}html[data-theme=light] .eraser-breadcrumb{color:var(--muted)}html[data-theme=light] .eraser-breadcrumb :is(a,strong){color:var(--text)}html[data-theme=light] :is(.eraser-upload-card,.eraser-step-grid article,.video-enhance-panel,.summer-magazine-intro){border-color:var(--line);background:#fff;color:var(--text);box-shadow:var(--shadow)}html[data-theme=light] :is(.eraser-upload-card h1,.eraser-steps h2,.eraser-step-grid h3,.video-enhance-panel h1,.summer-magazine-intro h1,.summer-magazine-create-row strong){color:var(--text)}html[data-theme=light] .eraser-brush-control{color:#17213c}html[data-theme=light] :is(.eraser-upload-card p,.eraser-step-grid p,.video-enhance-panel legend,.summer-magazine-intro p,.summer-magazine-create-row>span){color:var(--muted)}html[data-theme=light] .eraser-step-grid span{color:rgb(8 112 240/.18)}html[data-theme=light] :is(.eraser-stage,.video-enhance-segment,.video-face-fusion-inputs div,.video-face-fusion-face,.video-face-fusion-empty){border-color:var(--line);background:#f4f6fb;color:var(--text)}html[data-theme=light] .face-swap-person-card{border-color:var(--line);background:#f8faff}html[data-theme=light] .face-swap-person-card>label{border-color:var(--line);background:#fff}html[data-theme=light] .template-result-page .eraser-result-panel{border-color:var(--line);background:#fff;color:var(--text);box-shadow:var(--shadow)}html[data-theme=light] .template-result-page .eraser-result-header h1{color:var(--text)}html[data-theme=light] :is(.video-enhance-segment button,.video-face-fusion-inputs p){color:var(--muted)}html[data-theme=light] .video-enhance-segment button.selected{background:color-mix(in srgb,var(--accent) 14%,#fff);color:var(--accent)}html[data-theme=light] .summer-magazine-explanation{border-block-start-color:var(--line)}html[data-theme=light] .profile-page{color:var(--text)}html[data-theme=light] :is(.profile-card,.profile-dialog,.profile-withdraw-dialog){border-color:var(--line);background:#fff;color:var(--text);box-shadow:var(--shadow)}html[data-theme=light] :is(.profile-summary p,.profile-organization,.profile-count){color:var(--muted)}html[data-theme=light] .profile-edit-button{border-color:color-mix(in srgb,var(--accent) 42%,var(--line));background:color-mix(in srgb,var(--accent) 10%,#fff);color:var(--accent)}html[data-theme=light] .profile-danger-card{border-color:#efbdc6;background:#fff5f6;color:#501d28}html[data-theme=light] .profile-danger-card p{color:#9b4758}html[data-theme=light] .profile-security-card{border-color:var(--line);background:#fff;color:var(--text)}html[data-theme=light] .profile-security-card p{color:var(--muted)}html[data-theme=light] .profile-cancel-button,html[data-theme=light] .profile-dialog-header button{border-color:var(--line);background:#f4f6fb;color:var(--text)}html[data-theme=light] .profile-field{border:1px solid var(--line);background:#f4f6fb;color:var(--text)}html[data-theme=light] .profile-field span{color:var(--text)}html[data-theme=light] :is(.profile-field input,.profile-field select,.profile-field textarea){background:#fff;color:var(--text)}html[data-theme=light] .profile-field select option{background:#fff;color:var(--text)}html[data-theme=light] :is(.profile-field input,.profile-field textarea)::placeholder{color:#7c879f}html[data-theme=light] .auth-screen{background:radial-gradient(circle at 22% 18%,rgb(128 112 240/.16),transparent 24rem),radial-gradient(circle at 80% 32%,rgb(8 112 240/.14),transparent 28rem),#f6f8fc;color:var(--text)}html[data-theme=light] .auth-card{border-color:#d7deec;background:#fff;color:var(--text);box-shadow:0 1.5rem 4rem rgb(31 57 108/.14)}html[data-theme=light] :is(.auth-card h1,.auth-language,.auth-form label,.password-strength-header strong){color:var(--text)}html[data-theme=light] :is(.auth-lead,.auth-password-toggle,.password-strength-header,.password-guidance,.auth-check){color:var(--muted)}html[data-theme=light] :is(.auth-language select,.auth-form input){border-color:#cbd4e6;background:#fff;color:var(--text)}html[data-theme=light] :is(.auth-language select:focus,.auth-form input:focus){border-color:var(--accent);box-shadow:0 0 0 3px rgb(8 112 240/.16)}html[data-theme=light] :is(.auth-inline-link,.auth-text-button){color:var(--accent)}html[data-theme=light] .auth-secondary{border-color:#cbd4e6;background:#f4f6fb;color:var(--text)}html[data-theme=light] .auth-legal-dialog-backdrop{background:rgb(18 25 54/.32)}html[data-theme=light] .auth-legal-dialog{border-color:#cbd4e6;background:#fff;color:var(--text);box-shadow:0 1.5rem 4rem rgb(31 57 108/.2)}html[data-theme=light] .auth-legal-dialog-header{border-bottom-color:#d7deec}html[data-theme=light] .auth-legal-dialog-header h2{color:var(--text)}html[data-theme=light] .auth-legal-dialog-close{border-color:#cbd4e6;background:#f4f6fb;color:var(--text)}html[data-theme=light] .auth-legal-dialog-close:focus-visible,html[data-theme=light] .auth-legal-dialog-close:hover{border-color:var(--accent);background:#e8f1ff}html[data-theme=light] .three-d-page label.three-d-multiview-tile:not(.filled){border-color:#bfd0eb;background:#fbfcff}html[data-theme=light] .three-d-page label.three-d-multiview-tile:not(.filled) span{border-color:#b9d4f7;background:#eaf4ff;color:#1a4d8d}html[data-theme=light] .three-d-page label.three-d-multiview-tile:not(.filled) small{border-color:#d3e2f5;background:#fff;color:#52617a}html[data-theme=light] .three-d-page label.three-d-multiview-tile:not(.filled):hover{border-color:var(--accent);background:#f3f8ff;box-shadow:0 0 0 3px rgb(8 112 240/.12)}@media (max-width:700px){.profile-editor-card{grid-template-columns:1fr}.profile-editor-card .profile-avatar{justify-self:center}.profile-editor-actions{grid-column:auto;justify-content:stretch}.profile-editor-actions :is(.profile-cancel-button,.profile-save-button){flex:1 1}}.smart-erase-area-list,.smart-erase-settings,.smart-erase-subtitles{display:grid;grid-gap:16px;gap:16px}.smart-erase-settings+.smart-erase-area-list{-webkit-margin-before:20px;margin-block-start:20px}.smart-erase-input-requirements{margin:0;color:var(--muted);font-size:13px}.smart-erase-settings fieldset{margin:0;border:0;padding:0}.smart-erase-area-list strong,.smart-erase-settings legend{color:var(--text);font-weight:700}.smart-erase-choice{display:flex;flex-wrap:wrap;gap:8px;-webkit-margin-before:7px;margin-block-start:7px}.smart-erase-area-list>div,.smart-erase-choice label{border:1px solid var(--border);border-radius:10px;background:color-mix(in srgb,var(--panel) 86%,transparent);padding:8px 10px}.smart-erase-choice label{display:inline-flex;align-items:center;gap:6px;cursor:pointer}.smart-erase-preview{position:relative;overflow:hidden}.smart-erase-preview.is-selecting{cursor:default}.smart-erase-preview.is-selecting video{cursor:crosshair;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.smart-erase-selection-media{position:relative;display:inline-grid;place-self:center;max-inline-size:100%}.smart-erase-selection-layer{position:absolute;inset:0;z-index:2;cursor:crosshair;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.smart-erase-area{position:absolute;z-index:3;box-sizing:border-box;border:2px solid #ffb000;background:rgb(255 176 0/.2);color:#1d1300;font-size:12px;font-style:normal;font-weight:800;line-height:20px;text-align:center;pointer-events:none}.smart-erase-area.is-drawing{border-style:dashed;background:rgb(59 130 246/.18);color:#fff}.smart-erase-area-help,.smart-erase-notice{color:var(--muted);font-size:13px}.smart-erase-empty{color:var(--muted);font-size:16px}.smart-erase-guide{display:grid;grid-gap:4px;gap:4px;margin:0;padding:10px 12px;-webkit-border-start:3px solid var(--accent);border-inline-start:3px solid var(--accent);border-radius:6px;background:color-mix(in srgb,var(--accent) 10%,transparent);color:var(--muted);font-size:13px;line-height:1.55}.smart-erase-guide strong{color:var(--text)}.smart-erase-notice{margin:14px;-webkit-border-start:3px solid #e39b00;border-inline-start:3px solid #e39b00;-webkit-padding-start:10px;padding-inline-start:10px}.smart-erase-area-list>div{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;grid-gap:8px;gap:8px}.smart-erase-area-list>div.is-whole-video{grid-template-columns:1fr auto;align-items:center}.smart-erase-area-list strong{grid-column:1/-1}.smart-erase-time-caption,.smart-erase-whole-video{color:var(--muted);font-size:12px}.smart-erase-time-caption{margin:8px 0 0}.smart-erase-area-list label{display:grid;grid-gap:4px;gap:4px;color:var(--muted);font-size:12px}.smart-erase-area-list input,.smart-erase-settings select{min-inline-size:0;border:1px solid var(--border);border-radius:8px;background:var(--panel);color:var(--text);padding:7px}.smart-erase-subtitles{margin:16px}.smart-erase-subtitles h2{margin:0;font-size:16px}.smart-erase-subtitles a{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--border);border-radius:8px;color:var(--accent);padding:9px 11px}html[data-theme=light] :is(.smart-erase-choice label,.smart-erase-area-list>div){background:#f7f9fd}html[data-theme=light] .partial-edit-prompt{color:#17213c}html[data-theme=light] .ai-image-edit-toggle small,html[data-theme=light] .partial-edit-prompt small{color:#52617a}html[data-theme=light] .partial-edit-prompt textarea{border-color:#c5d2e8;background:#fff;color:#17213c}html[data-theme=light] .partial-edit-prompt textarea::placeholder{color:#5d6b82}html[data-theme=light] .ai-image-edit-toggle{border-color:#c5d2e8;background:#eef3fb;color:#17213c}html[data-theme=light] .ai-image-edit-toggle strong{color:#17213c}html[data-theme=light] .ai-image-edit-toggle input[type=checkbox]{-webkit-appearance:none;-moz-appearance:none;appearance:none;inline-size:1.25rem;block-size:1.25rem;margin:.1rem 0 0;border:2px solid #71819a;border-radius:.25rem;background:#fff;cursor:pointer;display:grid;place-content:center}html[data-theme=light] .ai-image-edit-toggle input[type=checkbox]:checked{border-color:#0870f0;background:#0870f0}html[data-theme=light] .ai-image-edit-toggle input[type=checkbox]:checked:after{display:block;color:#fff;content:"✓";font-size:.95rem;font-weight:900;line-height:1rem;text-align:center}