html.dark { color-scheme: dark; }
html.dark body { background-color: #162433; color: #f4efe4; }
html.dark .glass { background-color: #1e3144; border-color: #35506a; color: #f4efe4; }
html.dark .site-logo {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 0 10px rgba(186, 220, 255, 0.55)) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}
html.dark header,
html.dark aside,
html.dark .bottom-nav { background-color: #15202b !important; border-color: #2c4156 !important; }
html.dark .site-footer { background-color: #101820 !important; border-color: #2c4156 !important; }
html.dark .footer-link { color: #d5deea; }
html.dark .footer-link:hover { color: #f3c96a; }
html.dark .footer-social { background-color: #1a2836; border-color: #2c4156; color: #f3eee4; }
html.dark .footer-social:hover { border-color: #f0c36a; color: #f3c96a; }
html.dark .field,
html.dark select.field { background-color: #101820; border-color: #2c4156; color: #f3eee4; }
html.dark .btn-ghost { background-color: #1a2836; border-color: #2c4156; color: #f3eee4; }
html.dark .nav-link { color: #d7e2f0; }
html.dark .nav-link.active,
html.dark .bottom-nav button.active { background-color: #24384c; color: #f6f1e6; }
html.dark .text-stone-900,
html.dark .text-stone-800,
html.dark .text-stone-700,
html.dark .text-black { color: #f3eee4; }
html.dark .text-stone-600,
html.dark .text-stone-500,
html.dark .text-stone-400 { color: #d5deea; }
html.dark .text-amber-800,
html.dark .text-amber-700 { color: #f3c96a; }
html.dark .text-emerald-700 { color: #6ee7b7; }
html.dark #slots-left,
html.dark #slots-left-modal { color: #d5deea; }
html.dark .income-banner {
  background-image: linear-gradient(115deg, rgba(243, 201, 106, 0.16), rgba(30, 49, 68, 0) 42%, rgba(110, 231, 183, 0.14));
  background-color: #1e3144;
  color: #f4efe4;
}
html.dark .market-head {
  background-color: #1e3144;
  color: #f4efe4;
}
html.dark .market-badge {
  background-color: #2a4156;
  color: #f4efe4;
}
html.dark .market-meta {
  background-color: #1e3144;
  border-color: #35506a;
  color: #d5deea;
}
html.dark .market-meta .text-\[\#1e3a5f\],
html.dark .market-meta .text-stone-700,
html.dark .market-meta .text-stone-500 { color: #d5deea; }
html.dark .bg-white,
html.dark .bg-white\/90,
html.dark .bg-stone-50,
html.dark .bg-stone-100 { background-color: #15202b; }
html.dark .bg-amber-50 { background-color: #3a3122; }
html.dark .bg-emerald-50 { background-color: #16352c; }
html.dark .text-amber-600 { color: #f0c36a; }
html.dark .text-emerald-600 { color: #6ee7b7; }
html.dark #trading-chart { background-color: #1e3144; }
html.dark .slot-spinner { border-color: #35506a; border-top-color: #f0c36a; }
html.dark dialog .glass { max-height: calc(100vh - 2rem); overflow-y: auto; }
html.dark #form-topup.glass { max-height: min(100dvh - 1rem, 40rem); overflow: hidden; }
html.dark #profile-panel.glass { max-height: min(100dvh - 1rem, 44rem); overflow: hidden; }
html.dark .border-stone-200,
html.dark .border-stone-100 { border-color: #2c4156; }
html.dark .auth-tab { border-color: #2c4156; color: #b7c4d1; }
html.dark .auth-tab.active { background-color: #24384c; color: #f6f1e6; }
html.dark #view-landing h1,
html.dark #view-landing p { color: #f6f1e6; }
html.dark .landing-shade {
  background: radial-gradient(ellipse at center, transparent 0%, rgba(16, 24, 32, 0.45) 58%, rgba(16, 24, 32, 0.92) 100%);
}
html.dark .cycle-track { background-color: #2c4156; }
html.dark .cycle-fill { background-color: #f0c36a; }
html.dark dialog::backdrop { background: rgba(0, 0, 0, 0.55); }
