/* Great Wakering Colts YFC Panthers — shared styles */

:root {
  --pitch-green: #2E9E5B;
  --stripe-green: #34AC63;
  --white: #FFFFFF;
  --ink: #0B2E1D;
  --gold: #E8B93B;
  --shadow: #1F7A45;
  --muted: #4A5A52;
  --danger: #b3261e;

  /* Neutrals. Previously nine near-identical greys invented per component. */
  --line: #DFE8E2;
  --tint: #F4F8F5;
  --tint-2: #EEF3EF;

  /* Radius scale: surfaces, controls, pills, accent edges. */
  --r-surface: 10px;
  --r-control: 8px;
}

/* --pitch-green is a fill and edge colour. It fails AA behind small text,
   so text on green (or green text) uses --shadow instead. */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--white);
}

h1, h2, h3, .display {
  font-family: 'Archivo Black', Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

/* One rule, applied consistently: anything that is match DATA — a date, a
   kickoff time, a score, a shirt number — is set in the utility face with
   tabular figures, so fixture lists align into a column like a results
   board. Prose stays in Inter, headings in Archivo Black. */
.data-type {
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

body.auth-checking > *:not(#auth-loading) { display: none; }
#auth-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  color: var(--shadow);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 14px;
  text-align: center;
  padding: 24px;
}
body:not(.auth-checking) #auth-loading { display: none; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }

.skip-link {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--white);
  padding: 12px 16px; z-index: 10; border-radius: 0 0 6px 0;
  font-weight: 700; font-size: 14px;
}
.skip-link:focus { left: 0; top: 0; }

/* ── Header ───────────────────────────────────────────────── */

/* Vertical club stripes, like the shirt. Sized in percentages, not pixels,
   so the band count is fixed rather than depending on screen width: 8 on a
   phone, 16 from tablet up (see the min-width rule below), where the same
   count would leave each stripe uncomfortably wide.
   The crest block sits on its own tinted panel so the white club name
   can't disappear into a white stripe. */
header {
  position: relative;
  background: repeating-linear-gradient(
    to right,
    var(--pitch-green) 0,
    var(--pitch-green) 12.5%,
    var(--white) 12.5%,
    var(--white) 25%
  );
  padding: 20px 24px 56px;
  overflow: hidden;
}

/* 16 bands on anything wider than a phone. */
@media (min-width: 601px) {
  header {
    background: repeating-linear-gradient(
      to right,
      var(--pitch-green) 0,
      var(--pitch-green) 6.25%,
      var(--white) 6.25%,
      var(--white) 12.5%
    );
  }
}

.top-row {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  /* Dark enough to carry white text over a white stripe as well as a green
     one — 0.5 composited to mid-grey over white and failed AA. */
  background: rgba(11, 46, 29, 0.72);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.back-link:hover { background: rgba(11, 46, 29, 0.88); }
.back-link .arrow { font-size: 17px; line-height: 1; }

.nav-bar {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px;
  /* Dark enough to carry white text over a white stripe as well as a green
     one — 0.5 composited to mid-grey over white and failed AA. */
  background: rgba(11, 46, 29, 0.72);
  border-radius: 999px;
  padding: 4px 10px;
  width: fit-content;
  margin-left: auto;
}

.nav-bar a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 10px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}
.nav-bar a:hover { border-color: var(--gold); }
.nav-bar a[aria-current="page"] { border-color: var(--gold); }

/* News is an envelope rather than a word — it's the one nav item people
   look for by shape. The label stays for screen readers. */
.nav-bar a.nav-icon { padding: 12px 10px; position: relative; }

/* A dot when there are notices newer than this browser's last visit. The
   ring matches the nav pill so it reads as sitting on the envelope. */
.nav-bar a.nav-icon.has-unread::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 2px #26402f;
}
.nav-bar a.nav-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

.badge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 28px auto 0;
  position: relative;
  z-index: 2;
  background: rgba(11, 46, 29, 0.82);
  border-radius: 18px;
  padding: 22px 20px;
  width: fit-content;
  max-width: 100%;
}

.badge {
  width: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35));
  flex-shrink: 0;
}
.badge img { width: 100%; height: auto; display: block; }

.club-name {
  color: var(--white);
  text-align: center;
  line-height: 1.15;
  font-size: clamp(24px, 5vw, 44px);
}

.club-tag {
  color: var(--gold);
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
}

.club-est {
  display: table;
  margin: 0 auto;
  background: var(--shadow);
  color: var(--white);
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Compact header for inner pages — the full hero only belongs on Home. */
header.compact { padding: 16px 24px 28px; }
header.compact .badge-wrap {
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 12px 18px;
}
header.compact .badge { width: 52px; }
header.compact .page-title {
  color: var(--white);
  font-size: clamp(20px, 4.5vw, 30px);
  line-height: 1.1;
}

/* ── Next match card ──────────────────────────────────────── */

.next-match {
  background: var(--shadow);
  color: var(--white);
  padding: 18px 24px;
  text-align: center;
  border-top: 4px solid var(--gold);
}
.next-match .nm-eyebrow {
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.16em;
  font-size: 12px;
  text-transform: uppercase;
  opacity: 0.95;
}
.next-match .nm-main {
  font-size: clamp(18px, 4.5vw, 22px);
  font-weight: 800;
  margin-top: 6px;
  line-height: 1.25;
}
.next-match .nm-meta { font-size: 15px; font-weight: 600; margin-top: 6px; }
.next-match .nm-venue { font-size: 15px; margin-top: 8px; }
/* The 8am-Sunday tap target. Given a real edge rather than left as a text
   link, because on a phone this is the most important control on the site. */
.next-match .nm-venue a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
}
.next-match .nm-venue a:hover { background: rgba(255, 255, 255, 0.12); }
.next-match.is-today { background: var(--ink); }
.next-match.is-today .nm-eyebrow { color: var(--gold); }

/* ── Layout ───────────────────────────────────────────────── */

main { max-width: 1000px; margin: 0 auto; padding: 64px 24px 80px; }
section { margin-bottom: 64px; }

.section-title {
  font-size: clamp(26px, 4vw, 32px);
  letter-spacing: 0.03em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title::after {
  content: "";
  flex: 1;
  height: 4px;
  background: repeating-linear-gradient(
    to right, var(--pitch-green) 0 10px, var(--white) 10px 14px
  );
  border-radius: 2px;
}
/* An eyebrow, not a heading — the page title lives in the header, so these
   are labels dividing one page's content. Previously 17px, the same size as
   three other "levels". */
.sub-title {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.14em;
  margin: 40px 0 16px;
}
.sub-title:first-of-type { margin-top: 0; }

.empty-note { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ── Home page section cards ──────────────────────────────── */

.home-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  list-style: none;
}

/* One orchestrated entrance rather than scattered effects: the cards settle
   in sequence on load. Anyone who has asked for less motion gets none. */
@media (prefers-reduced-motion: no-preference) {
  .home-links > li {
    opacity: 0;
    animation: rise 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  }
  .home-links > li:nth-child(1) { animation-delay: 0.02s; }
  .home-links > li:nth-child(2) { animation-delay: 0.08s; }
  .home-links > li:nth-child(3) { animation-delay: 0.14s; }
  .home-links > li:nth-child(4) { animation-delay: 0.20s; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.home-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px 24px;
  min-height: 44px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(11, 46, 29, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
/* A stripe of kit colour along the top edge, sized like the shirt's own. */
.home-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--pitch-green);
}
.home-card:hover {
  transform: translateY(-4px);
  border-color: #c9dbd0;
  box-shadow: 0 16px 32px rgba(11, 46, 29, 0.14);
}
.home-card .hc-title {
  font-family: 'Archivo Black', Impact, sans-serif;
  text-transform: uppercase;
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.home-card .hc-desc { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.home-card .hc-go { font-size: 13px; font-weight: 800; color: var(--shadow); margin-top: 12px; display: block; }

/* ── Fixtures ─────────────────────────────────────────────── */

.fixture-list { display: flex; flex-direction: column; gap: 10px; list-style: none; }

.expand-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 16px;
  padding: 12px;
  min-height: 44px;
  background: transparent;
  border: none;
  color: var(--shadow);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
}
.expand-toggle:hover { color: var(--ink); }
.expand-toggle .arrow { display: inline-block; transition: transform 0.2s ease; font-size: 11px; }
.expand-toggle.expanded .arrow { transform: rotate(180deg); }

.hidden-extra { display: none !important; }

/* No accent bar by default. The left edge is reserved for meaning: a green
   edge marks a fixture still to play, nothing marks one already settled. */
.fixture {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--pitch-green);
  background: var(--white);
  border-radius: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fixture .date { font-weight: 800; color: var(--shadow); font-size: 13px; }
.fixture .teams { font-weight: 600; }
.fixture .kickoff { font-weight: 700; color: var(--muted); font-size: 13px; }
.fixture .venue { display: block; font-weight: 500; font-size: 13px; color: var(--muted); margin-top: 3px; }
.fixture .venue a { color: var(--shadow); font-weight: 600; }
/* Gold now means one thing only: awaiting attention. A played result is
   settled, so it gets the deeper green rather than the pending colour. */
.fixture.result { border-left-color: var(--line); background: var(--tint); }

.score-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--tint-2);
  border: 1px solid var(--line);
  color: var(--ink);
  white-space: nowrap;
}
.score-pill .wdl { font-size: 11px; padding: 2px 7px; border-radius: 999px; color: var(--white); }
.score-pill .wdl.w { background: var(--shadow); }
.score-pill .wdl.l { background: var(--danger); }
.score-pill .wdl.d { background: var(--muted); }

/* ── Squad ────────────────────────────────────────────────── */

.squad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 18px;
  list-style: none;
}

.player-card {
  background: linear-gradient(180deg, var(--pitch-green), var(--shadow));
  border-radius: 12px;
  padding: 3px;
  box-shadow: 0 8px 20px rgba(15, 81, 50, 0.25);
  transition: transform 0.2s ease;
}
.player-card:hover { transform: translateY(-4px); }

.player-inner {
  background: var(--white);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.player-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.player-photo svg { width: 100%; height: 100%; display: block; }

/* C / V pinned to the corner of the shirt. */
.captain-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  border: 2px solid var(--white);
  font-family: 'Archivo Black', Impact, sans-serif;
  font-size: 13px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(11, 46, 29, 0.28);
}
.captain-badge.is-vice { background: var(--shadow); color: var(--white); }

.player-name { font-weight: 800; font-size: 14px; text-transform: uppercase; }
.player-pos { font-size: 11px; color: var(--muted); letter-spacing: 0.06em; margin-top: 2px; }
.player-joined {
  font-size: 11px;
  color: var(--shadow);
  font-weight: 700;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  line-height: 1.4;
}
.player-joined span { color: var(--muted); font-weight: 600; display: block; }

.coach-heading { font-size: 20px; margin: 40px 0 16px; color: var(--shadow); letter-spacing: 0.05em; }
.coach-grid { max-width: 480px; }
.coach-card .player-photo {
  background: repeating-linear-gradient(135deg, var(--gold) 0 8px, #f3d47a 8px 16px);
}

/* ── News ─────────────────────────────────────────────────── */

.news-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.news-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 1px 2px rgba(11, 46, 29, 0.05);
}
.news-item.is-pending { border-left: 4px solid var(--gold); background: #fffdf5; }
.news-date {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
/* Notices are sentences. Heavy uppercase reads as shouting and destroys the
   word shapes people skim by, so headlines drop out of Archivo Black. */
.news-title {
  font-family: 'Inter', -apple-system, sans-serif;
  text-transform: none;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0;
  line-height: 1.3;
  color: var(--ink);
  margin: 6px 0 8px;
}
.news-body { line-height: 1.7; white-space: pre-wrap; }

/* ── Forms on public pages ────────────────────────────────── */

.entry-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  display: grid;
  gap: 14px;
  max-width: 620px;
}
.entry-form label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}
.entry-form input,
.entry-form select,
.entry-form textarea {
  width: 100%;
  padding: 11px 10px;
  border: 2px solid var(--line);
  border-radius: 6px;
  /* 16px minimum, or iOS Safari zooms the page on focus */
  font-size: 16px;
  min-height: 44px;
  font-family: inherit;
}
.entry-form textarea { resize: vertical; line-height: 1.6; }
.entry-form input:focus,
.entry-form select:focus,
.entry-form textarea:focus { outline: none; border-color: var(--pitch-green); }

.btn {
  padding: 12px 18px;
  min-height: 44px;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  font-family: inherit;
}
.btn:disabled { opacity: 0.6; cursor: default; }
/* White on --pitch-green is 3.4:1 — fine for large text, fails at 13px. */
.btn-primary { background: var(--shadow); color: var(--white); }
.btn-primary:hover { background: var(--ink); }
.btn-cancel { background: #e6ece8; color: var(--muted); }
.btn-cancel:hover { background: #d7e0da; color: var(--ink); }
.btn-edit {
  background: transparent;
  color: var(--muted);
  border: 2px solid #cdd8d1;
  padding: 8px 12px;
  font-size: 12px;
  min-height: 40px;
}
.btn-edit:hover { background: var(--tint-2); color: var(--ink); }
.btn-danger {
  background: transparent;
  color: var(--danger);
  border: 2px solid var(--danger);
  padding: 8px 12px;
  font-size: 12px;
  min-height: 40px;
}
.btn-danger:hover { background: var(--danger); color: var(--white); }

/* Edit and Delete pushed apart so a mis-tap isn't destructive. */
.news-actions {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.news-actions .btn-danger { margin-left: auto; }

.status-msg { font-size: 13px; margin-top: 8px; min-height: 18px; }
.status-msg.error { color: var(--danger); }
.status-msg.success { color: var(--shadow); }
.hint { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.5; }

/* ── About ────────────────────────────────────────────────── */

.prose { max-width: 680px; }
.prose p { line-height: 1.75; margin-bottom: 16px; }
.prose h3 {
  font-size: 20px;
  color: var(--shadow);
  letter-spacing: 0.05em;
  margin: 32px 0 12px;
}
.prose ul { margin: 0 0 16px 20px; }
.prose li { line-height: 1.7; margin-bottom: 6px; }
.prose a { color: var(--shadow); font-weight: 600; }

.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  list-style: none;
  margin-bottom: 28px;
}
.fact {
  background: #f4f8f5;
  border-radius: 10px;
  padding: 16px;
  border-left: 5px solid var(--pitch-green);
}
.fact .fact-value {
  font-family: 'Archivo Black', Impact, sans-serif;
  font-size: 22px;
  color: var(--shadow);
  line-height: 1.1;
}
.fact .fact-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
  font-weight: 700;
}

/* ── Share button ─────────────────────────────────────────── */

.share-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: var(--shadow);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(11, 46, 29, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}
.share-btn:hover { background: var(--ink); transform: translateY(-2px); }
.share-btn svg {
  width: 26px;
  height: 26px;
  fill: var(--white);
  stroke: var(--white);
  stroke-width: 2.1;
  stroke-linecap: round;
}

.share-toast {
  position: fixed;
  right: 20px;
  bottom: 86px;
  z-index: 20;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(11, 46, 29, 0.3);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.share-toast.is-visible { opacity: 1; transform: translateY(0); }

/* ── Footer ───────────────────────────────────────────────── */

footer {
  background: var(--shadow);
  color: var(--white);
  text-align: center;
  padding: 24px;
  font-size: 14px;
}
footer a { color: var(--white); }

/* ── Mobile ───────────────────────────────────────────────── */

@media (max-width: 600px) {
  header { padding: 14px 16px 32px; }
  header.compact { padding: 12px 16px 22px; }

  main { padding: 40px 16px 56px; }
  .badge { width: 84px; }
  .badge-wrap { margin-top: 18px; padding: 16px 14px; gap: 8px; }
  header.compact .badge { width: 44px; }
  section { margin-bottom: 48px; }
  .section-title { font-size: 24px; }
  .squad-grid { grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 12px; }
  .player-inner { padding: 10px; }
  /* Keep three columns — dropping the score under the teams buried the one
     thing people scan for. Shrink the date instead. */
  .fixture { grid-template-columns: 58px 1fr auto; gap: 10px; padding: 14px; }
  .fixture .date { font-size: 12px; line-height: 1.2; }

  /* Six uppercase links in a wrapping pill turned into three ragged rows.
     One row that scrolls sideways instead. */
  .top-row { flex-direction: column; align-items: stretch; gap: 8px; }
  .nav-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    margin-left: 0;
    width: 100%;
    border-radius: 12px;
    gap: 0;
    scrollbar-width: none;
  }
  .nav-bar::-webkit-scrollbar { display: none; }
  .nav-bar a { flex: 0 0 auto; font-size: 13px; padding: 12px; letter-spacing: 0.04em; }
  .back-link { align-self: flex-start; font-size: 12px; padding: 8px 12px 8px 8px; }
}

/* ── Match data ───────────────────────────────────────────── */
/* The utility face, applied to every element that carries match data.
   Tabular figures mean a column of dates or scores lines up exactly. */

.fixture .date,
.fixture .kickoff,
.score-pill,
.news-date,
.club-est,
.next-match .nm-meta,
.fact .fact-value {
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.fixture .date { font-weight: 600; letter-spacing: 0.01em; }
.club-est { font-weight: 600; letter-spacing: 0.1em; }
.fact .fact-value { font-weight: 600; letter-spacing: -0.02em; }
.score-pill { font-weight: 600; }
