/* UNIVERSE · pearl / plum / chartreuse. All live UI rules are theme-scoped. */
html[data-theme="universe"] {
 color-scheme:dark;
 --bg:#160f1d; --bg-soft:#211729;
 --panel:rgba(42,30,51,.93); --panel-solid:#291e32; --panel-alt:#35263e;
 --sidebar:#1d1425; --topbar:rgba(29,20,37,.94); --input:#211829;
 --text:#fcf3fa; --text-2:#dfcfe1; --muted:#baa6bf;
 --border:rgba(235,199,226,.16); --border-strong:rgba(237,174,213,.4);
 --accent:#e5a3cf; --accent-strong:#b16a9d; --accent-soft:rgba(231,159,207,.13); --accent-glow:rgba(198,107,166,.2);
 --accent-2:#d9f58d; --success:#b9df9a; --warning:#f3c895; --danger:#ff9baf;
 --shadow:0 16px 38px rgba(10,4,18,.32),0 3px 8px rgba(10,4,18,.2);
 --shadow-button:0 8px 20px rgba(155,81,131,.24);
 --logo-image:url("./assets/img/universe-orbit-mark.svg");
 --universe-pearl:#f5ddee; --universe-lime:#d9f58d;
}
html[data-theme="universe"] body {
 background:radial-gradient(ellipse at 92% 0%,#59344d66,transparent 52%),radial-gradient(ellipse at 10% 95%,#72814c12,transparent 42%),#160f1d;
 background-attachment:fixed;
 color:var(--text);
}
html[data-theme="universe"] .workspace { background:transparent; }
html[data-theme="universe"] .workspace::before {
 background-image:url("./assets/img/universe-orbits.svg");
 background-size:cover; background-position:center top; opacity:.9;
}
html[data-theme="universe"] .workspace::after {
 background:radial-gradient(ellipse at 80% 10%,#e6a4ce14,transparent 48%),radial-gradient(ellipse at 16% 84%,#d9f58d08,transparent 38%);
 animation:universe-light-breathe 18s ease-in-out infinite alternate;
}
html[data-theme="universe"] .sidebar {
 background:radial-gradient(ellipse at 0% 0%,#62405c40,transparent 45%),linear-gradient(175deg,#281b30,#1b1323 70%);
 border-right-color:#f2c7e125;
 box-shadow:12px 0 40px #0a051630,inset -1px 0 0 #f0c4e10a;
}
html[data-theme="universe"] .topbar {
 background:linear-gradient(110deg,#291b31f5,#201627f5 65%,#30242ef5);
 border-bottom-color:#e1afce30;
 box-shadow:0 7px 30px #10071b2b,inset 0 -1px 0 #f8dceb06;
 backdrop-filter:blur(14px);
}
html[data-theme="universe"] .brand-mark {
 background:var(--logo-image) center/contain no-repeat;
 border-color:transparent; border-radius:0; color:transparent; font-size:0;
 box-shadow:none; filter:drop-shadow(0 3px 8px #db97c13b);
}
html[data-theme="universe"] .brand-mark::after { content:none; }
html[data-theme="universe"] .brand-copy strong { color:var(--universe-pearl); text-shadow:0 2px 15px #d699c42b; }
html[data-theme="universe"] .brand-copy span { color:var(--muted); }
html[data-theme="universe"] :is(.metric-card,.panel,.offer-card,.vehicle-card,.document-row,.contact-card,.auction-card,.stat-card,.company-card,.finance-panel,.subscription-account-hero,.subscription-plan-card,.app-dialog,.market-control-dialog-shell,.missed-message-reminder-card,.kira-alert-settings-card) {
 background:linear-gradient(145deg,#f7d9ed08,transparent 42%),linear-gradient(165deg,#35263ef2,#261c30f7);
 border-color:var(--border);
 box-shadow:var(--shadow),inset 0 1px 0 #ffeafb12,inset 0 -1px 0 #10091850;
}
html[data-theme="universe"] :is(.offer-card,.vehicle-card,.company-card,.contact-card,.auction-card) {
 transition:border-color .22s ease,box-shadow .22s ease,background-color .22s ease;
}
html[data-theme="universe"] :is(.offer-card,.vehicle-card,.company-card,.contact-card,.auction-card):hover {
 border-color:#ecc1df66;
 box-shadow:0 20px 42px #0c051b59,0 3px 16px #d89dc21a,inset 0 1px 0 #fff0fa24;
}
html[data-theme="universe"] :is(.global-search,.profile-button,.language-switch,.icon-button,.mini-button,.button-secondary,.theme-card,.plan-chip,.sync-chip,.verification-card,.live-clock-open,.switch-row) {
 background:linear-gradient(160deg,#3a2b43,#2b2034);
 border-color:#e0b7d02b; color:var(--text-2);
 box-shadow:0 4px 12px #10071a26,inset 0 1px 0 #fae1f20c;
}
html[data-theme="universe"] :is(.field input,.field select,.field textarea,.ai-form input,.global-search input,.chat-compose input,.chat-compose textarea,.dock-compose input,.dock-compose textarea) {
 background:var(--input);color:var(--text);border-color:var(--border);
 box-shadow:inset 0 2px 6px #0d061928;
}
html[data-theme="universe"] ::placeholder { color:#b4a0ba; opacity:1; }
html[data-theme="universe"] :is(.global-search:focus-within,.field input:focus,.field select:focus,.field textarea:focus,.ai-form input:focus) {
 border-color:#d9f58d80;box-shadow:0 0 0 3px #d9f58d12,inset 0 1px 0 #fff5fc12;
}
html[data-theme="universe"] :is(button,a,input,select,textarea):focus-visible { outline:2px solid #d9f58d; outline-offset:3px; }
html[data-theme="universe"] .nav-item { color:#d7c4dc; }
html[data-theme="universe"] .nav-item:not(.active):hover {
 color:#fff2fb;background:linear-gradient(100deg,#e5a3cf13,#d9f58d05);border-color:#e2b2d32b;
 box-shadow:inset 2px 0 0 #e7b0d2;
}
html[data-theme="universe"] .nav-item.active {
 color:#24162b;background:linear-gradient(112deg,#f4ddec,#d8b5ce 68%,#c8d5a9);
 border-color:#fff1fc80; text-shadow:none;
 box-shadow:0 7px 20px #0e071d44,0 2px 12px #e1a6cb20,inset 0 1px 0 #fff8fcb3;
}
html[data-theme="universe"] .nav-item.active svg { color:#352039;filter:none; }
html[data-theme="universe"] .nav-item.active :is(.nav-count,.nav-dot) { background:#34223d;color:#eafaaf; }
html[data-theme="universe"] .admin-nav-group-toggle {
 background:linear-gradient(110deg,#37263e,#271d30);border-color:#ecc1df25;
 box-shadow:inset 0 1px 0 #fbe8f70c,0 5px 16px #10051c26;
}
html[data-theme="universe"] .admin-nav-group-icon { color:#edc4df;background:#e3a1ce12; }
html[data-theme="universe"] .button-primary {
 color:#27172a; background:linear-gradient(115deg,#f1d1e7,#deaccf 55%,#c9d6ae);
 border-color:#f6daed99;box-shadow:var(--shadow-button),inset 0 1px 0 #ffffff80,inset 0 -2px 0 #92527822;
 text-shadow:none;transition:filter .2s ease,box-shadow .2s ease;
}
html[data-theme="universe"] .button-primary:hover {
 color:#211326;filter:brightness(1.08);box-shadow:0 10px 25px #10041d4d,0 0 18px #e5a3cf24,inset 0 1px 0 #fff8fc99;
}
html[data-theme="universe"] .button-primary:active { box-shadow:inset 0 2px 8px #70496833; }
html[data-theme="universe"] :is(.button-secondary,.icon-button,.mini-button):hover { color:#f5e6f5;border-color:#d9f58d55;background:#403048; }
html[data-theme="universe"] .topbar-credit { color:#e4f6ac;text-shadow:0 0 14px #d9f58d20; }
html[data-theme="universe"] :is(.metric-icon,.stat-icon) { color:#e7b2d4;background:#e5a3cf14;border-color:#e5a3cf2e; }
html[data-theme="universe"] :is(.metric-card,.stat-card) strong { text-shadow:0 2px 12px #d5a9d11a; }
html[data-theme="universe"] .drawer { background:linear-gradient(160deg,#34253d,#211728 75%);border-color:#edc4df30;box-shadow:-20px 0 65px #0d041b70,inset 1px 0 0 #f7d9ed12; }
html[data-theme="universe"] :is(.drawer-head,.chat-pane-head,.chat-compose,.dock-head,.dock-compose) {
 background:linear-gradient(110deg,#35253e,#271b31);border-color:#e0b7d02b;
}
html[data-theme="universe"] :is(.conversation-list,.chat-pane,.dock-chat,.conversation-records) { background-color:#261b2f;border-color:#dfb4d12b; }
html[data-theme="universe"] .conversation-record { border-color:#dfb4d119; }
html[data-theme="universe"] .conversation-record.active { background:linear-gradient(110deg,#e2acc926,#d9f58d09);box-shadow:inset 3px 0 0 #d9f58d; }
html[data-theme="universe"] .chat-message:not(.user) p { background:#3b2b45;color:#f7e9f4;border-color:#edc4df30;box-shadow:0 5px 15px #11071926,inset 0 1px 0 #f8e2f10a; }
html[data-theme="universe"] .chat-message.user p { background:linear-gradient(135deg,#eed3e7,#d4b2cd);color:#2c1d32;border-color:#f6e0ee66;box-shadow:0 6px 18px #140b2040,inset 0 1px 0 #fff5fd66; }
html[data-theme="universe"] select :is(option,optgroup) { background:#2b1e35;color:#f9edf8; }
html[data-theme="universe"] select option:checked { background:#e2b5d2;color:#291c31; }
html[data-theme="universe"] :is(.global-search-results,.suggestion-menu,.kira-alert-settings-modal) { background:#2b1e35;border-color:#e7b6d83b; }
html[data-theme="universe"] :is(.finance-price-role,.subscription-code-card,.kl-ann-targets,.kl-ann-history article) { background:linear-gradient(150deg,#38263e,#2b2034);border-color:#e7b6d82e; }
html[data-theme="universe"] .ks-page { --ks-ink:#fcf3fa;--ks-muted:#baa6bf;--ks-line:#ecc1df2b;background:linear-gradient(160deg,#39223c,#23182d); }
html[data-theme="universe"] .ks-page :is(.ks-panel,.ks-filter,.ks-private-panel) { background:linear-gradient(150deg,#3c2944,#2a1d34);border-color:#e0b7d02b; }
html[data-theme="universe"] ::selection { color:#27192b;background:#d9f58d; }
html[data-theme="universe"] * { scrollbar-color:#a881a4 #24192e; }
html[data-theme="universe"] *::-webkit-scrollbar-thumb { background:linear-gradient(#c39bb8,#89688e);border:2px solid #24192e;border-radius:10px; }
html[data-theme="universe"] *::-webkit-scrollbar-track { background:#24192e; }
/* Only the Universe swatch changes when another theme is currently selected. */
.theme-preview.universe {
 background:radial-gradient(ellipse at 75% 20%,#efc7e15e,transparent 48%),linear-gradient(145deg,#4a304c,#211728 75%);
 color:#efc9e1;box-shadow:inset 0 1px 0 #fff1fa40,inset 0 0 20px #e2acc920;
}
.theme-preview.universe::after { width:46%;height:22px;right:-2px;bottom:10px;border:1px solid #d9f58d99;border-radius:50%;background:transparent;box-shadow:0 0 10px #e9bbd52b;transform:rotate(-28deg); }
.theme-preview.universe i { background:#30223d; }
.theme-preview.universe b { background:linear-gradient(90deg,#efd3e5,#d9f58d); }
.theme-preview.universe em { background:#c7a0bd; }
@keyframes universe-light-breathe { from { opacity:.3; } to { opacity:.85; } }
@media(max-width:900px) {
 html[data-theme="universe"] .workspace::before,html[data-theme="universe"] .workspace::after { left:0;background-position:65% top; }
 html[data-theme="universe"] .workspace::after { animation:none;opacity:.45; }
 html[data-theme="universe"] .topbar { backdrop-filter:none; }
}
@media(prefers-reduced-motion:reduce) {
 html[data-theme="universe"] .workspace::after { animation:none;opacity:.5; }
 html[data-theme="universe"] :is(.offer-card,.vehicle-card,.company-card,.contact-card,.auction-card,.button-primary) { transition:none; }
}
