/* EarnGameplay light theme — additive; light is default, night is opt-in */

html[data-theme="light"] {
  color-scheme: light;
  --bg: #eef3f8;
  --bg-elev: #ffffff;
  --bg-panel: #ffffff;
  --border: rgba(20, 40, 70, 0.12);
  --text: #121a2b;
  --muted: #5a667c;
  --primary: #0aabb0;
  --secondary: #e11d48;
  --lime: #5aa600;
  --glow: rgba(10, 171, 176, 0.28);
  --danger: #dc2626;
  --ok: #059669;
  --warn: #d97706;
}

/* ── Global shell ─────────────────────────────────────── */
html[data-theme="light"] body {
  background: var(--bg);
  color: var(--text);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -18%, rgba(10, 171, 176, 0.12), transparent),
    radial-gradient(ellipse 42% 30% at 100% 0%, rgba(225, 29, 72, 0.05), transparent);
}

html[data-theme="light"] a:hover { color: #087f84; }

/* Flash / form alerts (header + pages) */
html[data-theme="light"] .alert {
  box-shadow: 0 8px 20px rgba(15, 30, 55, 0.08);
}
html[data-theme="light"] .alert-success {
  background: linear-gradient(145deg, #ecfdf5, #f0fdfa);
  border-color: rgba(5, 150, 105, 0.32);
  color: #047857;
}
html[data-theme="light"] .alert-success > i { color: #059669; }
html[data-theme="light"] .alert-error {
  background: linear-gradient(145deg, #fef2f2, #fff1f2);
  border-color: rgba(220, 38, 38, 0.28);
  color: #b91c1c;
}
html[data-theme="light"] .alert-error > i { color: #dc2626; }
html[data-theme="light"] .alert-info {
  background: linear-gradient(145deg, #ecfeff, #f0f9ff);
  border-color: rgba(10, 171, 176, 0.3);
  color: #0e7490;
}
html[data-theme="light"] .alert-info > i { color: #0aabb0; }

html[data-theme="light"] .btn-login {
  background: rgba(10, 171, 176, 0.08);
  border-color: rgba(10, 171, 176, 0.35);
  color: #087f84;
  box-shadow: none;
}
html[data-theme="light"] .btn-login:hover {
  background: rgba(10, 171, 176, 0.14);
  border-color: #0aabb0;
  color: #065f63;
  box-shadow: 0 4px 14px rgba(10, 171, 176, 0.14);
}
html[data-theme="light"] .btn-ghost {
  border-color: rgba(20, 40, 70, 0.14);
  color: var(--text);
}
html[data-theme="light"] .btn-ghost:hover {
  border-color: rgba(10, 171, 176, 0.4);
  color: #087f84;
  background: rgba(10, 171, 176, 0.06);
}

/* ── Header / nav ─────────────────────────────────────── */
html[data-theme="light"] .site-header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 248, 252, 0.9));
  border-bottom: 1px solid rgba(20, 40, 70, 0.1);
  box-shadow: 0 8px 24px rgba(15, 30, 55, 0.08);
}
html[data-theme="light"] .header-scanline {
  opacity: .7;
}
html[data-theme="light"] .nav {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 249, 252, 0.92));
  border: 1px solid rgba(20, 40, 70, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 20px rgba(15, 30, 55, 0.06);
}
html[data-theme="light"] .nav-link {
  color: rgba(18, 26, 43, 0.72);
}
html[data-theme="light"] .nav-ico {
  background: rgba(20, 40, 70, 0.04);
  border-color: rgba(20, 40, 70, 0.08);
}
html[data-theme="light"] .nav-link:hover {
  color: var(--text);
  background: rgba(10, 171, 176, 0.07);
  border-color: rgba(10, 171, 176, 0.16);
}
html[data-theme="light"] .nav-link.active {
  color: #0a1628;
  background: color-mix(in srgb, var(--nav-accent) 12%, #fff);
  border-color: color-mix(in srgb, var(--nav-accent) 34%, transparent);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--nav-accent) 12%, transparent);
}
html[data-theme="light"] .nav-link--play { color: #be123c; }
html[data-theme="light"] .nav-link--play:hover,
html[data-theme="light"] .nav-link--play.active { color: #9f1239; }
html[data-theme="light"] .nav-link--proof:hover,
html[data-theme="light"] .nav-link--proof.active { color: #3f6212; }
html[data-theme="light"] .nav-theme { --nav-accent: #d97706; }
html[data-theme="light"] .nav-toggle span { background: #1f2a3d; }

html[data-theme="light"] .site-subnav {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(20, 40, 70, 0.08);
}
html[data-theme="light"] .subnav-link { color: rgba(18, 26, 43, 0.7); }
html[data-theme="light"] .subnav-link:hover,
html[data-theme="light"] .subnav-link.is-active { color: #087f84; }
html[data-theme="light"] .subnav-theme { color: #d97706; }
html[data-theme="light"] .subnav-theme:hover,
html[data-theme="light"] .subnav-theme:focus-visible {
  color: #b45309;
  background: rgba(217, 119, 6, 0.1);
}

/* ── Homepage: hero ───────────────────────────────────── */
html[data-theme="light"] .page-home .hero-wash {
  background:
    radial-gradient(ellipse 55% 80% at 78% 42%, rgba(10, 171, 176, 0.16), transparent 58%),
    radial-gradient(ellipse 42% 70% at 8% 88%, rgba(225, 29, 72, 0.07), transparent 55%),
    radial-gradient(ellipse 70% 50% at 40% -10%, rgba(90, 166, 0, 0.07), transparent 50%),
    linear-gradient(180deg, #f7fafc 0%, #eef3f8 70%, #eef3f8 100%);
}
html[data-theme="light"] .page-home .hero-beam {
  background: linear-gradient(180deg, transparent, rgba(10, 171, 176, .45), rgba(90, 166, 0, .22), transparent);
  opacity: .4;
}
html[data-theme="light"] .page-home .hero-grid {
  background-image:
    linear-gradient(rgba(10, 171, 176, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 171, 176, .07) 1px, transparent 1px);
  opacity: .45;
}
html[data-theme="light"] .page-home .hero-orb-a {
  background: radial-gradient(circle, rgba(10, 171, 176, .22), transparent 72%);
}
html[data-theme="light"] .page-home .hero-orb-b {
  background: radial-gradient(circle, rgba(225, 29, 72, .12), transparent 72%);
}
html[data-theme="light"] .page-home .hero-noise { opacity: .02; }
html[data-theme="light"] .page-home .hero-kicker {
  color: rgba(18, 26, 43, 0.72);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(20, 40, 70, 0.1);
}
html[data-theme="light"] .page-home .kicker-sep {
  background: rgba(20, 40, 70, 0.18);
}
html[data-theme="light"] .page-home .landing-headline {
  color: #101828;
}
html[data-theme="light"] .page-home .landing-headline .hl-earn {
  color: #0aabb0;
  text-shadow: 0 0 18px rgba(10, 171, 176, .18);
}
html[data-theme="light"] .page-home .landing-logo {
  filter: drop-shadow(0 6px 18px rgba(10, 171, 176, .16));
}
html[data-theme="light"] .page-home .hero-stat {
  border-color: rgba(20, 40, 70, 0.1);
  background: linear-gradient(145deg, #ffffff, #f3f7fb);
  box-shadow: 0 6px 14px rgba(15, 30, 55, 0.06);
}
html[data-theme="light"] .page-home .hero-stat-ico {
  background: rgba(10, 171, 176, 0.12);
  color: #0aabb0;
}
html[data-theme="light"] .page-home .hero-stat:nth-child(2) .hero-stat-ico {
  background: rgba(5, 150, 105, 0.12);
  color: #059669;
}
html[data-theme="light"] .page-home .hero-stat:nth-child(3) .hero-stat-ico {
  background: rgba(217, 119, 6, 0.12);
  color: #d97706;
}
html[data-theme="light"] .page-home .hero-stat-copy strong {
  color: #121a2b;
}
html[data-theme="light"] .page-home .hero-stat-copy em {
  color: #5a667c;
}
html[data-theme="light"] .page-home .hero-visual {
  filter: drop-shadow(0 14px 28px rgba(15, 40, 70, 0.14));
}
@media (max-width: 900px) {
  html[data-theme="light"] .page-home .hero-visual {
    filter: drop-shadow(0 8px 16px rgba(15, 40, 70, 0.16));
  }
}
html[data-theme="light"] .page-home .btn-hero-secondary {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(20, 40, 70, 0.14);
  color: #121a2b;
  box-shadow: 0 8px 20px rgba(15, 30, 55, 0.08);
}
html[data-theme="light"] .page-home .btn-hero-secondary:hover {
  border-color: rgba(10, 171, 176, 0.4);
  color: #087f84;
  background: #fff;
}
html[data-theme="light"] .page-home .we-accept-label {
  color: #0f766e;
}
html[data-theme="light"] .page-home .we-accept-pill {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(20, 40, 70, 0.1);
  color: #243044;
  box-shadow: 0 2px 8px rgba(15, 30, 55, 0.05);
}
html[data-theme="light"] .page-home .we-accept-pill i { color: #4d7c0f; }
html[data-theme="light"] .page-home .we-accept-pill--fp {
  background: rgba(10, 171, 176, 0.1);
  border-color: rgba(10, 171, 176, 0.28);
  color: #087f84;
}
html[data-theme="light"] .page-home .we-accept-pill:hover {
  border-color: rgba(10, 171, 176, 0.35);
  background: rgba(10, 171, 176, 0.08);
  color: #121a2b;
}

/* ── Homepage: live payouts ───────────────────────────── */
html[data-theme="light"] .page-home .payout-band {
  border-block-color: rgba(10, 171, 176, 0.16);
  background:
    linear-gradient(90deg, rgba(10, 171, 176, .08), transparent 20%, transparent 80%, rgba(90, 166, 0, .06)),
    linear-gradient(180deg, #ffffff, #f4f8fb);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 8px 22px rgba(15, 30, 55, 0.06);
}
html[data-theme="light"] .page-home .payout-band-label { color: #0f766e; }
html[data-theme="light"] .page-home .payout-chip {
  border-color: rgba(20, 40, 70, 0.1);
  background: linear-gradient(135deg, #ffffff, #f3f7fb);
  box-shadow: 0 3px 10px rgba(15, 30, 55, 0.06);
}
html[data-theme="light"] .page-home .payout-chip-user { color: #1a2438; }
html[data-theme="light"] .page-home .payout-band-link {
  color: #087f84;
  background: rgba(10, 171, 176, 0.08);
  border-color: rgba(10, 171, 176, 0.22);
}
html[data-theme="light"] .page-home .payout-band-link:hover {
  background: rgba(10, 171, 176, 0.14);
  color: #065f63;
}

/* ── Homepage: game hub ───────────────────────────────── */
html[data-theme="light"] .page-home .home-games-all {
  color: #087f84;
  border-color: rgba(10, 171, 176, 0.22);
  background: #fff;
  box-shadow: 0 4px 12px rgba(15, 30, 55, 0.05);
}
html[data-theme="light"] .page-home .home-games-all:hover {
  background: rgba(10, 171, 176, 0.1);
  color: #065f63;
  border-color: rgba(10, 171, 176, 0.4);
}
html[data-theme="light"] .page-home .home-game {
  background: #fff;
  border-color: rgba(20, 40, 70, 0.1);
  box-shadow: 0 10px 24px rgba(15, 30, 55, 0.07);
}
html[data-theme="light"] .page-home .home-game:hover {
  border-color: rgba(10, 171, 176, 0.38);
  box-shadow: 0 16px 34px rgba(15, 30, 55, 0.12), 0 0 0 1px rgba(10, 171, 176, 0.08);
}
html[data-theme="light"] .page-home .home-game-art {
  background: linear-gradient(160deg, #e8eef5, #f7fafc);
}
html[data-theme="light"] .page-home .home-game-art::after {
  background: linear-gradient(180deg, transparent 58%, rgba(255, 255, 255, 0.55));
}
html[data-theme="light"] .page-home .home-game-live {
  color: #0a1a08;
  background: linear-gradient(135deg, #b8e85a, #7ccf2a);
  box-shadow: 0 4px 12px rgba(90, 166, 0, 0.28);
}
html[data-theme="light"] .page-home .home-game-play {
  background: rgba(18, 26, 43, 0.28);
}
html[data-theme="light"] .page-home .home-game-play i {
  background: linear-gradient(135deg, #9fe04a, #0aabb0);
  color: #062018;
  box-shadow: 0 8px 18px rgba(15, 30, 55, 0.22);
}
html[data-theme="light"] .page-home .home-game-body {
  border-top-color: rgba(20, 40, 70, 0.08);
  background: linear-gradient(180deg, #ffffff, #f4f7fb);
}
html[data-theme="light"] .page-home .home-game-body strong {
  color: #121a2b;
}
html[data-theme="light"] .page-home .home-game--more {
  border-color: rgba(10, 171, 176, 0.22);
}
html[data-theme="light"] .page-home .home-game--more:hover {
  border-color: rgba(10, 171, 176, 0.45);
  box-shadow: 0 16px 34px rgba(15, 30, 55, 0.12), 0 0 18px rgba(10, 171, 176, 0.1);
}
html[data-theme="light"] .page-home .home-game-art--more {
  background: linear-gradient(160deg, #dff7f5, #f4fbf8);
}
html[data-theme="light"] .page-home .home-game-live--more {
  background: linear-gradient(135deg, #9fe04a, #0aabb0);
  color: #062018;
}
html[data-theme="light"] .page-home .home-game-more-glow {
  background: radial-gradient(circle, rgba(10, 171, 176, .28), transparent 70%);
}
html[data-theme="light"] .page-home .home-games-nav {
  background: #fff;
  border-color: rgba(20, 40, 70, 0.12);
  color: #1a2438;
  box-shadow: 0 6px 16px rgba(15, 30, 55, 0.08);
}
html[data-theme="light"] .page-home .home-games-nav:hover:not(:disabled) {
  border-color: rgba(10, 171, 176, 0.4);
  background: rgba(10, 171, 176, 0.08);
  color: #087f84;
}
html[data-theme="light"] .page-home .home-games-nav:disabled {
  opacity: .35;
  background: #f3f6fa;
  color: #8a95a8;
}
html[data-theme="light"] .page-home .home-games-dot {
  background: rgba(20, 40, 70, 0.18);
}
html[data-theme="light"] .page-home .home-games-dot.is-active {
  background: #0aabb0;
}

/* ── Homepage: how it works ───────────────────────────── */
html[data-theme="light"] .page-home .section-how {
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(10, 171, 176, .08), transparent 60%);
}
html[data-theme="light"] .page-home .steps::before {
  background: linear-gradient(90deg, transparent, rgba(10, 171, 176, .35), rgba(225, 29, 72, .2), rgba(10, 171, 176, .35), transparent);
}
html[data-theme="light"] .page-home .step {
  border-color: rgba(10, 171, 176, 0.16);
  background: linear-gradient(165deg, #ffffff, #f5f8fc);
  box-shadow: 0 8px 22px rgba(15, 30, 55, 0.05);
}
html[data-theme="light"] .page-home .step:hover {
  border-color: rgba(10, 171, 176, 0.4);
  box-shadow: 0 16px 36px rgba(15, 30, 55, 0.1), 0 0 20px rgba(10, 171, 176, 0.08);
}
html[data-theme="light"] .page-home .hi-num {
  color: #4d7c0f;
  text-shadow: none;
}
html[data-theme="light"] .page-home .hi-num--hot {
  color: #0aabb0;
  text-shadow: none;
}

/* ── Homepage: referrals ──────────────────────────────── */
html[data-theme="light"] .page-home .ref-pack {
  border-color: rgba(10, 171, 176, 0.16);
  background: linear-gradient(165deg, #ffffff, #f5f8fc);
  box-shadow: 0 8px 22px rgba(15, 30, 55, 0.05);
}
html[data-theme="light"] .page-home .ref-pack:hover {
  border-color: rgba(10, 171, 176, 0.4);
  box-shadow: 0 16px 32px rgba(15, 30, 55, 0.1);
}
html[data-theme="light"] .page-home .ref-pack-name,
html[data-theme="light"] .page-home .ref-pack-rate { color: #121a2b; }
html[data-theme="light"] .page-home .ref-note {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(20, 40, 70, 0.1);
}
html[data-theme="light"] .page-home .ref-connector { color: rgba(10, 171, 176, 0.55); }

/* ── Homepage: support + final CTA ────────────────────── */
html[data-theme="light"] .page-home .lsup-grid {
  border-top-color: rgba(20, 40, 70, 0.1);
}
html[data-theme="light"] .page-home .lsup-card + .lsup-card {
  border-left-color: rgba(20, 40, 70, 0.1);
}
html[data-theme="light"] .page-home .lsup-card strong { color: #121a2b; }
html[data-theme="light"] .page-home .landing-cta-inner {
  background:
    radial-gradient(ellipse 70% 80% at 20% 0%, rgba(10, 171, 176, 0.12), transparent 55%),
    linear-gradient(165deg, #ffffff, #f3f7fb);
  border-color: rgba(10, 171, 176, 0.18);
  box-shadow: 0 16px 40px rgba(15, 30, 55, 0.08);
}
html[data-theme="light"] .page-home .landing-cta-title { color: #101828; }

/* ── Footer (global, needed on index) ─────────────────── */
html[data-theme="light"] .site-footer {
  margin-top: 3.5rem;
  border-top: 0;
  border-image: none;
  background:
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.55) 12%, #ffffff 38%, #f3f7fb 100%);
  box-shadow: inset 0 1px 0 rgba(20, 40, 70, 0.08);
}
html[data-theme="light"] .footer-glow {
  width: 360px;
  height: 220px;
  right: 8%;
  top: -30%;
  opacity: 1;
  filter: blur(28px);
  background:
    radial-gradient(circle, rgba(10, 171, 176, 0.16), transparent 68%),
    radial-gradient(circle at 30% 70%, rgba(90, 166, 0, 0.08), transparent 70%);
}
html[data-theme="light"] .footer-grid {
  padding-bottom: 1.75rem;
}
html[data-theme="light"] .footer-brand {
  padding: 1.15rem 1.2rem 1.2rem;
  border-radius: 18px;
  background: linear-gradient(165deg, #ffffff, #f5f9fc);
  border: 1px solid rgba(20, 40, 70, 0.1);
  box-shadow: 0 10px 28px rgba(15, 30, 55, 0.06);
}
html[data-theme="light"] .footer-logo {
  margin-bottom: .75rem;
}
html[data-theme="light"] .footer-tagline {
  color: #5a667c;
  font-size: .9rem;
}
html[data-theme="light"] .footer-heading {
  color: #0f172a;
  letter-spacing: .1em;
}
html[data-theme="light"] .footer-links a {
  color: #425066;
  padding: .15rem 0;
}
html[data-theme="light"] .footer-links a i {
  color: #0aabb0;
  opacity: .85;
}
html[data-theme="light"] .footer-links a:hover {
  color: #087f84;
}
html[data-theme="light"] .footer-bottom {
  margin-top: .25rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(20, 40, 70, 0.08);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 6px 18px rgba(15, 30, 55, 0.04);
}
html[data-theme="light"] .footer-copy {
  color: #5a667c;
}
html[data-theme="light"] .footer-pills span {
  background: #fff;
  border-color: rgba(10, 171, 176, 0.22);
  color: #0f766e;
  box-shadow: 0 2px 8px rgba(15, 30, 55, 0.04);
}
html[data-theme="light"] .footer-pills span:nth-child(2) {
  color: #4d7c0f;
  border-color: rgba(90, 166, 0, 0.28);
  background: rgba(184, 255, 60, 0.12);
}
html[data-theme="light"] .footer-pills span:nth-child(3) {
  color: #be123c;
  border-color: rgba(225, 29, 72, 0.22);
  background: rgba(225, 29, 72, 0.06);
}
html[data-theme="light"] .footer-cta .btn-login {
  background: #fff;
  border-color: rgba(10, 171, 176, 0.3);
  color: #087f84;
}
html[data-theme="light"] .footer-cta .btn-login:hover {
  background: rgba(10, 171, 176, 0.08);
  color: #065f63;
}

/* ── Ranks page (light) ───────────────────────────────── */
html[data-theme="light"] .page-ranks .section-ranks {
  background:
    radial-gradient(ellipse 70% 45% at 15% -5%, rgba(10, 171, 176, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 8%, rgba(124, 207, 42, 0.07), transparent 50%);
}
html[data-theme="light"] .page-ranks .section-head {
  margin-bottom: 1.75rem;
}
html[data-theme="light"] .page-ranks .section-title {
  color: #0f172a;
}
html[data-theme="light"] .page-ranks .section-lead {
  color: #5a667c;
  max-width: 52ch;
}
html[data-theme="light"] .page-ranks .ranks-grid {
  gap: 1.1rem;
}

html[data-theme="light"] .page-ranks .rank-card {
  --rank-accent: #0aabb0;
  --rank-accent-2: #087f84;
  --rank-soft: rgba(10, 171, 176, 0.12);
  --rank-edge: rgba(10, 171, 176, 0.28);
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(20, 40, 70, 0.09);
  background:
    radial-gradient(circle at 92% 0%, var(--rank-soft), transparent 42%),
    linear-gradient(168deg, #ffffff 0%, #f6f9fc 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 12px 28px rgba(15, 30, 55, 0.06);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
html[data-theme="light"] .page-ranks .rank-card::before {
  height: 3px;
  opacity: 1;
  background: linear-gradient(90deg, var(--rank-accent), var(--rank-accent-2), transparent 85%);
}
html[data-theme="light"] .page-ranks .rank-card::after {
  content: '';
  position: absolute;
  inset: auto -20% -35% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--rank-soft), transparent 68%);
  pointer-events: none;
  z-index: 0;
  opacity: .85;
}
html[data-theme="light"] .page-ranks .rank-card > * {
  position: relative;
  z-index: 1;
}
html[data-theme="light"] .page-ranks .rank-card:hover {
  transform: translateY(-6px);
  border-color: var(--rank-edge);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 20px 40px rgba(15, 30, 55, 0.1),
    0 0 0 1px color-mix(in srgb, var(--rank-accent) 18%, transparent);
}

/* Tier palettes */
html[data-theme="light"] .page-ranks .rank-theme-free,
html[data-theme="light"] .page-ranks .rank-card--free {
  --rank-accent: #7ccf2a;
  --rank-accent-2: #0aabb0;
  --rank-soft: rgba(124, 207, 42, 0.16);
  --rank-edge: rgba(90, 166, 0, 0.35);
  background:
    radial-gradient(circle at 92% 0%, rgba(124, 207, 42, 0.16), transparent 42%),
    linear-gradient(168deg, #fbfff4 0%, #ffffff 55%, #f4fbf7 100%);
}
html[data-theme="light"] .page-ranks .rank-theme-cyan {
  --rank-accent: #0aabb0;
  --rank-accent-2: #0891b2;
  --rank-soft: rgba(10, 171, 176, 0.14);
  --rank-edge: rgba(10, 171, 176, 0.36);
}
html[data-theme="light"] .page-ranks .rank-theme-lime {
  --rank-accent: #65a30d;
  --rank-accent-2: #84cc16;
  --rank-soft: rgba(132, 204, 22, 0.16);
  --rank-edge: rgba(101, 163, 13, 0.35);
}
html[data-theme="light"] .page-ranks .rank-theme-orange {
  --rank-accent: #ea580c;
  --rank-accent-2: #f59e0b;
  --rank-soft: rgba(245, 158, 11, 0.16);
  --rank-edge: rgba(234, 88, 12, 0.32);
}
html[data-theme="light"] .page-ranks .rank-theme-magenta {
  --rank-accent: #e11d48;
  --rank-accent-2: #f43f5e;
  --rank-soft: rgba(244, 63, 94, 0.14);
  --rank-edge: rgba(225, 29, 72, 0.3);
}
html[data-theme="light"] .page-ranks .rank-theme-gold {
  --rank-accent: #ca8a04;
  --rank-accent-2: #eab308;
  --rank-soft: rgba(234, 179, 8, 0.18);
  --rank-edge: rgba(202, 138, 4, 0.38);
}
html[data-theme="light"] .page-ranks .rank-theme-elite {
  --rank-accent: #0aabb0;
  --rank-accent-2: #e11d48;
  --rank-soft: rgba(10, 171, 176, 0.14);
  --rank-edge: rgba(15, 30, 55, 0.18);
  background:
    radial-gradient(circle at 88% 0%, rgba(124, 207, 42, 0.14), transparent 36%),
    radial-gradient(circle at 100% 40%, rgba(225, 29, 72, 0.08), transparent 40%),
    linear-gradient(168deg, #ffffff 0%, #f3f8fc 100%);
}
html[data-theme="light"] .page-ranks .rank-theme-elite::before {
  background: linear-gradient(90deg, #7ccf2a, #0aabb0, #e11d48, transparent);
  height: 3px;
}

html[data-theme="light"] .page-ranks .rank-card-title {
  color: #0f172a;
  font-size: 1.05rem;
}
html[data-theme="light"] .page-ranks .rank-card-badge {
  color: var(--rank-accent-2);
  background: color-mix(in srgb, var(--rank-accent) 14%, #fff);
  border-color: color-mix(in srgb, var(--rank-accent) 32%, transparent);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}
html[data-theme="light"] .page-ranks .rank-card-emblem {
  width: 58px;
  height: 58px;
}
html[data-theme="light"] .page-ranks .rank-card-emblem-ring {
  z-index: 0;
  border-color: color-mix(in srgb, var(--rank-accent) 40%, transparent);
  opacity: .9;
}
html[data-theme="light"] .page-ranks .rank-card-emblem-core {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  color: var(--rank-accent-2);
  background:
    radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.55), transparent 48%),
    linear-gradient(145deg, color-mix(in srgb, var(--rank-accent) 28%, #fff), color-mix(in srgb, var(--rank-accent) 10%, #eef6f8));
  border: 1px solid color-mix(in srgb, var(--rank-accent) 42%, transparent);
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--rank-accent) 10%, transparent),
    0 8px 18px color-mix(in srgb, var(--rank-accent) 18%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
html[data-theme="light"] .page-ranks .rank-card-emblem-core.bi::before,
html[data-theme="light"] .page-ranks .rank-card-emblem-core > i {
  color: var(--rank-accent-2);
  font-size: 1.2rem;
}
html[data-theme="light"] .page-ranks .rank-card:hover .rank-card-emblem-core {
  transform: scale(1.07) rotate(-5deg);
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--rank-accent) 14%, transparent),
    0 10px 22px color-mix(in srgb, var(--rank-accent) 24%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
html[data-theme="light"] .page-ranks .rank-theme-elite .rank-card-emblem-core {
  color: #0f172a;
  background:
    radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.55), transparent 48%),
    linear-gradient(145deg, rgba(184, 255, 60, 0.42), rgba(10, 171, 176, 0.22), rgba(244, 63, 94, 0.2));
}
html[data-theme="light"] .page-ranks .rank-theme-elite .rank-card-emblem-core.bi::before,
html[data-theme="light"] .page-ranks .rank-theme-elite .rank-card-emblem-core > i {
  color: #0f172a;
}

html[data-theme="light"] .page-ranks .rank-card-upto {
  padding: .85rem .95rem;
  border-radius: 14px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--rank-accent) 8%, #fff), #fff);
  border: 1px solid color-mix(in srgb, var(--rank-accent) 18%, transparent);
  box-shadow: 0 4px 14px rgba(15, 30, 55, 0.04);
}
html[data-theme="light"] .page-ranks .rank-card-upto-lbl {
  color: #64748b;
  font-weight: 700;
}
html[data-theme="light"] .page-ranks .rank-card-upto-val {
  color: var(--rank-accent-2);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  text-shadow: none;
}
html[data-theme="light"] .page-ranks .rank-card-formula {
  color: #748094;
  margin-top: .1rem;
}
html[data-theme="light"] .page-ranks .rank-card-stats {
  gap: .45rem;
}
html[data-theme="light"] .page-ranks .rank-stat {
  padding: .6rem .3rem .55rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(20, 40, 70, 0.08);
  box-shadow: 0 2px 8px rgba(15, 30, 55, 0.03);
  transition: border-color .18s ease, transform .18s ease;
}
html[data-theme="light"] .page-ranks .rank-card:hover .rank-stat {
  border-color: color-mix(in srgb, var(--rank-accent) 22%, transparent);
}
html[data-theme="light"] .page-ranks .rank-stat-val {
  color: #0f172a;
  font-size: .76rem;
}
html[data-theme="light"] .page-ranks .rank-stat-lbl {
  color: #718095;
}
html[data-theme="light"] .page-ranks .rank-card-foot {
  border-top: 1px dashed rgba(20, 40, 70, 0.12);
  padding-top: .75rem;
}
html[data-theme="light"] .page-ranks .rank-card-price {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  font-size: .82rem;
  color: var(--rank-accent-2);
  background: color-mix(in srgb, var(--rank-accent) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--rank-accent) 28%, transparent);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--rank-accent) 10%, transparent);
}
html[data-theme="light"] .page-ranks .rank-card-price--free {
  color: #3f6212;
  background: rgba(184, 255, 60, 0.22);
  border-color: rgba(90, 166, 0, 0.32);
}
html[data-theme="light"] .page-ranks .page-ranks-cta {
  margin-top: 2.5rem;
}
html[data-theme="light"] .page-ranks .btn-hero-secondary {
  background: #fff;
  border-color: rgba(20, 40, 70, 0.14);
  color: #121a2b;
  box-shadow: 0 8px 18px rgba(15, 30, 55, 0.06);
}
html[data-theme="light"] .page-ranks .btn-hero-secondary:hover {
  border-color: rgba(10, 171, 176, 0.4);
  color: #087f84;
  background: #fff;
}

/* ── Proofs page (light) ──────────────────────────────── */
html[data-theme="light"] .page-prf .prf-aurora {
  background:
    radial-gradient(ellipse 55% 38% at 12% 0%, rgba(10, 171, 176, .12), transparent 55%),
    radial-gradient(ellipse 42% 32% at 92% 10%, rgba(5, 150, 105, .08), transparent 52%),
    radial-gradient(ellipse 48% 36% at 50% 100%, rgba(90, 166, 0, .06), transparent 55%);
}
html[data-theme="light"] .page-prf .prf-kicker {
  color: #059669;
}
html[data-theme="light"] .page-prf .prf-title {
  background: linear-gradient(115deg, #0f172a 8%, #0aabb0 48%, #059669 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-theme="light"] .page-prf .prf-lead {
  color: #5a667c;
}
html[data-theme="light"] .page-prf .prf-stat {
  border-color: rgba(20, 40, 70, 0.1);
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(10, 171, 176, .1), transparent 55%),
    linear-gradient(165deg, #ffffff, #f3f7fb);
  box-shadow: 0 8px 20px rgba(15, 30, 55, 0.05);
}
html[data-theme="light"] .page-prf .prf-stat--ok {
  border-color: rgba(5, 150, 105, 0.28);
}
html[data-theme="light"] .page-prf .prf-stat strong {
  color: #0f172a;
}
html[data-theme="light"] .page-prf .prf-stat--ok strong {
  color: #047857;
}
html[data-theme="light"] .page-prf .prf-panel {
  border-color: rgba(20, 40, 70, 0.1);
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(5, 150, 105, .07), transparent 55%),
    linear-gradient(165deg, #ffffff, #f4f8fb);
  box-shadow: 0 14px 32px rgba(15, 30, 55, 0.07);
}
html[data-theme="light"] .page-prf .prf-panel-head {
  border-bottom-color: rgba(20, 40, 70, 0.08);
}
html[data-theme="light"] .page-prf .prf-panel-head h2 {
  color: #0f172a;
}
html[data-theme="light"] .page-prf .prf-panel-head h2 i {
  color: #059669;
}
html[data-theme="light"] .page-prf .prf-panel-head .muted {
  color: #6b768a;
}
html[data-theme="light"] .page-prf .prf-live {
  border-color: rgba(5, 150, 105, 0.28);
  background: rgba(5, 150, 105, 0.1);
  color: #047857;
}
html[data-theme="light"] .page-prf .prf-live-dot {
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, .45);
}
html[data-theme="light"] .page-prf .prf-card {
  border-color: rgba(20, 40, 70, 0.1);
  background:
    linear-gradient(145deg, rgba(10, 171, 176, .04), transparent 45%),
    #ffffff;
  box-shadow: 0 6px 18px rgba(15, 30, 55, 0.05);
}
html[data-theme="light"] .page-prf .prf-card:hover {
  border-color: rgba(10, 171, 176, 0.28);
  box-shadow: 0 10px 24px rgba(15, 30, 55, 0.08);
}
html[data-theme="light"] .page-prf .prf-user {
  color: #0f172a;
}
html[data-theme="light"] .page-prf .prf-when {
  color: #6b768a;
}
html[data-theme="light"] .page-prf .prf-amt {
  color: #047857;
}
html[data-theme="light"] .page-prf .prf-avatar {
  color: color-mix(in srgb, var(--prf) 75%, #0f172a);
  background: color-mix(in srgb, var(--prf) 14%, #fff);
  border-color: color-mix(in srgb, var(--prf) 38%, transparent);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--prf) 16%, transparent);
}
html[data-theme="light"] .page-prf .prf-method-pill {
  color: color-mix(in srgb, var(--prf) 55%, #0f172a);
  background: color-mix(in srgb, var(--prf) 12%, #fff);
  border-color: color-mix(in srgb, var(--prf) 32%, transparent);
}
html[data-theme="light"] .page-prf .prf-status {
  color: #047857;
}
html[data-theme="light"] .page-prf .prf-table thead th {
  color: #64748b;
  border-bottom-color: rgba(20, 40, 70, 0.1);
}
html[data-theme="light"] .page-prf .prf-table tbody td {
  color: #243044;
  border-bottom-color: rgba(20, 40, 70, 0.06);
}
html[data-theme="light"] .page-prf .prf-table tbody tr:hover {
  background: rgba(10, 171, 176, 0.05);
}
html[data-theme="light"] .page-prf .prf-pager {
  border-top-color: rgba(20, 40, 70, 0.08);
}
html[data-theme="light"] .page-prf .prf-pager a,
html[data-theme="light"] .page-prf .prf-pager span {
  border-color: rgba(20, 40, 70, 0.12);
  color: #334155;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 30, 55, 0.04);
}
html[data-theme="light"] .page-prf .prf-pager a:hover {
  border-color: rgba(5, 150, 105, 0.4);
  color: #047857;
  background: rgba(5, 150, 105, 0.08);
}
html[data-theme="light"] .page-prf .prf-pager .is-on {
  border-color: rgba(5, 150, 105, 0.4);
  background: rgba(5, 150, 105, 0.14);
  color: #047857;
}
html[data-theme="light"] .page-prf .prf-pager-nav {
  color: #047857 !important;
}
html[data-theme="light"] .page-prf .prf-empty {
  border-color: rgba(5, 150, 105, 0.28);
  background:
    radial-gradient(ellipse 70% 60% at 50% 20%, rgba(5, 150, 105, .08), transparent 65%),
    #fff;
}
html[data-theme="light"] .page-prf .prf-empty-ico {
  background: rgba(5, 150, 105, 0.1);
  border-color: rgba(5, 150, 105, 0.25);
  color: #059669;
}
html[data-theme="light"] .page-prf .prf-empty strong {
  color: #0f172a;
}
html[data-theme="light"] .page-prf .prf-cta {
  border-color: rgba(5, 150, 105, 0.25);
  background:
    radial-gradient(ellipse 70% 80% at 100% 50%, rgba(5, 150, 105, .1), transparent 55%),
    linear-gradient(165deg, #ffffff, #f3f8f5);
  box-shadow: 0 12px 28px rgba(15, 30, 55, 0.06);
}
html[data-theme="light"] .page-prf .prf-cta h2 {
  color: #0f172a;
}
html[data-theme="light"] .page-prf .btn-ghost {
  background: #fff;
  border-color: rgba(20, 40, 70, 0.14);
  color: #121a2b;
}
html[data-theme="light"] .page-prf .btn-ghost:hover {
  border-color: rgba(10, 171, 176, 0.4);
  color: #087f84;
  background: rgba(10, 171, 176, 0.06);
}

/* ── Support page (light) ─────────────────────────────── */
html[data-theme="light"] .page-sup .sup-wash {
  background:
    radial-gradient(ellipse 55% 50% at 16% 18%, rgba(10, 171, 176, .12), transparent 58%),
    radial-gradient(ellipse 42% 45% at 92% 72%, rgba(225, 29, 72, .06), transparent 55%),
    radial-gradient(ellipse 50% 35% at 50% 100%, rgba(90, 166, 0, .05), transparent 55%);
}
html[data-theme="light"] .page-sup .sup-grid-bg {
  opacity: .28;
  background-image:
    linear-gradient(rgba(10, 171, 176, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 171, 176, .08) 1px, transparent 1px);
}
html[data-theme="light"] .page-sup .sup-orb-a {
  background: rgba(10, 171, 176, .16);
}
html[data-theme="light"] .page-sup .sup-orb-b {
  background: rgba(225, 29, 72, .08);
}
html[data-theme="light"] .page-sup .sup-kicker {
  color: #0f766e;
}
html[data-theme="light"] .page-sup .sup-title {
  color: #0f172a;
}
html[data-theme="light"] .page-sup .sup-lead {
  color: #5a667c;
}
html[data-theme="light"] .page-sup .sup-quick-chip {
  border-color: rgba(10, 171, 176, 0.22);
  background: #fff;
  color: #087f84;
  box-shadow: 0 4px 12px rgba(15, 30, 55, 0.05);
}
html[data-theme="light"] .page-sup .sup-quick-chip:hover {
  background: rgba(10, 171, 176, 0.1);
  border-color: rgba(10, 171, 176, 0.4);
  color: #065f63;
}
html[data-theme="light"] .page-sup .sup-card {
  border-color: rgba(20, 40, 70, 0.1);
  background: linear-gradient(165deg, #ffffff, #f4f8fb);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 40px rgba(15, 30, 55, 0.08);
}
html[data-theme="light"] .page-sup .sup-card::before {
  background: linear-gradient(90deg, transparent, #0aabb0, #7ccf2a, transparent);
}
html[data-theme="light"] .page-sup .sup-card-title {
  color: #0f172a;
}
html[data-theme="light"] .page-sup .sup-card-title i {
  color: #087f84;
}
html[data-theme="light"] .page-sup .sup-card-sub {
  color: #6b768a;
}
html[data-theme="light"] .page-sup .sup-field label {
  color: #334155;
}
html[data-theme="light"] .page-sup .sup-input > i {
  color: #0aabb0;
  opacity: .85;
}
html[data-theme="light"] .page-sup .sup-input .form-control {
  background: #fff;
  border-color: rgba(20, 40, 70, 0.14);
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 30, 55, 0.03);
}
html[data-theme="light"] .page-sup .sup-input .form-control::placeholder {
  color: #94a3b8;
}
html[data-theme="light"] .page-sup .sup-input .form-control:focus {
  background: #fff;
  border-color: rgba(10, 171, 176, 0.5);
  box-shadow: 0 0 0 3px rgba(10, 171, 176, 0.12);
}
html[data-theme="light"] .page-sup .sup-select-trigger {
  background: #fff;
  border-color: rgba(20, 40, 70, 0.14);
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 30, 55, 0.03);
}
html[data-theme="light"] .page-sup .sup-select-trigger:hover,
html[data-theme="light"] .page-sup .sup-select.is-open .sup-select-trigger {
  background: #fff;
  border-color: rgba(10, 171, 176, 0.5);
  box-shadow: 0 0 0 3px rgba(10, 171, 176, 0.12);
}
html[data-theme="light"] .page-sup .sup-select-caret {
  color: #64748b;
}
html[data-theme="light"] .page-sup .sup-select.is-open .sup-select-caret {
  color: #087f84;
}
html[data-theme="light"] .page-sup .sup-select-menu {
  border-color: rgba(10, 171, 176, 0.22);
  background: linear-gradient(165deg, #ffffff, #f5f8fc);
  box-shadow: 0 16px 36px rgba(15, 30, 55, 0.12);
}
html[data-theme="light"] .page-sup .sup-select-option {
  color: #243044;
}
html[data-theme="light"] .page-sup .sup-select-option:hover {
  background: color-mix(in srgb, var(--topic-c, #0aabb0) 12%, #fff);
  color: #0f172a;
}
html[data-theme="light"] .page-sup .sup-select-option.is-selected {
  background: color-mix(in srgb, var(--topic-c, #0aabb0) 14%, #fff);
  color: #0f172a;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--topic-c, #0aabb0) 32%, transparent);
}
html[data-theme="light"] .page-sup .sup-side-card {
  border-color: rgba(10, 171, 176, 0.18);
  background: linear-gradient(160deg, #ffffff, #f4f8fb);
  box-shadow: 0 12px 28px rgba(15, 30, 55, 0.06);
}
html[data-theme="light"] .page-sup .sup-side-title {
  color: #0f172a;
}
html[data-theme="light"] .page-sup .sup-side-title i {
  color: #65a30d;
}
html[data-theme="light"] .page-sup .sup-tips li {
  border-color: rgba(20, 40, 70, 0.08);
  background: #fff;
}
html[data-theme="light"] .page-sup .sup-tip-ico {
  background: rgba(10, 171, 176, 0.1);
  border-color: rgba(10, 171, 176, 0.24);
  color: #087f84;
}
html[data-theme="light"] .page-sup .sup-tips strong {
  color: #0f172a;
}
html[data-theme="light"] .page-sup .sup-tips em {
  color: #6b768a;
}
html[data-theme="light"] .page-sup .sup-side-links a {
  border-color: rgba(20, 40, 70, 0.12);
  background: #fff;
  color: #334155;
  box-shadow: 0 2px 8px rgba(15, 30, 55, 0.04);
}
html[data-theme="light"] .page-sup .sup-side-links a:hover {
  border-color: rgba(10, 171, 176, 0.35);
  color: #087f84;
  background: rgba(10, 171, 176, 0.06);
}

/* ── Auth pages: login / register (light) ──────────────── */
html[data-theme="light"] .page-auth .auth-wash {
  background:
    radial-gradient(ellipse 55% 55% at 18% 30%, rgba(10, 171, 176, .12), transparent 60%),
    radial-gradient(ellipse 45% 50% at 88% 70%, rgba(225, 29, 72, .06), transparent 58%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(90, 166, 0, .05), transparent 55%);
}
html[data-theme="light"] .page-auth .auth-grid {
  opacity: .28;
  background-image:
    linear-gradient(rgba(10, 171, 176, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 171, 176, .08) 1px, transparent 1px);
}
html[data-theme="light"] .page-auth .auth-orb-a {
  background: rgba(10, 171, 176, .16);
}
html[data-theme="light"] .page-auth .auth-orb-b {
  background: rgba(225, 29, 72, .08);
}
html[data-theme="light"] .page-auth .auth-card {
  border-color: rgba(20, 40, 70, 0.1);
  background: linear-gradient(165deg, #ffffff, #f4f8fb);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 20px 44px rgba(15, 30, 55, 0.1);
}
html[data-theme="light"] .page-auth .auth-card::before {
  background: linear-gradient(90deg, transparent, #0aabb0, #7ccf2a, transparent);
}
html[data-theme="light"] .page-auth .auth-card-kicker {
  color: #087f84;
}
html[data-theme="light"] .page-auth .auth-card-title {
  color: #0f172a;
}
html[data-theme="light"] .page-auth .auth-card-sub {
  color: #5a667c;
}
html[data-theme="light"] .page-auth .auth-field label {
  color: #334155;
}
html[data-theme="light"] .page-auth .auth-forgot {
  color: #64748b;
}
html[data-theme="light"] .page-auth .auth-forgot:hover {
  color: #087f84;
}
html[data-theme="light"] .page-auth .auth-optional {
  color: #64748b;
}
html[data-theme="light"] .page-auth .auth-input > i {
  color: #0aabb0;
  opacity: .9;
}
html[data-theme="light"] .page-auth .auth-input .form-control {
  background: #fff;
  border-color: rgba(20, 40, 70, 0.14);
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 30, 55, 0.03);
}
html[data-theme="light"] .page-auth .auth-input .form-control::placeholder {
  color: #94a3b8;
}
html[data-theme="light"] .page-auth .auth-input .form-control:focus {
  background: #fff;
  border-color: rgba(10, 171, 176, 0.5);
  box-shadow: 0 0 0 3px rgba(10, 171, 176, 0.12);
}
html[data-theme="light"] .page-auth .auth-eye {
  color: #64748b;
}
html[data-theme="light"] .page-auth .auth-eye:hover,
html[data-theme="light"] .page-auth .auth-eye.is-on {
  color: #087f84;
  background: rgba(10, 171, 176, 0.1);
}
html[data-theme="light"] .page-auth .btn-auth-submit {
  color: #062018;
  background: linear-gradient(135deg, #b8e85a 0%, #0aabb0 55%, #0891b2 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .35) inset,
    0 8px 22px rgba(10, 171, 176, .22);
}
html[data-theme="light"] .page-auth .btn-auth-submit:hover {
  color: #062018;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .4) inset,
    0 12px 28px rgba(10, 171, 176, .28);
}
html[data-theme="light"] .page-auth .auth-card-foot {
  border-top-color: rgba(20, 40, 70, 0.1);
  color: #5a667c;
}
html[data-theme="light"] .page-auth .auth-foot-link {
  color: #087f84;
  border-color: rgba(10, 171, 176, 0.22);
  background: rgba(10, 171, 176, 0.08);
}
html[data-theme="light"] .page-auth .auth-foot-link:hover {
  background: rgba(10, 171, 176, 0.14);
  border-color: rgba(10, 171, 176, 0.4);
  color: #065f63;
}
html[data-theme="light"] .page-auth .pw-meter-bar {
  background: rgba(20, 40, 70, 0.1);
}
html[data-theme="light"] .page-auth .pw-meter-label {
  color: #64748b;
}
html[data-theme="light"] .page-auth .pw-meter[data-level="3"] .pw-meter-label {
  color: #0aabb0;
}
html[data-theme="light"] .page-auth .pw-meter[data-level="4"] .pw-meter-label {
  color: #65a30d;
}
html[data-theme="light"] .page-auth .pw-tips li {
  border-color: rgba(20, 40, 70, 0.1);
  background: #fff;
  color: #64748b;
}
html[data-theme="light"] .page-auth .pw-tips li i {
  color: rgba(20, 40, 70, 0.28);
}
html[data-theme="light"] .page-auth .pw-tips li.is-ok {
  color: #3f6212;
  border-color: rgba(90, 166, 0, 0.3);
  background: rgba(184, 255, 60, 0.14);
}
html[data-theme="light"] .page-auth .pw-tips li.is-ok i {
  color: #65a30d;
}
html[data-theme="light"] .page-auth .pw-match.is-ok {
  color: #047857;
}
html[data-theme="light"] .page-auth .pw-match.is-bad {
  color: #dc2626;
}
html[data-theme="light"] .page-auth .alert-error {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.28);
  color: #b91c1c;
}
html[data-theme="light"] .page-auth .alert-success {
  background: rgba(5, 150, 105, 0.1);
  border-color: rgba(5, 150, 105, 0.28);
  color: #047857;
}

/* ── Header balance pills (logged-in) ─────────────────── */
html[data-theme="light"] .bal-pill {
  background: linear-gradient(145deg, #ffffff, #f3f7fb);
  border-color: rgba(20, 40, 70, 0.12);
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 30, 55, 0.05);
}
html[data-theme="light"] .bal-pill.buy {
  border-color: rgba(10, 171, 176, 0.3);
}
html[data-theme="light"] .bal-pill.buy i,
html[data-theme="light"] .bal-pill.buy .val { color: #087f84; }
html[data-theme="light"] .bal-pill.earn {
  border-color: rgba(5, 150, 105, 0.3);
}
html[data-theme="light"] .bal-pill.earn i,
html[data-theme="light"] .bal-pill.earn .val { color: #047857; }
html[data-theme="light"] .btn-logout { color: #64748b; }
html[data-theme="light"] .btn-logout:hover { color: #0f172a; }

/* ── Dashboard (light) ────────────────────────────────── */
html[data-theme="light"] .page-dash .dash-aurora {
  background:
    radial-gradient(ellipse 55% 40% at 10% 0%, rgba(10, 171, 176, .12), transparent 55%),
    radial-gradient(ellipse 40% 35% at 90% 8%, rgba(225, 29, 72, .06), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(90, 166, 0, .05), transparent 55%);
}
html[data-theme="light"] .page-dash .dash-kicker { color: #087f84; }
html[data-theme="light"] .page-dash .dash-title {
  background: linear-gradient(115deg, #0f172a 10%, #0aabb0 52%, #65a30d 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-theme="light"] .page-dash .dash-lead-rank {
  border-color: rgba(10, 171, 176, 0.24);
  background: rgba(10, 171, 176, 0.1);
  color: #0f766e;
}
html[data-theme="light"] .page-dash .dash-lead-rank strong { color: #0f172a; }
html[data-theme="light"] .page-dash .dash-lead-copy { color: #5a667c; }
html[data-theme="light"] .page-dash .dash-lead-copy.is-limit { color: #be123c; }
html[data-theme="light"] .page-dash .dash-chip {
  border-color: rgba(20, 40, 70, 0.1);
  background: #fff;
  color: #243044;
  box-shadow: 0 2px 8px rgba(15, 30, 55, 0.04);
}
html[data-theme="light"] .page-dash .dash-chip i { color: #0aabb0; }
html[data-theme="light"] .page-dash .dash-chip.is-warn {
  border-color: rgba(225, 29, 72, 0.28);
  color: #be123c;
}
html[data-theme="light"] .page-dash .dash-chip--link {
  border-color: rgba(10, 171, 176, 0.28);
  background: rgba(10, 171, 176, 0.08);
  color: #087f84;
}
html[data-theme="light"] .page-dash .dash-chip--link:hover {
  color: #065f63;
  border-color: rgba(10, 171, 176, 0.45);
}
html[data-theme="light"] .page-dash .btn-ghost {
  background: #fff;
  border-color: rgba(20, 40, 70, 0.14);
  color: #121a2b;
}
html[data-theme="light"] .page-dash .btn-ghost:hover {
  border-color: rgba(10, 171, 176, 0.4);
  color: #087f84;
  background: rgba(10, 171, 176, 0.06);
}
html[data-theme="light"] .page-dash .dash-ref-mini {
  border-color: rgba(15, 30, 55, .1);
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 30, 55, .06);
}
html[data-theme="light"] .page-dash .dash-ref-mini-link { color: #122033; }
html[data-theme="light"] .page-dash .dash-ref-mini-ico {
  background: rgba(10, 171, 176, .12);
  color: #0a8f94;
}
html[data-theme="light"] .page-dash .dash-pulse {
  border-color: rgba(10, 171, 176, 0.22);
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(10, 171, 176, .1), transparent 55%),
    linear-gradient(165deg, #ffffff, #f3f7fb);
  box-shadow: 0 14px 32px rgba(15, 30, 55, 0.08);
}
html[data-theme="light"] .page-dash .dash-pulse-earn { color: #087f84; }
html[data-theme="light"] .page-dash .dash-pulse-upgrade {
  border-color: rgba(217, 119, 6, 0.4);
  background:
    linear-gradient(145deg, rgba(255, 220, 120, .35), rgba(255, 180, 40, .12)),
    linear-gradient(180deg, #fff8eb, #fff4d6);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.14);
}
html[data-theme="light"] .page-dash .dash-pulse-upgrade-copy strong { color: #92400e; }
html[data-theme="light"] .page-dash .dash-pulse-upgrade-copy small { color: #a16207; }
html[data-theme="light"] .page-dash .dash-meter-track {
  background: rgba(20, 40, 70, 0.1);
}
html[data-theme="light"] .page-dash .dash-meter-meta strong { color: #0f172a; }
html[data-theme="light"] .page-dash .dash-news {
  background: #fff;
  border-color: rgba(20, 40, 70, 0.1);
  box-shadow: 0 8px 20px rgba(15, 30, 55, 0.05);
}
html[data-theme="light"] .page-dash .dash-news-head h2 { color: #101828; }
html[data-theme="light"] .page-dash .dash-news-item strong { color: #121a2b; }
html[data-theme="light"] .page-dash .dash-news-more {
  background: rgba(10, 171, 176, 0.08);
  border-color: rgba(10, 171, 176, 0.28);
  color: #087f84;
}
html[data-theme="light"] .page-dash .dash-news-dlg-head {
  border-bottom-color: rgba(20, 40, 70, 0.08);
  background: linear-gradient(180deg, rgba(10, 171, 176, .08), transparent);
}
html[data-theme="light"] .page-dash .dash-news-dlg-copy h2 { color: #101828; }
html[data-theme="light"] .page-dash .dash-news-view-item + .dash-news-view-item {
  border-color: rgba(20, 40, 70, 0.08);
}
html[data-theme="light"] .page-dash .dash-news-view-item h3,
html[data-theme="light"] .page-dash .dash-news-view-copy strong { color: #121a2b; }
html[data-theme="light"] .page-dash .dash-pulse-next {
  border-color: rgba(20, 40, 70, 0.1);
  background: #fff;
  color: inherit;
}
html[data-theme="light"] .page-dash .dash-pulse-next:hover {
  border-color: rgba(10, 171, 176, 0.35);
  background: rgba(10, 171, 176, 0.06);
}
html[data-theme="light"] .page-dash .dash-pulse-next-copy strong { color: #0f172a; }
html[data-theme="light"] .page-dash .dash-pulse-next-copy span { color: #6b768a; }
html[data-theme="light"] .page-dash .dash-pulse-next-ico {
  background: rgba(10, 171, 176, 0.12);
  color: #087f84;
}

html[data-theme="light"] .page-dash .dash-section-head h2 { color: #0f172a; }
html[data-theme="light"] .page-dash .dash-section-head .muted { color: #6b768a; }
html[data-theme="light"] .page-dash .dash-section-link { color: #087f84; }
html[data-theme="light"] .page-dash .dash-section-link:hover { color: #065f63; }

html[data-theme="light"] .page-dash .dash-wallet-card {
  border-color: rgba(20, 40, 70, 0.1);
  background: linear-gradient(165deg, #ffffff, #f4f8fb);
  box-shadow: 0 10px 24px rgba(15, 30, 55, 0.06);
}
html[data-theme="light"] .page-dash a.dash-wallet-card:hover {
  border-color: rgba(10, 171, 176, 0.35);
  box-shadow: 0 16px 34px rgba(15, 30, 55, 0.1);
}
html[data-theme="light"] .page-dash a.dash-wallet-card:hover .dash-wallet-cta {
  color: #087f84;
}
html[data-theme="light"] .page-dash .dash-wallet-val { color: #0f172a; }
html[data-theme="light"] .page-dash .dash-wallet-val.is-ok { color: #047857; }
html[data-theme="light"] .page-dash .dash-wallet-lbl,
html[data-theme="light"] .page-dash .dash-wallet-hint { color: #6b768a; }
html[data-theme="light"] .page-dash .dash-wallet-cta { color: #087f84; }
html[data-theme="light"] .page-dash .dash-wallet-ico {
  background: rgba(10, 171, 176, 0.12);
  border-color: rgba(10, 171, 176, 0.24);
  color: #087f84;
  box-shadow: 0 4px 12px rgba(10, 171, 176, 0.12);
}
html[data-theme="light"] .page-dash .dash-wallet-card--earn {
  border-color: rgba(5, 150, 105, 0.28);
}
html[data-theme="light"] .page-dash .dash-wallet-card--earn .dash-wallet-ico {
  background: rgba(5, 150, 105, 0.12);
  border-color: rgba(5, 150, 105, 0.28);
  color: #047857;
}
html[data-theme="light"] .page-dash .dash-wallet-card--earn .dash-wallet-cta { color: #047857; }
html[data-theme="light"] .page-dash .dash-wallet-card--today {
  border-color: rgba(101, 163, 13, 0.28);
}
html[data-theme="light"] .page-dash .dash-wallet-card--today .dash-wallet-ico {
  background: rgba(132, 204, 22, 0.14);
  border-color: rgba(101, 163, 13, 0.3);
  color: #3f6212;
}
html[data-theme="light"] .page-dash .dash-wallet-card--today .dash-wallet-cta { color: #4d7c0f; }
html[data-theme="light"] .page-dash .dash-wallet-card--refs {
  border-color: rgba(225, 29, 72, 0.22);
}
html[data-theme="light"] .page-dash .dash-wallet-card--refs .dash-wallet-ico {
  background: rgba(244, 63, 94, 0.1);
  border-color: rgba(225, 29, 72, 0.24);
  color: #be123c;
}
html[data-theme="light"] .page-dash .dash-wallet-card--refs .dash-wallet-cta { color: #be123c; }

html[data-theme="light"] .page-dash .dash-launch-card,
html[data-theme="light"] .page-dash .dash-side-game {
  border-color: rgba(20, 40, 70, 0.1);
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 30, 55, 0.06);
  color: inherit;
}
html[data-theme="light"] .page-dash .dash-launch-card:hover,
html[data-theme="light"] .page-dash .dash-side-game:hover {
  border-color: rgba(10, 171, 176, 0.35);
  box-shadow: 0 14px 30px rgba(15, 30, 55, 0.1);
}
html[data-theme="light"] .page-dash .dash-launch-body h3,
html[data-theme="light"] .page-dash .dash-side-copy strong { color: #0f172a; }
html[data-theme="light"] .page-dash .dash-launch-pay { color: #087f84; }
html[data-theme="light"] .page-dash .dash-side-copy span { color: #6b768a; }
html[data-theme="light"] .page-dash .dash-launch-badge {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(20, 40, 70, 0.14);
  color: #334155;
}
html[data-theme="light"] .page-dash .dash-launch-badge.is-live {
  color: #fff;
  background: #0aabb0;
  border-color: transparent;
}
html[data-theme="light"] .page-dash .dash-side-more {
  border-color: rgba(10, 171, 176, 0.22);
  background: linear-gradient(160deg, #effbf9, #fff);
}
html[data-theme="light"] .page-dash .dash-side-more .dash-side-copy strong { color: #0f172a; }
html[data-theme="light"] .page-dash .dash-side-more .dash-side-copy span { color: #087f84; }
html[data-theme="light"] .page-dash .dash-side-more-ico {
  background: rgba(10, 171, 176, 0.1);
  border-color: rgba(10, 171, 176, 0.28);
  box-shadow: 0 4px 14px rgba(10, 171, 176, 0.12);
}
html[data-theme="light"] .page-dash .dash-empty {
  border-color: rgba(20, 40, 70, 0.16);
  color: #5a667c;
}
html[data-theme="light"] .page-dash .dash-shortcut {
  border-color: rgba(20, 40, 70, 0.1);
  background: #fff;
  color: #243044;
  box-shadow: 0 8px 20px rgba(15, 30, 55, 0.05);
}
html[data-theme="light"] .page-dash .dash-shortcut:hover {
  border-color: rgba(10, 171, 176, 0.35);
  color: #0f172a;
}
html[data-theme="light"] .page-dash .dash-shortcut-ico {
  background: rgba(10, 171, 176, 0.1);
  border-color: rgba(10, 171, 176, 0.22);
  color: #087f84;
}

html[data-theme="light"] .page-dash .dash-invite-panel {
  border-color: rgba(20, 40, 70, 0.1);
  background: linear-gradient(165deg, #ffffff, #f4f8fb);
  box-shadow: 0 14px 32px rgba(15, 30, 55, 0.07);
}
html[data-theme="light"] .page-dash .dash-invite-hero {
  background:
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(10, 171, 176, .12), transparent 55%),
    linear-gradient(165deg, #f7fcfb, #ffffff);
  border-right-color: rgba(20, 40, 70, 0.08);
}
html[data-theme="light"] .page-dash .dash-invite-main {
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(101, 163, 13, .06), transparent 50%),
    linear-gradient(165deg, #ffffff, #f4f8fb);
}
html[data-theme="light"] .page-dash .dash-invite-hud-label { color: #087f84; }
html[data-theme="light"] .page-dash .dash-invite-stat-ico {
  background: rgba(10, 171, 176, 0.1);
  border-color: rgba(10, 171, 176, 0.25);
  color: #087f84;
  box-shadow: 0 4px 12px rgba(10, 171, 176, 0.1);
}
html[data-theme="light"] .page-dash .dash-invite-kicker { color: #087f84; }
html[data-theme="light"] .page-dash .dash-invite-live {
  border-color: rgba(10, 171, 176, 0.3);
  background: rgba(10, 171, 176, 0.1);
  color: #0f766e;
}
html[data-theme="light"] .page-dash .dash-invite-mode {
  border-color: rgba(101, 163, 13, 0.35);
  background: rgba(184, 255, 60, 0.16);
  color: #3f6212;
}
html[data-theme="light"] .page-dash .dash-invite-avatar {
  background: linear-gradient(145deg, rgba(10, 171, 176, .18), rgba(225, 29, 72, .08));
  border-color: rgba(10, 171, 176, 0.3);
  color: #087f84;
  box-shadow: 0 6px 16px rgba(10, 171, 176, 0.14);
}
html[data-theme="light"] .page-dash .dash-invite-hero h3 { color: #0f172a; }
html[data-theme="light"] .page-dash .dash-invite-hero p { color: #5a667c; }
html[data-theme="light"] .page-dash .dash-invite-tier {
  border-color: rgba(20, 40, 70, 0.1);
  background: #fff;
}
html[data-theme="light"] .page-dash .dash-invite-tier strong { color: #0f172a; }
html[data-theme="light"] .page-dash .dash-invite-stat {
  border-color: rgba(20, 40, 70, 0.1);
  background: #fff;
}
html[data-theme="light"] .page-dash .dash-invite-stat strong { color: #0f172a; }
html[data-theme="light"] .page-dash .dash-invite-stat span { color: #6b768a; }
html[data-theme="light"] .page-dash .dash-invite-lbl { color: #334155; }
html[data-theme="light"] .page-dash .dash-invite-input {
  background: #fff;
  border-color: rgba(20, 40, 70, 0.14);
  color: #0f172a;
}
html[data-theme="light"] .page-dash .dash-invite-input:focus {
  border-color: rgba(10, 171, 176, 0.5);
  box-shadow: 0 0 0 3px rgba(10, 171, 176, 0.12);
}

html[data-theme="light"] .page-dash .dash-how-btn {
  color: #0f172a;
  border-color: rgba(10, 171, 176, 0.28);
  background: #fff;
  box-shadow: 0 4px 12px rgba(15, 30, 55, 0.06);
}
html[data-theme="light"] .page-dash .dash-how::backdrop {
  background: rgba(15, 30, 55, 0.45);
}
html[data-theme="light"] .page-dash .dash-how-card {
  border-color: rgba(20, 40, 70, 0.12);
  background: linear-gradient(165deg, #ffffff, #f4f8fb);
  color: #0f172a;
}
html[data-theme="light"] .page-dash .dash-how-kicker { color: #087f84; }
html[data-theme="light"] .page-dash .dash-how-head h2 { color: #0f172a; }
html[data-theme="light"] .page-dash .dash-how-close {
  color: #64748b;
  background: rgba(20, 40, 70, 0.06);
}
html[data-theme="light"] .page-dash .dash-how-close:hover {
  color: #0f172a;
  background: rgba(20, 40, 70, 0.1);
}
html[data-theme="light"] .page-dash .dash-how-step {
  border-color: rgba(20, 40, 70, 0.1);
  background: #fff;
}
html[data-theme="light"] .page-dash .dash-how-step h3 { color: #0f172a; }
html[data-theme="light"] .page-dash .dash-how-step p { color: #5a667c; }
html[data-theme="light"] .page-dash .dash-how-step p strong { color: #0f172a; }
html[data-theme="light"] .page-dash .dash-how-step p a { color: #087f84; }
html[data-theme="light"] .page-dash .dash-how-step p a:hover { color: #065f63; }
html[data-theme="light"] .page-dash .dash-how-tiers .is-t1 {
  background: rgba(10, 171, 176, 0.12);
  border-color: rgba(10, 171, 176, 0.28);
  color: #0f766e;
}
html[data-theme="light"] .page-dash .dash-how-tiers .is-t2 {
  background: rgba(101, 163, 13, 0.12);
  border-color: rgba(101, 163, 13, 0.28);
  color: #3f6212;
}
html[data-theme="light"] .page-dash .dash-how-tiers .is-t3 {
  background: rgba(225, 29, 72, 0.1);
  border-color: rgba(225, 29, 72, 0.24);
  color: #be123c;
}
html[data-theme="light"] .page-dash .dash-how-foot {
  border-top-color: rgba(20, 40, 70, 0.1);
}

html[data-theme="light"] .mobile-cta {
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid rgba(20, 40, 70, 0.1);
  box-shadow: 0 -8px 24px rgba(15, 30, 55, 0.08);
}

/* ── Games hub (light) ────────────────────────────────── */
html[data-theme="light"] .page-games .games-aurora {
  background:
    radial-gradient(ellipse 52% 38% at 8% 0%, rgba(10, 171, 176, .12), transparent 55%),
    radial-gradient(ellipse 42% 32% at 92% 6%, rgba(217, 119, 6, .07), transparent 52%),
    radial-gradient(ellipse 48% 36% at 48% 100%, rgba(90, 166, 0, .05), transparent 55%);
}
html[data-theme="light"] .page-games .games-kicker { color: #087f84; }
html[data-theme="light"] .page-games .games-title {
  background: linear-gradient(115deg, #0f172a 10%, #0aabb0 48%, #d97706 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-theme="light"] .page-games .games-lead { color: #5a667c; }
html[data-theme="light"] .page-games .games-section-head h2 { color: #0f172a; }

html[data-theme="light"] .page-games .games-stat {
  border-color: rgba(20, 40, 70, 0.1);
  background: linear-gradient(165deg, #ffffff, #f3f7fb);
  box-shadow: 0 10px 24px rgba(15, 30, 55, 0.06);
}
html[data-theme="light"] .page-games .games-free-plays {
  color: #04221c;
  box-shadow: 0 6px 14px rgba(10, 171, 176, .22);
}
html[data-theme="light"] .page-games .games-stat--play {
  border-color: rgba(10, 171, 176, 0.28);
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(10, 171, 176, .1), transparent 55%),
    linear-gradient(165deg, #ffffff, #f3f7fb);
}
html[data-theme="light"] .page-games .games-stat--gold {
  border-color: rgba(217, 119, 6, 0.3);
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(255, 200, 87, .14), transparent 55%),
    linear-gradient(165deg, #fffaf0, #fff4e0);
}
html[data-theme="light"] .page-games .games-stat strong { color: #0f172a; }
html[data-theme="light"] .page-games .games-stat--gold strong { color: #92400e; }
html[data-theme="light"] .page-games .games-stat-hint { color: #6b768a; }

html[data-theme="light"] .page-games .games-upgrade {
  border-color: rgba(217, 119, 6, 0.4);
  background:
    linear-gradient(145deg, rgba(255, 220, 120, .35), rgba(255, 180, 40, .12)),
    linear-gradient(180deg, #fff8eb, #fff4d6);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.14);
}
html[data-theme="light"] .page-games .games-upgrade:hover {
  border-color: rgba(217, 119, 6, 0.6);
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.2);
}
html[data-theme="light"] .page-games .games-upgrade-copy strong { color: #92400e; }
html[data-theme="light"] .page-games .games-upgrade-copy small { color: #a16207; }
html[data-theme="light"] .page-games .games-upgrade > .bi-chevron-right { color: #b45309; }

html[data-theme="light"] .page-games .games-feature {
  border-color: rgba(10, 171, 176, 0.22);
  background: linear-gradient(160deg, #ffffff, #f4f8fb);
  box-shadow: 0 14px 32px rgba(15, 30, 55, 0.08);
}
html[data-theme="light"] .page-games .games-feature-media { background: #e8eef5; }
html[data-theme="light"] .page-games .games-feature-media::after {
  background: linear-gradient(90deg, transparent 40%, rgba(255, 255, 255, .75) 100%);
}
@media (max-width: 900px) {
  html[data-theme="light"] .page-games .games-feature-media::after {
    background: linear-gradient(180deg, transparent 35%, rgba(255, 255, 255, .88) 100%);
  }
}
html[data-theme="light"] .page-games .games-feature-copy h2 { color: #0f172a; }
html[data-theme="light"] .page-games .games-feature-copy p { color: #5a667c; }
html[data-theme="light"] .page-games .games-feature-meta span {
  border-color: rgba(20, 40, 70, 0.1);
  background: #fff;
  color: #334155;
}
html[data-theme="light"] .page-games .games-feature-reward { color: #4d7c0f; }
html[data-theme="light"] .page-games .games-empty {
  border-color: rgba(20, 40, 70, 0.16);
  color: #6b768a;
}

html[data-theme="light"] .page-games .game-card {
  background: linear-gradient(160deg, #ffffff, #f4f8fb);
  border-color: rgba(20, 40, 70, 0.1);
  box-shadow: 0 10px 24px rgba(15, 30, 55, 0.06);
}
html[data-theme="light"] .page-games .game-card:hover {
  border-color: rgba(10, 171, 176, 0.38);
  box-shadow: 0 16px 34px rgba(15, 30, 55, 0.1), 0 0 0 1px rgba(10, 171, 176, 0.08);
}
html[data-theme="light"] .page-games .game-thumb {
  background: linear-gradient(160deg, #e8eef5, #f7fafc);
}
html[data-theme="light"] .page-games .game-thumb--cover::before {
  background:
    linear-gradient(180deg, transparent 45%, rgba(15, 30, 55, .35) 100%),
    linear-gradient(90deg, rgba(10, 171, 176, .08), transparent 40%, rgba(225, 29, 72, .08));
}
html[data-theme="light"] .page-games .game-thumb-play {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(10, 171, 176, 0.45);
  color: #087f84;
  box-shadow: 0 8px 22px rgba(15, 30, 55, 0.16);
}
html[data-theme="light"] .page-games .game-badge {
  background: rgba(225, 29, 72, 0.1);
  color: #be123c;
  border-color: rgba(225, 29, 72, 0.28);
}
html[data-theme="light"] .page-games .game-badge--live {
  background: rgba(101, 163, 13, 0.14);
  color: #3f6212;
  border-color: rgba(101, 163, 13, 0.35);
  box-shadow: 0 4px 12px rgba(90, 166, 0, 0.14);
}
html[data-theme="light"] .page-games .game-badge--soon {
  background: rgba(217, 119, 6, 0.12);
  color: #b45309;
  border-color: rgba(217, 119, 6, 0.35);
}
html[data-theme="light"] .page-games .game-body h3 { color: #0f172a; }
html[data-theme="light"] .page-games .game-reward { color: #4d7c0f; }

/* Shared limit upsell banner (games + other logged-in pages) */
html[data-theme="light"] .limit-upsell {
  border-color: rgba(10, 171, 176, 0.28);
  background:
    radial-gradient(ellipse 50% 120% at 0% 50%, rgba(225, 29, 72, .06), transparent 55%),
    linear-gradient(110deg, #ffffff, #f3f8fb 55%, #eefaf7);
  box-shadow: 0 10px 24px rgba(15, 30, 55, 0.07);
}
html[data-theme="light"] .limit-upsell--vacation {
  border-color: rgba(225, 29, 72, 0.28);
  background:
    radial-gradient(ellipse 50% 120% at 0% 50%, rgba(225, 29, 72, .08), transparent 55%),
    linear-gradient(110deg, #fff7f9, #f4f8fb 55%, #eef6fb);
}
html[data-theme="light"] .limit-upsell-badge {
  color: #be123c;
  border-color: rgba(225, 29, 72, 0.3);
  background: rgba(225, 29, 72, 0.08);
}
html[data-theme="light"] .limit-upsell-hook {
  border-color: rgba(10, 171, 176, 0.22);
  background: linear-gradient(105deg, rgba(10, 171, 176, .08), rgba(101, 163, 13, .06) 55%, #fff);
  box-shadow: none;
}
html[data-theme="light"] .limit-upsell-hook span { color: #5a667c; }
html[data-theme="light"] .limit-upsell-hook b {
  background: linear-gradient(115deg, #0f172a 10%, #0aabb0 55%, #5aa600 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-theme="light"] .limit-upsell-cta--ghost {
  background: rgba(20, 40, 70, 0.04);
  border-color: rgba(20, 40, 70, 0.12);
  color: #334155;
  box-shadow: none;
}
html[data-theme="light"] .limit-upsell-cta--ghost:hover {
  color: #087f84;
  border-color: rgba(10, 171, 176, 0.4);
}

/* ── Play page chrome (light) ─────────────────────────── */
html[data-theme="light"] .page-play .page-head h1 { color: #0f172a; }

html[data-theme="light"] .page-play .tr-mobile-launch {
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(10, 171, 176, .1), transparent 55%),
    linear-gradient(160deg, #ffffff, #f3f7fb);
  border-color: rgba(20, 40, 70, 0.1);
  box-shadow: 0 14px 32px rgba(15, 30, 55, 0.08);
}
html[data-theme="light"] .page-play .tr-mobile-launch-thumb { background: #e8eef5; }
html[data-theme="light"] .page-play .tr-mobile-launch-thumb::after {
  background: linear-gradient(180deg, transparent 40%, rgba(15, 30, 55, .28) 100%);
}
html[data-theme="light"] .page-play .tr-mobile-launch-title { color: #0f172a; }
html[data-theme="light"] .page-play .tr-mobile-launch-badge {
  color: #fff;
  background: #65a30d;
  box-shadow: 0 4px 12px rgba(90, 166, 0, 0.25);
}

html[data-theme="light"] .page-play .tr-playbox-hub {
  border-color: rgba(10, 171, 176, 0.28);
  background: rgba(10, 171, 176, 0.1);
  color: #087f84;
}
html[data-theme="light"] .page-play .tr-playbox-hub:hover {
  background: rgba(10, 171, 176, 0.16);
  color: #065f63;
}
html[data-theme="light"] .page-play .tr-playbox-title { color: #087f84; }
html[data-theme="light"] .page-play .tr-playbox-earn {
  border-color: rgba(217, 119, 6, 0.45);
  background:
    radial-gradient(circle at 12% 20%, rgba(251, 191, 36, .35), transparent 42%),
    radial-gradient(circle at 88% 80%, rgba(10, 171, 176, .22), transparent 46%),
    linear-gradient(135deg, #2a1848 0%, #12324a 45%, #0d3b32 100%);
  color: #fff8e7;
  box-shadow: 0 4px 16px rgba(15, 30, 55, 0.18), 0 0 16px rgba(245, 158, 11, 0.18);
}
html[data-theme="light"] .page-play .tr-playbox-earn > i {
  background: linear-gradient(160deg, #ffe08a 0%, #f59e0b 100%);
  color: #3b2200;
}
html[data-theme="light"] .page-play .tr-playbox-earn-meta em {
  color: #ffe6a3;
}
html[data-theme="light"] .page-play .tr-playbox-earn-meta strong {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
html[data-theme="light"] .page-play .tr-playbox-earn-delta {
  color: #d97706;
  text-shadow: none;
}
html[data-theme="light"] .page-play .tr-playbox-close {
  background: #fff;
  border-color: rgba(20, 40, 70, 0.12);
  color: #334155;
}
html[data-theme="light"] .page-play .tr-playbox-close:hover {
  border-color: rgba(225, 29, 72, 0.35);
  color: #be123c;
}

html[data-theme="light"] .page-play .tr-hud {
  border-color: rgba(10, 171, 176, 0.22);
  background: linear-gradient(180deg, #ffffff, #f3f7fb);
  box-shadow: 0 10px 24px rgba(15, 30, 55, 0.07);
}
html[data-theme="light"] .page-play .tr-hud.is-goal {
  border-color: rgba(101, 163, 13, 0.4);
  box-shadow: 0 10px 24px rgba(90, 166, 0, 0.1);
}
html[data-theme="light"] .page-play .tr-hud-chip {
  border-color: rgba(20, 40, 70, 0.1);
  background: #fff;
}
html[data-theme="light"] .page-play .tr-hud-chip > i { color: #087f84; }
html[data-theme="light"] .page-play .tr-hud-main {
  border-color: rgba(10, 171, 176, 0.28);
  background: rgba(10, 171, 176, 0.08);
}
html[data-theme="light"] .page-play .tr-hud.is-goal .tr-hud-main {
  border-color: rgba(101, 163, 13, 0.4);
  background: rgba(101, 163, 13, 0.1);
}
html[data-theme="light"] .page-play .tr-hud-score {
  color: #087f84;
  text-shadow: none;
}
html[data-theme="light"] .page-play .tr-hud.is-goal .tr-hud-score {
  color: #4d7c0f;
  text-shadow: none;
}
html[data-theme="light"] .page-play .tr-hud-bar {
  background: rgba(20, 40, 70, 0.1);
}
html[data-theme="light"] .page-play .tr-hud-time.is-warn {
  border-color: rgba(217, 119, 6, 0.4);
  background: rgba(217, 119, 6, 0.1);
}
html[data-theme="light"] .page-play .tr-hud-time.is-danger {
  border-color: rgba(225, 29, 72, 0.4);
  background: rgba(225, 29, 72, 0.08);
}
html[data-theme="light"] .page-play .tr-hud-time.is-danger > i,
html[data-theme="light"] .page-play .tr-hud-time.is-danger .tr-stat-value { color: #be123c; }
html[data-theme="light"] .page-play .tr-hud-heat.is-hot {
  border-color: rgba(234, 88, 12, 0.35);
  background: rgba(234, 88, 12, 0.08);
}
html[data-theme="light"] .page-play .tr-hud-heat.is-hot > i,
html[data-theme="light"] .page-play .tr-hud-heat.is-hot .tr-stat-value { color: #c2410c; }
html[data-theme="light"] .page-play .tr-hud-heat.is-max {
  border-color: rgba(225, 29, 72, 0.4);
  background: rgba(225, 29, 72, 0.08);
}
html[data-theme="light"] .page-play .tr-hud-heat.is-max > i,
html[data-theme="light"] .page-play .tr-hud-heat.is-max .tr-stat-value { color: #be123c; }

html[data-theme="light"] .page-play .tr-stage {
  border-color: rgba(10, 171, 176, 0.28);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .4) inset,
    0 16px 36px rgba(15, 30, 55, .14);
}

html[data-theme="light"] .page-play .tr-overlay {
  background: rgba(15, 30, 55, 0.45);
}
html[data-theme="light"] .page-play .tr-overlay-card {
  background: linear-gradient(165deg, #ffffff, #f4f8fb);
  border-color: rgba(10, 171, 176, 0.28);
  box-shadow: 0 20px 48px rgba(15, 30, 55, 0.18);
  color: #0f172a;
}
html[data-theme="light"] .page-play .tr-overlay-card[data-mode="intro"] {
  border-color: rgba(10, 171, 176, 0.32);
  background:
    radial-gradient(circle at 50% 0%, rgba(10, 171, 176, .1), transparent 45%),
    linear-gradient(165deg, #ffffff, #f4f8fb);
}
html[data-theme="light"] .page-play .tr-overlay-card[data-mode="intro"] .tr-kicker {
  border-color: rgba(10, 171, 176, 0.22);
  background: rgba(10, 171, 176, 0.08);
  color: #087f84;
}
html[data-theme="light"] .page-play .tr-overlay-card[data-mode="intro"] .tr-title { color: #0f172a; }
html[data-theme="light"] .page-play .tr-kicker { color: #087f84; }
html[data-theme="light"] .page-play .tr-title { color: #0f172a; }
html[data-theme="light"] .page-play .tr-score-pill {
  border-color: rgba(20, 40, 70, 0.12);
  background: #fff;
}
html[data-theme="light"] .page-play .tr-score-pill.is-win {
  border-color: rgba(101, 163, 13, 0.4);
  background: linear-gradient(180deg, rgba(101, 163, 13, .12), rgba(101, 163, 13, .04));
  box-shadow: none;
}
html[data-theme="light"] .page-play .tr-score-pill.is-lose {
  border-color: rgba(225, 29, 72, 0.35);
  background: linear-gradient(180deg, rgba(225, 29, 72, .1), rgba(225, 29, 72, .04));
}
html[data-theme="light"] .page-play .tr-score-pill.is-lose strong { color: #be123c; }
html[data-theme="light"] .page-play .tr-howto span {
  border-color: rgba(20, 40, 70, 0.1);
  background: #fff;
  color: #5a667c;
}
html[data-theme="light"] .page-play .tr-grade { color: #334155; }
html[data-theme="light"] .page-play .tr-reward.is-win .tr-grade { color: #3f6212; }
html[data-theme="light"] .page-play .tr-advice { color: #5a667c; }
html[data-theme="light"] .page-play .tr-advice i { color: #64748b; }
html[data-theme="light"] .page-play .tr-earn-main {
  border-color: rgba(10, 171, 176, 0.28);
  background: linear-gradient(135deg, rgba(10, 171, 176, .12) 0%, rgba(10, 171, 176, .04) 48%, #fff 100%);
  box-shadow: 0 8px 20px rgba(15, 30, 55, 0.06);
}
html[data-theme="light"] .page-play .tr-earn[data-outcome="win"] .tr-earn-main {
  border-color: rgba(101, 163, 13, 0.32);
  background: linear-gradient(135deg, rgba(101, 163, 13, .12) 0%, rgba(101, 163, 13, .04) 48%, #fff 100%);
}
html[data-theme="light"] .page-play .tr-earn-label { color: #64748b; }
html[data-theme="light"] .page-play .tr-earn-label i { color: #087f84; }
html[data-theme="light"] .page-play .tr-earn[data-outcome="win"] .tr-earn-label i { color: #4d7c0f; }
html[data-theme="light"] .page-play .tr-earn-amount { color: #087f84; }
html[data-theme="light"] .page-play .tr-earn[data-outcome="win"] .tr-earn-amount { color: #3f6212; }
html[data-theme="light"] .page-play .tr-earn-lines li {
  border-color: rgba(20, 40, 70, 0.1);
  background: #fff;
  color: #5a667c;
}
html[data-theme="light"] .page-play .tr-earn-lines b { color: #0f172a; }
html[data-theme="light"] .page-play .tr-play-ghost {
  border-color: rgba(20, 40, 70, 0.14);
  background: rgba(20, 40, 70, 0.04);
  color: rgba(15, 23, 42, 0.35);
}
html[data-theme="light"] .page-play .tr-play-ghost-label { color: rgba(15, 23, 42, 0.45); }
html[data-theme="light"] .page-play .tr-play-ghost-sub { color: rgba(15, 23, 42, 0.3); }
html[data-theme="light"] .page-play .tr-play-ghost i { color: rgba(190, 18, 60, 0.45); }

html[data-theme="light"] .page-play .tr-aside {
  border-color: rgba(10, 171, 176, 0.2);
  background: linear-gradient(165deg, #ffffff, #f4f8fb);
  box-shadow: 0 12px 28px rgba(15, 30, 55, 0.07);
}
html[data-theme="light"] .page-play .tr-aside-note {
  border-top-color: rgba(20, 40, 70, 0.1);
}
html[data-theme="light"] .page-play .tr-aside-rank-now {
  border-color: rgba(10, 171, 176, 0.28);
  background: rgba(10, 171, 176, 0.08);
}
html[data-theme="light"] .page-play .tr-aside-rank-name { color: #087f84; }
html[data-theme="light"] .page-play .tr-aside-ranks-head {
  border-bottom-color: rgba(10, 171, 176, 0.2);
}
html[data-theme="light"] .page-play .tr-aside-ranks {
  border-color: rgba(10, 171, 176, 0.18);
  background: #fff;
}
html[data-theme="light"] .page-play .tr-aside-rank-row {
  border-bottom-color: rgba(20, 40, 70, 0.06);
}
html[data-theme="light"] .page-play .tr-aside-rank-row:nth-child(odd) {
  background: rgba(15, 30, 55, 0.03);
}
html[data-theme="light"] .page-play .tr-aside-rank-row.is-current {
  background: linear-gradient(90deg, rgba(101, 163, 13, .12), rgba(10, 171, 176, .06));
}
html[data-theme="light"] .page-play .tr-aside-rank-row.is-current .tr-aside-rank-row-name { color: #3f6212; }
html[data-theme="light"] .page-play .tr-aside-rank-row.is-current .tr-aside-upto {
  color: #92400e;
  text-shadow: none;
}
html[data-theme="light"] .page-play .tr-aside-upto {
  color: #4d7c0f;
  text-shadow: none;
}
html[data-theme="light"] .page-play .tr-aside-lvl {
  color: #087f84;
  background: rgba(10, 171, 176, 0.1);
  border-color: rgba(10, 171, 176, 0.24);
}
html[data-theme="light"] .page-play .tr-aside-rank-link {
  border-color: rgba(10, 171, 176, 0.3);
  background: rgba(10, 171, 176, 0.08);
  color: #087f84;
}
html[data-theme="light"] .page-play .tr-aside-rank-link:hover {
  background: rgba(10, 171, 176, 0.14);
  color: #065f63;
}

html[data-theme="light"] .page-play .tr-overlay-card[data-mode="result"] {
  background: linear-gradient(180deg, #ffffff, #f4f8fb);
  border-color: rgba(20, 40, 70, 0.12);
  box-shadow: 0 20px 48px rgba(15, 30, 55, 0.16);
}
html[data-theme="light"] .page-play .tr-overlay-card[data-mode="result"][data-outcome="win"] {
  border-color: rgba(101, 163, 13, 0.32);
  background:
    radial-gradient(ellipse 100% 55% at 50% -5%, rgba(101, 163, 13, .12), transparent 55%),
    linear-gradient(180deg, #ffffff, #f6fbf2);
}
html[data-theme="light"] .page-play .tr-overlay-card[data-mode="result"][data-outcome="lose"],
html[data-theme="light"] .page-play .tr-overlay-card[data-mode="result"][data-outcome="short"] {
  border-color: rgba(225, 29, 72, 0.28);
  background:
    radial-gradient(ellipse 100% 55% at 50% -5%, rgba(225, 29, 72, .08), transparent 55%),
    linear-gradient(180deg, #ffffff, #fdf4f6);
}
html[data-theme="light"] .page-play .tr-overlay-card[data-mode="result"] .tr-kicker {
  background: rgba(20, 40, 70, 0.05);
  border-color: rgba(20, 40, 70, 0.1);
  color: #64748b;
}
html[data-theme="light"] .page-play .tr-overlay-card[data-mode="result"][data-outcome="win"] .tr-kicker {
  color: #3f6212;
  border-color: rgba(101, 163, 13, 0.28);
  background: rgba(101, 163, 13, 0.1);
}
html[data-theme="light"] .page-play .tr-overlay-card[data-mode="result"][data-outcome="lose"] .tr-kicker,
html[data-theme="light"] .page-play .tr-overlay-card[data-mode="result"][data-outcome="short"] .tr-kicker {
  color: #be123c;
  border-color: rgba(225, 29, 72, 0.28);
  background: rgba(225, 29, 72, 0.08);
}
html[data-theme="light"] .page-play .tr-overlay-card[data-mode="result"][data-outcome="win"] .tr-title {
  color: #3f6212;
  text-shadow: none;
}
html[data-theme="light"] .page-play .tr-overlay-card[data-mode="result"][data-outcome="lose"] .tr-title,
html[data-theme="light"] .page-play .tr-overlay-card[data-mode="result"][data-outcome="short"] .tr-title {
  color: #be123c;
  text-shadow: none;
}
html[data-theme="light"] .page-play .tr-overlay-card[data-mode="result"] .tr-copy {
  border-color: rgba(20, 40, 70, 0.1);
  background: rgba(15, 30, 55, 0.03);
  color: #5a667c;
}
html[data-theme="light"] .page-play .tr-overlay-card[data-mode="result"][data-outcome="lose"] .tr-copy,
html[data-theme="light"] .page-play .tr-overlay-card[data-mode="result"][data-outcome="short"] .tr-copy {
  border-color: rgba(225, 29, 72, 0.16);
  background: rgba(225, 29, 72, 0.05);
  color: #9f1239;
}
html[data-theme="light"] .page-play .tr-overlay-card[data-mode="result"][data-outcome="win"] .tr-copy {
  border-color: rgba(101, 163, 13, 0.2);
  background: rgba(101, 163, 13, 0.06);
  color: #3f6212;
}
html[data-theme="light"] .page-play .tr-overlay-card[data-mode="limit"] {
  border-color: rgba(20, 40, 70, 0.14);
  box-shadow: 0 20px 48px rgba(15, 30, 55, 0.16);
}

html[data-theme="light"] .result-win {
  color: #3f6212;
  background: rgba(101, 163, 13, 0.12);
  border-color: rgba(101, 163, 13, 0.35);
}
html[data-theme="light"] .result-play {
  background: rgba(20, 40, 70, 0.05);
}
html[data-theme="light"] .grade-pill.grade-best {
  color: #92400e;
  background: rgba(217, 119, 6, 0.12);
  border-color: rgba(217, 119, 6, 0.35);
}
html[data-theme="light"] .grade-pill.grade-great {
  color: #087f84;
  background: rgba(10, 171, 176, 0.1);
  border-color: rgba(10, 171, 176, 0.35);
}
html[data-theme="light"] .grade-pill.grade-good {
  color: #3f6212;
  background: rgba(101, 163, 13, 0.1);
  border-color: rgba(101, 163, 13, 0.3);
}
html[data-theme="light"] .grade-pill.grade-try {
  color: #be123c;
  background: rgba(225, 29, 72, 0.08);
  border-color: rgba(225, 29, 72, 0.28);
}
html[data-theme="light"] .pager .current {
  background: rgba(10, 171, 176, 0.12);
  color: #087f84;
  border-color: #0aabb0;
}

@media (max-width: 800px) {
  html[data-theme="light"] .page-play .tr-playbox.is-open {
    background:
      radial-gradient(ellipse 80% 40% at 50% -10%, rgba(10, 171, 176, .1), transparent),
      #eef3f8;
    box-shadow: 0 0 0 1px rgba(20, 40, 70, 0.08);
  }
}

/* ── Profile (light) ──────────────────────────────────── */
html[data-theme="light"] .page-profile .prof-aurora {
  background:
    radial-gradient(ellipse 50% 38% at 8% 0%, rgba(10, 171, 176, .12), transparent 55%),
    radial-gradient(ellipse 42% 32% at 92% 6%, rgba(124, 58, 237, .06), transparent 50%),
    radial-gradient(ellipse 48% 36% at 50% 100%, rgba(90, 166, 0, .05), transparent 55%);
}
html[data-theme="light"] .page-profile .prof-kicker { color: #087f84; }
html[data-theme="light"] .page-profile .prof-title { color: #0f172a; }
html[data-theme="light"] .page-profile .prof-avatar-img,
html[data-theme="light"] .page-profile .prof-avatar-fallback {
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .55), transparent 45%),
    linear-gradient(145deg, hsl(var(--prof-hue) 45% 72%), hsl(calc(var(--prof-hue) + 40) 40% 58%));
  border-color: rgba(20, 40, 70, 0.12);
  box-shadow: 0 12px 28px rgba(15, 30, 55, 0.12);
}
html[data-theme="light"] .page-profile .prof-avatar-fallback {
  color: #0f172a;
  text-shadow: none;
}
html[data-theme="light"] .page-profile .prof-avatar-ring {
  border-color: hsl(var(--prof-hue) 55% 42% / .4);
  box-shadow: 0 0 14px hsl(var(--prof-hue) 50% 45% / .12);
}
html[data-theme="light"] .page-profile .prof-rank-pill {
  color: #3f6212;
  background: rgba(101, 163, 13, 0.12);
  border-color: rgba(101, 163, 13, 0.3);
}
html[data-theme="light"] .page-profile .prof-meta-dot { color: rgba(90, 102, 124, 0.55); }

html[data-theme="light"] .page-profile .prof-stat {
  border-color: rgba(20, 40, 70, 0.1);
  background: linear-gradient(165deg, #ffffff, #f4f8fb);
  box-shadow: 0 8px 20px rgba(15, 30, 55, 0.05);
}
html[data-theme="light"] .page-profile .prof-stat:hover {
  border-color: rgba(10, 171, 176, 0.35);
  box-shadow: 0 14px 28px rgba(15, 30, 55, 0.1);
}
html[data-theme="light"] .page-profile .prof-stat-val { color: #0f172a; }
html[data-theme="light"] .page-profile .prof-stat em { color: #6b768a; }
html[data-theme="light"] .page-profile .prof-stat-ico {
  background: rgba(20, 40, 70, 0.04);
  border-color: rgba(20, 40, 70, 0.1);
}
html[data-theme="light"] .page-profile .prof-stat.is-earn .prof-stat-ico {
  color: #047857;
  background: rgba(5, 150, 105, 0.1);
  border-color: rgba(5, 150, 105, 0.28);
}
html[data-theme="light"] .page-profile .prof-stat.is-buy .prof-stat-ico {
  color: #087f84;
  background: rgba(10, 171, 176, 0.1);
  border-color: rgba(10, 171, 176, 0.28);
}
html[data-theme="light"] .page-profile .prof-stat.is-plays .prof-stat-ico {
  color: #be123c;
  background: rgba(225, 29, 72, 0.08);
  border-color: rgba(225, 29, 72, 0.24);
}
html[data-theme="light"] .page-profile .prof-stat.is-refs .prof-stat-ico {
  color: #6d28d9;
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.28);
}

html[data-theme="light"] .page-profile .prof-panel {
  border-color: rgba(20, 40, 70, 0.1);
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(10, 171, 176, .08), transparent 55%),
    linear-gradient(165deg, #ffffff, #f4f8fb);
  box-shadow: 0 12px 28px rgba(15, 30, 55, 0.07);
}
html[data-theme="light"] .page-profile .prof-panel-head h2 { color: #0f172a; }
html[data-theme="light"] .page-profile .prof-panel-link { color: #087f84; }
html[data-theme="light"] .page-profile .prof-panel-link:hover { color: #065f63; }
html[data-theme="light"] .page-profile .prof-fields dd { color: #0f172a; }
html[data-theme="light"] .page-profile .prof-invite {
  border-top-color: rgba(20, 40, 70, 0.1);
}
html[data-theme="light"] .page-profile .prof-invite-ctrl .form-control:focus {
  box-shadow: 0 0 0 3px rgba(10, 171, 176, 0.14);
}

html[data-theme="light"] .page-profile .prof-rank-now {
  background: #fff;
  border-color: rgba(20, 40, 70, 0.1);
}
html[data-theme="light"] .page-profile .prof-rank-now strong { color: #0f172a; }
html[data-theme="light"] .page-profile .prof-rank-next {
  border-color: rgba(10, 171, 176, 0.28);
  background: linear-gradient(120deg, rgba(10, 171, 176, .1), rgba(124, 58, 237, .05));
}
html[data-theme="light"] .page-profile .prof-rank-next.is-max {
  border-color: rgba(101, 163, 13, 0.3);
  background: rgba(101, 163, 13, 0.08);
}
html[data-theme="light"] .page-profile .prof-rank-next-ico {
  background: rgba(10, 171, 176, 0.12);
  color: #087f84;
}
html[data-theme="light"] .page-profile .prof-rank-next strong { color: #0f172a; }
html[data-theme="light"] .page-profile .prof-today > div {
  background: #fff;
  border-color: rgba(20, 40, 70, 0.1);
}
html[data-theme="light"] .page-profile .prof-today strong { color: #0f172a; }

html[data-theme="light"] .page-profile .prof-rail {
  border-color: rgba(20, 40, 70, 0.1);
  background: linear-gradient(165deg, #ffffff, #f4f8fb);
  box-shadow: 0 8px 20px rgba(15, 30, 55, 0.05);
}
html[data-theme="light"] .page-profile .prof-rail-head h2 { color: #0f172a; }
html[data-theme="light"] .page-profile .prof-chip {
  color: #334155;
  border-color: rgba(20, 40, 70, 0.1);
  background: #fff;
}
html[data-theme="light"] .page-profile .prof-chip i { color: #087f84; }
html[data-theme="light"] .page-profile .prof-chip:hover {
  color: #0f172a;
  border-color: rgba(10, 171, 176, 0.35);
  background: rgba(10, 171, 176, 0.08);
}
html[data-theme="light"] .page-profile .prof-help {
  border-color: rgba(20, 40, 70, 0.1);
  background: rgba(15, 30, 55, 0.03);
}
html[data-theme="light"] .page-profile .prof-help-copy strong { color: #0f172a; }
html[data-theme="light"] .page-profile .prof-plays li {
  background: #fff;
  border-color: rgba(20, 40, 70, 0.1);
}
html[data-theme="light"] .page-profile .prof-play-title { color: #0f172a; }
html[data-theme="light"] .page-profile .prof-plays .is-ok { color: #047857; }
html[data-theme="light"] .page-profile .prof-empty { color: #6b768a; }

/* ── Settings (light) ─────────────────────────────────── */
html[data-theme="light"] .page-settings .set-nav {
  border-color: rgba(20, 40, 70, 0.1);
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 30, 55, 0.05);
}
html[data-theme="light"] .page-settings .set-nav a {
  color: rgba(18, 26, 43, 0.72);
}
html[data-theme="light"] .page-settings .set-nav a i { color: #087f84; }
html[data-theme="light"] .page-settings .set-nav a:hover {
  color: #0f172a;
  background: rgba(10, 171, 176, 0.08);
  border-color: rgba(10, 171, 176, 0.16);
}
html[data-theme="light"] .page-settings .set-lock-pill {
  color: #b45309;
  background: rgba(217, 119, 6, 0.12);
  border-color: rgba(217, 119, 6, 0.3);
}
html[data-theme="light"] .page-settings .set-note a { color: #087f84; }
html[data-theme="light"] .page-settings .set-note a:hover { color: #065f63; }
html[data-theme="light"] .page-settings .set-form .form-control:focus {
  box-shadow: 0 0 0 3px rgba(10, 171, 176, 0.14);
}

html[data-theme="light"] .page-settings .set-toggle {
  border-color: rgba(20, 40, 70, 0.1);
  background: #fff;
}
html[data-theme="light"] .page-settings .set-toggle:hover {
  border-color: rgba(10, 171, 176, 0.28);
  background: rgba(10, 171, 176, 0.05);
}
html[data-theme="light"] .page-settings .set-toggle-ui {
  background: rgba(20, 40, 70, 0.12);
  border-color: rgba(20, 40, 70, 0.14);
}
html[data-theme="light"] .page-settings .set-toggle-ui::after {
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 30, 55, 0.18);
}
html[data-theme="light"] .page-settings .set-toggle input:checked + .set-toggle-ui {
  background: rgba(10, 171, 176, 0.35);
  border-color: rgba(10, 171, 176, 0.5);
}
html[data-theme="light"] .page-settings .set-toggle input:checked + .set-toggle-ui::after {
  background: #0aabb0;
}
html[data-theme="light"] .page-settings .set-toggle input:focus-visible + .set-toggle-ui {
  outline-color: rgba(10, 171, 176, 0.45);
}
html[data-theme="light"] .page-settings .set-toggle-copy strong { color: #0f172a; }

html[data-theme="light"] .page-settings .set-save-bar {
  border-top-color: rgba(20, 40, 70, 0.1);
}

html[data-theme="light"] .page-settings .set-session-card {
  border-color: rgba(20, 40, 70, 0.1);
  background: #fff;
  box-shadow: 0 4px 12px rgba(15, 30, 55, 0.04);
}
html[data-theme="light"] .page-settings .set-session-card i { color: #087f84; }
html[data-theme="light"] .page-settings .set-session-card strong { color: #0f172a; }
html[data-theme="light"] .page-settings .set-session-card:hover {
  border-color: rgba(10, 171, 176, 0.35);
  background: rgba(10, 171, 176, 0.06);
}
html[data-theme="light"] .page-settings .set-session-card.is-warn {
  border-color: rgba(225, 29, 72, 0.22);
}
html[data-theme="light"] .page-settings .set-session-card.is-warn i { color: #be123c; }
html[data-theme="light"] .page-settings .set-session-card.is-warn:hover {
  border-color: rgba(225, 29, 72, 0.4);
  background: rgba(225, 29, 72, 0.06);
}

/* ── Earnings / play history (light) ──────────────────── */
html[data-theme="light"] .page-earn .earn-aurora {
  background:
    radial-gradient(ellipse 50% 35% at 12% 0%, rgba(5, 150, 105, .1), transparent 55%),
    radial-gradient(ellipse 40% 30% at 90% 8%, rgba(10, 171, 176, .1), transparent 50%),
    radial-gradient(ellipse 45% 35% at 50% 100%, rgba(90, 166, 0, .05), transparent 55%);
}
html[data-theme="light"] .page-earn .earn-kicker { color: #047857; }
html[data-theme="light"] .page-earn .earn-title {
  background: linear-gradient(115deg, #0f172a 12%, #059669 48%, #65a30d 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-theme="light"] .page-earn .earn-lead { color: #5a667c; }

html[data-theme="light"] .page-earn .earn-stat {
  border-color: rgba(20, 40, 70, 0.1);
  background: linear-gradient(165deg, #ffffff, #f3f7fb);
  box-shadow: 0 8px 20px rgba(15, 30, 55, 0.05);
}
html[data-theme="light"] .page-earn .earn-stat--cash {
  border-color: rgba(5, 150, 105, 0.3);
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(5, 150, 105, .1), transparent 55%),
    linear-gradient(165deg, #ffffff, #f3faf6);
}
html[data-theme="light"] .page-earn .earn-stat strong { color: #0f172a; }
html[data-theme="light"] .page-earn .earn-stat--cash strong { color: #047857; }

html[data-theme="light"] .page-earn .earn-ledger {
  border-color: rgba(10, 171, 176, 0.22);
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(10, 171, 176, .08), transparent 55%),
    linear-gradient(165deg, #ffffff, #f4f8fb);
  box-shadow: 0 14px 32px rgba(15, 30, 55, 0.07);
}
html[data-theme="light"] .page-earn .earn-ledger-title { color: #0f172a; }
html[data-theme="light"] .page-earn .earn-ledger-title i { color: #087f84; }
html[data-theme="light"] .page-earn .earn-game-link { color: #0f172a; }
html[data-theme="light"] .page-earn .earn-game-link:hover { color: #087f84; }
html[data-theme="light"] .page-earn .earn-ledger .earn-history thead th {
  background: rgba(10, 171, 176, 0.08);
  border-bottom-color: rgba(10, 171, 176, 0.2);
  color: #5a667c;
}
html[data-theme="light"] .page-earn .earn-ledger .earn-history tbody tr:hover {
  background: rgba(10, 171, 176, 0.05);
}
html[data-theme="light"] .page-earn .earn-ledger .earn-history td { color: #243044; }

@media (max-width: 760px) {
  html[data-theme="light"] .page-earn .earn-history .earn-row {
    border-color: rgba(20, 40, 70, 0.1);
    background: linear-gradient(160deg, #ffffff, #f4f8fb);
    box-shadow: 0 8px 18px rgba(15, 30, 55, 0.06);
  }
  html[data-theme="light"] .page-earn .earn-history .earn-row.is-win {
    border-color: rgba(101, 163, 13, 0.28);
  }
  html[data-theme="light"] .page-earn .earn-comment {
    border-top-color: rgba(20, 40, 70, 0.1);
  }
  html[data-theme="light"] .page-earn .earn-score,
  html[data-theme="light"] .page-earn .earn-points,
  html[data-theme="light"] .page-earn .earn-play,
  html[data-theme="light"] .page-earn .earn-win {
    background: rgba(15, 30, 55, 0.03);
    border-color: rgba(20, 40, 70, 0.1);
  }
}

/* ── Support tickets (light) ──────────────────────────── */
html[data-theme="light"] .page-tix .tix-aurora {
  background:
    radial-gradient(ellipse 50% 35% at 8% 0%, rgba(10, 171, 176, .12), transparent 55%),
    radial-gradient(ellipse 40% 30% at 90% 8%, rgba(59, 130, 246, .07), transparent 50%);
}
html[data-theme="light"] .page-tix .tix-kicker { color: #087f84; }
html[data-theme="light"] .page-tix .tix-title { color: #0f172a; }

html[data-theme="light"] .page-tix .tix-inbox,
html[data-theme="light"] .page-tix .tix-composer-card,
html[data-theme="light"] .page-tix .tix-feed,
html[data-theme="light"] .page-tix .tix-chat-card {
  border-color: rgba(20, 40, 70, 0.1);
  background: linear-gradient(165deg, #ffffff, #f4f8fb);
  box-shadow: 0 12px 28px rgba(15, 30, 55, 0.07);
}
html[data-theme="light"] .page-tix .tix-composer-card {
  border-color: rgba(10, 171, 176, 0.28);
}
html[data-theme="light"] .page-tix .tix-chat-card {
  border-color: rgba(10, 171, 176, 0.28);
}
html[data-theme="light"] .page-tix .tix-inbox-head,
html[data-theme="light"] .page-tix .tix-composer-head,
html[data-theme="light"] .page-tix .tix-feed-head,
html[data-theme="light"] .page-tix .tix-chat-head,
html[data-theme="light"] .page-tix .tix-composer {
  border-color: rgba(20, 40, 70, 0.1);
}
html[data-theme="light"] .page-tix .tix-inbox-head h2,
html[data-theme="light"] .page-tix .tix-feed-head h2,
html[data-theme="light"] .page-tix .tix-composer-head strong,
html[data-theme="light"] .page-tix .tix-chat-head h1 { color: #0f172a; }
html[data-theme="light"] .page-tix .tix-count {
  background: rgba(15, 30, 55, 0.06);
  color: #64748b;
}
html[data-theme="light"] .page-tix .tix-avatar {
  background: rgba(10, 171, 176, 0.12);
  border-color: rgba(10, 171, 176, 0.28);
  color: #087f84;
}

html[data-theme="light"] .page-tix .tix-topic {
  border-color: rgba(20, 40, 70, 0.12);
  background: #fff;
  color: #334155;
}
html[data-theme="light"] .page-tix .tix-topic i { color: #087f84; }
html[data-theme="light"] .page-tix .tix-topic:hover {
  border-color: rgba(10, 171, 176, 0.4);
  color: #0f172a;
  background: rgba(10, 171, 176, 0.06);
}
html[data-theme="light"] .page-tix .tix-topic.is-on {
  border-color: rgba(10, 171, 176, 0.5);
  background: rgba(10, 171, 176, 0.12);
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(10, 171, 176, 0.12);
}
html[data-theme="light"] .page-tix .tix-bubble-input {
  border-color: rgba(10, 171, 176, 0.28);
  background: #fff;
}
html[data-theme="light"] .page-tix .tix-bubble-input textarea {
  color: #0f172a;
}
html[data-theme="light"] .page-tix .tix-bubble-input textarea::placeholder {
  color: #94a3b8;
}

html[data-theme="light"] .page-tix .tix-row,
html[data-theme="light"] .page-tix .tix-item {
  border-color: rgba(20, 40, 70, 0.1);
  background: #fff;
}
html[data-theme="light"] .page-tix .tix-row:hover,
html[data-theme="light"] .page-tix .tix-item:hover {
  border-color: rgba(10, 171, 176, 0.35);
  background: rgba(10, 171, 176, 0.06);
  box-shadow: 0 8px 20px rgba(15, 30, 55, 0.08);
}
html[data-theme="light"] .page-tix .tix-row-top strong,
html[data-theme="light"] .page-tix .tix-item-main strong { color: #0f172a; }
html[data-theme="light"] .page-tix .tix-row-preview { color: #64748b; }
html[data-theme="light"] .page-tix .tix-row-ico {
  background: rgba(10, 171, 176, 0.1);
  border-color: rgba(10, 171, 176, 0.24);
  color: #087f84;
}
html[data-theme="light"] .page-tix .tix-row-ico--account {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.3);
  color: #2563eb;
}
html[data-theme="light"] .page-tix .tix-row-ico--deposit {
  background: rgba(101, 163, 13, 0.12);
  border-color: rgba(101, 163, 13, 0.3);
  color: #3f6212;
}
html[data-theme="light"] .page-tix .tix-row-ico--withdraw {
  background: rgba(217, 119, 6, 0.12);
  border-color: rgba(217, 119, 6, 0.3);
  color: #b45309;
}
html[data-theme="light"] .page-tix .tix-row-ico--referral {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.28);
  color: #6d28d9;
}
html[data-theme="light"] .page-tix .tix-row-ico--bug {
  background: rgba(225, 29, 72, 0.08);
  border-color: rgba(225, 29, 72, 0.28);
  color: #be123c;
}
html[data-theme="light"] .page-tix .tix-item-st.is-open {
  background: rgba(217, 119, 6, 0.14);
  color: #b45309;
}
html[data-theme="light"] .page-tix .tix-item-st.is-answered {
  background: rgba(10, 171, 176, 0.12);
  color: #087f84;
}
html[data-theme="light"] .page-tix .tix-item-st.is-closed {
  background: rgba(15, 30, 55, 0.06);
  color: #64748b;
}
html[data-theme="light"] .page-tix .tix-code { color: #087f84; }
html[data-theme="light"] .page-tix .tix-empty strong { color: #0f172a; }
html[data-theme="light"] .page-tix .tix-back { color: #087f84; }
html[data-theme="light"] .page-tix .tix-back:hover { color: #065f63; }

html[data-theme="light"] .page-tix .tix-thread {
  background: rgba(15, 30, 55, 0.03);
  scrollbar-color: rgba(10, 171, 176, 0.35) transparent;
}
html[data-theme="light"] .page-tix .tix-bubble.is-me {
  background: linear-gradient(135deg, rgba(10, 171, 176, .16), rgba(10, 171, 176, .08));
  border-color: rgba(10, 171, 176, 0.3);
  color: #0f172a;
}
html[data-theme="light"] .page-tix .tix-bubble.is-them {
  background: #fff;
  border-color: rgba(20, 40, 70, 0.12);
  color: #0f172a;
}

/* ── Upgrade ladder (light) ───────────────────────────── */
html[data-theme="light"] .page-upgrade .upg-aurora {
  background:
    radial-gradient(ellipse 55% 40% at 12% 8%, rgba(10, 171, 176, .12), transparent 55%),
    radial-gradient(ellipse 45% 35% at 88% 12%, rgba(225, 29, 72, .06), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(90, 166, 0, .05), transparent 55%),
    var(--bg);
}
html[data-theme="light"] .page-upgrade .upg-grid-bg {
  opacity: .45;
  background-image:
    linear-gradient(rgba(20, 40, 70, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 40, 70, .06) 1px, transparent 1px);
}
html[data-theme="light"] .page-upgrade .upg-kicker {
  color: #087f84;
  text-shadow: none;
}
html[data-theme="light"] .page-upgrade .upg-title {
  background: linear-gradient(115deg, #0f172a 10%, #0aabb0 45%, #65a30d 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-theme="light"] .page-upgrade .upg-lead strong { color: #0f172a; }
html[data-theme="light"] .page-upgrade .upg-chip {
  border-color: rgba(20, 40, 70, 0.1);
  background: #fff;
  color: #5a667c;
  box-shadow: 0 4px 12px rgba(15, 30, 55, 0.04);
}
html[data-theme="light"] .page-upgrade .upg-chip b { color: #0f172a; }
html[data-theme="light"] .page-upgrade .upg-chip--hot {
  border-color: rgba(10, 171, 176, 0.35);
  background: rgba(10, 171, 176, 0.1);
  color: #0f766e;
}
html[data-theme="light"] .page-upgrade .upg-chip--hot b { color: #0f172a; }

html[data-theme="light"] .page-upgrade .upg-vacation-banner {
  border-color: rgba(14, 165, 233, 0.28);
  background: linear-gradient(120deg, rgba(14, 165, 233, .08), rgba(217, 119, 6, .06) 55%, #fff);
  box-shadow: 0 8px 20px rgba(15, 30, 55, 0.05);
}
html[data-theme="light"] .page-upgrade .upg-vacation-banner:hover {
  border-color: rgba(14, 165, 233, 0.45);
}
html[data-theme="light"] .page-upgrade .upg-vacation-ico {
  background: rgba(14, 165, 233, 0.12);
  color: #0284c7;
}
html[data-theme="light"] .page-upgrade .upg-vacation-copy strong { color: #0f172a; }
html[data-theme="light"] .page-upgrade .upg-vacation-copy span { color: #5a667c; }
html[data-theme="light"] .page-upgrade .upg-vacation-cta { color: #0284c7; }

html[data-theme="light"] .page-upgrade .upg-player-panel {
  border-color: rgba(10, 171, 176, 0.28);
  background: linear-gradient(165deg, #ffffff, #f3f7fb);
  box-shadow: 0 16px 36px rgba(15, 30, 55, 0.1);
}
html[data-theme="light"] .page-upgrade .upg-player-panel.upg-theme-lime {
  border-color: rgba(101, 163, 13, 0.35);
  box-shadow: 0 16px 36px rgba(15, 30, 55, 0.1), 0 0 24px rgba(101, 163, 13, 0.08);
}
html[data-theme="light"] .page-upgrade .upg-player-panel.upg-theme-orange {
  border-color: rgba(217, 119, 6, 0.35);
  box-shadow: 0 16px 36px rgba(15, 30, 55, 0.1), 0 0 24px rgba(217, 119, 6, 0.08);
}
html[data-theme="light"] .page-upgrade .upg-player-panel.upg-theme-magenta,
html[data-theme="light"] .page-upgrade .upg-player-panel.upg-theme-elite {
  border-color: rgba(225, 29, 72, 0.3);
  box-shadow: 0 16px 36px rgba(15, 30, 55, 0.1), 0 0 24px rgba(225, 29, 72, 0.08);
}
html[data-theme="light"] .page-upgrade .upg-player-ring {
  border-color: rgba(10, 171, 176, 0.28);
}
html[data-theme="light"] .page-upgrade .upg-player-core {
  border-bottom-color: rgba(20, 40, 70, 0.1);
}
html[data-theme="light"] .page-upgrade .upg-player-name { color: #0f172a; }
html[data-theme="light"] .page-upgrade .upg-player-next { color: #087f84; }
html[data-theme="light"] .page-upgrade .upg-ps {
  background: #fff;
  border-color: rgba(20, 40, 70, 0.1);
}
html[data-theme="light"] .page-upgrade .upg-player-stats strong { color: #0f172a; }
html[data-theme="light"] .page-upgrade .upg-ps-cash { color: #047857; }
html[data-theme="light"] .page-upgrade .upg-ps--fuel .upg-ps-bar {
  background: rgba(20, 40, 70, 0.1);
}

html[data-theme="light"] .page-upgrade .upg-section-head h2 { color: #0f172a; }

html[data-theme="light"] .page-upgrade .upg-card-shell {
  border-color: rgba(20, 40, 70, 0.1);
  background: linear-gradient(165deg, #ffffff, #f4f8fb);
  box-shadow: 0 12px 28px rgba(15, 30, 55, 0.07);
}
html[data-theme="light"] .page-upgrade .upg-card--open .upg-card-shell:hover,
html[data-theme="light"] .page-upgrade .upg-card--next .upg-card-shell:hover {
  border-color: rgba(10, 171, 176, 0.4);
  box-shadow: 0 16px 34px rgba(15, 30, 55, 0.12);
}
html[data-theme="light"] .page-upgrade .upg-card--current .upg-card-shell {
  border-color: rgba(101, 163, 13, 0.42);
  box-shadow: 0 12px 28px rgba(15, 30, 55, 0.08), 0 0 20px rgba(101, 163, 13, 0.1);
}
html[data-theme="light"] .page-upgrade .upg-card--next .upg-card-shell {
  border-color: rgba(10, 171, 176, 0.4);
  box-shadow: 0 12px 28px rgba(15, 30, 55, 0.08), 0 0 20px rgba(10, 171, 176, 0.1);
}
html[data-theme="light"] .page-upgrade .upg-card-name { color: #0f172a; }
html[data-theme="light"] .page-upgrade .upg-pill {
  color: #64748b;
  border-color: rgba(20, 40, 70, 0.12);
  background: #fff;
}
html[data-theme="light"] .page-upgrade .upg-pill--next {
  color: #087f84;
  border-color: rgba(10, 171, 176, 0.35);
  background: rgba(10, 171, 176, 0.1);
}
html[data-theme="light"] .page-upgrade .upg-card-upto {
  background: rgba(15, 30, 55, 0.03);
  border-color: rgba(20, 40, 70, 0.1);
}
html[data-theme="light"] .page-upgrade .upg-range-min,
html[data-theme="light"] .page-upgrade .upg-range-max { color: #0f172a; }
html[data-theme="light"] .page-upgrade .upg-card-cost {
  border-color: rgba(10, 171, 176, 0.2);
  background: rgba(10, 171, 176, 0.06);
}
html[data-theme="light"] .page-upgrade .upg-card-cost.has-deal {
  border-color: rgba(10, 171, 176, 0.3);
  background: linear-gradient(135deg, rgba(10, 171, 176, .1), rgba(10, 171, 176, .03));
}
html[data-theme="light"] .page-upgrade .upg-cost-was {
  background: rgba(15, 30, 55, 0.04);
  border-color: rgba(20, 40, 70, 0.1);
  color: #64748b;
}
html[data-theme="light"] .page-upgrade .upg-cost-list { color: #0f172a; }
html[data-theme="light"] .page-upgrade .upg-cost-now-lbl { color: #087f84; }
html[data-theme="light"] .page-upgrade .upg-cost-net,
html[data-theme="light"] .page-upgrade .upg-card-cost strong { color: #087f84; }

html[data-theme="light"] .page-upgrade .upg-modal-backdrop {
  background: rgba(15, 30, 55, 0.45);
}
html[data-theme="light"] .page-upgrade .upg-checkout-panel {
  border-color: rgba(10, 171, 176, 0.3);
  background:
    radial-gradient(ellipse 90% 50% at 50% 0%, rgba(10, 171, 176, .1), transparent 58%),
    linear-gradient(165deg, #ffffff, #f4f8fb);
  box-shadow: 0 22px 48px rgba(15, 30, 55, 0.18);
}
html[data-theme="light"] .page-upgrade .upg-checkout-kicker,
html[data-theme="light"] .page-upgrade .upg-checkout-lvl { color: #087f84; }
html[data-theme="light"] .page-upgrade .upg-checkout-title { color: #0f172a; }
html[data-theme="light"] .page-upgrade .upg-checkout-close {
  background: rgba(20, 40, 70, 0.06);
  color: #64748b;
}
html[data-theme="light"] .page-upgrade .upg-checkout-close:hover {
  color: #0f172a;
  background: rgba(20, 40, 70, 0.1);
}
html[data-theme="light"] .page-upgrade .upg-checkout-price {
  border-color: rgba(10, 171, 176, 0.22);
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(10, 171, 176, .1), transparent 55%),
    #fff;
}
html[data-theme="light"] .page-upgrade .upg-checkout-was-wrap {
  background: rgba(15, 30, 55, 0.04);
  border-color: rgba(20, 40, 70, 0.1);
}
html[data-theme="light"] .page-upgrade .upg-checkout-was-tag { color: #64748b; }
html[data-theme="light"] .page-upgrade #upg-checkout-was { color: #0f172a; }
html[data-theme="light"] .page-upgrade .upg-checkout-amount,
html[data-theme="light"] .page-upgrade #upg-checkout-amount {
  color: #087f84;
  text-shadow: none;
}
html[data-theme="light"] .page-upgrade .upg-checkout-save {
  color: #0f766e;
  background: rgba(10, 171, 176, 0.08);
  border-color: rgba(10, 171, 176, 0.2);
}
html[data-theme="light"] .page-upgrade .upg-checkout-save strong,
html[data-theme="light"] .page-upgrade #upg-checkout-save { color: #087f84; }
html[data-theme="light"] .page-upgrade .upg-checkout-lines {
  background: #fff;
  border-color: rgba(20, 40, 70, 0.1);
}
html[data-theme="light"] .page-upgrade .upg-checkout-lines strong { color: #0f172a; }
html[data-theme="light"] .page-upgrade .upg-checkout-lines .is-total {
  border-top-color: rgba(20, 40, 70, 0.14);
}
html[data-theme="light"] .page-upgrade .upg-checkout-lines .is-total span,
html[data-theme="light"] .page-upgrade .upg-checkout-lines .is-total strong { color: #087f84; }
html[data-theme="light"] .page-upgrade .upg-pay-opt-body {
  border-color: rgba(20, 40, 70, 0.12);
  background: #fff;
}
html[data-theme="light"] .page-upgrade .upg-pay-opt-body strong { color: #0f172a; }
html[data-theme="light"] .page-upgrade .upg-pay-opt.is-active .upg-pay-opt-body {
  border-color: rgba(10, 171, 176, 0.4);
  background: rgba(10, 171, 176, 0.1);
  box-shadow: none;
}
html[data-theme="light"] .page-upgrade .upg-pay-opt.is-active .upg-pay-opt-name { color: #087f84; }
html[data-theme="light"] .page-upgrade .upg-pay-opt.is-active .upg-pay-opt-body strong { color: #087f84; }
html[data-theme="light"] .page-upgrade .upg-pay-warn { color: #be123c; }
html[data-theme="light"] .page-upgrade .upg-checkout-cancel:hover { color: #0f172a; }

/* ── Deposit (light) ──────────────────────────────────── */
html[data-theme="light"] .page-dep .dep-aurora {
  background:
    radial-gradient(ellipse 50% 35% at 10% 0%, rgba(10, 171, 176, .12), transparent 55%),
    radial-gradient(ellipse 40% 30% at 90% 10%, rgba(14, 165, 233, .07), transparent 50%),
    radial-gradient(ellipse 45% 35% at 50% 100%, rgba(90, 166, 0, .05), transparent 55%);
}
html[data-theme="light"] .page-dep .dep-kicker { color: #087f84; }
html[data-theme="light"] .page-dep .dep-title {
  background: linear-gradient(115deg, #0f172a 12%, #0aabb0 48%, #0284c7 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-theme="light"] .page-dep .dep-lead { color: #5a667c; }
html[data-theme="light"] .page-dep .dep-lead strong { color: #0f172a; }

html[data-theme="light"] .page-dep .dep-bal {
  border-color: rgba(10, 171, 176, 0.3);
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(10, 171, 176, .12), transparent 55%),
    linear-gradient(165deg, #ffffff, #f3f7fb);
  box-shadow: 0 8px 20px rgba(15, 30, 55, 0.06);
}
html[data-theme="light"] .page-dep .dep-bal-val { color: #087f84; }

html[data-theme="light"] .page-dep .dep-panel {
  border-color: rgba(20, 40, 70, 0.1);
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(10, 171, 176, .08), transparent 55%),
    linear-gradient(165deg, #ffffff, #f4f8fb);
  box-shadow: 0 14px 32px rgba(15, 30, 55, 0.07);
}
html[data-theme="light"] .page-dep .dep-panel--form {
  border-color: rgba(10, 171, 176, 0.28);
}
html[data-theme="light"] .page-dep .dep-panel--history {
  border-color: rgba(20, 40, 70, 0.1);
  background:
    radial-gradient(ellipse 60% 45% at 100% 0%, rgba(14, 165, 233, .06), transparent 50%),
    linear-gradient(165deg, #ffffff, #f4f8fb);
}
html[data-theme="light"] .page-dep .dep-panel-head {
  border-bottom-color: rgba(20, 40, 70, 0.1);
}
html[data-theme="light"] .page-dep .dep-panel-head h2 { color: #0f172a; }
html[data-theme="light"] .page-dep .dep-panel-link { color: #087f84; }
html[data-theme="light"] .page-dep .dep-panel-link:hover { color: #065f63; }

html[data-theme="light"] .page-dep .dep-amount-input {
  border-color: rgba(10, 171, 176, 0.3) !important;
  background: #fff !important;
  color: #0f172a !important;
  box-shadow: 0 0 0 1px rgba(10, 171, 176, 0.06) !important;
}
html[data-theme="light"] .page-dep .dep-amount-input:focus {
  border-color: rgba(10, 171, 176, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(10, 171, 176, 0.14) !important;
}
html[data-theme="light"] .page-dep .dep-amount-prefix { color: #087f84; }

html[data-theme="light"] .page-dep .dep-chip {
  border-color: rgba(10, 171, 176, 0.28);
  background: rgba(10, 171, 176, 0.08);
  color: #0f766e;
}
html[data-theme="light"] .page-dep .dep-chip:hover {
  border-color: rgba(10, 171, 176, 0.45);
  background: rgba(10, 171, 176, 0.14);
  color: #065f63;
}
html[data-theme="light"] .page-dep .dep-chip.is-on {
  border-color: rgba(10, 171, 176, 0.5);
  background: linear-gradient(135deg, rgba(10, 171, 176, .2), rgba(10, 171, 176, .1));
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(10, 171, 176, 0.14);
}

html[data-theme="light"] .page-dep .dep-gate-card {
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, color-mix(in srgb, var(--gate) 12%, transparent), transparent 60%),
    linear-gradient(165deg, #ffffff, #f4f8fb);
  box-shadow: 0 4px 14px rgba(15, 30, 55, 0.05);
}
html[data-theme="light"] .page-dep .dep-gate-card strong { color: #0f172a; }
html[data-theme="light"] .page-dep .dep-gate-ico {
  background:
    radial-gradient(circle at 35% 25%, color-mix(in srgb, var(--gate) 18%, transparent), transparent 58%),
    linear-gradient(145deg, #fff, #eef3f8);
}
html[data-theme="light"] .page-dep .dep-gate input:checked + .dep-gate-card {
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, color-mix(in srgb, var(--gate) 18%, transparent), transparent 58%),
    linear-gradient(165deg, #ffffff, #f0faf9);
}
html[data-theme="light"] .page-dep .dep-gate input:checked + .dep-gate-card::after {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
}
html[data-theme="light"] .page-dep .dep-gate.is-manual .dep-gate-card em { color: #b45309; }

html[data-theme="light"] .page-dep .dep-coin {
  border-color: rgba(20, 40, 70, 0.12);
  background: #fff;
  color: #0f172a;
}
html[data-theme="light"] .page-dep .dep-coin-logo {
  background: rgba(15, 30, 55, 0.06);
}
html[data-theme="light"] .page-dep .dep-coin-fallback { color: #087f84; }
html[data-theme="light"] .page-dep .dep-coin:hover {
  border-color: rgba(10, 171, 176, 0.4);
  background: rgba(10, 171, 176, 0.08);
}
html[data-theme="light"] .page-dep .dep-coin.is-on {
  border-color: rgba(10, 171, 176, 0.5);
  background: linear-gradient(135deg, rgba(10, 171, 176, .16), rgba(10, 171, 176, .06));
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(10, 171, 176, 0.12);
}
html[data-theme="light"] .page-dep .dep-net {
  border-color: rgba(20, 40, 70, 0.12);
  background: #fff;
  color: #334155;
}
html[data-theme="light"] .page-dep .dep-net:hover {
  border-color: rgba(10, 171, 176, 0.4);
  color: #0f172a;
}
html[data-theme="light"] .page-dep .dep-net.is-on {
  border-color: rgba(10, 171, 176, 0.5);
  background: rgba(10, 171, 176, 0.12);
  color: #047857;
}

html[data-theme="light"] .page-dep .dep-empty {
  border-color: rgba(20, 40, 70, 0.14);
  background: rgba(15, 30, 55, 0.02);
}
html[data-theme="light"] .page-dep .dep-empty-ico {
  background: rgba(10, 171, 176, 0.1);
  border-color: rgba(10, 171, 176, 0.22);
  color: #087f84;
}
html[data-theme="light"] .page-dep .dep-empty strong { color: #0f172a; }

html[data-theme="light"] .page-dep .dep-hist-item {
  border-color: rgba(20, 40, 70, 0.1);
  background: #fff;
}
html[data-theme="light"] .page-dep .dep-hist-item.is-ok {
  border-color: rgba(5, 150, 105, 0.28);
}
html[data-theme="light"] .page-dep .dep-hist-item.is-pending {
  border-color: rgba(217, 119, 6, 0.3);
  background: linear-gradient(165deg, #fffbeb, #fff);
}
html[data-theme="light"] .page-dep .dep-hist-item.is-bad {
  border-color: rgba(225, 29, 72, 0.25);
}
html[data-theme="light"] .page-dep .dep-hist-mark {
  background: rgba(10, 171, 176, 0.1);
  border-color: rgba(10, 171, 176, 0.22);
  color: #087f84;
}
html[data-theme="light"] .page-dep .dep-hist-item.is-ok .dep-hist-mark {
  background: rgba(5, 150, 105, 0.1);
  border-color: rgba(5, 150, 105, 0.28);
  color: #047857;
}
html[data-theme="light"] .page-dep .dep-hist-item.is-bad .dep-hist-mark {
  background: rgba(225, 29, 72, 0.08);
  border-color: rgba(225, 29, 72, 0.25);
  color: #be123c;
}
html[data-theme="light"] .page-dep .dep-hist-amt { color: #0f172a; }
html[data-theme="light"] .page-dep .dep-hist-gw { color: #334155; }
html[data-theme="light"] .page-dep .dep-status {
  background: rgba(15, 30, 55, 0.06);
  color: #64748b;
}
html[data-theme="light"] .page-dep .dep-status.is-ok {
  background: rgba(5, 150, 105, 0.12);
  color: #047857;
}
html[data-theme="light"] .page-dep .dep-status.is-pending {
  background: rgba(217, 119, 6, 0.14);
  color: #b45309;
  box-shadow: none;
}
html[data-theme="light"] .page-dep .dep-status.is-bad {
  background: rgba(225, 29, 72, 0.1);
  color: #be123c;
}

html[data-theme="light"] .page-dep .dep-pager {
  border-top-color: rgba(20, 40, 70, 0.1);
}
html[data-theme="light"] .page-dep .dep-pager a,
html[data-theme="light"] .page-dep .dep-pager span {
  border-color: rgba(20, 40, 70, 0.12);
  color: #334155;
  background: #fff;
}
html[data-theme="light"] .page-dep .dep-pager a:hover {
  border-color: rgba(10, 171, 176, 0.4);
  color: #087f84;
}
html[data-theme="light"] .page-dep .dep-pager .is-on {
  border-color: rgba(10, 171, 176, 0.45);
  background: rgba(10, 171, 176, 0.12);
  color: #087f84;
}

html[data-theme="light"] .page-dep .dep-checkout-ico {
  background: rgba(101, 163, 13, 0.12);
  border-color: rgba(101, 163, 13, 0.3);
  color: #4d7c0f;
}
html[data-theme="light"] .page-dep .dep-checkout-amt { color: #0f172a; }
html[data-theme="light"] .page-dep .dep-checkout-spin span {
  border-color: rgba(10, 171, 176, 0.2);
  border-top-color: #0aabb0;
}

/* ── Withdraw (light) ─────────────────────────────────── */
html[data-theme="light"] .page-wd .wd-aurora {
  background:
    radial-gradient(ellipse 50% 35% at 10% 0%, rgba(5, 150, 105, .12), transparent 55%),
    radial-gradient(ellipse 40% 30% at 90% 10%, rgba(10, 171, 176, .08), transparent 50%),
    radial-gradient(ellipse 45% 35% at 50% 100%, rgba(90, 166, 0, .05), transparent 55%);
}
html[data-theme="light"] .page-wd .wd-kicker { color: #047857; }
html[data-theme="light"] .page-wd .wd-title {
  background: linear-gradient(115deg, #0f172a 12%, #059669 48%, #65a30d 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-theme="light"] .page-wd .wd-lead { color: #5a667c; }
html[data-theme="light"] .page-wd .wd-lead strong { color: #0f172a; }
html[data-theme="light"] .page-wd .wd-min-hero {
  border-color: rgba(217, 119, 6, 0.35);
  background: linear-gradient(135deg, rgba(217, 119, 6, .12), rgba(255, 186, 72, .08));
  color: #92400e;
}
html[data-theme="light"] .page-wd .wd-min-hero strong { color: #78350f; }

html[data-theme="light"] .page-wd .wd-bal {
  border-color: rgba(5, 150, 105, 0.32);
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(5, 150, 105, .12), transparent 55%),
    linear-gradient(165deg, #ffffff, #f3faf6);
  box-shadow: 0 8px 20px rgba(15, 30, 55, 0.06);
}
html[data-theme="light"] .page-wd .wd-bal-val { color: #047857; }

html[data-theme="light"] .page-wd .wd-panel {
  border-color: rgba(20, 40, 70, 0.1);
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(5, 150, 105, .08), transparent 55%),
    linear-gradient(165deg, #ffffff, #f4f8fb);
  box-shadow: 0 14px 32px rgba(15, 30, 55, 0.07);
}
html[data-theme="light"] .page-wd .wd-panel--form {
  border-color: rgba(5, 150, 105, 0.28);
}
html[data-theme="light"] .page-wd .wd-panel--history {
  border-color: rgba(20, 40, 70, 0.1);
  background:
    radial-gradient(ellipse 60% 45% at 100% 0%, rgba(10, 171, 176, .06), transparent 50%),
    linear-gradient(165deg, #ffffff, #f4f8fb);
}
html[data-theme="light"] .page-wd .wd-panel-head {
  border-bottom-color: rgba(20, 40, 70, 0.1);
}
html[data-theme="light"] .page-wd .wd-panel-head h2 { color: #0f172a; }
html[data-theme="light"] .page-wd .wd-panel-head h2 i { color: #047857; }
html[data-theme="light"] .page-wd .wd-panel-link { color: #047857; }
html[data-theme="light"] .page-wd .wd-panel-link:hover { color: #065f46; }

html[data-theme="light"] .page-wd .wd-min-banner {
  border-color: rgba(217, 119, 6, 0.3);
  background:
    radial-gradient(ellipse 80% 70% at 0% 0%, rgba(217, 119, 6, .12), transparent 55%),
    #fffbeb;
}
html[data-theme="light"] .page-wd .wd-min-banner i { color: #d97706; }
html[data-theme="light"] .page-wd .wd-min-banner strong { color: #92400e; }
html[data-theme="light"] .page-wd .wd-min-banner span { color: #a16207; }
html[data-theme="light"] .page-wd .wd-min-hint { color: #b45309; }
html[data-theme="light"] .page-wd .wd-min-hint strong { color: #92400e; }

html[data-theme="light"] .page-wd .wd-amount-input {
  border-color: rgba(5, 150, 105, 0.3) !important;
  background: #fff !important;
  color: #0f172a !important;
  box-shadow: 0 0 0 1px rgba(5, 150, 105, 0.06) !important;
}
html[data-theme="light"] .page-wd .wd-amount-input:focus {
  border-color: rgba(5, 150, 105, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.14) !important;
}
html[data-theme="light"] .page-wd .wd-amount-prefix { color: #047857; }
html[data-theme="light"] .page-wd .wd-address-input {
  border-color: rgba(20, 40, 70, 0.14) !important;
  background: #fff !important;
  color: #0f172a !important;
}
html[data-theme="light"] .page-wd .wd-address-input:focus {
  border-color: rgba(5, 150, 105, 0.45) !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12) !important;
}

html[data-theme="light"] .page-wd .wd-chip {
  border-color: rgba(5, 150, 105, 0.28);
  background: rgba(5, 150, 105, 0.08);
  color: #047857;
}
html[data-theme="light"] .page-wd .wd-chip:hover {
  border-color: rgba(5, 150, 105, 0.45);
  background: rgba(5, 150, 105, 0.14);
  color: #065f46;
}
html[data-theme="light"] .page-wd .wd-chip.is-on {
  border-color: rgba(5, 150, 105, 0.5);
  background: linear-gradient(135deg, rgba(5, 150, 105, .18), rgba(5, 150, 105, .08));
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.14);
}

html[data-theme="light"] .page-wd .wd-gate-card {
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, color-mix(in srgb, var(--coin) 12%, transparent), transparent 60%),
    linear-gradient(165deg, #ffffff, #f4f8fb);
  box-shadow: 0 4px 14px rgba(15, 30, 55, 0.05);
}
html[data-theme="light"] .page-wd .wd-gate-card strong { color: #0f172a; }
html[data-theme="light"] .page-wd .wd-gate-ico {
  background: color-mix(in srgb, var(--coin) 12%, #fff);
}
html[data-theme="light"] .page-wd .wd-gate input:checked + .wd-gate-card {
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, color-mix(in srgb, var(--coin) 16%, transparent), transparent 58%),
    linear-gradient(165deg, #ffffff, #f0faf6);
}
html[data-theme="light"] .page-wd .wd-gate input:checked + .wd-gate-card::after {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
}
html[data-theme="light"] .page-wd .wd-net .wd-gate-card {
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, color-mix(in srgb, var(--coin) 10%, transparent), transparent 62%),
    linear-gradient(165deg, #ffffff, #f4f8fb);
}

html[data-theme="light"] .page-wd .wd-note a { color: #047857; }
html[data-theme="light"] .page-wd .wd-empty {
  border-color: rgba(20, 40, 70, 0.14);
  background: rgba(15, 30, 55, 0.02);
}
html[data-theme="light"] .page-wd .wd-empty-ico {
  background: rgba(5, 150, 105, 0.1);
  border-color: rgba(5, 150, 105, 0.22);
  color: #047857;
}
html[data-theme="light"] .page-wd .wd-empty strong { color: #0f172a; }

html[data-theme="light"] .page-wd .wd-table thead th {
  background: rgba(5, 150, 105, 0.08);
  border-bottom-color: rgba(5, 150, 105, 0.2);
  color: #5a667c;
}
html[data-theme="light"] .page-wd .wd-table tbody tr:hover {
  background: rgba(5, 150, 105, 0.05);
}
html[data-theme="light"] .page-wd .wd-table td { color: #243044; }
html[data-theme="light"] .page-wd .wd-status {
  background: rgba(15, 30, 55, 0.06);
  color: #64748b;
}
html[data-theme="light"] .page-wd .wd-status.is-ok {
  background: rgba(5, 150, 105, 0.12);
  color: #047857;
}
html[data-theme="light"] .page-wd .wd-status.is-pending {
  background: rgba(10, 171, 176, 0.12);
  color: #087f84;
}
html[data-theme="light"] .page-wd .wd-status.is-bad {
  background: rgba(225, 29, 72, 0.1);
  color: #be123c;
}

/* ── FAQ (light) ──────────────────────────────────────── */
html[data-theme="light"] .page-faq .faq-aurora {
  background:
    radial-gradient(ellipse 50% 35% at 12% 0%, rgba(10, 171, 176, .12), transparent 55%),
    radial-gradient(ellipse 40% 30% at 90% 8%, rgba(124, 58, 237, .06), transparent 50%),
    radial-gradient(ellipse 45% 35% at 50% 100%, rgba(90, 166, 0, .04), transparent 55%);
}
html[data-theme="light"] .page-faq .faq-kicker { color: #087f84; }
html[data-theme="light"] .page-faq .faq-title {
  background: linear-gradient(115deg, #0f172a 12%, #0aabb0 48%, #0284c7 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-theme="light"] .page-faq .faq-lead { color: #5a667c; }
html[data-theme="light"] .page-faq .faq-lead strong { color: #0f172a; }

html[data-theme="light"] .page-faq .faq-aside-link {
  border-color: rgba(20, 40, 70, 0.1);
  background: #fff;
  color: #334155;
  box-shadow: 0 4px 12px rgba(15, 30, 55, 0.04);
}
html[data-theme="light"] .page-faq .faq-aside-link i { color: #087f84; }
html[data-theme="light"] .page-faq .faq-aside-link:hover {
  border-color: rgba(10, 171, 176, 0.35);
  color: #0f172a;
  background: rgba(10, 171, 176, 0.08);
}

html[data-theme="light"] .page-faq .faq-nav-chip {
  border-color: rgba(20, 40, 70, 0.12);
  background: #fff;
  color: #5a667c;
}
html[data-theme="light"] .page-faq .faq-nav-chip:hover {
  border-color: rgba(10, 171, 176, 0.35);
  color: #0f172a;
  background: rgba(10, 171, 176, 0.06);
}
html[data-theme="light"] .page-faq .faq-nav-chip.is-on {
  border-color: rgba(10, 171, 176, 0.45);
  background: rgba(10, 171, 176, 0.12);
  color: #0f172a;
}
html[data-theme="light"] .page-faq .faq-nav-chip.is-on i { color: #087f84; }

html[data-theme="light"] .page-faq .faq-panel {
  border-color: rgba(20, 40, 70, 0.1);
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(10, 171, 176, .08), transparent 55%),
    linear-gradient(165deg, #ffffff, #f4f8fb);
  box-shadow: 0 12px 28px rgba(15, 30, 55, 0.07);
}
html[data-theme="light"] .page-faq .faq-panel-head {
  border-bottom-color: rgba(20, 40, 70, 0.1);
}
html[data-theme="light"] .page-faq .faq-panel-head h2 { color: #0f172a; }
html[data-theme="light"] .page-faq .faq-panel-ico {
  background: rgba(10, 171, 176, 0.1);
  border-color: rgba(10, 171, 176, 0.28);
  color: #087f84;
}

html[data-theme="light"] .page-faq .faq-item {
  border-color: rgba(20, 40, 70, 0.1);
  background: #fff;
}
html[data-theme="light"] .page-faq .faq-item[open] {
  border-color: rgba(10, 171, 176, 0.3);
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(10, 171, 176, .08), transparent 55%),
    #fff;
}
html[data-theme="light"] .page-faq .faq-item-q { color: #0f172a; }
html[data-theme="light"] .page-faq .faq-item-chev {
  background: rgba(15, 30, 55, 0.04);
  border-color: rgba(20, 40, 70, 0.1);
  color: #64748b;
}
html[data-theme="light"] .page-faq .faq-item[open] .faq-item-chev {
  color: #087f84;
  border-color: rgba(10, 171, 176, 0.3);
}
html[data-theme="light"] .page-faq .faq-item-a { color: #5a667c; }
html[data-theme="light"] .page-faq .faq-item-a strong { color: #0f172a; }
html[data-theme="light"] .page-faq .faq-item-a em { color: #334155; }

html[data-theme="light"] .page-faq .faq-cta {
  border-color: rgba(124, 58, 237, 0.22);
  background:
    radial-gradient(ellipse 70% 80% at 100% 50%, rgba(124, 58, 237, .08), transparent 55%),
    linear-gradient(165deg, #ffffff, #f6f4fb);
  box-shadow: 0 12px 28px rgba(15, 30, 55, 0.07);
}
html[data-theme="light"] .page-faq .faq-cta h2 { color: #0f172a; }

/* ── Legal pages (TOS / Privacy) (light) ──────────────── */
html[data-theme="light"] .page-legal .legal-aurora {
  background:
    radial-gradient(ellipse 50% 35% at 10% 0%, rgba(10, 171, 176, .1), transparent 55%),
    radial-gradient(ellipse 40% 30% at 92% 6%, rgba(14, 165, 233, .06), transparent 50%),
    radial-gradient(ellipse 45% 35% at 50% 100%, rgba(124, 58, 237, .05), transparent 55%);
}
html[data-theme="light"] .page-legal .legal-kicker { color: #087f84; }
html[data-theme="light"] .page-legal .legal-title {
  background: linear-gradient(115deg, #0f172a 12%, #0aabb0 50%, #0284c7 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-theme="light"] .page-legal .legal-lead { color: #5a667c; }
html[data-theme="light"] .page-legal .legal-lead strong { color: #0f172a; }
html[data-theme="light"] .page-legal .legal-updated {
  border-color: rgba(20, 40, 70, 0.12);
  background: #fff;
  color: #64748b;
  box-shadow: 0 2px 8px rgba(15, 30, 55, 0.04);
}

html[data-theme="light"] .page-legal .legal-toc {
  border-color: rgba(20, 40, 70, 0.1);
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(10, 171, 176, .08), transparent 55%),
    linear-gradient(165deg, #ffffff, #f4f8fb);
  box-shadow: 0 10px 24px rgba(15, 30, 55, 0.06);
  scrollbar-color: rgba(10, 171, 176, 0.35) transparent;
}
html[data-theme="light"] .page-legal .legal-toc-nav a {
  color: #5a667c;
}
html[data-theme="light"] .page-legal .legal-toc-nav a:hover {
  color: #0f172a;
  background: rgba(10, 171, 176, 0.06);
}
html[data-theme="light"] .page-legal .legal-toc-nav a.is-on {
  color: #0f172a;
  background: rgba(10, 171, 176, 0.12);
  border-color: rgba(10, 171, 176, 0.28);
}

html[data-theme="light"] .page-legal .legal-notice {
  border-color: rgba(217, 119, 6, 0.3);
  background: #fffbeb;
  color: #92400e;
}
html[data-theme="light"] .page-legal .legal-notice i { color: #d97706; }

html[data-theme="light"] .page-legal .legal-section {
  border-color: rgba(20, 40, 70, 0.1);
  background:
    radial-gradient(ellipse 60% 45% at 0% 0%, rgba(10, 171, 176, .06), transparent 55%),
    linear-gradient(165deg, #ffffff, #f4f8fb);
  box-shadow: 0 8px 20px rgba(15, 30, 55, 0.05);
}
html[data-theme="light"] .page-legal .legal-section-head {
  border-bottom-color: rgba(20, 40, 70, 0.1);
}
html[data-theme="light"] .page-legal .legal-section-ico {
  background: rgba(10, 171, 176, 0.1);
  border-color: rgba(10, 171, 176, 0.26);
  color: #087f84;
}
html[data-theme="light"] .page-legal .legal-section-head h2 { color: #0f172a; }
html[data-theme="light"] .page-legal .legal-section-body p { color: #5a667c; }
html[data-theme="light"] .page-legal .legal-section-body a { color: #087f84; }
html[data-theme="light"] .page-legal .legal-section-body a:hover { color: #065f63; }

html[data-theme="light"] .page-legal .legal-cta {
  border-color: rgba(10, 171, 176, 0.24);
  background:
    radial-gradient(ellipse 70% 80% at 100% 50%, rgba(10, 171, 176, .1), transparent 55%),
    linear-gradient(165deg, #ffffff, #f4f8fb);
  box-shadow: 0 12px 28px rgba(15, 30, 55, 0.07);
}
html[data-theme="light"] .page-legal .legal-cta h2 { color: #0f172a; }

/* ── Referrals (light) ────────────────────────────────── */
html[data-theme="light"] .page-ref .ref-aurora {
  background:
    radial-gradient(ellipse 50% 35% at 12% 0%, rgba(124, 58, 237, .1), transparent 55%),
    radial-gradient(ellipse 40% 30% at 88% 8%, rgba(10, 171, 176, .08), transparent 50%),
    radial-gradient(ellipse 45% 35% at 50% 100%, rgba(90, 166, 0, .05), transparent 55%);
}
html[data-theme="light"] .page-ref .ref-kicker { color: #087f84; }
html[data-theme="light"] .page-ref .ref-title {
  background: linear-gradient(115deg, #0f172a 12%, #0aabb0 48%, #7c3aed 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-theme="light"] .page-ref .ref-lead { color: #5a667c; }
html[data-theme="light"] .page-ref .ref-lead strong { color: #0f172a; }

html[data-theme="light"] .page-ref .ref-bal {
  border-color: rgba(124, 58, 237, 0.3);
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(124, 58, 237, .12), transparent 55%),
    linear-gradient(165deg, #ffffff, #f6f4fb);
  box-shadow: 0 8px 20px rgba(15, 30, 55, 0.06);
}
html[data-theme="light"] .page-ref .ref-bal-val { color: #6d28d9; }

html[data-theme="light"] .page-ref .ref-tier {
  border-color: rgba(20, 40, 70, 0.1);
  background: linear-gradient(165deg, #ffffff, #f4f8fb);
  box-shadow: 0 6px 16px rgba(15, 30, 55, 0.05);
}
html[data-theme="light"] .page-ref .ref-tier.is-t1 {
  border-color: rgba(5, 150, 105, 0.32);
  background:
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(5, 150, 105, .1), transparent 60%),
    linear-gradient(165deg, #ffffff, #f3faf6);
}
html[data-theme="light"] .page-ref .ref-tier.is-t2 {
  border-color: rgba(14, 165, 233, 0.32);
  background:
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(14, 165, 233, .1), transparent 60%),
    linear-gradient(165deg, #ffffff, #f0f9ff);
}
html[data-theme="light"] .page-ref .ref-tier.is-t3 {
  border-color: rgba(124, 58, 237, 0.32);
  background:
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(124, 58, 237, .1), transparent 60%),
    linear-gradient(165deg, #ffffff, #f6f4fb);
}
html[data-theme="light"] .page-ref .ref-tier strong { color: #0f172a; }
html[data-theme="light"] .page-ref .ref-tier.is-t1 strong { color: #047857; }
html[data-theme="light"] .page-ref .ref-tier.is-t2 strong { color: #0284c7; }
html[data-theme="light"] .page-ref .ref-tier.is-t3 strong { color: #6d28d9; }

html[data-theme="light"] .page-ref .ref-panel {
  border-color: rgba(20, 40, 70, 0.1);
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(124, 58, 237, .06), transparent 55%),
    linear-gradient(165deg, #ffffff, #f4f8fb);
  box-shadow: 0 14px 32px rgba(15, 30, 55, 0.07);
}
html[data-theme="light"] .page-ref .ref-panel--share {
  border-color: rgba(124, 58, 237, 0.28);
}
html[data-theme="light"] .page-ref .ref-panel--list {
  border-color: rgba(20, 40, 70, 0.1);
  background:
    radial-gradient(ellipse 60% 45% at 100% 0%, rgba(10, 171, 176, .06), transparent 50%),
    linear-gradient(165deg, #ffffff, #f4f8fb);
}
html[data-theme="light"] .page-ref .ref-panel-head {
  border-bottom-color: rgba(20, 40, 70, 0.1);
}
html[data-theme="light"] .page-ref .ref-panel-head h2 { color: #0f172a; }
html[data-theme="light"] .page-ref .ref-panel-link { color: #087f84; }
html[data-theme="light"] .page-ref .ref-panel-link:hover { color: #065f63; }
html[data-theme="light"] .page-ref .ref-code-chip {
  border-color: rgba(14, 165, 233, 0.3);
  background: rgba(14, 165, 233, 0.1);
  color: #0369a1;
}

html[data-theme="light"] .page-ref .ref-stat {
  border-color: rgba(20, 40, 70, 0.1);
  background: #fff;
}
html[data-theme="light"] .page-ref .ref-stat-ico {
  background:
    radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--ico) 18%, transparent), transparent 55%),
    linear-gradient(145deg, #fff, #eef3f8);
  box-shadow: 0 2px 8px rgba(15, 30, 55, 0.06);
}
html[data-theme="light"] .page-ref .ref-stat strong { color: #0f172a; }
html[data-theme="light"] .page-ref .ref-share-lbl { color: #334155; }
html[data-theme="light"] .page-ref .ref-share-input {
  background: #fff;
  border-color: rgba(20, 40, 70, 0.14);
  color: #0f172a;
}
html[data-theme="light"] .page-ref .ref-share-input:focus {
  border-color: rgba(10, 171, 176, 0.5);
  box-shadow: 0 0 0 3px rgba(10, 171, 176, 0.12);
}

html[data-theme="light"] .page-ref .ref-list-scroll {
  scrollbar-color: rgba(124, 58, 237, 0.35) transparent;
}
html[data-theme="light"] .page-ref .ref-roster-row {
  border-color: rgba(20, 40, 70, 0.1);
  background: #fff;
}
html[data-theme="light"] .page-ref .ref-roster-avatar {
  color: #047857;
  background:
    radial-gradient(circle at 30% 25%, rgba(5, 150, 105, .18), transparent 60%),
    linear-gradient(145deg, rgba(5, 150, 105, .1), #fff);
  border-color: rgba(5, 150, 105, 0.28);
}
html[data-theme="light"] .page-ref .ref-roster-meta strong { color: #0f172a; }
html[data-theme="light"] .page-ref .ref-roster-earn { color: #047857; }

html[data-theme="light"] .page-ref .ref-empty {
  border-color: rgba(124, 58, 237, 0.25);
  background:
    radial-gradient(ellipse 70% 60% at 50% 20%, rgba(124, 58, 237, .08), transparent 65%),
    rgba(15, 30, 55, 0.02);
}
html[data-theme="light"] .page-ref .ref-empty-art {
  background:
    radial-gradient(circle at 30% 25%, rgba(5, 150, 105, .14), transparent 55%),
    linear-gradient(145deg, #fff, #eef3f8);
  border-color: rgba(5, 150, 105, 0.28);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.06);
}
html[data-theme="light"] .page-ref .ref-empty strong { color: #0f172a; }

html[data-theme="light"] .page-ref .ref-pager {
  border-top-color: rgba(20, 40, 70, 0.1);
}
html[data-theme="light"] .page-ref .ref-pager a,
html[data-theme="light"] .page-ref .ref-pager span {
  border-color: rgba(20, 40, 70, 0.12);
  color: #334155;
  background: #fff;
}
html[data-theme="light"] .page-ref .ref-pager a:hover {
  border-color: rgba(10, 171, 176, 0.4);
  color: #087f84;
}
html[data-theme="light"] .page-ref .ref-pager .is-on {
  border-color: rgba(124, 58, 237, 0.4);
  background: rgba(124, 58, 237, 0.12);
  color: #6d28d9;
}
html[data-theme="light"] .page-ref .ref-pager-nav {
  color: #087f84 !important;
}

/* ── Vacation mode (light) ────────────────────────────── */
html[data-theme="light"] .page-vac {
  background: var(--bg);
  color: #0f172a;
}
html[data-theme="light"] .page-vac .vac-aurora {
  background:
    radial-gradient(ellipse 60% 45% at 8% -5%, rgba(14, 165, 163, .14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 95% 5%, rgba(225, 29, 72, .08), transparent 52%),
    radial-gradient(ellipse 45% 35% at 70% 90%, rgba(14, 165, 233, .1), transparent 55%),
    radial-gradient(ellipse 40% 30% at 20% 80%, rgba(217, 119, 6, .07), transparent 50%),
    var(--bg);
}
html[data-theme="light"] .page-vac .vac-blob-a { background: rgba(124, 58, 237, .18); }
html[data-theme="light"] .page-vac .vac-blob-b { background: rgba(14, 165, 163, .16); }

html[data-theme="light"] .page-vac .vac-back {
  border-color: rgba(20, 40, 70, 0.12);
  background: #fff;
  color: #5a667c;
}
html[data-theme="light"] .page-vac .vac-back:hover {
  color: #0f172a;
  border-color: rgba(14, 165, 163, 0.4);
}
html[data-theme="light"] .page-vac .vac-kicker {
  background: linear-gradient(90deg, rgba(14, 165, 163, .12), rgba(14, 165, 233, .1));
  border-color: rgba(14, 165, 163, 0.35);
  color: #0f766e;
}
html[data-theme="light"] .page-vac .vac-title {
  background: linear-gradient(120deg, #0f172a 5%, #0d9488 40%, #0284c7 70%, #d97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-theme="light"] .page-vac .vac-lead { color: #5a667c; }
html[data-theme="light"] .page-vac .vac-lead strong { color: #0f172a; }
html[data-theme="light"] .page-vac .vac-live-pill {
  border-color: rgba(217, 119, 6, 0.4);
  background: rgba(217, 119, 6, 0.12);
  color: #b45309;
}

html[data-theme="light"] .page-vac .vac-stat {
  border-color: rgba(20, 40, 70, 0.1);
  background: #fff;
  box-shadow: 0 6px 16px rgba(15, 30, 55, 0.05);
}
html[data-theme="light"] .page-vac .vac-stat span,
html[data-theme="light"] .page-vac .vac-stat em { color: #6b768a; }
html[data-theme="light"] .page-vac .vac-stat strong { color: #0f172a; }
html[data-theme="light"] .page-vac .vac-stat--price {
  border-color: rgba(13, 148, 136, 0.35);
  background: linear-gradient(160deg, rgba(13, 148, 136, .1), #fff);
}
html[data-theme="light"] .page-vac .vac-stat--price strong { color: #0f766e; }
html[data-theme="light"] .page-vac .vac-stat--buy {
  border-color: rgba(14, 165, 233, 0.32);
  background: linear-gradient(160deg, rgba(14, 165, 233, .1), #fff);
}
html[data-theme="light"] .page-vac .vac-stat--buy strong { color: #0369a1; }
html[data-theme="light"] .page-vac .vac-stat--earn {
  border-color: rgba(217, 119, 6, 0.32);
  background: linear-gradient(160deg, rgba(217, 119, 6, .1), #fff);
}
html[data-theme="light"] .page-vac .vac-stat--earn strong { color: #b45309; }

html[data-theme="light"] .page-vac .vac-active-banner {
  border-color: rgba(225, 29, 72, 0.28);
  background: linear-gradient(100deg, rgba(225, 29, 72, .08), rgba(217, 119, 6, .08));
}
html[data-theme="light"] .page-vac .vac-active-banner > i { color: #be123c; }
html[data-theme="light"] .page-vac .vac-active-banner strong { color: #9f1239; }
html[data-theme="light"] .page-vac .vac-active-banner p { color: #7c2d12; }

html[data-theme="light"] .page-vac .vac-tip p { color: #5a667c; }
html[data-theme="light"] .page-vac .vac-tip strong { color: #0f172a; }
html[data-theme="light"] .page-vac .vac-tip--coral {
  background: linear-gradient(160deg, rgba(225, 29, 72, .1), #fff);
  border-color: rgba(225, 29, 72, 0.28);
}
html[data-theme="light"] .page-vac .vac-tip--coral i {
  background: rgba(225, 29, 72, 0.12);
  color: #be123c;
}
html[data-theme="light"] .page-vac .vac-tip--mint {
  background: linear-gradient(160deg, rgba(13, 148, 136, .1), #fff);
  border-color: rgba(13, 148, 136, 0.28);
}
html[data-theme="light"] .page-vac .vac-tip--mint i {
  background: rgba(13, 148, 136, 0.12);
  color: #0f766e;
}
html[data-theme="light"] .page-vac .vac-tip--gold {
  background: linear-gradient(160deg, rgba(217, 119, 6, .1), #fff);
  border-color: rgba(217, 119, 6, 0.28);
}
html[data-theme="light"] .page-vac .vac-tip--gold i {
  background: rgba(217, 119, 6, 0.12);
  color: #b45309;
}
html[data-theme="light"] .page-vac .vac-tip--sky {
  background: linear-gradient(160deg, rgba(14, 165, 233, .1), #fff);
  border-color: rgba(14, 165, 233, 0.28);
}
html[data-theme="light"] .page-vac .vac-tip--sky i {
  background: rgba(14, 165, 233, 0.12);
  color: #0284c7;
}

html[data-theme="light"] .page-vac .vac-book {
  border-color: rgba(20, 40, 70, 0.1);
  background:
    linear-gradient(165deg, #ffffff, #f4f8fb),
    linear-gradient(120deg, rgba(13, 148, 136, .06), transparent 40%, rgba(225, 29, 72, .04));
  box-shadow: 0 16px 36px rgba(15, 30, 55, 0.08);
}
html[data-theme="light"] .page-vac .vac-book-head h2 {
  background: linear-gradient(90deg, #0f172a, #0d9488);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-theme="light"] .page-vac .vac-book-head p { color: #6b768a; }
html[data-theme="light"] .page-vac .vac-book-badge {
  border-color: rgba(124, 58, 237, 0.3);
  background: rgba(124, 58, 237, 0.1);
  color: #6d28d9;
}

html[data-theme="light"] .page-vac .vac-cal {
  border-color: rgba(13, 148, 136, 0.28);
  background:
    linear-gradient(180deg, rgba(13, 148, 136, .08), transparent 40%),
    #fff;
  box-shadow: 0 10px 24px rgba(15, 30, 55, 0.07);
}
html[data-theme="light"] .page-vac .vac-cal-label { color: #0f172a; }
html[data-theme="light"] .page-vac .vac-cal-nav {
  border-color: rgba(20, 40, 70, 0.12);
  background: #f4f8fb;
  color: #334155;
}
html[data-theme="light"] .page-vac .vac-cal-nav:hover {
  border-color: rgba(13, 148, 136, 0.45);
  color: #0f766e;
}
html[data-theme="light"] .page-vac .vac-cal-weekdays span { color: #94a3b8; }
html[data-theme="light"] .page-vac .vac-day {
  background: rgba(15, 30, 55, 0.04);
  color: #0f172a;
}
html[data-theme="light"] .page-vac .vac-day.is-past { color: #94a3b8; }
html[data-theme="light"] .page-vac .vac-day.is-in {
  background: rgba(13, 148, 136, 0.14);
  color: #0f766e;
}
html[data-theme="light"] .page-vac .vac-day.is-start,
html[data-theme="light"] .page-vac .vac-day.is-end {
  color: #fff;
}

html[data-theme="light"] .page-vac .vac-date-row input {
  border-color: rgba(20, 40, 70, 0.14);
  background: #fff;
  color: #0f172a;
}
html[data-theme="light"] .page-vac .vac-date-row input:focus {
  border-color: rgba(13, 148, 136, 0.5);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}
html[data-theme="light"] .page-vac .vac-date-row label { color: #64748b; }
html[data-theme="light"] .page-vac .vac-summary {
  background: linear-gradient(100deg, rgba(13, 148, 136, .1), rgba(14, 165, 233, .08));
  border-color: rgba(13, 148, 136, 0.22);
}
html[data-theme="light"] .page-vac .vac-summary span { color: #64748b; }
html[data-theme="light"] .page-vac .vac-summary strong { color: #0f172a; }

html[data-theme="light"] .page-vac .vac-pay-opt {
  border-color: rgba(20, 40, 70, 0.12);
  background: #fff;
}
html[data-theme="light"] .page-vac .vac-pay-opt b { color: #0f172a; }
html[data-theme="light"] .page-vac .vac-pay-opt small { color: #64748b; }
html[data-theme="light"] .page-vac .vac-pay-opt--buy:has(input:checked) {
  border-color: rgba(14, 165, 233, 0.5);
  background: rgba(14, 165, 233, 0.1);
}
html[data-theme="light"] .page-vac .vac-pay-opt--earn:has(input:checked) {
  border-color: rgba(217, 119, 6, 0.5);
  background: rgba(217, 119, 6, 0.1);
}
html[data-theme="light"] .page-vac .vac-need-funds { color: #be123c; }
html[data-theme="light"] .page-vac .vac-need-funds a { color: #0f766e; }

html[data-theme="light"] .page-vac .vac-history {
  border-color: rgba(20, 40, 70, 0.1);
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 30, 55, 0.05);
}
html[data-theme="light"] .page-vac .vac-history h2 { color: #64748b; }
html[data-theme="light"] .page-vac .vac-hist-item {
  border-color: rgba(20, 40, 70, 0.1);
  background: #f8fafc;
}
html[data-theme="light"] .page-vac .vac-hist-item.is-active {
  border-color: rgba(217, 119, 6, 0.35);
  background: rgba(217, 119, 6, 0.08);
}
html[data-theme="light"] .page-vac .vac-hist-item.is-scheduled {
  border-color: rgba(14, 165, 233, 0.32);
  background: rgba(14, 165, 233, 0.08);
}
html[data-theme="light"] .page-vac .vac-hist-dates { color: #0f172a; }
html[data-theme="light"] .page-vac .vac-hist-meta { color: #6b768a; }

/* Mobile / tablet drawer panel */
@media (max-width: 1100px) {
  html[data-theme="light"] .header-panel {
    background:
      radial-gradient(ellipse 80% 50% at 50% 0%, rgba(10, 171, 176, .08), transparent 55%),
      rgba(247, 250, 252, 0.98);
    border-bottom-color: rgba(20, 40, 70, 0.12);
    box-shadow: 0 18px 42px rgba(15, 30, 55, 0.12);
  }
  html[data-theme="light"] .nav {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(20, 40, 70, 0.08);
  }
  html[data-theme="light"] .nav-link {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(20, 40, 70, 0.08);
  }
}
