:root {
  color-scheme: dark;
  --ink: #0a101b;
  --panel: #111b2b;
  --panel-raised: #18253a;
  --edge: #25354b;
  --text: #f5f7fb;
  --muted: #a7b3c5;
  --lime: #c8f750;
  --lime-ink: #172309;
  --cyan: #86d9ed;
  --error: #ff9c9e;
  --warning: #ffce8d;
  --heading: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 1rem/1.55 var(--body); }
a { color: inherit; }
button, input, select { font: inherit; }
button, summary, select { cursor: pointer; }
button:disabled { cursor: not-allowed; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1; }
h1, h2 { font-family: var(--heading); font-weight: 800; }
h2 { font-size: clamp(2.2rem, 4vw, 3.15rem); letter-spacing: -.025em; }
h3 { font-size: 1.125rem; line-height: 1.25; }
.shell { width: min(100% - 56px, 1320px); margin-inline: auto; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip:focus { position: absolute; z-index: 6; padding: 12px; background: var(--ink); }
.site-header { border-bottom: 1px solid #1b293b; background: #0c1420; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 78px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; text-decoration: none; font: 800 1.36rem/.85 var(--heading); letter-spacing: .045em; white-space: nowrap; }
.brand-second { display: block; color: var(--lime); }
.brand-mark { display: flex; align-items: end; justify-content: center; gap: 3px; width: 39px; height: 39px; padding-bottom: 11px; background: var(--lime); border-radius: 10px 10px 10px 3px; }
.brand-mark i { width: 4px; border-radius: 1px; transform: skewX(-14deg); background: #101a12; }
.brand-mark i:nth-child(1) { height: 8px; }
.brand-mark i:nth-child(2) { height: 14px; }
.brand-mark i:nth-child(3) { height: 20px; }
.main-nav { display: flex; gap: 29px; height: 100%; align-items: center; }
.main-nav a { display: grid; place-items: center; position: relative; min-height: 100%; white-space: nowrap; text-decoration: none; font-size: .875rem; font-weight: 650; color: var(--muted); }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--text); }
.main-nav a[aria-current]::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: var(--lime); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 18px; min-height: 46px; width: fit-content; border: 1px solid var(--edge); border-radius: 9px; background: var(--panel-raised); color: var(--text); text-decoration: none; font-weight: 750; font-size: .875rem; white-space: normal; text-align: center; transition: background .16s, border-color .16s, color .16s; }
.button:hover { background: #22324b; border-color: #4c607d; }
.button:disabled { opacity: .5; }
.button-primary { border-color: var(--lime); background: var(--lime); color: var(--lime-ink); }
.button-primary:hover { background: #daff80; border-color: #daff80; }
.button-outline { background: #111b2bbd; }
.button-large { padding: 13px 22px; min-height: 52px; }
.header-wallet { justify-self: end; border-color: #567139; background: #17251a; color: var(--lime); }
.header-wallet:hover { border-color: var(--lime); background: #213523; }
.header-wallet span:last-child { max-width: 11em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.symbol { position: relative; display: inline-grid; align-items: center; justify-content: center; flex: none; width: 18px; height: 18px; color: inherit; }
.wallet-icon::before { content: ""; width: 16px; height: 12px; border: 1.5px solid currentColor; border-radius: 3px; }
.wallet-icon::after { content: ""; width: 5px; height: 5px; border: 1.5px solid currentColor; background: #17251a; border-radius: 2px; position: absolute; right: 0; }
.clock-icon { width: 15px; height: 15px; border: 1.5px solid currentColor; border-radius: 50%; }
.clock-icon::before { content: ""; position: absolute; width: 4px; height: 5px; top: 2px; left: 5px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
#main { min-height: 58vh; padding-block: 28px 70px; }
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(278px, 314px); align-items: center; gap: 24px; min-height: 500px; padding: 64px clamp(27px, 5vw, 72px); overflow: hidden; border: 1px solid #26374b; border-radius: 17px; background: #0c1925; }
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.hero::before { background: url("/stadium.webp") center 54% / cover no-repeat; }
.hero::after { background: linear-gradient(94deg, #0a1320 2%, #0a1320e8 29%, #0a13207c 68%, #0a132052 100%), linear-gradient(0deg, #0a1725a8 0%, transparent 50%); }
.hero-label { display: inline-flex; align-items: center; gap: 9px; width: fit-content; border: 1px solid #b9e45455; padding: 6px 11px; border-radius: 5px; background: #24351db5; color: #d8f69b; font-weight: 750; font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; }
.dot { width: 7px; height: 7px; border-radius: 100%; background: currentColor; flex: none; }
.hero h1 { margin-block: 16px 18px; font-size: clamp(4rem, 7.3vw, 7rem); letter-spacing: -.034em; line-height: .88; }
.hero h1 span { display: block; color: var(--lime); }
.hero-copy > p { color: #d0d9e6; max-width: 35rem; font-size: clamp(1rem, 1.45vw, 1.125rem); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hero .actions { margin-top: 26px; }
.scorecard { align-self: center; padding: 23px; background: #101b2eee; border: 1px solid #67839e68; border-radius: 13px; box-shadow: 0 16px 48px #040a1280; }
.scorecard-head, .scorecard-meta, .stat-line, .section-head, .panel-head, .lobby-header, .week-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.scorecard-head { color: #d6e1ef; font-size: .875rem; font-weight: 750; }
.pill { display: inline-flex; align-items: center; width: fit-content; gap: 6px; padding: 3px 8px; line-height: 1.35; border-radius: 5px; border: 1px solid #526278; color: #c8d3e3; background: #172235; font-size: .8125rem; font-weight: 750; white-space: nowrap; }
.pill-green { color: var(--lime); border-color: #506233; background: #25341d; }
.pill-amber { color: var(--warning); border-color: #745635; background: #3a2b20; }
.pill-red { color: var(--error); border-color: #744449; background: #35252e; }
.scorecard strong { display: block; font: 800 3.15rem/.95 var(--heading); color: var(--lime); letter-spacing: -.02em; }
.scorecard-pot { margin: 20px 0 17px; }
.scorecard-pot small, .metric small { display: block; color: var(--muted); margin-top: 4px; font-size: .875rem; }
.scorecard-meta, .stat-line { font-size: .875rem; color: #b9c7da; }
.scorecard-meta b, .stat-line b { color: var(--text); }
.progress { height: 5px; margin: 8px 0 15px; border-radius: 10px; background: #2a3a50; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--lime); border-radius: inherit; }
.scorecard-bottom { border-top: 1px solid #334259; padding-top: 11px; font-size: .875rem; color: #d0dceb; display: flex; align-items: center; gap: 8px; line-height: 1.35; }
.home-section { margin-top: 43px; }
.section-head { align-items: end; margin-bottom: 17px; }
.section-head p, .page-lead, .muted { color: var(--muted); }
.section-head div > p { margin-top: 7px; }
.text-link, .text-button { text-decoration: none; color: var(--lime); font-weight: 750; font-size: .875rem; }
.text-link:hover, .text-button:hover { text-decoration: underline; }
.text-button { border: none; padding: 0; background: none; }
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.how-card, .competition, .panel { border: 1px solid var(--edge); background: var(--panel); border-radius: 12px; }
.how-card { padding: 20px; display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: start; }
.how-card p { margin-top: 5px; color: var(--muted); font-size: .9375rem; }
.rule-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; color: var(--lime); background: #243323; font-weight: 750; font-size: 1.25rem; }
.fixture-icon { color: var(--lime); background: #243323; }
.page-top { padding: 18px 0 26px; }
.page-top h1 { font-size: clamp(3.3rem, 7vw, 5.15rem); letter-spacing: -.015em; }
.page-lead { max-width: 52rem; margin-top: 9px; }
.eyebrow { color: var(--lime); font-size: .875rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 750; margin-bottom: 8px; }
.lobby-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.competition { display: grid; gap: 17px; padding: clamp(17px, 3vw, 25px); }
.lobby-header { justify-content: flex-start; }
.lobby-header .pill { margin-left: auto; }
.lobby-header p, .fine { color: var(--muted); font-size: .875rem; }
.token { flex: none; min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: #24372c; color: var(--lime); font-weight: 800; letter-spacing: .02em; font-size: .86rem; }
.token-lunc { color: #a7c7ff; background: #213153; }
.competition-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-block: 14px; border-block: 1px solid var(--edge); }
.metric b { display: block; margin-top: 3px; font-size: 1.22rem; line-height: 1.2; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.metric small { margin-top: 0; }
.competition .actions { justify-content: space-between; }
.note { display: flex; gap: 10px; margin-top: 16px; padding: 12px 15px; border: 1px solid var(--edge); border-radius: 9px; color: var(--muted); background: #0f1928; }
.note b { color: var(--text); }
.note-warn { background: #2c241b; border-color: #665035; color: var(--warning); }
.note-good { background: #1e2d1d; border-color: #4b6031; color: #daf5ab; }
.panel { padding: clamp(16px, 2.6vw, 25px); margin-bottom: 16px; }
.panel h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.panel p + .actions, .panel .panel-head + p, .panel h2 + p { margin-top: 10px; }
.game-columns { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(270px, 1fr); gap: 17px; align-items: start; }
.game-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 15px 20px; margin-bottom: 15px; background: #142034; border: 1px solid var(--edge); border-radius: 12px; }
.game-bar .metric + .metric { border-left: 1px solid var(--edge); padding-left: 15px; }
.pick-panel { border-top: 3px solid var(--lime); }
.pick-panel .fine, .panel > .fine { margin-top: 7px; }
.fixtures { display: grid; gap: 9px; margin-top: 13px; }
.fixture { display: grid; grid-template-columns: minmax(0, 1fr) 35px minmax(0, 1fr); gap: 5px; align-items: center; padding: 7px; border: 1px solid var(--edge); border-radius: 8px; background: #0d1725; }
.vs { text-align: center; color: var(--muted); font-size: .8125rem; font-weight: 750; white-space: nowrap; }
.team { min-height: 47px; display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 8px; text-align: left; border: 1px solid transparent; border-radius: 6px; background: #172336; color: var(--text); font-size: .88rem; font-weight: 650; line-height: 1.22; }
button.team:hover { border-color: #93bc4c; background: #293d2e; }
button.team[aria-pressed="true"] { border-color: var(--lime); background: #273a28; color: #e1ffc0; }
button.team:disabled { opacity: .55; }
.team .club { flex: none; }
.team small { display: block; margin-top: 3px; font-size: .8125rem; color: var(--muted); }
.club { display: grid; place-items: center; min-width: 32px; height: 32px; padding: 2px 4px; border: 1px solid #ffffff24; border-radius: 6px; background: var(--club-color, #263b57); color: #fff; font-size: .75rem; font-weight: 800; text-shadow: 0 1px 3px #000; }
.pick-actions { display: flex; justify-content: space-between; align-items: center; gap: 13px; margin-top: 13px; }
.history, .standings { margin: 12px 0 0; padding: 0; list-style: none; }
.history li, .standings li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--edge); font-size: .875rem; }
.history li strong, .standings li strong { display: block; }
.history li small { color: var(--muted); font-size: .8125rem; }
.standings .current { color: var(--lime); }
.standings-scroll { max-height: 430px; overflow: auto; padding-right: 5px; }
.result-round { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--edge); }
.result-round summary { width: fit-content; font-size: .9375rem; font-weight: 700; }
.team-bank { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.team-bank .club { min-width: 36px; }
.rules-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 15px; align-items: start; }
.rules-grid p + p { margin-top: 9px; }
.outcome-list { display: grid; gap: 10px; margin-top: 15px; }
.outcome-list div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: start; }
.outcome-list p { color: var(--muted); }
.rule-list { padding-left: 21px; color: var(--muted); }
.rule-list li + li { margin-top: 8px; }
.operator-panel { max-width: 820px; }
.operator-panel .actions { margin-top: 13px; }
.operator-panel .actions .button { margin-top: 0; }
.loading { min-height: 330px; display: grid; place-items: center; color: var(--muted); }
.site-footer { background: #0c1420; border-top: 1px solid #1b293b; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; }
.footer-inner p, .footer-links a { color: var(--muted); font-size: .875rem; }
.footer-attribution a:hover { color: var(--lime); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; }
dialog { width: min(100% - 32px, 470px); max-height: calc(100dvh - 32px); overflow-y: auto; border: 1px solid #455a77; border-radius: 15px; padding: 0; background: #141f31; color: var(--text); box-shadow: 0 25px 70px #0008; }
dialog::backdrop { background: #040912c9; }
.dialog-body { padding: 23px; }
.dialog-body h2 { font-size: 2.35rem; }
.dialog-body > p { margin-top: 11px; color: var(--muted); }
.close { background: #1b293e; border: 1px solid #3a4d68; border-radius: 7px; color: var(--text); width: 36px; height: 36px; flex: none; display: grid; place-items: center; font-size: 1.35rem; line-height: 1; }
.wallet-options { display: grid; gap: 9px; margin-top: 16px; }
.wallet-option-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 5px 12px; }
.wallet-option { min-height: 51px; width: 100%; justify-content: flex-start; }
.wallet-option .token { width: 32px; min-width: 32px; height: 32px; font-size: .75rem; }
.wallet-option-primary { border-color: #567139; background: #192b23; text-align: left; }
.wallet-option-primary:hover { border-color: var(--lime); }
.wallet-option small { display: block; color: var(--muted); font-weight: 500; }
.wallet-edge-handoff { display: grid; gap: 8px; margin-top: 14px; padding: 11px; border: 1px solid var(--edge); border-radius: 8px; background: #0f1928; }
.wallet-edge-handoff .payment-facts { margin: 0; }
.wallet-edge-handoff .copy-value { padding-block: 3px; border-bottom: 0; }
.wallet-edge-handoff .copy-value dt { flex: none; font-size: .875rem; }
.wallet-edge-copy-status:empty { display: none; }
.dialog-body .wallet-progress { color: var(--lime); font-size: .875rem; }
.wallet-progress:empty { display: none; }
.dialog-body .actions { margin-top: 17px; }
.payment-facts { margin: 14px 0 0; }
.payment-facts > div { display: flex; gap: 16px; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--edge); }
.payment-facts dt { color: var(--muted); }
.payment-facts dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.empty-state { display: grid; justify-items: start; gap: 10px; }
.empty-state p { max-width: 44rem; }
.scorecard-empty { display: grid; gap: 12px; }
.scorecard-empty h2 { font-size: 2.5rem; }
dialog:has(.payment-quote) { width: min(100% - 32px, 560px); }
.payment-summary { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-block: 16px 8px; }
.payment-progress { margin-top: 10px; color: var(--lime); font-size: .875rem; }
.payment-manual { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--edge); }
.payment-manual summary { color: var(--text); font-size: .875rem; font-weight: 700; }
.payment-manual p { margin-top: 8px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 15px; }
.payment-form { display: grid; gap: 10px; margin-top: 15px; }
.field { display: grid; align-content: start; gap: 5px; color: var(--muted); font-size: .875rem; font-weight: 650; }
.field input { width: 100%; min-width: 0; min-height: 42px; padding: 7px 10px; border: 1px solid #475973; border-radius: 6px; background: #141f31; color: var(--text); }
.field-wide { grid-column: 1 / -1; }
.copy-value { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.copy-value dd { display: flex; align-items: flex-start; gap: 8px; }
.copy-value code { color: var(--text); user-select: all; white-space: normal; overflow-wrap: anywhere; }
.copy-value .text-button { flex: none; }
.fixture-meta { color: var(--muted); font-size: .8125rem; }
.fixture-card .fixture-meta { margin-bottom: 4px; }
.results-loading { padding-block: 20px; }
.results-summary { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 16px; color: var(--muted); font-size: .875rem; }
.results-summary b { color: var(--text); }
.results-round { max-width: 880px; }
.results-archive summary { font-size: 1rem; font-weight: 700; }
.results-archive summary::marker { color: var(--lime); }
.payout-card { margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--edge); }
.payout-card .panel-head { align-items: flex-start; }
.payout-card .payment-facts { margin-top: 4px; }
.payment-history { margin-top: 16px; }
.hash { overflow-wrap: anywhere; }
.profile-name, .winner-player { display: flex; align-items: center; gap: 10px; min-width: 0; }
.profile-name > :last-child { overflow-wrap: anywhere; }
.profile-avatar { display: grid; place-items: center; width: 33px; height: 33px; flex: none; border: 1px solid var(--edge); border-radius: 8px; background: var(--panel-raised); font-size: 1rem; }
.profile-prompt, .wallet-profile { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; }
.profile-prompt { color: var(--muted); }
.wallet-profile { margin-top: 14px; padding-bottom: 13px; border-bottom: 1px solid var(--edge); }
.wallet-profile .fine { margin-top: 4px; }
.profile-icons { min-width: 0; margin: 0; padding: 0; border: 0; }
.profile-icons legend { margin-bottom: 6px; color: var(--muted); font-size: .875rem; font-weight: 650; }
.profile-icon-options { display: flex; flex-wrap: wrap; gap: 5px; }
.profile-icon-option { cursor: pointer; }
.profile-icon-option > span[aria-hidden] { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid var(--edge); border-radius: 8px; background: var(--panel-raised); font-size: 1.25rem; }
.profile-icon-option input:checked + span { border-color: var(--lime); background: #25341d; }
.profile-icon-option input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 3px; }
.network-filters, .archive-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 17px; }
.network-filters a[aria-current] { border-color: #567139; background: #243323; color: var(--lime); }
.winner-list { display: grid; gap: 12px; max-width: 880px; margin: 0 0 15px; padding: 0; list-style: none; }
.winner-item { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 20px; margin: 0; }
.winner-player > div { min-width: 0; }
.winner-player .fine { margin-top: 4px; }
.winner-prize { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ranking-panel { max-width: 940px; }
.ranking-table { border-collapse: collapse; width: 100%; text-align: left; }
.ranking-table th, .ranking-table td { border-bottom: 1px solid var(--edge); padding: 10px 8px; }
.ranking-table thead th { color: var(--muted); font-size: .875rem; }
.ranking-table tbody td { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ranking-table .rank { color: var(--lime); font-weight: 750; }
.ranking-table tbody tr:last-child > * { border-bottom: 0; }
.weekly-picks-filters, .weekly-picks-stats, .weekly-picks-note, .weekly-picks-round, .weekly-picks-history { max-width: 940px; }
.weekly-picks-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.weekly-picks-filters .field { flex: 1 1 140px; min-width: 0; }
.weekly-picks-filters .field:first-child { flex: 2 1 260px; }
.weekly-picks-stats { grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.weekly-picks-note { margin-bottom: 16px; }
.weekly-picks-round[open] > summary, .weekly-picks-round > .fine { margin-bottom: 8px; }
.weekly-picks-history > h2 { margin: 20px 0 12px; }
.weekly-picks-table .pill { white-space: normal; }
.weekly-picks-table .profile-name > span { min-width: 0; }
.policy-content { max-width: 880px; overflow-wrap: anywhere; }
select { width: 100%; min-height: 42px; appearance: none; padding: 7px 33px 7px 10px; border: 1px solid #475973; border-radius: 6px; background: linear-gradient(45deg, transparent 50%, #a7b3c5 50%) right 16px center / 5px 5px no-repeat, linear-gradient(135deg, #a7b3c5 50%, transparent 50%) right 11px center / 5px 5px no-repeat, #141f31; color: var(--text); }
.feedback { margin-top: 10px; color: var(--error); }
.feedback:empty { display: none; }
@media (max-width: 1240px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 0 8px; min-height: auto; }
  .header-inner > .brand, .header-wallet { margin-block: 11px 8px; }
  .main-nav { grid-area: 2 / 1 / 3 / -1; width: 100%; flex-wrap: wrap; gap: 0 20px; }
  .main-nav a { min-height: 43px; }
}
@media (max-width: 980px) {
  .hero { min-height: 468px; grid-template-columns: minmax(0, 1fr) minmax(235px, 270px); padding-inline: 28px; gap: 14px; }
  .scorecard { padding: 17px; }
  .how-card { padding: 15px; gap: 9px; grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 30px); }
  .main-nav { justify-content: space-between; gap: 0 6px; }
  .main-nav a { flex-grow: 1; padding-inline: 4px; white-space: normal; text-align: center; }
  #main { padding-block: 15px 42px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 35px 18px 18px; gap: 24px; }
  .hero::before { background-position: 60% 46%; }
  .hero::after { background: linear-gradient(96deg, #101b28de 0%, #101b2888 75%), linear-gradient(0deg, #0b1520c0 0%, transparent 70%); }
  .hero h1 { font-size: clamp(3.6rem, 14vw, 5.7rem); }
  .hero-copy > p { max-width: 27rem; }
  .hero .actions { margin-top: 18px; }
  .button-large { padding-inline: 14px; min-height: 46px; }
  .scorecard { padding: 15px; }
  .scorecard-pot { margin-block: 12px; }
  .scorecard strong { font-size: 2.6rem; }
  .scorecard-bottom { padding-top: 9px; }
  .home-section { margin-top: 30px; }
  .section-head { align-items: start; }
  .how-grid, .lobby-grid, .game-columns, .rules-grid { grid-template-columns: 1fr; }
  .how-card { grid-template-columns: auto 1fr; }
  .page-top { padding: 10px 0 17px; }
  .game-bar { grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; }
  .game-bar .metric:nth-child(3) { border-left: 0; padding-left: 0; }
  .pick-actions { position: sticky; z-index: 1; bottom: 0; margin-inline: -16px; padding: 10px 16px max(10px, env(safe-area-inset-bottom)); background: var(--panel); border-top: 1px solid var(--edge); border-radius: 0 0 11px 11px; }
  .footer-inner { flex-wrap: wrap; gap: 10px; padding-block: 16px; }
  .footer-attribution { width: 100%; order: 2; }
}
@media (max-width: 390px) {
  .hero h1 { font-size: clamp(3.1rem, 13.2vw, 4rem); }
  .team { gap: 5px; padding-inline: 4px; }
  .team .club { min-width: 27px; height: 28px; }
  .fixture { gap: 2px; grid-template-columns: minmax(0, 1fr) 27px minmax(0, 1fr); padding-inline: 4px; }
  .form-grid { grid-template-columns: 1fr; }
  .copy-value dd { flex-wrap: wrap; justify-content: end; }
  .header-wallet span:last-child { max-width: 8em; }
  .ranking-table th, .ranking-table td { padding-inline: 4px; }
  .ranking-table .profile-name { gap: 4px; }
  .ranking-table .profile-avatar { width: 25px; height: 25px; font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
