/* ===========================================================
   Hard Hitters Sports — 2026 Rebuild
   Shared stylesheet
   Palette pulled from the HHS shield logo: navy + orange,
   with money-green (payouts) and gold (playoffs) accents.
   =========================================================== */

:root {
  --navy-900: #0c1526;
  --navy-800: #111d33;
  --navy-700: #16233f;
  --navy-600: #1d2e4f;
  --navy-500: #27406b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --orange: #f07d1a;
  --orange-bright: #ff8c2b;
  --orange-soft: rgba(240, 125, 26, 0.14);

  --green: #1fc16b;
  --green-soft: rgba(31, 193, 107, 0.14);
  --gold: #f5c451;
  --gold-soft: rgba(245, 196, 81, 0.14);
  --red: #ef4d4d;

  --text: #eef2f8;
  --text-dim: #9fb0c8;
  --text-faint: #67789a;

  --radius: 16px;
  --radius-sm: 11px;
  --shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.6);
  --shadow-orange: 0 14px 40px -10px rgba(240, 125, 26, 0.5);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display: "Barlow Condensed", "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--navy-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* field-line texture used on dark sections */
.field-bg {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(240,125,26,0.12), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(39,64,107,0.5), transparent 55%),
    var(--navy-900);
  position: relative;
}
.field-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    90deg, transparent, transparent 79px, rgba(255,255,255,0.025) 79px, rgba(255,255,255,0.025) 80px);
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(1280px, 92vw); margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.2px;
  padding: 13px 24px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--orange-bright), var(--orange));
  color: #ffffff; box-shadow: var(--shadow-orange); font-weight: 700;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.05); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(12, 21, 38, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); }
.brand img { height: 42px; width: auto; }
.brand-text { font-size: 22px; font-weight: 700; letter-spacing: 0.5px; line-height: 1; }
.brand-text small { display: block; font-family: var(--font); font-size: 10px; letter-spacing: 2px;
  color: var(--orange); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--text-dim); font-size: 15px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange-soft); color: var(--orange-bright);
  border: 1px solid rgba(240,125,26,0.3);
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .3px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange-bright);
  box-shadow: 0 0 0 0 rgba(240,125,26,0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(240,125,26,.55)} 70%{box-shadow:0 0 0 9px rgba(240,125,26,0)} 100%{box-shadow:0 0 0 0 rgba(240,125,26,0)} }

.hero h1 {
  font-family: var(--display); font-weight: 700; line-height: 0.98;
  font-size: clamp(48px, 6.2vw, 86px); letter-spacing: -0.5px; margin: 22px 0 18px;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--orange-bright), var(--gold));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.lead { font-size: 19px; color: var(--text-dim); max-width: 30em; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 40px; }
.hero-stats .stat .num { font-family: var(--display); font-size: 34px; font-weight: 700; color: var(--text); line-height: 1; }
.hero-stats .stat .lbl { font-size: 13px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ---------- Pick card mock (hero) ---------- */
.mock-stack { position: relative; }
.glass {
  background: linear-gradient(180deg, rgba(29,46,79,0.85), rgba(17,29,51,0.9));
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: var(--shadow); backdrop-filter: blur(8px);
}
.pick-card { padding: 18px; }
.pick-card .pc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.pc-head .wk { font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: .5px; }
.badge { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 6px; letter-spacing: .5px; text-transform: uppercase; }
.badge.live { background: var(--red); color: #fff; }
.badge.final { background: rgba(255,255,255,0.1); color: var(--text-dim); }
.badge.open { background: var(--green-soft); color: var(--green); }

.matchup { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 10px; }
.team {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 10px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: rgba(255,255,255,0.02); cursor: pointer; transition: all .15s ease; position: relative;
}
.team:hover { border-color: var(--line-strong); background: rgba(255,255,255,0.05); }
.team.picked { border-color: var(--orange); background: var(--orange-soft); box-shadow: inset 0 0 0 1px var(--orange); }
.team.picked::after { content: "✓"; position: absolute; top: 7px; right: 9px; color: var(--orange-bright); font-weight: 800; }
.team.win { border-color: var(--green); background: var(--green-soft); }
.team .logo { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 16px; color: #fff; letter-spacing: .5px; }
/* real team logos — subtle radial cushion so dark logos (NYG, NE, BAL…) read on any background */
.team .logo.img { width: 52px; height: 52px;
  background: radial-gradient(circle at 50% 45%, rgba(255,255,255,0.14), rgba(255,255,255,0) 68%); }
.team .logo.img img { width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.45)); }
.team .abbr { font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: .5px; }
.team .rec { font-size: 12px; color: var(--text-faint); }
.vs { display: grid; place-items: center; color: var(--text-faint); font-family: var(--display);
  font-size: 14px; font-weight: 600; }
.vs .spread { font-size: 11px; color: var(--text-dim); margin-top: 4px; white-space: nowrap; }
.score { font-family: var(--display); font-size: 26px; font-weight: 700; }

/* floating mini-cards */
.float {
  position: absolute; background: var(--navy-700); border: 1px solid var(--line-strong);
  border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; gap: 11px; align-items: center;
}
.float .ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; }
.float .t { font-size: 13px; color: var(--text-dim); }
.float .v { font-family: var(--display); font-size: 20px; font-weight: 700; line-height: 1; }
.float.f1 { top: -26px; right: -22px; }
.float.f2 { bottom: -26px; left: -26px; }

/* ---------- Section scaffolding ---------- */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.section-head .kicker { color: var(--orange); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; }
.section-head h2 { font-family: var(--display); font-size: clamp(34px, 4.2vw, 52px); font-weight: 700; line-height: 1.05; margin: 12px 0 14px; letter-spacing: -0.3px; }
.section-head p { color: var(--text-dim); font-size: 17px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.step .n { font-family: var(--display); font-size: 54px; font-weight: 700; color: var(--orange-soft);
  -webkit-text-stroke: 1px rgba(240,125,26,.5); line-height: 1; }
.step h3 { font-size: 19px; margin: 8px 0 8px; font-weight: 700; }
.step p { color: var(--text-dim); font-size: 15px; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .18s ease, border-color .18s; }
.feature:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.feature .ico { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; font-size: 24px; margin-bottom: 16px; }
.feature h3 { font-size: 20px; margin-bottom: 8px; }
.feature p { color: var(--text-dim); font-size: 15px; }
.ic-orange { background: var(--orange-soft); }
.ic-green { background: var(--green-soft); }
.ic-gold { background: var(--gold-soft); }

/* ---------- Payouts ---------- */
.payouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.payout { border-radius: var(--radius); padding: 32px 28px; border: 1px solid var(--line); background: var(--navy-800); position: relative; overflow: hidden; }
.payout.feature-tier { border-color: rgba(245,196,81,0.4); background: linear-gradient(180deg, rgba(245,196,81,0.08), var(--navy-800)); }
.payout .tag { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-faint); }
.payout.feature-tier .tag { color: var(--gold); }
.payout .amt { font-family: var(--display); font-size: 46px; font-weight: 700; margin: 10px 0 2px; }
.payout .amt small { font-size: 17px; color: var(--text-dim); font-family: var(--font); font-weight: 500; }
.payout ul { list-style: none; margin-top: 18px; display: grid; gap: 11px; }
.payout li { display: flex; gap: 10px; color: var(--text-dim); font-size: 15px; }
.payout li::before { content: "▸"; color: var(--orange); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-700), var(--navy-600)); border: 1px solid var(--line-strong);
  border-radius: 24px; padding: 56px; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { font-family: var(--display); font-size: clamp(34px, 4.5vw, 56px); font-weight: 700; margin-bottom: 14px; }
.cta-band p { color: var(--text-dim); font-size: 18px; margin-bottom: 28px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--text-faint); }
.foot-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.foot-inner .brand-text { font-size: 18px; }

/* ===========================================================
   AUTH (login.html)
   =========================================================== */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.auth-brand { padding: 56px; display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.auth-brand .brand { margin-bottom: 0; }
.auth-hero { max-width: 30em; }
.auth-hero h1 { font-family: var(--display); font-size: clamp(40px, 4.6vw, 64px); font-weight: 700; line-height: 1; margin-bottom: 18px; }
.auth-hero p { color: var(--text-dim); font-size: 18px; }
.auth-points { display: grid; gap: 14px; margin-top: 30px; }
.auth-points div { display: flex; gap: 12px; align-items: center; color: var(--text); font-weight: 500; }
.auth-points .chk { width: 26px; height: 26px; border-radius: 8px; background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; font-weight: 800; flex: 0 0 auto; }

.auth-form-side { background: var(--navy-800); display: grid; place-items: center; padding: 40px; }
.auth-card { width: min(420px, 100%); }
.auth-card h2 { font-family: var(--display); font-size: 38px; font-weight: 700; }
.auth-card .sub { color: var(--text-dim); margin-bottom: 28px; }
.field { margin-bottom: 18px; }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--text-dim); margin-bottom: 8px; }
.field input {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--navy-900); color: var(--text); font-size: 16px; font-family: var(--font); transition: border-color .15s, box-shadow .15s;
}
.field input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.field-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; margin-bottom: 22px; }
.field-row label { display: flex; gap: 8px; align-items: center; color: var(--text-dim); cursor: pointer; }
.field-row a { color: var(--orange-bright); font-weight: 600; }
.auth-alt { text-align: center; margin-top: 22px; color: var(--text-dim); font-size: 15px; }
.auth-alt a { color: var(--orange-bright); font-weight: 700; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--text-faint); font-size: 13px; margin: 24px 0; }
.divider::before, .divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }

/* ===========================================================
   PICKS DASHBOARD (picks.html)
   =========================================================== */
.app-nav { border-bottom: 1px solid var(--line); background: rgba(12,21,38,.85); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 50; }
.app-nav .nav-inner { height: 66px; }
.app-nav .nav-links a.active { color: var(--orange-bright); font-weight: 600; }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border: 1px solid var(--line-strong);
  border-radius: 999px; }
.user-chip .av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--gold));
  display: grid; place-items: center; font-weight: 800; color: #1a1003; }
.user-chip .nm { font-size: 14px; font-weight: 600; }

.app-main { padding: 32px 0 80px; }
.app-grid { display: grid; grid-template-columns: 1fr 320px; gap: 26px; align-items: start; }

.week-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.week-switch { display: flex; align-items: center; gap: 6px; background: var(--navy-800); border: 1px solid var(--line); border-radius: 12px; padding: 5px; }
.week-switch button { background: transparent; border: 0; color: var(--text-dim); padding: 8px 12px; border-radius: 8px; cursor: pointer; font-size: 14px; }
.week-switch .cur { font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--text); padding: 0 8px; }
.pool-toggle { display: inline-flex; background: var(--navy-800); border: 1px solid var(--line); border-radius: 12px; padding: 5px; }
.pool-toggle button { border: 0; background: transparent; color: var(--text-dim); padding: 9px 18px; border-radius: 9px; cursor: pointer; font-weight: 600; font-size: 14px; }
.pool-toggle button.active { background: var(--orange); color: #ffffff; font-weight: 700; }
.pool-toggle button.po.active { background: var(--gold); color: #10141c; }

.statline { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 26px; }
.statbox { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.statbox .l { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-faint); }
.statbox .v { font-family: var(--display); font-size: 30px; font-weight: 700; line-height: 1.1; margin-top: 4px; }
.statbox .v.green { color: var(--green); }
.statbox .v.gold { color: var(--gold); }

.deadline { display: flex; align-items: center; gap: 10px; background: var(--orange-soft); border: 1px solid rgba(240,125,26,.3);
  color: var(--orange-bright); border-radius: 12px; padding: 12px 18px; margin-bottom: 22px; font-weight: 600; }

.games-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.game { padding: 16px; }
.game .g-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 13px; color: var(--text-faint); }
.spread-pill {
  background: var(--orange-soft); color: var(--orange);
  border: 1px solid rgba(240, 125, 26, 0.38);
  font-weight: 700; font-size: 12px; letter-spacing: .4px;
  padding: 3px 11px; border-radius: 999px; white-space: nowrap;
}
/* per-game lock states */
.g-foot { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line);
  font-size: 12px; font-weight: 600; text-align: center; }
.g-foot.locked { color: var(--text-faint); }
.g-foot.open { color: var(--green); }
.g-foot.missed { color: var(--red); }
.game.missed { border-color: rgba(239,77,77,0.45); }
.game.locked .team { cursor: default; }
.game.locked .team:hover { background: rgba(127,127,127,0.04); border-color: var(--line); }
.game.locked .team:not(.picked) { opacity: .4; }
.game.locked .team.picked { border-color: var(--text-faint); background: rgba(127,127,127,0.10);
  box-shadow: inset 0 0 0 1px var(--text-faint); }
.game.locked .team.picked::after { content: "🔒"; color: var(--text-dim); font-weight: 400; font-size: 12px; }

.panel { padding: 20px; }
.panel h3 { font-family: var(--display); font-size: 20px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.lead-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.lead-row:last-child { border-bottom: 0; }
.lead-row .rk { width: 24px; font-family: var(--display); font-weight: 700; color: var(--text-faint); }
.lead-row.me { background: var(--orange-soft); margin: 0 -20px; padding: 10px 20px; border-radius: 8px; border: 0; }
.lead-row .av { width: 30px; height: 30px; border-radius: 50%; background: var(--navy-600); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.lead-row .nm { flex: 1; font-weight: 600; font-size: 15px; }
.lead-row .pts { font-family: var(--display); font-weight: 700; font-size: 18px; }
.lead-row .pts small { color: var(--text-faint); font-family: var(--font); font-size: 12px; font-weight: 500; }

.payout-track { display: grid; gap: 12px; }
.payout-track .pt-row { display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.payout-track .pt-row .tag { color: var(--text-dim); }
.payout-track .pt-row .amt { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--green); }

.tiebreak { margin: 22px 0; padding: 18px; text-align: center; }
.tiebreak h4 { font-family: var(--display); font-size: 18px; margin-bottom: 4px; }
.tiebreak p { color: var(--text-dim); font-size: 14px; margin-bottom: 12px; }
.tiebreak input { width: 140px; text-align: center; padding: 12px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: var(--navy-900); color: var(--text); font-family: var(--display); font-size: 24px; font-weight: 700; }
.tiebreak input:focus { outline: none; border-color: var(--orange); }

.submit-bar { position: sticky; bottom: 18px; margin-top: 22px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; background: var(--navy-700); border: 1px solid var(--line-strong); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); }
.submit-bar .cnt { font-size: 14px; color: var(--text-dim); }
.submit-bar .cnt b { color: var(--text); font-family: var(--display); font-size: 18px; }

/* ===========================================================
   STANDINGS (standings.html)
   =========================================================== */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.page-head h1 { font-family: var(--display); font-size: clamp(30px, 4vw, 44px); font-weight: 700; line-height: 1; }
.page-head .sub { color: var(--text-dim); font-size: 15px; margin-top: 6px; }
.sample-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text-faint);
  border: 1px dashed var(--line-strong); border-radius: 999px; padding: 3px 10px; }

/* podium */
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.p-card { padding: 20px; display: flex; align-items: center; gap: 16px; position: relative; overflow: hidden; }
.p-card .medal { font-size: 30px; line-height: 1; }
.p-card .who { flex: 1; }
.p-card .who .nm { font-family: var(--display); font-size: 22px; font-weight: 700; line-height: 1.1; }
.p-card .who .meta { font-size: 13px; color: var(--text-dim); }
.p-card .big { text-align: right; }
.p-card .big .w { font-family: var(--display); font-size: 34px; font-weight: 700; line-height: 1; }
.p-card .big .pct { font-size: 12px; color: var(--text-faint); }
.p-card.first { border-color: rgba(245,196,81,0.5); background: linear-gradient(180deg, var(--gold-soft), var(--navy-800)); }
.p-card.first .big .w { color: var(--gold); }
.p-card.second { border-color: rgba(170,185,210,0.4); }
.p-card.third { border-color: rgba(205,127,80,0.4); }

/* table */
.standings-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--navy-800); -webkit-overflow-scrolling: touch; }
.standings { width: 100%; border-collapse: collapse; font-size: 14px; white-space: nowrap; }
.standings th, .standings td { padding: 13px 12px; text-align: center; border-bottom: 1px solid var(--line); }
.standings tbody tr:last-child td { border-bottom: 0; }
.standings thead th { position: sticky; top: 0; background: var(--navy-700); color: var(--text-dim);
  font-size: 11px; text-transform: uppercase; letter-spacing: .6px; font-weight: 700; z-index: 2; }
/* sticky player column */
.standings th.col-player, .standings td.col-player { position: sticky; left: 0; text-align: left; background: var(--navy-800); z-index: 1; min-width: 190px; }
.standings thead th.col-player { background: var(--navy-700); z-index: 3; }
.standings tbody tr:hover td { background: rgba(127,127,127,0.05); }
.standings tbody tr:hover td.col-player { background: var(--navy-600); }
.standings .player-cell { display: flex; align-items: center; gap: 11px; }
.standings .rk { width: 26px; height: 26px; flex: 0 0 auto; border-radius: 7px; display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 14px; background: var(--navy-600); color: var(--text-dim); }
.standings .rk.r1 { background: var(--gold); color: #10141c; }
.standings .rk.r2 { background: #c7d0e0; color: #10141c; }
.standings .rk.r3 { background: #cd8a5a; color: #10141c; }
.standings .pname { font-weight: 600; font-size: 15px; }
.standings td.total { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--orange); }
.standings td.pct { font-weight: 700; color: var(--text); }
.standings td.wk { color: var(--text-dim); }
.standings tr.me td { background: var(--orange-soft) !important; }
.standings tr.me .pname { color: var(--orange); }
.standings tr.me td.col-player { box-shadow: inset 3px 0 0 var(--orange); }

/* ===========================================================
   ALL PICKS (allpicks.html)
   =========================================================== */
.legend { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; font-size: 13px; color: var(--text-dim); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend .sw { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--line-strong); }
.sw.correct { background: var(--green-soft); border-color: rgba(31,193,107,.5); }
.sw.wrong { background: rgba(239,77,77,0.14); border-color: rgba(239,77,77,.5); }
.sw.pending { background: var(--navy-600); }

/* ---- View 1: Players × Games grid ---- */
.pg-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--navy-800); -webkit-overflow-scrolling: touch; }
.pg-table { border-collapse: collapse; white-space: nowrap; width: 100%; }
.pg-table th, .pg-table td { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; padding: 7px 5px; }
.pg-table thead th { position: sticky; top: 0; background: var(--navy-700); z-index: 2; }
.pg-table th.col-player, .pg-table td.col-player { position: sticky; left: 0; background: var(--navy-800); text-align: left; z-index: 1; min-width: 168px; }
.pg-table thead th.col-player { z-index: 3; background: var(--navy-700); color: var(--text-faint);
  font-size: 11px; text-transform: uppercase; letter-spacing: .5px; }
.pg-table tbody tr:hover td { background: rgba(127,127,127,.05); }
.pg-table tbody tr:hover td.col-player { background: var(--navy-600); }
.pg-table tr.me td { background: var(--orange-soft) !important; }
.pg-table tr.me td.col-player { box-shadow: inset 3px 0 0 var(--orange); }
.pg-player { display: flex; align-items: center; gap: 9px; }
.pg-player .av { width: 26px; height: 26px; border-radius: 50%; flex: 0 0 auto; background: var(--navy-600); }
.pg-player .pn { font-weight: 600; font-size: 14px; }
.pg-table tr.me .pg-player .pn { color: var(--orange); }
/* game column header: away over home, winner in green */
.pg-gh { display: flex; flex-direction: column; gap: 1px; font-size: 11px; font-weight: 700; color: var(--text-dim); line-height: 1.25; }
.pg-gh .w { color: var(--green); }
.pg-gh .pend { color: var(--text-faint); }
/* pick cells */
.pg-cell { display: inline-block; font-weight: 700; font-size: 12px; border-radius: 7px; padding: 5px 12px; }
.pg-correct { background: var(--green-soft); color: var(--green); }
.pg-wrong { background: rgba(239,77,77,.12); color: var(--red); }
.pg-pending { color: var(--text-faint); }
.pg-table td.pg-rec, .pg-table th.pg-rec { font-family: var(--display); font-weight: 700; font-size: 16px; background: var(--navy-700); position: sticky; right: 0; }
.pg-table thead th.pg-rec { color: var(--text-faint); font-family: var(--font); font-size: 11px; text-transform: uppercase; letter-spacing: .5px; z-index: 3; }


/* ===========================================================
   PAYOUTS (payouts.html)
   =========================================================== */
.pay-grid { display: grid; grid-template-columns: 1fr 330px; gap: 26px; align-items: start; }
.pay-ph { padding: 18px 20px; border-bottom: 1px solid var(--line); font-family: var(--display);
  font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.pay-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pay-table th, .pay-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.pay-table thead th { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--text-faint);
  font-weight: 700; background: var(--navy-700); }
.pay-table tbody tr:last-child td { border-bottom: 0; }
.pay-table tbody tr.upcoming td { color: var(--text-faint); }
.pay-table .wkno { font-family: var(--display); font-weight: 700; color: var(--text-dim); }
.pay-table .amt { font-family: var(--display); font-weight: 700; color: var(--green); }
.pay-table tr.mewin { background: var(--orange-soft); }
.pay-table tr.mewin .wname { color: var(--orange); font-weight: 700; }
.winner-cell { display: flex; align-items: center; gap: 10px; }
.winner-cell .av { width: 28px; height: 28px; border-radius: 50%; background: var(--navy-600); color: var(--text);
  display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: 0 0 auto; }
.wname { font-weight: 600; }
.pill-status { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .4px; }
.pill-status.paid { background: var(--green-soft); color: var(--green); }
.pill-status.pending { background: var(--gold-soft); color: #a9791a; }
.pill-status.upcoming { background: rgba(127,127,127,.12); color: var(--text-faint); }
.prize-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.prize-row:last-child { border-bottom: 0; }
.prize-row .place { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.prize-row .who { font-size: 12px; color: var(--text-faint); font-weight: 500; }
.prize-row .money { font-family: var(--display); font-weight: 700; font-size: 20px; }
.prize-row.champ .money { color: var(--gold); }
.your-win-total { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 2px solid var(--line-strong); }
.your-win-total .lbl { font-weight: 700; }
.your-win-total .big { font-family: var(--display); font-size: 30px; font-weight: 700; color: var(--green); }

/* ===========================================================
   HELMET AVATARS (helmet.js)  +  PROFILE (profile.html)
   =========================================================== */
.av-helmet { background: #eef2f8 !important; padding: 0 !important; overflow: hidden; }
.helmet-svg { width: 100%; height: 100%; display: block; }
.av-team { background: #fff !important; }
.av-team .av-img { width: 100%; height: 100%; object-fit: contain; padding: 14%; box-sizing: border-box;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.25)); }

/* avatar-type toggle + team picker (profile) */
.avatar-type { margin-bottom: 16px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 8px; }
.team-pick { aspect-ratio: 1; border-radius: 10px; border: 2px solid var(--line-strong); background: #fff;
  padding: 7px; cursor: pointer; display: grid; place-items: center; transition: transform .12s, border-color .12s, box-shadow .12s; }
.team-pick:hover { transform: translateY(-2px); }
.team-pick.sel { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.team-pick img { width: 100%; height: 100%; object-fit: contain; }
.helmet-preview.is-team { background: #fff; }

.profile-hero { padding: 24px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 24px; }
.profile-hero .id { flex: 1; min-width: 200px; }
.profile-hero .id h2 { font-family: var(--display); font-size: 30px; font-weight: 700; line-height: 1.1; }
.profile-hero .id .u { color: var(--text-dim); }
.profile-hero .id .e { color: var(--text-faint); font-size: 14px; margin-top: 2px; }
.profile-hero .id .note { font-size: 13px; color: var(--text-dim); margin-top: 10px; }

.helmet-preview { width: 104px; height: 104px; border-radius: 50%; background: #eef2f8; display: grid;
  place-items: center; flex: 0 0 auto; box-shadow: inset 0 0 0 1px var(--line-strong); }
.helmet-preview .helmet-svg { width: 82%; height: 82%; }
.helmet-preview .av-img { width: 74%; height: 74%; object-fit: contain; }

.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.card-h { font-family: var(--display); font-size: 20px; font-weight: 700; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.card-sub { font-size: 13px; color: var(--text-dim); margin: -10px 0 16px; }

.pm-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 800; color: #fff; flex: 0 0 auto; font-size: 13px; letter-spacing: .3px; }
.pm-venmo { background: #3d95ce; } .pm-paypal { background: #003087; } .pm-zelle { background: #6d1ed4; }
.field label .pm-ico { font-size: 12px; }
.pm-logo { height: 26px; width: auto; background: #fff; padding: 3px 8px; border-radius: 6px;
  box-sizing: content-box; box-shadow: 0 1px 2px rgba(0,0,0,.12); display: block; }

.helmet-chooser-label { font-size: 14px; font-weight: 600; color: var(--text-dim); margin-bottom: 8px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 48px; height: 48px; border-radius: 12px; border: 2px solid var(--line-strong);
  cursor: pointer; background: #eef2f8; padding: 3px; overflow: hidden; transition: transform .12s, border-color .12s, box-shadow .12s; }
.swatch:hover { transform: translateY(-2px); }
.swatch.sel { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.swatch .helmet-svg { width: 100%; height: 100%; }

/* ===========================================================
   ONBOARDING (welcome.html)
   =========================================================== */
.onboard-top { padding: 26px 0; border-bottom: 1px solid var(--line); }
.onboard-top .brand { justify-content: center; }
.onboard { width: min(760px, 92vw); margin: 0 auto; padding: 40px 0 90px; }
.onboard-hero { text-align: center; margin-bottom: 30px; }
.onboard-hero .step { color: var(--orange); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; font-size: 13px; }
.onboard-hero h1 { font-family: var(--display); font-size: clamp(32px, 5vw, 50px); font-weight: 700; line-height: 1.05; margin: 10px 0 8px; }
.onboard-hero p { color: var(--text-dim); font-size: 17px; }
.onboard .glass.panel { margin-bottom: 20px; }
.onboard-preview-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 18px; }
.onboard-preview-row p { color: var(--text-dim); font-size: 14px; flex: 1; min-width: 200px; }

/* ===========================================================
   RULES (rules.html)
   =========================================================== */
.rules-grid { display: grid; gap: 20px; max-width: 820px; margin: 0 auto; }
.rule-card { padding: 26px 28px; }
.rule-card h3 { font-family: var(--display); font-size: 23px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.rule-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.rule-card li { display: flex; gap: 12px; color: var(--text-dim); font-size: 15.5px; line-height: 1.55; }
.rule-card li b { color: var(--text); }
.rule-card li .tick { color: var(--green); flex: 0 0 auto; font-weight: 800; }
.rules-foot { text-align: center; color: var(--text-faint); font-size: 14px; max-width: 820px; margin: 8px auto 0; }

/* ===========================================================
   APP FOOTER (data attribution) — member pages
   =========================================================== */
.app-foot { border-top: 1px solid var(--line); margin-top: 48px; padding: 26px 0 36px; }
.app-foot .container { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
.app-foot p { color: var(--text-faint); font-size: 13px; line-height: 1.6; max-width: 680px; }
.app-foot a { color: var(--text-dim); text-decoration: underline; text-underline-offset: 2px; }
.app-foot a:hover { color: var(--text); }
.app-foot b { color: var(--text-dim); font-weight: 600; }

/* ===========================================================
   DASHBOARD (dashboard.html)
   =========================================================== */
.dash-greet { font-family: var(--display); font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; line-height: 1; }
.dash-sub { color: var(--text-dim); margin: 6px 0 24px; font-size: 16px; }

.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px 24px; margin-bottom: 20px; border-color: rgba(240,125,26,0.35);
  background: linear-gradient(120deg, var(--orange-soft), var(--navy-800)); }
.cta-card .ct h3 { font-family: var(--display); font-size: 22px; font-weight: 700; }
.cta-card .ct p { color: var(--text-dim); font-size: 14px; margin-top: 2px; }
.cta-card.pending { border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange), 0 14px 34px -14px rgba(240,125,26,.5); }

.chart { display: flex; align-items: flex-end; gap: 8px; height: 180px; padding-top: 22px; }
.chart .col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; }
.chart .bar { width: 100%; max-width: 30px; min-height: 4px; border-radius: 6px 6px 0 0; position: relative;
  background: linear-gradient(180deg, var(--orange-bright), var(--orange)); }
.chart .bar.best { background: linear-gradient(180deg, var(--gold), #e0a92e); }
.chart .bar .v { position: absolute; top: -18px; left: -6px; right: -6px; text-align: center;
  font-family: var(--display); font-weight: 700; font-size: 12px; color: var(--text-dim); }
.chart .wk { font-size: 11px; color: var(--text-faint); }
.qs-foot { margin-top: 12px; text-align: center; }
.qs-foot a { color: var(--orange-bright); font-weight: 600; font-size: 14px; }

/* ===========================================================
   SCORES (scores.html)
   =========================================================== */
.scores-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.score-card { padding: 14px 18px; }
.sc-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px;
  color: var(--text-faint); margin-bottom: 8px; }
.sc-status { font-weight: 700; letter-spacing: .4px; }
.sc-status.final { color: var(--text-dim); }
.sc-status.live { color: var(--red); }
.sc-status.sched { color: var(--text-faint); }
.sc-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.sc-row + .sc-row { border-top: 1px solid var(--line); }
.sc-row .lg { width: 36px; height: 36px; object-fit: contain; flex: 0 0 auto;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.3)); }
.sc-row .tn { flex: 1; font-weight: 600; font-size: 15px; }
.sc-row .tn small { display: block; color: var(--text-faint); font-weight: 400; font-size: 12px; }
.sc-row .sc { font-family: var(--display); font-weight: 700; font-size: 24px; min-width: 34px; text-align: right; }
.sc-row.win .sc { color: var(--green); }
.sc-row.lose { opacity: .55; }

/* ===========================================================
   ADMIN / COMMISSIONER (admin.html)
   =========================================================== */
.admin-note { display: flex; gap: 11px; align-items: flex-start; background: var(--green-soft);
  border: 1px solid rgba(31,193,107,.3); color: var(--text-dim); border-radius: 12px;
  padding: 14px 16px; font-size: 14px; line-height: 1.5; margin-bottom: 24px; }
.admin-note b { color: var(--text); }

.admin-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; margin-bottom: 24px; }

.owed-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.owed-row:last-child { border-bottom: 0; }
.owed-row .rk { width: 22px; font-family: var(--display); font-weight: 700; color: var(--text-faint); }
.owed-row .who { display: flex; flex-direction: column; }
.owed-row .who .nm { font-weight: 600; }
.owed-row .who .handle { font-size: 12px; color: var(--text-faint); }
.owed-row .amt { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--green); margin-left: auto; }
.owed-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 2px solid var(--line-strong); }
.owed-foot .big { font-family: var(--display); font-size: 24px; font-weight: 700; }

.set-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.set-row:last-child { border-bottom: 0; }
.set-row .lbl { color: var(--text-dim); }
.set-row .val { font-weight: 700; }

.admin-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--navy-800); -webkit-overflow-scrolling: touch; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.admin-table thead th { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--text-faint); font-weight: 700; background: var(--navy-700); }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover td { background: rgba(127,127,127,.05); }
.admin-table tr.me-row td { background: var(--orange-soft); }
.admin-player { display: flex; align-items: center; gap: 10px; }
.admin-player .av { width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto; background: var(--navy-600); }
.admin-player .pn { font-weight: 600; }
.admin-table .win { font-family: var(--display); font-weight: 700; color: var(--green); }
.admin-table .win.zero { color: var(--text-faint); }

.paid-toggle { border: 1px solid; border-radius: 999px; padding: 4px 13px; font-size: 12px; font-weight: 700;
  cursor: pointer; letter-spacing: .3px; transition: all .12s; }
.paid-toggle.yes { color: var(--green); border-color: rgba(31,193,107,.5); background: var(--green-soft); }
.paid-toggle.no { color: var(--red); border-color: rgba(239,77,77,.45); background: rgba(239,77,77,.10); }
.pay-method-tag { font-size: 12px; font-weight: 600; color: var(--text-dim); }
.del-btn { border: 0; background: transparent; color: var(--text-faint); cursor: pointer; font-size: 16px; padding: 4px 6px; border-radius: 6px; }
.del-btn:hover { color: var(--red); background: rgba(239,77,77,.10); }
.yn { font-size: 13px; font-weight: 600; }
.yn.y { color: var(--green); } .yn.n { color: var(--text-faint); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .admin-grid { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features, .payouts { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-800); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 6px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 24px; font-size: 16px; }
  .nav-links a + a { border-top: 1px solid var(--line); }
  .nav-links .nav-profile { display: block; }
  /* the profile chip is the menu trigger on mobile */
  .user-chip { cursor: pointer; }
  .user-chip::after { content: "▾"; margin-left: 1px; color: var(--text-faint); font-size: 12px; }
  .podium { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: 1fr; }
  .statline { grid-template-columns: repeat(2,1fr); }
  .hero-stats { flex-wrap: wrap; gap: 22px; }
}

/* ===========================================================
   LIGHT THEME  (toggle sets <html data-theme="light">)
   =========================================================== */
[data-theme="light"] {
  --navy-900: #eef1f7;   /* page background */
  --navy-800: #ffffff;   /* cards / statboxes */
  --navy-700: #ffffff;   /* panels / floats / submit bar */
  --navy-600: #e6ebf4;
  --navy-500: #d6deec;
  --line: rgba(12, 21, 38, 0.10);
  --line-strong: rgba(12, 21, 38, 0.16);
  --text: #0c1526;
  --text-dim: #4a5a76;
  --text-faint: #8493ab;
  --shadow: 0 16px 40px -18px rgba(20, 40, 80, 0.28);
  --orange-soft: rgba(240, 125, 26, 0.12);
  --green-soft: rgba(31, 193, 107, 0.14);
  --gold-soft: rgba(245, 196, 81, 0.18);
}
[data-theme="light"] .field-bg {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(240,125,26,0.10), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(39,64,107,0.08), transparent 55%),
    var(--navy-900);
}
[data-theme="light"] .field-bg::before {
  background-image: repeating-linear-gradient(
    90deg, transparent, transparent 79px, rgba(12,21,38,0.035) 79px, rgba(12,21,38,0.035) 80px);
}
[data-theme="light"] .glass {
  background: linear-gradient(180deg, #ffffff, #f6f8fc);
  border-color: var(--line-strong);
  box-shadow: 0 12px 30px -16px rgba(20,40,80,0.22);
}
[data-theme="light"] .app-nav,
[data-theme="light"] .nav { background: rgba(255, 255, 255, 0.82); }
[data-theme="light"] .team { background: #f6f8fc; }
[data-theme="light"] .team:hover { background: #eef2f8; border-color: var(--line-strong); }
[data-theme="light"] .team .logo.img {
  background: radial-gradient(circle at 50% 45%, rgba(12,21,38,0.06), rgba(12,21,38,0) 68%);
}
[data-theme="light"] .badge.final { background: rgba(12,21,38,0.07); }
[data-theme="light"] .week-switch button,
[data-theme="light"] .pool-toggle button:not(.active) { color: var(--text-dim); }

/* theme toggle button */
.theme-toggle {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 10px; border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.05); color: var(--text); cursor: pointer;
  font-size: 18px; transition: background .15s, transform .15s; line-height: 1;
}
.theme-toggle:hover { background: rgba(255,255,255,0.12); transform: translateY(-1px); }
[data-theme="light"] .theme-toggle { background: rgba(12,21,38,0.04); }
[data-theme="light"] .theme-toggle:hover { background: rgba(12,21,38,0.09); }
.theme-toggle .moon { display: none; }
.theme-toggle .sun { display: block; }
[data-theme="light"] .theme-toggle .moon { display: block; }
[data-theme="light"] .theme-toggle .sun { display: none; }

/* the in-menu Profile link only appears in the mobile dropdown */
.nav-profile { display: none; }
