:root {
  color-scheme: dark;
  --ink: #05080b;
  --panel: #0d1217;
  --panel-2: #151b21;
  --line: #2a343c;
  --muted: #93a0a9;
  --white: #f7faf2;
  --lime: #c7ff37;
  --cobalt: #3f6bff;
  --orange: #ff5a36;
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background:
    linear-gradient(rgba(199, 255, 55, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 255, 55, .028) 1px, transparent 1px),
    var(--ink);
  background-size: 42px 42px;
  font: 500 1rem/1.5 var(--body);
}

button, input, select { font: inherit; }

button, a, select, input { -webkit-tap-highlight-color: transparent; }

button, a { touch-action: manipulation; }

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: .5rem;
  left: .5rem;
  padding: .75rem 1rem;
  color: var(--ink);
  background: var(--lime);
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0 clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 11, .94);
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  width: max-content;
  color: var(--white);
  text-decoration: none;
  font: 800 1.04rem/1 var(--body);
  letter-spacing: .14em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 3px;
  padding: 5px;
  color: var(--ink);
  background: var(--lime);
  transform: skew(-8deg);
}

.brand-mark i { display: block; background: currentColor; }
.brand-mark i:nth-child(1) { height: 40%; }
.brand-mark i:nth-child(2) { height: 100%; }
.brand-mark i:nth-child(3) { height: 68%; }

.league-lockup {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .18em;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(199, 255, 55, .12);
}

.auth-slot { justify-self: end; }

.auth-link, .captain-pill {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .65rem 1rem;
  border: 1px solid var(--line);
  color: var(--white);
  background: var(--panel);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.auth-link:hover { border-color: var(--lime); color: var(--lime); }
.captain-pill { color: var(--lime); }

.ticker {
  min-height: 48px;
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: #090d11;
}

.ticker-label {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 0 1.3rem;
  color: var(--ink);
  background: var(--lime);
  font-size: .7rem;
  font-weight: 950;
  letter-spacing: .13em;
}

.ticker-track {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.ticker-track::-webkit-scrollbar { display: none; }

.ticker-score {
  flex: 0 0 auto;
  min-width: 265px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .6rem;
  padding: 0 1.2rem;
  border-right: 1px solid var(--line);
  color: #d5dce0;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.ticker-score strong {
  min-width: 44px;
  color: var(--white);
  font: 1.25rem/1 var(--display);
  text-align: center;
  letter-spacing: .08em;
}

.ticker-score span:last-child { text-align: right; }

.main-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 11, .96);
  backdrop-filter: blur(12px);
}

.main-nav button {
  min-height: 54px;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.main-nav button:last-child { border-right: 0; }
.main-nav button:hover { color: var(--white); background: var(--panel); }
.main-nav button[aria-pressed="true"] { color: var(--ink); background: var(--lime); }

.app-shell { min-height: 70vh; }

.loading-state, .error-state, .empty-state {
  width: min(620px, calc(100% - 2rem));
  min-height: 340px;
  display: grid;
  place-content: center;
  gap: 1rem;
  margin: 4rem auto;
  padding: 2rem;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--panel);
  text-align: center;
}

.loading-bar {
  width: 180px;
  height: 5px;
  margin: auto;
  background: linear-gradient(90deg, var(--lime) 0 42%, var(--line) 42% 100%);
  animation: loading 1.25s ease-in-out infinite alternate;
}

@keyframes loading { to { transform: scaleX(.58); } }

.error-state h1 { margin: 0; color: var(--white); font: 3rem/1 var(--display); letter-spacing: .04em; }

.button-primary, .button-secondary, .button-danger, .icon-button {
  min-height: 44px;
  border: 1px solid transparent;
  padding: .75rem 1rem;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.button-primary { color: var(--ink); background: var(--lime); }
.button-primary:hover { background: #dcff82; }
.button-secondary { border-color: var(--line); color: var(--white); background: var(--panel-2); }
.button-secondary:hover { border-color: var(--lime); color: var(--lime); }
.button-danger { border-color: #773225; color: #ffb3a3; background: #2b1310; }
.button-danger:hover { border-color: var(--orange); }
.button-primary:disabled, .button-secondary:disabled { cursor: wait; opacity: .55; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1rem;
  color: var(--lime);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.eyebrow::before { width: 24px; height: 3px; content: ""; background: currentColor; }

.section-kicker { color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.matchday-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  min-height: 590px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.matchday-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 49.85%, rgba(199, 255, 55, .11) 50%, transparent 50.15%),
    radial-gradient(circle at 50% 50%, transparent 0 108px, rgba(199, 255, 55, .1) 109px 111px, transparent 112px),
    linear-gradient(115deg, rgba(63, 107, 255, .12), transparent 42%);
  opacity: .75;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 5vw, 5.5rem);
}

.hero-copy h1 {
  max-width: 780px;
  margin: 0;
  font: clamp(4.4rem, 10vw, 9.3rem)/.79 var(--display);
  letter-spacing: .012em;
  text-transform: uppercase;
}

.hero-copy h1 span { display: block; color: var(--lime); -webkit-text-stroke: 1px var(--lime); }

.hero-deck {
  max-width: 550px;
  margin: 1.6rem 0 0;
  color: #bac4ca;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.featured-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: clamp(1rem, 4vw, 4rem);
  border-left: 1px solid var(--line);
}

.featured-match {
  width: 100%;
  border-top: 5px solid var(--lime);
  background: rgba(13, 18, 23, .97);
  box-shadow: 18px 18px 0 rgba(63, 107, 255, .14);
}

.featured-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.featured-scoreboard {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.2rem 1.5rem;
}

.score-team { min-width: 0; text-align: center; }

.crest {
  --crest-a: var(--lime);
  --crest-b: var(--ink);
  width: 64px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 0 auto .8rem;
  color: var(--crest-b);
  background: linear-gradient(135deg, var(--crest-a) 0 58%, var(--crest-b) 59% 100%);
  border: 2px solid var(--white);
  clip-path: polygon(8% 0, 92% 0, 100% 74%, 50% 100%, 0 74%);
  font: 1.2rem/1 var(--display);
  letter-spacing: .06em;
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
}

.crest.small { width: 38px; height: 43px; margin: 0; font-size: .85rem; }
.crest.large { width: 86px; height: 96px; font-size: 1.7rem; }

.score-team strong {
  display: block;
  overflow: hidden;
  font-size: .86rem;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.score-centre { min-width: 112px; text-align: center; }

.kickoff {
  display: block;
  color: var(--white);
  font: clamp(3rem, 7vw, 5.5rem)/.86 var(--display);
  letter-spacing: .04em;
}

.kickoff.is-score { color: var(--lime); animation: score-in .35s ease-out; }

@keyframes score-in { from { transform: scale(1.18); filter: blur(2px); } }

.match-state {
  display: inline-block;
  margin-top: .65rem;
  padding: .25rem .5rem;
  color: var(--ink);
  background: var(--lime);
  font-size: .62rem;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.featured-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.featured-meta div { padding: 1rem 1.2rem; }
.featured-meta div + div { border-left: 1px solid var(--line); }
.featured-meta span { display: block; color: var(--muted); font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.featured-meta strong { display: block; margin-top: .2rem; font-size: .9rem; }

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(330px, .6fr);
  border-bottom: 1px solid var(--line);
}

.content-panel { padding: clamp(2rem, 5vw, 4.5rem); }
.content-panel + .content-panel { border-left: 1px solid var(--line); }

.panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.panel-head h2, .page-intro h1 {
  margin: 0;
  font: clamp(2.5rem, 5vw, 4.8rem)/.9 var(--display);
  letter-spacing: .025em;
  text-transform: uppercase;
}

.text-button {
  min-height: 44px;
  border: 0;
  padding: .5rem 0;
  color: var(--lime);
  background: transparent;
  cursor: pointer;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.match-stack { display: grid; gap: 1px; background: var(--line); }

.compact-match {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 92px;
  padding: 1rem 1.1rem;
  background: var(--panel);
}

.compact-date { color: var(--muted); font-size: .7rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.compact-teams { min-width: 0; }
.compact-teams strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compact-teams span { color: var(--muted); font-size: .78rem; }
.compact-time { color: var(--white); font: 2.2rem/1 var(--display); letter-spacing: .04em; }

.mini-table { width: 100%; border-collapse: collapse; }
.mini-table th, .mini-table td { padding: .9rem .45rem; border-bottom: 1px solid var(--line); text-align: center; }
.mini-table th { color: var(--muted); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; }
.mini-table th:nth-child(2), .mini-table td:nth-child(2) { width: 100%; text-align: left; }
.mini-table td { font-size: .82rem; font-weight: 750; }
.mini-table td:last-child { color: var(--lime); font: 1.25rem/1 var(--display); }

.form-dots { display: flex; gap: 4px; }
.form-dot { width: 22px; height: 22px; display: grid; place-items: center; color: var(--ink); background: var(--muted); font-size: .62rem; font-weight: 950; }
.form-dot.W { background: var(--lime); }
.form-dot.D { background: #f3b61f; }
.form-dot.L { color: var(--white); background: #55302a; }

.captain-desk {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.25rem;
  margin: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid #40505b;
  border-left: 7px solid var(--cobalt);
  background: linear-gradient(100deg, rgba(63,107,255,.13), var(--panel) 52%);
}

.captain-desk h2 { margin: 0; font: 2.2rem/1 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.captain-desk p { max-width: 680px; margin: .55rem 0 0; color: var(--muted); }
.captain-actions { display: flex; align-items: end; gap: .6rem; }
.captain-actions label { display: grid; gap: .35rem; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

select, input {
  min-height: 48px;
  border: 1px solid #40505b;
  border-radius: 0;
  padding: .7rem .8rem;
  color: var(--white);
  background: #090d11;
}

.page-intro {
  position: relative;
  min-height: 250px;
  display: grid;
  align-content: end;
  padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1rem, 5vw, 5rem) 2.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(110deg, rgba(63,107,255,.15), transparent 55%);
}

.page-intro::after {
  position: absolute;
  right: -7vw;
  bottom: -135px;
  width: 370px;
  height: 370px;
  border: 2px solid rgba(199,255,55,.15);
  border-radius: 50%;
  content: "";
}

.page-intro p:last-child { max-width: 640px; margin: 1rem 0 0; color: var(--muted); }

.fixtures-wrap, .teams-wrap, .table-wrap { padding: clamp(1.4rem, 5vw, 5rem); }

.round-block { margin-bottom: 3.5rem; }
.round-label { display: flex; align-items: center; gap: 1rem; margin: 0 0 1rem; color: var(--lime); font-size: .74rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.round-label::after { flex: 1; height: 1px; content: ""; background: var(--line); }

.fixture-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }

.fixture-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--panel);
}

.fixture-card.has-change { box-shadow: inset 5px 0 0 var(--orange); }
.fixture-top { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fixture-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .7rem; min-height: 150px; padding: 1.25rem; }
.fixture-team { min-width: 0; text-align: center; }
.fixture-team strong { display: block; margin-top: .65rem; overflow: hidden; font-size: .77rem; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.fixture-number { min-width: 86px; color: var(--white); font: 3.6rem/.85 var(--display); letter-spacing: .04em; text-align: center; }
.fixture-number small { display: block; margin-top: .6rem; color: var(--muted); font: .62rem/1.2 var(--body); letter-spacing: .09em; text-transform: uppercase; }
.fixture-foot { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .8rem 1rem; border-top: 1px solid var(--line); }
.fixture-foot p { margin: 0; color: var(--muted); font-size: .72rem; }
.fixture-foot strong { display: block; color: var(--white); font-size: .76rem; }
.access-note { color: #98a6ae; font-size: .67rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }

.change-notice { margin: .8rem 1rem 0; padding: .75rem .9rem; border-left: 3px solid var(--orange); color: #ffd0c6; background: rgba(255,90,54,.08); font-size: .75rem; }

.league-table { width: 100%; border-collapse: collapse; background: var(--panel); }
.league-table caption { padding: 1rem; color: var(--muted); text-align: left; font-size: .72rem; }
.league-table th, .league-table td { height: 68px; padding: .7rem .9rem; border-bottom: 1px solid var(--line); text-align: center; }
.league-table th { height: 44px; color: var(--muted); background: #090d11; font-size: .65rem; letter-spacing: .09em; text-transform: uppercase; }
.league-table th:nth-child(2), .league-table td:nth-child(2) { text-align: left; }
.league-table td:first-child { color: var(--muted); font: 1.3rem/1 var(--display); }
.league-table tr:first-of-type td:first-child { color: var(--lime); }
.league-table .club-cell { display: flex; align-items: center; gap: .8rem; font-weight: 850; }
.league-table .pts { color: var(--lime); font: 1.65rem/1 var(--display); }
.leader-tag { margin-left: .4rem; padding: .15rem .35rem; color: var(--ink); background: var(--lime); font-size: .55rem; letter-spacing: .08em; text-transform: uppercase; }

.teams-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.team-card { position: relative; min-height: 300px; padding: 1.5rem; overflow: hidden; background: var(--panel); }
.team-card::after { position: absolute; right: -30px; bottom: -55px; color: rgba(255,255,255,.025); content: attr(data-short); font: 10rem/1 var(--display); }
.team-card .crest { margin: 0 0 2rem; }
.team-card h2 { position: relative; z-index: 1; margin: 0; font: 2.3rem/.95 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.team-card p { position: relative; z-index: 1; margin: .65rem 0; color: var(--muted); }
.team-card-meta { position: absolute; z-index: 1; right: 1.5rem; bottom: 1.25rem; left: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; padding-top: .8rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }

.dialog-backdrop {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(8px);
}

.dialog {
  width: min(680px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border: 1px solid #53616b;
  border-top: 6px solid var(--lime);
  background: var(--panel);
  box-shadow: 20px 20px 0 rgba(63,107,255,.16);
}

.dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.4rem; border-bottom: 1px solid var(--line); }
.dialog-head h2 { margin: 0; font: 2.3rem/.95 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.dialog-head p { margin: .5rem 0 0; color: var(--muted); font-size: .78rem; }
.icon-button { width: 44px; padding: 0; border-color: var(--line); color: var(--white); background: transparent; font-size: 1.3rem; }
.dialog-body { display: grid; gap: 1px; background: var(--line); }
.form-section { padding: 1.4rem; background: var(--panel); }
.form-section h3 { margin: 0 0 .9rem; font-size: .75rem; letter-spacing: .13em; text-transform: uppercase; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.field { display: grid; gap: .35rem; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.field input { width: 100%; }
.choice-fieldset { margin: 0; padding: 1rem 0 0; border: 0; }
.choice-fieldset + .choice-fieldset { margin-top: 1rem; border-top: 1px solid var(--line); }
.choice-fieldset legend { padding: 0; color: var(--muted); font-size: .7rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin-top: .65rem; }
.choice-button { min-height: 52px; border: 1px solid #40505b; padding: .7rem; color: var(--muted); background: #090d11; cursor: pointer; font-size: .68rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.choice-button:hover { border-color: var(--lime); color: var(--white); }
.choice-button[aria-pressed="true"] { border-color: var(--lime); color: var(--ink); background: var(--lime); }
.form-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }

.toast {
  position: fixed;
  z-index: 80;
  right: 1rem;
  bottom: 1rem;
  max-width: min(440px, calc(100% - 2rem));
  padding: 1rem 1.2rem;
  border-left: 5px solid var(--lime);
  color: var(--white);
  background: #172027;
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  font-size: .84rem;
  font-weight: 700;
}

.toast.error { border-left-color: var(--orange); }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  color: #75828b;
  background: #030506;
  font-size: .72rem;
}
.site-footer p { margin: 0; }
.site-footer strong { color: var(--white); letter-spacing: .12em; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .league-lockup { display: none; }
  .matchday-hero { grid-template-columns: 1fr; }
  .featured-wrap { border-top: 1px solid var(--line); border-left: 0; }
  .content-grid { grid-template-columns: 1fr; }
  .content-panel + .content-panel { border-top: 1px solid var(--line); border-left: 0; }
  .fixture-grid { grid-template-columns: 1fr; }
  .teams-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .captain-desk { grid-template-columns: 1fr; }
  .captain-actions { flex-wrap: wrap; }
}

@media (max-width: 620px) {
  .site-header { min-height: 64px; padding: 0 .9rem; }
  .brand { font-size: .88rem; }
  .brand-mark { width: 29px; height: 29px; }
  .auth-link, .captain-pill { max-width: 145px; padding: .55rem .65rem; font-size: .62rem; }
  .ticker { min-height: 44px; }
  .ticker-label { padding: 0 .75rem; font-size: .58rem; }
  .ticker-score { min-width: 230px; padding: 0 .8rem; }
  .main-nav button { min-height: 50px; font-size: .66rem; letter-spacing: .06em; }
  .hero-copy { min-height: 410px; padding: 3.5rem 1rem; }
  .hero-copy h1 { font-size: clamp(4rem, 22vw, 6.5rem); }
  .featured-wrap { padding: 1rem; }
  .featured-match { box-shadow: 8px 8px 0 rgba(63,107,255,.16); }
  .featured-scoreboard { gap: .35rem; padding: 1.6rem .7rem 1.2rem; }
  .score-centre { min-width: 84px; }
  .score-team strong { font-size: .65rem; }
  .crest { width: 53px; height: 60px; }
  .featured-meta { grid-template-columns: 1fr; }
  .featured-meta div + div { border-top: 1px solid var(--line); border-left: 0; }
  .content-panel { padding: 2.2rem 1rem; }
  .compact-match { grid-template-columns: 66px minmax(0, 1fr) auto; padding: .8rem; }
  .compact-time { font-size: 1.7rem; }
  .captain-desk { margin: 1rem; padding: 1.2rem; }
  .captain-actions { display: grid; }
  .captain-actions label, .captain-actions select, .captain-actions button { width: 100%; }
  .page-intro { min-height: 220px; padding: 3rem 1rem 2rem; }
  .fixtures-wrap, .teams-wrap, .table-wrap { padding: 1rem; }
  .fixture-score { min-height: 135px; padding: 1rem .7rem; }
  .fixture-number { min-width: 68px; font-size: 3rem; }
  .fixture-foot { align-items: start; flex-direction: column; }
  .fixture-foot .button-secondary { width: 100%; }
  .table-wrap { overflow-x: auto; }
  .league-table { min-width: 620px; }
  .teams-grid { grid-template-columns: 1fr; }
  .team-card { min-height: 270px; }
  .field-grid { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
  .form-actions > * { width: 100%; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
