/* ═══════════════════════════════════════════════════════════════
   SHROUD — Global Tema Sistemi
   ═══════════════════════════════════════════════════════════════ */

:root {
  --accent-rgb: 168, 85, 247;
  --crimson-rgb: 124, 58, 237;
  --ember-rgb: 192, 132, 252;
  --glow-hue: 280deg;
  --glow-filter: hue-rotate(var(--glow-hue, 280deg)) saturate(1.15);
}

/* ─── KOYU TEMALAR ────────────────────────────────────────── */

[data-theme="gold"] {
  --red: #F5A524;
  --crimson: #B86E00;
  --ember: #FFD166;
  --accent: #F5A524;
  --accent-light: #FFD166;
  --accent-rgb: 245, 165, 36;
  --crimson-rgb: 184, 110, 0;
  --ember-rgb: 255, 209, 102;
  --glow-hue: 38deg;
  --glow-filter: hue-rotate(38deg) saturate(1.15);
  --accent-glow: rgba(245, 165, 36, 0.35);
  --accent-dim: rgba(245, 165, 36, 0.10);
  --accent-border: rgba(245, 165, 36, 0.25);
  --line: rgba(255, 200, 120, 0.14);
  --line2: rgba(245, 165, 36, 0.32);
  --line-strong: rgba(245, 165, 36, 0.28);
  --panel: rgba(24, 17, 6, 0.72);
  --panel-solid: #181106;
  --raised: #241909;
  --bg: #080603;
  --bg2: #120D05;
  --bg-elevated: #140E05;
  --bg-card: rgba(22, 16, 7, 0.65);
  --bg-card-hover: rgba(34, 24, 9, 0.75);
  --surface: rgba(255, 200, 120, 0.035);
  --surface-hover: rgba(245, 165, 36, 0.08);
  --text: #FAF3E6;
  --text-2: #C2B299;
  --text-3: #85745B;
  --muted: #C2B299;
  --faint: #85745B;  --logo-filter: hue-rotate(125deg) saturate(1.35) brightness(1.08) drop-shadow(0 0 8px rgba(245, 165, 36, 0.55));
}

[data-theme="blue"] {
  --red: #3B9EFF;
  --crimson: #0A58CA;
  --ember: #7CC4FF;
  --accent: #3B9EFF;
  --accent-light: #7CC4FF;
  --accent-rgb: 59, 158, 255;
  --crimson-rgb: 10, 88, 202;
  --ember-rgb: 124, 196, 255;
  --glow-hue: 215deg;
  --glow-filter: hue-rotate(215deg) saturate(1.15);
  --accent-glow: rgba(59, 158, 255, 0.35);
  --accent-dim: rgba(59, 158, 255, 0.10);
  --accent-border: rgba(59, 158, 255, 0.25);
  --line: rgba(120, 180, 255, 0.14);
  --line2: rgba(59, 158, 255, 0.32);
  --line-strong: rgba(59, 158, 255, 0.28);
  --panel: rgba(8, 15, 28, 0.72);
  --panel-solid: #080F1C;
  --raised: #0E1B30;
  --bg: #03060B;
  --bg2: #060C16;
  --bg-elevated: #0A1322;
  --bg-card: rgba(10, 18, 34, 0.65);
  --bg-card-hover: rgba(16, 28, 52, 0.75);
  --surface: rgba(120, 180, 255, 0.035);
  --surface-hover: rgba(59, 158, 255, 0.08);
  --text: #EAF3FF;
  --text-2: #9CB4D4;
  --text-3: #5C7394;
  --muted: #9CB4D4;
  --faint: #5C7394;  --logo-filter: hue-rotate(295deg) saturate(1.2) brightness(1.05) drop-shadow(0 0 8px rgba(59, 158, 255, 0.55));
}

[data-theme="pink"] {
  --red: #FF4FA3;
  --crimson: #B81462;
  --ember: #FF8BC2;
  --accent: #FF4FA3;
  --accent-light: #FF8BC2;
  --accent-rgb: 255, 79, 163;
  --crimson-rgb: 184, 20, 98;
  --ember-rgb: 255, 139, 194;
  --glow-hue: 325deg;
  --glow-filter: hue-rotate(325deg) saturate(1.2);
  --accent-glow: rgba(255, 79, 163, 0.35);
  --accent-dim: rgba(255, 79, 163, 0.10);
  --accent-border: rgba(255, 79, 163, 0.25);
  --line: rgba(255, 140, 200, 0.14);
  --line2: rgba(255, 79, 163, 0.32);
  --line-strong: rgba(255, 79, 163, 0.28);
  --panel: rgba(26, 8, 18, 0.72);
  --panel-solid: #1A0812;
  --raised: #290D1D;
  --bg: #090307;
  --bg2: #13060E;
  --bg-elevated: #170811;
  --bg-card: rgba(24, 8, 18, 0.65);
  --bg-card-hover: rgba(38, 12, 28, 0.75);
  --surface: rgba(255, 140, 200, 0.035);
  --surface-hover: rgba(255, 79, 163, 0.08);
  --text: #FCEBF3;
  --text-2: #C9A3B6;
  --text-3: #876275;
  --muted: #C9A3B6;
  --faint: #876275;  --logo-filter: hue-rotate(45deg) saturate(1.25) brightness(1.05) drop-shadow(0 0 8px rgba(255, 79, 163, 0.55));
}

[data-theme="red"] {
  --red: #FF2D46;
  --crimson: #C8102E;
  --ember: #FF6B7D;
  --accent: #FF2D46;
  --accent-light: #FF6B7D;
  --accent-rgb: 255, 45, 70;
  --crimson-rgb: 200, 16, 46;
  --ember-rgb: 255, 107, 125;
  --glow-hue: 0deg;
  --glow-filter: hue-rotate(0deg) saturate(1.15);
  --accent-glow: rgba(255, 45, 70, 0.35);
  --accent-dim: rgba(255, 45, 70, 0.10);
  --accent-border: rgba(255, 45, 70, 0.25);
  --line: rgba(255, 110, 125, 0.14);
  --line2: rgba(255, 45, 70, 0.32);
  --line-strong: rgba(255, 45, 70, 0.28);
  --panel: rgba(24, 8, 11, 0.72);
  --panel-solid: #18080B;
  --raised: #260D12;
  --bg: #080304;
  --bg2: #120608;
  --bg-elevated: #16070A;
  --bg-card: rgba(24, 8, 11, 0.65);
  --bg-card-hover: rgba(38, 12, 17, 0.75);
  --surface: rgba(255, 110, 125, 0.035);
  --surface-hover: rgba(255, 45, 70, 0.08);
  --text: #FCECEE;
  --text-2: #C7A3A8;
  --text-3: #856267;
  --muted: #C7A3A8;
  --faint: #856267;  --logo-filter: hue-rotate(80deg) saturate(1.35) brightness(1.1) drop-shadow(0 0 8px rgba(255, 45, 70, 0.55));
}

[data-theme="emerald"] {
  --red: #10B981;
  --crimson: #047857;
  --ember: #6EE7B7;
  --accent: #10B981;
  --accent-light: #6EE7B7;
  --accent-rgb: 16, 185, 129;
  --crimson-rgb: 4, 120, 87;
  --ember-rgb: 110, 231, 183;
  --glow-hue: 145deg;
  --glow-filter: hue-rotate(145deg) saturate(1.15);
  --accent-glow: rgba(16, 185, 129, 0.35);
  --accent-dim: rgba(16, 185, 129, 0.10);
  --accent-border: rgba(16, 185, 129, 0.25);
  --line: rgba(110, 231, 183, 0.14);
  --line2: rgba(16, 185, 129, 0.32);
  --line-strong: rgba(16, 185, 129, 0.28);
  --panel: rgba(6, 22, 17, 0.72);
  --panel-solid: #061611;
  --raised: #0B261D;
  --bg: #020806;
  --bg2: #05110D;
  --bg-elevated: #071712;
  --bg-card: rgba(6, 22, 17, 0.65);
  --bg-card-hover: rgba(10, 36, 28, 0.75);
  --surface: rgba(110, 231, 183, 0.035);
  --surface-hover: rgba(16, 185, 129, 0.08);
  --text: #ECFDF5;
  --text-2: #99C2B2;
  --text-3: #5B8574;
  --muted: #99C2B2;
  --faint: #5B8574;  --logo-filter: hue-rotate(225deg) saturate(1.25) brightness(1.05) drop-shadow(0 0 8px rgba(16, 185, 129, 0.55));
}

[data-theme="cyan"] {
  --red: #06B6D4;
  --crimson: #0E7490;
  --ember: #67E8F9;
  --accent: #06B6D4;
  --accent-light: #67E8F9;
  --accent-rgb: 6, 182, 212;
  --crimson-rgb: 14, 116, 144;
  --ember-rgb: 103, 232, 249;
  --glow-hue: 185deg;
  --glow-filter: hue-rotate(185deg) saturate(1.15);
  --accent-glow: rgba(6, 182, 212, 0.35);
  --accent-dim: rgba(6, 182, 212, 0.10);
  --accent-border: rgba(6, 182, 212, 0.25);
  --line: rgba(103, 232, 249, 0.14);
  --line2: rgba(6, 182, 212, 0.32);
  --line-strong: rgba(6, 182, 212, 0.28);
  --panel: rgba(6, 20, 26, 0.72);
  --panel-solid: #06141A;
  --raised: #0A222B;
  --bg: #02070A;
  --bg2: #050F14;
  --bg-elevated: #07151C;
  --bg-card: rgba(6, 20, 26, 0.65);
  --bg-card-hover: rgba(10, 34, 43, 0.75);
  --surface: rgba(103, 232, 249, 0.035);
  --surface-hover: rgba(6, 182, 212, 0.08);
  --text: #ECFEFF;
  --text-2: #99BDC7;
  --text-3: #5B7D85;
  --muted: #99BDC7;
  --faint: #5B7D85;  --logo-filter: hue-rotate(265deg) saturate(1.25) brightness(1.05) drop-shadow(0 0 8px rgba(6, 182, 212, 0.55));
}

[data-theme="white"] {
  --red: #EAEAEA;
  --crimson: #8A8A8A;
  --ember: #FFFFFF;
  --accent: #EAEAEA;
  --accent-light: #FFFFFF;
  --accent-rgb: 234, 234, 234;
  --crimson-rgb: 138, 138, 138;
  --ember-rgb: 255, 255, 255;
  --glow-hue: 0deg;
  --glow-filter: grayscale(1) brightness(1.35);
  --accent-glow: rgba(255, 255, 255, 0.28);
  --accent-dim: rgba(255, 255, 255, 0.08);
  --accent-border: rgba(255, 255, 255, 0.22);
  --line: rgba(255, 255, 255, 0.13);
  --line2: rgba(255, 255, 255, 0.28);
  --line-strong: rgba(255, 255, 255, 0.26);
  --panel: rgba(16, 16, 18, 0.72);
  --panel-solid: #101012;
  --raised: #1A1A1E;
  --bg: #050506;
  --bg2: #0C0C0E;
  --bg-elevated: #121215;
  --bg-card: rgba(18, 18, 22, 0.65);
  --bg-card-hover: rgba(28, 28, 34, 0.75);
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --text: #F7F7F8;
  --text-2: #B0B0B6;
  --text-3: #6E6E75;
  --muted: #B0B0B6;
  --faint: #6E6E75;  --logo-filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

/* ─── AÇIK TEMALAR ────────────────────────────────────────── */

[data-theme="light-black"] {
  --red: #111113;
  --crimson: #27272A;
  --ember: #3F3F46;
  --accent: #111113;
  --accent-light: #3F3F46;
  --accent-rgb: 17, 17, 19;
  --crimson-rgb: 39, 39, 42;
  --ember-rgb: 63, 63, 70;
  --glow-hue: 0deg;
  --glow-filter: grayscale(1) invert(1) opacity(0.35);
  --accent-glow: rgba(17, 17, 19, 0.18);
  --accent-dim: rgba(17, 17, 19, 0.07);
  --accent-border: rgba(17, 17, 19, 0.24);
  --line: rgba(17, 17, 19, 0.12);
  --line2: rgba(17, 17, 19, 0.28);
  --line-strong: rgba(17, 17, 19, 0.24);
  --panel: rgba(255, 255, 255, 0.92);
  --panel-solid: #FFFFFF;
  --raised: #F4F4F6;
  --bg: #FFFFFF;
  --bg2: #F4F4F6;
  --bg-elevated: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.90);
  --bg-card-hover: rgba(244, 244, 246, 0.96);
  --surface: rgba(17, 17, 19, 0.04);
  --surface-hover: rgba(17, 17, 19, 0.08);
  --text: #0A0A0C;
  --text-2: #3F3F46;
  --text-3: #71717A;
  --muted: #3F3F46;
  --faint: #71717A;  --logo-filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.35));
}

[data-theme="light-pink"] {
  --red: #D9267A;
  --crimson: #9C1354;
  --ember: #FF4FA3;
  --accent: #D9267A;
  --accent-light: #FF4FA3;
  --accent-rgb: 217, 38, 122;
  --crimson-rgb: 156, 19, 84;
  --ember-rgb: 255, 79, 163;
  --glow-hue: 325deg;
  --glow-filter: hue-rotate(325deg) saturate(1.1) opacity(0.45);
  --accent-glow: rgba(217, 38, 122, 0.22);
  --accent-dim: rgba(217, 38, 122, 0.08);
  --accent-border: rgba(217, 38, 122, 0.26);
  --line: rgba(180, 30, 100, 0.14);
  --line2: rgba(217, 38, 122, 0.32);
  --line-strong: rgba(217, 38, 122, 0.28);
  --panel: rgba(255, 255, 255, 0.90);
  --panel-solid: #FFFFFF;
  --raised: #FCE8F1;
  --bg: #FDF7FA;
  --bg2: #F9ECF2;
  --bg-elevated: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: rgba(255, 240, 247, 0.95);
  --surface: rgba(217, 38, 122, 0.045);
  --surface-hover: rgba(217, 38, 122, 0.09);
  --text: #240916;
  --text-2: #6B3A52;
  --text-3: #9E6E85;
  --muted: #6B3A52;
  --faint: #9E6E85;  --logo-filter: hue-rotate(45deg) saturate(1.2) brightness(1.0) drop-shadow(0 0 6px rgba(217, 38, 122, 0.45));
}

[data-theme="light-blue"] {
  --red: #1D74E8;
  --crimson: #0A4AA6;
  --ember: #3B9EFF;
  --accent: #1D74E8;
  --accent-light: #3B9EFF;
  --accent-rgb: 29, 116, 232;
  --crimson-rgb: 10, 74, 166;
  --ember-rgb: 59, 158, 255;
  --glow-hue: 215deg;
  --glow-filter: hue-rotate(215deg) saturate(1.1) opacity(0.45);
  --accent-glow: rgba(29, 116, 232, 0.22);
  --accent-dim: rgba(29, 116, 232, 0.08);
  --accent-border: rgba(29, 116, 232, 0.26);
  --line: rgba(20, 90, 190, 0.14);
  --line2: rgba(29, 116, 232, 0.32);
  --line-strong: rgba(29, 116, 232, 0.28);
  --panel: rgba(255, 255, 255, 0.90);
  --panel-solid: #FFFFFF;
  --raised: #E6F0FC;
  --bg: #F5F9FE;
  --bg2: #EBF3FC;
  --bg-elevated: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: rgba(235, 244, 255, 0.95);
  --surface: rgba(29, 116, 232, 0.045);
  --surface-hover: rgba(29, 116, 232, 0.09);
  --text: #08182E;
  --text-2: #3B5578;
  --text-3: #728BA8;
  --muted: #3B5578;
  --faint: #728BA8;  --logo-filter: hue-rotate(295deg) saturate(1.2) brightness(1.0) drop-shadow(0 0 6px rgba(29, 116, 232, 0.45));
}

[data-theme="light-purple"] {
  --red: #7C3AED;
  --crimson: #5B21B6;
  --ember: #A855F7;
  --accent: #7C3AED;
  --accent-light: #A855F7;
  --accent-rgb: 124, 58, 237;
  --crimson-rgb: 91, 33, 182;
  --ember-rgb: 168, 85, 247;
  --glow-hue: 280deg;
  --glow-filter: hue-rotate(280deg) saturate(1.1) opacity(0.45);
  --accent-glow: rgba(124, 58, 237, 0.22);
  --accent-dim: rgba(124, 58, 237, 0.08);
  --accent-border: rgba(124, 58, 237, 0.26);
  --line: rgba(124, 58, 237, 0.14);
  --line2: rgba(124, 58, 237, 0.32);
  --line-strong: rgba(124, 58, 237, 0.28);
  --panel: rgba(255, 255, 255, 0.90);
  --panel-solid: #FFFFFF;
  --raised: #F1EAFC;
  --bg: #FAF7FE;
  --bg2: #F3EDFC;
  --bg-elevated: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: rgba(243, 237, 252, 0.95);
  --surface: rgba(124, 58, 237, 0.045);
  --surface-hover: rgba(124, 58, 237, 0.09);
  --text: #160A29;
  --text-2: #523D73;
  --text-3: #836FA3;
  --muted: #523D73;
  --faint: #836FA3;  --logo-filter: drop-shadow(0 0 6px rgba(124, 58, 237, 0.45));
}

/* ─── GLOW / DEKOR GÖRSELLERİ ────────────────────────────── */

img[src*="flare"],
img[src*="energy"],
img[src*=" streaks"],
img[src*="streaks"],
img[src*="smoke"],
img[src*="eclipse"],
img[src*="silhouette"] {
  filter: var(--glow-filter, hue-rotate(var(--glow-hue, 280deg)) saturate(1.15));
}

/* ─── AÇIK TEMA ORTAK DÜZELTMELERİ (GÖREV 2) ──────────────── */

[data-theme^="light-"] body {
  background: var(--bg) !important;
  color: var(--text) !important;
}

[data-theme^="light-"] .nav,
[data-theme^="light-"] header.nav,
[data-theme^="light-"] body > nav {
  background: rgba(255, 255, 255, 0.88) !important;
  border-bottom-color: var(--line) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

[data-theme^="light-"] .nav-in,
[data-theme^="light-"] .nav.solid .nav-in {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: var(--line2) !important;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1) !important;
}

[data-theme^="light-"] .navpill {
  background: rgba(0, 0, 0, 0.04) !important;
  border-color: var(--line) !important;
}

[data-theme^="light-"] .navpill a:hover,
[data-theme^="light-"] .navpill a.on {
  color: var(--text) !important;
  background: rgba(var(--accent-rgb), 0.12) !important;
}

[data-theme^="light-"] .btn-ghost,
[data-theme^="light-"] .rp-act-btn,
[data-theme^="light-"] .acct,
[data-theme^="light-"] .nav-toggle {
  background: rgba(0, 0, 0, 0.05) !important;
  color: var(--text) !important;
  border-color: var(--line2) !important;
  box-shadow: none !important;
}

[data-theme^="light-"] .btn-ghost:hover,
[data-theme^="light-"] .rp-act-btn:hover,
[data-theme^="light-"] .acct:hover {
  background: rgba(var(--accent-rgb), 0.10) !important;
  border-color: var(--red) !important;
  color: var(--text) !important;
}

[data-theme^="light-"] .btn-neon,
[data-theme^="light-"] .btn-primary,
[data-theme^="light-"] .btn-red {
  color: #FFFFFF !important;
}

[data-theme^="light-"] .drawer {
  background: rgba(255, 255, 255, 0.97) !important;
  color: var(--text) !important;
  border-left-color: var(--line2) !important;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.14) !important;
}

[data-theme^="light-"] .drawer-x,
[data-theme^="light-"] .theme-btn,
[data-theme^="light-"] .set-row {
  background: rgba(0, 0, 0, 0.04) !important;
  color: var(--text) !important;
  border-color: var(--line) !important;
}

[data-theme^="light-"] .to-top,
[data-theme^="white-"] .to-top,
:root[data-theme^="light-"] .to-top,
:root[data-theme^="white-"] .to-top,
html[data-theme^="light-"] .to-top,
html[data-theme^="white-"] .to-top {
  background: #FFFFFF !important;
  color: #0A0A0C !important;
  border: 1px solid rgba(0, 0, 0, 0.16) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}
[data-theme^="light-"] .to-top svg,
[data-theme^="white-"] .to-top svg,
:root[data-theme^="light-"] .to-top svg,
:root[data-theme^="white-"] .to-top svg,
html[data-theme^="light-"] .to-top svg,
html[data-theme^="white-"] .to-top svg {
  stroke: #0A0A0C !important;
}
[data-theme^="light-"] .to-top:hover,
[data-theme^="white-"] .to-top:hover,
:root[data-theme^="light-"] .to-top:hover,
:root[data-theme^="white-"] .to-top:hover,
html[data-theme^="light-"] .to-top:hover,
html[data-theme^="white-"] .to-top:hover {
  background: #F4F4F7 !important;
  color: var(--red) !important;
  border-color: var(--red) !important;
}
[data-theme^="light-"] .to-top:hover svg,
[data-theme^="white-"] .to-top:hover svg {
  stroke: var(--red) !important;
}

/* ===================== COMMAND PALETTE (CTRL+K) LIGHT THEMES ===================== */
[data-theme^="light-"] .pal,
[data-theme^="white-"] .pal,
:root[data-theme^="light-"] .pal,
:root[data-theme^="white-"] .pal,
html[data-theme^="light-"] .pal,
html[data-theme^="white-"] .pal {
  background: rgba(0, 0, 0, 0.4) !important;
}
[data-theme^="light-"] .pal-box,
[data-theme^="white-"] .pal-box,
:root[data-theme^="light-"] .pal-box,
:root[data-theme^="white-"] .pal-box,
html[data-theme^="light-"] .pal-box,
html[data-theme^="white-"] .pal-box {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.14) !important;
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.25) !important;
}
[data-theme^="light-"] .pal-input,
[data-theme^="white-"] .pal-input,
:root[data-theme^="light-"] .pal-input,
:root[data-theme^="white-"] .pal-input,
html[data-theme^="light-"] .pal-input,
html[data-theme^="white-"] .pal-input {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  color: #0A0A0C !important;
  background: transparent !important;
}
[data-theme^="light-"] .pal-input::placeholder,
[data-theme^="white-"] .pal-input::placeholder,
:root[data-theme^="light-"] .pal-input::placeholder,
:root[data-theme^="white-"] .pal-input::placeholder,
html[data-theme^="light-"] .pal-input::placeholder,
html[data-theme^="white-"] .pal-input::placeholder {
  color: #71717A !important;
}
[data-theme^="light-"] .pal-item,
[data-theme^="white-"] .pal-item,
:root[data-theme^="light-"] .pal-item,
:root[data-theme^="white-"] .pal-item,
html[data-theme^="light-"] .pal-item,
html[data-theme^="white-"] .pal-item {
  color: #3F3F46 !important;
}
[data-theme^="light-"] .pal-item svg,
[data-theme^="white-"] .pal-item svg,
:root[data-theme^="light-"] .pal-item svg,
:root[data-theme^="white-"] .pal-item svg,
html[data-theme^="light-"] .pal-item svg,
html[data-theme^="white-"] .pal-item svg {
  stroke: #52525B !important;
}
[data-theme^="light-"] .pal-item.is-active,
[data-theme^="white-"] .pal-item.is-active,
:root[data-theme^="light-"] .pal-item.is-active,
:root[data-theme^="white-"] .pal-item.is-active,
html[data-theme^="light-"] .pal-item.is-active,
html[data-theme^="white-"] .pal-item.is-active {
  background: rgba(var(--accent-rgb), 0.1) !important;
  color: #0A0A0C !important;
}
[data-theme^="light-"] .pal-item.is-active svg,
[data-theme^="white-"] .pal-item.is-active svg,
:root[data-theme^="light-"] .pal-item.is-active svg,
:root[data-theme^="white-"] .pal-item.is-active svg,
html[data-theme^="light-"] .pal-item.is-active svg,
html[data-theme^="white-"] .pal-item.is-active svg {
  stroke: var(--red) !important;
}
[data-theme^="light-"] .pal-item .pi-go,
[data-theme^="white-"] .pal-item .pi-go,
:root[data-theme^="light-"] .pal-item .pi-go,
:root[data-theme^="white-"] .pal-item .pi-go,
html[data-theme^="light-"] .pal-item .pi-go,
html[data-theme^="white-"] .pal-item .pi-go {
  color: #52525B !important;
  background: rgba(0, 0, 0, 0.05) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  padding: 2px 7px !important;
  border-radius: 5px !important;
}
[data-theme^="light-"] .pal-empty,
[data-theme^="white-"] .pal-empty,
:root[data-theme^="light-"] .pal-empty,
:root[data-theme^="white-"] .pal-empty,
html[data-theme^="light-"] .pal-empty,
html[data-theme^="white-"] .pal-empty {
  color: #71717A !important;
}
[data-theme^="light-"] .pal-list::-webkit-scrollbar-track,
[data-theme^="white-"] .pal-list::-webkit-scrollbar-track,
:root[data-theme^="light-"] .pal-list::-webkit-scrollbar-track,
:root[data-theme^="white-"] .pal-list::-webkit-scrollbar-track,
html[data-theme^="light-"] .pal-list::-webkit-scrollbar-track,
html[data-theme^="white-"] .pal-list::-webkit-scrollbar-track {
  background: #F4F4F6 !important;
}
[data-theme^="light-"] .pal-list::-webkit-scrollbar-thumb,
[data-theme^="white-"] .pal-list::-webkit-scrollbar-thumb,
:root[data-theme^="light-"] .pal-list::-webkit-scrollbar-thumb,
:root[data-theme^="white-"] .pal-list::-webkit-scrollbar-thumb,
html[data-theme^="light-"] .pal-list::-webkit-scrollbar-thumb,
html[data-theme^="white-"] .pal-list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2) !important;
  border-radius: 6px !important;
  border: 2px solid #F4F4F6 !important;
}

[data-theme^="light-"] .theme-btn.is-on {
  background: rgba(var(--accent-rgb), 0.12) !important;
  border-color: var(--red) !important;
}

[data-theme^="light-"] .acct-menu,
[data-theme^="light-"] .kebab-menu,
[data-theme^="light-"] .modal-card {
  background: #FFFFFF !important;
  color: var(--text) !important;
  border-color: var(--line2) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16) !important;
}

[data-theme^="light-"] .acct-item:hover,
[data-theme^="light-"] .kebab-item:hover {
  background: rgba(var(--accent-rgb), 0.08) !important;
}

[data-theme^="light-"] .lang-pick select {
  border-color: var(--line2) !important;
  color: var(--text) !important;
}

[data-theme^="light-"] .lang-pick option {
  background: #FFFFFF !important;
  color: var(--text) !important;
}


/* ---------- ambient arka plan ---------- */
.amb { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; contain: strict; }
.amb i {
  position: absolute; border-radius: 50%; filter: blur(55px); transform: translateZ(0); will-change: transform;
  animation: amb-drift 26s ease-in-out infinite alternate;
}
.amb i:nth-child(1) { width: 560px; height: 560px; left: -160px; top: -180px; background: radial-gradient(circle, var(--accent-dim), transparent 65%); }
.amb i:nth-child(2) { width: 640px; height: 640px; right: -200px; top: 26%; background: radial-gradient(circle, var(--accent-dim), transparent 65%); animation-delay: -9s; }
.amb i:nth-child(3) { width: 520px; height: 520px; left: 26%; bottom: -220px; background: radial-gradient(circle, rgba(var(--ember-rgb), .1), transparent 65%); animation-delay: -17s; }
@keyframes amb-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(60px, -44px, 0) scale(1.12); }
  100% { transform: translate3d(-44px, 52px, 0) scale(.96); }
}
.amb-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 78%);
}
[data-theme^="light-"] .amb-grid {
  background-image: linear-gradient(rgba(20, 10, 12, .04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(20, 10, 12, .04) 1px, transparent 1px);
}
.amb-beam {
  position: absolute; left: 0; right: 0; height: 220px;
  background: linear-gradient(180deg, transparent, var(--accent-dim), transparent);
  animation: amb-beam 14s linear infinite; transform: translateZ(0); will-change: transform;
}
@keyframes amb-beam { 0% { transform: translateY(-240px); } 100% { transform: translateY(115vh); } }
body.no-fx .amb i, body.no-fx .amb-beam { animation: none; }

/* ---------- ayarlar düğmesi + çekmece ---------- */
.dw-open {
  position: fixed !important; right: 22px !important; bottom: 22px !important; top: auto !important; left: auto !important; z-index: 80 !important;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--panel); border: 1px solid var(--line2);
  display: grid; place-items: center;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6);
  cursor: pointer;
  transition: transform .25s var(--ease, cubic-bezier(.22, 1, .36, 1)), border-color .25s;
}
.dw-open:hover { transform: scale(1.08) rotate(30deg); border-color: var(--red); }
.dw-open svg { width: 22px; height: 22px; stroke: var(--red); }

.drawer-veil {
  position: fixed !important; inset: 0 !important; z-index: 88 !important;
  background: rgba(6, 3, 4, .55);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.drawer-veil.is-on { opacity: 1; pointer-events: auto; }

aside.drawer {
  position: fixed !important; top: 0 !important; right: 0 !important; bottom: 0 !important; left: auto !important;
  width: min(420px, 92vw); z-index: 89 !important;
  visibility: hidden;
  pointer-events: none;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-deep, #060405));
  border-left: 1px solid var(--line2);
  box-shadow: -30px 0 60px -20px rgba(0, 0, 0, .7);
  transform: translateX(104%);
  transition: transform .35s var(--ease, cubic-bezier(.22, 1, .36, 1)), visibility 0s linear .35s;
  display: flex; flex-direction: column;
}
aside.drawer.is-on {
  transform: none;
  visibility: visible;
  pointer-events: auto;
  transition: transform .35s var(--ease, cubic-bezier(.22, 1, .36, 1)), visibility 0s linear 0s;
}
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin: 0; }
.drawer-body { padding: 22px; overflow-y: auto; }

.set-grp { margin-bottom: 26px; }
.set-grp h4 {
  font: 500 12px var(--mono);
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--faint); margin: 0 0 12px;
}
.themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.theme-btn {
  position: relative; padding: 12px 8px 10px;
  border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.theme-btn .sw { width: 100%; height: 26px; border-radius: 7px; border: 1px solid rgba(128, 128, 128, .18); }
.theme-btn small { font: 500 11px var(--mono); }

/* ===================== THEME PICKER BUTTONS (DARK & LIGHT) ===================== */
.theme-group-label {
  grid-column: 1 / -1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.theme-group-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line2);
  opacity: 0.6;
}
.theme-btn.theme-dark,
.theme-btn:not(.theme-light) {
  background: #09090D !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #F4F4F6 !important;
}
.theme-btn.theme-dark small,
.theme-btn:not(.theme-light) small {
  color: #E2E8F0 !important;
  font-weight: 500;
}
.theme-btn.theme-dark:hover,
.theme-btn:not(.theme-light):hover {
  border-color: rgba(255, 255, 255, 0.35) !important;
  transform: translateY(-2px);
}
.theme-btn.theme-dark.is-on,
.theme-btn:not(.theme-light).is-on {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 3px var(--accent-dim), 0 0 12px rgba(var(--accent-rgb), 0.45) !important;
}
.theme-btn.theme-light,
.theme-btn[data-theme^="light-"],
.theme-btn[data-theme^="white-"] {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.18) !important;
  color: #0A0A0C !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.theme-btn.theme-light small,
.theme-btn[data-theme^="light-"] small,
.theme-btn[data-theme^="white-"] small {
  color: #0A0A0C !important;
  font-weight: 600 !important;
}
.theme-btn.theme-light .sw,
.theme-btn[data-theme^="light-"] .sw,
.theme-btn[data-theme^="white-"] .sw {
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
}
.theme-btn.theme-light:hover,
.theme-btn[data-theme^="light-"]:hover,
.theme-btn[data-theme^="white-"]:hover {
  border-color: rgba(0, 0, 0, 0.5) !important;
  transform: translateY(-2px);
}
.theme-btn.theme-light.is-on,
.theme-btn[data-theme^="light-"].is-on,
.theme-btn[data-theme^="white-"].is-on {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 3px var(--accent-dim), 0 0 10px rgba(var(--accent-rgb), 0.35) !important;
}

.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; }
.toggle-row span { font-size: 14px; color: var(--text); }
.toggle-row small { display: block; font-size: 12px; color: var(--faint); margin-top: 2px; }
.switch { position: relative; width: 44px; height: 24px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch i {
  position: absolute; inset: 0; border-radius: 999px;
  background: rgba(128, 128, 128, .18); border: 1px solid var(--line2);
  transition: .25s; cursor: pointer;
}
.switch i::after {
  content: ""; position: absolute; left: 3px; top: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--muted); transition: .25s;
}
.switch input:checked + i { background: var(--accent-dim); border-color: var(--red); }
.switch input:checked + i::after { transform: translateX(20px); background: var(--red); }

body.no-fx *, body.no-fx *::before, body.no-fx *::after { animation: none !important; transition: none !important; }

/* ─── SHROUD DİNAMİK VEKTÖR LOGO SİSTEMİ ────────────────────── */
:root {
  --logo-bg: #0b0813;
  --logo-top: #F1EEFA;
  --logo-bottom: var(--accent, #A855F7);
  --logo-top-stroke: none;
  --logo-bottom-stroke: none;
  --logo-stroke-w: 0px;
}

.shroud-logo, .brand-mark-svg {
  display: inline-block;
  vertical-align: middle;
  border-radius: 22%;
  overflow: hidden;
}

.brand-mark, .mark, .shroud-logo {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: inline-block;
  vertical-align: middle;
  border-radius: 7px;
  object-fit: cover;
  filter: var(--logo-filter, drop-shadow(0 0 8px rgba(var(--accent-rgb, 168, 85, 247), 0.45)));
  transition: filter 0.25s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* black-white & white-black brand-mark styling */
[data-theme="white"] .brand-mark,
[data-theme="black-white"] .brand-mark {
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.25)) !important;
}

[data-theme="light-black"] .brand-mark,
[data-theme="white-black"] .brand-mark {
  filter: none !important;
}
.shroud-logo-bg {
  fill: var(--logo-bg, #0b0813);
  stroke: var(--logo-bg-stroke, rgba(var(--accent-rgb), 0.75));
  stroke-width: var(--logo-bg-stroke-w, 24px);
  transition: fill .25s ease, stroke .25s ease;
}
.shroud-logo-top {
  fill: var(--logo-top, #FFFFFF);
  stroke: var(--logo-top-stroke, none);
  stroke-width: var(--logo-stroke-w, 0px);
  transition: fill .25s ease, stroke .25s ease;
}
.shroud-logo-bottom {
  fill: var(--logo-bottom, var(--accent, #A855F7));
  stroke: var(--logo-bottom-stroke, none);
  stroke-width: var(--logo-stroke-w, 0px);
  transition: fill .25s ease, stroke .25s ease;
}
.shroud-sparkle {
  opacity: 0.85;
}
[data-theme^="light-"] .shroud-sparkle,
[data-theme^="white-"] .shroud-sparkle {
  display: none;
}

/* Koyu Temalar */
[data-theme="purple"], [data-theme="black-purple"] {
  --logo-bg: #0b0813;
  --logo-top: #F1EEFA;
  --logo-bottom: #A855F7;
  --logo-top-stroke: none;
  --logo-stroke-w: 0px;
}
[data-theme="gold"], [data-theme="black-gold"] {
  --logo-bg: #120D05;
  --logo-top: #FFF7ED;
  --logo-bottom: #F5A524;
  --logo-top-stroke: none;
  --logo-stroke-w: 0px;
}
[data-theme="blue"], [data-theme="black-blue"] {
  --logo-bg: #060C16;
  --logo-top: #F0F9FF;
  --logo-bottom: #3B9EFF;
  --logo-top-stroke: none;
  --logo-stroke-w: 0px;
}
[data-theme="pink"], [data-theme="black-pink"] {
  --logo-bg: #160810;
  --logo-top: #FDF2F8;
  --logo-bottom: #FF2E93;
  --logo-top-stroke: none;
  --logo-stroke-w: 0px;
}
[data-theme="red"], [data-theme="black-red"] {
  --logo-bg: #160808;
  --logo-top: #FEF2F2;
  --logo-bottom: #FF334B;
  --logo-top-stroke: none;
  --logo-stroke-w: 0px;
}
[data-theme="emerald"], [data-theme="black-emerald"] {
  --logo-bg: #05140C;
  --logo-top: #ECFDF5;
  --logo-bottom: #10B981;
  --logo-top-stroke: none;
  --logo-stroke-w: 0px;
}
[data-theme="cyan"], [data-theme="black-cyan"] {
  --logo-bg: #051216;
  --logo-top: #ECFEFF;
  --logo-bottom: #00D4FF;
  --logo-top-stroke: none;
  --logo-stroke-w: 0px;
}
[data-theme="white"], [data-theme="black-white"] {
  --logo-bg: #0F0F12;
  --logo-top: #FFFFFF;
  --logo-bottom: #A1A1AA;
  --logo-top-stroke: none;
  --logo-stroke-w: 0px;
}

/* Açık (Light) Temalar */
[data-theme="light-black"], [data-theme="white-black"] {
  --logo-bg: #FFFFFF;
  --logo-bg-stroke: #D4D4D8;
  --logo-bg-stroke-w: 24px;
  --logo-top: #F4F4F5;
  --logo-top-stroke: #27272A;
  --logo-stroke-w: 24px;
  --logo-bottom: #09090B;
  --logo-bottom-stroke: #09090B;
}
[data-theme="light-pink"], [data-theme="white-pink"] {
  --logo-bg: #FFFFFF;
  --logo-top: #F4F4F5;
  --logo-top-stroke: #A1A1AA;
  --logo-bottom: #FF2E93;
  --logo-stroke-w: 16px;
}
[data-theme="light-blue"], [data-theme="white-blue"] {
  --logo-bg: #FFFFFF;
  --logo-top: #F4F4F5;
  --logo-top-stroke: #A1A1AA;
  --logo-bottom: #3B9EFF;
  --logo-stroke-w: 16px;
}
[data-theme="light-purple"], [data-theme="white-purple"] {
  --logo-bg: #FFFFFF;
  --logo-top: #F4F4F5;
  --logo-top-stroke: #A1A1AA;
  --logo-bottom: #A855F7;
  --logo-stroke-w: 16px;
}

/* ============================================================
   LIGHT THEME OVERRIDES (only light-* themes e.g. white-black)
   Pure clean white background, white cards, dark readable text
   ============================================================ */
[data-theme^="light-"] {
  --bg: #FFFFFF !important;
  --bg2: #F4F4F6 !important;
  --bg-deep: #FFFFFF !important;
  --bg-elevated: #FFFFFF !important;
  --bg-card: #FFFFFF !important;
  --bg-card-hover: #F4F4F6 !important;
  --panel: #FFFFFF !important;
  --panel-solid: #FFFFFF !important;
  --surface: #F4F4F6 !important;
  --text: #0A0A0C !important;
  --text-2: #3F3F46 !important;
  --text-3: #71717A !important;
  --muted: #52525B !important;
  --faint: #71717A !important;
  --line: rgba(0, 0, 0, 0.12) !important;
  --line2: rgba(0, 0, 0, 0.18) !important;

  /* Global Page Background & Navigation */
  background: #FFFFFF !important;
  color: #0A0A0C !important;

  .nav {
    background: rgba(255, 255, 255, 0.96) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  }
  .brand span {
    color: #0A0A0C !important;
  }
  .nav-links a {
    color: #52525B !important;
  }
  .nav-links a:hover, .nav-links a[aria-current="page"] {
    color: #0A0A0C !important;
    background: rgba(0, 0, 0, 0.05) !important;
  }
  .bg-canvas {
    opacity: 0.1 !important;
    mix-blend-mode: multiply !important;
  }
  .sc-grid-bg, .aurora, .deco {
    opacity: 0.06 !important;
    mix-blend-mode: multiply !important;
  }

  /* Stat boxes in scanner & dashboard */
  .stat, .sc-stats .stat {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  }
  .stat b, .sc-stats .stat b {
    color: #0A0A0C !important;
    background: none !important;
    -webkit-text-fill-color: #0A0A0C !important;
  }
  .stat small, .sc-stats .stat small {
    color: #71717A !important;
  }
  .stat-ic, .sc-stats .stat-ic {
    background: #F4F4F6 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
  }
  .stat-ic img, .sc-stats .stat-ic img,
  .mod-ic img, .sec-kicker img,
  .sc-lock-ic img, .flow-ic img,
  .pin-act img, .del-modal-ic img {
    filter: brightness(0) !important;
  }

  /* Scanner PIN Table & Search Bar */
  .pin-table {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  }
  .pin-table th {
    background: #FAFAFA !important;
    color: #71717A !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  }
  .pin-table td {
    color: #0A0A0C !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  }
  .pin-table tbody tr:hover {
    background: #F4F4F6 !important;
  }
  .pin-code {
    color: #0A0A0C !important;
  }
  .pin-search {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.14) !important;
  }
  .pin-search input {
    color: #0A0A0C !important;
    background: transparent !important;
  }
  .pin-search svg {
    color: #71717A !important;
  }
  .pin-filter {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    color: #52525B !important;
  }
  .pin-filter.is-on {
    background: #0A0A0C !important;
    color: #FFFFFF !important;
    border-color: #0A0A0C !important;
  }

  /* Three moves, one report - Step Cards */
  .steps .step {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  }
  .steps .step .step-n {
    color: #0A0A0C !important;
    background: none !important;
    -webkit-text-fill-color: #0A0A0C !important;
  }
  .steps .step h3 {
    color: #0A0A0C !important;
  }
  .steps .step p {
    color: #52525B !important;
  }

  /* Account & Settings Panels / Cards */
  .set-panel {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
  }
  .set-grid {
    background: rgba(0, 0, 0, 0.08) !important;
  }
  .set-card {
    background: #FFFFFF !important;
  }
  .set-card h3 {
    color: #0A0A0C !important;
  }
  .set-card .set-sub {
    color: #52525B !important;
  }
  .field-input, input.field-input, textarea.field-input {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.16) !important;
    color: #0A0A0C !important;
  }
  .field-input:focus {
    border-color: #0A0A0C !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08) !important;
  }
  .field-label {
    color: #3F3F46 !important;
  }
  .pin-panel {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
  }
  .pin-panel-title, .empty-title, h1, h2, h3, h4 {
    color: #0A0A0C !important;
  }
  .empty-sub, .usage-legend, p, small, label {
    color: #52525B !important;
  }
  .pin-count {
    background: #F4F4F6 !important;
    color: #0A0A0C !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
  }
  .btn-ghost {
    color: #3F3F46 !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
  }
  .btn-ghost:hover {
    color: #0A0A0C !important;
    background: #F4F4F6 !important;
  }
  .card, .panel, .form-card, .acct-card {
    background: #FFFFFF !important;
    color: #0A0A0C !important;
  }
}

/* ============================================================
   BLACK-WHITE THEME OVERRIDES (Pitch black with crisp white/silver)
   Ensures ALL cards and panels remain DARK/BLACK, never white.
   ============================================================ */
[data-theme="white"], [data-theme="black-white"] {
  --bg: #050506 !important;
  --bg2: #0C0C0E !important;
  --bg-deep: #050506 !important;
  --bg-elevated: #121215 !important;
  --bg-card: rgba(18, 18, 22, 0.75) !important;
  --bg-card-hover: rgba(28, 28, 34, 0.85) !important;
  --panel: rgba(16, 16, 18, 0.78) !important;
  --panel-solid: #101012 !important;
  --surface: rgba(255, 255, 255, 0.04) !important;
  --text: #F7F7F8 !important;
  --text-2: #B0B0B6 !important;
  --text-3: #6E6E75 !important;
  --muted: #B0B0B6 !important;
  --faint: #6E6E75 !important;
  --line: rgba(255, 255, 255, 0.14) !important;
  --line2: rgba(255, 255, 255, 0.28) !important;

  .pin-table {
    background: rgba(16, 16, 18, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: none !important;
  }
  .pin-table th {
    background: rgba(24, 24, 28, 0.9) !important;
    color: #B0B0B6 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
  .pin-table td {
    color: #F7F7F8 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  .pin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.04) !important;
  }
  .pin-panel, .set-panel, .set-card, .card, .panel, .stat, .steps .step {
    background: #101012 !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #F7F7F8 !important;
  }
  .field-input, input.field-input, textarea.field-input, .pin-search {
    background: #141418 !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #F7F7F8 !important;
  }
  .pin-filter {
    background: #141418 !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #B0B0B6 !important;
  }
  .pin-filter.is-on {
    background: #FFFFFF !important;
    color: #0A0A0C !important;
  }
}



/* ==================== TEMA LOGO RENK UYUMU (TUM TEMALAR) ==================== */
[data-theme="gold"] .brand-mark, [data-theme="black-gold"] .brand-mark {
  filter: hue-rotate(125deg) saturate(1.35) brightness(1.08) drop-shadow(0 0 8px rgba(245, 165, 36, 0.55)) !important;
}
[data-theme="blue"] .brand-mark, [data-theme="black-blue"] .brand-mark {
  filter: hue-rotate(295deg) saturate(1.2) brightness(1.05) drop-shadow(0 0 8px rgba(59, 158, 255, 0.55)) !important;
}
[data-theme="pink"] .brand-mark, [data-theme="black-pink"] .brand-mark {
  filter: hue-rotate(45deg) saturate(1.25) brightness(1.05) drop-shadow(0 0 8px rgba(255, 79, 163, 0.55)) !important;
}
[data-theme="red"] .brand-mark, [data-theme="black-red"] .brand-mark {
  filter: hue-rotate(80deg) saturate(1.35) brightness(1.1) drop-shadow(0 0 8px rgba(255, 45, 70, 0.55)) !important;
}
[data-theme="emerald"] .brand-mark, [data-theme="black-emerald"] .brand-mark {
  filter: hue-rotate(225deg) saturate(1.25) brightness(1.05) drop-shadow(0 0 8px rgba(16, 185, 129, 0.55)) !important;
}
[data-theme="cyan"] .brand-mark, [data-theme="black-cyan"] .brand-mark {
  filter: hue-rotate(265deg) saturate(1.25) brightness(1.05) drop-shadow(0 0 8px rgba(6, 182, 212, 0.55)) !important;
}
[data-theme="white"] .brand-mark, [data-theme="black-white"] .brand-mark {
  content: url('/assets/favicon-white-64.png?v=8') !important;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5)) !important;
}
[data-theme="light-black"] .brand-mark, [data-theme="white-black"] .brand-mark {
  content: url('/assets/favicon-dark-64.png?v=8') !important;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.35)) !important;
}
[data-theme="light-pink"] .brand-mark, [data-theme="white-pink"] .brand-mark {
  filter: hue-rotate(45deg) saturate(1.2) brightness(1.0) drop-shadow(0 0 6px rgba(217, 38, 122, 0.45)) !important;
}
[data-theme="light-blue"] .brand-mark, [data-theme="white-blue"] .brand-mark {
  filter: hue-rotate(295deg) saturate(1.2) brightness(1.0) drop-shadow(0 0 6px rgba(29, 116, 232, 0.45)) !important;
}
[data-theme="light-purple"] .brand-mark, [data-theme="white-purple"] .brand-mark {
  filter: drop-shadow(0 0 6px rgba(124, 58, 237, 0.45)) !important;
}
[data-theme="purple"] .brand-mark, [data-theme="black-purple"] .brand-mark {
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.5)) !important;
}
[data-theme="violet"] .brand-mark, [data-theme="black-violet"] .brand-mark {
  filter: hue-rotate(345deg) saturate(1.25) drop-shadow(0 0 8px rgba(139, 92, 246, 0.55)) !important;
}
[data-theme="amber"] .brand-mark, [data-theme="black-amber"] .brand-mark {
  filter: hue-rotate(130deg) saturate(1.35) brightness(1.08) drop-shadow(0 0 8px rgba(245, 158, 11, 0.55)) !important;
}
[data-theme="lime"] .brand-mark, [data-theme="black-lime"] .brand-mark {
  filter: hue-rotate(170deg) saturate(1.35) brightness(1.1) drop-shadow(0 0 8px rgba(132, 204, 22, 0.55)) !important;
}
[data-theme="rose"] .brand-mark, [data-theme="black-rose"] .brand-mark {
  filter: hue-rotate(70deg) saturate(1.3) brightness(1.08) drop-shadow(0 0 8px rgba(244, 63, 94, 0.55)) !important;
}
[data-theme="teal"] .brand-mark, [data-theme="black-teal"] .brand-mark {
  filter: hue-rotate(255deg) saturate(1.25) brightness(1.05) drop-shadow(0 0 8px rgba(20, 184, 166, 0.55)) !important;
}
[data-theme="indigo"] .brand-mark, [data-theme="black-indigo"] .brand-mark {
  filter: hue-rotate(320deg) saturate(1.25) drop-shadow(0 0 8px rgba(99, 102, 241, 0.55)) !important;
}
[data-theme="orange"] .brand-mark, [data-theme="black-orange"] .brand-mark {
  filter: hue-rotate(110deg) saturate(1.35) brightness(1.1) drop-shadow(0 0 8px rgba(249, 115, 22, 0.55)) !important;
}
[data-theme="mint"] .brand-mark, [data-theme="black-mint"] .brand-mark {
  filter: hue-rotate(240deg) saturate(1.3) brightness(1.08) drop-shadow(0 0 8px rgba(16, 229, 153, 0.55)) !important;
}
[data-theme="crimson"] .brand-mark, [data-theme="black-crimson"] .brand-mark {
  filter: hue-rotate(85deg) saturate(1.4) brightness(1.05) drop-shadow(0 0 8px rgba(220, 38, 38, 0.55)) !important;
}
[data-theme="matrix"] .brand-mark, [data-theme="black-matrix"] .brand-mark {
  filter: hue-rotate(215deg) saturate(1.35) brightness(1.08) drop-shadow(0 0 8px rgba(34, 197, 94, 0.55)) !important;
}
[data-theme="fuchsia"] .brand-mark, [data-theme="black-fuchsia"] .brand-mark {
  filter: hue-rotate(15deg) saturate(1.25) drop-shadow(0 0 8px rgba(217, 70, 239, 0.55)) !important;
}
[data-theme="sunset"] .brand-mark, [data-theme="black-sunset"] .brand-mark {
  filter: hue-rotate(60deg) saturate(1.25) brightness(1.08) drop-shadow(0 0 8px rgba(251, 113, 133, 0.55)) !important;
}
[data-theme="sapphire"] .brand-mark, [data-theme="black-sapphire"] .brand-mark {
  filter: hue-rotate(305deg) saturate(1.25) drop-shadow(0 0 8px rgba(37, 99, 235, 0.55)) !important;
}
[data-theme="obsidian"] .brand-mark, [data-theme="black-obsidian"] .brand-mark {
  filter: grayscale(0.8) brightness(1.2) drop-shadow(0 0 8px rgba(148, 163, 184, 0.55)) !important;
}
[data-theme="light-emerald"] .brand-mark, [data-theme="white-emerald"] .brand-mark {
  filter: hue-rotate(225deg) saturate(1.2) brightness(0.95) drop-shadow(0 0 6px rgba(16, 185, 129, 0.45)) !important;
}
[data-theme="light-gold"] .brand-mark, [data-theme="white-gold"] .brand-mark {
  filter: hue-rotate(125deg) saturate(1.3) brightness(0.95) drop-shadow(0 0 6px rgba(245, 165, 36, 0.45)) !important;
}
[data-theme="light-red"] .brand-mark, [data-theme="white-red"] .brand-mark {
  filter: hue-rotate(80deg) saturate(1.3) brightness(0.95) drop-shadow(0 0 6px rgba(220, 38, 38, 0.45)) !important;
}
[data-theme="light-cyan"] .brand-mark, [data-theme="white-cyan"] .brand-mark {
  filter: hue-rotate(265deg) saturate(1.25) brightness(0.95) drop-shadow(0 0 6px rgba(8, 145, 178, 0.45)) !important;
}
[data-theme="light-orange"] .brand-mark, [data-theme="white-orange"] .brand-mark {
  filter: hue-rotate(110deg) saturate(1.3) brightness(0.95) drop-shadow(0 0 6px rgba(234, 88, 12, 0.45)) !important;
}
[data-theme="light-rose"] .brand-mark, [data-theme="white-rose"] .brand-mark {
  filter: hue-rotate(70deg) saturate(1.25) brightness(0.95) drop-shadow(0 0 6px rgba(225, 29, 72, 0.45)) !important;
}

/* ==================== 20 YENI TEMA ==================== */

[data-theme="violet"], [data-theme="black-violet"] {
  --red: #8B5CF6;
  --crimson: #6D28D9;
  --ember: #C4B5FD;
  --accent: #8B5CF6;
  --accent-light: #C4B5FD;
  --accent-rgb: 139, 92, 246;
  --crimson-rgb: 109, 40, 217;
  --ember-rgb: 196, 181, 253;
  --glow-hue: 265deg;
  --glow-filter: hue-rotate(265deg) saturate(1.2);
  --logo-filter: hue-rotate(345deg) saturate(1.25) drop-shadow(0 0 8px rgba(139, 92, 246, 0.55));
  --accent-glow: rgba(139, 92, 246, 0.35);
  --accent-dim: rgba(139, 92, 246, 0.10);
  --accent-border: rgba(139, 92, 246, 0.25);
  --line: rgba(196, 181, 253, 0.14);
  --line2: rgba(139, 92, 246, 0.32);
  --line-strong: rgba(139, 92, 246, 0.28);
  --panel: rgba(18, 9, 34, 0.75);
  --panel-solid: #120922;
  --raised: #1E1038;
  --bg: #06030B;
  --bg2: #0E071A;
  --bg-elevated: #120922;
  --bg-card: rgba(18, 9, 34, 0.65);
  --bg-card-hover: rgba(30, 16, 56, 0.75);
  --surface: rgba(196, 181, 253, 0.035);
  --surface-hover: rgba(139, 92, 246, 0.08);
  --text: #F5F0FF;
  --text-2: #C4B5D4;
  --text-3: #7E6A94;
  --muted: #C4B5D4;
  --faint: #7E6A94;
}

[data-theme="amber"], [data-theme="black-amber"] {
  --red: #F59E0B;
  --crimson: #D97706;
  --ember: #FDE68A;
  --accent: #F59E0B;
  --accent-light: #FDE68A;
  --accent-rgb: 245, 158, 11;
  --crimson-rgb: 217, 119, 6;
  --ember-rgb: 253, 230, 138;
  --glow-hue: 45deg;
  --glow-filter: hue-rotate(45deg) saturate(1.2);
  --logo-filter: hue-rotate(130deg) saturate(1.35) brightness(1.08) drop-shadow(0 0 8px rgba(245, 158, 11, 0.55));
  --accent-glow: rgba(245, 158, 11, 0.35);
  --accent-dim: rgba(245, 158, 11, 0.10);
  --accent-border: rgba(245, 158, 11, 0.25);
  --line: rgba(253, 230, 138, 0.14);
  --line2: rgba(245, 158, 11, 0.32);
  --line-strong: rgba(245, 158, 11, 0.28);
  --panel: rgba(25, 16, 6, 0.75);
  --panel-solid: #191006;
  --raised: #271A09;
  --bg: #080502;
  --bg2: #130C04;
  --bg-elevated: #191006;
  --bg-card: rgba(25, 16, 6, 0.65);
  --bg-card-hover: rgba(39, 26, 9, 0.75);
  --surface: rgba(253, 230, 138, 0.035);
  --surface-hover: rgba(245, 158, 11, 0.08);
  --text: #FEF9EE;
  --text-2: #D4C29C;
  --text-3: #94805A;
  --muted: #D4C29C;
  --faint: #94805A;
}

[data-theme="lime"], [data-theme="black-lime"] {
  --red: #84CC16;
  --crimson: #4D7C0F;
  --ember: #BEF264;
  --accent: #84CC16;
  --accent-light: #BEF264;
  --accent-rgb: 132, 204, 22;
  --crimson-rgb: 77, 124, 15;
  --ember-rgb: 190, 242, 100;
  --glow-hue: 85deg;
  --glow-filter: hue-rotate(85deg) saturate(1.2);
  --logo-filter: hue-rotate(170deg) saturate(1.35) brightness(1.1) drop-shadow(0 0 8px rgba(132, 204, 22, 0.55));
  --accent-glow: rgba(132, 204, 22, 0.35);
  --accent-dim: rgba(132, 204, 22, 0.10);
  --accent-border: rgba(132, 204, 22, 0.25);
  --line: rgba(190, 242, 100, 0.14);
  --line2: rgba(132, 204, 22, 0.32);
  --line-strong: rgba(132, 204, 22, 0.28);
  --panel: rgba(14, 24, 5, 0.75);
  --panel-solid: #0E1805;
  --raised: #182A09;
  --bg: #040702;
  --bg2: #0A1204;
  --bg-elevated: #0E1805;
  --bg-card: rgba(14, 24, 5, 0.65);
  --bg-card-hover: rgba(24, 42, 9, 0.75);
  --surface: rgba(190, 242, 100, 0.035);
  --surface-hover: rgba(132, 204, 22, 0.08);
  --text: #F7FEE7;
  --text-2: #B3CFA0;
  --text-3: #6F8E5A;
  --muted: #B3CFA0;
  --faint: #6F8E5A;
}

[data-theme="rose"], [data-theme="black-rose"] {
  --red: #F43F5E;
  --crimson: #BE123C;
  --ember: #FECDD3;
  --accent: #F43F5E;
  --accent-light: #FECDD3;
  --accent-rgb: 244, 63, 94;
  --crimson-rgb: 190, 18, 60;
  --ember-rgb: 254, 205, 211;
  --glow-hue: 350deg;
  --glow-filter: hue-rotate(350deg) saturate(1.2);
  --logo-filter: hue-rotate(70deg) saturate(1.3) brightness(1.08) drop-shadow(0 0 8px rgba(244, 63, 94, 0.55));
  --accent-glow: rgba(244, 63, 94, 0.35);
  --accent-dim: rgba(244, 63, 94, 0.10);
  --accent-border: rgba(244, 63, 94, 0.25);
  --line: rgba(254, 205, 211, 0.14);
  --line2: rgba(244, 63, 94, 0.32);
  --line-strong: rgba(244, 63, 94, 0.28);
  --panel: rgba(26, 8, 14, 0.75);
  --panel-solid: #1A080E;
  --raised: #2A0D17;
  --bg: #090305;
  --bg2: #14060B;
  --bg-elevated: #1A080E;
  --bg-card: rgba(26, 8, 14, 0.65);
  --bg-card-hover: rgba(42, 13, 23, 0.75);
  --surface: rgba(254, 205, 211, 0.035);
  --surface-hover: rgba(244, 63, 94, 0.08);
  --text: #FFF1F2;
  --text-2: #D4A1AA;
  --text-3: #946069;
  --muted: #D4A1AA;
  --faint: #946069;
}

[data-theme="teal"], [data-theme="black-teal"] {
  --red: #14B8A6;
  --crimson: #0F766E;
  --ember: #99F6E4;
  --accent: #14B8A6;
  --accent-light: #99F6E4;
  --accent-rgb: 20, 184, 166;
  --crimson-rgb: 15, 118, 110;
  --ember-rgb: 153, 246, 228;
  --glow-hue: 175deg;
  --glow-filter: hue-rotate(175deg) saturate(1.2);
  --logo-filter: hue-rotate(255deg) saturate(1.25) brightness(1.05) drop-shadow(0 0 8px rgba(20, 184, 166, 0.55));
  --accent-glow: rgba(20, 184, 166, 0.35);
  --accent-dim: rgba(20, 184, 166, 0.10);
  --accent-border: rgba(20, 184, 166, 0.25);
  --line: rgba(153, 246, 228, 0.14);
  --line2: rgba(20, 184, 166, 0.32);
  --line-strong: rgba(20, 184, 166, 0.28);
  --panel: rgba(6, 24, 21, 0.75);
  --panel-solid: #061815;
  --raised: #0A2A25;
  --bg: #020706;
  --bg2: #041210;
  --bg-elevated: #061815;
  --bg-card: rgba(6, 24, 21, 0.65);
  --bg-card-hover: rgba(10, 42, 37, 0.75);
  --surface: rgba(153, 246, 228, 0.035);
  --surface-hover: rgba(20, 184, 166, 0.08);
  --text: #F0FDFA;
  --text-2: #99C7C0;
  --text-3: #5B857E;
  --muted: #99C7C0;
  --faint: #5B857E;
}

[data-theme="indigo"], [data-theme="black-indigo"] {
  --red: #6366F1;
  --crimson: #4338CA;
  --ember: #C7D2FE;
  --accent: #6366F1;
  --accent-light: #C7D2FE;
  --accent-rgb: 99, 102, 241;
  --crimson-rgb: 67, 56, 202;
  --ember-rgb: 199, 210, 254;
  --glow-hue: 240deg;
  --glow-filter: hue-rotate(240deg) saturate(1.2);
  --logo-filter: hue-rotate(320deg) saturate(1.25) drop-shadow(0 0 8px rgba(99, 102, 241, 0.55));
  --accent-glow: rgba(99, 102, 241, 0.35);
  --accent-dim: rgba(99, 102, 241, 0.10);
  --accent-border: rgba(99, 102, 241, 0.25);
  --line: rgba(199, 210, 254, 0.14);
  --line2: rgba(99, 102, 241, 0.32);
  --line-strong: rgba(99, 102, 241, 0.28);
  --panel: rgba(11, 13, 30, 0.75);
  --panel-solid: #0B0D1E;
  --raised: #131634;
  --bg: #03040B;
  --bg2: #080916;
  --bg-elevated: #0B0D1E;
  --bg-card: rgba(11, 13, 30, 0.65);
  --bg-card-hover: rgba(19, 22, 52, 0.75);
  --surface: rgba(199, 210, 254, 0.035);
  --surface-hover: rgba(99, 102, 241, 0.08);
  --text: #EEF2FF;
  --text-2: #B0B7D4;
  --text-3: #6B7494;
  --muted: #B0B7D4;
  --faint: #6B7494;
}

[data-theme="orange"], [data-theme="black-orange"] {
  --red: #F97316;
  --crimson: #C2410C;
  --ember: #FED7AA;
  --accent: #F97316;
  --accent-light: #FED7AA;
  --accent-rgb: 249, 115, 22;
  --crimson-rgb: 194, 65, 12;
  --ember-rgb: 254, 215, 170;
  --glow-hue: 25deg;
  --glow-filter: hue-rotate(25deg) saturate(1.2);
  --logo-filter: hue-rotate(110deg) saturate(1.35) brightness(1.1) drop-shadow(0 0 8px rgba(249, 115, 22, 0.55));
  --accent-glow: rgba(249, 115, 22, 0.35);
  --accent-dim: rgba(249, 115, 22, 0.10);
  --accent-border: rgba(249, 115, 22, 0.25);
  --line: rgba(254, 215, 170, 0.14);
  --line2: rgba(249, 115, 22, 0.32);
  --line-strong: rgba(249, 115, 22, 0.28);
  --panel: rgba(28, 13, 3, 0.75);
  --panel-solid: #1C0D03;
  --raised: #2E1605;
  --bg: #090401;
  --bg2: #140902;
  --bg-elevated: #1C0D03;
  --bg-card: rgba(28, 13, 3, 0.65);
  --bg-card-hover: rgba(46, 22, 5, 0.75);
  --surface: rgba(254, 215, 170, 0.035);
  --surface-hover: rgba(249, 115, 22, 0.08);
  --text: #FFF7ED;
  --text-2: #D4B49C;
  --text-3: #94735A;
  --muted: #D4B49C;
  --faint: #94735A;
}

[data-theme="mint"], [data-theme="black-mint"] {
  --red: #10E599;
  --crimson: #059669;
  --ember: #A7F3D0;
  --accent: #10E599;
  --accent-light: #A7F3D0;
  --accent-rgb: 16, 229, 153;
  --crimson-rgb: 5, 150, 105;
  --ember-rgb: 167, 243, 208;
  --glow-hue: 160deg;
  --glow-filter: hue-rotate(160deg) saturate(1.2);
  --logo-filter: hue-rotate(240deg) saturate(1.3) brightness(1.08) drop-shadow(0 0 8px rgba(16, 229, 153, 0.55));
  --accent-glow: rgba(16, 229, 153, 0.35);
  --accent-dim: rgba(16, 229, 153, 0.10);
  --accent-border: rgba(16, 229, 153, 0.25);
  --line: rgba(167, 243, 208, 0.14);
  --line2: rgba(16, 229, 153, 0.32);
  --line-strong: rgba(16, 229, 153, 0.28);
  --panel: rgba(6, 28, 19, 0.75);
  --panel-solid: #061C13;
  --raised: #0A3222;
  --bg: #020906;
  --bg2: #04140D;
  --bg-elevated: #061C13;
  --bg-card: rgba(6, 28, 19, 0.65);
  --bg-card-hover: rgba(10, 50, 34, 0.75);
  --surface: rgba(167, 243, 208, 0.035);
  --surface-hover: rgba(16, 229, 153, 0.08);
  --text: #ECFDF5;
  --text-2: #99D4B8;
  --text-3: #5B9477;
  --muted: #99D4B8;
  --faint: #5B9477;
}

[data-theme="crimson"], [data-theme="black-crimson"] {
  --red: #DC2626;
  --crimson: #991B1B;
  --ember: #FCA5A5;
  --accent: #DC2626;
  --accent-light: #FCA5A5;
  --accent-rgb: 220, 38, 38;
  --crimson-rgb: 153, 27, 27;
  --ember-rgb: 252, 165, 165;
  --glow-hue: 5deg;
  --glow-filter: hue-rotate(5deg) saturate(1.2);
  --logo-filter: hue-rotate(85deg) saturate(1.4) brightness(1.05) drop-shadow(0 0 8px rgba(220, 38, 38, 0.55));
  --accent-glow: rgba(220, 38, 38, 0.35);
  --accent-dim: rgba(220, 38, 38, 0.10);
  --accent-border: rgba(220, 38, 38, 0.25);
  --line: rgba(252, 165, 165, 0.14);
  --line2: rgba(220, 38, 38, 0.32);
  --line-strong: rgba(220, 38, 38, 0.28);
  --panel: rgba(24, 7, 7, 0.75);
  --panel-solid: #180707;
  --raised: #280C0C;
  --bg: #080202;
  --bg2: #120505;
  --bg-elevated: #180707;
  --bg-card: rgba(24, 7, 7, 0.65);
  --bg-card-hover: rgba(40, 12, 12, 0.75);
  --surface: rgba(252, 165, 165, 0.035);
  --surface-hover: rgba(220, 38, 38, 0.08);
  --text: #FEF2F2;
  --text-2: #C79D9D;
  --text-3: #855D5D;
  --muted: #C79D9D;
  --faint: #855D5D;
}

[data-theme="matrix"], [data-theme="black-matrix"] {
  --red: #22C55E;
  --crimson: #15803D;
  --ember: #86EFAC;
  --accent: #22C55E;
  --accent-light: #86EFAC;
  --accent-rgb: 34, 197, 94;
  --crimson-rgb: 21, 128, 61;
  --ember-rgb: 134, 239, 172;
  --glow-hue: 140deg;
  --glow-filter: hue-rotate(140deg) saturate(1.2);
  --logo-filter: hue-rotate(215deg) saturate(1.35) brightness(1.08) drop-shadow(0 0 8px rgba(34, 197, 94, 0.55));
  --accent-glow: rgba(34, 197, 94, 0.35);
  --accent-dim: rgba(34, 197, 94, 0.10);
  --accent-border: rgba(34, 197, 94, 0.25);
  --line: rgba(134, 239, 172, 0.14);
  --line2: rgba(34, 197, 94, 0.32);
  --line-strong: rgba(34, 197, 94, 0.28);
  --panel: rgba(6, 22, 9, 0.75);
  --panel-solid: #061609;
  --raised: #0B2A12;
  --bg: #020703;
  --bg2: #041006;
  --bg-elevated: #061609;
  --bg-card: rgba(6, 22, 9, 0.65);
  --bg-card-hover: rgba(11, 42, 18, 0.75);
  --surface: rgba(134, 239, 172, 0.035);
  --surface-hover: rgba(34, 197, 94, 0.08);
  --text: #F0FDF4;
  --text-2: #99C7A4;
  --text-3: #5B8564;
  --muted: #99C7A4;
  --faint: #5B8564;
}

[data-theme="fuchsia"], [data-theme="black-fuchsia"] {
  --red: #D946EF;
  --crimson: #A21CAF;
  --ember: #F5D0FE;
  --accent: #D946EF;
  --accent-light: #F5D0FE;
  --accent-rgb: 217, 70, 239;
  --crimson-rgb: 162, 28, 175;
  --ember-rgb: 245, 208, 254;
  --glow-hue: 295deg;
  --glow-filter: hue-rotate(295deg) saturate(1.2);
  --logo-filter: hue-rotate(15deg) saturate(1.25) drop-shadow(0 0 8px rgba(217, 70, 239, 0.55));
  --accent-glow: rgba(217, 70, 239, 0.35);
  --accent-dim: rgba(217, 70, 239, 0.10);
  --accent-border: rgba(217, 70, 239, 0.25);
  --line: rgba(245, 208, 254, 0.14);
  --line2: rgba(217, 70, 239, 0.32);
  --line-strong: rgba(217, 70, 239, 0.28);
  --panel: rgba(26, 7, 30, 0.75);
  --panel-solid: #1A071E;
  --raised: #2C0D34;
  --bg: #080209;
  --bg2: #130516;
  --bg-elevated: #1A071E;
  --bg-card: rgba(26, 7, 30, 0.65);
  --bg-card-hover: rgba(44, 13, 52, 0.75);
  --surface: rgba(245, 208, 254, 0.035);
  --surface-hover: rgba(217, 70, 239, 0.08);
  --text: #FDF4FF;
  --text-2: #D4A3DA;
  --text-3: #94639B;
  --muted: #D4A3DA;
  --faint: #94639B;
}

[data-theme="sunset"], [data-theme="black-sunset"] {
  --red: #FB7185;
  --crimson: #E11D48;
  --ember: #FDA4AF;
  --accent: #FB7185;
  --accent-light: #FDA4AF;
  --accent-rgb: 251, 113, 133;
  --crimson-rgb: 225, 29, 72;
  --ember-rgb: 253, 164, 175;
  --glow-hue: 340deg;
  --glow-filter: hue-rotate(340deg) saturate(1.2);
  --logo-filter: hue-rotate(60deg) saturate(1.25) brightness(1.08) drop-shadow(0 0 8px rgba(251, 113, 133, 0.55));
  --accent-glow: rgba(251, 113, 133, 0.35);
  --accent-dim: rgba(251, 113, 133, 0.10);
  --accent-border: rgba(251, 113, 133, 0.25);
  --line: rgba(253, 164, 175, 0.14);
  --line2: rgba(251, 113, 133, 0.32);
  --line-strong: rgba(251, 113, 133, 0.28);
  --panel: rgba(27, 8, 11, 0.75);
  --panel-solid: #1B080B;
  --raised: #2D0D13;
  --bg: #090304;
  --bg2: #140608;
  --bg-elevated: #1B080B;
  --bg-card: rgba(27, 8, 11, 0.65);
  --bg-card-hover: rgba(45, 13, 19, 0.75);
  --surface: rgba(253, 164, 175, 0.035);
  --surface-hover: rgba(251, 113, 133, 0.08);
  --text: #FFF1F2;
  --text-2: #D4A1A7;
  --text-3: #946067;
  --muted: #D4A1A7;
  --faint: #946067;
}

[data-theme="sapphire"], [data-theme="black-sapphire"] {
  --red: #2563EB;
  --crimson: #1E40AF;
  --ember: #93C5FD;
  --accent: #2563EB;
  --accent-light: #93C5FD;
  --accent-rgb: 37, 99, 235;
  --crimson-rgb: 30, 64, 175;
  --ember-rgb: 147, 197, 253;
  --glow-hue: 225deg;
  --glow-filter: hue-rotate(225deg) saturate(1.2);
  --logo-filter: hue-rotate(305deg) saturate(1.25) drop-shadow(0 0 8px rgba(37, 99, 235, 0.55));
  --accent-glow: rgba(37, 99, 235, 0.35);
  --accent-dim: rgba(37, 99, 235, 0.10);
  --accent-border: rgba(37, 99, 235, 0.25);
  --line: rgba(147, 197, 253, 0.14);
  --line2: rgba(37, 99, 235, 0.32);
  --line-strong: rgba(37, 99, 235, 0.28);
  --panel: rgba(6, 13, 30, 0.75);
  --panel-solid: #060D1E;
  --raised: #0A1734;
  --bg: #020409;
  --bg2: #040915;
  --bg-elevated: #060D1E;
  --bg-card: rgba(6, 13, 30, 0.65);
  --bg-card-hover: rgba(10, 23, 52, 0.75);
  --surface: rgba(147, 197, 253, 0.035);
  --surface-hover: rgba(37, 99, 235, 0.08);
  --text: #EFF6FF;
  --text-2: #9CB3D4;
  --text-3: #5C7394;
  --muted: #9CB3D4;
  --faint: #5C7394;
}

[data-theme="obsidian"], [data-theme="black-obsidian"] {
  --red: #94A3B8;
  --crimson: #475569;
  --ember: #E2E8F0;
  --accent: #94A3B8;
  --accent-light: #E2E8F0;
  --accent-rgb: 148, 163, 184;
  --crimson-rgb: 71, 85, 105;
  --ember-rgb: 226, 232, 240;
  --glow-hue: 210deg;
  --glow-filter: hue-rotate(210deg) saturate(1.2);
  --logo-filter: grayscale(0.8) brightness(1.2) drop-shadow(0 0 8px rgba(148, 163, 184, 0.55));
  --accent-glow: rgba(148, 163, 184, 0.35);
  --accent-dim: rgba(148, 163, 184, 0.10);
  --accent-border: rgba(148, 163, 184, 0.25);
  --line: rgba(226, 232, 240, 0.14);
  --line2: rgba(148, 163, 184, 0.32);
  --line-strong: rgba(148, 163, 184, 0.28);
  --panel: rgba(14, 18, 25, 0.75);
  --panel-solid: #0E1219;
  --raised: #161D29;
  --bg: #050608;
  --bg2: #0A0D12;
  --bg-elevated: #0E1219;
  --bg-card: rgba(14, 18, 25, 0.65);
  --bg-card-hover: rgba(22, 29, 41, 0.75);
  --surface: rgba(226, 232, 240, 0.035);
  --surface-hover: rgba(148, 163, 184, 0.08);
  --text: #F8FAFC;
  --text-2: #B0B7C4;
  --text-3: #6B7484;
  --muted: #B0B7C4;
  --faint: #6B7484;
}

[data-theme="light-emerald"], [data-theme="white-emerald"] {
  --red: #059669;
  --crimson: #047857;
  --ember: #10B981;
  --accent: #059669;
  --accent-light: #10B981;
  --accent-rgb: 5, 150, 105;
  --crimson-rgb: 4, 120, 87;
  --ember-rgb: 16, 185, 129;
  --glow-hue: 145deg;
  --glow-filter: hue-rotate(145deg) saturate(1.1) opacity(0.4);
  --logo-filter: hue-rotate(225deg) saturate(1.2) brightness(0.95) drop-shadow(0 0 6px rgba(16, 185, 129, 0.45));
  --accent-glow: rgba(5, 150, 105, 0.20);
  --accent-dim: rgba(5, 150, 105, 0.06);
  --accent-border: rgba(5, 150, 105, 0.22);
  --line: rgba(0, 0, 0, 0.12);
  --line2: rgba(0, 0, 0, 0.18);
  --line-strong: rgba(0, 0, 0, 0.24);
  --panel: rgba(255, 255, 255, 0.94);
  --panel-solid: #FFFFFF;
  --raised: #F4F4F6;
  --bg: #FFFFFF;
  --bg2: #F4F4F6;
  --bg-deep: #FFFFFF;
  --bg-elevated: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: rgba(244, 244, 246, 0.96);
  --surface: rgba(0, 0, 0, 0.03);
  --surface-hover: rgba(0, 0, 0, 0.06);
  --text: #0A0A0C;
  --text-2: #3F3F46;
  --text-3: #71717A;
  --muted: #3F3F46;
  --faint: #71717A;
}

[data-theme="light-gold"], [data-theme="white-gold"] {
  --red: #D97706;
  --crimson: #B45309;
  --ember: #F59E0B;
  --accent: #D97706;
  --accent-light: #F59E0B;
  --accent-rgb: 217, 119, 6;
  --crimson-rgb: 180, 83, 9;
  --ember-rgb: 245, 158, 11;
  --glow-hue: 38deg;
  --glow-filter: hue-rotate(38deg) saturate(1.1) opacity(0.4);
  --logo-filter: hue-rotate(125deg) saturate(1.3) brightness(0.95) drop-shadow(0 0 6px rgba(245, 165, 36, 0.45));
  --accent-glow: rgba(217, 119, 6, 0.20);
  --accent-dim: rgba(217, 119, 6, 0.06);
  --accent-border: rgba(217, 119, 6, 0.22);
  --line: rgba(0, 0, 0, 0.12);
  --line2: rgba(0, 0, 0, 0.18);
  --line-strong: rgba(0, 0, 0, 0.24);
  --panel: rgba(255, 255, 255, 0.94);
  --panel-solid: #FFFFFF;
  --raised: #F4F4F6;
  --bg: #FFFFFF;
  --bg2: #F4F4F6;
  --bg-deep: #FFFFFF;
  --bg-elevated: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: rgba(244, 244, 246, 0.96);
  --surface: rgba(0, 0, 0, 0.03);
  --surface-hover: rgba(0, 0, 0, 0.06);
  --text: #0A0A0C;
  --text-2: #3F3F46;
  --text-3: #71717A;
  --muted: #3F3F46;
  --faint: #71717A;
}

[data-theme="light-red"], [data-theme="white-red"] {
  --red: #DC2626;
  --crimson: #B91C1C;
  --ember: #EF4444;
  --accent: #DC2626;
  --accent-light: #EF4444;
  --accent-rgb: 220, 38, 38;
  --crimson-rgb: 185, 28, 28;
  --ember-rgb: 239, 68, 68;
  --glow-hue: 0deg;
  --glow-filter: hue-rotate(0deg) saturate(1.1) opacity(0.4);
  --logo-filter: hue-rotate(80deg) saturate(1.3) brightness(0.95) drop-shadow(0 0 6px rgba(220, 38, 38, 0.45));
  --accent-glow: rgba(220, 38, 38, 0.20);
  --accent-dim: rgba(220, 38, 38, 0.06);
  --accent-border: rgba(220, 38, 38, 0.22);
  --line: rgba(0, 0, 0, 0.12);
  --line2: rgba(0, 0, 0, 0.18);
  --line-strong: rgba(0, 0, 0, 0.24);
  --panel: rgba(255, 255, 255, 0.94);
  --panel-solid: #FFFFFF;
  --raised: #F4F4F6;
  --bg: #FFFFFF;
  --bg2: #F4F4F6;
  --bg-deep: #FFFFFF;
  --bg-elevated: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: rgba(244, 244, 246, 0.96);
  --surface: rgba(0, 0, 0, 0.03);
  --surface-hover: rgba(0, 0, 0, 0.06);
  --text: #0A0A0C;
  --text-2: #3F3F46;
  --text-3: #71717A;
  --muted: #3F3F46;
  --faint: #71717A;
}

[data-theme="light-cyan"], [data-theme="white-cyan"] {
  --red: #0891B2;
  --crimson: #0E7490;
  --ember: #06B6D4;
  --accent: #0891B2;
  --accent-light: #06B6D4;
  --accent-rgb: 8, 145, 178;
  --crimson-rgb: 14, 116, 144;
  --ember-rgb: 6, 182, 212;
  --glow-hue: 185deg;
  --glow-filter: hue-rotate(185deg) saturate(1.1) opacity(0.4);
  --logo-filter: hue-rotate(265deg) saturate(1.25) brightness(0.95) drop-shadow(0 0 6px rgba(8, 145, 178, 0.45));
  --accent-glow: rgba(8, 145, 178, 0.20);
  --accent-dim: rgba(8, 145, 178, 0.06);
  --accent-border: rgba(8, 145, 178, 0.22);
  --line: rgba(0, 0, 0, 0.12);
  --line2: rgba(0, 0, 0, 0.18);
  --line-strong: rgba(0, 0, 0, 0.24);
  --panel: rgba(255, 255, 255, 0.94);
  --panel-solid: #FFFFFF;
  --raised: #F4F4F6;
  --bg: #FFFFFF;
  --bg2: #F4F4F6;
  --bg-deep: #FFFFFF;
  --bg-elevated: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: rgba(244, 244, 246, 0.96);
  --surface: rgba(0, 0, 0, 0.03);
  --surface-hover: rgba(0, 0, 0, 0.06);
  --text: #0A0A0C;
  --text-2: #3F3F46;
  --text-3: #71717A;
  --muted: #3F3F46;
  --faint: #71717A;
}

[data-theme="light-orange"], [data-theme="white-orange"] {
  --red: #EA580C;
  --crimson: #C2410C;
  --ember: #F97316;
  --accent: #EA580C;
  --accent-light: #F97316;
  --accent-rgb: 234, 88, 12;
  --crimson-rgb: 194, 65, 12;
  --ember-rgb: 249, 115, 22;
  --glow-hue: 25deg;
  --glow-filter: hue-rotate(25deg) saturate(1.1) opacity(0.4);
  --logo-filter: hue-rotate(110deg) saturate(1.3) brightness(0.95) drop-shadow(0 0 6px rgba(234, 88, 12, 0.45));
  --accent-glow: rgba(234, 88, 12, 0.20);
  --accent-dim: rgba(234, 88, 12, 0.06);
  --accent-border: rgba(234, 88, 12, 0.22);
  --line: rgba(0, 0, 0, 0.12);
  --line2: rgba(0, 0, 0, 0.18);
  --line-strong: rgba(0, 0, 0, 0.24);
  --panel: rgba(255, 255, 255, 0.94);
  --panel-solid: #FFFFFF;
  --raised: #F4F4F6;
  --bg: #FFFFFF;
  --bg2: #F4F4F6;
  --bg-deep: #FFFFFF;
  --bg-elevated: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: rgba(244, 244, 246, 0.96);
  --surface: rgba(0, 0, 0, 0.03);
  --surface-hover: rgba(0, 0, 0, 0.06);
  --text: #0A0A0C;
  --text-2: #3F3F46;
  --text-3: #71717A;
  --muted: #3F3F46;
  --faint: #71717A;
}

[data-theme="light-rose"], [data-theme="white-rose"] {
  --red: #E11D48;
  --crimson: #BE123C;
  --ember: #F43F5E;
  --accent: #E11D48;
  --accent-light: #F43F5E;
  --accent-rgb: 225, 29, 72;
  --crimson-rgb: 190, 18, 60;
  --ember-rgb: 244, 63, 94;
  --glow-hue: 345deg;
  --glow-filter: hue-rotate(345deg) saturate(1.1) opacity(0.4);
  --logo-filter: hue-rotate(70deg) saturate(1.25) brightness(0.95) drop-shadow(0 0 6px rgba(225, 29, 72, 0.45));
  --accent-glow: rgba(225, 29, 72, 0.20);
  --accent-dim: rgba(225, 29, 72, 0.06);
  --accent-border: rgba(225, 29, 72, 0.22);
  --line: rgba(0, 0, 0, 0.12);
  --line2: rgba(0, 0, 0, 0.18);
  --line-strong: rgba(0, 0, 0, 0.24);
  --panel: rgba(255, 255, 255, 0.94);
  --panel-solid: #FFFFFF;
  --raised: #F4F4F6;
  --bg: #FFFFFF;
  --bg2: #F4F4F6;
  --bg-deep: #FFFFFF;
  --bg-elevated: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: rgba(244, 244, 246, 0.96);
  --surface: rgba(0, 0, 0, 0.03);
  --surface-hover: rgba(0, 0, 0, 0.06);
  --text: #0A0A0C;
  --text-2: #3F3F46;
  --text-3: #71717A;
  --muted: #3F3F46;
  --faint: #71717A;
}

/* ==================== HIGH SPECIFICITY THEME SELECTORS ==================== */

:root[data-theme="purple"], html[data-theme="purple"],
:root[data-theme="black-purple"], html[data-theme="black-purple"] {
  --bg: #060405;
  --bg2: #0B0607;
  --red: #a855f7;
  --crimson: #7c3aed;
  --ember: #c084fc;
  --accent: #a855f7;
  --accent-light: #c084fc;
  --accent-rgb: 168,85,247;
  --crimson-rgb: 124,58,237;
  --ember-rgb: 192,132,252;
  --glow-hue: 280deg;
  --glow-filter: hue-rotate(280deg) saturate(1.05);
  --logo-filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.5));
  --panel: rgba(20,8,10,.72);
  --panel-solid: #140A0C;
  --raised: rgba(52,16,22,.55);
  --line: rgba(168,85,247,.12);
  --line2: rgba(168,85,247,.22);
  --text: #F7EDED;
  --muted: #B89FA2;
  --faint: #806669;
}

:root[data-theme="gold"], html[data-theme="gold"],
:root[data-theme="black-gold"], html[data-theme="black-gold"] {
  --bg: #080603;
  --bg2: #120D05;
  --red: #F5A524;
  --crimson: #B86E00;
  --ember: #FFD166;
  --accent: #F5A524;
  --accent-light: #FFD166;
  --accent-rgb: 245,165,36;
  --crimson-rgb: 184,110,0;
  --ember-rgb: 255,209,102;
  --glow-hue: 38deg;
  --glow-filter: hue-rotate(38deg) saturate(1.15);
  --logo-filter: hue-rotate(125deg) saturate(1.35) brightness(1.08) drop-shadow(0 0 8px rgba(245, 165, 36, 0.55));
  --panel: rgba(24,17,6,.72);
  --panel-solid: #181106;
  --raised: rgba(52,42,10,.55);
  --line: rgba(255,200,120,.14);
  --line2: rgba(245,165,36,.28);
  --text: #FAF3E6;
  --muted: #C2B299;
  --faint: #85745B;
}

:root[data-theme="blue"], html[data-theme="blue"],
:root[data-theme="black-blue"], html[data-theme="black-blue"] {
  --bg: #03060B;
  --bg2: #060C16;
  --red: #3B9EFF;
  --crimson: #0A58CA;
  --ember: #7CC4FF;
  --accent: #3B9EFF;
  --accent-light: #7CC4FF;
  --accent-rgb: 59,158,255;
  --crimson-rgb: 10,88,202;
  --ember-rgb: 124,196,255;
  --glow-hue: 215deg;
  --glow-filter: hue-rotate(215deg) saturate(1.15);
  --logo-filter: hue-rotate(295deg) saturate(1.2) brightness(1.05) drop-shadow(0 0 8px rgba(59, 158, 255, 0.55));
  --panel: rgba(8,15,28,.72);
  --panel-solid: #080F1C;
  --raised: rgba(16,34,60,.55);
  --line: rgba(120,180,255,.14);
  --line2: rgba(59,158,255,.28);
  --text: #EAF3FF;
  --muted: #9CB4D4;
  --faint: #5C7394;
}

:root[data-theme="pink"], html[data-theme="pink"],
:root[data-theme="black-pink"], html[data-theme="black-pink"] {
  --bg: #090307;
  --bg2: #13060E;
  --red: #FF4FA3;
  --crimson: #B81462;
  --ember: #FF8BC2;
  --accent: #FF4FA3;
  --accent-light: #FF8BC2;
  --accent-rgb: 255,79,163;
  --crimson-rgb: 184,20,98;
  --ember-rgb: 255,139,194;
  --glow-hue: 325deg;
  --glow-filter: hue-rotate(325deg) saturate(1.2);
  --logo-filter: hue-rotate(45deg) saturate(1.25) brightness(1.05) drop-shadow(0 0 8px rgba(255, 79, 163, 0.55));
  --panel: rgba(26,8,18,.72);
  --panel-solid: #1A0812;
  --raised: rgba(52,16,36,.55);
  --line: rgba(255,140,200,.14);
  --line2: rgba(255,79,163,.28);
  --text: #FCEBF3;
  --muted: #C9A3B6;
  --faint: #876275;
}

:root[data-theme="red"], html[data-theme="red"],
:root[data-theme="black-red"], html[data-theme="black-red"] {
  --bg: #080304;
  --bg2: #120608;
  --red: #FF2D46;
  --crimson: #C8102E;
  --ember: #FF6B7D;
  --accent: #FF2D46;
  --accent-light: #FF6B7D;
  --accent-rgb: 255,45,70;
  --crimson-rgb: 200,16,46;
  --ember-rgb: 255,107,125;
  --glow-hue: 0deg;
  --glow-filter: hue-rotate(0deg) saturate(1.15);
  --logo-filter: hue-rotate(80deg) saturate(1.35) brightness(1.1) drop-shadow(0 0 8px rgba(255, 45, 70, 0.55));
  --panel: rgba(24,8,11,.72);
  --panel-solid: #18080B;
  --raised: rgba(48,14,20,.55);
  --line: rgba(255,110,125,.14);
  --line2: rgba(255,45,70,.28);
  --text: #FCECEE;
  --muted: #C7A3A8;
  --faint: #856267;
}

:root[data-theme="emerald"], html[data-theme="emerald"],
:root[data-theme="black-emerald"], html[data-theme="black-emerald"] {
  --bg: #020806;
  --bg2: #05110D;
  --red: #10B981;
  --crimson: #047857;
  --ember: #6EE7B7;
  --accent: #10B981;
  --accent-light: #6EE7B7;
  --accent-rgb: 16,185,129;
  --crimson-rgb: 4,120,87;
  --ember-rgb: 110,231,183;
  --glow-hue: 145deg;
  --glow-filter: hue-rotate(145deg) saturate(1.15);
  --logo-filter: hue-rotate(225deg) saturate(1.25) brightness(1.05) drop-shadow(0 0 8px rgba(16, 185, 129, 0.55));
  --panel: rgba(6,22,17,.72);
  --panel-solid: #061611;
  --raised: rgba(12,42,32,.55);
  --line: rgba(110,231,183,.14);
  --line2: rgba(16,185,129,.28);
  --text: #ECFDF5;
  --muted: #99C2B2;
  --faint: #5B8574;
}

:root[data-theme="cyan"], html[data-theme="cyan"],
:root[data-theme="black-cyan"], html[data-theme="black-cyan"] {
  --bg: #02070A;
  --bg2: #050F14;
  --red: #06B6D4;
  --crimson: #0E7490;
  --ember: #67E8F9;
  --accent: #06B6D4;
  --accent-light: #67E8F9;
  --accent-rgb: 6,182,212;
  --crimson-rgb: 14,116,144;
  --ember-rgb: 103,232,249;
  --glow-hue: 185deg;
  --glow-filter: hue-rotate(185deg) saturate(1.15);
  --logo-filter: hue-rotate(265deg) saturate(1.25) brightness(1.05) drop-shadow(0 0 8px rgba(6, 182, 212, 0.55));
  --panel: rgba(6,20,26,.72);
  --panel-solid: #06141A;
  --raised: rgba(12,38,48,.55);
  --line: rgba(103,232,249,.14);
  --line2: rgba(6,182,212,.28);
  --text: #ECFEFF;
  --muted: #99BDC7;
  --faint: #5B7D85;
}

:root[data-theme="white"], html[data-theme="white"],
:root[data-theme="black-white"], html[data-theme="black-white"] {
  --bg: #050506;
  --bg2: #0C0C0E;
  --red: #EAEAEA;
  --crimson: #8A8A8A;
  --ember: #FFFFFF;
  --accent: #EAEAEA;
  --accent-light: #FFFFFF;
  --accent-rgb: 234,234,234;
  --crimson-rgb: 138,138,138;
  --ember-rgb: 255,255,255;
  --glow-hue: 0deg;
  --glow-filter: grayscale(1) brightness(1.35);
  --logo-filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
  --panel: rgba(16,16,18,.72);
  --panel-solid: #101012;
  --raised: rgba(40,40,46,.55);
  --line: rgba(255,255,255,.13);
  --line2: rgba(255,255,255,.26);
  --text: #F7F7F8;
  --muted: #B0B0B6;
  --faint: #6E6E75;
}

:root[data-theme="violet"], html[data-theme="violet"],
:root[data-theme="black-violet"], html[data-theme="black-violet"] {
  --bg: #06030B;
  --bg2: #0E071A;
  --red: #8B5CF6;
  --crimson: #6D28D9;
  --ember: #C4B5FD;
  --accent: #8B5CF6;
  --accent-light: #C4B5FD;
  --accent-rgb: 139,92,246;
  --crimson-rgb: 109,40,217;
  --ember-rgb: 196,181,253;
  --glow-hue: 265deg;
  --glow-filter: hue-rotate(265deg) saturate(1.2);
  --logo-filter: hue-rotate(345deg) saturate(1.25) drop-shadow(0 0 8px rgba(139, 92, 246, 0.55));
  --panel: rgba(18,9,34,.75);
  --panel-solid: #120922;
  --raised: #1E1038;
  --line: rgba(196,181,253,.14);
  --line2: rgba(139,92,246,.32);
  --text: #F5F0FF;
  --muted: #C4B5D4;
  --faint: #7E6A94;
}

:root[data-theme="amber"], html[data-theme="amber"],
:root[data-theme="black-amber"], html[data-theme="black-amber"] {
  --bg: #080502;
  --bg2: #130C04;
  --red: #F59E0B;
  --crimson: #D97706;
  --ember: #FDE68A;
  --accent: #F59E0B;
  --accent-light: #FDE68A;
  --accent-rgb: 245,158,11;
  --crimson-rgb: 217,119,6;
  --ember-rgb: 253,230,138;
  --glow-hue: 45deg;
  --glow-filter: hue-rotate(45deg) saturate(1.2);
  --logo-filter: hue-rotate(130deg) saturate(1.35) brightness(1.08) drop-shadow(0 0 8px rgba(245, 158, 11, 0.55));
  --panel: rgba(25,16,6,.75);
  --panel-solid: #191006;
  --raised: #271A09;
  --line: rgba(253,230,138,.14);
  --line2: rgba(245,158,11,.32);
  --text: #FEF9EE;
  --muted: #D4C29C;
  --faint: #94805A;
}

:root[data-theme="lime"], html[data-theme="lime"],
:root[data-theme="black-lime"], html[data-theme="black-lime"] {
  --bg: #040702;
  --bg2: #0A1204;
  --red: #84CC16;
  --crimson: #4D7C0F;
  --ember: #BEF264;
  --accent: #84CC16;
  --accent-light: #BEF264;
  --accent-rgb: 132,204,22;
  --crimson-rgb: 77,124,15;
  --ember-rgb: 190,242,100;
  --glow-hue: 85deg;
  --glow-filter: hue-rotate(85deg) saturate(1.2);
  --logo-filter: hue-rotate(170deg) saturate(1.35) brightness(1.1) drop-shadow(0 0 8px rgba(132, 204, 22, 0.55));
  --panel: rgba(14,24,5,.75);
  --panel-solid: #0E1805;
  --raised: #182A09;
  --line: rgba(190,242,100,.14);
  --line2: rgba(132,204,22,.32);
  --text: #F7FEE7;
  --muted: #B3CFA0;
  --faint: #6F8E5A;
}

:root[data-theme="rose"], html[data-theme="rose"],
:root[data-theme="black-rose"], html[data-theme="black-rose"] {
  --bg: #090305;
  --bg2: #14060B;
  --red: #F43F5E;
  --crimson: #BE123C;
  --ember: #FECDD3;
  --accent: #F43F5E;
  --accent-light: #FECDD3;
  --accent-rgb: 244,63,94;
  --crimson-rgb: 190,18,60;
  --ember-rgb: 254,205,211;
  --glow-hue: 350deg;
  --glow-filter: hue-rotate(350deg) saturate(1.2);
  --logo-filter: hue-rotate(70deg) saturate(1.3) brightness(1.08) drop-shadow(0 0 8px rgba(244, 63, 94, 0.55));
  --panel: rgba(26,8,14,.75);
  --panel-solid: #1A080E;
  --raised: #2A0D17;
  --line: rgba(254,205,211,.14);
  --line2: rgba(244,63,94,.32);
  --text: #FFF1F2;
  --muted: #D4A1AA;
  --faint: #946069;
}

:root[data-theme="teal"], html[data-theme="teal"],
:root[data-theme="black-teal"], html[data-theme="black-teal"] {
  --bg: #020706;
  --bg2: #041210;
  --red: #14B8A6;
  --crimson: #0F766E;
  --ember: #99F6E4;
  --accent: #14B8A6;
  --accent-light: #99F6E4;
  --accent-rgb: 20,184,166;
  --crimson-rgb: 15,118,110;
  --ember-rgb: 153,246,228;
  --glow-hue: 175deg;
  --glow-filter: hue-rotate(175deg) saturate(1.2);
  --logo-filter: hue-rotate(255deg) saturate(1.25) brightness(1.05) drop-shadow(0 0 8px rgba(20, 184, 166, 0.55));
  --panel: rgba(6,24,21,.75);
  --panel-solid: #061815;
  --raised: #0A2A25;
  --line: rgba(153,246,228,.14);
  --line2: rgba(20,184,166,.32);
  --text: #F0FDFA;
  --muted: #99C7C0;
  --faint: #5B857E;
}

:root[data-theme="indigo"], html[data-theme="indigo"],
:root[data-theme="black-indigo"], html[data-theme="black-indigo"] {
  --bg: #03040B;
  --bg2: #080916;
  --red: #6366F1;
  --crimson: #4338CA;
  --ember: #C7D2FE;
  --accent: #6366F1;
  --accent-light: #C7D2FE;
  --accent-rgb: 99,102,241;
  --crimson-rgb: 67,56,202;
  --ember-rgb: 199,210,254;
  --glow-hue: 240deg;
  --glow-filter: hue-rotate(240deg) saturate(1.2);
  --logo-filter: hue-rotate(320deg) saturate(1.25) drop-shadow(0 0 8px rgba(99, 102, 241, 0.55));
  --panel: rgba(11,13,30,.75);
  --panel-solid: #0B0D1E;
  --raised: #131634;
  --line: rgba(199,210,254,.14);
  --line2: rgba(99,102,241,.32);
  --text: #EEF2FF;
  --muted: #B0B7D4;
  --faint: #6B7494;
}

:root[data-theme="orange"], html[data-theme="orange"],
:root[data-theme="black-orange"], html[data-theme="black-orange"] {
  --bg: #090401;
  --bg2: #140902;
  --red: #F97316;
  --crimson: #C2410C;
  --ember: #FED7AA;
  --accent: #F97316;
  --accent-light: #FED7AA;
  --accent-rgb: 249,115,22;
  --crimson-rgb: 194,65,12;
  --ember-rgb: 254,215,170;
  --glow-hue: 25deg;
  --glow-filter: hue-rotate(25deg) saturate(1.2);
  --logo-filter: hue-rotate(110deg) saturate(1.35) brightness(1.1) drop-shadow(0 0 8px rgba(249, 115, 22, 0.55));
  --panel: rgba(28,13,3,.75);
  --panel-solid: #1C0D03;
  --raised: #2E1605;
  --line: rgba(254,215,170,.14);
  --line2: rgba(249,115,22,.32);
  --text: #FFF7ED;
  --muted: #D4B49C;
  --faint: #94735A;
}

:root[data-theme="mint"], html[data-theme="mint"],
:root[data-theme="black-mint"], html[data-theme="black-mint"] {
  --bg: #020906;
  --bg2: #04140D;
  --red: #10E599;
  --crimson: #059669;
  --ember: #A7F3D0;
  --accent: #10E599;
  --accent-light: #A7F3D0;
  --accent-rgb: 16,229,153;
  --crimson-rgb: 5,150,105;
  --ember-rgb: 167,243,208;
  --glow-hue: 160deg;
  --glow-filter: hue-rotate(160deg) saturate(1.2);
  --logo-filter: hue-rotate(240deg) saturate(1.3) brightness(1.08) drop-shadow(0 0 8px rgba(16, 229, 153, 0.55));
  --panel: rgba(6,28,19,.75);
  --panel-solid: #061C13;
  --raised: #0A3222;
  --line: rgba(167,243,208,.14);
  --line2: rgba(16,229,153,.32);
  --text: #ECFDF5;
  --muted: #99D4B8;
  --faint: #5B9477;
}

:root[data-theme="crimson"], html[data-theme="crimson"],
:root[data-theme="black-crimson"], html[data-theme="black-crimson"] {
  --bg: #080202;
  --bg2: #120505;
  --red: #DC2626;
  --crimson: #991B1B;
  --ember: #FCA5A5;
  --accent: #DC2626;
  --accent-light: #FCA5A5;
  --accent-rgb: 220,38,38;
  --crimson-rgb: 153,27,27;
  --ember-rgb: 252,165,165;
  --glow-hue: 5deg;
  --glow-filter: hue-rotate(5deg) saturate(1.2);
  --logo-filter: hue-rotate(85deg) saturate(1.4) brightness(1.05) drop-shadow(0 0 8px rgba(220, 38, 38, 0.55));
  --panel: rgba(24,7,7,.75);
  --panel-solid: #180707;
  --raised: #280C0C;
  --line: rgba(252,165,165,.14);
  --line2: rgba(220,38,38,.32);
  --text: #FEF2F2;
  --muted: #C79D9D;
  --faint: #855D5D;
}

:root[data-theme="matrix"], html[data-theme="matrix"],
:root[data-theme="black-matrix"], html[data-theme="black-matrix"] {
  --bg: #020703;
  --bg2: #041006;
  --red: #22C55E;
  --crimson: #15803D;
  --ember: #86EFAC;
  --accent: #22C55E;
  --accent-light: #86EFAC;
  --accent-rgb: 34,197,94;
  --crimson-rgb: 21,128,61;
  --ember-rgb: 134,239,172;
  --glow-hue: 140deg;
  --glow-filter: hue-rotate(140deg) saturate(1.2);
  --logo-filter: hue-rotate(215deg) saturate(1.35) brightness(1.08) drop-shadow(0 0 8px rgba(34, 197, 94, 0.55));
  --panel: rgba(6,22,9,.75);
  --panel-solid: #061609;
  --raised: #0B2A12;
  --line: rgba(134,239,172,.14);
  --line2: rgba(34,197,94,.32);
  --text: #F0FDF4;
  --muted: #99C7A4;
  --faint: #5B8564;
}

:root[data-theme="fuchsia"], html[data-theme="fuchsia"],
:root[data-theme="black-fuchsia"], html[data-theme="black-fuchsia"] {
  --bg: #080209;
  --bg2: #130516;
  --red: #D946EF;
  --crimson: #A21CAF;
  --ember: #F5D0FE;
  --accent: #D946EF;
  --accent-light: #F5D0FE;
  --accent-rgb: 217,70,239;
  --crimson-rgb: 162,28,175;
  --ember-rgb: 245,208,254;
  --glow-hue: 295deg;
  --glow-filter: hue-rotate(295deg) saturate(1.2);
  --logo-filter: hue-rotate(15deg) saturate(1.25) drop-shadow(0 0 8px rgba(217, 70, 239, 0.55));
  --panel: rgba(26,7,30,.75);
  --panel-solid: #1A071E;
  --raised: #2C0D34;
  --line: rgba(245,208,254,.14);
  --line2: rgba(217,70,239,.32);
  --text: #FDF4FF;
  --muted: #D4A3DA;
  --faint: #94639B;
}

:root[data-theme="sunset"], html[data-theme="sunset"],
:root[data-theme="black-sunset"], html[data-theme="black-sunset"] {
  --bg: #090304;
  --bg2: #140608;
  --red: #FB7185;
  --crimson: #E11D48;
  --ember: #FDA4AF;
  --accent: #FB7185;
  --accent-light: #FDA4AF;
  --accent-rgb: 251,113,133;
  --crimson-rgb: 225,29,72;
  --ember-rgb: 253,164,175;
  --glow-hue: 340deg;
  --glow-filter: hue-rotate(340deg) saturate(1.2);
  --logo-filter: hue-rotate(60deg) saturate(1.25) brightness(1.08) drop-shadow(0 0 8px rgba(251, 113, 133, 0.55));
  --panel: rgba(27,8,11,.75);
  --panel-solid: #1B080B;
  --raised: #2D0D13;
  --line: rgba(253,164,175,.14);
  --line2: rgba(251,113,133,.32);
  --text: #FFF1F2;
  --muted: #D4A1A7;
  --faint: #946067;
}

:root[data-theme="sapphire"], html[data-theme="sapphire"],
:root[data-theme="black-sapphire"], html[data-theme="black-sapphire"] {
  --bg: #020409;
  --bg2: #040915;
  --red: #2563EB;
  --crimson: #1E40AF;
  --ember: #93C5FD;
  --accent: #2563EB;
  --accent-light: #93C5FD;
  --accent-rgb: 37,99,235;
  --crimson-rgb: 30,64,175;
  --ember-rgb: 147,197,253;
  --glow-hue: 225deg;
  --glow-filter: hue-rotate(225deg) saturate(1.2);
  --logo-filter: hue-rotate(305deg) saturate(1.25) drop-shadow(0 0 8px rgba(37, 99, 235, 0.55));
  --panel: rgba(6,13,30,.75);
  --panel-solid: #060D1E;
  --raised: #0A1734;
  --line: rgba(147,197,253,.14);
  --line2: rgba(37,99,235,.32);
  --text: #EFF6FF;
  --muted: #9CB3D4;
  --faint: #5C7394;
}

:root[data-theme="obsidian"], html[data-theme="obsidian"],
:root[data-theme="black-obsidian"], html[data-theme="black-obsidian"] {
  --bg: #050608;
  --bg2: #0A0D12;
  --red: #94A3B8;
  --crimson: #475569;
  --ember: #E2E8F0;
  --accent: #94A3B8;
  --accent-light: #E2E8F0;
  --accent-rgb: 148,163,184;
  --crimson-rgb: 71,85,105;
  --ember-rgb: 226,232,240;
  --glow-hue: 210deg;
  --glow-filter: grayscale(0.8) brightness(1.2);
  --logo-filter: grayscale(0.8) brightness(1.2) drop-shadow(0 0 8px rgba(148, 163, 184, 0.55));
  --panel: rgba(14,18,25,.75);
  --panel-solid: #0E1219;
  --raised: #161D29;
  --line: rgba(226,232,240,.14);
  --line2: rgba(148,163,184,.32);
  --text: #F8FAFC;
  --muted: #B0B7C4;
  --faint: #6B7484;
}

:root[data-theme="light-black"], html[data-theme="light-black"],
:root[data-theme="white-black"], html[data-theme="white-black"] {
  --bg: #FFFFFF;
  --bg2: #F4F4F6;
  --red: #111113;
  --crimson: #27272A;
  --ember: #3F3F46;
  --accent: #111113;
  --accent-light: #3F3F46;
  --accent-rgb: 17,17,19;
  --crimson-rgb: 39,39,42;
  --ember-rgb: 63,63,70;
  --glow-hue: 0deg;
  --glow-filter: grayscale(1) invert(1) opacity(.3);
  --logo-filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.35));
  --panel: rgba(255,255,255,.92);
  --panel-solid: #FFFFFF;
  --raised: rgba(17,17,19,.05);
  --line: rgba(17,17,19,.12);
  --line2: rgba(17,17,19,.24);
  --text: #0A0A0C;
  --muted: #3F3F46;
  --faint: #71717A;
}

:root[data-theme="light-pink"], html[data-theme="light-pink"],
:root[data-theme="white-pink"], html[data-theme="white-pink"] {
  --bg: #FDF7FA;
  --bg2: #F9ECF2;
  --red: #D9267A;
  --crimson: #9C1354;
  --ember: #FF4FA3;
  --accent: #D9267A;
  --accent-light: #FF4FA3;
  --accent-rgb: 217,38,122;
  --crimson-rgb: 156,19,84;
  --ember-rgb: 255,79,163;
  --glow-hue: 325deg;
  --glow-filter: hue-rotate(325deg) saturate(1.1) opacity(.4);
  --logo-filter: hue-rotate(45deg) saturate(1.2) brightness(1.0) drop-shadow(0 0 6px rgba(217, 38, 122, 0.45));
  --panel: rgba(255,255,255,.9);
  --panel-solid: #FFFFFF;
  --raised: rgba(217,38,122,.05);
  --line: rgba(180,30,100,.14);
  --line2: rgba(217,38,122,.28);
  --text: #240916;
  --muted: #6B3A52;
  --faint: #9E6E85;
}

:root[data-theme="light-blue"], html[data-theme="light-blue"],
:root[data-theme="white-blue"], html[data-theme="white-blue"] {
  --bg: #F5F9FE;
  --bg2: #EBF3FC;
  --red: #1D74E8;
  --crimson: #0A4AA6;
  --ember: #3B9EFF;
  --accent: #1D74E8;
  --accent-light: #3B9EFF;
  --accent-rgb: 29,116,232;
  --crimson-rgb: 10,74,166;
  --ember-rgb: 59,158,255;
  --glow-hue: 215deg;
  --glow-filter: hue-rotate(215deg) saturate(1.1) opacity(.4);
  --logo-filter: hue-rotate(295deg) saturate(1.2) brightness(1.0) drop-shadow(0 0 6px rgba(29, 116, 232, 0.45));
  --panel: rgba(255,255,255,.9);
  --panel-solid: #FFFFFF;
  --raised: rgba(29,116,232,.05);
  --line: rgba(20,90,190,.14);
  --line2: rgba(29,116,232,.28);
  --text: #08182E;
  --muted: #3B5578;
  --faint: #728BA8;
}

:root[data-theme="light-purple"], html[data-theme="light-purple"],
:root[data-theme="white-purple"], html[data-theme="white-purple"] {
  --bg: #FAF7FE;
  --bg2: #F3EDFC;
  --red: #7C3AED;
  --crimson: #5B21B6;
  --ember: #A855F7;
  --accent: #7C3AED;
  --accent-light: #A855F7;
  --accent-rgb: 124,58,237;
  --crimson-rgb: 91,33,182;
  --ember-rgb: 168,85,247;
  --glow-hue: 280deg;
  --glow-filter: hue-rotate(280deg) saturate(1.1) opacity(.4);
  --logo-filter: drop-shadow(0 0 6px rgba(124, 58, 237, 0.45));
  --panel: rgba(255,255,255,.9);
  --panel-solid: #FFFFFF;
  --raised: rgba(124,58,237,.05);
  --line: rgba(124,58,237,.14);
  --line2: rgba(124,58,237,.28);
  --text: #160A29;
  --muted: #523D73;
  --faint: #836FA3;
}

:root[data-theme="light-emerald"], html[data-theme="light-emerald"],
:root[data-theme="white-emerald"], html[data-theme="white-emerald"] {
  --bg: #F4FDF8;
  --bg2: #E6F9F0;
  --red: #059669;
  --crimson: #047857;
  --ember: #10B981;
  --accent: #059669;
  --accent-light: #10B981;
  --accent-rgb: 5,150,105;
  --crimson-rgb: 4,120,87;
  --ember-rgb: 16,185,129;
  --glow-hue: 145deg;
  --glow-filter: hue-rotate(145deg) saturate(1.1) opacity(.4);
  --logo-filter: hue-rotate(225deg) saturate(1.2) brightness(0.95) drop-shadow(0 0 6px rgba(16, 185, 129, 0.45));
  --panel: rgba(255,255,255,.92);
  --panel-solid: #FFFFFF;
  --raised: rgba(5,150,105,.05);
  --line: rgba(5,150,105,.14);
  --line2: rgba(5,150,105,.28);
  --text: #062419;
  --muted: #356654;
  --faint: #689484;
}

:root[data-theme="light-gold"], html[data-theme="light-gold"],
:root[data-theme="white-gold"], html[data-theme="white-gold"] {
  --bg: #FEFAF3;
  --bg2: #FAF0E1;
  --red: #D97706;
  --crimson: #B45309;
  --ember: #F59E0B;
  --accent: #D97706;
  --accent-light: #F59E0B;
  --accent-rgb: 217,119,6;
  --crimson-rgb: 180,83,9;
  --ember-rgb: 245,158,11;
  --glow-hue: 38deg;
  --glow-filter: hue-rotate(38deg) saturate(1.1) opacity(.4);
  --logo-filter: hue-rotate(125deg) saturate(1.3) brightness(0.95) drop-shadow(0 0 6px rgba(245, 165, 36, 0.45));
  --panel: rgba(255,255,255,.92);
  --panel-solid: #FFFFFF;
  --raised: rgba(217,119,6,.05);
  --line: rgba(217,119,6,.14);
  --line2: rgba(217,119,6,.28);
  --text: #291803;
  --muted: #6B4D24;
  --faint: #9C7C51;
}

:root[data-theme="light-red"], html[data-theme="light-red"],
:root[data-theme="white-red"], html[data-theme="white-red"] {
  --bg: #FEF5F5;
  --bg2: #FDEAEA;
  --red: #DC2626;
  --crimson: #B91C1C;
  --ember: #EF4444;
  --accent: #DC2626;
  --accent-light: #EF4444;
  --accent-rgb: 220,38,38;
  --crimson-rgb: 185,28,28;
  --ember-rgb: 239,68,68;
  --glow-hue: 0deg;
  --glow-filter: hue-rotate(0deg) saturate(1.1) opacity(.4);
  --logo-filter: hue-rotate(80deg) saturate(1.3) brightness(0.95) drop-shadow(0 0 6px rgba(220, 38, 38, 0.45));
  --panel: rgba(255,255,255,.92);
  --panel-solid: #FFFFFF;
  --raised: rgba(220,38,38,.05);
  --line: rgba(220,38,38,.14);
  --line2: rgba(220,38,38,.28);
  --text: #2C0808;
  --muted: #733333;
  --faint: #A36565;
}

:root[data-theme="light-cyan"], html[data-theme="light-cyan"],
:root[data-theme="white-cyan"], html[data-theme="white-cyan"] {
  --bg: #F2FCFD;
  --bg2: #E1F8FB;
  --red: #0891B2;
  --crimson: #0E7490;
  --ember: #06B6D4;
  --accent: #0891B2;
  --accent-light: #06B6D4;
  --accent-rgb: 8,145,178;
  --crimson-rgb: 14,116,144;
  --ember-rgb: 6,182,212;
  --glow-hue: 185deg;
  --glow-filter: hue-rotate(185deg) saturate(1.1) opacity(.4);
  --logo-filter: hue-rotate(265deg) saturate(1.25) brightness(0.95) drop-shadow(0 0 6px rgba(8, 145, 178, 0.45));
  --panel: rgba(255,255,255,.92);
  --panel-solid: #FFFFFF;
  --raised: rgba(8,145,178,.05);
  --line: rgba(8,145,178,.14);
  --line2: rgba(8,145,178,.28);
  --text: #04222A;
  --muted: #2C5D6B;
  --faint: #5D8E9C;
}

:root[data-theme="light-orange"], html[data-theme="light-orange"],
:root[data-theme="white-orange"], html[data-theme="white-orange"] {
  --bg: #FFF8F2;
  --bg2: #FDEFE3;
  --red: #EA580C;
  --crimson: #C2410C;
  --ember: #F97316;
  --accent: #EA580C;
  --accent-light: #F97316;
  --accent-rgb: 234,88,12;
  --crimson-rgb: 194,65,12;
  --ember-rgb: 249,115,22;
  --glow-hue: 25deg;
  --glow-filter: hue-rotate(25deg) saturate(1.1) opacity(.4);
  --logo-filter: hue-rotate(110deg) saturate(1.3) brightness(0.95) drop-shadow(0 0 6px rgba(234, 88, 12, 0.45));
  --panel: rgba(255,255,255,.92);
  --panel-solid: #FFFFFF;
  --raised: rgba(234,88,12,.05);
  --line: rgba(234,88,12,.14);
  --line2: rgba(234,88,12,.28);
  --text: #2D1204;
  --muted: #734326;
  --faint: #A37255;
}

:root[data-theme="light-rose"], html[data-theme="light-rose"],
:root[data-theme="white-rose"], html[data-theme="white-rose"] {
  --bg: #FFF5F7;
  --bg2: #FDE8ED;
  --red: #E11D48;
  --crimson: #BE123C;
  --ember: #F43F5E;
  --accent: #E11D48;
  --accent-light: #F43F5E;
  --accent-rgb: 225,29,72;
  --crimson-rgb: 190,18,60;
  --ember-rgb: 244,63,94;
  --glow-hue: 345deg;
  --glow-filter: hue-rotate(345deg) saturate(1.1) opacity(.4);
  --logo-filter: hue-rotate(70deg) saturate(1.25) brightness(0.95) drop-shadow(0 0 6px rgba(225, 29, 72, 0.45));
  --panel: rgba(255,255,255,.92);
  --panel-solid: #FFFFFF;
  --raised: rgba(225,29,72,.05);
  --line: rgba(225,29,72,.14);
  --line2: rgba(225,29,72,.28);
  --text: #2E0813;
  --muted: #753043;
  --faint: #A56275;
}


/* ===================== USER FIXES: BADGE & 3-DOTS KEBAB IN LIGHT THEMES ===================== */
[data-theme^="light-"] .sc-hero .badge,
[data-theme^="white-"] .sc-hero .badge,
[data-theme^="light-"] .badge,
[data-theme^="white-"] .badge {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.14) !important;
  color: #1F2937 !important;
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.08) !important;
}

[data-theme^="light-"] .sc-hero .badge b,
[data-theme^="white-"] .sc-hero .badge b,
[data-theme^="light-"] .badge b,
[data-theme^="white-"] .badge b {
  color: #FFFFFF !important;
  background: linear-gradient(135deg, var(--red), var(--crimson)) !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(var(--accent-rgb), 0.35) !important;
}

/* 3 dots kebab button and dots icon in light themes */
[data-theme^="light-"] .kebab-btn,
[data-theme^="white-"] .kebab-btn {
  background: rgba(0, 0, 0, 0.05) !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  color: #0A0A0C !important;
}

[data-theme^="light-"] .kebab-btn:hover,
[data-theme^="white-"] .kebab-btn:hover,
[data-theme^="light-"] .kebab-btn[aria-expanded="true"],
[data-theme^="white-"] .kebab-btn[aria-expanded="true"] {
  background: rgba(0, 0, 0, 0.10) !important;
  border-color: rgba(0, 0, 0, 0.30) !important;
}

/* Turn the 3 dots inside the SVG completely black in light themes */
[data-theme^="light-"] .kebab-btn img,
[data-theme^="white-"] .kebab-btn img {
  filter: brightness(0) !important;
}

/* In black-white (dark theme), 3 dots must be pure WHITE */
[data-theme="white"] .kebab-btn img,
[data-theme="black-white"] .kebab-btn img {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}
[data-theme="white"] .kebab-btn,
[data-theme="black-white"] .kebab-btn {
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

/* In black-white (dark theme), primary white buttons must have BLACK text */
[data-theme="white"] .btn-primary,
[data-theme="black-white"] .btn-primary,
[data-theme="white"] #scanner-cta,
[data-theme="black-white"] #scanner-cta,
[data-theme="white"] .btn-neon,
[data-theme="black-white"] .btn-neon,
[data-theme="white"] .btn.btn-primary,
[data-theme="black-white"] .btn.btn-primary,
[data-theme="white"] .btn.btn-neon,
[data-theme="black-white"] .btn.btn-neon,
[data-theme="white"] .set-actions .btn,
[data-theme="black-white"] .set-actions .btn,
[data-theme="white"] a.btn-primary,
[data-theme="black-white"] a.btn-primary {
  background: #FFFFFF !important;
  color: #000000 !important;
  font-weight: 700 !important;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.25) !important;
}
[data-theme="white"] .btn-primary svg,
[data-theme="black-white"] .btn-primary svg,
[data-theme="white"] #scanner-cta svg,
[data-theme="black-white"] #scanner-cta svg,
[data-theme="white"] .btn-neon svg,
[data-theme="black-white"] .btn-neon svg {
  stroke: #000000 !important;
  color: #000000 !important;
}

/* Kebab dropdown menu in light themes */
[data-theme^="light-"] .kebab-menu,
[data-theme^="white-"] .kebab-menu {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.16) !important;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.18) !important;
}

[data-theme^="light-"] .kebab-item,
[data-theme^="white-"] .kebab-item {
  color: #111827 !important;
}

[data-theme^="light-"] .kebab-item:hover,
[data-theme^="white-"] .kebab-item:hover {
  background: rgba(var(--accent-rgb), 0.12) !important;
  color: var(--red) !important;
}


/* ===================== GLOBAL LIGHT THEME FIXES: TREE, TIP, REPORT ===================== */
[data-theme^="light-"] .tree,
[data-theme^="white-"] .tree,
[data-theme="light"] .tree {
  background: #F8F9FA !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  color: #1E293B !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) inset, 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}
[data-theme^="light-"] .tree .d,
[data-theme^="white-"] .tree .d,
[data-theme="light"] .tree .d {
  color: #0F172A !important;
  font-weight: 700 !important;
}
[data-theme^="light-"] .tree .hit,
[data-theme^="white-"] .tree .hit,
[data-theme="light"] .tree .hit {
  color: #B45309 !important;
  text-shadow: none !important;
  font-weight: 700 !important;
}
[data-theme^="light-"] .tree .tag,
[data-theme^="white-"] .tree .tag,
[data-theme="light"] .tree .tag {
  background: #FEF3C7 !important;
  color: #92400E !important;
  border: 1px solid #FDE68A !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}

/* ===================== BLACK-WHITE (DARK THEME) TREE FIX ===================== */
[data-theme="white"] .tree,
[data-theme="black-white"] .tree {
  background: #09090C !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #E2E8F0 !important;
  box-shadow: none !important;
}
[data-theme="white"] .tree .d,
[data-theme="black-white"] .tree .d {
  color: #FFFFFF !important;
  font-weight: 700 !important;
}
[data-theme="white"] .tree .hit,
[data-theme="black-white"] .tree .hit {
  color: #F5A524 !important;
  text-shadow: 0 0 10px rgba(245, 165, 36, 0.5) !important;
  font-weight: 700 !important;
}
[data-theme="white"] .tree .tag,
[data-theme="black-white"] .tree .tag {
  background: #F5A524 !important;
  color: #000000 !important;
  border: none !important;
  box-shadow: 0 0 12px rgba(245, 165, 36, 0.6) !important;
  font-weight: 700 !important;
}

/* ===================== TOOLTIP CONTRAST IN ALL THEMES ===================== */
.tip,
[data-theme="white"] .tip,
[data-theme="black-white"] .tip {
  background: #141418 !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
  color: #F4F4F5 !important;
}
.tip b,
[data-theme="white"] .tip b,
[data-theme="black-white"] .tip b {
  color: #FFFFFF !important;
  font-weight: 700 !important;
}

[data-theme^="light-"] .tip,
[data-theme^="white-"] .tip,
[data-theme="light"] .tip {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.16) !important;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.06) !important;
  color: #18181B !important;
}
[data-theme^="light-"] .tip b,
[data-theme^="white-"] .tip b,
[data-theme="light"] .tip b {
  color: #000000 !important;
  font-weight: 700 !important;
}

[data-theme^="light-"] .report,
[data-theme^="white-"] .report,
[data-theme="light"] .report {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
}
[data-theme^="light-"] .rp-head,
[data-theme^="white-"] .rp-head,
[data-theme="light"] .rp-head {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}
[data-theme^="light-"] .rp-id,
[data-theme^="white-"] .rp-id,
[data-theme="light"] .rp-id,
[data-theme^="light-"] .rp-meta div,
[data-theme^="white-"] .rp-meta div,
[data-theme="light"] .rp-meta div {
  color: #71717a !important;
}
[data-theme^="light-"] .rp-id b,
[data-theme^="white-"] .rp-id b,
[data-theme="light"] .rp-id b,
[data-theme^="light-"] .rp-meta b,
[data-theme^="white-"] .rp-meta b,
[data-theme="light"] .rp-meta b {
  color: #09090b !important;
}
[data-theme^="light-"] .findings,
[data-theme^="white-"] .findings,
[data-theme="light"] .findings {
  border-right: 1px solid rgba(0, 0, 0, 0.08) !important;
}
[data-theme^="light-"] .fd.open,
[data-theme^="white-"] .fd.open,
[data-theme="light"] .fd.open {
  background: #fafafa !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08) inset !important;
}
[data-theme^="light-"] .fd:hover,
[data-theme^="white-"] .fd:hover,
[data-theme="light"] .fd:hover {
  background: #f4f4f6 !important;
}
[data-theme^="light-"] .fd .t,
[data-theme^="white-"] .fd .t,
[data-theme="light"] .fd .t {
  color: #09090b !important;
}
[data-theme^="light-"] .fd .p,
[data-theme^="white-"] .fd .p,
[data-theme="light"] .fd .p {
  color: #71717a !important;
}
[data-theme^="light-"] .fd .tm,
[data-theme^="white-"] .fd .tm,
[data-theme="light"] .fd .tm {
  color: #a1a1aa !important;
}
[data-theme^="light-"] .ev dt,
[data-theme^="white-"] .ev dt,
[data-theme="light"] .ev dt {
  color: #71717a !important;
}
[data-theme^="light-"] .ev dd,
[data-theme^="white-"] .ev dd,
[data-theme="light"] .ev dd {
  color: #18181b !important;
}
[data-theme^="light-"] .rp-side h4,
[data-theme^="white-"] .rp-side h4,
[data-theme="light"] .rp-side h4 {
  color: #71717a !important;
}
[data-theme^="light-"] .sum li,
[data-theme^="white-"] .sum li,
[data-theme="light"] .sum li {
  border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
  color: #18181b !important;
}
[data-theme^="light-"] .chip.flag,
[data-theme^="white-"] .chip.flag,
[data-theme="light"] .chip.flag {
  color: #b45309 !important;
  background: #fef3c7 !important;
  border: 1px solid #fde68a !important;
  box-shadow: none !important;
}
[data-theme^="light-"] .chip.ok,
[data-theme^="white-"] .chip.ok,
[data-theme="light"] .chip.ok {
  color: #047857 !important;
  background: #d1fae5 !important;
  border: 1px solid #a7f3d0 !important;
}

/* ===================== BLACK-WHITE (DARK THEME) REPORT CARD ON INDEX ===================== */
[data-theme="white"] .report,
[data-theme="black-white"] .report {
  background: #0B0B0E !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.85) !important;
}
[data-theme="white"] .rp-head,
[data-theme="black-white"] .rp-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
[data-theme="white"] .rp-id,
[data-theme="black-white"] .rp-id,
[data-theme="white"] .rp-meta div,
[data-theme="black-white"] .rp-meta div {
  color: #A1A1AA !important;
}
[data-theme="white"] .rp-id b,
[data-theme="black-white"] .rp-id b,
[data-theme="white"] .rp-meta b,
[data-theme="black-white"] .rp-meta b {
  color: #FFFFFF !important;
}
[data-theme="white"] .findings,
[data-theme="black-white"] .findings {
  border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
}
[data-theme="white"] .fd.open,
[data-theme="black-white"] .fd.open {
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset !important;
}
[data-theme="white"] .fd:hover,
[data-theme="black-white"] .fd:hover {
  background: rgba(255, 255, 255, 0.035) !important;
}
[data-theme="white"] .fd .t,
[data-theme="black-white"] .fd .t {
  color: #FFFFFF !important;
}
[data-theme="white"] .fd .p,
[data-theme="black-white"] .fd .p {
  color: #A1A1AA !important;
}
[data-theme="white"] .fd .tm,
[data-theme="black-white"] .fd .tm {
  color: #71717A !important;
}
[data-theme="white"] .ev dt,
[data-theme="black-white"] .ev dt {
  color: #A1A1AA !important;
}
[data-theme="white"] .ev dd,
[data-theme="black-white"] .ev dd {
  color: #FFFFFF !important;
}
[data-theme="white"] .rp-side h4,
[data-theme="black-white"] .rp-side h4 {
  color: #A1A1AA !important;
}
[data-theme="white"] .sum li,
[data-theme="black-white"] .sum li {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #FFFFFF !important;
}
[data-theme="white"] .rp-btn,
[data-theme="black-white"] .rp-btn,
[data-theme="white"] .report button,
[data-theme="black-white"] .report button {
  background: #18181D !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #FFFFFF !important;
}

/* ===================== BLACK-WHITE (DARK THEME) SAMPLE SCANNER ON INDEX ===================== */
[data-theme="white"] .sc-pin,
[data-theme="black-white"] .sc-pin {
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.06), transparent 60%), #0A0A0D !important;
  color: #FFFFFF !important;
}
[data-theme="white"] .sc-pin h3,
[data-theme="black-white"] .sc-pin h3 {
  color: #FFFFFF !important;
}
[data-theme="white"] .sc-pin p,
[data-theme="black-white"] .sc-pin p {
  color: #A1A1AA !important;
}
[data-theme="white"] .sc-pin .portal,
[data-theme="black-white"] .sc-pin .portal {
  display: block !important;
  opacity: 0.35 !important;
  filter: grayscale(1) brightness(1.2) !important;
}
[data-theme="white"] .pin span,
[data-theme="black-white"] .pin span {
  background: #111115 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #FFFFFF !important;
}
[data-theme="white"] .pin span.filled,
[data-theme="black-white"] .pin span.filled {
  border-color: #FFFFFF !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 14px -2px rgba(255, 255, 255, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.15) !important;
  text-shadow: none !important;
}
[data-theme="white"] .pin span.cur,
[data-theme="black-white"] .pin span.cur {
  border-color: #FFFFFF !important;
}
[data-theme="white"] .pin span.cur::after,
[data-theme="black-white"] .pin span.cur::after {
  background: #FFFFFF !important;
  box-shadow: 0 0 8px #FFFFFF !important;
}

/* ============================================================
   GLOBAL SETTINGS DRAWER & THEME SWITCHER
   Used across Index, Dashboard, Pricing, Scanner, Partners
   ============================================================ */
.dw-open {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1000;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--panel, #140A0C);
  border: 1px solid var(--line2, rgba(255,255,255,0.18));
  display: grid;
  place-items: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.7);
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}
.dw-open:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 36px -10px rgba(0,0,0,0.85);
}
.dw-open svg {
  width: 22px;
  height: 22px;
  stroke: var(--red, #A855F7);
}
.drawer-veil {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(6,3,4,0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.drawer-veil.is-on {
  opacity: 1;
  pointer-events: auto;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100%);
  z-index: 1002;
  background: linear-gradient(180deg, #140a0c, #0d0607);
  border-left: 1px solid var(--line2, rgba(255,255,255,0.15));
  box-shadow: -30px 0 60px -20px rgba(0,0,0,0.85);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.drawer.is-on {
  transform: none;
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line, rgba(255,255,255,0.1));
}
.drawer-head h3 {
  font: 600 17px var(--display, system-ui);
  color: #FFFFFF;
  margin: 0;
}
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}
.set-grp {
  margin-bottom: 26px;
}
.set-grp h4 {
  font: 500 12px monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #A1A1AA;
  margin: 0 0 12px 0;
}
.themes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 10px;
}
.theme-btn {
  position: relative;
  padding: 12px 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--line, rgba(255,255,255,0.1));
  background: var(--panel, #140A0C);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: 0.2s;
  cursor: pointer;
}
.theme-btn:hover {
  border-color: var(--line2, rgba(255,255,255,0.25));
  transform: translateY(-2px);
}
.theme-btn.is-on {
  border-color: var(--red, #A855F7);
  box-shadow: 0 0 0 3px rgba(168,85,247,0.22);
}
.theme-btn .sw {
  width: 100%;
  height: 26px;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.08);
}
.theme-btn small {
  font: 500 11px monospace;
  color: #D4D4D8;
}
.theme-group-label {
  grid-column: 1 / -1;
  font: 600 12px monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #71717A;
  margin-top: 10px;
  margin-bottom: 4px;
}

/* Light theme overrides for drawer */
[data-theme^="light-"] .drawer,
[data-theme="light-black"] .drawer,
[data-theme="white-black"] .drawer {
  background: #FFFFFF !important;
  border-left-color: rgba(0,0,0,0.12) !important;
}
[data-theme^="light-"] .drawer-head h3,
[data-theme="light-black"] .drawer-head h3,
[data-theme="white-black"] .drawer-head h3 {
  color: #0A0A0C !important;
}
[data-theme^="light-"] .dw-open,
[data-theme="light-black"] .dw-open,
[data-theme="white-black"] .dw-open {
  background: #FFFFFF !important;
  border-color: rgba(0,0,0,0.15) !important;
}

/* black-white theme (dark theme): pitch black drawer */
[data-theme="white"] .drawer,
[data-theme="black-white"] .drawer {
  background: #0A0A0D !important;
  border-left-color: rgba(255,255,255,0.12) !important;
}
[data-theme="white"] .dw-open,
[data-theme="black-white"] .dw-open {
  background: #111115 !important;
  border-color: rgba(255,255,255,0.2) !important;
}
[data-theme="white"] .dw-open svg,
[data-theme="black-white"] .dw-open svg {
  stroke: #FFFFFF !important;
}

