:root {
  --bg: #06112d;
  --bg2: #0b1f55;
  --blue: #1d4ed8;
  --electric: #38bdf8;
  --gold: #f6c64b;
  --gold2: #f59e0b;
  --ink: #08112a;
  --muted: #7080a1;
  --card: rgba(255, 255, 255, .94);
  --glass: rgba(9, 24, 64, .72);
  --line: rgba(255,255,255,.18);
  --shadow: 0 28px 80px rgba(0,0,0,.35);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: white;
  background: radial-gradient(circle at 50% 0%, #164bd8 0, #0a2670 26%, #06112d 58%, #030817 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.4;
  overflow-x: hidden;
  padding-bottom: 96px;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.stadium-bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.stadium-bg:before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 14% 9%, rgba(56,189,248,.85), transparent 12%),
    radial-gradient(circle at 86% 8%, rgba(96,165,250,.8), transparent 12%),
    radial-gradient(circle at 50% 22%, rgba(29,78,216,.45), transparent 40%);
  opacity: .9;
}
.stadium-bg:after {
  content: "";
  position: absolute; inset: auto -15% 0; height: 34vh;
  background: radial-gradient(ellipse at 50% 100%, rgba(0,0,0,.75), transparent 68%);
}
.beam { position: absolute; top: -20px; width: 36vw; height: 74vh; opacity: .22; filter: blur(4px); }
.beam-left { left: -9vw; background: conic-gradient(from 130deg, transparent, rgba(125,211,252,.8), transparent 35%); transform: rotate(8deg); }
.beam-right { right: -9vw; background: conic-gradient(from 220deg, transparent, rgba(125,211,252,.8), transparent 35%); transform: rotate(-8deg); }
.glow { position: absolute; border-radius: 999px; filter: blur(20px); opacity: .45; }
.glow-one { width: 320px; height: 320px; background: #2563eb; left: -80px; top: 260px; }
.glow-two { width: 280px; height: 280px; background: #f59e0b; right: -120px; top: 380px; opacity: .22; }
.pitch-line { position: absolute; left: 50%; bottom: -100px; width: 780px; height: 260px; transform: translateX(-50%); border: 2px solid rgba(255,255,255,.12); border-radius: 50% 50% 0 0; }

.topbar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px clamp(14px, 4vw, 24px) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-trophy {
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 18px; background: rgba(255,255,255,.09); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 14px 40px rgba(0,0,0,.2);
}
.brand strong { display: block; font-size: 18px; letter-spacing: -.02em; }
.brand small { display: block; color: #b9c8ee; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.desktop-nav { display: flex; gap: 8px; }
.desktop-nav a {
  padding: 10px 13px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,.08); color: #e8efff; font-weight: 900; font-size: 13px;
}
.desktop-nav a:hover { background: rgba(255,255,255,.14); }
.shell { width: min(100%, 980px); margin: 0 auto; padding: 18px clamp(14px, 4vw, 24px) 32px; }

.hero-card, .form-card, .panel, .empty-card, .match-stage {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.2);
}
.premium-hero, .leaderboard-hero, .premium-success {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 6vw, 60px);
  background:
    linear-gradient(145deg, rgba(6,17,45,.96), rgba(17,52,138,.84)),
    radial-gradient(circle at 100% 10%, rgba(246,198,75,.25), transparent 36%);
  isolation: isolate;
}
.premium-hero:before, .leaderboard-hero:before, .premium-success:before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(56,189,248,.38), transparent 22%),
    linear-gradient(transparent 0 70%, rgba(0,0,0,.22));
  z-index: -1;
}
.premium-hero:after {
  content: "";
  position: absolute; right: -80px; bottom: -90px; width: 260px; height: 260px;
  border-radius: 50%; border: 26px solid rgba(246,198,75,.22); z-index: -1;
}
.hero-topline, .match-stage-top, .panel-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.tag, .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; line-height: 1; font-weight: 1000; letter-spacing: .14em; text-transform: uppercase;
}
.tag { padding: 9px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); }
.tag-gold { color: #251700; background: linear-gradient(135deg, #ffe08a, #f5b82e); box-shadow: 0 10px 28px rgba(245,158,11,.25); }
.tag-blue { color: #dbeafe; background: rgba(29,78,216,.28); }
.eyebrow { color: var(--gold); margin: 0 0 6px; }
.live-pill, .pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  color: #eaf2ff; font-size: 12px; font-weight: 950;
}
.pulse { width: 8px; height: 8px; border-radius: 999px; background: #22c55e; box-shadow: 0 0 0 6px rgba(34,197,94,.14); }
.premium-hero h1, .leaderboard-hero h1, .premium-success h1 {
  margin: 0;
  color: white;
  font-size: clamp(44px, 9vw, 86px);
  line-height: .92;
  letter-spacing: -.075em;
  max-width: 820px;
}
.premium-hero h1 em { color: var(--gold); font-style: normal; text-shadow: 0 8px 30px rgba(246,198,75,.22); }
.premium-hero p, .leaderboard-hero p, .premium-success p { color: #c6d5f4; font-size: clamp(16px, 2vw, 20px); max-width: 720px; margin: 20px 0 0; }
.hero-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  font-weight: 1000; letter-spacing: -.02em; box-shadow: 0 14px 34px rgba(0,0,0,.22);
}
.btn.primary {
  background: linear-gradient(135deg, #fff4b1 0%, #f6c64b 35%, #f59e0b 100%);
  color: #172033;
  border: 1px solid rgba(255,255,255,.35);
}
.btn.glass, .btn.ghost {
  background: rgba(255,255,255,.12); color: white; border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
}
.btn.small { min-height: 38px; padding: 0 14px; font-size: 13px; }
.btn.full { width: 100%; }
.featured-match {
  display: block; margin-top: clamp(24px, 5vw, 44px); position: relative;
  border-radius: 28px; overflow: hidden; color: white;
  background: linear-gradient(135deg, rgba(5,16,50,.88), rgba(20,67,180,.7));
  border: 1px solid rgba(96,165,250,.55);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 0 55px rgba(37,99,235,.36);
}
.ribbon {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  padding: 8px 22px; background: #1d4ed8; color: white; border-radius: 0 0 16px 16px;
  font-size: 12px; font-weight: 1000; text-transform: uppercase; letter-spacing: .09em;
}
.featured-inner { padding: 42px 28px 26px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; }
.feature-team { display: grid; gap: 12px; font-size: clamp(18px, 4vw, 28px); font-weight: 1000; }
.feature-team.right { justify-items: end; text-align: right; }
.flag-xl { width: 104px; height: 70px; object-fit: cover; border-radius: 18px; background: white; box-shadow: 0 16px 34px rgba(0,0,0,.24); }
.feature-centre { display: grid; place-items: center; gap: 6px; color: #c6d5f4; text-align: center; min-width: 120px; }
.feature-centre b { font-size: 30px; color: #eaf6ff; text-shadow: 0 0 20px #38bdf8; }
.feature-centre small, .feature-centre span { font-weight: 900; }

.section-head { margin: 28px 0 14px; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.section-head h1, .section-head h2 { margin: 0; color: white; font-size: clamp(24px, 5vw, 36px); letter-spacing: -.04em; }
.pill { background: rgba(255,255,255,.16); }
.fixture-list { display: grid; gap: 14px; }
.fixture-card {
  display: block; padding: 18px; color: white; overflow: hidden; position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(226,238,255,.9));
  border: 1px solid rgba(255,255,255,.45); border-radius: 26px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.fixture-card:before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0, rgba(37,99,235,.15), transparent 50%); }
.fixture-card > * { position: relative; }
.league-line { display: flex; justify-content: space-between; gap: 12px; color: #52637f; font-weight: 1000; font-size: 12px; margin-bottom: 14px; }
.teams-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.team { display: flex; align-items: center; gap: 10px; min-width: 0; color: #07122d; }
.team.right { justify-content: flex-end; text-align: right; }
.team strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: clamp(15px, 4vw, 19px); }
.flag-img { width: 42px; height: 30px; object-fit: cover; border-radius: 8px; background: white; box-shadow: 0 6px 16px rgba(2,6,23,.18); flex: 0 0 auto; }
.versus {
  min-width: 44px; min-height: 42px; display: grid; place-items: center;
  border-radius: 999px; color: white; font-weight: 1000;
  background: linear-gradient(135deg, #07122d, #1d4ed8); box-shadow: 0 0 25px rgba(37,99,235,.28);
}
.fixture-meta { display: flex; justify-content: space-between; color: #52637f; font-size: 12px; font-weight: 950; margin-top: 14px; }

.match-stage { padding: 16px; margin-bottom: 16px; background: linear-gradient(135deg, rgba(4,14,43,.9), rgba(12,44,126,.74)); }
.big-match-card { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.big-team { display: grid; gap: 8px; min-width: 0; }
.big-team.right { justify-items: end; text-align: right; }
.huge-flag-img { width: 112px; height: 76px; object-fit: cover; border-radius: 20px; background: white; box-shadow: 0 18px 38px rgba(0,0,0,.32); }
.big-team h1 { margin: 0; font-size: clamp(26px, 7vw, 50px); line-height: .95; letter-spacing: -.055em; color: white; }
.big-team small { color: #b9c8ee; font-weight: 1000; letter-spacing: .13em; }
.match-centre { display: grid; place-items: center; gap: 8px; text-align: center; color: #b9c8ee; max-width: 150px; }
.match-centre span { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, #38bdf8 0, #1d4ed8 45%, #08112a 100%); font-size: 20px; font-weight: 1000; color: white; box-shadow: 0 0 32px rgba(56,189,248,.5); }
.match-centre small { font-weight: 900; }

.form-card, .panel, .empty-card { background: var(--card); color: var(--ink); }
.premium-form-card { padding: clamp(18px, 4vw, 28px); }
.form-title-row { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.form-title-row h2 { margin: 0; color: #07122d; font-size: clamp(28px, 6vw, 42px); letter-spacing: -.05em; }
.mini-trophy { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, #fff4b1, #f59e0b); box-shadow: 0 14px 30px rgba(245,158,11,.26); }
.muted { color: var(--muted); }
.small-note { margin: 8px 0 0; font-size: 14px; }
.predict-form { display: grid; gap: 14px; margin-top: 18px; }
.field-grid.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fancy-field { display: grid; gap: 7px; color: #22304d; font-weight: 1000; font-size: 13px; }
.fancy-field small { color: var(--muted); font-weight: 800; }
input, select, textarea {
  width: 100%; border: 1px solid #cfd9eb; border-radius: 17px;
  padding: 14px 15px; background: white; color: var(--ink); outline: none; font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
input:focus, select:focus, textarea:focus { border-color: #2563eb; box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.scoreboard-inputs {
  display: grid; grid-template-columns: 1fr 50px 1fr; gap: 10px; align-items: stretch;
  padding: 12px; border-radius: 24px; background: linear-gradient(135deg, #07122d, #0b2d79); color: white;
  border: 1px solid rgba(96,165,250,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.score-stepper { display: grid; gap: 9px; min-width: 0; }
.score-stepper strong { color: #86efac; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.score-stepper.gold strong { color: #fde68a; }
.stepper-row { display: grid; grid-template-columns: 48px 1fr 48px; gap: 8px; align-items: center; }
.stepper-row button {
  height: 48px; border: 0; border-radius: 50%; cursor: pointer; color: white; font-size: 28px; font-weight: 1000;
  background: linear-gradient(135deg, #0a1b48, #123f9c); border: 1px solid rgba(255,255,255,.14);
}
.score-stepper.gold .stepper-row button:last-child { background: linear-gradient(135deg, #8b5e00, #f59e0b); }
.score-stepper .stepper-row button:last-child { background: linear-gradient(135deg, #047857, #22c55e); }
.stepper-row input { text-align: center; font-size: 34px; font-weight: 1000; color: white; background: transparent; border: 0; box-shadow: none; padding: 4px; }
.ball-divider { display: grid; place-items: center; font-size: 30px; opacity: .9; }
.minute-picker { display: grid; gap: 10px; }
.minute-buttons { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.minute-buttons button {
  border: 1px solid #cfd9eb; background: #f3f7ff; color: #1d315c; min-height: 42px; border-radius: 13px;
  font-weight: 1000; cursor: pointer;
}
.minute-buttons button.is-active, .minute-buttons button:hover { background: #1d4ed8; color: white; border-color: #1d4ed8; box-shadow: 0 10px 25px rgba(37,99,235,.25); }
.mega-submit { min-height: 62px; font-size: clamp(15px, 4vw, 20px); text-transform: uppercase; letter-spacing: .02em; }
.mega-submit b { margin-left: auto; font-size: 30px; }
.trust-line { text-align: center; color: var(--muted); margin: -2px 0 0; font-size: 12px; font-weight: 900; }
.saved-profile-note { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin: 12px 0 6px; padding: 12px 14px; border-radius: 16px; background: #eff6ff; color: #1e3a8a; font-weight: 950; border: 1px solid #bfdbfe; }
.saved-profile-note[hidden] { display: none; }
.link-button { border: 0; background: transparent; color: #1d4ed8; font: inherit; font-weight: 1000; cursor: pointer; padding: 0; text-decoration: underline; }

.mini-feed { display: grid; gap: 10px; }
.feed-item, .leader-row, .country-row, .fixture-admin-row, .post-head {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  background: rgba(255,255,255,.96); color: var(--ink); border: 1px solid rgba(255,255,255,.5);
  border-radius: 18px; padding: 12px;
}
.feed-item small, .leader-row small { display: block; color: var(--muted); margin-top: 3px; font-weight: 800; }
.feed-item span, .points { padding: 8px 10px; border-radius: 999px; background: #07122d; color: white; font-weight: 1000; white-space: nowrap; }
.points.pending { background: #dce6f6; color: #52637f; }
.leader-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 14px; align-items: start; }
.panel { padding: 18px; }
.panel h2 { margin: 0; font-size: 24px; letter-spacing: -.04em; color: #07122d; }
.country-row { margin-bottom: 10px; background: linear-gradient(135deg, #f8fbff, #eef5ff); box-shadow: none; }
.rank { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #dbe7ff; font-weight: 1000; color: #1d315c; }
.rank-1 .rank { background: linear-gradient(135deg,#fff4b1,#f59e0b); color: #271400; }
.rank-2 .rank { background: linear-gradient(135deg,#f8fafc,#94a3b8); color: #0f172a; }
.rank-3 .rank { background: linear-gradient(135deg,#fed7aa,#b45309); color: #fff; }
.tiny-flag { width: 24px; height: 17px; object-fit: cover; border-radius: 4px; background: white; vertical-align: -3px; margin-right: 5px; box-shadow: 0 2px 7px rgba(2,6,23,.15); }
.flash-wrap { display: grid; gap: 8px; margin-bottom: 12px; }
.flash { padding: 12px 14px; border-radius: 16px; font-weight: 950; background: white; color: var(--ink); }
.flash.error { background: #fee2e2; color: #991b1b; }
.flash.ok { background: #dcfce7; color: #166534; }
.glass-panel { background: rgba(255,255,255,.9); padding: 20px; }
.callout-card { margin-top: 16px; }
.success-card strong { color: white; }

/* Admin/basic screens */
.grid-two, .stats-grid { display: grid; gap: 12px; }
.grid-two { grid-template-columns: 1fr 1fr; }
.stats-grid { grid-template-columns: repeat(4, 1fr); margin-bottom: 16px; }
.stat { background: var(--card); color: var(--ink); border-radius: 22px; padding: 16px; box-shadow: 0 14px 40px rgba(0,0,0,.16); }
.stat small { color: var(--muted); font-weight: 900; }
.stat strong { display: block; font-size: 36px; margin-top: 4px; }
.form-card.narrow { max-width: 440px; margin: 40px auto; }
.inline-form, .result-form, .inline-status { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-form { justify-content: space-between; padding: 10px; border-radius: 16px; background: #f8fafc; }
.result-form input { width: 52px; padding: 8px; border-radius: 10px; text-align: center; }
.result-form select, .inline-status select { width: auto; padding: 8px 10px; border-radius: 10px; }
.fixture-admin-row { align-items: flex-start; margin-bottom: 10px; }
.post-card { background: #f8fafc; border: 1px solid #d9e4f7; border-radius: 20px; padding: 14px; margin-bottom: 12px; }
.post-card pre { white-space: pre-wrap; font: inherit; line-height: 1.45; color: #0f172a; background: white; border-radius: 16px; padding: 12px; border: 1px solid #d9e4f7; }

.bottom-nav {
  position: fixed; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 30;
  width: min(94vw, 560px); height: 72px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px;
  padding: 8px; border-radius: 28px; background: rgba(4,13,38,.88); border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 18px 60px rgba(0,0,0,.48); backdrop-filter: blur(18px);
}
.bottom-nav a { display: grid; place-items: center; gap: 2px; color: #91a3ca; font-weight: 1000; font-size: 11px; text-transform: uppercase; }
.bottom-nav span { font-size: 24px; line-height: 1; }
.bottom-nav .nav-main { transform: translateY(-18px); border-radius: 24px; color: white; background: linear-gradient(135deg, #1d4ed8, #06112d); box-shadow: 0 0 35px rgba(37,99,235,.45); }
.bottom-nav .nav-main span { font-size: 34px; }

@media (max-width: 760px) {
  body { padding-bottom: 104px; }
  .desktop-nav { display: none; }
  .topbar { padding-top: 12px; }
  .shell { padding-left: 12px; padding-right: 12px; }
  .premium-hero, .leaderboard-hero, .premium-success { border-radius: 24px; padding: 24px 18px; }
  .premium-hero h1, .leaderboard-hero h1, .premium-success h1 { font-size: clamp(44px, 13vw, 62px); }
  .featured-inner { grid-template-columns: 1fr; text-align: center; padding: 44px 18px 20px; }
  .feature-team, .feature-team.right { justify-items: center; text-align: center; }
  .feature-centre { margin: 0 auto; }
  .section-head { align-items: start; }
  .league-line { display: grid; gap: 3px; }
  .teams-row { grid-template-columns: 1fr auto 1fr; gap: 8px; }
  .team { gap: 7px; }
  .team strong { font-size: 14px; }
  .big-match-card { grid-template-columns: 1fr; text-align: center; }
  .big-team, .big-team.right { justify-items: center; text-align: center; }
  .match-centre { margin: 0 auto; }
  .field-grid.two, .leader-grid, .grid-two, .stats-grid { grid-template-columns: 1fr; }
  .scoreboard-inputs { grid-template-columns: 1fr; }
  .ball-divider { min-height: 32px; }
  .minute-buttons { grid-template-columns: repeat(4, 1fr); }
  .fixture-admin-row, .post-head { display: grid; }
}

/* Cinematic game screen v2 - closer to the concept mockup */
body.page-match {
  background:
    radial-gradient(circle at 50% -8%, rgba(56,189,248,.62), transparent 18%),
    radial-gradient(circle at 8% 14%, rgba(29,78,216,.88), transparent 26%),
    radial-gradient(circle at 92% 12%, rgba(37,99,235,.72), transparent 24%),
    linear-gradient(180deg, #071533 0%, #071a4d 34%, #06112d 74%, #020617 100%);
}
.page-match .topbar,
.page-match .shell { width: min(100%, 560px); max-width: 560px; }
.page-match .topbar { padding-left: 14px; padding-right: 14px; }
.page-match .brand strong { font-size: 15px; }
.page-match .brand small { font-size: 9px; }
.page-match .brand-trophy { width: 38px; height: 38px; border-radius: 14px; }
.page-match .desktop-nav a { font-size: 11px; padding: 8px 10px; }
.page-match .shell { padding-top: 10px; }

.game-hero-shot {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  margin: 6px 0 16px;
  border-radius: 34px;
  padding: 28px 22px;
  border: 1px solid rgba(147,197,253,.42);
  background:
    radial-gradient(circle at 16% 5%, rgba(125,211,252,.72), transparent 22%),
    radial-gradient(circle at 86% 0%, rgba(96,165,250,.54), transparent 23%),
    radial-gradient(circle at 50% 110%, rgba(245,158,11,.16), transparent 32%),
    linear-gradient(155deg, rgba(3,7,18,.72), rgba(13,45,132,.78));
  box-shadow: 0 28px 80px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.14);
  isolation: isolate;
}
.game-hero-shot:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, transparent 0 30%, rgba(255,255,255,.08) 31%, transparent 45%),
    radial-gradient(ellipse at 50% 100%, rgba(1,8,30,.62), transparent 65%);
}
.game-hero-shot:after {
  content: "⚽";
  position: absolute;
  right: 18px;
  bottom: 12px;
  font-size: 88px;
  opacity: .08;
  filter: grayscale(1);
}
.game-hero-shot h1 {
  margin: 8px 0 0;
  color: white;
  font-size: clamp(39px, 10.8vw, 62px);
  line-height: .9;
  letter-spacing: -.065em;
  text-transform: uppercase;
  text-shadow: 0 18px 50px rgba(0,0,0,.38);
}
.game-hero-shot h1 em { color: var(--gold); font-style: normal; text-shadow: 0 0 32px rgba(246,198,75,.24); }
.game-hero-shot p:not(.eyebrow) { margin: 13px 0 0; max-width: 420px; color: #d8e6ff; font-weight: 850; }
.gold-text { color: var(--gold); }
.shot-stat {
  position: absolute;
  right: 16px;
  top: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 8px;
  align-items: center;
  padding: 9px 12px;
  border-radius: 18px;
  background: rgba(4,13,38,.56);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
}
.shot-stat span { grid-row: span 2; font-size: 19px; }
.shot-stat strong { line-height: 1; font-size: 17px; color: #fff; }
.shot-stat small { margin-top: 2px; color: #b9c8ee; font-size: 8px; font-weight: 1000; text-transform: uppercase; letter-spacing: .08em; }

.page-match .premium-match {
  padding: 12px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(4,14,43,.94), rgba(9,40,125,.84));
  border-color: rgba(96,165,250,.46);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 22px 60px rgba(0,0,0,.34), 0 0 44px rgba(37,99,235,.23);
}
.page-match .match-stage-top { margin-bottom: 10px; }
.page-match .tag-blue,
.page-match .live-pill {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.18);
  color: #eaf2ff;
}
.page-match .big-match-card {
  min-height: 164px;
  padding: 8px 0 4px;
}
.page-match .huge-flag-img {
  width: 86px;
  height: 58px;
  border-radius: 16px;
  box-shadow: 0 16px 30px rgba(0,0,0,.36), 0 0 0 1px rgba(255,255,255,.2);
}
.page-match .big-team h1 {
  font-size: clamp(31px, 9vw, 46px);
  text-shadow: 0 12px 34px rgba(0,0,0,.32);
}
.page-match .match-centre span {
  width: 54px;
  height: 54px;
  box-shadow: 0 0 26px rgba(56,189,248,.64), 0 0 0 6px rgba(56,189,248,.08);
}
.page-match .match-centre small { color: #dbeafe; }

.page-match .premium-form-card {
  border-radius: 30px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(230,239,255,.96));
  box-shadow: 0 28px 70px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.8);
  border-color: rgba(255,255,255,.7);
}
.prediction-heading { align-items: center; text-align: center; justify-content: center; }
.prediction-heading .mini-trophy { position: absolute; right: 20px; }
.prediction-heading h2 {
  font-size: clamp(25px, 7vw, 36px);
  text-transform: uppercase;
  letter-spacing: -.035em;
}
.prediction-heading .eyebrow { justify-content: center; color: #1d4ed8; }
.page-match .small-note { text-align: center; font-weight: 850; }

.icon-field { position: relative; }
.icon-field i {
  position: absolute;
  left: 14px;
  bottom: 13px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #eef5ff;
  color: #1d4ed8;
  font-style: normal;
  font-weight: 1000;
  pointer-events: none;
}
.icon-field input,
.icon-field select { padding-left: 52px; }
.page-match input,
.page-match select {
  min-height: 52px;
  border-radius: 18px;
  border-color: #bdd0ed;
  background: rgba(255,255,255,.92);
  font-weight: 950;
}
.page-match input::placeholder { color: #7d8cad; }

.page-match .scoreboard-inputs {
  padding: 12px;
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(4,14,43,.98), rgba(10,45,133,.98));
  border: 1px solid rgba(96,165,250,.46);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 16px 40px rgba(7,18,45,.18);
}
.page-match .score-stepper strong { text-align: center; font-size: 11px; }
.page-match .stepper-row {
  grid-template-columns: 44px 1fr 44px;
  border: 1px solid rgba(147,197,253,.22);
  background: rgba(5,16,50,.54);
  border-radius: 999px;
  padding: 7px;
}
.page-match .stepper-row button {
  height: 42px;
  width: 42px;
  display: grid;
  place-items: center;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 8px 20px rgba(0,0,0,.22);
}
.page-match .stepper-row input { font-size: 35px; line-height: 1; }
.page-match .ball-divider {
  align-self: end;
  min-height: 72px;
  display: grid;
  place-items: center;
  font-size: 28px;
  filter: drop-shadow(0 0 12px rgba(56,189,248,.4));
}
.page-match .minute-buttons button {
  min-height: 46px;
  border-radius: 15px;
  background: linear-gradient(180deg,#ffffff,#eff5ff);
  box-shadow: 0 8px 18px rgba(16,54,120,.08);
}
.page-match .minute-buttons button.is-active,
.page-match .minute-buttons button:hover {
  background: linear-gradient(135deg,#38bdf8,#1d4ed8);
  border-color: rgba(56,189,248,.78);
  box-shadow: 0 0 26px rgba(56,189,248,.34);
}
.page-match .mega-submit {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 66px;
  background: linear-gradient(135deg, #fff5b8 0%, #f6c64b 31%, #f59e0b 75%, #fb923c 100%);
  color: #111827;
  box-shadow: 0 16px 36px rgba(245,158,11,.42), inset 0 1px 0 rgba(255,255,255,.7);
}
.page-match .mega-submit:before {
  content: "";
  position: absolute;
  top: -70%; left: -30%;
  width: 45%; height: 240%;
  background: rgba(255,255,255,.38);
  transform: rotate(18deg);
  animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine { 0%, 50% { transform: translateX(-180%) rotate(18deg); } 100% { transform: translateX(520%) rotate(18deg); } }
.page-match .trust-line { color: #52637f; }
.page-match .section-head.compact { margin-top: 24px; }
.page-match .premium-feed .feed-item {
  background: rgba(255,255,255,.12);
  color: white;
  border-color: rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
}
.page-match .premium-feed .feed-item small { color: #b9c8ee; }

@media (min-width: 761px) {
  .page-match .bottom-nav { width: min(94vw, 560px); }
}
@media (max-width: 760px) {
  .page-match .shell { padding-left: 10px; padding-right: 10px; }
  .game-hero-shot { min-height: 214px; padding: 24px 18px; border-radius: 28px; }
  .shot-stat { right: 12px; top: 12px; transform: scale(.88); transform-origin: top right; }
  .game-hero-shot h1 { margin-top: 28px; }
  .prediction-heading .mini-trophy { display: none; }
  .page-match .premium-match .big-match-card { grid-template-columns: 1fr auto 1fr; text-align: left; }
  .page-match .premium-match .big-team { justify-items: start; }
  .page-match .premium-match .big-team.right { justify-items: end; text-align: right; }
  .page-match .premium-match .match-centre { max-width: 74px; }
  .page-match .premium-match .match-centre small { display: none; }
  .page-match .huge-flag-img { width: 72px; height: 50px; }
  .page-match .big-team h1 { font-size: clamp(22px, 7.4vw, 34px); }
  .page-match .scoreboard-inputs { grid-template-columns: 1fr; gap: 12px; }
  .page-match .ball-divider { min-height: 26px; align-self: center; }
}

/* Ultimate polish pass - wider desktop preview, no nav overlap, stronger screenshot feel */
@media (min-width: 761px) {
  body.page-match {
    padding-bottom: 34px;
  }

  .page-match .topbar,
  .page-match .shell {
    width: min(100%, 760px);
    max-width: 760px;
  }

  .page-match .topbar {
    padding-top: 18px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .page-match .shell {
    padding: 18px 18px 28px;
  }

  .page-match .brand-trophy {
    width: 44px;
    height: 44px;
    border-radius: 16px;
  }

  .page-match .brand strong {
    font-size: 17px;
  }

  .page-match .brand small {
    font-size: 10px;
  }

  .page-match .game-hero-shot {
    min-height: 330px;
    padding: 36px 34px;
    border-radius: 36px;
  }

  .page-match .game-hero-shot h1 {
    font-size: 70px;
    max-width: 640px;
  }

  .page-match .game-hero-shot p:not(.eyebrow) {
    font-size: 18px;
  }

  .page-match .shot-stat {
    right: 24px;
    top: 22px;
    padding: 12px 16px;
  }

  .page-match .shot-stat strong {
    font-size: 22px;
  }

  .page-match .premium-match {
    padding: 18px;
    border-radius: 34px;
  }

  .page-match .premium-match .big-match-card {
    grid-template-columns: 1fr auto 1fr;
    min-height: 200px;
    padding: 14px 0 8px;
  }

  .page-match .huge-flag-img {
    width: 116px;
    height: 78px;
    border-radius: 21px;
  }

  .page-match .big-team h1 {
    font-size: 52px;
  }

  .page-match .match-centre {
    min-width: 142px;
  }

  .page-match .match-centre span {
    width: 68px;
    height: 68px;
    font-size: 22px;
  }

  .page-match .premium-form-card {
    padding: 28px;
    border-radius: 34px;
  }

  .page-match .prediction-heading h2 {
    font-size: 44px;
  }

  .page-match .small-note {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
  }

  .page-match .predict-form {
    gap: 18px;
  }

  .page-match .fancy-field {
    font-size: 14px;
  }

  .page-match input,
  .page-match select {
    min-height: 58px;
    font-size: 15px;
  }

  .page-match .scoreboard-inputs {
    padding: 16px;
    gap: 14px;
  }

  .page-match .stepper-row {
    grid-template-columns: 52px 1fr 52px;
    padding: 9px;
  }

  .page-match .stepper-row button {
    width: 50px;
    height: 50px;
  }

  .page-match .stepper-row input {
    font-size: 42px;
  }

  .page-match .minute-buttons button {
    min-height: 50px;
    font-size: 15px;
  }

  .page-match .mega-submit {
    min-height: 72px;
    font-size: 22px;
  }

  .page-match .bottom-nav {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: min(100%, 640px);
    margin: 22px auto 28px;
  }
}

@media (max-width: 760px) {
  body.page-match {
    padding-bottom: 118px;
  }

  .page-match .bottom-nav {
    bottom: max(10px, env(safe-area-inset-bottom));
  }
}

/* World Cup event experience pass */
body.page-match {
  background:
    radial-gradient(circle at 11% 18%, rgba(56,189,248,.92), transparent 15%),
    radial-gradient(circle at 90% 16%, rgba(96,165,250,.62), transparent 18%),
    radial-gradient(circle at 79% 46%, rgba(246,198,75,.24), transparent 13%),
    linear-gradient(150deg, #06112d 0%, #0c2c88 40%, #06112d 100%);
}
body.page-match:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 41%, rgba(255,255,255,.08) 41% 49%, transparent 49% 100%),
    radial-gradient(ellipse at 50% 100%, rgba(0,0,0,.62), transparent 45%);
  z-index: -1;
}

@media (min-width: 981px) {
  body.page-match { padding-bottom: 34px; }
  .page-match .topbar,
  .page-match .shell {
    width: min(100%, 1320px);
    max-width: 1320px;
  }
  .page-match .shell { padding: 24px 30px 54px; }
  .page-match .topbar { padding-left: 30px; padding-right: 30px; }
  .page-match .bottom-nav { display: none; }
}

.worldcup-event-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: stretch;
  border-radius: 40px;
  padding: clamp(28px, 5vw, 64px);
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,.22);
  background:
    radial-gradient(circle at 17% 10%, rgba(56,189,248,.55), transparent 20%),
    radial-gradient(circle at 86% 18%, rgba(246,198,75,.18), transparent 25%),
    linear-gradient(135deg, rgba(3,10,35,.96), rgba(13,55,163,.82));
  box-shadow: 0 35px 95px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.16);
  isolation: isolate;
}
.worldcup-event-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(transparent, rgba(0,0,0,.22)),
    radial-gradient(ellipse at 50% 115%, rgba(255,255,255,.12), transparent 30%);
}
.worldcup-event-hero:after {
  content: "⚽";
  position: absolute;
  right: 35%;
  bottom: 22px;
  font-size: 128px;
  opacity: .07;
  filter: grayscale(1);
}
.hero-kicker { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.worldcup-event-hero h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(54px, 7.6vw, 112px);
  line-height: .88;
  letter-spacing: -.085em;
  text-transform: uppercase;
  text-shadow: 0 22px 55px rgba(0,0,0,.42);
}
.worldcup-event-hero h1 em {
  color: var(--gold);
  font-style: normal;
  text-shadow: 0 0 36px rgba(246,198,75,.32);
}
.worldcup-event-hero p {
  max-width: 680px;
  margin: 20px 0 0;
  color: #d7e6ff;
  font-weight: 850;
  font-size: clamp(16px, 1.5vw, 22px);
}
.hero-metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin-top: 28px;
}
.hero-metric-row span {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
}
.hero-metric-row b { font-size: clamp(23px, 3vw, 38px); line-height: 1; color: #fff; }
.hero-metric-row small { color: #bcd0f4; text-transform: uppercase; font-size: 11px; font-weight: 1000; letter-spacing: .08em; }
.hero-country-race {
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 22px;
  border-radius: 30px;
  background: rgba(3,10,35,.52);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
}
.hero-country-race h3 { margin: -4px 0 0; font-size: 28px; line-height: .98; letter-spacing: -.05em; }
.race-list { display: grid; gap: 10px; }
.race-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.12);
  color: #eef5ff;
  font-weight: 950;
}
.race-row strong {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #1c1500;
  background: linear-gradient(135deg,#fff6bf,#f59e0b);
}
.race-row b { color: var(--gold); }

.game-arena-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 520px);
  gap: 24px;
  align-items: start;
}
.arena-left { display: grid; gap: 18px; min-width: 0; }
.headline-match-card { margin-bottom: 0; }
.fan-pulse-card {
  border-radius: 30px;
  padding: 22px;
  background: rgba(4,13,38,.78);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 25px 75px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
}
.pulse-card-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 16px; }
.pulse-card-head h2 { margin: 0; font-size: clamp(23px, 2.5vw, 34px); line-height: 1; letter-spacing: -.05em; }
.pulse-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 14px; }
.pick-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pick-split div {
  display: grid;
  gap: 5px;
  padding: 16px;
  min-height: 128px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.13);
}
.pick-split span { color: #c8d8f8; font-weight: 1000; }
.pick-split strong { font-size: 46px; line-height: .95; color: #fff; }
.pick-split small { color: var(--gold); font-weight: 1000; text-transform: uppercase; letter-spacing: .08em; }
.popular-scores {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
}
.popular-scores h3 { margin: 0 0 12px; font-size: 18px; letter-spacing: -.03em; }
.score-pop-row {
  display: grid;
  grid-template-columns: 54px 1fr 34px;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  font-weight: 1000;
}
.score-pop-row div { height: 10px; border-radius: 999px; background: rgba(255,255,255,.14); overflow: hidden; }
.score-pop-row i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#38bdf8,#f6c64b); }
.score-pop-row b { color: var(--gold); text-align: right; }
.event-entry-card { position: sticky; top: 18px; }

@media (min-width: 981px) {
  .page-match .headline-match-card .big-match-card { min-height: 260px; }
  .page-match .headline-match-card .huge-flag-img { width: 138px; height: 92px; }
  .page-match .headline-match-card .big-team h1 { font-size: clamp(48px, 4.8vw, 76px); }
  .page-match .headline-match-card .match-centre { min-width: 150px; }
  .page-match .headline-match-card .match-centre span { width: 76px; height: 76px; }
  .page-match .event-entry-card .scoreboard-inputs { grid-template-columns: 1fr; }
  .page-match .event-entry-card .ball-divider { min-height: 22px; align-self: center; }
  .page-match .event-entry-card .minute-buttons { grid-template-columns: repeat(4, 1fr); }
  .page-match .event-entry-card .field-grid.two { grid-template-columns: 1fr 1fr; }
  .page-match .desktop-feed .feed-item { padding: 14px 16px; }
}

@media (max-width: 980px) {
  .worldcup-event-hero { grid-template-columns: 1fr; border-radius: 34px; }
  .hero-country-race { display: none; }
  .game-arena-grid { grid-template-columns: 1fr; }
  .event-entry-card { position: static; }
}

@media (max-width: 760px) {
  .page-match .topbar,
  .page-match .shell { width: min(100%, 560px); max-width: 560px; }
  .worldcup-event-hero {
    padding: 24px 18px;
    border-radius: 28px;
    margin-bottom: 16px;
  }
  .worldcup-event-hero h1 {
    font-size: clamp(43px, 12.8vw, 64px);
  }
  .worldcup-event-hero p { font-size: 15px; }
  .hero-metric-row { grid-template-columns: 1fr 1fr; margin-top: 18px; }
  .hero-metric-row span:last-child { grid-column: 1 / -1; }
  .hero-metric-row b { font-size: 25px; }
  .hero-metric-row small { font-size: 9px; }
  .fan-pulse-card { padding: 16px; border-radius: 24px; }
  .pulse-layout { grid-template-columns: 1fr; }
  .pick-split div { min-height: 92px; }
  .pick-split strong { font-size: 34px; }
  .page-match .premium-form-card { padding: 18px; }
  .page-match .prediction-heading h2 { font-size: clamp(28px, 8vw, 38px); }
  .desktop-feed-head, .desktop-feed { display: none; }
}

/* Mobile-first game flow pass - form comes straight after match on phones */
.mobile-first-game-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  grid-template-areas:
    "match entry"
    "pulse entry"
    "feedhead entry"
    "feed entry";
  gap: 24px;
  align-items: start;
}
.mobile-first-game-grid .headline-match-card { grid-area: match; }
.mobile-first-game-grid .event-entry-card { grid-area: entry; }
.mobile-first-game-grid .fan-pulse-card { grid-area: pulse; }
.mobile-first-game-grid .desktop-feed-head { grid-area: feedhead; }
.mobile-first-game-grid .desktop-feed { grid-area: feed; }

@media (min-width: 981px) {
  .mobile-first-game-grid { grid-template-columns: minmax(0, 1fr) minmax(440px, 520px); }
  .mobile-first-game-grid .event-entry-card { position: sticky; top: 18px; }
}

@media (max-width: 980px) {
  .mobile-first-game-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "match"
      "entry"
      "pulse"
      "feedhead"
      "feed";
    gap: 14px;
  }
}

@media (max-width: 760px) {
  html, body { width: 100%; max-width: 100%; }
  body.page-match {
    padding-bottom: 86px;
    background:
      radial-gradient(circle at 8% 5%, rgba(56,189,248,.8), transparent 15%),
      radial-gradient(circle at 94% 4%, rgba(96,165,250,.55), transparent 16%),
      linear-gradient(165deg, #06112d 0%, #0c2c88 48%, #020617 100%);
  }
  body.page-match:before {
    background:
      linear-gradient(118deg, transparent 0 43%, rgba(255,255,255,.055) 43% 52%, transparent 52% 100%),
      radial-gradient(ellipse at 50% 105%, rgba(0,0,0,.46), transparent 48%);
  }
  .stadium-bg .beam { opacity: .13; }
  .stadium-bg .pitch-line { width: 115vw; bottom: -130px; }

  .page-match .topbar {
    width: 100%;
    max-width: 100%;
    padding: 8px 12px 0;
  }
  .page-match .brand { gap: 8px; }
  .page-match .brand-trophy {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    font-size: 15px;
  }
  .page-match .brand strong { font-size: 13px; }
  .page-match .brand small { display: none; }

  .page-match .shell {
    width: 100%;
    max-width: 100%;
    padding: 10px 10px 16px;
  }

  .worldcup-event-hero {
    margin: 0 0 12px;
    padding: 17px 15px 15px;
    border-radius: 24px;
    min-height: auto;
    box-shadow: 0 18px 44px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.15);
  }
  .worldcup-event-hero:after { display: none; }
  .hero-kicker { margin-bottom: 10px; gap: 7px; }
  .hero-kicker .tag { padding: 7px 9px; font-size: 9px; }
  .hero-kicker .live-pill { padding: 7px 9px; font-size: 10px; }
  .worldcup-event-hero h1 {
    max-width: 100%;
    font-size: clamp(34px, 11.1vw, 48px);
    line-height: .89;
    letter-spacing: -.078em;
  }
  .worldcup-event-hero p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.35;
  }
  .hero-metric-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-top: 12px;
  }
  .hero-metric-row span {
    padding: 8px 7px;
    border-radius: 14px;
  }
  .hero-metric-row span:last-child { grid-column: auto; }
  .hero-metric-row b { font-size: 18px; }
  .hero-metric-row small { font-size: 7px; line-height: 1.1; }

  .mobile-first-game-grid { gap: 12px; }

  .page-match .headline-match-card {
    padding: 10px;
    border-radius: 24px;
    margin-bottom: 0;
  }
  .page-match .headline-match-card .match-stage-top {
    margin-bottom: 5px;
  }
  .page-match .headline-match-card .tag,
  .page-match .headline-match-card .live-pill {
    padding: 7px 8px;
    font-size: 9px;
  }
  .page-match .headline-match-card .big-match-card {
    grid-template-columns: 1fr 52px 1fr;
    min-height: 118px;
    gap: 6px;
    align-items: center;
  }
  .page-match .headline-match-card .huge-flag-img {
    width: 58px;
    height: 40px;
    border-radius: 12px;
  }
  .page-match .headline-match-card .big-team { gap: 5px; }
  .page-match .headline-match-card .big-team h1 {
    font-size: clamp(20px, 7vw, 29px);
    letter-spacing: -.06em;
  }
  .page-match .headline-match-card .big-team small { font-size: 9px; }
  .page-match .headline-match-card .match-centre {
    max-width: 52px;
    min-width: 52px;
  }
  .page-match .headline-match-card .match-centre span {
    width: 42px;
    height: 42px;
    font-size: 15px;
  }
  .page-match .headline-match-card .match-centre small { display: none; }

  .page-match .premium-form-card {
    padding: 14px;
    border-radius: 24px;
    box-shadow: 0 22px 50px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.8);
  }
  .prediction-heading { margin-bottom: 0; }
  .prediction-heading .eyebrow { font-size: 9px; margin-bottom: 4px; }
  .page-match .prediction-heading h2 {
    font-size: clamp(25px, 7.4vw, 34px);
    line-height: .98;
  }
  .page-match .small-note {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.3;
  }
  .page-match .predict-form {
    gap: 10px;
    margin-top: 12px;
  }
  .field-grid.two { grid-template-columns: 1fr; gap: 9px; }
  .fancy-field { gap: 4px; font-size: 11px; }
  .fancy-field small { font-size: 10px; }
  .icon-field i {
    left: 10px;
    bottom: 9px;
    width: 26px;
    height: 26px;
    border-radius: 9px;
    font-size: 12px;
  }
  .icon-field input,
  .icon-field select { padding-left: 43px; }
  .page-match input,
  .page-match select {
    min-height: 46px;
    border-radius: 15px;
    padding-top: 11px;
    padding-bottom: 11px;
    font-size: 13px;
  }

  .page-match .event-entry-card .scoreboard-inputs {
    grid-template-columns: 1fr 26px 1fr;
    gap: 7px;
    padding: 9px;
    border-radius: 22px;
  }
  .page-match .event-entry-card .score-stepper { gap: 6px; }
  .page-match .event-entry-card .score-stepper strong {
    font-size: 8px;
    letter-spacing: .06em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .page-match .event-entry-card .stepper-row {
    grid-template-columns: 32px 1fr 32px;
    padding: 5px;
    gap: 4px;
  }
  .page-match .event-entry-card .stepper-row button {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
  .page-match .event-entry-card .stepper-row input {
    min-height: 32px;
    font-size: 28px;
    padding: 0;
  }
  .page-match .event-entry-card .ball-divider {
    min-height: auto;
    align-self: end;
    padding-bottom: 10px;
    font-size: 18px;
  }
  .page-match .minute-buttons {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
  .page-match .minute-buttons button {
    min-height: 38px;
    border-radius: 12px;
    font-size: 12px;
  }
  .page-match .mega-submit {
    min-height: 56px;
    border-radius: 18px;
    font-size: 14px;
  }
  .page-match .mega-submit b { font-size: 23px; }
  .trust-line { font-size: 10px; }

  .fan-pulse-card {
    padding: 14px;
    border-radius: 24px;
  }
  .pulse-card-head { margin-bottom: 10px; }
  .pulse-card-head h2 { font-size: 22px; }
  .pick-split { grid-template-columns: 1fr 1fr; }
  .pick-split div {
    min-height: 82px;
    padding: 11px;
    border-radius: 17px;
  }
  .pick-split strong { font-size: 30px; }
  .popular-scores { padding: 12px; border-radius: 17px; }
  .score-pop-row { grid-template-columns: 45px 1fr 28px; gap: 7px; font-size: 12px; }

  .desktop-feed-head, .desktop-feed { display: none; }

  .page-match .bottom-nav {
    width: calc(100% - 18px);
    max-width: 520px;
    height: 62px;
    border-radius: 22px;
    padding: 6px;
    bottom: max(8px, env(safe-area-inset-bottom));
  }
  .bottom-nav a { font-size: 9px; }
  .bottom-nav span { font-size: 20px; }
  .bottom-nav .nav-main {
    transform: translateY(-14px);
    border-radius: 20px;
  }
  .bottom-nav .nav-main span { font-size: 29px; }
}

@media (max-width: 380px) {
  .worldcup-event-hero h1 { font-size: 33px; }
  .page-match .headline-match-card .big-match-card { grid-template-columns: 1fr 44px 1fr; }
  .page-match .headline-match-card .match-centre { min-width: 44px; max-width: 44px; }
  .page-match .headline-match-card .match-centre span { width: 36px; height: 36px; font-size: 13px; }
  .page-match .headline-match-card .big-team h1 { font-size: 20px; }
  .page-match .event-entry-card .scoreboard-inputs { grid-template-columns: 1fr; }
  .page-match .event-entry-card .ball-divider { display: none; }
}

/* Content engine */
.content-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: clamp(24px, 5vw, 42px);
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.2);
  background:
    radial-gradient(circle at 88% 18%, rgba(246,198,75,.2), transparent 28%),
    linear-gradient(135deg, rgba(6,17,45,.96), rgba(29,78,216,.72));
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.content-hero h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 66px);
  line-height: .92;
  letter-spacing: -.06em;
  max-width: 790px;
}
.muted-light { color: #c6d5f4; max-width: 760px; margin: 14px 0 0; font-weight: 750; }
.content-hero-stats {
  width: 168px;
  min-height: 168px;
  border-radius: 30px;
  display: grid;
  place-items: center;
  text-align: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}
.content-hero-stats strong { display:block; font-size: 52px; line-height: 1; color: var(--gold); letter-spacing: -.06em; }
.content-hero-stats span { display:block; color: #dce8ff; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 1000; max-width: 120px; }
.content-toolbar, .content-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}
.content-tabs {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 12px;
  border-radius: 22px;
  background: rgba(4,14,43,.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.12);
}
.content-tabs a {
  padding: 9px 12px;
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 12px;
  font-weight: 1000;
}
.content-section { scroll-margin-top: 86px; margin-top: 26px; }
.content-section-head h2 { color: white; }
.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.content-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  padding: 16px;
  border-radius: 22px;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(231,239,255,.94));
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 20px 55px rgba(0,0,0,.22);
}
.content-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}
.content-card-head strong { display: block; font-size: 17px; letter-spacing: -.03em; }
.content-card-head small { display: block; color: #627391; font-weight: 900; margin-top: 3px; }
.content-badge {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #07122d;
  color: white;
  font-weight: 1000;
}
.content-card pre {
  white-space: pre-wrap;
  margin: 0;
  min-height: 165px;
  padding: 14px;
  border-radius: 16px;
  background: #07122d;
  color: #f8fbff;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.42;
  font-weight: 850;
}
.image-note {
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: #eff6ff;
  color: #1e3a8a;
  font-weight: 900;
  font-size: 13px;
}
.content-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.content-actions form { margin: 0; }
.empty-content p { margin-bottom: 0; color: var(--muted); }

@media (max-width: 760px) {
  .content-hero { grid-template-columns: 1fr; padding: 22px; border-radius: 24px; }
  .content-hero h1 { font-size: 34px; }
  .content-hero-stats { width: 100%; min-height: 92px; display: flex; justify-content: center; gap: 14px; }
  .content-hero-stats strong { font-size: 42px; }
  .content-hero-stats span { text-align: left; }
  .content-tabs { overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; border-radius: 18px; }
  .content-tabs a { white-space: nowrap; }
  .content-grid { grid-template-columns: 1fr; }
  .content-card pre { min-height: 120px; font-size: 13px; }
}

/* Matchday Brain branded trophy edition - agency-style polish */
.brand-mark { width: 42px; height: 42px; border-radius: 14px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.28)); flex: 0 0 auto; }
.brand-wordmark strong { display:block; text-transform: uppercase; letter-spacing: .02em; color: #fff; line-height: 1; }
.brand-wordmark strong b { color: var(--gold); font-weight: 1000; }
.brand-wordmark small { color:#b8c9ee; letter-spacing:.12em; text-transform:uppercase; }
.brand-trophy { display:none; }

body.page-match { background: radial-gradient(circle at 10% 12%, rgba(56,189,248,.8), transparent 17%), radial-gradient(circle at 92% 18%, rgba(96,165,250,.55), transparent 17%), linear-gradient(180deg,#06112d 0%,#0b2b84 42%,#020617 100%); }
.page-match .shell { padding-top: 12px; }
.worldcup-event-hero { grid-template-columns: minmax(0, 1.05fr) minmax(260px,.72fr); align-items:center; min-height: 420px; padding: clamp(28px,5vw,54px); background: linear-gradient(90deg, rgba(3,10,35,.96) 0%, rgba(5,22,69,.9) 48%, rgba(13,58,158,.58) 100%), radial-gradient(circle at 82% 34%, rgba(246,198,75,.22), transparent 28%); }
.worldcup-event-hero:after { display:none; }
.hero-trophy-stage { position:relative; min-height: 340px; display:grid; place-items:center; overflow:hidden; border-radius:34px; }
.hero-trophy-stage:before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 50% 35%, rgba(56,189,248,.28), transparent 34%), linear-gradient(140deg, transparent 0 42%, rgba(255,255,255,.09) 43% 48%, transparent 49%); }
.hero-trophy-img { position:relative; z-index:2; width:min(86%,310px); height:auto; filter: drop-shadow(0 28px 38px rgba(0,0,0,.55)) drop-shadow(0 0 22px rgba(246,198,75,.24)); transform: translateY(4px); }
.trophy-glow { position:absolute; width:260px; height:70px; bottom:42px; border-radius:50%; background:rgba(246,198,75,.24); filter: blur(22px); }
.confetti { position:absolute; width:9px; height:22px; background:var(--gold); border-radius:2px; opacity:.9; transform:rotate(22deg); animation: floatConf 4.5s ease-in-out infinite; }
.c1 { top:56px; left:38px; } .c2 { top:86px; right:52px; background:#38bdf8; animation-delay:1s; } .c3 { bottom:92px; right:38px; animation-delay:2s; }
@keyframes floatConf { 0%,100%{ transform:translateY(0) rotate(20deg);} 50%{ transform:translateY(18px) rotate(62deg);} }
.worldcup-event-hero h1 { font-size: clamp(54px,7vw,94px); }
.worldcup-event-hero .tag-gold { background: linear-gradient(135deg,#fff3ad,#f6c64b); color:#111827; border:0; box-shadow:0 12px 28px rgba(246,198,75,.18); }
.live-pill { border-radius:999px; }

.page-match .headline-match-card { background: linear-gradient(180deg, rgba(5,18,58,.98), rgba(7,29,91,.92)); border:1px solid rgba(96,165,250,.5); }
.page-match .headline-match-card .big-match-card { position:relative; }
.page-match .headline-match-card .match-centre span { background: radial-gradient(circle,#38bdf8 0,#1d4ed8 48%,#08112a 100%); box-shadow:0 0 34px rgba(56,189,248,.65); }
.page-match .headline-match-card .big-team h1 { text-transform: uppercase; letter-spacing:-.035em; }
.page-match .headline-match-card .huge-flag-img { border:1px solid rgba(255,255,255,.28); box-shadow:0 18px 36px rgba(0,0,0,.42); }

.page-match .event-entry-card { background: linear-gradient(180deg, rgba(5,19,61,.98), rgba(5,25,84,.96)); color:white; border:1px solid rgba(96,165,250,.32); box-shadow:0 26px 70px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.1); }
.page-match .event-entry-card .form-title-row h2,
.page-match .event-entry-card .fancy-field,
.page-match .event-entry-card .popular-scores h3 { color:white; }
.page-match .event-entry-card .muted,
.page-match .event-entry-card .small-note,
.page-match .event-entry-card .fancy-field small { color:#b9c8ee; }
.page-match .event-entry-card input,
.page-match .event-entry-card select { background: rgba(255,255,255,.08); color:#fff; border-color:rgba(147,197,253,.26); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.page-match .event-entry-card input::placeholder { color:#8ca4d0; }
.page-match .event-entry-card select option { color:#07122d; }
.page-match .event-entry-card .icon-field i { background:rgba(255,255,255,.08); color:#93c5fd; }
.page-match .event-entry-card .scoreboard-inputs { background: rgba(1,8,30,.65); border-color:rgba(96,165,250,.28); }
.page-match .event-entry-card .score-stepper strong { color:#38bdf8; }
.page-match .event-entry-card .score-stepper.gold strong { color:var(--gold); }
.page-match .event-entry-card .minute-buttons button { background:rgba(255,255,255,.08); color:#dbeafe; border-color:rgba(147,197,253,.22); box-shadow:none; }
.page-match .event-entry-card .minute-buttons button.is-active,
.page-match .event-entry-card .minute-buttons button:hover { background:linear-gradient(135deg,#fff2aa,#f59e0b); color:#111827; border-color:#f6c64b; }
.page-match .event-entry-card .saved-profile-note { background:rgba(56,189,248,.1); color:#dbeafe; border-color:rgba(56,189,248,.3); }
.page-match .event-entry-card .link-button { color:#f6c64b; }
.page-match .trust-line { color:#b9c8ee; }
.prediction-heading .eyebrow { color:#38bdf8; }
.first-goal-by-panel { display:grid; gap:10px; }
.first-goal-by-panel > span { color:#dbeafe; font-weight:1000; text-transform:uppercase; letter-spacing:.12em; font-size:12px; }
.first-goal-options { display:grid; grid-template-columns: repeat(3,1fr); gap:10px; }
.first-goal-options label { cursor:pointer; }
.first-goal-options input { position:absolute; opacity:0; pointer-events:none; }
.first-goal-options b { min-height:46px; display:flex; align-items:center; justify-content:center; gap:8px; padding:9px 10px; border-radius:15px; border:1px solid rgba(147,197,253,.25); background:rgba(255,255,255,.07); color:#dbeafe; font-size:13px; text-align:center; }
.first-goal-options input:checked + b { border-color:#f6c64b; color:#f6c64b; background:rgba(246,198,75,.11); box-shadow:0 0 22px rgba(246,198,75,.12); }
.page-match .mega-submit { background:linear-gradient(135deg,#fff2aa 0%,#f6c64b 42%,#fb923c 100%); color:#111827; }

.page-match .fan-pulse-card { background: rgba(4,13,38,.82); }
.bottom-nav { border:1px solid rgba(255,255,255,.12); background:rgba(3,10,35,.9); }
.bottom-nav .nav-main { background:radial-gradient(circle at 50% 20%,#38bdf8,#1d4ed8 48%,#06112d 100%); }

@media (max-width:760px){
  .brand-mark{ width:45px; height:45px; border-radius:15px; }
  .page-match .brand strong{ font-size:22px; line-height:.9; letter-spacing:-.03em; }
  .page-match .brand strong span{ color:#fff; display:inline; }
  .page-match .brand strong b{ color:#f6c64b; display:inline; }
  .page-match .topbar{ padding:16px 16px 8px; }
  .worldcup-event-hero{ grid-template-columns:1fr; min-height:unset; padding:20px 16px 18px; border-radius:28px; }
  .hero-trophy-stage{ min-height:164px; margin-top:-8px; order:-1; }
  .hero-trophy-img{ width:170px; }
  .trophy-glow{ bottom:18px; width:170px; }
  .worldcup-event-hero h1{ font-size: clamp(40px,12.2vw,56px); }
  .worldcup-event-hero p{ font-size:16px; font-weight:850; }
  .hero-metric-row{ display:none; }
  .page-match .headline-match-card .big-match-card{ grid-template-columns:1fr 54px 1fr; min-height:128px; }
  .page-match .headline-match-card .big-team h1{ font-size:clamp(19px,7.4vw,30px); }
  .page-match .event-entry-card{ border-radius:24px; padding:16px; }
  .page-match .scoreboard-inputs{ grid-template-columns:1fr; }
  .first-goal-options{ grid-template-columns:1fr; }
  .first-goal-options b{ justify-content:flex-start; padding-left:14px; }
  .page-match .field-grid.two{ grid-template-columns:1fr; }
  .page-match .event-entry-card input, .page-match .event-entry-card select{ min-height:54px; }
}

@media (min-width:981px){
  .page-match .topbar,.page-match .shell{ width:min(100%,1180px); max-width:1180px; }
  .page-match .event-entry-card{ position:sticky; top:22px; }
}

/* 2026-06 mobile/desktop alignment polish: keep long country names from moving score boxes */
.big-match-card,
.page-match .big-match-card {
  align-items: center;
}
.big-team,
.big-team.right,
.page-match .big-team,
.page-match .big-team.right {
  grid-template-rows: 64px minmax(58px, auto) 18px;
  align-items: end;
  align-content: center;
}
.big-team .huge-flag-img,
.page-match .big-team .huge-flag-img,
.big-team .huge-flag,
.page-match .big-team .huge-flag {
  align-self: end;
}
.big-team h1,
.page-match .big-team h1 {
  min-height: 58px;
  display: flex;
  align-items: flex-end;
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.big-team.right h1,
.page-match .big-team.right h1 {
  justify-content: flex-end;
}
.scoreboard-inputs,
.page-match .scoreboard-inputs {
  align-items: end;
}
.score-stepper,
.page-match .score-stepper {
  grid-template-rows: minmax(30px, auto) auto;
  align-items: end;
}
.score-stepper strong,
.page-match .score-stepper strong {
  min-height: 30px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.stepper-row,
.page-match .stepper-row {
  min-height: 62px;
}
.stepper-row input,
.page-match .stepper-row input {
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
@media (max-width: 760px) {
  .big-team,
  .big-team.right,
  .page-match .big-team,
  .page-match .big-team.right {
    grid-template-rows: 60px minmax(62px, auto) 18px;
  }
  .big-team h1,
  .page-match .big-team h1 {
    min-height: 62px;
    font-size: clamp(25px, 8vw, 38px);
  }
}


/* ===== Launch mobile polish 2026-06-01 =====
   Aim: make the live mobile site feel less cramped, stop the nav covering content,
   compact the homepage opener, and make the prediction journey faster. */

@media (max-width: 760px) {
  body,
  body.page-index,
  body.page-match,
  body.page-leaderboard {
    padding-bottom: 18px !important;
  }

  .topbar {
    padding: 14px 18px 6px !important;
  }

  .brand-mark {
    width: 46px !important;
    height: 46px !important;
  }

  .brand-wordmark strong,
  .page-match .brand strong {
    font-size: clamp(22px, 6vw, 30px) !important;
    line-height: .95 !important;
    letter-spacing: -.035em !important;
  }

  .brand-wordmark small {
    display: block !important;
    font-size: 11px !important;
    letter-spacing: .14em !important;
  }

  /* Nav now lives after the content on mobile rather than covering the form while scrolling. */
  .bottom-nav,
  .page-match .bottom-nav {
    position: sticky !important;
    left: auto !important;
    bottom: max(8px, env(safe-area-inset-bottom)) !important;
    transform: none !important;
    z-index: 30;
    width: calc(100% - 22px) !important;
    max-width: 560px !important;
    height: 64px !important;
    margin: 18px auto 8px !important;
    border-radius: 24px !important;
    padding: 6px !important;
  }

  .bottom-nav a { font-size: 9px !important; }
  .bottom-nav span { font-size: 20px !important; }
  .bottom-nav .nav-main {
    transform: translateY(-14px) !important;
    border-radius: 20px !important;
  }
  .bottom-nav .nav-main span { font-size: 30px !important; }

  /* Homepage: make the first screen tighter so the user reaches fixtures quickly. */
  .page-index .premium-hero {
    padding: 22px 18px 18px !important;
    border-radius: 28px !important;
    min-height: auto !important;
  }

  .page-index .hero-topline {
    margin-bottom: 12px !important;
    gap: 8px !important;
  }

  .page-index .tag-gold,
  .page-index .live-pill {
    padding: 8px 10px !important;
    font-size: 10px !important;
  }

  .page-index .premium-hero h1 {
    font-size: clamp(40px, 12vw, 56px) !important;
    line-height: .9 !important;
    letter-spacing: -.075em !important;
  }

  .page-index .premium-hero p {
    font-size: 15px !important;
    line-height: 1.35 !important;
    margin-top: 12px !important;
  }

  .page-index .hero-actions {
    margin-top: 16px !important;
  }

  .page-index .hero-actions .btn {
    min-height: 50px !important;
    padding: 0 18px !important;
  }

  .page-index .featured-match {
    margin-top: 18px !important;
    border-radius: 24px !important;
  }

  .page-index .ribbon {
    padding: 7px 16px !important;
    font-size: 10px !important;
  }

  .page-index .featured-inner {
    grid-template-columns: 1fr 58px 1fr !important;
    gap: 8px !important;
    padding: 38px 14px 18px !important;
    align-items: center !important;
  }

  .page-index .feature-team,
  .page-index .feature-team.right {
    justify-items: center !important;
    text-align: center !important;
    gap: 8px !important;
    min-width: 0 !important;
  }

  .page-index .feature-team strong {
    min-height: 44px !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    font-size: clamp(19px, 6vw, 26px) !important;
    line-height: .98 !important;
    letter-spacing: -.04em !important;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }

  .page-index .flag-xl {
    width: 76px !important;
    height: 52px !important;
    border-radius: 14px !important;
  }

  .page-index .feature-centre {
    min-width: 58px !important;
    max-width: 58px !important;
    gap: 4px !important;
  }

  .page-index .feature-centre b {
    font-size: 20px !important;
  }

  .page-index .feature-centre span,
  .page-index .feature-centre small {
    font-size: 9px !important;
    line-height: 1.15 !important;
  }

  .page-index .section-head {
    margin: 22px 0 12px !important;
  }

  .page-index .section-head h2 {
    font-size: clamp(30px, 9vw, 42px) !important;
    line-height: .98 !important;
  }

  .page-index .fixture-card {
    padding: 17px !important;
    border-radius: 26px !important;
  }

  .page-index .teams-row {
    grid-template-columns: minmax(0, 1fr) 50px minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  .page-index .team strong {
    font-size: clamp(17px, 5vw, 23px) !important;
  }

  .page-index .flag-img {
    width: 52px !important;
    height: 36px !important;
    border-radius: 10px !important;
  }

  .page-index .versus {
    min-width: 48px !important;
    min-height: 48px !important;
  }

  /* Match page: hero is still premium, but shorter and faster to play. */
  .page-match .worldcup-event-hero {
    padding: 16px 14px 15px !important;
    border-radius: 25px !important;
    margin-bottom: 12px !important;
  }

  .page-match .hero-trophy-stage {
    min-height: 118px !important;
    margin-top: -4px !important;
    margin-bottom: 2px !important;
  }

  .page-match .hero-trophy-img {
    width: 126px !important;
  }

  .page-match .trophy-glow {
    width: 126px !important;
    bottom: 10px !important;
  }

  .page-match .hero-kicker {
    margin-bottom: 8px !important;
  }

  .page-match .hero-kicker .tag,
  .page-match .hero-kicker .live-pill {
    padding: 7px 9px !important;
    font-size: 9px !important;
  }

  .page-match .worldcup-event-hero h1 {
    font-size: clamp(34px, 10.8vw, 50px) !important;
    line-height: .88 !important;
  }

  .page-match .worldcup-event-hero p {
    font-size: 14px !important;
    line-height: 1.32 !important;
    margin-top: 10px !important;
  }

  .page-match .headline-match-card {
    border-radius: 25px !important;
    padding: 10px !important;
  }

  .page-match .headline-match-card .big-match-card {
    grid-template-columns: minmax(0,1fr) 50px minmax(0,1fr) !important;
    gap: 8px !important;
    min-height: 132px !important;
  }

  .page-match .headline-match-card .huge-flag-img {
    width: 66px !important;
    height: 46px !important;
    border-radius: 13px !important;
  }

  .page-match .headline-match-card .big-team,
  .page-match .headline-match-card .big-team.right {
    grid-template-rows: 48px minmax(52px, auto) 14px !important;
  }

  .page-match .headline-match-card .big-team h1 {
    min-height: 52px !important;
    font-size: clamp(22px, 7vw, 31px) !important;
    line-height: .95 !important;
  }

  .page-match .headline-match-card .match-centre {
    min-width: 50px !important;
    max-width: 50px !important;
  }

  .page-match .headline-match-card .match-centre span {
    width: 42px !important;
    height: 42px !important;
    font-size: 15px !important;
  }

  .page-match .event-entry-card {
    padding: 15px !important;
    border-radius: 25px !important;
  }

  .page-match .prediction-heading h2 {
    font-size: clamp(27px, 8vw, 38px) !important;
    line-height: .98 !important;
  }

  .page-match .event-entry-card .scoreboard-inputs {
    grid-template-columns: minmax(0,1fr) 20px minmax(0,1fr) !important;
    gap: 7px !important;
    padding: 9px !important;
    align-items: end !important;
  }

  .page-match .event-entry-card .score-stepper {
    grid-template-rows: minmax(26px, auto) auto !important;
  }

  .page-match .event-entry-card .score-stepper strong {
    min-height: 26px !important;
    font-size: 8px !important;
    line-height: 1.1 !important;
  }

  .page-match .event-entry-card .stepper-row {
    grid-template-columns: 32px 1fr 32px !important;
    padding: 5px !important;
    gap: 4px !important;
    min-height: 48px !important;
  }

  .page-match .event-entry-card .stepper-row button {
    width: 32px !important;
    height: 32px !important;
    font-size: 20px !important;
  }

  .page-match .event-entry-card .stepper-row input {
    min-height: 32px !important;
    font-size: 28px !important;
    padding: 0 !important;
  }

  .page-match .event-entry-card .ball-divider {
    min-height: 48px !important;
    padding: 0 !important;
    align-self: end !important;
    font-size: 18px !important;
  }

  .page-match .first-goal-options b {
    min-height: 48px !important;
  }

  .page-match .fan-pulse-card {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 380px) {
  .page-match .event-entry-card .scoreboard-inputs {
    grid-template-columns: 1fr !important;
  }
  .page-match .event-entry-card .ball-divider {
    display: none !important;
  }
}

@media (min-width: 761px) {
  .bottom-nav {
    bottom: 16px;
  }
}

/* Live fairness: entry lock status */
.entry-status{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px 14px;margin:14px 0 18px;border-radius:18px;
  border:1px solid rgba(255,255,255,.16);font-weight:900;letter-spacing:.02em;
}
.entry-status span{font-size:13px;text-transform:uppercase;letter-spacing:.12em}
.entry-status strong{font-size:13px;color:#d9e5ff;text-align:right}
.entry-status.open{background:rgba(31,190,96,.10);border-color:rgba(45,226,126,.28);color:#6df29d}
.entry-status.closed{background:rgba(255,184,59,.12);border-color:rgba(255,211,97,.32);color:#ffd466}
.closed-entry-card{padding:26px;border-radius:28px;background:rgba(10,24,64,.72);border:1px solid rgba(255,255,255,.14);text-align:center;box-shadow:0 20px 50px rgba(0,0,0,.25)}
.closed-entry-card h3{margin:10px 0 8px;font-size:28px;color:#fff}
.closed-entry-card p{color:#b9c7e7;font-weight:800;line-height:1.45;margin:0 0 18px}
@media (max-width:700px){
  .entry-status{align-items:flex-start;flex-direction:column;padding:14px 16px;margin:12px 0 16px}
  .entry-status strong{text-align:left;font-size:12px}
  .closed-entry-card{padding:22px 18px}.closed-entry-card h3{font-size:24px}
}


/* X handle consent + content engine safety note */
.field-consent{
  display:block;
  grid-column:1 / -1;
  margin-top:7px;
  font-style:normal;
  color:rgba(227,238,255,.68);
  font-size:.72rem;
  line-height:1.25;
}
.content-safety-note{
  margin:16px 0 18px;
  padding:14px 16px;
  border:1px solid rgba(61,183,255,.24);
  border-radius:18px;
  background:rgba(6,18,42,.72);
  color:rgba(232,241,255,.82);
  box-shadow:0 16px 38px rgba(0,0,0,.18);
}
.content-safety-note strong{color:#f6c85d;}

/* SEO launch pages */
.seo-intro {
  margin-top: 10px;
  color: rgba(232, 239, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.55;
}
.site-footer {
  margin: 28px auto 96px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  background: rgba(4, 13, 34, 0.58);
  color: rgba(232, 239, 255, 0.72);
  font-size: 0.86rem;
  line-height: 1.45;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}
.site-footer a {
  color: #9fd2ff;
  text-decoration: none;
  font-weight: 800;
}
.compact-page {
  padding: clamp(24px, 5vw, 52px);
}
.compact-page h1 {
  margin: 12px 0 10px;
  font-size: clamp(2rem, 6vw, 4.25rem);
}
.content-page {
  margin-top: 18px;
  padding: clamp(22px, 4vw, 38px);
}
.content-page h2 {
  color: #fff;
  margin: 20px 0 8px;
}
.content-page p {
  color: rgba(232, 239, 255, 0.82);
  line-height: 1.65;
}
@media (max-width: 720px) {
  .site-footer {
    margin-bottom: 120px;
    padding: 16px;
  }
  .seo-intro {
    font-size: 0.9rem;
  }
}
