/* FreeBet — mobile-first styles */
:root {
  --bg: #050d0a;
  --bg-2: #0a1712;
  --surface: #0f1f19;
  --surface-2: #142a21;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(52, 211, 153, 0.35);
  --text: #eef5f1;
  --muted: #a3b8ae;
  --emerald: #10b981;
  --emerald-600: #059669;
  --emerald-300: #6ee7b7;
  --lime: #39ff5a;          /* echoes the logo's neon green */
  --gold: #fbbf24;
  --silver: #cbd5e1;
  --bronze: #d9975b;
  --grad: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --grad-text: linear-gradient(90deg, #39ff5a 0%, #34d399 55%, #10b981 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Barlow Condensed", "Inter", system-ui, sans-serif;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--emerald-300); }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; }
h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.01em; text-transform: uppercase; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--emerald); color: #04130d; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.2em; border-radius: 999px; font-weight: 700; font-size: .95rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--grad); color: #03140d; box-shadow: 0 8px 24px -8px rgba(16, 185, 129, .7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(16, 185, 129, .9); }
.btn-ghost { color: var(--text); border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.04); }
.btn-ghost:hover { border-color: var(--emerald); background: rgba(16,185,129,.1); }
.btn-lg { padding: .95em 1.6em; font-size: 1.02rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(5, 13, 10, .72);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background-color .3s ease;
}
.site-header.is-scrolled { background: rgba(5, 13, 10, .92); }
.header-inner { display: flex; align-items: center; gap: 16px; height: 100%; }
.brand img { height: 30px; width: auto; }
.main-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; background: #06100c; box-shadow: 0 24px 40px -12px rgba(0,0,0,.8);
  border-bottom: 1px solid var(--border); padding: 12px 20px 24px;
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s ease;
}
.main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav li a { display: block; padding: 14px 4px; color: var(--text); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--border); }
.main-nav li a:hover { color: var(--emerald-300); }
.nav-actions { display: flex; gap: 10px; }
.nav-actions--mobile { margin-top: 18px; }
.nav-actions--mobile .btn { flex: 1; }
.nav-actions--desktop { display: none; }
.menu-toggle {
  margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border);
  background: rgba(255,255,255,.04); display: grid; place-content: center; gap: 5px; cursor: pointer;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 48px 0 56px; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 80% 20%, rgba(16,185,129,.28), transparent 70%),
    linear-gradient(180deg, rgba(5,13,10,.55) 0%, rgba(5,13,10,.78) 55%, var(--bg) 100%),
    url("../assets/background-1920.jpg") center 40% / cover no-repeat;
  animation: heroZoom 24s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero-inner { display: grid; gap: 36px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: rgba(16,185,129,.14); border: 1px solid var(--border-strong); color: var(--emerald-300);
  font-weight: 600; font-size: .85rem; margin-bottom: 20px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(57,255,90,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(57,255,90,.6); } 70% { box-shadow: 0 0 0 10px rgba(57,255,90,0); } 100% { box-shadow: 0 0 0 0 rgba(57,255,90,0); } }
.hero-title {
  font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: clamp(2.6rem, 10vw, 4.6rem); line-height: .95; letter-spacing: -.01em; margin-bottom: 18px;
  text-shadow: 0 4px 30px rgba(0,0,0,.5);
}
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline; text-shadow: none; }
.hero-title .grad { font-size: .7em; line-height: 1.02; display: inline-block; margin-top: .25em; }
.hero-sub { color: #cfe0d8; font-size: 1.08rem; max-width: 36rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 22px; }
.hero-ctas .btn { flex: 1 1 auto; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .9rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust svg { width: 16px; height: 16px; stroke: var(--emerald); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.pool-card {
  position: relative; overflow: hidden; padding: 26px 22px; border-radius: 24px; text-align: center;
  background: linear-gradient(160deg, rgba(20, 42, 33, .88), rgba(6, 16, 12, .92));
  border: 1px solid var(--border-strong); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.pool-card-glow { position: absolute; inset: -40% -20% auto; height: 220px; background: radial-gradient(closest-side, rgba(57,255,90,.22), transparent); pointer-events: none; }
.pool-label { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--emerald-300); margin-bottom: 4px; position: relative; }
.pool-amount { white-space: nowrap; font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 15vw, 4.4rem); line-height: 1; margin: 0; position: relative; font-variant-numeric: tabular-nums; }
.pool-unit { color: var(--lime); font-size: .6em; margin-left: .05em; }
.pool-value { color: var(--muted); font-weight: 600; margin: 6px 0 20px; position: relative; }
.countdown { position: relative; }
.countdown-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 10px; }
.countdown-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.countdown-grid div { background: rgba(0,0,0,.35); border: 1px solid var(--border); border-radius: 12px; padding: 10px 4px 8px; }
.countdown-grid span { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown-grid small { display: block; font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.pool-foot { font-size: .82rem; color: var(--muted); margin: 16px 0 0; position: relative; }

/* League strip */
.league-strip { border-block: 1px solid var(--border); background: var(--bg-2); overflow: hidden; padding: 14px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.league-track { display: flex; gap: 36px; width: max-content; animation: marquee 95s linear infinite; }
.league-track span { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #8fa89c; font-size: 1.05rem; white-space: nowrap; }
.league-track span::before { content: "●"; color: var(--emerald); margin-right: 36px; font-size: .6em; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 64px 0; }
.section--tight { padding: 8px 0 24px; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--border); }
.section-head { margin-bottom: 28px; }
.section-head--row { display: flex; flex-direction: column; gap: 6px; }
.section-note { color: var(--muted); font-size: .9rem; margin: 0; max-width: 28rem; }
.kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--emerald); margin-bottom: 8px; }
.lead { color: #c7d8d0; font-size: 1.05rem; max-width: 44rem; }
.tag { display: inline-block; font-size: .68rem; letter-spacing: .08em; padding: 3px 8px; border-radius: 6px; font-weight: 800; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: none; }
.step {
  position: relative; padding: 24px 22px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); transition: transform .25s ease, border-color .25s ease;
}
.step:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.step-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px;
  background: var(--grad); color: #03140d; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  box-shadow: 0 8px 20px -8px rgba(16,185,129,.8);
}
.step p { color: var(--muted); margin: 0; }

/* Tabs */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin: 0 -20px 12px; padding-inline: 20px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  color: var(--muted); font: 600 .9rem var(--font); cursor: pointer; transition: all .2s ease;
}
.tab:hover { color: var(--text); border-color: rgba(255,255,255,.25); }
.tab[aria-selected="true"] { background: var(--grad); color: #03140d; border-color: transparent; }
.tab .count { opacity: .7; margin-left: 4px; font-weight: 700; }

/* Match cards */
.match-grid { display: grid; gap: 14px; }
.match {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px;
  display: flex; flex-direction: column; gap: 14px; transition: border-color .25s ease, transform .25s ease;
  animation: cardIn .4s ease both;
}
.match:hover { border-color: rgba(255,255,255,.18); }
.match.has-pick { border-color: var(--border-strong); }
@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.match-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); }
.league { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--emerald-300); text-transform: uppercase; letter-spacing: .06em; }
.kickoff { font-variant-numeric: tabular-nums; text-align: right; }
.teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.team { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-weight: 700; font-size: .95rem; line-height: 1.2; min-width: 0; }
.crest {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem;
  color: #fff; border: 2px solid rgba(255,255,255,.15);
}
.vs { font-family: var(--font-display); font-weight: 700; color: var(--muted); font-size: 1rem; }
.picks { margin-top: auto; display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); }
.picks.no-draw { grid-template-columns: repeat(2, 1fr); }
.pick {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text); font: 700 .9rem var(--font);
  cursor: pointer; transition: all .18s ease; min-height: 56px;
}
.pick small { font-weight: 600; font-size: .72rem; color: var(--muted); }
.pick:hover { border-color: var(--emerald); }
.pick[aria-pressed="true"] { background: var(--grad); color: #03140d; border-color: transparent; transform: scale(1.02); box-shadow: 0 8px 20px -10px rgba(16,185,129,.9); }
.pick[aria-pressed="true"] small { color: #063a27; }
.pick-note { display: none; align-items: center; gap: 8px; font-size: .85rem; color: var(--emerald-300); margin: 0; }
.pick-note a { color: var(--lime); font-weight: 700; }
.has-pick .pick-note { display: flex; animation: cardIn .3s ease both; }
.more-wrap { display: flex; justify-content: center; margin-top: 18px; }
.more-wrap .btn[hidden] { display: none; }
.empty { color: var(--muted); padding: 24px; text-align: center; border: 1px dashed var(--border); border-radius: var(--radius); }

/* Match of the day */
.motd {
  position: relative; overflow: hidden; border-radius: 24px; padding: 24px 20px;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(57,255,90,.16), transparent 60%),
    linear-gradient(135deg, #0f2a1f 0%, #07140f 100%);
  border: 1px solid var(--border-strong); box-shadow: var(--shadow);
}
.motd-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.motd-head h2 { margin: 0; }
.badge-2x {
  flex: 0 0 auto; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px;
  font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 2rem; color: #03140d;
  background: linear-gradient(135deg, var(--lime), var(--emerald)); box-shadow: 0 10px 30px -10px rgba(57,255,90,.8);
  animation: wobble 3s ease-in-out infinite;
}
@keyframes wobble { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg) scale(1.05); } }
.motd-body { display: grid; gap: 18px; }
.motd .match { background: rgba(0,0,0,.25); animation: none; }
.motd .teams .team { font-size: 1.1rem; }
.motd .crest { width: 60px; height: 60px; font-size: 1rem; }
.exact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--border); }
.exact-label { font-weight: 700; font-size: .9rem; }
.exact-label small { display: block; color: var(--muted); font-weight: 500; }
.score { display: flex; align-items: center; gap: 10px; }
.stepper { display: flex; align-items: center; background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; }
.stepper button { width: 36px; height: 40px; border: 0; background: none; color: var(--text); font-size: 1.2rem; cursor: pointer; border-radius: 10px; }
.stepper button:hover { background: rgba(16,185,129,.18); }
.stepper output { min-width: 28px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; font-variant-numeric: tabular-nums; }
.score-sep { color: var(--muted); font-weight: 700; }
.motd-points { display: flex; flex-wrap: wrap; gap: 8px; }
.motd-points span { font-size: .8rem; padding: 5px 10px; border-radius: 999px; background: rgba(57,255,90,.1); border: 1px solid rgba(57,255,90,.3); color: #b9ffc6; font-weight: 600; }

/* Prizes */
.prize-layout { display: grid; gap: 18px; }
.split-card, .info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.split-bar { display: flex; height: 16px; border-radius: 999px; overflow: hidden; margin-bottom: 20px; background: rgba(255,255,255,.06); }
.split-bar i { display: block; height: 100%; width: 0; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.split-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 14px; }
.split-list li { display: grid; grid-template-columns: 14px 1fr; gap: 4px 12px; align-items: start; }
.swatch { width: 14px; height: 14px; border-radius: 4px; margin-top: 5px; }
.split-name { font-weight: 700; }
.split-amt { grid-column: 2; font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.split-amt small { font-family: var(--font); font-size: .82rem; color: var(--muted); font-weight: 600; margin-left: 6px; }
.split-detail { grid-column: 2; color: var(--muted); font-size: .88rem; }
.fineprint { font-size: .85rem; color: var(--muted); margin: 0; padding-top: 14px; border-top: 1px solid var(--border); }
.prize-cards { display: grid; gap: 14px; }
.info-card h3 { margin-bottom: .4em; }
.info-card p { color: var(--muted); font-size: .95rem; }
.info-card p strong { color: var(--text); }
.points-list, .tier-list, .rank-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.points-list li { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 10px; background: var(--surface-2); font-size: .92rem; }
.pts { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--lime); }
.tier-list { grid-template-columns: repeat(3, 1fr); }
.tier { text-align: center; padding: 12px 6px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.tier b { display: block; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; }
.tier span { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.tier--bronze span, .tier--bronze b { color: var(--bronze); }
.tier--silver span, .tier--silver b { color: var(--silver); }
.tier--gold span, .tier--gold b { color: var(--gold); }
.rank-list { grid-template-columns: repeat(3, 1fr); }
.rank-chip { display: block; text-align: center; padding: 10px 6px; border-radius: 12px; background: rgba(16,185,129,.12); border: 1px solid var(--border-strong); font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; }
.dbv-note { margin-top: 22px; display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); background: rgba(16,185,129,.07); border: 1px solid var(--border-strong); }
.dbv-note p { margin: 0; color: #c7d8d0; font-size: .95rem; }
.dbv-icon { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #03140d; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }

/* Leaderboard */
.lb-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow-x: auto; }
.lb { width: 100%; border-collapse: collapse; font-size: .92rem; }
.lb th { text-align: left; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; padding: 14px 10px; background: rgba(0,0,0,.25); }
.lb th:first-child, .lb td:first-child { padding-right: 0; }
.lb td { padding: 12px 10px; border-top: 1px solid var(--border); vertical-align: middle; }
.lb .num { text-align: right; font-variant-numeric: tabular-nums; }
.lb tbody tr { transition: background-color .2s ease; }
.lb tbody tr:hover { background: rgba(16,185,129,.06); }
.rank { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; font-weight: 800; background: var(--surface-2); font-size: .85rem; }
.rank--1 { background: linear-gradient(135deg, #fde68a, #f59e0b); color: #3b2503; }
.rank--2 { background: linear-gradient(135deg, #f1f5f9, #94a3b8); color: #1e293b; }
.rank--3 { background: linear-gradient(135deg, #f3c89c, #b45309); color: #2f1604; }
.player { display: flex; align-items: center; gap: 10px; font-weight: 700; min-width: 0; }
.player-name { max-width: 34vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 800; color: #03140d; }
.lb-points { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--text); }
.tier-pill { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; border: 1px solid currentColor; }
.tier-pill--gold { color: var(--gold); }
.tier-pill--silver { color: var(--silver); }
.tier-pill--bronze { color: var(--bronze); }
.tier-pill--none { color: var(--muted); border-style: dashed; }
.streak { white-space: nowrap; }
.hide-sm, .hide-xs { display: none; }
.lbl-lg { display: none; }
.lbl-sm { text-decoration: none; }
.lb .avatar { display: none; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: border-color .2s ease; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--emerald); border-bottom: 2px solid var(--emerald); transform: translateY(-70%) rotate(45deg); transition: transform .25s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: #c2d3cb; }

/* CTA band */
.cta-band { position: relative; text-align: center; overflow: hidden; background: radial-gradient(60% 80% at 50% 100%, rgba(16,185,129,.25), transparent 70%); }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta-logo { width: min(360px, 80%); }
.cta-band h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: #030907; padding: 40px 0 calc(32px + env(safe-area-inset-bottom)); color: var(--muted); font-size: .9rem; }
.footer-inner { display: grid; gap: 22px; }
.footer-brand img { height: 28px; width: auto; margin-bottom: 10px; }
.footer-brand p { margin: 0; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--text); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--emerald-300); }
.footer-legal p { margin: 0 0 6px; }
.age { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.age-badge { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid #ef4444; color: #fca5a5; font-weight: 800; font-size: .85rem; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 80; transform: translate(-50%, 20px);
  background: #0f2a1f; border: 1px solid var(--border-strong); color: var(--text); padding: 12px 18px; border-radius: 14px;
  box-shadow: var(--shadow); font-weight: 600; font-size: .92rem; opacity: 0; transition: all .3s ease; max-width: calc(100% - 32px);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Breakpoints ---------- */
@media (min-width: 420px) {
  .player-name { max-width: none; }
  .lbl-lg { display: inline; } .lbl-sm { display: none; }
  .lb .avatar { display: grid; }
  .hide-xs { display: table-cell; }
}
@media (min-width: 640px) {
  .container { padding: 0 28px; }
  .tabs { margin-inline: -28px; padding-inline: 28px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .match-grid { grid-template-columns: repeat(2, 1fr); }
  .hide-sm { display: table-cell; }
  .hero-ctas .btn { flex: 0 0 auto; }
  .hero-title .grad { font-size: .62em; }
  .prize-cards { grid-template-columns: repeat(2, 1fr); }
  .section-head--row { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .section-note { text-align: right; }
  .motd { padding: 32px; }
  .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
  .footer-legal { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; align-items: center; }
  .footer-legal p { margin: 0; }
}
@media (min-width: 960px) {
  :root { --header-h: 76px; }
  .brand img { height: 36px; }
  .menu-toggle, .nav-actions--mobile { display: none; }
  .main-nav { position: static; inset: auto; background: none; border: 0; padding: 0; transform: none; opacity: 1; visibility: visible; margin: 0 auto; }
  .main-nav ul { display: flex; gap: 4px; }
  .main-nav li a { border: 0; padding: 8px 14px; border-radius: 999px; color: #d6e4dd; font-size: .95rem; }
  .main-nav li a:hover, .main-nav li a.is-active { background: rgba(255,255,255,.06); color: var(--text); }
  .nav-actions--desktop { display: flex; }
  .hero { padding: 88px 0 100px; min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; }
  .hero-inner { grid-template-columns: 1.25fr .9fr; gap: 56px; }
  .hero-title { font-size: clamp(4rem, 6.2vw, 5.8rem); }
  .pool-card { padding: 34px 30px; }
  .section { padding: 96px 0; }
  .section--tight { padding: 16px 0 24px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps .step:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -14px; width: 12px; height: 2px; background: var(--border-strong); }
  .match-grid { grid-template-columns: repeat(3, 1fr); }
  .prize-layout { grid-template-columns: .9fr 1.1fr; align-items: start; }
  .motd-body { grid-template-columns: 1.3fr 1fr; align-items: stretch; }
  .motd-side { display: flex; flex-direction: column; justify-content: center; gap: 16px; }
  .lb th, .lb td { padding: 14px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Live data additions ---------- */
.tag-live { background: rgba(57,255,90,.12); color: #9dffb0; border: 1px solid rgba(57,255,90,.4); }
.match-list { display: grid; gap: 8px; }
.day-head { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 1.05rem; color: #cfe0d8; margin: 18px 0 4px; display: flex; align-items: center; gap: 12px; }
.day-head::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.match-list > .day-head:first-child { margin-top: 4px; }
.match-meta .league { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meta-right { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.crest { position: relative; overflow: hidden; background: rgba(255,255,255,.06); padding: 0; }
.crest-fallback { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; }
.crest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 5px; background: #0b1a14; border-radius: 50%; }
.pick { justify-content: center; }
.pick-side { font-weight: 700; }
.pick small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick:disabled { cursor: not-allowed; opacity: .45; }
.pick:disabled:hover { border-color: var(--border); }
.match.is-locked { background: #0c1813; }
.match.is-live { border-color: rgba(248,113,113,.4); }
.lock-note { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .82rem; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 6px; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.badge-live { background: rgba(239,68,68,.16); color: #fca5a5; border: 1px solid rgba(239,68,68,.45); }
.badge-live i { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; animation: pulseRed 1.6s infinite; }
@keyframes pulseRed { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.badge-muted { background: rgba(255,255,255,.06); color: var(--muted); border: 1px solid var(--border); }
.badge-ft { background: rgba(16,185,129,.14); color: var(--emerald-300); border: 1px solid var(--border-strong); }
.live-score { display: flex; justify-content: center; align-items: baseline; gap: 12px; margin: -4px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.live-score .sep { color: var(--muted); }
.live-note { margin: -8px 0 0; text-align: center; font-size: .82rem; color: #fca5a5; }
.result-grid { display: grid; gap: 12px; }
.result { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; display: grid; gap: 10px; animation: cardIn .4s ease both; }
.result-row { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 12px; color: var(--muted); font-weight: 600; }
.result-row .crest { width: 32px; height: 32px; font-size: .7rem; border-width: 1px; }
.result-row .crest img { padding: 3px; }
.rname { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rscore { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.result-row.win, .result-row.win .rscore { color: var(--text); }
.result--cricket .rscore { font-size: 1.05rem; }
.result-status { display: flex; align-items: center; gap: 8px; margin: 2px 0 0; font-size: .8rem; color: var(--muted); padding-top: 10px; border-top: 1px solid var(--border); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.credit a { color: var(--emerald-300); }
@media (min-width: 640px) { .result-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .result-grid { grid-template-columns: repeat(3, 1fr); } }
.badge-verified { background: rgba(57,255,90,.12); color: #9dffb0; border: 1px solid rgba(57,255,90,.4); gap: 4px; vertical-align: middle; }
.badge-mismatch { background: rgba(251,191,36,.12); color: var(--gold); border: 1px solid rgba(251,191,36,.4); }
.result-status .badge-verified, .result-status .badge-mismatch { margin-left: auto; }
.section-note .badge-verified { font-size: .62rem; padding: 1px 6px; }
.match-list, .match-grid, .result-grid { grid-template-columns: minmax(0, 1fr); }
.match, .result { min-width: 0; }
@media (min-width: 640px) { .match-grid, .result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .match-grid, .result-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Intro ---------- */
.intro-grid { display: grid; gap: 32px; align-items: center; }
.intro-media { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); aspect-ratio: 4 / 3; }
.intro-media img { width: 100%; height: 100%; object-fit: cover; }
.intro-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5,13,10,.85)); }
.intro-media-card { position: absolute; left: 18px; bottom: 16px; z-index: 1; }
.intro-media-card .pool-label { text-align: left; margin: 0; }
.intro-pool { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 8vw, 3.2rem); line-height: 1; margin: 2px 0 0; }
.intro-pool span { color: var(--lime); font-size: .6em; }
.intro-pool-sub { color: #cfe0d8; font-weight: 600; margin: 2px 0 0; font-size: .9rem; }
.intro-points { list-style: none; padding: 0; margin: 22px 0 18px; display: grid; gap: 16px; }
.intro-points li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.ip-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(16,185,129,.14); border: 1px solid var(--border-strong); color: var(--lime); font-weight: 800; }
.intro-points h3 { margin: 0 0 2px; font-size: 1.02rem; }
.intro-points p { margin: 0; color: var(--muted); font-size: .95rem; }
.intro-foot { font-size: .88rem; color: var(--muted); border-left: 3px solid var(--emerald); padding-left: 12px; margin: 0; }

/* ---------- Match hub ---------- */
.hub { padding-top: 24px; }
.hub-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.panel {
  position: relative; overflow: hidden; border-radius: 24px; padding: 22px 18px; border: 1px solid var(--border);
  background: var(--surface); box-shadow: var(--shadow); isolation: isolate; min-width: 0;
}
.panel::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--panel-img, none) center / cover no-repeat; opacity: .28; }
.panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,20,15,.72), rgba(8,20,15,.96) 55%); }
.panel--motd { --panel-img: url("../assets/img/stadium-night.jpg"); border-color: var(--border-strong); }
.panel--motd::before { opacity: .5; }
.panel--motd::after { background: linear-gradient(180deg, rgba(6,20,14,.55), rgba(6,18,13,.95) 60%); }
.panel--major { --panel-img: url("../assets/img/stadium-stands.jpg"); }
.panel--next { --panel-img: url("../assets/img/light-streaks.jpg"); }
.panel--next::before { background-position: center top; background-size: 100% auto; opacity: .35; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 14px; }
.panel-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 4.5vw, 2.1rem); margin: 0; line-height: 1; }
.panel-hint { font-size: .78rem; color: var(--muted); text-align: right; }
.panel .kicker { margin-bottom: 6px; }
.panel .tabs { margin-inline: -18px; padding-inline: 18px; }
.motd.panel { padding: 22px 18px; }
.motd .motd-head { margin-bottom: 14px; }

/* Compact row card (Major + Next) */
.row-list, .major-list { display: grid; gap: 8px; }
.row-match {
  display: grid; grid-template-columns: 62px minmax(0, 1fr); grid-template-areas: "time body" "picks picks" "note note";
  gap: 10px 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(10,24,18,.82);
  border: 1px solid var(--border); animation: cardIn .35s ease both;
}
.row-match:hover { border-color: rgba(255,255,255,.16); }
.row-match.has-pick { border-color: var(--border-strong); }
.rm-time { grid-area: time; display: flex; flex-direction: column; gap: 4px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.1; color: var(--text); font-variant-numeric: tabular-nums; }
.rm-time .badge { align-self: flex-start; font-family: var(--font); }
.rm-body { grid-area: body; min-width: 0; display: grid; gap: 4px; }
.rm-league { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--emerald-300); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rm-teams { display: grid; gap: 4px; }
.rm-team { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 600; font-size: .92rem; }
.rm-team .crest { width: 22px; height: 22px; border-width: 1px; font-size: .55rem; flex: 0 0 auto; }
.rm-team .crest img { padding: 2px; }
.rm-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picks--compact { grid-area: picks; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.picks--compact.no-draw { grid-template-columns: repeat(2, 1fr); }
.pick--compact { min-height: 38px; padding: 6px; font-size: .95rem; }
.row-match .pick-note, .row-match .lock-note { grid-area: note; font-size: .78rem; }
.row-match:not(.has-pick) .pick-note { display: none; }
.row-match .lock-note { margin-top: -2px; }
.day-head { font-size: .95rem; margin: 14px 0 6px; }
.next-list > .day-head:first-child { margin-top: 0; }

/* ---------- Sports tiles ---------- */
.sport-tiles { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sport-tile {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 18px; min-height: 180px; padding: 14px;
  display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; color: var(--text);
  border: 1px solid var(--border); background: #0b1812;
}
.sport-tile::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover no-repeat; transition: transform .6s ease; }
.sport-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,13,10,.05) 20%, rgba(5,13,10,.92) 85%); }
.sport-tile:hover::before { transform: scale(1.06); }
.sport-tile:hover { border-color: var(--border-strong); }
.sport-tile h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.4rem; margin: 0 0 4px; }
.sport-tile p { margin: 0; font-size: .74rem; color: #cfe0d8; line-height: 1.4; }
.st-count { position: absolute; top: 10px; left: 10px; font-size: .68rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: rgba(16,185,129,.9); color: #03140d; }
.st-count:empty { display: none; }
.st-count.is-off { background: rgba(0,0,0,.6); color: var(--muted); }
.sport-tile:first-child { grid-column: 1 / -1; min-height: 220px; }

@media (min-width: 640px) {
  .panel, .motd.panel { padding: 26px; }
  .panel .tabs { margin-inline: -26px; padding-inline: 26px; }
  .row-match { grid-template-columns: 70px minmax(0, 1fr) 200px; grid-template-areas: "time body picks" "note note note"; }
  .rm-teams { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sport-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sport-tile:first-child { grid-column: span 2; grid-row: span 2; min-height: 100%; }
  .sport-tile p { font-size: .8rem; }
}
@media (min-width: 960px) {
  .intro-grid { grid-template-columns: 1fr 1.05fr; gap: 56px; }
  .intro-media { aspect-ratio: 4 / 4.4; }
  .hub-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-areas: "motd major" "next next"; align-items: stretch; }
  .panel--motd { grid-area: motd; }
  .panel--major { grid-area: major; }
  .panel--next { grid-area: next; }
  .panel--motd .motd-body { grid-template-columns: 1fr; }
  .panel--major .row-match { grid-template-columns: 64px minmax(0, 1fr) 132px; }
  .panel--major .rm-teams { grid-template-columns: 1fr; gap: 4px; }
  .panel--major .major-list { gap: 6px; }
  .panel--major .row-match { padding: 9px 12px; }
  .next-list .row-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .next-list .row-match { grid-template-columns: 64px minmax(0, 1fr) 150px; }
  .next-list .rm-teams { grid-template-columns: 1fr; }
  .sport-tile { min-height: 200px; }
}

/* ---------- Rules page ---------- */
.rules-hero { padding: 56px 0 28px; background: radial-gradient(60% 100% at 50% 0%, rgba(16,185,129,.22), transparent 70%), var(--bg); border-bottom: 1px solid var(--border); }
.rules-hero h1 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.2rem, 7vw, 3.6rem); line-height: 1; margin-bottom: 14px; }
.rules-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 14px; }
.draft-note { font-size: .82rem; color: var(--gold); margin: 0; }
.rules-body { padding-top: 32px; padding-bottom: 64px; }
.rules-body section { padding: 8px 0 24px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.rules-body section:last-child { border-bottom: 0; }
.rules-body h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
.rules-body h3 { margin-top: 1.2em; }
.rules-body p, .rules-body li { color: #cfe0d8; }
.rules-body ul { padding-left: 1.2em; }
.rules-body li { margin-bottom: 6px; }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 28px; }
.toc p { margin: 0 0 8px; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--emerald); }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 24px; font-size: .92rem; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--emerald-300); }
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--border); margin: 12px 0 16px; }
.rules-table { width: 100%; border-collapse: collapse; font-size: .9rem; background: var(--surface); }
.rules-table th, .rules-table td { padding: 11px 14px; border-top: 1px solid var(--border); text-align: left; vertical-align: top; }
.rules-table tr:first-child th, .rules-table tr:first-child td { border-top: 0; }
.rules-table tbody th { width: 36%; color: var(--emerald-300); font-weight: 700; }
.rules-table thead th { background: rgba(0,0,0,.25); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border-top: 0; }
.rules-table--grid tbody tr:first-child td { border-top: 1px solid var(--border); }
.rules-table .num { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--lime); }
.callout { background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.35); border-radius: 14px; padding: 14px 16px; margin: 12px 0 16px; color: #f5e7c1; }
.pool-cards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 12px 0 16px; }
.pc { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 14px; padding: 14px 16px; }
.pc b { display: block; font-family: var(--font-display); font-size: 1.7rem; line-height: 1; }
.pc span { color: var(--muted); font-size: .82rem; }
.pc h3 { margin: 8px 0 0; font-size: .95rem; }
.timeline { list-style: none; padding: 0; margin: 12px 0 16px; display: grid; gap: 8px; }
.timeline li { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.timeline b { color: var(--emerald-300); }
.rules-cta { margin-top: 20px; }
@media (max-width: 520px) { .toc ol { columns: 1; } .timeline li { grid-template-columns: 1fr; gap: 2px; } .rules-table tbody th { width: 42%; } }
.panel--motd .motd-body { display: flex; flex-direction: column; gap: 16px; }
.motd-side { display: flex; flex-direction: column; gap: 14px; }
.motd-info { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(0,0,0,.3); border: 1px solid var(--border); }
.motd-count { display: flex; flex-direction: column; padding-right: 16px; border-right: 1px solid var(--border); }
.mc-label { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--emerald-300); margin: 0 0 2px; }
.mc-val { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.motd-facts p { margin: 0; font-size: .85rem; color: var(--muted); line-height: 1.4; }
.motd-facts b { color: var(--text); }
.motd-calc { padding: 12px 16px; border-radius: 14px; background: linear-gradient(135deg, rgba(57,255,90,.12), rgba(16,185,129,.06)); border: 1px solid rgba(57,255,90,.3); }
.motd-calc p { margin: 0; font-size: .92rem; }
.motd-calc b { color: var(--lime); }
.crest-fallback { font-size: .8em; }
@media (min-width: 640px) {
  .sport-tile:first-child { grid-column: span 2; grid-row: span 2; min-height: 200px; }  /* 9 tiles: football 2x2 + 8 = 3 full rows */
}
@media (max-width: 400px) { .motd-info { grid-template-columns: 1fr; } .motd-count { border-right: 0; padding-right: 0; } }
.panel--motd::before { background-position: center bottom; background-size: cover; opacity: .85; }
.panel--motd::after { background: linear-gradient(180deg, rgba(6,18,13,.97) 0%, rgba(6,18,13,.93) 55%, rgba(6,18,13,.45) 100%); }
@media (max-width: 959px) { .panel--motd::after { background: linear-gradient(180deg, rgba(6,18,13,.96), rgba(6,18,13,.9)); } }
@media (max-width: 639px) { .panel-hint { display: none; } }

/* ---------- Sign-in (Safe.Zone) + My predictions ---------- */
.fb-dialog { border: 1px solid var(--border-strong); padding: 0; border-radius: 22px; background: linear-gradient(180deg, #0f231b, #07130e); color: var(--text);
  width: min(430px, calc(100% - 24px)); max-height: calc(100dvh - 24px); box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(57,255,90,.05); }
.fb-dialog--wide { width: min(620px, calc(100% - 24px)); }
.fb-dialog::backdrop { background: rgba(2, 8, 5, .72); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.fb-dialog[open] { animation: cardIn .25s ease both; }
.fb-dialog-body { position: relative; padding: 26px 24px 20px; }
.fb-dialog h2 { font-size: 2rem; margin: 0 0 .35em; }
.fb-dialog-logo { height: 26px; width: auto; margin: 0 0 14px; }
.fb-x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255,255,255,.04); color: var(--muted); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.fb-x:hover { color: var(--text); border-color: var(--emerald); }
.fb-provider { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 6px 12px; border-radius: 999px; background: rgba(16,185,129,.12); border: 1px solid var(--border-strong); color: var(--emerald-300); font-weight: 700; font-size: .85rem; }
.fb-note { color: var(--muted); font-size: .92rem; margin: 0 0 16px; }
.fb-join { font-size: .9rem; background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.3); border-radius: 12px; padding: 10px 12px; margin: 0 0 16px; }
.fb-join a { color: var(--gold); font-weight: 700; }
.fb-field { display: grid; gap: 6px; margin: 0 0 14px; }
.fb-field label { font-weight: 700; font-size: .88rem; }
.fb-field input { font: inherit; font-size: 1rem; color: var(--text); background: #06100c; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%; }
.fb-field input:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(16,185,129,.25); }
.fb-hint { color: var(--muted); font-size: .78rem; }
.fb-pin-title { text-align: center; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--emerald-300); font-weight: 800; margin: 4px 0 4px; }
.fb-prompt { text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: .04em; line-height: 1.25; margin: 0 0 12px;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fb-pin { display: block; width: 100%; font: inherit; font-size: 1.6rem; text-align: center; letter-spacing: .6em; color: var(--lime); background: #06100c; border: 1px solid var(--border-strong); border-radius: 14px; padding: 8px 14px; min-height: 56px; }
.fb-keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 4px; }
.fb-keypad button { min-height: 54px; border-radius: 16px; border: 1px solid rgba(255,255,255,.12); background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.12), rgba(255,255,255,.03) 60%), #0c1c16;
  color: var(--text); font: inherit; font-size: 1.35rem; font-weight: 800; cursor: pointer; transition: border-color .15s ease, color .15s ease; }
.fb-keypad button:hover { border-color: var(--emerald); color: var(--lime); }
.fb-keypad button:active { transform: translateY(1px); }
.fb-keypad button[disabled] { visibility: hidden; }
.fb-keypad .fb-back { color: var(--gold); }
.fb-error { color: #fca5a5; font-weight: 600; font-size: .9rem; min-height: 1.2em; margin: 4px 0 10px; }
.fb-error a { color: var(--gold); }
.fb-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.fb-actions .btn { min-width: 110px; }
.fb-fine { color: var(--muted); font-size: .76rem; margin: 14px 0 0; }
/* header, signed in */
.nav-actions.is-signed-in { align-items: center; }
.fb-avatar { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #03140d; font-weight: 800; font-size: .85rem; flex: none; }
.fb-user { position: relative; }
.fb-userbtn { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--border-strong); background: rgba(16,185,129,.08); color: var(--text); font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; }
.fb-userbtn:hover { border-color: var(--emerald); }
.fb-dialog [hidden], .fb-menu[hidden], .fb-uname-short { display: none !important; }
.fb-uname { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: rgba(57,255,90,.16); color: var(--lime); font-size: .78rem; }
.btn-primary .fb-count { background: rgba(3,20,13,.25); color: #03140d; }
.fb-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: #0a1a13; border: 1px solid var(--border-strong); border-radius: 14px; padding: 6px; box-shadow: var(--shadow); z-index: 60; }
.fb-menu-head { margin: 0; padding: 8px 10px; color: var(--muted); font-size: .78rem; border-bottom: 1px solid var(--border); }
.fb-menu button { display: block; width: 100%; text-align: left; padding: 10px; border: 0; background: none; color: var(--text); font: inherit; font-weight: 600; border-radius: 10px; cursor: pointer; }
.fb-menu button:hover { background: rgba(16,185,129,.12); color: var(--emerald-300); }
.fb-menu a.fb-menu-link { display: block; padding: 10px; color: var(--text); font-weight: 600; border-radius: 10px; text-decoration: none; }
.fb-menu a.fb-menu-link:hover { background: rgba(16,185,129,.12); color: var(--emerald-300); }
.nav-actions--mobile.is-signed-in { flex-wrap: wrap; }
.nav-actions--mobile.is-signed-in .fb-who { flex: 1 0 100%; display: flex; align-items: center; gap: 10px; margin: 0 0 4px; }
/* My predictions */
.fb-plist { display: grid; gap: 10px; max-height: min(52vh, 460px); overflow: auto; margin: 0 0 16px; padding-right: 2px; }
.fb-prow { border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; background: rgba(255,255,255,.03); }
.fb-prow.is-locked { opacity: .7; }
.fb-pmeta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .76rem; }
.fb-pmeta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-pteams { font-weight: 700; margin: 4px 0 8px; }
.fb-pteams .vs { color: var(--muted); font-weight: 500; font-size: .85em; }
.fb-score { margin-left: 8px; color: var(--gold); }
.fb-ppick { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .88rem; }
.fb-chip { padding: 3px 10px; border-radius: 999px; background: rgba(16,185,129,.15); border: 1px solid var(--border-strong); color: var(--emerald-300); font-weight: 800; font-size: .78rem; }
.fb-chip--gold { background: rgba(251,191,36,.12); border-color: rgba(251,191,36,.35); color: var(--gold); }
.fb-pwho { color: var(--text); }
.fb-pstate { margin-left: auto; color: var(--muted); font-size: .78rem; }
.fb-remove { margin-left: auto; border: 0; background: none; color: #fca5a5; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; text-decoration: underline; }
.fb-empty { color: var(--muted); text-align: center; padding: 18px 8px; margin: 0; }
@media (max-width: 480px) {
  .fb-dialog-body { padding: 22px 16px 16px; }
  .fb-dialog h2 { font-size: 1.7rem; }
  .fb-actions .btn { flex: 1; }
}
@media (min-width: 960px) {
  .main-nav li a { white-space: nowrap; }
  .fb-signed-in .main-nav li a { padding: 8px 11px; }
  .fb-mybtn { padding: .55em 1em; }
}
@media (min-width: 960px) and (max-width: 1180px) { .fb-mybtn { display: none; } .fb-signed-in .main-nav li a { padding: 8px 8px; font-size: .9rem; } .fb-uname { max-width: 110px; } }
@media (max-width: 959px) {
  .nav-actions--desktop.is-signed-in { display: flex; margin-left: auto; }
  .nav-actions--desktop.is-signed-in .fb-mybtn { display: none; }
  .fb-signed-in .menu-toggle { margin-left: 0; }
  .nav-actions--desktop .fb-userbtn { padding: 3px 10px 3px 3px; font-size: .85rem; }
  .nav-actions--desktop .fb-uname { display: none; }
  .nav-actions--desktop .fb-uname-short { display: inline !important; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 359px) { .nav-actions--desktop .fb-uname-short { display: none !important; } }

/* ---------- League headers, league boxes, search, hero logo (2026-09-30) ---------- */
.league-head { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 2px; min-width: 0; font: 800 .8rem/1.25 var(--font); letter-spacing: .08em; }
.league-head .lh-name { color: var(--emerald-300); text-transform: uppercase; }
.league-head .lh-sep { color: rgba(255,255,255,.35); padding: 0 4px; }
.league-head .lh-region { color: #c3d4cb; font-weight: 700; letter-spacing: .02em; }
.match > .league-head { padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.league--sub { color: var(--muted); font-weight: 600; letter-spacing: .03em; text-transform: none; }

.lgbox-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.lgbox { min-width: 0; display: grid; gap: 10px; padding: 12px; border-radius: var(--radius); background: rgba(8,20,15,.72); border: 1px solid rgba(110,231,183,.16); animation: cardIn .4s ease both; }
.lgbox-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 4px 8px; border-bottom: 1px solid var(--border); }
.lgbox-head .league-head { font-size: .86rem; }
.lgbox-count { flex: 0 0 auto; font-size: .72rem; font-weight: 600; color: var(--muted); }
.lgbox-list { display: grid; gap: 8px; }
.lgbox-more { justify-self: center; background: none; border: 0; color: var(--emerald-300); font: 700 .82rem var(--font); cursor: pointer; padding: 6px 10px; border-radius: 8px; }
.lgbox-more:hover { background: rgba(16,185,129,.1); }
.lgbox .result { background: rgba(15,31,25,.85); padding: 12px 14px; border-radius: 12px; animation: none; }
.result-grid > .lgbox { align-self: start; }
@media (min-width: 760px) { .next-list .lgbox-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.panel--major .lgbox-grid { gap: 10px; }
.panel--major .lgbox { padding: 10px; }

.fb-search { position: relative; margin: 0 0 18px; }
.fb-search input {
  width: 100%; height: 52px; padding: 0 48px 0 46px; border-radius: 999px; border: 1px solid var(--border-strong);
  background: rgba(10,24,18,.9); color: var(--text); font: 500 1rem var(--font); /* 16px: no iOS zoom */
  box-shadow: 0 10px 30px -18px rgba(16,185,129,.8); -webkit-appearance: none; appearance: none;
}
.fb-search input::placeholder { color: #8fa89c; }
.fb-search input::-webkit-search-cancel-button { display: none; }
.fb-search input:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(16,185,129,.3); }
.fb-search-icon { position: absolute; left: 16px; top: 16px; color: var(--emerald-300); pointer-events: none; }
.fb-search-clear { position: absolute; right: 8px; top: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: var(--text); font: 700 1.3rem/1 var(--font); cursor: pointer; }
.fb-search-clear:hover { background: rgba(16,185,129,.25); }
.fb-search-status { margin: 8px 18px 0; font-size: .85rem; color: var(--muted); min-height: 1.2em; }
.fb-search-status:empty { display: none; }
.empty--search { text-align: center; }
.linklike { background: none; border: 0; padding: 0; color: var(--emerald-300); font: inherit; text-decoration: underline; cursor: pointer; }
.panel.is-search-miss { display: none; }

.hero-logo { display: flex; justify-content: center; margin: -16px auto 28px; position: relative; }
.hero-logo img { width: min(78vw, 440px); height: auto; aspect-ratio: 1390 / 462; object-fit: contain; filter: drop-shadow(0 10px 30px rgba(0,0,0,.55)); }
@media (min-width: 960px) {
  .hero { flex-direction: column; justify-content: center; align-items: stretch; padding-top: 32px; }
  .hero-logo { margin-bottom: 40px; }
  .hero-logo img { width: 460px; }
}

/* ---------- Clickable league ticker ---------- */
.league-track { gap: 0; }
.league-track .lt-item {
  display: inline-flex; align-items: baseline; gap: 0; white-space: nowrap; cursor: pointer; background: none; border: 0; border-radius: 999px;
  padding: 6px 14px; margin: 0; font-family: var(--font-display); font-size: 1.05rem; color: #8fa89c; transition: color .15s ease, background .15s ease;
}
.league-track .lt-item::after { content: "•"; color: var(--emerald); font-size: 1rem; margin-left: 28px; opacity: .8; } /* between items */
.league-track .lt-name { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.league-track .lt-sep { color: rgba(255,255,255,.3); padding: 0 5px; font-size: .85em; }
.league-track .lt-region { font-family: var(--font); font-weight: 500; font-size: .8rem; color: #7d948a; letter-spacing: .01em; }
.league-track .lt-item:hover .lt-name, .league-track .lt-item:focus-visible .lt-name { color: var(--lime); }
.league-track .lt-item:hover .lt-region, .league-track .lt-item:focus-visible .lt-region { color: var(--text); }
.league-track .lt-item:hover, .league-track .lt-item:focus-visible { background: rgba(16,185,129,.12); }
.league-track .lt-item:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }
.league-strip:hover .league-track, .league-strip:focus-within .league-track { animation-play-state: paused; }
.lgbox--empty .empty { margin: 4px 0; }
.league-track .lt-item span::before { content: none; margin: 0; }
.league-track .lt-item .lt-region, .league-track .lt-item .lt-sep { text-transform: none; }

/* Member menu: own full Account # with copy */
.fb-acct { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px; margin: 0 0 4px; border-bottom: 1px solid var(--border); }
.fb-acct-label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fb-acct-num { font: 700 1rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--text); letter-spacing: .04em; user-select: all; }
.fb-menu .fb-acct-copy, .fb-acct-copy { display: inline-block; width: auto; margin-left: auto; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--border-strong);
  background: rgba(16,185,129,.12); color: var(--emerald-300); font: 700 .78rem var(--font); cursor: pointer; }
.fb-acct-copy:disabled { opacity: .5; cursor: default; }
.fb-menu { min-width: 300px; }
.fb-menu .fb-acct { flex-wrap: nowrap; }
.fb-acct--mobile { border: 1px solid var(--border); border-radius: 12px; margin: 10px 0; }

/* ---------- League side panel (one league shown) ---------- */
.lgpanel { min-width: 0; display: grid; gap: 14px; align-content: start; padding: 12px; border-radius: var(--radius); background: rgba(8,20,15,.78); border: 1px solid rgba(110,231,183,.22); animation: cardIn .4s ease both; }
.lp-sec { display: grid; gap: 8px; min-width: 0; }
.lp-h { margin: 0; font: 800 .72rem var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--emerald); }
.lp-group { margin: 6px 0 0; font: 700 .78rem var(--font); color: #cfe0d8; }
.lgt { width: 100%; border-collapse: collapse; font-size: .82rem; font-variant-numeric: tabular-nums; }
.lgt th, .lgt td { padding: 6px 4px; text-align: center; border-bottom: 1px solid var(--border); white-space: nowrap; }
.lgt th { font-size: .68rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.lgt .n { width: 26px; color: var(--muted); }
.lgt .t { text-align: left; max-width: 0; width: 100%; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.lgt .pts { font-weight: 800; color: var(--text); }
.lgt tbody tr:hover { background: rgba(255,255,255,.03); }
.lgt tr.is-playing .t { color: var(--emerald-300); }
.lgt-x { display: none; }
@media (min-width: 420px) { .lgt-x { display: table-cell; } }
.lp-note { margin: 0; font-size: .8rem; color: var(--gold); }
.lp-empty { margin: 0; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.03); color: var(--muted); font-size: .86rem; text-align: center; }
.lp-src { margin: 0; font-size: .74rem; color: var(--muted); }
.lp-src a { color: var(--emerald-300); }
.lp-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lp-results li { display: grid; grid-template-columns: 86px minmax(0,1fr); gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; background: rgba(15,31,25,.85); font-size: .84rem; }
.lr-date { color: var(--muted); font-size: .74rem; }
.lr-m { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 8px; align-items: center; min-width: 0; }
.lr-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-weight: 600; }
.lr-t:last-child { text-align: right; }
.lr-t.w { color: var(--text); }
.lr-s { font-family: var(--font-display); font-size: 1rem; color: var(--text); white-space: nowrap; }
.lp-dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.lp-dl div { padding: 8px 10px; border-radius: 10px; background: rgba(15,31,25,.85); min-width: 0; }
.lp-dl dt { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lp-dl dd { margin: 2px 0 0; font-weight: 700; font-size: .9rem; overflow-wrap: anywhere; }
.lp-about { margin: 0; font-size: .84rem; color: #cfe0d8; line-height: 1.5; }
@media (min-width: 760px) { .next-list .lgbox-grid--single { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }

/* Active search/league filter chip under the sport tabs */
.filter-chip-row { margin: -4px 0 12px; }
.filter-chip-row[hidden] { display: none; }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 5px 6px 5px 12px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: rgba(16,185,129,.1); color: var(--text); font-size: .85rem; }
.filter-chip-label { color: var(--muted); }
.filter-chip b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.filter-chip-x { flex: none; border: 0; border-radius: 999px; padding: 4px 10px; background: rgba(255,255,255,.08); color: var(--text);
  font: 600 .8rem var(--font); cursor: pointer; }
.filter-chip-x:hover, .filter-chip-x:focus-visible { background: rgba(255,255,255,.18); }

/* Leaderboard empty state (no scored predictions yet) */
.lb-empty { margin: 0; padding: 28px 20px; text-align: center; color: var(--muted); background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius); }
.lb-empty[hidden], .lb-wrap[hidden] { display: none; }

/* Leaderboard: scoring (lb1) */
.lb-me { margin: 0 0 16px; padding: 16px 18px; background: linear-gradient(135deg, rgba(16,185,129,.16), rgba(5,150,105,.05)); border: 1px solid var(--border-strong); border-radius: var(--radius); }
.lb-me-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.lb-me-head .kicker { margin: 0; }
.lb-me-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.lb-me-grid > div { display: flex; flex-direction: column; min-width: 0; }
.lb-me-grid b { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; line-height: 1.15; color: var(--lime); }
.lb-me-grid b small, .lb-prize small { color: var(--muted); font-family: var(--font); font-weight: 500; font-size: .72rem; display: block; }
.lb-me-grid > div > small { color: var(--muted); font-size: .76rem; }
.lb-me-l { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.lb-me-prize { grid-column: 1 / -1; }
.lb-me-prize b { color: var(--gold); }
.lb-prize { white-space: nowrap; }
.lb-prov td { color: var(--muted); }
.lb-prov .lb-points, .lb-prov .player-name { color: var(--text); }
.rank--prov { background: transparent; border: 1px dashed var(--border-strong); color: var(--muted); }
.lb-foot { margin: 10px 2px 0; color: var(--muted); font-size: .8rem; }
.lb th sup, .lb-foot sup { color: var(--gold); }
.fb-pres { font-weight: 700; }
.fb-pres--won { color: var(--lime); }
.fb-pres--lost { color: #fca5a5; }
@media (min-width: 720px) { .lb-me-grid { grid-template-columns: repeat(5, 1fr); } .lb-me-prize { grid-column: auto; } }

/* ---------- report a wrong result (results list + My predictions) ---------- */
.result-report, .fb-report { appearance: none; background: none; border: 0; padding: 0; margin-top: 8px; font: inherit; font-size: 12px; font-weight: 600;
  color: var(--muted, #8fa69c); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.result-report:hover, .fb-report:hover, .result-report:focus-visible, .fb-report:focus-visible { color: var(--accent, #34d399); }
.fb-report { display: inline-block; margin-top: 6px; }
.fb-rep-score { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ---------- The big games (compact) + "home-top" ad slot ---------- */
.panel--major { padding: 14px 14px 12px; border-radius: 20px; }
.panel--major .panel-head { margin-bottom: 10px; align-items: center; }
.panel--major .kicker { margin-bottom: 2px; font-size: .68rem; }
.panel--major .panel-title { font-size: 1.3rem; }
.panel--major .panel-hint { font-size: .7rem; }
.panel--major .major-list, .major-rows { gap: 6px; }
.panel--major .row-match { padding: 8px 10px; gap: 6px 10px; border-radius: 12px; grid-template-columns: 54px minmax(0, 1fr); }
.panel--major .rm-time { font-size: .82rem; gap: 2px; }
.panel--major .rm-body { gap: 2px; }
.panel--major .rm-league { font-size: .62rem; }
.panel--major .rm-teams { grid-template-columns: 1fr; gap: 2px; }
.panel--major .rm-team { font-size: .84rem; gap: 6px; }
.panel--major .rm-team .crest { width: 18px; height: 18px; }
.major-more { display: block; width: 100%; margin-top: 8px; padding: 6px 10px; border-radius: 10px; border: 1px dashed rgba(255,255,255,.18);
  background: transparent; color: var(--emerald-300); font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.major-more:hover, .major-more:focus-visible { border-color: var(--emerald); background: rgba(16,185,129,.08); }
@media (min-width: 640px) {
  .panel--major { padding: 16px 16px 14px; }
  .panel--major .row-match { grid-template-columns: 56px minmax(0, 1fr) 132px; grid-template-areas: "time body picks" "note note note"; }
}

/* Ad slot: <aside class="ad-slot" data-slot="home-top">. House promo by default; data-ad="sponsored" (set by
   FreeBetAds.fill or by hand for static ad code) shows the "Sponsored" label. Not shown for the house promo. */
.ad-slot { position: relative; min-width: 0; min-height: 120px; border-radius: 20px; overflow: hidden; border: 1px solid var(--border);
  background: var(--surface); display: flex; align-items: center; justify-content: center; }
.ad-slot.is-search-miss { display: none; }
.ad-slot[data-ad="sponsored"]::before { content: "Sponsored"; position: absolute; top: 6px; right: 8px; z-index: 2; font-size: .6rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); background: rgba(0,0,0,.5); padding: 2px 6px; border-radius: 6px; pointer-events: none; }
.ad-creative { width: 100%; display: flex; align-items: center; justify-content: center; }
.ad-creative > * { max-width: 100%; }
.ad-creative img, .ad-creative iframe { max-width: 100%; height: auto; }
.ad-house { width: 100%; height: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "logo text" "cta cta";
  gap: 12px 16px; align-items: center; align-content: center; padding: 16px 18px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(251,191,36,.16), transparent 55%), radial-gradient(120% 140% at 100% 100%, rgba(14,165,233,.18), transparent 55%),
    linear-gradient(135deg, #0d2419, #08140f); }
.ad-house-logo { grid-area: logo; width: 104px; height: auto; border-radius: 6px; }
.ad-house-text { grid-area: text; margin: 0; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.05rem, 3.8vw, 1.4rem); line-height: 1.08; }
.ad-house-text strong { color: var(--gold); white-space: nowrap; }
.ad-house-cta { grid-area: cta; display: flex; gap: 8px; flex-wrap: wrap; }
.ad-house-cta .btn { padding: .5em 1.1em; font-size: .88rem; }
.fb-signed-in .ad-house [data-auth="signup"] { display: none; }
@media (min-width: 640px) {
  .ad-house { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo text cta"; padding: 16px 22px; }
  .ad-house-logo { width: 128px; }
  .ad-house-cta { flex-direction: column; }
}
@media (min-width: 960px) {
  /* MotD left; compact big games + banner stacked on the right. Search re-flows: no MotD -> banner moves left beside the big games;
     no big-game matches -> the whole row (box + banner) is hidden and the results move up. */
  .hub-grid { grid-template-areas: "motd major" "motd ad" "next next"; grid-template-rows: auto 1fr auto; }
  .ad-slot { grid-area: ad; }
  .ad-house { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "logo text" "cta cta"; }
  .ad-house-cta { flex-direction: row; }
  .hub-grid--no-motd { grid-template-areas: "ad major" "next next"; grid-template-rows: auto auto; }
  .hub-grid--no-motd .ad-house { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "logo text" "logo cta"; padding: 20px 26px; }
  .hub-grid--no-motd .ad-house-logo { width: 150px; }
  .hub-grid--no-major { grid-template-areas: "motd motd" "next next"; grid-template-rows: auto auto; }
  .hub-grid--no-motd.hub-grid--no-major { grid-template-areas: "next"; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
}
