/* Approved user reference: cool luminous surfaces, ink-blue type, indigo actions. */
:root[data-unvstar-ui]{--obs-bg:#f2f6ff!important;--obs-sidebar:#f8faff!important;--obs-surface:#ffffffd9!important;--obs-raised:#eaf0ff!important;--obs-inset:#f3f6fc!important;--obs-ink:#14244c!important;--obs-sub:#677a9e!important;--obs-faint:#95a4bd!important;--obs-line:#e7edf8!important;--obs-line-strong:#d9e3f5!important;--obs-accent:#4535ff!important;--obs-tint:#eaf0ff!important;--bg:#f2f6ff!important;--ink:#14244c!important;--ink-2:#253860!important;--sub:#677a9e!important;--muted:#677a9e!important;--faint:#95a4bd!important;--brand:#4535ff!important;--brand-light:#eaf0ff!important;--green-btn:#4535ff!important;--green-btn-ink:#fff!important;--grad:linear-gradient(100deg,#4930ff,#4c7bff)!important;--grad-p:var(--grad)!important;--fs-bg:#f2f6ff;--fs-panel:#ffffffd9;--fs-line:#e4ebf8;--fs-ink:#14244c;--fs-sub:#677a9e}
html[data-unvstar-ui] body{background:radial-gradient(ellipse at 81% 0%,#e5ddff94,transparent 35%),radial-gradient(ellipse at 18% 16%,#e2f0ff9c,transparent 40%),linear-gradient(125deg,#f7faff,#edf3ff 56%,#f7f9ff)!important;color:#14244c!important;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif!important}
html[data-unvstar-ui] :is(.ec-col,.dr-col){background:transparent!important}
html[data-unvstar-ui] :is(.ec-rail,.dr-rail,#navMenu){background:#f9fbffed!important;border-right:1px solid #ffffffcc!important}
html[data-unvstar-ui] :is(.ec-top,.dr-top,.fs-topbar,.nav){background:transparent!important;border-bottom:0!important;box-shadow:none!important}
html[data-unvstar-ui] :is(.brand h1,.brandtext strong){color:#162750!important;font-size:18px!important;letter-spacing:.4px!important;font-weight:650!important}
html[data-unvstar-ui] :is(.brandtext small,.brand h1::after){color:#5e74a4!important;font-size:8px!important;letter-spacing:2px!important}
html[data-unvstar-ui] :is(.brandmark,.logo){background:linear-gradient(145deg,#7bdcf4,#583cff 55%,#568bff)!important;color:#fff!important;border-radius:11px!important;box-shadow:0 5px 18px #5755f51a!important}
html[data-unvstar-ui] :is(.ec-nav,.dr-nav,#navMenu>button,#navMenu>a,.fx-global-nav a){color:#34496d!important;font-size:13px!important;font-weight:500!important;border:0!important;border-radius:12px!important}
html[data-unvstar-ui] :is(.ec-nav.on,.dr-nav.on,.fs-nav.active,#navMenu>button.active,.fx-global-nav a[aria-current=page]){background:#e8eeff!important;color:#4032ff!important;border:0!important;box-shadow:none!important}
html[data-unvstar-ui] :is(.ec-nav svg,.dr-nav svg,.obs-nav-icon,.fx-global-nav svg){width:19px!important;height:19px!important;stroke-width:1.7}
html[data-unvstar-ui] :is(.ec-projcard,.dr-projcard){background:#ffffff96!important;border:1px solid #ffffffb8!important;border-radius:14px!important;padding:13px!important;box-shadow:0 3px 20px #6b8ec906!important}
html[data-unvstar-ui] :is(.ec-title,.dr-title,.fs-heading h1,.fs-home-title h1,.ec-h1,.hero h2,.obs-skill-heading h2){color:#14244c!important;letter-spacing:-.6px!important;font-weight:650!important}
html[data-unvstar-ui] :is(.card,.fs-panel,.uc-card,.uc-main,.uc-menu,.ec-insp,.dr-insp,.obs-skill-composer,.obs-skill-settings>.rp-sec,.auth-card){background:#ffffffd9!important;border:1px solid #ffffffc7!important;border-radius:20px!important;box-shadow:0 7px 32px #6d89ba05!important}
html[data-unvstar-ui] :is(.card-h,.ec-insp-h,.dr-insp-h){border-bottom:1px solid #edf1fa!important;padding:22px 24px!important;background:transparent!important}
html[data-unvstar-ui] :is(.card-h h3,.card h4,.ec-insp-h,.dr-insp-h,.side-head){font-size:14px!important;font-weight:600!important;color:#1b2d54!important}
html[data-unvstar-ui] :is(.ec-page,.dr-page){padding:28px 30px 24px!important;gap:22px!important}
html[data-unvstar-ui] :is(.ec-steps,.dr-steps){padding:12px 16px!important;border:1px solid #ffffff96!important;border-radius:17px!important;background:#ffffff8f!important;gap:10px!important}
html[data-unvstar-ui] :is(.ec-node,.dr-step){padding:7px 4px!important;border:0!important;background:transparent!important;border-radius:0!important;color:#7d91b7!important;position:relative;gap:10px!important}
html[data-unvstar-ui] :is(.ec-node.on,.dr-step.on,.dr-step.run){background:none!important;color:#14244c!important;border:0!important}
html[data-unvstar-ui] :is(.ec-node .dot,.dr-step i){background:#e9eefb!important;color:#7e92b8!important;width:28px!important;height:28px!important;border-radius:50%!important;border:0!important;font-size:11px!important}
html[data-unvstar-ui] :is(.ec-node.on .dot,.dr-step.on i,.dr-step.run i){background:linear-gradient(135deg,#4030ff,#647aff)!important;color:#fff!important}
html[data-unvstar-ui] :is(.ec-node b,.dr-step b){font-size:12px!important;font-weight:500!important}
html[data-unvstar-ui] :is(.ec-node,.dr-step):not(:last-child)::after{content:'';width:24px;height:1px;background:#dfe6f9;margin-left:auto}
html[data-unvstar-ui] :is(.ec-node.done,.dr-step.done){color:#4f6cc4!important}
html[data-unvstar-ui] :is(.btn-primary,.btn-purple,.ec-run,.dr-run,.auth-submit,.uc-save,.cm-send,.fs-btn.primary,#vidGenBtn,#imgGenBtn,.chat-input .send-btn){background:linear-gradient(100deg,#4930ff,#4b7bff)!important;color:#fff!important;border:0!important;border-radius:22px!important;box-shadow:none!important}
html[data-unvstar-ui] :is(.btn,.fs-btn,.auth-btn){border-radius:20px!important;font-size:12px!important}
html[data-unvstar-ui] :is(.btn:not(.btn-primary):not(.btn-purple),.fs-btn:not(.primary),.code-btn){background:#ffffffb5!important;border:1px solid #e1e8fa!important;color:#344c79!important}
html[data-unvstar-ui] :is(.ec-studio,.dr-studio){gap:22px!important}
html[data-unvstar-ui] :is(.fld>label,.auth-field label,.uc-form label,.fs-field){color:#263d69!important;font-size:12px!important;font-weight:500!important}
html[data-unvstar-ui] :is(.fld input,.fld textarea,.fld select,.auth-input,.cm-input,.fs-field input,.fs-field textarea,.fs-field select){background:#f6f8fd!important;border:1px solid #e2e9f8!important;border-radius:11px!important;color:#29406b!important}
html[data-unvstar-ui] :is(input,textarea)::placeholder{color:#9aa9c3!important}
html[data-unvstar-ui] :is(.drop,.cm-box){background:#f8faff91!important;border:1px dashed #dae5f7!important;border-radius:16px!important;color:#536f9f!important}
html[data-unvstar-ui] :is(.drop .dz,.ec-projcard .avatar,.dr-projcard .avatar){background:#edf2ff!important;color:#586cf3!important}
html[data-unvstar-ui] :is(.tag,.fs-status-tag,.uc-badge){background:#eaf0ff!important;color:#627bc1!important;border-radius:7px!important}
html[data-unvstar-ui] :is(.actbar,.nextbar){background:#ffffffdc!important;border:1px solid #ffffffb8!important;border-radius:18px!important;box-shadow:0 -5px 30px #899bc606!important}
html[data-unvstar-ui] :is(.obs-composer,.jm-inputbar,.chat-input,.fs-composer){background:#ffffffdc!important;border:1px solid #ffffffd9!important;border-radius:20px!important;box-shadow:0 10px 40px #9eb0d30b!important;backdrop-filter:blur(22px)}
html[data-unvstar-ui] :is(.obs-home-model-button,.obs-model-trigger,.obs-home-parameters>label,.jm-pf-pill,.cm-pill,.cm-at,.jm-at-btn){background:#f0f4ff!important;border:1px solid #e5ecfa!important;border-radius:18px!important;color:#4e6593!important}
html[data-unvstar-ui] :is(.obs-video-picker,.obs-home-model-pop,.obs-skill-pop,.cm-pop,.jm-pf-pop,.vid-at-pop,.pe-at-pop){background:#ffffffed!important;border:1px solid #e8edfc!important;border-radius:18px!important;box-shadow:0 14px 48px #647bba18!important}
html[data-unvstar-ui] :is(.obs-picker-results>button[aria-pressed=true],.obs-picker-body nav button[aria-pressed=true],.obs-home-model-option.selected){background:#eaf0ff!important;border-color:#d4ddff!important;color:#4934ff!important}
html[data-unvstar-ui] :is(.obs-compose-go,.chat-new-big){background:linear-gradient(100deg,#4930ff,#4b7bff)!important;color:#fff!important;border:0!important}
html[data-unvstar-ui] :is(.obs-create-switch,.obs-skill-heading nav,.auth-tabs,.ec-mode,.dr-mode,.src-switch){background:#e9effb!important;border:0!important;border-radius:20px!important}
html[data-unvstar-ui] :is(.obs-create-switch>span,.obs-skill-heading nav a[aria-current],.auth-tabs button.active,.ec-mode button.on,.dr-mode button.on,.src-switch button.on){background:#fff!important;color:#4535ff!important;border-radius:17px!important;box-shadow:0 2px 8px #536fad0b!important}
html[data-unvstar-ui] :is(.chat-main,.chat-rail){background:#ffffffb5!important;border:1px solid #ffffffc7!important;border-radius:20px!important}
html[data-unvstar-ui] .chat-head{background:none!important;border-bottom:0!important;padding:20px 24px!important}
html[data-unvstar-ui] .chat-head h3{color:#213961!important}.chat-sess2.active{background:#eaf0ff!important;border:1px solid #e2e8ff!important}.chat-sess2.active .cs-title{color:#4535ff!important}.chat-sess2 .cs-icon{background:transparent!important;color:#5b60ff!important}.chat-sess2 .cs-time{color:#95a5c3!important}.msg.ai .ava{background:#eaf0ff!important;color:#5843ff!important;border:0!important}.msg .bubble{color:#344a71!important}.msg.me .bubble{background:#dfe8ff!important;color:#2b3e70!important;border:0!important;border-radius:16px!important}
html[data-unvstar-ui] .chat-input{border:1px solid #ffffffdc!important;margin:0 24px 22px!important;padding:14px 18px!important}.chat-input #chatInput{font-size:14px!important}.chat-input .send-btn{width:38px!important;height:38px!important}
html[data-unvstar-ui] .chat-model-pick{background:#f4f7ff!important;border:1px solid #e4ebfa!important;border-radius:16px!important}.chat-model-pick .ms-name{color:#354c7a!important}.chat-model-pick .ms-sub{color:#8b9fbd!important}
html[data-unvstar-ui] :is(.fs-topbar,.fs-context){border-color:#e4ebf8!important;color:#61789d!important}
html[data-unvstar-ui] :is(.fs-shortcuts>button,.fs-note-card,.fs-feature,.fs-shot-card,.uc-meta,.uc-sum-cards .sc){background:#ffffffba!important;border:1px solid #ffffffdd!important;border-radius:18px!important;box-shadow:none!important}
html[data-unvstar-ui] :is(.fs-stats,.fs-stats>div,.fs-section-title,.fs-shot-list){border-color:#e3eafa!important}.fs-field{color:#425d8c!important}.fs-field input,.fs-field textarea,.fs-field select{background:#f7f9ff!important;color:#29466f!important}.fs-context select{background:#ffffffbd!important;color:#344e7b!important;border:1px solid #e3eafa!important;border-radius:12px!important}
html[data-unvstar-ui] :is(.uc-avatar,.uc-avatar-lg){background:linear-gradient(140deg,#e1e9ff,#bfceff)!important;color:#5265bb!important;border:1px solid #e4eaff!important}.uc-menu button.active{background:#eaf0ff!important;color:#4535ff!important}.uc-credits{background:#f4f7ff!important;border:1px solid #e7edfb!important}.uc-credits .num{color:#2e416d!important}.auth-right{background:#ffffffd9!important}.auth-left{background:#eff4ff!important}.auth-left::before{opacity:.2!important}.auth-left h2{color:#14244c!important}
html[data-unvstar-ui] :is(.drawer,.modal,.fs-dialog){background:#fafdfffa!important;border:1px solid #e2eafa!important;border-radius:20px!important;box-shadow:0 18px 60px #5a72ad1a!important}
html[data-unvstar-ui] .obs-motion-backdrop{background:transparent!important}.obs-motion-backdrop video{opacity:.13!important;filter:saturate(.7)!important}.obs-motion-backdrop::after{background:linear-gradient(180deg,#f4f7ff33,#f3f7ff7a 35%,#f2f6ff 98%)!important}.obs-motion-toggle{background:#ffffffa8!important;color:#7a8eb4!important;border-color:#e5ecfa!important}
html[data-unvstar-ui="main"] .obs-gallery>a{border-radius:18px!important;border:1px solid #ffffffa8!important}.obs-quick-skills a{background:#ffffffba!important;border:1px solid #e8eefc!important;color:#6077a1!important}
.fx-global-nav{display:flex;flex-direction:column;gap:5px;margin:0 0 18px;padding-bottom:18px;border-bottom:1px solid #e5edfb}.fx-global-nav a{display:flex;align-items:center;gap:12px;padding:11px 12px;text-decoration:none;font-size:13px;min-height:40px;box-sizing:border-box}.fx-global-nav svg{width:19px;height:19px;flex:none}.fx-preview{margin-bottom:20px;border-bottom:1px solid #e8eefb;padding-bottom:20px}.fx-preview-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.fx-preview-head h3{margin:0;font-size:15px;font-weight:600;color:#18335d}.fx-preview-image{width:100%;height:220px;object-fit:contain;border-radius:14px;background:#f3f7ff}.fx-preview-empty{height:180px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;border:1px dashed #dce6fa;background:#f8faff;border-radius:14px;color:#a1b1cf;font-size:12px}.fx-preview-empty svg{width:34px;height:34px;opacity:.6}.fx-preview-caption{font-size:10px;color:#90a2c1;margin-top:10px}.fx-preview[hidden]{display:none!important}
@media(min-width:1100px){html[data-unvstar-ui="ecom"] .ec-studio{grid-template-columns:minmax(0,1fr) 38%!important}html[data-unvstar-ui="ecom"] .newrow>.card:has(#ecProduct){display:block!important}html[data-unvstar-ui="ecom"] .newrow>.card:has(#ecProduct)>.fld{margin-top:18px!important}html[data-unvstar-ui="ecom"] .newrow>.card:has(#ecProduct) .drop{min-height:170px!important}html[data-unvstar-ui="ecom"] .newrow>.card:has(#ecProduct)>.card-h{margin-bottom:18px!important}}
@media(max-width:1000px){.fx-preview-image{height:180px}.fx-global-nav{gap:3px}.fx-global-nav a{font-size:12px;padding:9px 10px}.dr-step::after,.ec-node::after{display:none!important}}
@media(max-width:768px){html[data-unvstar-ui] :is(.ec-page,.dr-page){padding:18px 14px!important;gap:16px!important}html[data-unvstar-ui] :is(.card-h,.ec-insp-h,.dr-insp-h){padding:17px!important}.fx-global-nav{flex-direction:row;flex-wrap:wrap;width:100%;padding:0 0 10px;margin:0 0 8px;gap:3px}.fx-global-nav a{min-height:32px;font-size:10px;padding:7px 8px;gap:5px}.fx-global-nav svg{width:14px!important;height:14px!important}.fx-preview-image{height:190px}.fx-preview-empty{height:140px}}
html[data-unvstar-ui] :is(.ec-rail,.dr-rail){overflow-y:auto;scrollbar-width:thin;scrollbar-color:#e0e8fa transparent}
html[data-unvstar-ui] :is(#ecName,#drTitle){color:#14244c!important;opacity:1!important;font-size:26px!important;font-weight:650!important}
html[data-unvstar-ui="ecom"] .ec-insp:has(.fx-preview){display:block!important;overflow-y:auto!important;min-height:0;height:100%;box-sizing:border-box}
html[data-unvstar-ui="ecom"] .ec-insp:has(.fx-preview)>.ec-insp-h{display:none!important}
html[data-unvstar-ui="ecom"] .ec-insp:has(.fx-preview)>.ec-insp-b{height:auto!important;overflow:visible!important;max-height:none!important;padding-top:0!important}
html[data-unvstar-ui="ecom"] .fx-preview{padding:24px 22px 20px;margin:0 0 6px;flex-shrink:0}
html[data-unvstar-ui="main"] .chat-head{gap:18px;justify-content:flex-start;position:relative}
html[data-unvstar-ui="main"] .chat-head #chatModelSel{width:220px;flex:0 0 auto;margin:0;border:0!important;background:#f7f9ff!important;border-radius:20px!important}
html[data-unvstar-ui="main"] .chat-head #chatModelSel .ms-main{padding:9px 14px!important}
html[data-unvstar-ui="main"] .chat-head #chatModelSel .ms-sub{display:none}
html[data-unvstar-ui="main"] .chat-head #chatModelSel .ms-drop{top:calc(100% + 8px)!important;bottom:auto!important;max-height:370px;width:310px;z-index:190;background:#fffffffa!important;border:1px solid #e1e9fa!important;border-radius:15px!important;box-shadow:0 14px 40px #6f85b21a!important}
html[data-unvstar-ui="main"] .chat-head .hint{display:none!important}
html[data-unvstar-ui="main"] .chat-head h3{font-size:12px!important;color:#8b9ebd!important}
html[data-unvstar-ui="main"] .chat-wrap{gap:18px!important}
html[data-unvstar-ui="main"] .chat-rail{padding:18px 14px!important}
html[data-unvstar-ui="main"] .chat-new-big{border-radius:20px!important;font-size:12px!important;padding:10px 14px!important}
html[data-unvstar-ui="main"] .chat-sessions{padding-top:20px!important}
html[data-unvstar-ui="main"] .chat-sess2{padding:14px 10px!important;border-radius:14px!important}
html[data-unvstar-ui="main"] .chat-sess2 .cs-title{font-size:12px!important;font-weight:500!important;color:#334e7b!important}
html[data-unvstar-ui="main"] .chat-input{min-height:74px;align-items:flex-end;padding:18px!important;border-radius:20px!important}
html[data-unvstar-ui="main"] #page-chat .msg-flow{max-width:100%;padding:26px 34px!important}
@media(max-width:768px){html[data-unvstar-ui="main"] .chat-head{flex-wrap:wrap;gap:8px}html[data-unvstar-ui="main"] .chat-head #chatModelSel{width:200px}html[data-unvstar-ui="main"] #page-chat .msg-flow{padding:18px!important}html[data-unvstar-ui] :is(.ec-rail,.dr-rail){overflow:visible;height:auto}html[data-unvstar-ui="ecom"] .ec-insp:has(.fx-preview){height:auto;overflow:visible!important}.fx-preview{padding:18px!important}}
@media(min-width:769px){html[data-unvstar-ui] :is(.ec-rail,.dr-rail){gap:3px;padding-top:20px!important}html[data-unvstar-ui] :is(.ec-nav,.dr-nav,.fs-nav){min-height:34px!important;height:auto!important;padding:8px 11px!important;font-size:12px!important}html[data-unvstar-ui] .fx-global-nav{gap:3px;margin-bottom:10px;padding-bottom:12px}html[data-unvstar-ui] .fx-global-nav a{min-height:34px;padding:8px 11px;font-size:12px!important}html[data-unvstar-ui] :is(.ec-projcard,.dr-projcard){margin-bottom:12px!important;padding:10px!important}.fs-nav-label{margin-top:10px!important;padding-top:0!important}}
html[data-unvstar-ui="main"] .chat-head #chatModelSel .ms-main{border:0!important;box-shadow:none!important;background:transparent!important;border-radius:20px!important}
html[data-unvstar-ui="main"] #chatModelSel .ms-arrow{border-color:#7e90c3!important}
html[data-unvstar-ui="ecom"] .fx-preview-empty[hidden]{display:none!important}
html[data-unvstar-ui="drama"]{--fs-bg:transparent!important;--fs-panel:#ffffffd9!important;--fs-line:#e4ebf8!important;--fs-text:#21385f!important;--fs-sub:#7e93b6!important;--fs-accent:#5143ff!important}
html[data-unvstar-ui="drama"] :is(.fs-composer-tabs,.fs-shortcuts,.fs-stats,.fs-panel,.fs-note-card){color:#29446f!important}
html[data-unvstar-ui="drama"] :is(.fs-composer-tabs>button,.fs-shortcuts b,.fs-stats b,.fs-panel h2,.fs-note-card h2){color:#29446f!important}
html[data-unvstar-ui="drama"] #drRail .fs-nav.on{background:#e8eeff!important;color:#4535ff!important}
html[data-unvstar-ui="drama"] .fs-composer-foot>button{background:linear-gradient(100deg,#4930ff,#4b7bff)!important;color:#fff!important}
/* Compact refinement: quieter surfaces and Mac-like control proportions. */
html[data-unvstar-ui] body{background:radial-gradient(ellipse at 80% 0,#e9e8fc55,transparent 40%),linear-gradient(125deg,#f8faff,#f2f5fb)!important}
html[data-unvstar-ui] :is(.card,.fs-panel,.uc-card,.uc-main,.uc-menu,.ec-insp,.dr-insp,.obs-skill-composer,.obs-skill-settings>.rp-sec,.auth-card,.chat-main,.chat-rail){border-radius:14px!important;border-color:#e8edf68c!important;box-shadow:0 3px 16px #667b9a03!important}
html[data-unvstar-ui] :is(.brand h1,.brandtext strong){font-size:16px!important;font-weight:600!important}
html[data-unvstar-ui] :is(.brandmark,.logo){width:30px!important;height:30px!important;border-radius:9px!important;box-shadow:none!important}
html[data-unvstar-ui] :is(.ec-title,.dr-title,#ecName,#drTitle){font-size:22px!important;font-weight:600!important;letter-spacing:-.5px!important}
html[data-unvstar-ui] :is(.ec-h1,.fs-heading h1,.fs-home-title h1,.obs-skill-heading h2){font-size:24px!important;font-weight:600!important}
html[data-unvstar-ui] :is(.ec-nav,.dr-nav,#navMenu>button,#navMenu>a,.fx-global-nav a){font-size:12px!important;border-radius:8px!important;font-weight:450!important}
html[data-unvstar-ui] :is(.ec-page,.dr-page){padding:22px 26px 18px!important;gap:17px!important}
html[data-unvstar-ui] :is(.ec-studio,.dr-studio){gap:18px!important}
html[data-unvstar-ui] :is(.card-h,.ec-insp-h,.dr-insp-h){padding:16px 18px!important}
html[data-unvstar-ui] :is(.card-h h3,.card h4,.ec-insp-h,.dr-insp-h,.side-head,.fx-preview-head h3){font-size:12px!important;font-weight:550!important}
html[data-unvstar-ui] .card-b{padding:18px!important}
html[data-unvstar-ui] :is(.ec-steps,.dr-steps){padding:9px 12px!important;border-radius:12px!important;gap:7px!important}
html[data-unvstar-ui] :is(.ec-node .dot,.dr-step i){width:23px!important;height:23px!important;font-size:10px!important}
html[data-unvstar-ui] :is(.ec-node b,.dr-step b){font-size:11px!important}
html[data-unvstar-ui] :is(.ec-node,.dr-step){padding:5px 3px!important;gap:7px!important;min-height:32px!important}
html[data-unvstar-ui] :is(.btn,.fs-btn,.auth-btn,.btn-primary,.btn-purple,.ec-run,.dr-run,.code-btn,.uc-save){font-size:11px!important;border-radius:8px!important;padding:8px 12px!important;font-weight:500!important}
html[data-unvstar-ui] :is(.btn-primary,.btn-purple,.ec-run,.dr-run,.auth-submit,.uc-save,.fs-btn.primary,#vidGenBtn,#imgGenBtn,.chat-input .send-btn){background:#4b55ed!important;border-radius:9px!important;box-shadow:none!important}
html[data-unvstar-ui] :is(.fld>label,.auth-field label,.uc-form label,.fs-field){font-size:11px!important;font-weight:500!important}
html[data-unvstar-ui] :is(.fld input,.fld select,.auth-input,.cm-input,.fs-field input,.fs-field select){font-size:12px!important;border-radius:8px!important;min-height:34px}
html[data-unvstar-ui] :is(.fld textarea,.fs-field textarea){font-size:12px!important;border-radius:9px!important;line-height:1.8!important}
html[data-unvstar-ui] :is(.obs-composer,.jm-inputbar,.chat-input,.fs-composer){border-radius:15px!important;border:1px solid #e3e8f2!important;background:#fffffff0!important;box-shadow:0 4px 20px #6e82a507!important}
html[data-unvstar-ui="main"] .obs-composer{padding:15px 18px 12px!important;max-width:900px!important}
html[data-unvstar-ui="main"] .obs-home-composer-head{margin-bottom:10px!important}
html[data-unvstar-ui="main"] .obs-composer textarea{min-height:78px!important;font-size:14px!important;line-height:1.8!important}
html[data-unvstar-ui] :is(.obs-home-model-button,.obs-model-trigger){font-size:11px!important;padding:7px 10px!important;border-radius:8px!important;min-width:0!important}
html[data-unvstar-ui] :is(.obs-home-parameters>label,.jm-pf-pill,.cm-pill,.cm-at,.jm-at-btn){border-radius:7px!important;font-size:10px!important;box-shadow:none!important}
html[data-unvstar-ui="main"] .obs-home-parameters>label{padding:5px 7px!important;font-size:11px!important}
html[data-unvstar-ui="main"] .obs-home-parameters select{font-size:12px!important}
html[data-unvstar-ui="main"] .obs-compose-tabs button{font-size:11px!important;padding:6px 8px!important}
html[data-unvstar-ui="main"] :is(.obs-skills,.obs-home-descriptions){font-size:10px!important}
html[data-unvstar-ui="main"] .obs-compose-go{width:32px!important;height:32px!important;font-size:21px!important;background:#4b55ed!important}
html[data-unvstar-ui="main"] .hero h2{font-size:30px!important;font-weight:550!important;letter-spacing:-.8px!important}
html[data-unvstar-ui="main"] .obs-create-switch{max-width:240px!important;margin:18px auto!important;font-size:12px!important;padding:3px!important}
html[data-unvstar-ui="main"] .obs-create-switch>:is(span,a){padding:9px 18px!important}
html[data-unvstar-ui="main"] :is(#page-image,#page-video) .jm-inputbar{max-width:900px!important;padding:15px 18px 12px!important}
html[data-unvstar-ui="main"] #page-video #vidPrompt{min-height:85px!important;font-size:13px!important}
html[data-unvstar-ui="main"] #page-video .jm-input-row{margin-top:13px!important;gap:12px!important}
html[data-unvstar-ui="main"] #page-video .jm-ref-box{width:54px!important;height:62px!important;border-radius:9px!important}
html[data-unvstar-ui="main"] #page-video .obs-video-toolbar{padding-top:10px!important;margin-top:10px!important;gap:10px!important}
html[data-unvstar-ui="main"] #page-video #vidGenBtn{min-width:84px!important;height:31px!important;font-size:11px!important}
html[data-unvstar-ui] :is(.obs-video-picker,.obs-home-model-pop,.obs-skill-pop,.cm-pop,.jm-pf-pop){border-radius:12px!important;box-shadow:0 10px 35px #53689714!important}
html[data-unvstar-ui] :is(.ec-mode,.dr-mode,.src-switch){border-radius:9px!important}
html[data-unvstar-ui] :is(.ec-mode button.on,.dr-mode button.on,.src-switch button.on){border-radius:6px!important}
html[data-unvstar-ui] :is(.actbar,.nextbar){padding:11px 16px!important;border-radius:12px!important}
html[data-unvstar-ui] .fx-preview{padding:18px 18px 16px!important}.fx-preview-image{height:190px!important}.fx-preview-empty{height:150px!important;border-radius:10px!important}
html[data-unvstar-ui] .drop{border-radius:11px!important}
html[data-unvstar-ui="drama"] .cm .cm-ta{min-height:135px!important;font-size:13px!important}
html[data-unvstar-ui="drama"] .cm .card-b{padding:16px!important}
html[data-unvstar-ui="drama"] .fs-content{padding:22px 30px 44px!important}
html[data-unvstar-ui="drama"] .fs-panel{padding:20px!important}
html[data-unvstar-ui="drama"] .fs-composer{padding:16px 18px!important}
html[data-unvstar-ui="drama"] .fs-composer textarea{min-height:105px!important;font-size:14px!important}
html[data-unvstar-ui="main"] .chat-head #chatModelSel{border-radius:10px!important;width:200px!important}
html[data-unvstar-ui="main"] .chat-input{min-height:60px!important;padding:12px 15px!important}
html[data-unvstar-ui="main"] .chat-new-big{font-size:11px!important;border-radius:9px!important;background:#4b55ed!important}
html[data-unvstar-ui="main"] .chat-sess2{padding:11px 9px!important;border-radius:10px!important}
@media(max-width:768px){html[data-unvstar-ui="main"] .hero h2{font-size:25px!important}html[data-unvstar-ui="main"] :is(.obs-composer textarea,#page-video #vidPrompt,#chatInput){font-size:16px!important}html[data-unvstar-ui] :is(.ec-page,.dr-page){padding:17px 14px!important;gap:14px!important}html[data-unvstar-ui] :is(.card-h,.card-b){padding:15px!important}html[data-unvstar-ui="drama"] .cm .cm-ta{font-size:16px!important}html[data-unvstar-ui] :is(.fld input,.fld textarea,.auth-input){font-size:16px!important}html[data-unvstar-ui="drama"] .fs-content{padding:18px 16px 35px!important}}
html[data-unvstar-ui="main"] #vidPromptMeta{display:none!important}
html[data-unvstar-ui="main"] .jm-flow>.empty-state::before{display:none!important}
html[data-unvstar-ui="main"] :is(#page-image,#page-video) .obs-model-trigger{border-radius:8px!important;padding:6px 9px!important;font-size:12px!important}
html[data-unvstar-ui="main"] :is(#page-image,#page-video) .jm-inputbar{max-width:860px!important}
html[data-unvstar-ui="main"] #page-video #vidPrompt{min-height:76px!important}
/* Portal popovers use viewport coordinates, outside filtered composer containers. */
html[data-unvstar-ui="main"] body>.obs-video-picker{position:fixed!important;z-index:400;box-sizing:border-box;overflow:hidden}
html[data-unvstar-ui="main"] #page-home{background:transparent!important;isolation:isolate}
html[data-unvstar-ui="main"] #page-home>.hero{background:transparent!important;position:relative;z-index:1}
html[data-unvstar-ui="main"] #page-home>.hero::before,html[data-unvstar-ui="main"] #page-home>.hero::after{content:none!important;background:none!important;display:none!important}
html[data-unvstar-ui="main"] #page-home>.obs-motion-backdrop{z-index:0!important;pointer-events:none;background:transparent!important}
html[data-unvstar-ui="main"] #page-home>.obs-inspiration,html[data-unvstar-ui="main"] #page-home>.obs-platform-info{position:relative;z-index:1}
html[data-unvstar-ui="main"] .obs-motion-backdrop video{opacity:.27!important}
html[data-unvstar-ui="main"] .obs-motion-backdrop::after{background:linear-gradient(180deg,#f4f7ff28,#f3f7ff55 45%,#f2f6ff 98%)!important}
html[data-unvstar-ui="main"] .obs-motion-toggle{z-index:2}
html[data-unvstar-ui="main"] :is(#page-image,#page-video) .obs-skill-pop{top:auto!important;bottom:calc(100% + 8px)!important;max-height:min(320px,60vh);overflow-y:auto}
/* Parameter states: persistent selection must remain distinct from hover. */
html[data-unvstar-ui="main"] .jm-params .seg .seg-item{background:transparent!important;color:#71809a!important;border:1px solid transparent!important;box-shadow:none!important;border-radius:6px!important;transition:background .12s,border-color .12s,color .12s}
html[data-unvstar-ui="main"] .jm-params .seg .seg-item:hover:not(.active){background:#edf1f8!important;border-color:#e0e6f0!important;color:#405477!important}
html[data-unvstar-ui="main"] .jm-params .seg .seg-item.active{background:#e5edff!important;color:#344be6!important;border:1px solid #9eaff8!important;font-weight:600!important;box-shadow:0 0 0 1px #9eaff814!important}
html[data-unvstar-ui="main"] :is(.jm-pf-pop,.dur-custom-pop) :is(.seg-item.active,.dc-num.active,.dc-num.sel){background:#e5edff!important;color:#344be6!important;border-color:#9eaff8!important;font-weight:600!important}
html[data-unvstar-ui="main"] .obs-compose-tabs button[aria-pressed=true]{background:#e5edff!important;color:#344be6!important;box-shadow:inset 0 0 0 1px #b5c3fa!important}
/* Paint-only selection: preserve the existing link positions and dimensions. */
html[data-unvstar-ui="main"] .obs-workspace-tabs a[aria-current=page]{background:#e5edff!important;color:#344be6!important;border-radius:4px!important;box-shadow:0 0 0 5px #e5edff!important}
html[data-unvstar-ui="main"] :is(#page-image,#page-video) .obs-workspace-toolbar{display:grid;gap:10px 12px;align-items:center;width:100%;box-sizing:border-box;margin-top:10px!important;padding-top:10px!important;border-top:1px solid #e2e7f0}
html[data-unvstar-ui="main"] #page-image .obs-workspace-toolbar{grid-template-columns:auto minmax(0,1fr)}
html[data-unvstar-ui="main"] :is(#page-image,#page-video) .obs-workspace-toolbar>.obs-workspace-tabs{position:static!important;inset:auto!important;display:flex;align-items:center;gap:12px;justify-self:start;align-self:start;margin:0;padding:7px 0;order:0}
html[data-unvstar-ui="main"] #page-image .obs-workspace-toolbar>.jm-params{margin:0!important;min-width:0;flex-wrap:wrap;align-items:center}
@media(max-width:1000px){html[data-unvstar-ui="main"] #page-image .obs-workspace-toolbar{grid-template-columns:minmax(0,1fr)}html[data-unvstar-ui="main"] :is(#page-image,#page-video) .obs-workspace-toolbar>.obs-workspace-tabs{grid-column:1 / -1}}
html[data-unvstar-ui="main"] :is(#vidSpecBtn,#vidDurBtn){background:#edf2ff!important;color:#4158b8!important;border-color:#ced9fa!important}
html[data-unvstar-ui="main"] :is(#vidSpecBtn,#vidDurBtn).on{background:#e5edff!important;border-color:#9eaff8!important;color:#344be6!important}
html[data-unvstar-ui="ecom"] :is(.seg,.chips) button.on,html[data-unvstar-ui="drama"] :is(.cm-segs,.seg) :is(button.on,.on){background:#e5edff!important;border-color:#9eaff8!important;color:#344be6!important;font-weight:600!important;box-shadow:inset 0 0 0 1px #9eaff8!important}
/* Readability and asynchronous task states. */
html[data-unvstar-ui="main"] :is(.obs-home-prompt-label,.obs-home-cost,.cost-hint,.jm-params .field>label,.obs-picker-results small){color:#5f708d!important}
html[data-unvstar-ui] :is(.side-row span,.ec-meta,.dr-meta,.fs-field){color:#6d809f!important}
html[data-unvstar-ui="main"] :is(.obs-composer textarea,.jm-prompt,#chatInput)::placeholder{color:#6d7b92!important}
html[data-unvstar-ui="main"] .task-card{border:1px solid #e0e6f1!important;border-radius:12px!important;background:#ffffffed!important;box-shadow:none!important;animation:none!important;transition:border-color .12s,background .12s}
html[data-unvstar-ui="main"] .task-card.sel{border:1px solid #7d92ef!important;background:#f1f5ff!important;box-shadow:inset 0 0 0 1px #7d92ef!important}
html[data-unvstar-ui="main"] .task-card[data-pending="1"]{border-color:#ccd9f5!important;background:#f7faff!important}
html[data-unvstar-ui="main"] .task-card[data-failed="1"]{border-color:#ebd1cd!important;background:#fffafa!important}
html[data-unvstar-ui="main"] .task-card[data-dead="1"]{border-color:#e1e4eb!important;background:#f7f8fa!important}
html[data-unvstar-ui="main"] .task-head{border-bottom-color:#edf0f6!important;gap:10px}
html[data-unvstar-ui="main"] .task-card :is(.th-model,.v-meta .t){color:#334969!important;font-weight:500!important;font-size:12px!important}
html[data-unvstar-ui="main"] .task-card :is(.th-date,.v-meta .d,.prog-stage){color:#687a96!important;font-size:11px!important;line-height:1.7!important}
html[data-unvstar-ui="main"] .task-progress{background:#e7edf9!important;height:5px!important}
html[data-unvstar-ui="main"] .task-progress i{background:#657cdb!important}
html[data-unvstar-ui="main"] .task-card .vd-done{background:#edf4fb!important;color:#587caa!important;border:1px solid #dce8f5!important;font-size:9px!important;font-weight:500!important}
html[data-unvstar-ui="main"] #vidBatchDl{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
html[data-unvstar-ui="main"] #vidBatchDl :is(.dl-btn,.dl-ghost-btn){border-radius:8px!important;font-size:11px!important;min-height:32px!important;box-shadow:none!important}
html[data-unvstar-ui="main"] #vidBatchDl .dl-btn{background:#4b55ed!important;color:#fff!important;border-color:#4b55ed!important}
html[data-unvstar-ui="main"] #vidBatchDl .dl-ghost-btn{background:#fff!important;color:#627493!important;border:1px solid #e0e6f2!important}
html[data-unvstar-ui="main"] #vidBatchDl .danger{color:#b15e58!important}
html[data-unvstar-ui="main"] [role=radio]:focus-visible,html[data-unvstar-ui="main"] .task-card:focus-visible{outline:2px solid #7d92ef!important;outline-offset:3px!important}
html[data-unvstar-ui="main"] .task-card:is([data-pending="1"],[data-failed="1"]) .video-cell{background:#f1f5fc!important;min-height:160px;aspect-ratio:auto}
html[data-unvstar-ui="main"] .task-card:is([data-pending="1"],[data-failed="1"]) .thumb{background:none!important}
html[data-unvstar-ui="main"] .task-card:is([data-pending="1"],[data-failed="1"]) .v-meta{position:relative!important;background:none!important;color:#445b7b!important;padding:16px!important;width:100%;box-sizing:border-box;text-shadow:none}
html[data-unvstar-ui="main"] .task-card[data-failed="1"] .video-cell{background:#fff6f3!important}
html[data-unvstar-ui="main"] .task-card[data-failed="1"] .v-meta .d{opacity:1!important;color:#856660!important}
/* Explicit action colors override legacy theme transforms on nested text. */
html[data-unvstar-ui="main"] :is(.task-actions .dl-btn,#vidBatchDl .dl-btn,.task-card .reuse-btn.retry):not(:disabled){background:#4b55ed!important;color:#fff!important;border:1px solid #4b55ed!important;border-radius:8px!important;box-shadow:none!important}
html[data-unvstar-ui="main"] :is(.task-actions .dl-btn,#vidBatchDl .dl-btn,.task-card .reuse-btn.retry):not(:disabled) :is(span,svg){color:#fff!important}
html[data-unvstar-ui="main"] :is(.task-actions .dl-btn,#vidBatchDl .dl-btn):disabled{background:#edf0f5!important;color:#7b879b!important;border-color:#e1e6ef!important;opacity:1!important;cursor:not-allowed!important}
html[data-unvstar-ui="main"] .task-actions .dl-btn:disabled svg path{stroke:#7b879b!important}
html[data-unvstar-ui="main"] .task-card .reuse-btn:not(.retry){background:#f4f6fb!important;color:#526687!important;border:1px solid #dce3f0!important;border-radius:7px!important;font-weight:500!important}
html[data-unvstar-ui="main"] .task-card .task-cost.pending{background:#e8eeff!important;color:#4258b3!important;border:1px solid #d0dafa!important}
html[data-unvstar-ui] :is(button,a,input,textarea,select,[role=radio],[role=checkbox]):focus-visible{outline:2px solid #657ce1!important;outline-offset:3px!important}
@media(hover:none){html[data-unvstar-ui="main"] .task-img .dl{opacity:1!important}}
@media(max-width:768px){html[data-unvstar-ui="main"] #vidBatchDl :is(.dl-btn,.dl-ghost-btn){min-height:40px!important}html[data-unvstar-ui="main"] .task-actions .dl-btn{min-height:40px!important}html[data-unvstar-ui="main"] .obs-picker-results>button{min-height:44px!important}}
/* Retail price and reference capabilities share one compact model row. */
html[data-unvstar-ui="main"] .obs-price-option{display:grid!important;grid-template-columns:minmax(0,1fr) auto 12px;align-items:center;gap:10px!important;text-align:left}
html[data-unvstar-ui="main"] .obs-price-option .obs-model-copy{min-width:0}
html[data-unvstar-ui="main"] .obs-price-option .obs-model-copy>b{overflow-wrap:anywhere}
html[data-unvstar-ui="main"] .obs-price-option .obs-model-price-side{display:flex;flex-direction:column;align-items:flex-end;gap:4px;white-space:nowrap;flex-shrink:0}
html[data-unvstar-ui="main"] .obs-model-unit-price{display:flex;align-items:baseline;gap:4px;padding:5px 7px;border:1px solid #dce3ff;border-radius:7px;background:#eef2ff;color:#424ed5}
html[data-unvstar-ui="main"] .obs-model-unit-price strong{font-size:14px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.2}
html[data-unvstar-ui="main"] .obs-model-unit-price>span{font-size:10px;line-height:1.2;font-weight:500}
html[data-unvstar-ui="main"] .obs-price-option small.obs-model-price-tier{font-size:9px!important;color:#68758c!important;line-height:1.3}
html[data-unvstar-ui="main"] .obs-price-option[aria-pressed="true"] .obs-model-unit-price,html[data-unvstar-ui="main"] .obs-price-option.selected .obs-model-unit-price{border-color:#bec9ff;background:#e0e7ff;color:#343fc4}
html[data-unvstar-ui="main"] .obs-price-unknown{font-size:10px;color:#68758c}
html[data-unvstar-ui="main"] .obs-model-ref-types{display:flex;flex-wrap:wrap;gap:3px 7px;margin-top:5px;font-size:9px;line-height:1.5;color:#52627f}
html[data-unvstar-ui="main"] .obs-model-ref-types>span{display:inline-block;white-space:nowrap}
html[data-unvstar-ui="main"] .obs-home-ref-wrap{position:relative;flex-shrink:0}
html[data-unvstar-ui="main"] .obs-home-ref-menu{position:absolute;right:0;bottom:calc(100% + 10px);width:212px;max-width:calc(100vw - 32px);padding:5px;border:1px solid #e3e7ef;border-radius:12px;background:#fff;box-shadow:0 12px 36px #25375c1f;z-index:80}
html[data-unvstar-ui="main"] .obs-home-ref-menu[hidden]{display:none!important}
html[data-unvstar-ui="main"] .obs-home-ref-menu>button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:38px;padding:8px 9px;border:0;border-radius:7px;background:transparent;color:#253450;font-size:12px;text-align:left;cursor:pointer}
html[data-unvstar-ui="main"] .obs-home-ref-menu>button:hover,html[data-unvstar-ui="main"] .obs-home-ref-menu>button:focus-visible{background:#eef2ff;outline:2px solid transparent}
html[data-unvstar-ui="main"] .obs-home-ref-menu small{font-size:9px;color:#69778e}
@media(max-width:480px){html[data-unvstar-ui="main"] .obs-price-option{gap:6px!important}html[data-unvstar-ui="main"] .obs-model-unit-price{padding:5px}html[data-unvstar-ui="main"] .obs-model-unit-price strong{font-size:12px}html[data-unvstar-ui="main"] .obs-model-unit-price>span{font-size:9px}}
@media(max-width:480px){html[data-unvstar-ui="main"] .obs-picker-results .obs-price-option{grid-template-columns:minmax(0,1fr) 12px}html[data-unvstar-ui="main"] .obs-picker-results .obs-model-price-side{grid-column:1;grid-row:2;flex-direction:row;align-items:center;justify-content:flex-start;gap:6px}html[data-unvstar-ui="main"] .obs-picker-results .obs-price-option>i{grid-column:2;grid-row:1}}

/* Homepage atmosphere: no video, media fetch, canvas loop or interactive overlay. */
html[data-unvstar-ui="main"] #page-home>.obs-particle-light{
  position:absolute;inset:-64px 0 auto;height:720px;max-height:100%;z-index:0;
  overflow:hidden;pointer-events:none;user-select:none;
  background:radial-gradient(ellipse 44% 40% at 24% 24%,#ccdefb99,transparent 100%),
    radial-gradient(ellipse 38% 36% at 79% 28%,#ddceff8c,transparent 100%);
  -webkit-mask-image:linear-gradient(#000 60%,transparent);mask-image:linear-gradient(#000 60%,transparent);
}
html[data-unvstar-ui="main"] .obs-particle-light i{
  position:absolute;left:var(--x);top:var(--y);width:var(--size);height:var(--size);
  border-radius:50%;background:#8a9fe4;opacity:.6;box-shadow:0 0 7px 2px #91b1ff66;
  animation:obs-light-drift 12s ease-in-out infinite;animation-delay:var(--delay);
}
html[data-unvstar-ui="main"] .obs-particle-light i:nth-child(4n){background:#a08cdd}
html[data-unvstar-ui="main"] .obs-particle-light .obs-light-star{
  border-radius:0;background:linear-gradient(135deg,#88bcf8,#9b7ee1);
  clip-path:polygon(50% 0,61% 38%,100% 50%,61% 62%,50% 100%,39% 62%,0 50%,39% 38%);
  filter:drop-shadow(0 0 4px #aaa0f9);box-shadow:none;
}
.obs-light-orbit{position:absolute;inset:0;width:100%;height:520px;overflow:visible;opacity:.7}
.obs-orbit-glow{stroke-width:20;opacity:.5;filter:url(#obsOrbitGlow)}
.obs-orbit-line{stroke-width:1.4;opacity:.7;stroke-dasharray:6 20 180 36;animation:obs-orbit-pass 26s linear infinite}
.obs-orbit-secondary{stroke-width:.7;opacity:.35}
html[data-unvstar-ui="main"] #page-home>:not(.obs-particle-light){position:relative;z-index:1}
html[data-unvstar-ui="main"] #page-home .hero{background:transparent!important}
@keyframes obs-light-drift{0%,100%{transform:translate3d(0,0,0);opacity:.38}50%{transform:translate3d(var(--travel),-16px,0);opacity:.8}}
@keyframes obs-orbit-pass{to{stroke-dashoffset:-484}}
@media(max-width:640px){html[data-unvstar-ui="main"] .obs-particle-light i:nth-child(even){display:none}}
@media(prefers-reduced-motion:reduce){html[data-unvstar-ui="main"] .obs-particle-light i{animation:none;opacity:.6}.obs-orbit-line{animation:none}}
@media(forced-colors:active){html[data-unvstar-ui="main"] #page-home>.obs-particle-light{display:none}}
