:root {
  --bg: #06110c;
  --bg-2: #0b1c14;
  --ink: #f6f3ea;
  --mute: #9aa89a;
  --dim: #6d7a6e;
  --line: rgba(200, 245, 66, .12);
  --lime: #c8f542;
  --lime-2: #9bc92a;
  --gold: var(--lime);
  --gold-2: #d6ee7a;
  --green: #5ee0a0;
  --red: #ff6b7a;
  --fill: rgba(255,255,255,.05);
  --fill-2: rgba(200,245,66,.1);
  --header-h: 58px;
  --tabbar-h: 72px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --font: "Sora", -apple-system, BlinkMacSystemFont, sans-serif;
  --display: "Oswald", "Sora", sans-serif;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  line-height: 1.45;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 420px at 50% -120px, rgba(200,245,66,.16), transparent 55%),
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(255,255,255,.015) 28px 56px),
    linear-gradient(180deg, #0d2418 0%, var(--bg) 38%);
}
body::after {
  content: "";
  position: fixed;
  inset: auto 0 0;
  height: 180px;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 120%, rgba(200,245,66,.08), transparent 70%);
}

#app {
  position: relative;
  z-index: 1;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.cap-icon {
  display: inline-block;
  width: 22px; height: 22px;
  background: url("/static/coin.png?v=24") center / contain no-repeat;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  flex-shrink: 0;
  vertical-align: middle;
}
.cap-icon::after { content: none; display: none; }
.cap-icon-lg { width: 40px; height: 40px; }
.cap-icon-xl { width: 52px; height: 52px; }
.cap-inline { display: inline-block; width: 18px; height: 18px; vertical-align: -4px; }
.cap-inline::after { font-size: 7px; }
.cap-amount { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--lime); }
.cap-amount.pos { color: var(--green); }
.cap-amount.neg { color: var(--red); }

.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 18px;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.brand { display: flex; align-items: baseline; gap: 8px; }
.brand-mark {
  font-family: var(--display);
  font-size: 26px; letter-spacing: .12em;
  color: var(--lime);
}
.brand-name { font-size: 12px; font-weight: 600; color: var(--mute); letter-spacing: .18em; text-transform: uppercase; }
.wallet-chip {
  display: flex; align-items: center; gap: 8px;
  background: rgba(200,245,66,.08);
  border: 1px solid rgba(200,245,66,.22);
  border-radius: 999px;
  padding: 7px 12px 7px 8px;
  color: var(--ink);
  cursor: pointer;
}
.wallet-amount { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--lime); }

#main {
  flex: 1;
  padding: 6px 16px calc(var(--tabbar-h) + var(--safe-b) + 16px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.screen { display: none; }
.screen.active { display: block; animation: in .32s ease; }
@keyframes in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lime-2);
  margin-bottom: 4px;
}
#rankBadge {
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 10px;
}
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 6px;
  border-radius: 999px;
  border: 1px solid rgba(232, 195, 106, .35);
  background: linear-gradient(180deg, rgba(243,213,106,.16), rgba(122,90,18,.18));
  color: #f6e38a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.status-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff4c2, #d4a017 70%);
  color: #3d2a0a;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}
.kicker.tight { margin: 22px 0 10px; }
#matchDetail .kicker.tight { margin: 16px 0 8px; }
.kicker.day {
  letter-spacing: .12em;
  color: rgba(210, 230, 210, .7);
  margin: 14px 0 8px;
}
.kicker.tight + .kicker.day { margin-top: 6px; }
.hello {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: .95;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.lede { color: var(--mute); font-size: 14px; margin: -4px 0 16px; }

.cash {
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  padding: 20px 18px 16px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, rgba(200,245,66,.12), transparent 42%),
    repeating-linear-gradient(-12deg, #123322 0 10px, #0e2a1c 10px 20px);
  border: 1px solid rgba(200,245,66,.18);
  box-shadow: var(--shadow);
}
.cash::after {
  content: "";
  position: absolute; right: -20px; top: -30px;
  width: 140px; height: 140px;
  border: 18px solid rgba(255,255,255,.06);
  border-radius: 50%;
}
.cash-row { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.cash-num, #homeBalance, #walletBalance {
  font-family: var(--display);
  font-size: 56px;
  line-height: .9;
  letter-spacing: .04em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.cash-lbl { margin-top: 8px; color: rgba(246,243,234,.7); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; position: relative; z-index: 1; }
.cash-plain { background: var(--bg-2); }
#homeBalance.pop { animation: pop .4s ease; }
@keyframes pop { 50% { transform: scale(1.04); } }

.cta {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 0;
  border-radius: 16px;
  background: var(--lime);
  color: #142006;
  cursor: pointer;
  margin-bottom: 10px;
  box-shadow: 0 8px 24px rgba(200,245,66,.22);
}
.cta:active { transform: scale(.985); }
.cta-title { font-size: 15px; font-weight: 700; }
.cta-sub { font-size: 13px; font-weight: 700; opacity: .7; }
.cta-icon, .cta-body, .cta-arrow { display: none; }
.cta-gold { background: var(--lime); color: #142006; }

.quiet-link {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  font-size: 14px; font-weight: 600;
  padding: 14px 16px;
  cursor: pointer;
  margin-bottom: 16px;
}
.quiet-meta { color: var(--lime); font-variant-numeric: tabular-nums; }

.home-match {
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  border: 1px solid var(--line);
  cursor: pointer;
}
.home-match .hm-label {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--dim); margin-bottom: 12px;
}
.home-match.mine { border-color: color-mix(in srgb, var(--lime) 45%, var(--line)); }
.home-match.mine .hm-label { color: var(--lime); }
.mine-tag {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--lime);
  color: #142006;
  font-size: 9px;
  letter-spacing: .12em;
  font-weight: 800;
}
.match-card.mine { border-color: color-mix(in srgb, var(--lime) 40%, var(--line)); }

.page-title {
  font-family: var(--display);
  font-size: 32px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 14px;
}
.page-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 14px;
}
.page-row .page-title { margin: 0; }
.page-head { margin-bottom: 14px; }
.page-desc { color: var(--mute); font-size: 13px; margin-top: 4px; }

.league-picker { margin-bottom: 14px; }
.league-now {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  color: var(--ink);
  cursor: pointer;
}
.league-now-text { flex: 1; min-width: 0; }
.league-now-text b {
  display: block;
  font: 700 16px var(--font);
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.league-now-text i {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: var(--mute);
}
.league-now-chev {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(200,245,66,.12);
  flex-shrink: 0;
  position: relative;
}
.league-now-chev::after {
  content: "";
  position: absolute;
  top: 10px; left: 9px;
  width: 8px; height: 8px;
  border-right: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  transform: rotate(45deg);
}
.league-sheet {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.league-sheet[hidden] { display: none; }
.league-sheet-bg {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 8, 5, .62);
}
.league-sheet-card {
  position: relative;
  max-height: min(78dvh, 640px);
  display: flex;
  flex-direction: column;
  background: #0a1a12;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  padding: 8px 14px calc(14px + var(--safe-b));
  box-shadow: 0 -18px 50px rgba(0,0,0,.45);
}
.league-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 2px 8px;
}
.league-sheet-head b {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.league-sheet-x {
  border: 0;
  background: transparent;
  color: var(--mute);
  font: 700 12px var(--font);
  cursor: pointer;
}
.league-search {
  width: 100%;
  appearance: none;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 14px;
  padding: 12px 14px;
  font: 600 14px var(--font);
  margin-bottom: 8px;
}
.league-search:focus { outline: none; border-color: var(--lime); }
.league-sheet-list {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  min-height: 180px;
  padding-bottom: 8px;
}
#scorerSheet .league-sheet-card { max-height: min(86dvh, 720px); }
#scorerSheet .league-sheet-list { min-height: 120px; }
#scorerSheet .scorer-list { margin: 0 0 10px; }
#scorerSheet .league-sheet-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
}
#scorerSheet .league-sheet-head b {
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.scorer-back {
  border: 0;
  background: transparent;
  color: var(--lime);
  font: 700 12px var(--font);
  padding: 4px 0;
  cursor: pointer;
  white-space: nowrap;
}
.scorer-sheet-hint {
  margin: -4px 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mute);
  line-height: 1.35;
}
.scorer-sheet-source {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--lime-2);
  letter-spacing: .02em;
}
.scorer-team-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.scorer-team-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  text-align: left;
  color: inherit;
  padding: 16px 14px;
  border-radius: 20px;
  border: 1px solid rgba(200,245,66,.22);
  background:
    linear-gradient(160deg, rgba(200,245,66,.12), transparent 55%),
    var(--bg-2);
  cursor: pointer;
}
.scorer-team-card:active { transform: scale(.985); }
.scorer-team-crest { margin-bottom: 2px; }
.scorer-team-name {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  line-height: 1;
}
.scorer-team-meta {
  font-size: 12px;
  font-weight: 700;
  color: var(--mute);
}
.scorer-team-fav {
  font-size: 12px;
  color: var(--ink);
  font-weight: 600;
}
.scorer-team-go {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--lime);
}
.scorer-team-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.scorer-team-banner b {
  display: block;
  font-size: 15px;
  font-weight: 800;
}
.scorer-team-banner span {
  font-size: 12px;
  color: var(--mute);
}
.scorer-xi {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #142006;
  background: var(--lime);
  vertical-align: 2px;
}
.scorer-gk {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #e8f4ff;
  background: #2563eb;
  vertical-align: 2px;
}
.scorer-btn.is-gk {
  border-color: rgba(37, 99, 235, .35);
}
.scorer-sheet-foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.scorer-sheet-foot[hidden] { display: none !important; }
.league-acc {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  background: transparent;
  color: var(--mute);
  padding: 12px 4px 6px;
  font: 800 11px var(--font);
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}
.league-acc span:first-of-type { flex: 1; text-align: left; }
.league-acc span:last-child {
  font-size: 10px;
  letter-spacing: 0;
  color: var(--dim);
}
.league-acc::before {
  content: "";
  width: 6px; height: 6px;
  margin-right: 2px;
  border-right: 2px solid var(--lime-2);
  border-bottom: 2px solid var(--lime-2);
  transform: rotate(-45deg);
  opacity: .7;
}
.league-acc.open::before { transform: rotate(45deg); }
.league-opt {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 11px 12px;
  border-radius: 12px;
  font: 600 14px var(--font);
  cursor: pointer;
}
.league-opt.active { background: var(--lime); color: #142006; }
body.sheet-open { overflow: hidden; }

.seg-control {
  display: flex; gap: 4px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px;
  margin-bottom: 16px;
}
.seg-control.compact { margin: 0; min-width: 168px; }
.seg {
  flex: 1; border: 0; background: transparent;
  color: var(--mute); font: 700 12px var(--font);
  padding: 8px 10px; border-radius: 10px; cursor: pointer;
}
.seg.active { background: var(--lime); color: #142006; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.stack { display: flex; flex-direction: column; gap: 10px; }
.match-card, .card {
  padding: 14px 14px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
  background: var(--bg-2);
}
.match-card:first-child, .stack > .card:first-child { padding-top: 14px; }
.match-league, .card-sub {
  font-size: 11px; font-weight: 650; letter-spacing: .08em;
  text-transform: uppercase; color: var(--dim); margin-bottom: 10px;
  display: flex; justify-content: space-between; gap: 8px; align-items: baseline;
}
.match-meta {
  font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--mute);
}
.match-sides, .match-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  font-size: 16px; font-weight: 700;
}
.match-sides span:first-child, .match-row span:first-child { text-align: right; }
.match-sides span:last-child, .match-row span:last-child { text-align: left; }
.match-sides .ms-team:first-child, .match-sides .ms-team:last-child { text-align: inherit; }
.match-vs, .match-score {
  font-family: var(--display);
  font-size: 26px;
  color: var(--lime);
  min-width: 40px; text-align: center;
}
.card-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card-title { font-weight: 700; font-size: 14px; }
.card-badge {
  font-size: 10px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--lime);
}
.card-badge.live { color: var(--red); }

.hero-card { text-align: center; padding: 8px 0 20px; }
.hero-card .match-row { margin: 12px 0 8px; font-size: 22px; }
.fold {
  border-top: 1px solid var(--line);
  padding: 10px 0;
  color: var(--mute); font-size: 13px; line-height: 1.5;
}
.fold summary { cursor: pointer; color: var(--dim); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.analysis-box { padding: 8px 0 0; font-size: 13px; color: var(--mute); }

.odds-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0 14px; }
.odds-row.two { grid-template-columns: 1fr 1fr; }
.odds-btn {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 6px;
  color: var(--mute);
  font-size: 12px; font-weight: 600;
  cursor: pointer;
}
.odds-btn.selected { border-color: var(--lime); color: #142006; background: var(--lime); }
.odds-btn.selected .odds-val { color: #142006; }
.odds-val { display: block; margin-top: 4px; font-family: var(--display); font-size: 26px; color: var(--ink); }
.scorer-list, .champ-odds {
  display: flex; flex-direction: column; gap: 6px;
  margin: 8px 0 14px;
}
.scorer-btn, .champ-btn {
  display: flex; align-items: center; justify-content: space-between;
  text-align: left; padding: 10px 12px;
}
.scorer-btn .odds-val, .champ-btn .odds-val { margin: 0; font-size: 20px; }
.scorer-name { display: flex; flex-direction: column; gap: 2px; }
.scorer-name i { font-style: normal; font-size: 10px; color: var(--dim); font-weight: 700; }
.scorer-market { margin: 18px 0 8px; }
.scorer-cta {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  border: 1px solid color-mix(in srgb, var(--lime) 55%, var(--line));
  border-radius: 16px;
  padding: 14px 14px 12px;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--lime) 16%, transparent), transparent 58%),
    var(--bg-2);
  color: var(--ink);
  cursor: pointer;
}
.scorer-cta:active { transform: scale(.985); }
.scorer-cta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.scorer-cta-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--lime);
}
.scorer-cta-badge {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lime);
  color: #142006;
  font-size: 12px;
  font-weight: 800;
}
.scorer-cta-sub {
  font-size: 13px;
  font-weight: 600;
  color: var(--mute);
  line-height: 1.35;
}
.scorer-cta-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.scorer-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(0,0,0,.22);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}
.scorer-chip b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 9.5em;
}
.scorer-chip em {
  font-style: normal;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}
.scorer-cta-action {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 800;
  color: var(--lime);
  letter-spacing: .02em;
}
.bet-input {
  width: 100%; padding: 14px 16px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 14px; color: var(--ink);
  font: 700 16px var(--font);
}
.bet-input:focus { outline: none; border-color: var(--lime); }
.bet-status { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.bet-status.pending { color: var(--lime); }
.bet-status.won { color: var(--green); }
.bet-status.lost { color: var(--red); }

.btn {
  display: block; width: 100%; padding: 15px;
  border: 0; border-radius: 14px;
  font: 700 15px var(--font); cursor: pointer;
}
.btn:active { transform: scale(.985); }
.btn:disabled { opacity: .4; }
.btn-primary { background: var(--lime); color: #142006; margin-top: 10px; }
.btn-pill {
  padding: 8px 14px; border: 0; border-radius: 999px;
  font: 800 12px var(--font); cursor: pointer;
  background: var(--lime); color: #142006;
}
.btn-gold { background: var(--lime); color: #142006; }
.btn-green { background: var(--green); color: #062414; }
.btn-sm { width: auto; display: inline-block; padding: 8px 14px; font-size: 12px; }

.nav-back {
  background: none; border: 0;
  color: var(--mute); font: 600 13px var(--font);
  padding: 0 0 16px; cursor: pointer;
}
.nav-back::before { content: "← "; color: var(--lime); }

.tri {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; margin: 8px 0 8px;
}
.tri div {
  text-align: center; padding: 14px 4px;
  background: var(--bg-2); border-radius: 14px; border: 1px solid var(--line);
}
.tri b { display: block; font-size: 16px; font-weight: 800; }
.tri span { font-size: 10px; color: var(--dim); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.tx-list { display: flex; flex-direction: column; }
.tx-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.tx-icon {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--mute);
  background: var(--bg-2);
}
.tx-body { flex: 1; min-width: 0; }
.tx-reason { font-size: 13px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-date { font-size: 11px; color: var(--dim); margin-top: 2px; }
.tx-amt { font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tx-amt.in { color: var(--green); }
.tx-amt.out { color: var(--red); }

.quest-card {
  padding: 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 10px;
}
.quest-card.is-field {
  border-color: rgba(200,245,66,.28);
  background:
    linear-gradient(160deg, rgba(200,245,66,.1), transparent 50%),
    var(--bg-2);
}
.quest-desc { font-size: 13px; color: var(--mute); margin: 6px 0 4px; line-height: 1.35; }
.quest-hint { font-size: 11px; color: var(--dim); margin-bottom: 8px; }
.quest-field-lede { margin: -2px 0 12px; font-size: 13px; }
.quest-gate {
  padding: 18px 16px;
  border-radius: 18px;
  border: 1px dashed rgba(200,245,66,.35);
  background: rgba(200,245,66,.06);
  margin-bottom: 12px;
}
.quest-gate b { display: block; font-size: 16px; margin-bottom: 6px; }
.quest-gate p { font-size: 13px; color: var(--mute); margin-bottom: 12px; }
.quest-progress { height: 4px; background: rgba(255,255,255,.08); margin: 10px 0 0; overflow: hidden; border-radius: 99px; }
.quest-progress-fill { height: 100%; background: var(--lime); }
.tag { display: none; }
.chest {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 12px; padding: 16px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px;
}
.chest-title { font-size: 14px; font-weight: 800; }
.chest-sub { font-size: 12px; color: var(--mute); margin-top: 2px; }
.chest.claimed { opacity: .45; }
.chest-icon, .chest-glow { display: none; }

.arcade-hero { margin-bottom: 6px; }
.arcade-hello { margin-bottom: 8px; }
.arcade-lede { margin-bottom: 14px; }
.arcade-day {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
}
.arcade-day-bar {
  flex: 1; height: 6px; border-radius: 99px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.arcade-day-bar i {
  display: block; height: 100%; width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lime-2), var(--lime));
  transition: width .55s cubic-bezier(.2,.8,.2,1);
}
.arcade-day-meta {
  font-size: 11px; font-weight: 700; color: var(--mute);
  letter-spacing: .02em; white-space: nowrap;
}

.arcade-hub { display: flex; flex-direction: column; gap: 12px; }
.arcade-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.arcade-card, .arcade-feat, .game-tile {
  --a: var(--lime);
  --g: rgba(200,245,66,.18);
  --d: 0ms;
  position: relative;
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  min-height: 158px;
  border: 1px solid color-mix(in srgb, var(--a) 28%, transparent);
  border-radius: 22px;
  background:
    radial-gradient(120% 90% at 100% 0%, var(--g), transparent 55%),
    linear-gradient(165deg, rgba(255,255,255,.04), transparent 42%),
    var(--bg-2);
  cursor: pointer;
  text-align: left;
  color: inherit;
  width: 100%;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, opacity .2s ease;
  animation: arcadeIn .42s ease both;
  animation-delay: var(--d);
}
.arcade-card::before, .arcade-feat::before {
  content: "";
  position: absolute; inset: auto -20% -40% auto;
  width: 140px; height: 140px;
  border: 14px solid color-mix(in srgb, var(--a) 14%, transparent);
  border-radius: 50%;
  pointer-events: none;
}
.arcade-card:active, .arcade-feat:active { transform: scale(.975); }
.arcade-card.is-done, .game-tile.played {
  opacity: .55;
  filter: saturate(.75);
}
.arcade-feat {
  min-height: 168px;
  padding: 18px 16px 16px;
  background:
    radial-gradient(90% 120% at 0% 0%, var(--g), transparent 50%),
    repeating-linear-gradient(-14deg, rgba(18,51,34,.9) 0 11px, rgba(12,38,26,.95) 11px 22px);
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
}
.arcade-feat .arcade-card-title {
  font-family: var(--display);
  font-size: 34px;
  letter-spacing: .03em;
  text-transform: uppercase;
  line-height: .95;
}
.arcade-feat .arcade-card-desc { font-size: 13px; max-width: 92%; }
.arcade-feat .arcade-mark {
  width: 48px; height: 48px;
}
.arcade-feat .arcade-ico { width: 24px; height: 24px; }

.arcade-card-top {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; gap: 8px;
  position: relative; z-index: 1;
}
.arcade-mark {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 14px;
  color: #102012;
  background: var(--a);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--a) 35%, transparent);
}
.arcade-ico { width: 20px; height: 20px; display: block; }
.arcade-tag {
  font-size: 10px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: color-mix(in srgb, var(--a) 85%, #fff);
  padding: 5px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--a) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--a) 22%, transparent);
}
.arcade-card-body {
  display: flex; flex-direction: column; gap: 4px;
  flex: 1; position: relative; z-index: 1;
}
.arcade-card-title, .game-tile-title {
  font-size: 16px; font-weight: 800; letter-spacing: -.01em;
}
.arcade-card-desc, .game-tile-desc {
  font-size: 12px; color: var(--mute); line-height: 1.35;
}
.arcade-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; gap: 8px;
  margin-top: auto;
  position: relative; z-index: 1;
}
.arcade-status, .game-tile-go {
  font-size: 11px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--a);
}
.is-done .arcade-status { color: var(--dim); }
.arcade-reward {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; color: var(--mute);
}

@keyframes arcadeIn {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .arcade-card, .arcade-feat { animation: none; }
}

.arcade-emoji, .game-tile-mark { font-size: 28px; line-height: 1; }
.arcade-info { flex: 1; }
.arcade-title { font-size: 16px; font-weight: 800; }
.arcade-desc { font-size: 12px; color: var(--mute); margin-top: 2px; line-height: 1.35; }
.arcade-badge {
  margin-top: auto;
  font-size: 11px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--lime);
}
.arcade-badge.done { color: var(--dim); }

.tbl-head, .tbl-row {
  display: grid; grid-template-columns: 28px 1fr 28px 36px 32px;
  gap: 4px; padding: 11px 4px; font-size: 13px; align-items: center;
}
.tbl-head {
  color: var(--dim); font-size: 10px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.tbl-row { border-bottom: 1px solid var(--line); }
.tbl-pos { font-weight: 800; color: var(--dim); }
.tbl-pos.t3 { color: var(--lime); }
.tbl-team { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbl-pts { font-weight: 800; text-align: right; }

.lineup-section { margin-top: 18px; }
.lineup-title {
  font-size: 11px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--dim); margin-bottom: 8px;
}
.lineup-sub {
  font-size: 10px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--dim); margin: 12px 0 4px;
}
.lineup-player, .goal-item {
  font-size: 13px; padding: 8px 0;
  border-bottom: 1px solid var(--line); color: var(--mute);
}

/* ── Shared game shell ── */
.game-head { margin-bottom: 14px; }
.game-hello { margin-bottom: 8px; font-size: 36px; }
.game-lede { margin-bottom: 12px; }
.game-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.game-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 7px 11px; border-radius: 999px;
  font-size: 11px; font-weight: 700; color: var(--mute);
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
}
.game-pill.on { color: #142006; background: var(--lime); border-color: transparent; }
.game-pill b { color: var(--lime); font-weight: 800; }
.game-pill.on b { color: inherit; }
.game-done {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center; padding: 48px 18px;
  border-radius: 22px; border: 1px solid var(--line);
  background:
    radial-gradient(80% 80% at 50% 0%, rgba(200,245,66,.12), transparent 60%),
    var(--bg-2);
}
.game-done-mark {
  font-size: 10px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--lime);
}
.game-done b {
  font-family: var(--display); font-size: 32px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; line-height: 1;
}
.game-done p { color: var(--mute); font-size: 13px; }
.game-empty-soft {
  text-align: center; padding: 28px 12px; color: var(--mute); font-size: 13px;
  border: 1px dashed var(--line); border-radius: 16px; margin-top: 12px;
}

/* ── Penalty ── */
.pen-board { margin-top: 4px; }
.pen-flash {
  text-align: center; min-height: 34px; margin-bottom: 10px;
  font-family: var(--display); font-size: 28px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--mute);
}
.pen-flash.goal { color: var(--lime); }
.pen-flash.save { color: var(--red); }
.pen-dots, .shot-dots {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 14px;
}
.pen-dots i, .shot-dots i {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.pen-dots i.ok, .shot-dots i.ok { background: var(--lime); }
.pen-dots i.miss, .shot-dots i.miss { background: var(--red); }
.pen-hint { text-align: center; font-size: 12px; color: var(--mute); margin-top: 12px; }
.penalty-field {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(200,245,66,.08), transparent 50%),
    repeating-linear-gradient(-12deg, #123322 0 12px, #0e2a1c 12px 24px);
  border-radius: 22px; padding: 20px 14px 16px;
  border: 1px solid rgba(200,245,66,.18);
}
.goal-frame {
  position: relative;
  width: min(100%, 260px); height: 120px; margin: 0 auto 8px;
  border: 3px solid rgba(246,243,234,.88); border-bottom: 3px solid rgba(246,243,234,.55);
  border-radius: 10px 10px 4px 4px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), transparent 40%),
    #0b1f16;
  overflow: hidden;
}
.goal-net {
  position: absolute; inset: 6px;
  background:
    repeating-linear-gradient(0deg, transparent 0 10px, rgba(255,255,255,.05) 10px 11px),
    repeating-linear-gradient(90deg, transparent 0 10px, rgba(255,255,255,.05) 10px 11px);
  pointer-events: none;
}
.goalkeeper {
  position: absolute; bottom: 10%; left: 50%;
  width: 28px; height: 36px;
  transform: translateX(-50%);
  border-radius: 10px 10px 6px 6px;
  background: linear-gradient(180deg, #f6f3ea, #c8d0c4);
  box-shadow: 0 4px 10px rgba(0,0,0,.35);
  transition: left .18s ease, bottom .18s ease;
}
.goalkeeper::after {
  content: "";
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: #e8d4b0;
}
.pen-ball {
  position: absolute; left: 50%; bottom: 6px;
  width: 16px; height: 16px; margin-left: -8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #c8f542 45%, #7aa018);
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
  z-index: 2;
}
.pen-ball.shoot {
  animation: penShoot .4s ease forwards;
}
@keyframes penShoot {
  to { transform: translate(var(--tx, 0), var(--ty, -70px)) scale(.7); opacity: .2; }
}
.penalty-zones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.zone-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 12px 6px; min-height: 56px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.12); border-radius: 14px;
  color: #fff; cursor: pointer;
}
.zone-btn b { font-size: 16px; line-height: 1; }
.zone-btn span { font-size: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.zone-btn:active { border-color: var(--lime); background: rgba(200,245,66,.12); }
.penalty-score { display: none; }
.ball { display: none; }

/* ── Memory ── */
.memory-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 8px 0 12px; }
.memory-card {
  aspect-ratio: 1; border-radius: 16px; border: 1px solid var(--line);
  background: var(--bg-2); cursor: pointer; user-select: none;
  position: relative; overflow: hidden;
  padding: 0; color: inherit;
}
.memory-back, .memory-face {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.memory-back {
  font-size: 10px; font-weight: 800; letter-spacing: .14em;
  color: rgba(200,245,66,.55);
  background: linear-gradient(160deg, #1a3d28, #0d2418);
}
.memory-face {
  font-size: 26px; opacity: 0;
  background: rgba(200,245,66,.08);
}
.memory-card.is-open .memory-back,
.memory-card.matched .memory-back { opacity: 0; }
.memory-card.is-open .memory-face,
.memory-card.matched .memory-face { opacity: 1; }
.memory-card.is-hidden .memory-face { opacity: 0; }
.memory-card.is-hidden .memory-back { opacity: 1; }
.memory-card.matched {
  opacity: .4; pointer-events: none;
  border-color: rgba(200,245,66,.35);
}
.memory-stats { display: none; }

/* ── Quiz ── */
.quiz-progress {
  height: 5px; border-radius: 99px; overflow: hidden;
  background: rgba(255,255,255,.08); margin: 0 0 14px;
}
.quiz-progress i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--lime-2), var(--lime));
  transition: width .3s ease;
}
.quiz-card, .quiz-q {
  padding: 18px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  margin-bottom: 12px;
}
.quiz-num {
  font-size: 10px; font-weight: 800; color: var(--lime-2);
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px;
}
.quiz-text { font-size: 18px; font-weight: 700; margin-bottom: 14px; line-height: 1.35; }
.quiz-opts { display: flex; flex-direction: column; gap: 8px; }
.quiz-opt {
  display: block; width: 100%; text-align: left;
  padding: 14px 14px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  border-radius: 14px; color: var(--ink); font-size: 14px; font-weight: 600;
  cursor: pointer;
}
.quiz-opt.selected {
  border-color: var(--lime);
  background: rgba(200,245,66,.14);
  box-shadow: inset 0 0 0 1px rgba(200,245,66,.25);
}
.quiz-nav { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
.quiz-nav-btn {
  border-radius: 16px; border: 1px solid var(--line);
  background: rgba(255,255,255,.04); color: var(--ink);
  font: 700 14px var(--font); min-height: 48px; cursor: pointer;
}
.quiz-nav-btn:disabled { opacity: .4; }

/* ── Guess ── */
.guess-match {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(200,245,66,.1), transparent 50%),
    var(--bg-2);
  margin-bottom: 14px;
}
.guess-champ {
  font-size: 11px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--dim); margin-bottom: 10px;
}
.guess-sides {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center;
  font-size: 16px; font-weight: 800; text-align: center;
}
.guess-sides em { color: var(--mute); font-style: normal; font-size: 12px; font-weight: 700; }
.guess-inputs {
  display: flex; align-items: flex-end; justify-content: center; gap: 12px;
  margin: 8px 0 16px;
}
.guess-box { display: flex; flex-direction: column; gap: 8px; align-items: center; flex: 1; }
.guess-box span {
  font-size: 11px; font-weight: 700; color: var(--mute);
  text-align: center; max-width: 120px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.guess-box input {
  width: 100%; max-width: 96px; text-align: center; padding: 14px 8px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 16px; color: var(--ink);
  font: 800 32px var(--display); letter-spacing: .04em;
}
.guess-box input:focus { outline: none; border-color: var(--lime); }
.guess-colon {
  font-family: var(--display); font-size: 34px; color: var(--mute);
  padding-bottom: 10px;
}

/* ── Scratch ── */
.scratch-ticket {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(200,245,66,.28);
  background:
    linear-gradient(145deg, rgba(200,245,66,.16), transparent 42%),
    repeating-linear-gradient(-14deg, #143226 0 12px, #10281c 12px 24px);
  box-shadow: var(--shadow);
}
.scratch-ticket-top {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 14px;
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.scratch-ticket-top span:first-child { color: var(--lime); font-family: var(--display); font-size: 18px; letter-spacing: .16em; }
.scratch-ticket-top span:last-child { color: var(--mute); }
.scratch-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 14px; }
.scratch-slot {
  aspect-ratio: 1; border-radius: 18px;
  background: var(--bg-2); border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 28px; font-weight: 800; color: var(--ink);
  cursor: pointer; user-select: none; padding: 0;
}
.scratch-slot.covered {
  background: linear-gradient(160deg, #d6ee7a, #c8f542);
  border: 0; color: #142006;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}
.scratch-slot.peek { background: rgba(200,245,66,.1); color: var(--mute); }
.scratch-slot.win { box-shadow: 0 0 0 2px var(--lime); }
.scratch-hint {
  text-align: center; font-size: 13px; font-weight: 700; color: var(--mute); min-height: 20px;
}
.scratch-hint.is-ok, .scratch-hint.is-jack { color: var(--lime); }
.scratch-card { display: none; }

/* ── Shot ── */
.shot-board {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(200,245,66,.08), transparent 55%),
    var(--bg-2);
}
.shot-hit {
  text-align: center; min-height: 40px; margin-bottom: 8px;
  font-family: var(--display); font-size: 32px; letter-spacing: .05em;
  text-transform: uppercase; color: var(--mute);
}
.shot-hit.is-goal { color: var(--lime); }
.shot-hit.is-miss { color: var(--red); }
.shot-wrap { padding: 4px 0 8px; }
.shot-track {
  position: relative; height: 22px; border-radius: 99px;
  background: rgba(255,255,255,.08); overflow: hidden; margin: 18px 0 8px;
}
.shot-sweet {
  position: absolute; top: 0; bottom: 0; left: 42%; width: 16%;
  background: var(--lime); opacity: .95;
}
.shot-needle {
  position: absolute; top: -3px; bottom: -3px; width: 3px;
  margin-left: -1.5px; border-radius: 99px;
  background: #fff; box-shadow: 0 0 10px rgba(255,255,255,.45);
  left: 0;
}
.shot-scale {
  display: flex; justify-content: space-between;
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--dim); margin-bottom: 14px;
}
.shot-btn { width: 100%; }
.shot-stats { display: none; }

/* ── Duels ── */
.duel-list { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.duel-card {
  display: flex; flex-direction: column; gap: 6px;
  width: 100%; text-align: left; color: inherit;
  padding: 14px 14px;
  border-radius: 18px; border: 1px solid var(--line);
  background: var(--bg-2); cursor: pointer;
}
.duel-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.duel-top b { font-size: 14px; }
.duel-mid { font-size: 15px; font-weight: 800; }
.duel-mid em { font-style: normal; color: var(--mute); font-weight: 700; font-size: 12px; margin: 0 4px; }
.duel-bot { font-size: 12px; color: var(--mute); }
.duel-picks { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 12px; }
.duel-pick {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 16px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--bg-2);
  color: inherit; cursor: pointer; text-align: left;
}
.duel-pick b {
  font-family: var(--display); font-size: 28px; letter-spacing: .06em;
  color: var(--lime);
}
.duel-pick span { font-size: 13px; color: var(--mute); font-weight: 600; }
.duel-pick:active { border-color: var(--lime); }

.wheel-screen { padding-bottom: 8px; }
.wheel-hello { margin-bottom: 10px; font-size: 36px; }
.wheel-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 18px;
}
.wheel-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  color: var(--mute);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
}
.wheel-pill.on {
  color: #142006;
  background: var(--lime);
  border-color: transparent;
}

.wheel-stage {
  position: relative;
  width: min(100%, 320px);
  margin: 0 auto 16px;
  aspect-ratio: 1;
}
.wheel-glow {
  position: absolute; inset: 8% ;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,245,66,.18), transparent 68%);
  filter: blur(2px);
  pointer-events: none;
}
.wheel-peg {
  position: absolute;
  top: -4px; left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  color: var(--lime);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.45));
  animation: pegPulse 2.4s ease-in-out infinite;
}
.wheel-rotor {
  width: 100%; height: 100%;
  border-radius: 50%;
  will-change: transform;
  transform-origin: 50% 50%;
}
.wheel-rotor.is-spinning { filter: saturate(1.08); }
.wheel-svg { display: block; overflow: visible; }

.wheel-result {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-align: center;
  margin: 4px 0 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(200,245,66,.08), transparent 70%),
    var(--bg-2);
  border: 1px solid var(--line);
  min-height: 86px;
  justify-content: center;
  transition: border-color .25s ease, background .25s ease;
}
.wheel-result.is-win {
  border-color: color-mix(in srgb, var(--win, var(--lime)) 55%, transparent);
  background:
    radial-gradient(120% 100% at 50% 0%, color-mix(in srgb, var(--win, var(--lime)) 22%, transparent), transparent 60%),
    var(--bg-2);
  animation: wheelWin .55s ease;
}
.wheel-result-kicker {
  font-size: 10px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--dim);
}
.wheel-result b {
  font-family: var(--display);
  font-size: 28px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  line-height: 1;
}
.wheel-result-sub { font-size: 12px; color: var(--mute); }
.wheel-result-pay {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--lime); font-weight: 800; font-size: 14px;
}

.wheel-legend {
  display: flex; flex-wrap: wrap; gap: 6px;
  justify-content: center;
  margin: 0 0 16px;
}
.wheel-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  color: var(--ink);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
}
.wheel-chip i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c, var(--lime));
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--c, var(--lime)) 25%, transparent);
}

.wheel-actions { display: flex; flex-direction: column; gap: 8px; }
.wheel-spin-btn { min-height: 52px; font-size: 15px; }
.wheel-paid-btn {
  width: 100%;
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(200,245,66,.28);
  background: rgba(200,245,66,.08);
  color: var(--ink);
  font: 700 14px var(--font);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.wheel-paid-btn:disabled, .wheel-spin-btn:disabled { opacity: .45; cursor: default; }

@keyframes pegPulse {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(2px); }
}
@keyframes wheelWin {
  0% { transform: scale(.97); }
  55% { transform: scale(1.02); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .wheel-peg { animation: none; }
  .wheel-result.is-win { animation: none; }
}

/* legacy hooks kept for safety */
.wheel-wrap { position: relative; width: 260px; height: 260px; margin: 16px auto 20px; }
.wheel-pointer { display: none; }
.wheel-disk { display: none; }
.wheel-center { display: none; }
.wheel-labels { display: none; }
.wheel-label { display: none; }

.rank-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px;
  margin-bottom: 8px; opacity: .4;
}
.rank-row.current { opacity: 1; border-color: var(--lime); }
.rank-row.unlocked { opacity: .8; }
.rank-emoji, .rank-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff4c2, #d4a017 62%, #7a5a12);
  color: #3d2a0a;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.rank-info { flex: 1; }
.rank-name { font-weight: 800; font-size: 14px; }
.rank-blurb { font-size: 12px; color: var(--mute); }
.rank-meta { font-size: 11px; color: var(--lime-2); font-weight: 700; text-align: right; }

.achievement {
  display: flex; gap: 12px; padding: 14px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px;
  margin-bottom: 8px; opacity: .4;
}
.achievement.unlocked { opacity: 1; }
.achievement-emoji { font-size: 22px; }
.achievement-title { font-size: 14px; font-weight: 800; }
.achievement-desc { font-size: 12px; color: var(--mute); }

.top-row {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 8px; border-bottom: 1px solid var(--line);
}
.top-pos { font-weight: 800; width: 22px; color: var(--dim); }
.top-pos.gold { color: var(--lime); }
.top-name { flex: 1; font-weight: 650; font-size: 14px; }
.top-coins { font-weight: 800; color: var(--lime); display: flex; align-items: center; gap: 5px; }

.referral-box { margin-top: 18px; padding: 16px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; }
.referral-link { font-size: 11px; word-break: break-all; color: var(--lime-2); margin: 8px 0; }
.rank-card { text-align: center; padding: 8px 0 18px; }
.info-card { margin-top: 16px; color: var(--mute); font-size: 13px; line-height: 1.55; }
.info-title { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.stats-row { display: flex; padding: 8px 0 16px; }
.stat { flex: 1; text-align: center; }
.stat-num { font-family: var(--display); font-size: 28px; }
.stat-name { font-size: 10px; color: var(--dim); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.stat-div { width: 1px; background: var(--line); }
.stat-num.stat-profit.pos { color: var(--green); }
.stat-num.stat-profit.neg { color: var(--red); }

.empty { text-align: center; color: var(--mute); padding: 28px 12px; font-size: 14px; }

.q-row, .q-badge, .panel, .quick-row, .section-head, .section-title, .section-link, .xp-block, .xp-bar, .xp-fill, .xp-meta, .streak-line, .profile-name, .balance-hero, .balance-label, .profile-top, .rank-pill, .tier-pill { }

.tabbar {
  position: fixed; bottom: 10px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 20px); max-width: 410px;
  height: 62px;
  padding: 6px;
  margin-bottom: var(--safe-b);
  display: flex;
  background: rgba(8, 22, 15, .88);
  border: 1px solid var(--line);
  border-radius: 22px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 200;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.tabbar-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  background: none; border: 0;
  color: var(--dim); cursor: pointer;
  border-radius: 16px;
}
.tabbar-item.active { color: #142006; background: var(--lime); }
.tabbar-svg { width: 20px; height: 20px; }
.tabbar-item span { font-size: 10px; font-weight: 700; }

.toast {
  position: fixed; bottom: calc(var(--tabbar-h) + var(--safe-b) + 8px);
  left: 50%; transform: translateX(-50%);
  background: #12261a; border: 1px solid var(--line);
  padding: 12px 18px; border-radius: 14px;
  font-size: 14px; font-weight: 600; z-index: 300;
  max-width: 88%; text-align: center;
}
.toast.hidden { opacity: 0; pointer-events: none; }
.coin-fly {
  position: fixed; top: 42%; left: 50%; transform: translate(-50%,-50%);
  display: flex; align-items: center; gap: 8px;
  font-size: 22px; font-weight: 800; color: var(--lime);
  z-index: 400; animation: flyUp 1.2s ease forwards; pointer-events: none;
}
.coin-fly.hidden { display: none; }
@keyframes flyUp {
  0% { opacity: 0; transform: translate(-50%, -20%) scale(.8); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -90%); }
}

.crest-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.crest-wrap > * { grid-area: 1 / 1; }
.crest, .crest-fallback {
  width: 32px; height: 32px; border-radius: 0;
  object-fit: contain;
  background: transparent;
  border: 0;
  padding: 0;
}
.crest-wrap img { display: block; z-index: 1; }
.crest-lg, .crest-lg.crest-fallback { width: 64px; height: 64px; }
.crest-fallback {
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: var(--lime-2);
  background: var(--fill);
}
.crest-lg.crest-fallback { font-size: 20px; }
.ms-team {
  display: flex; align-items: center; gap: 8px; min-width: 0;
  font-size: 13px; font-weight: 700; text-align: left !important;
}
.ms-away { flex-direction: row-reverse; text-align: right !important; }
.ms-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.md-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 16px;
}
.md-team {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 8px; min-width: 0;
}
.md-full { font-size: 14px; font-weight: 800; line-height: 1.25; word-break: break-word; }
.md-local { font-size: 12px; color: var(--mute); line-height: 1.3; }
.tbl-head-wide, .tbl-row-wide {
  grid-template-columns: 24px minmax(0, 1fr) 22px 22px 22px 22px 40px 26px;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}
.tbl-head-wide span:nth-child(n+3),
.tbl-row-wide span:nth-child(n+3) {
  text-align: center;
}
.tbl-goals { font-size: 11px; color: var(--mute); font-weight: 650; }
.tbl-pts { text-align: right !important; }
.tbl-scorers {
  grid-template-columns: 24px minmax(0, 1fr) 28px 28px 28px;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}
.tbl-scorers span:nth-child(n+3) { text-align: center; }
.scorer-cell {
  display: flex; flex-direction: column; gap: 1px; min-width: 0;
}
.scorer-cell b {
  font-weight: 700; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.scorer-cell i {
  font-style: normal; font-size: 10px; color: var(--dim); font-weight: 700;
}
.boot-btn .scorer-name { flex: 1; min-width: 0; }
.boot-btn .odds-val { margin: 0; font-size: 20px; }
.title-market {
  margin: 4px 0 8px;
  padding: 14px 12px 12px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--lime) 50%, var(--line));
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--lime) 14%, transparent), transparent 62%),
    var(--bg-2);
}
.title-market-head { margin-bottom: 8px; }
.title-market .kicker { margin: 0 0 4px; color: var(--lime); }
.title-market-sub {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--mute);
  line-height: 1.35;
}
.title-market .champ-odds { margin: 10px 0 12px; }
.title-market .bet-input { margin-bottom: 8px; }
.tbl-group {
  margin: 18px 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mute);
}
.tbl-group:first-child { margin-top: 2px; }
.tbl-team {
  display: flex; align-items: center; gap: 6px;
}
.tbl-team .crest, .tbl-team .crest-fallback { width: 22px; height: 22px; flex-shrink: 0; }
.tbl-team .form-row { margin-left: auto; }

.mc-when {
  font-size: 11px; color: var(--mute); margin: -4px 0 8px;
}
.kick-big {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  margin: 8px 0 4px;
}
.kick-big b {
  font-family: var(--display); font-size: 42px; font-weight: 600; color: var(--lime); line-height: 1;
}
.kick-big span { font-size: 12px; color: var(--mute); font-weight: 600; }
.md-pos { font-size: 11px; color: var(--lime-2); font-weight: 700; }
.form-pair { display: flex; justify-content: space-between; margin-top: 14px; padding: 0 8px; }
.form-row { display: inline-flex; gap: 3px; }
.fp {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 4px;
  font-size: 9px; font-style: normal; font-weight: 800;
  background: var(--fill); color: var(--mute);
}
.fp.w { background: var(--lime); color: #142006; }
.fp.d { background: rgba(255,255,255,.12); color: var(--ink); }
.fp.l { background: var(--red); color: #fff; }

.bookie { margin-top: 18px; }
.xg-banner {
  text-align: center; padding: 12px; margin-bottom: 12px;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--fill-2); font-size: 13px; color: var(--mute);
}
.xg-banner b { color: var(--lime); font-family: var(--display); font-size: 22px; font-weight: 600; margin: 0 4px; }
.xg-sub { margin-top: 8px; font-size: 12px; color: var(--ink); font-weight: 600; }
.xg-sub b { font-family: var(--font); font-size: 13px; }
.cmp-row {
  display: grid; grid-template-columns: 48px 1fr 48px;
  gap: 8px; align-items: center; margin-bottom: 10px;
}
.cmp-val { font-family: var(--display); font-size: 16px; font-weight: 600; text-align: center; }
.cmp-mid { min-width: 0; }
.cmp-lab {
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--dim); text-align: center; margin-bottom: 4px;
}
.cmp-bar {
  height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden;
}
.cmp-bar i {
  display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--lime), #7ad0a8);
}
.last-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.last5 { display: flex; flex-direction: column; gap: 6px; }
.lm {
  font-size: 12px; color: var(--mute); display: flex; gap: 6px; align-items: center;
  padding: 6px 8px; border-radius: 10px; background: var(--fill);
}
.lm b { margin-left: auto; color: var(--ink); }
.lm-body { flex: 1; min-width: 0; }
.lm-body i { display: block; font-style: normal; font-size: 10px; color: var(--dim); font-weight: 600; }
.lm.w b { color: var(--lime); }
.lm.l b { color: var(--red); }
.lm em { font-style: normal; font-size: 11px; color: var(--lime-2); margin-left: 6px; }
.career-card { display: flex; flex-direction: column; gap: 14px; padding-bottom: 8px; }
.career-hero {
  display: flex; gap: 14px; align-items: center;
  padding: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--lime) 12%, transparent), transparent 55%),
    var(--bg-2);
}
.career-ava, .career-ava-fallback {
  width: 84px; height: 84px; border-radius: 22px; object-fit: cover;
  background: #eef4dc; border: 1px solid var(--line); flex-shrink: 0;
}
.career-ava-fallback {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 30px; color: #1a2e08;
}
.career-ava-wrap { position: relative; display: inline-flex; }
.career-pos {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 2px;
}
.career-id h2 {
  font-family: var(--display); font-size: 28px; line-height: 1.05;
  margin: 0 0 8px; letter-spacing: .02em;
}
.career-club {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14px;
}
.career-club .crest, .career-club .crest-fallback { width: 22px; height: 22px; }
.career-meta { font-size: 12px; color: var(--mute); margin-top: 6px; line-height: 1.35; }

.career-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
}
.career-strip-item {
  text-align: center;
  padding: 12px 4px 10px;
  border-radius: 14px;
  background: var(--fill);
  border: 1px solid var(--line);
}
.career-strip-item b {
  display: block;
  font-family: var(--display); font-size: 26px; font-weight: 600;
  color: var(--lime); line-height: 1;
}
.career-strip-item span {
  display: block; margin-top: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--mute);
}

.career-rates {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.career-rate {
  padding: 12px 12px 11px;
  border-radius: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.career-rate b {
  display: block;
  font-family: var(--display); font-size: 22px; font-weight: 600;
  color: var(--ink); line-height: 1;
}
.career-rate span {
  display: block; margin-top: 5px;
  font-size: 12px; color: var(--mute); font-weight: 600;
}
.career-cards-note {
  font-size: 12px; color: var(--dim); text-align: center; margin-top: -4px;
}

.career-block { margin: 2px 0 0; }
.career-block-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin: 4px 0 10px;
}
.career-block-head .kicker { margin: 0; }
.career-block-hint {
  font-size: 11px; color: var(--dim); font-weight: 600; text-align: right;
}

.career-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.career-form-card {
  padding: 12px;
  border-radius: 14px;
  background: var(--fill);
  border: 1px solid var(--line);
}
.career-form-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px; gap: 6px;
  font-size: 11px; font-weight: 700; color: var(--mute);
}
.career-form-top b { color: var(--lime-2); font-variant-numeric: tabular-nums; }
.career-form-card .form-row { display: flex; flex-wrap: wrap; gap: 3px; }
.career-form-card .fp { width: 18px; height: 18px; font-size: 10px; }

.career-games { display: flex; flex-direction: column; gap: 6px; }
.career-game {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px; align-items: center;
  padding: 10px 10px;
  border-radius: 12px;
  background: var(--fill);
  border: 1px solid transparent;
}
.career-game.w { border-color: color-mix(in srgb, var(--lime) 28%, transparent); }
.career-game.l { border-color: color-mix(in srgb, var(--red) 28%, transparent); }
.cr-badge {
  width: 28px; height: 28px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; background: var(--fill-2); color: var(--mute);
}
.cr-badge.w { background: var(--lime); color: #142006; }
.cr-badge.d { background: rgba(255,255,255,.12); color: var(--ink); }
.cr-badge.l { background: var(--red); color: #fff; }
.career-game-opp { font-size: 13px; font-weight: 700; line-height: 1.2; }
.career-game-meta { font-size: 11px; color: var(--dim); margin-top: 2px; }
.career-game-score { text-align: right; }
.career-game-score b {
  display: block; font-family: var(--display); font-size: 18px; font-weight: 600; line-height: 1;
}
.career-game.w .career-game-score b { color: var(--lime); }
.career-game.l .career-game-score b { color: var(--red); }
.career-game-score em {
  display: block; margin-top: 3px;
  font-style: normal; font-size: 11px; font-weight: 700; color: var(--lime-2);
}
.cr-yc, .cr-rc {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 14px; height: 14px; padding: 0 3px; border-radius: 3px;
  font-size: 9px; font-weight: 800; font-style: normal; margin-left: 2px;
}
.cr-yc { background: #e7c84a; color: #1a1600; }
.cr-rc { background: var(--red); color: #fff; }

.career-tbl {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-2);
}
.career-tbl-head, .career-tbl-row {
  display: grid;
  grid-template-columns: 1fr 34px 34px 34px;
  gap: 4px; align-items: center;
  padding: 9px 10px;
  font-size: 12px;
}
.career-tbl-head {
  font-size: 10px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--dim);
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--line);
}
.career-tbl-head span:not(:first-child),
.career-tbl-row > span:not(:first-child) { text-align: center; font-variant-numeric: tabular-nums; }
.career-tbl-row { border-bottom: 1px solid var(--line); color: var(--mute); }
.career-tbl-row:last-child { border-bottom: 0; }
.career-tbl-name {
  display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--ink);
}
.career-tbl-name .crest, .career-tbl-name .crest-fallback { width: 20px; height: 20px; flex-shrink: 0; }
.career-tbl-name span { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.career-tbl-name b {
  font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.career-tbl-name i {
  font-style: normal; font-size: 10px; color: var(--lime-2); font-weight: 700;
}

.career-photos {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.career-ph {
  position: relative; display: block; border-radius: 12px; overflow: hidden;
  aspect-ratio: 16/10; background: var(--bg-2);
}
.career-ph img { width: 100%; height: 100%; object-fit: cover; }
.career-ph span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 8px 7px;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
  font-size: 10px; font-weight: 650; color: #fff; line-height: 1.25;
}

.career-actions { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
.career-bind.gate .lede { margin-bottom: 18px; }
.bind-title { font-size: 28px; margin-bottom: 10px; }
body.gated .tabbar { display: none; }
body.gated .wallet-chip { visibility: hidden; pointer-events: none; }
body.gated main { padding-bottom: 24px; }
#screen-bind { padding-top: 8px; }
.h2h { margin-top: 18px; }
.h2h-row {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px;
  padding: 8px 0; border-bottom: 1px solid var(--line);
  font-size: 13px; color: var(--mute);
}
.h2h-row span:last-child { text-align: right; }
.h2h-row b { color: var(--ink); font-family: var(--display); }
.h2h-champ { font-size: 10px; color: var(--dim); font-weight: 600; margin: -4px 0 8px; }
.hidden { display: none !important; }
.wallet-hero, .wallet-hero-label, .wallet-hero-balance, .wallet-stats, .ws-item, .ws-val, .ws-lbl { }
.league-chips { margin: 0; }
.league-chip { display: none; }
