:root { --accent-rgb: 245, 102, 18; --accent-contrast: #fff; color-scheme: dark; }

:is(html,body)[data-theme="ruby-red"]{--orange:#FF073A;--accent-rgb:255,7,58}:is(html,body)[data-theme="cranberry"]{--orange:#9B1B30;--accent-rgb:155,27,48}
:is(html,body)[data-theme="blood-orange"]{--orange:#CC4400;--accent-rgb:204,68,0}:is(html,body)[data-theme="tangerine"]{--orange:#FF6D00;--accent-rgb:255,109,0}
:is(html,body)[data-theme="orange"]{--orange:#ff6b35;--accent-rgb:255,107,53}:is(html,body)[data-theme="peach"]{--orange:#FF6F61;--accent-rgb:255,111,97}
:is(html,body)[data-theme="cantaloupe"]{--orange:#FFA36C;--accent-rgb:255,163,108;--accent-contrast:#17191d}:is(html,body)[data-theme="mango"]{--orange:#FFB300;--accent-rgb:255,179,0;--accent-contrast:#17191d}
:is(html,body)[data-theme="banana"]{--orange:#FFE135;--accent-rgb:255,225,53;--accent-contrast:#17191d}:is(html,body)[data-theme="pineapple"]{--orange:#FFFFE6;--accent-rgb:255,255,230;--accent-contrast:#17191d}
:is(html,body)[data-theme="lemon"]{--orange:#ffeb3b;--accent-rgb:255,235,59;--accent-contrast:#17191d}:is(html,body)[data-theme="starfruit"]{--orange:#C6E200;--accent-rgb:198,226,0;--accent-contrast:#17191d}
:is(html,body)[data-theme="kiwi"]{--orange:#76B947;--accent-rgb:118,185,71;--accent-contrast:#101510}:is(html,body)[data-theme="gooseberry"]{--orange:#7A9A6D;--accent-rgb:122,154,109}
:is(html,body)[data-theme="lime"]{--orange:#76ff03;--accent-rgb:118,255,3;--accent-contrast:#101510}:is(html,body)[data-theme="green-apple"]{--orange:#00C853;--accent-rgb:0,200,83;--accent-contrast:#101510}
:is(html,body)[data-theme="honeydew"]{--orange:#00E6A0;--accent-rgb:0,230,160;--accent-contrast:#101510}:is(html,body)[data-theme="blue-raspberry"]{--orange:#00BCD4;--accent-rgb:0,188,212;--accent-contrast:#10151a}
:is(html,body)[data-theme="blue"]{--orange:#3182ce;--accent-rgb:49,130,206}:is(html,body)[data-theme="blueberry"]{--orange:#4F46E5;--accent-rgb:79,70,229}
:is(html,body)[data-theme="acai"]{--orange:#2D1B69;--accent-rgb:45,27,105}:is(html,body)[data-theme="grape"]{--orange:#7C3AED;--accent-rgb:124,58,237}
:is(html,body)[data-theme="purple"]{--orange:#8b5cf6;--accent-rgb:139,92,246}:is(html,body)[data-theme="passion-fruit"]{--orange:#BC13FE;--accent-rgb:188,19,254}
:is(html,body)[data-theme="plum"]{--orange:#8E4585;--accent-rgb:142,69,133}:is(html,body)[data-theme="blackberry"]{--orange:#4A0E4E;--accent-rgb:74,14,78}
:is(html,body)[data-theme="dragonfruit"]{--orange:#FF00BF;--accent-rgb:255,0,191}:is(html,body)[data-theme="watermelon"]{--orange:#FF1493;--accent-rgb:255,20,147}
:is(html,body)[data-theme="pink"]{--orange:#ff1493;--accent-rgb:255,20,147}:is(html,body)[data-theme="guava"]{--orange:#FF85A2;--accent-rgb:255,133,162;--accent-contrast:#21151a}
:is(html,body)[data-theme="lychee"]{--orange:#F0C4D4;--accent-rgb:240,196,212;--accent-contrast:#21191d}:is(html,body)[data-theme="coconut"]{--orange:#D4B896;--accent-rgb:212,184,150;--accent-contrast:#211b15}
:is(html,body)[data-theme="fig"]{--orange:#5C3A2E;--accent-rgb:92,58,46}:is(html,body)[data-theme="midnight"]{--orange:#1a202c;--accent-rgb:26,32,44}
:is(html,body)[data-theme="whiteout"]{--orange:#f7fafc;--accent-rgb:247,250,252;--accent-contrast:#15191d}

html[data-mode="light"] { color-scheme: light; background: #eef1f4; }

body[data-mode="light"] {
  --bg: #eef1f4;
  --panel: #fff;
  --text: #171b21;
  --muted: #67717e;
  --line: rgba(35, 43, 54, .18);
  color-scheme: light;
  background: radial-gradient(circle at 72% -12%, rgba(var(--accent-rgb), .1), transparent 30rem), var(--bg);
}

body[data-mode="light"] .utility-bar {
  border-color: var(--line);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 8px 24px rgba(24, 31, 40, .07);
}

body[data-mode="light"] .ecosystem-brand img,
body[data-mode="light"] .background-ghost {
  filter: invert(1) grayscale(1) contrast(1.35);
}

body[data-mode="light"] .account-trigger { color: #66717f; }
body[data-mode="light"] .platform-switcher summary { color: #66717f; }
body[data-mode="light"] .platform-menu { background: rgba(255,255,255,.99); box-shadow: 0 22px 50px rgba(24,31,40,.16); }
body[data-mode="light"] .account-panel {
  border-color: var(--line);
  background: rgba(255, 255, 255, .99);
  box-shadow: 0 22px 50px rgba(24, 31, 40, .16);
}
body[data-mode="light"] .account-form input,
body[data-mode="light"] .manage-form input,
body[data-mode="light"] .inline-form input,
body[data-mode="light"] .account-tabs-select { background: #f8fafb; color: #171b21; border-color: var(--line); }

body[data-mode="light"] .fade-wordmark { color: #171b21; }
body[data-mode="light"] .fade-wordmark span { text-shadow: 0 1px 0 #fff, 0 8px 22px rgba(24,31,40,.12); }
body[data-mode="light"] .fade-category { color: #596472; }
body[data-mode="light"] .hero-message p { color: #252b34; }
body[data-mode="light"] .hero-message .hero-period { color: #252b34; }
body[data-mode="light"] .hero-rule { background: linear-gradient(90deg, transparent, rgba(35,43,54,.42)); }

body[data-mode="light"] .product-card {
  border-color: var(--line);
  background: linear-gradient(160deg, rgba(255,255,255,.99), rgba(242,245,248,.99));
  box-shadow: 0 18px 40px rgba(24,31,40,.12);
}
body[data-mode="light"] .product-card::after {
  background: linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.92) 42%, rgba(255,255,255,.3) 80%);
}
body[data-mode="light"] .product-visual { opacity: .28; filter: grayscale(1) contrast(1.12); }
body[data-mode="light"] .monolith-visual { filter: grayscale(1) contrast(1.22); }
body[data-mode="light"] .product-card:hover .product-visual,
body[data-mode="light"] .product-card:focus-visible .product-visual { opacity: .42; }
body[data-mode="light"] .proxima-card:hover .product-visual,
body[data-mode="light"] .proxima-card:focus-visible .product-visual,
body[data-mode="light"] .monolith-card:hover .product-visual,
body[data-mode="light"] .monolith-card:focus-visible .product-visual {
  opacity: .3;
  transform: scale(1.012);
}
body[data-mode="light"] .product-heading small,
body[data-mode="light"] .metric-block small,
body[data-mode="light"] .comparison small,
body[data-mode="light"] .split-list > small,
body[data-mode="light"] .trade-market small,
body[data-mode="light"] .split-list em { color: #5d6672; }
body[data-mode="light"] .comparison strong { color: #37404b; }
body[data-mode="light"] .score-strip { border-color: var(--line); background: rgba(255,255,255,.72); }
body[data-mode="light"] .split-list i { background: rgba(35,43,54,.16); }
body[data-mode="light"] .trade-market strong { color: #343d48; }
body[data-mode="light"] .card-arrow { color: #3d4651; }
body[data-mode="light"] .site-footer p { color: #596472; }
body[data-mode="light"] .notice { background: #fff; color: #343d48; box-shadow: 0 15px 30px rgba(24,31,40,.15); }

body[data-mode="light"] .settings-shell { color: #171b21; }
body[data-mode="light"] .settings-tabs { border-color: var(--line); background: #fff; }
body[data-mode="light"] .settings-card,
body[data-mode="light"] .setting-block { background: #fff; box-shadow: 0 14px 34px rgba(24,31,40,.1); }
body[data-mode="light"] .setting-block { background: #f8fafb; box-shadow: none; }
body[data-mode="light"] .secondary-button { background: #f5f7f9; color: #3f4956; }

.account-submit,
.primary-button { color: var(--accent-contrast); }
