@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/Inter-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/LibreCaslonText-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/SourceSerif4-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/SourceSerif4-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Onside Journal — newsprint white, pitch green. */

:root {
  --paper: #ffffff;
  --paper-2: #f6f5f1;
  --ink: #111111;
  --ink-2: #333333;
  --ink-3: #666666;
  --rule: #d6d6d6;
  --rule-2: #e8e8e8;

  --pitch: #138a4a;        /* grass: fills (ticker, buttons, pills); white text 4.4:1 */
  --pitch-2: #0f7f43;      /* hover / pressed */
  --pitch-3: #17964f;      /* lighter mow stripe */
  --pitch-ink: #0f7f43;    /* green as text on white, 5:1 */
  --turf: #00a35c;         /* live, wins, the bright FotMob-ish signal */
  --chalk: #ffffff;
  --mint: #e6f4ec;         /* pale green wash for highlights */
  --card: #c8102e;         /* red cards only */

  --serif-display: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1280px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18.5px;
  line-height: 1.5;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
button { font: inherit; color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sans { font-family: var(--sans); }
.tnum { font-variant-numeric: tabular-nums; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ───────── Score ticker (the pitch strip) ───────── */

/* Score ticker on a pitch: two close mowing shades (white text >= 5.4:1),
   faint halfway line and centre circle, a touchline above the bottom edge.
   The pitch stays still; the scores slide across it. */
.ticker {
  --grass-a: #12753e; --grass-b: #157a41;
  background:
    linear-gradient(to top, transparent 4px, rgba(255,255,255,.85) 4px, rgba(255,255,255,.85) 6px, transparent 6px),
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(255,255,255,.28) calc(50% - 1px), rgba(255,255,255,.28) calc(50% + 1px), transparent calc(50% + 1px)),
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22120%22%20height%3D%22120%22%20viewBox%3D%220%200%20120%20120%22%3E%3Ccircle%20cx%3D%2260%22%20cy%3D%2260%22%20r%3D%2246%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.28%22%20stroke-width%3D%222%22/%3E%3Ccircle%20cx%3D%2260%22%20cy%3D%2260%22%20r%3D%223%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.45%22/%3E%3C/svg%3E") center / 120px 120px no-repeat,
    repeating-linear-gradient(90deg, var(--grass-a) 0 120px, var(--grass-b) 120px 240px);
  color: #fff; font-family: var(--sans); padding-bottom: 6px;
}
.ticker-viewport { overflow: hidden; }
.ticker-track {
  display: flex; width: max-content; align-items: center; height: 46px;
  animation: tk-scroll var(--tk-dur, 160s) linear infinite;
}
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
@keyframes tk-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tk-run { display: flex; align-items: center; }
.tk-item {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px;
  font-size: 14.5px; font-weight: 600; white-space: nowrap; border-right: 1px solid rgba(255,255,255,.16);
}
.tk-item:hover { background: rgba(0,0,0,.14); text-decoration: none; }
.tk-item img { width: 18px; height: 18px; object-fit: contain; }
.tk-score { font-weight: 700; font-variant-numeric: tabular-nums; padding: 2px 8px; background: rgba(0,0,0,.28); border-radius: 4px; }
.tk-score.vs { background: transparent; font-weight: 500; color: #e3f5ea; padding: 0 2px; }
.tk-live { font-size: 11.5px; font-weight: 800; color: #0b6b35; background: #fff; border-radius: 3px; padding: 2px 6px; }
.tk-ft, .tk-when { font-size: 12.5px; font-weight: 500; color: #e3f5ea; }
.tk-group {
  display: inline-flex; align-items: center; height: 46px; padding: 0 12px 0 20px;
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff;
  border-right: 1px solid rgba(255,255,255,.16);
}
.tk-empty { padding: 0 16px; font-size: 14px; color: #e3f5ea; line-height: 46px; }
@media (prefers-reduced-motion: reduce) {
  .ticker-viewport { overflow-x: auto; }
  .ticker-track { animation: none; }
  .tk-run[aria-hidden] { display: none; }
}

.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--turf); display: inline-block;
  box-shadow: 0 0 0 0 rgba(0,163,92,.6);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,163,92,.55); }
  100% { box-shadow: 0 0 0 7px rgba(0,163,92,0); }
}
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* ───────── Masthead ───────── */

.masthead { text-align: center; padding: clamp(26px, 2.5vw, 36px) 0 0; }
.masthead .flag {
  display: inline-block;
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: clamp(26px, 7.6vw, 68px);
  line-height: 1;
  white-space: nowrap;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.masthead .flag:hover { text-decoration: none; }
.masthead .flag .ball {
  display: inline-block; width: .5em; height: .5em; margin: 0 .04em;
  vertical-align: .08em;
}
.dateline {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-top: clamp(20px, 2.1vw, 30px); padding: 7px 0;
  border-bottom: 1px solid var(--ink);
  font-family: var(--sans); font-size: 13px; color: var(--ink-2);
}


.sections {
  display: flex; justify-content: center; gap: 4px 26px; flex-wrap: wrap;
  padding: 10px 0; border-bottom: 3px double var(--ink);
  font-family: var(--sans); font-size: 14.5px; font-weight: 500;
}
.sections a { padding: 2px 0; border-bottom: 2px solid transparent; }
.sections a:hover { text-decoration: none; border-bottom-color: var(--rule); }
.sections a[aria-current="page"] { border-bottom-color: var(--pitch); color: var(--pitch-ink); font-weight: 600; }

/* ───────── Shared type ───────── */

.kicker {
  font-family: var(--sans); font-size: 12.5px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; color: var(--pitch-ink);
}
.hed {
  font-family: var(--serif); font-weight: 700; line-height: 1.1;
  letter-spacing: -0.01em; margin: 6px 0 8px;
  font-variation-settings: "opsz" 60;
}
.hed-xl { font-size: clamp(32px, 4.2vw, 50px); }
.hed-l { font-size: clamp(24px, 2.8vw, 31px); }
.hed-m { font-size: 21px; }
.dek { color: var(--ink-2); font-size: 20px; line-height: 1.45; margin: 0 0 10px; }
.byline {
  font-family: var(--sans); font-size: 13px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: .05em;
}
.byline b { color: var(--ink); font-weight: 600; }

.rail-hed {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 3px solid var(--ink); padding-top: 6px; margin: 0 0 10px;
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.rail-hed a { font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--pitch-ink); }

/* ───────── Front page grid ───────── */

.front {
  display: grid; gap: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.15fr) minmax(0, 1.15fr);
  padding: 22px 0 8px;
}
.front > .col { padding: 0 20px; }
.front > .col:first-child { padding-left: 0; }
.front > .col:last-child { padding-right: 0; }
.front > .col + .col { border-left: 1px solid var(--rule); }

.whats-news ul { list-style: none; margin: 0; padding: 0; }
.whats-news li { border-bottom: 1px solid var(--rule-2); }
/* The hover wash bleeds 10px past the text on both sides, so it never
   ends flush against the scores; the text itself stays on the column edge. */
.whats-news li a {
  display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; align-items: center;
  margin: 0 -10px; padding: 10px; border-radius: 6px;
  font-family: var(--sans); font-size: 15.5px;
}
.whats-news li a:hover { text-decoration: none; background: var(--mint); }
.whats-news .wt { display: flex; align-items: center; gap: 8px; font-weight: 600; min-width: 0; }
.whats-news .wt span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whats-news .wt img { width: 18px; height: 18px; object-fit: contain; flex: none; }
.whats-news .ws { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.whats-news .lose { color: var(--ink-3); font-weight: 500; }
.whats-news .wm { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.whats-news .wlive { color: var(--turf); font-weight: 700; }

.lead-art { margin: 0 0 12px; }
.lead-art svg { width: 100%; height: auto; display: block; }
.caption {
  font-family: var(--sans); font-size: 12.5px; color: var(--ink-3);
  margin-top: 6px; line-height: 1.4;
}

.story-list { margin-top: 18px; border-top: 1px solid var(--rule); }
.story-list article { padding: 14px 0; border-bottom: 1px solid var(--rule-2); }
.story-list p { margin: 0; color: var(--ink-2); font-size: 17px; }

/* ───────── League table ───────── */

/* Pills wrap onto a second line rather than scrolling: hidden horizontal
   scroll can't be reached with a mouse wheel and cut leagues in half. */
.league-tabs {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 0 0 12px;
}
.league-tabs::-webkit-scrollbar { display: none; }
.league-tabs button {
  flex: none; cursor: pointer;
  border: 1px solid var(--rule); background: var(--paper);
  border-radius: 999px; padding: 4px 11px;
  font-family: var(--sans); font-size: 13px; font-weight: 500;
}
.league-tabs button:hover { border-color: var(--ink-3); }
.league-tabs button[aria-pressed="true"] {
  background: var(--pitch); border-color: var(--pitch); color: var(--chalk);
}

table.standings {
  width: 100%; border-collapse: collapse;
  font-family: var(--sans); font-size: 14.5px; font-variant-numeric: tabular-nums;
}
.standings th {
  font-size: 11.5px; font-weight: 600; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: .05em;
  text-align: right; padding: 4px 4px 6px; border-bottom: 1px solid var(--ink);
}
.standings th.team, .standings td.team { text-align: left; }
.standings td { text-align: right; padding: 6px 4px; border-bottom: 1px solid var(--rule-2); }
.standings td.rank { width: 26px; text-align: center; color: var(--ink-3); position: relative; }
.standings td.rank::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px;
  background: var(--zone, transparent); border-radius: 2px;
}
.standings td.team { font-weight: 500; white-space: nowrap; }
.standings td.team .tcell { display: flex; align-items: center; gap: 8px; min-width: 0; }
.standings td.team img { width: 18px; height: 18px; object-fit: contain; flex: none; }
.standings td.team .tcell > span { overflow: hidden; text-overflow: ellipsis; }
.standings td.pts { font-weight: 700; }
.standings tr:hover td { background: var(--mint); }
.standings .gd-pos { color: var(--pitch-ink); }
.standings-full td { padding: 8px 6px; font-size: 15.5px; }
.standings-full th { padding: 6px 6px 8px; }
.group-name {
  font-family: var(--sans); font-size: 13px; font-weight: 700; margin: 18px 0 6px;
  text-transform: uppercase; letter-spacing: .06em;
}
.zones { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-family: var(--sans); font-size: 13px; color: var(--ink-3); }
.zones span { display: inline-flex; align-items: center; gap: 6px; }
.zones i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }

/* ───────── Match cards ───────── */

.section-band {
  flex-wrap: wrap;
  margin-top: 26px; padding: 9px 0 8px;
  border-top: 3px solid var(--ink); border-bottom: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
}
.section-band h2 {
  margin: 0; font-family: var(--serif); font-weight: 700; font-size: 26.5px;
  font-variation-settings: "opsz" 60;
}
.section-band .sub { font-family: var(--sans); font-size: 13px; color: var(--ink-3); }

.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 18px 22px; padding: 16px 0; }
.league-card { border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; background: var(--paper); }
.league-card > header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 14px; background: var(--paper-2); border-bottom: 1px solid var(--rule);
  font-family: var(--sans); font-size: 14.5px; font-weight: 700;
}
.league-card > header a { font-weight: 500; font-size: 13px; color: var(--pitch-ink); }

.match { border-bottom: 1px solid var(--rule-2); font-family: var(--sans); }
.match:last-child { border-bottom: 0; }
a.match {
  cursor: pointer;
  display: grid; grid-template-columns: 1fr 84px 1fr; align-items: center; gap: 8px;
  padding: 11px 14px; font-size: 15.5px;
}
a.match:hover { background: var(--mint); text-decoration: none; }
.match .side { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 500; }
.match .side.home { justify-content: flex-end; text-align: right; }
.match .side img { width: 22px; height: 22px; object-fit: contain; flex: none; }
.match .side span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match .side.lose { color: var(--ink-3); }
.match .mid { text-align: center; font-variant-numeric: tabular-nums; }
.match .score { font-weight: 700; font-size: 17.5px; letter-spacing: .02em; }
.match .time { font-weight: 600; font-size: 15.5px; white-space: nowrap; }
.match .state { display: block; font-size: 11.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; margin-top: 1px; }
.match.is-live .score { color: var(--turf); }
.match.is-live .state { color: var(--turf); font-weight: 700; }
.empty { padding: 18px 14px; color: var(--ink-3); font-family: var(--sans); font-size: 14.5px; }

/* ───────── Matches page controls ───────── */

.daystrip {
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 14px 0 4px;
}
.daystrip::-webkit-scrollbar { display: none; }
.daystrip button {
  flex: none; cursor: pointer; min-width: 64px; padding: 7px 10px;
  border: 1px solid var(--rule); border-radius: 8px; background: var(--paper);
  font-family: var(--sans); text-align: center; line-height: 1.2;
}
.daystrip button .dw { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.daystrip button .dn { display: block; font-size: 16.5px; font-weight: 700; }
.daystrip button:hover { border-color: var(--ink-3); }
.daystrip button[aria-pressed="true"] { background: var(--pitch); border-color: var(--pitch); color: var(--chalk); }
.daystrip button[aria-pressed="true"] .dw { color: rgba(255,255,255,.8); }

/* ───────── Article ───────── */

.article { max-width: 680px; margin: 0 auto; padding: 30px 0 10px; }
.article .hed-xl { font-size: clamp(34px, 5.2vw, 52px); }
.article .dek { font-size: 22px; }
.article .byline { margin: 14px 0 22px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.article .body p { margin: 0 0 1.05em; line-height: 1.62; }
.article .body > p:first-of-type::first-letter {
  float: left; font-family: var(--serif-display); font-weight: 700;
  font-size: 3.6em; line-height: .82; padding: 6px 8px 0 0; color: var(--pitch-ink);
}
.article .body h2 {
  font-family: var(--sans); font-size: 14.5px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; margin: 30px 0 10px; padding-top: 10px; border-top: 1px solid var(--ink);
}
.article figure { margin: 22px 0 26px; }
.article .pull {
  margin: 26px 0; padding: 14px 0; border-top: 3px solid var(--pitch); border-bottom: 1px solid var(--rule);
  font-family: var(--serif); font-size: 26.5px; line-height: 1.3; font-weight: 600;
  font-variation-settings: "opsz" 48;
}
.article ol, .article ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.article li { margin: 0 0 .5em; font-size: 20px; line-height: 1.55; }
.article .note {
  background: var(--mint); border-left: 3px solid var(--pitch);
  padding: 12px 16px; margin: 22px 0; font-size: 17.5px;
}

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

.footer {
  margin-top: 40px; border-top: 3px double var(--ink);
  padding: 22px 0 36px; font-family: var(--sans); font-size: 14px; color: var(--ink-3);
}
.footer .row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: baseline; }
.footer .flag-sm { font-family: var(--serif-display); font-weight: 700; font-size: 20px; color: var(--ink); text-transform: uppercase; }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer .fine { margin-top: 12px; }

/* ───────── Responsive ───────── */

@media (max-width: 1020px) {
  .front { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .front > .col.lead { order: -1; grid-column: 1 / -1; padding: 0 0 22px; border-bottom: 1px solid var(--rule); margin-bottom: 20px; }
  .front > .col.lead + .col { border-left: 0; }
  .front > .col:first-child { padding-left: 0; border-left: 0; }
  .front > .col.whats-news { padding-left: 0; }
}
@media (max-width: 680px) {
  body { font-size: 17.5px; }
  .front { grid-template-columns: minmax(0, 1fr); }
  .front > .col { padding: 0 !important; border-left: 0 !important; }
  .front > .col + .col { border-top: 1px solid var(--rule); margin-top: 20px; padding-top: 18px !important; }
  .front > .col.lead { border-bottom: 0; margin: 0; padding: 0 !important; border-top: 0; }
  .front > .col.whats-news { border-top: 1px solid var(--rule); margin-top: 20px; padding-top: 18px !important; }
  .dateline .edition { display: none; }
  .dateline { justify-content: center; }
  .dateline .left { display: none; }
  .sections { gap: 4px 18px; font-size: 14px; }
  a.match { grid-template-columns: 1fr 72px 1fr; padding-left: 10px; padding-right: 10px; }
  .match .time { font-size: 14.5px; }
  .article { --base-read: 18.5px; }
  .standings-full .hide-sm { display: none; }
}

/* ───────── Small utilities used by the page bodies ───────── */

figure svg { width: 100%; height: auto; display: block; }
.empty-li { font-family: var(--sans); color: var(--ink-3); font-size: 14.5px; }
.section-band.first { margin-top: 6px; border-top: 0; }
#filter { margin-top: 10px; }
#tbl-tabs + #tbl.tbl-page, .tbl-page { max-width: 860px; }

/* ───────── Club desks ───────── */

.btn {
  display: inline-block; cursor: pointer; border: 0;
  background: var(--pitch); color: var(--chalk);
  font-family: var(--sans); font-size: 15.5px; font-weight: 600;
  padding: 11px 18px; border-radius: 6px;
}
.btn:hover { background: var(--pitch-2); text-decoration: none; }

.desk-index-wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; padding: 14px 0 4px; }
.desk-index-h { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; color: var(--pitch-ink); }
.desk-index { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.desk-index li { break-inside: avoid; border-bottom: 1px solid var(--rule-2); font-size: 16.5px; }
.desk-index a { display: flex; align-items: center; gap: 9px; padding: 6px 0; }
.desk-index a:hover { text-decoration: none; }
.desk-index a:hover .dn { text-decoration: underline; text-underline-offset: 2px; }
.desk-index img { width: 18px; height: 18px; object-fit: contain; opacity: .85; flex: none; }
.desk-index .dn { flex: 1; min-width: 0; }
.desk-index .dc { font-family: var(--sans); font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

.desk-intro { max-width: 680px; font-size: 20px; color: var(--ink-2); margin: 14px 0 6px; }
.desk-league {
  font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  margin: 28px 0 12px; padding-top: 8px; border-top: 1px solid var(--ink);
}
.desk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.desk-card {
  display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center;
  padding: 14px; border: 1px solid var(--rule); border-top: 4px solid var(--club, var(--ink)); border-radius: 6px;
}
.desk-card:hover { text-decoration: none; background: var(--paper-2); }
.desk-card img { grid-row: span 3; width: 40px; height: 40px; object-fit: contain; }
.desk-name { font-family: var(--serif); font-weight: 700; font-size: 18.5px; line-height: 1.2; font-variation-settings: "opsz" 40; }
.desk-club { font-family: var(--sans); font-size: 13px; color: var(--ink-3); }
.desk-status { font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--pitch-ink); text-transform: uppercase; letter-spacing: .05em; margin-top: 4px; }
.desk-status.has-writer { color: var(--ink-2); text-transform: none; letter-spacing: 0; font-weight: 500; }

.desk-head { text-align: center; padding: 30px 0 0; }
.desk-flag {
  display: flex; align-items: center; justify-content: center; gap: .3em; flex-wrap: wrap;
  font-family: var(--serif-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(30px, 6vw, 58px); line-height: 1.05; margin: 10px 0 6px; letter-spacing: -0.005em;
}
.desk-sub { font-style: italic; color: var(--ink-2); margin: 0; padding-bottom: 14px; border-bottom: 5px solid var(--club, var(--ink)); }
.desk-head + .desk-body { border-top: 1px solid var(--ink); margin-top: 3px; }
.desk-body { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 0 32px; padding-top: 24px; }
.desk-open { padding: 24px; background: var(--paper-2); border-left: 4px solid var(--club, var(--pitch)); }
.desk-open p { color: var(--ink-2); margin: 0 0 18px; }
.desk-posts { margin-top: 0; border-top: 0; }
.desk-posts article:first-child { padding-top: 0; }
.desk-rail { border-left: 1px solid var(--rule); padding-left: 24px; }
.desk-rail .rail-hed { margin-top: 22px; }
.desk-id { display: flex; gap: 12px; align-items: center; }
.desk-id img { width: 56px; height: 56px; object-fit: contain; }
.desk-idname { font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1.2; }
.desk-standing { font-family: var(--sans); font-size: 14px; color: var(--ink-3); }

.fixture {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: baseline;
  padding: 8px 0; border-bottom: 1px solid var(--rule-2); font-family: var(--sans); font-size: 15px;
}
.fixture .vs { font-weight: 500; }
.fixture .res { font-weight: 700; font-variant-numeric: tabular-nums; }
.fixture .when { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-3); }
.wdl { display: inline-block; width: 20px; height: 20px; line-height: 20px; text-align: center; border-radius: 4px; font-size: 12px; font-weight: 700; color: #fff; margin-right: 8px; }
.wdl.w { background: var(--turf); } .wdl.d { background: #8a8a8a; } .wdl.l { background: var(--card); }

/* ───────── Write-for-us form ───────── */

.pitch-form { display: grid; gap: 16px; margin-top: 22px; }
.pitch-form label { display: grid; gap: 6px; font-family: var(--sans); font-size: 14.5px; font-weight: 600; }
.pitch-form .opt { font-weight: 400; color: var(--ink-3); }
.pitch-form input, .pitch-form select, .pitch-form textarea {
  font: 400 17.5px/1.4 var(--serif); color: var(--ink); background: var(--paper);
  border: 1px solid #bdbdbd; border-radius: 6px; padding: 10px 12px; width: 100%;
}
.pitch-form input:focus, .pitch-form select:focus, .pitch-form textarea:focus { outline: 2px solid var(--pitch); outline-offset: 1px; border-color: var(--pitch); }
.pitch-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pitch-form .btn { justify-self: start; font-size: 16.5px; padding: 12px 22px; }
.fine-print { font-family: var(--sans); font-size: 13px; color: var(--ink-3); margin: 0; }
.form-msg { margin-top: 18px; padding: 14px 16px; font-family: var(--sans); font-size: 16px; border-left: 3px solid var(--pitch); background: var(--mint); }
.form-msg.err { border-left-color: var(--card); background: #fbeaea; }

@media (max-width: 820px) {
  .desk-index-wrap { grid-template-columns: 1fr; gap: 18px; }
  .desk-body { grid-template-columns: 1fr; }
  .desk-rail { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); margin-top: 26px; padding-top: 4px; }
}
@media (max-width: 520px) {
  .pitch-form .form-row { grid-template-columns: 1fr; }
  .desk-index { column-gap: 14px; }
  .desk-index li { font-size: 15.5px; padding: 6px 0; }
}

.desk-flag img { width: 1.1em; height: 1.1em; object-fit: contain; }

/* ───────── The ladder (full table) ───────── */

.ladder-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  font-family: var(--sans); font-size: 14.5px; color: var(--ink-3); margin: 0 0 12px;
}
.ladder-replay, .scene-replay {
  cursor: pointer; border: 1px solid var(--rule); background: var(--paper); border-radius: 999px;
  padding: 5px 13px; font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink);
}
.ladder-replay:hover, .scene-replay:hover { border-color: var(--ink-3); }
.ladder { font-family: var(--sans); font-variant-numeric: tabular-nums; }
.lhead, .lrow {
  display: grid; align-items: center; column-gap: 8px;
  grid-template-columns: 34px minmax(0, 1fr) 40px 30px 30px 30px 30px 42px 38px 44px 150px;
}
.lhead { font-size: 12px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; padding: 0 0 8px; border-bottom: 1px solid var(--ink); }
.lbody { position: relative; }
.lrow {
  position: absolute; left: 0; right: 0; top: 0; height: 54px;
  border-bottom: 1px solid var(--rule-2); background: var(--paper);
  transition: transform 1.15s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease;
  z-index: 1;
}
.lbody.still .lrow { transition: none; }
/* Points bar: the longer the bar, the higher the team stands. */
/* Points line: a thin bar along the bottom of each row, scaled to the
   leader's points, so who sits on top reads at a glance. */
.lrow::before {
  content: ""; position: absolute; left: 0; bottom: 5px; height: 3px; width: var(--w, 0%);
  background: linear-gradient(90deg, rgba(19,138,74,.6), rgba(19,138,74,.25));
  border-radius: 2px; z-index: 0;
}
.lrow::after { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; background: var(--zone, transparent); border-radius: 2px; }
.lrow.rising { z-index: 3; box-shadow: 0 6px 18px rgba(0,0,0,.12), 0 0 0 1px var(--rule); }
.lrow.moved { animation: moved 1.6s ease-out; }
@keyframes moved { from { background: var(--mint); } to { background: var(--paper); } }
.lbody .lrow:hover { background: var(--paper-2); }
.lrow.falling { z-index: 2; }
.lrank { text-align: center; font-family: var(--serif); font-weight: 700; font-size: 20px; }
.lteam { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16.5px; min-width: 0; }
.lteam img { width: 24px; height: 24px; object-fit: contain; flex: none; }
.lteam span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lnum { text-align: right; font-size: 15.5px; }
.lgap { text-align: right; font-size: 12.5px; color: var(--ink-3); }
.lpts { text-align: right; font-weight: 800; font-size: 18.5px; }
.mv { display: inline-flex; align-items: center; justify-content: center; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.mv i { font-style: normal; font-size: 9px; line-height: 1; }
.mv.up { color: var(--turf); }
.mv.down { color: var(--card); }
.last { font-size: 14px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 10px; }
.last b { display: inline-block; width: 18px; height: 18px; line-height: 18px; text-align: center; border-radius: 3px; color: #fff; font-size: 11.5px; margin-right: 5px; }
.last.w b { background: var(--turf); } .last.d b { background: #8a8a8a; } .last.l b { background: var(--card); }
.last.none { color: var(--ink-3); }
.lhead > :last-child { padding-left: 10px; }

/* ───────── Animated pitch ───────── */

.scene-stage { position: relative; }
.scene-replay { position: absolute; right: 10px; bottom: 10px; background: rgba(255,255,255,.95); }
.scene-step { min-height: 2.8em; margin: 8px 0 0; font-family: var(--sans); font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.scene-step:empty { display: none; }

/* ───────── Reader (articles) ───────── */

.read-progress {
  position: fixed; left: 0; top: 0; right: 0; height: 3px; z-index: 50;
  background: var(--pitch); transform: scaleX(0); transform-origin: 0 50%;
}
.reader-bar {
  margin: -8px 0 24px; padding-bottom: 14px; border-bottom: 1px solid var(--rule);
  font-family: var(--sans); font-size: 14px; color: var(--ink-3);
}
.article .byline { border-bottom: 0; padding-bottom: 0; }

/* Floating reading settings: a quiet "Aa" that follows the reader and
   opens into size + theme. Sits beside the column on wide screens,
   bottom-right on narrow ones. */
.reader-float {
  position: fixed; z-index: 40;
  left: calc(50% + 380px); top: 42vh;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 6px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--rule);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  opacity: .7; transition: opacity .2s;
}
.reader-float:hover, .reader-float:focus-within, .reader-float[data-open="true"] { opacity: 1; }
.rf-toggle {
  cursor: pointer; width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: transparent; color: var(--ink-2); font-family: var(--serif); font-weight: 700; font-size: 16px;
}
.rf-toggle:hover { background: var(--paper-2); color: var(--ink); }
.reader-float[data-open="true"] .rf-toggle { color: var(--pitch-ink); }
.rf-panel { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-bottom: 2px; }
.rf-panel[hidden] { display: none; }
.rf-panel button {
  cursor: pointer; width: 34px; height: 30px; border: 1px solid var(--rule); border-radius: 8px;
  background: var(--paper); color: var(--ink); font-family: var(--serif); font-weight: 700; font-size: 14px;
}
.rf-panel button:disabled { opacity: .35; cursor: default; }
.rf-panel .sep { width: 18px; height: 1px; background: var(--rule); margin: 2px 0; }
.rf-panel .sw { width: 24px; height: 24px; border-radius: 50%; }
.rf-panel .sw.paper { background: #fff; }
.rf-panel .sw.sepia { background: #f4ecd8; }
.rf-panel .sw.pitch { background: #dcebdf; border-color: #b7cfbd; }
.rf-panel .sw.night { background: #1b1b1b; border-color: #444; }
.rf-panel .sw[aria-pressed="true"] { outline: 2px solid var(--pitch); outline-offset: 2px; }
@media (max-width: 1100px) {
  .reader-float { left: auto; right: 14px; top: auto; bottom: 16px; flex-direction: column-reverse; }
  .rf-panel { flex-direction: column-reverse; padding: 2px 0 0; }
}

html[data-size="0"] .article .body { --rs: .9; }
html[data-size="1"] .article .body, .article .body { --rs: 1; }
html[data-size="2"] .article .body { --rs: 1.12; }
html[data-size="3"] .article .body { --rs: 1.25; }
html[data-size="4"] .article .body { --rs: 1.4; }
.article .body p, .article .body li { font-size: calc(var(--base-read, 20.5px) * var(--rs, 1)); }

html[data-theme="sepia"] {
  --paper: #f4ecd8; --paper-2: #ebe1c8; --ink: #2b2118; --ink-2: #4a3c2e; --ink-3: #7a6a58;
  --rule: #d8cbb0; --rule-2: #e3d8bf; --mint: #e5e6c8;
}
html[data-theme="pitch"] {
  --paper: #eaf3ec; --paper-2: #dfece2; --ink: #13241a; --ink-2: #2c4334; --ink-3: #5b7363;
  --rule: #c6dacb; --rule-2: #d6e6da; --mint: #d3e8d8; --pitch-ink: #0b6b35;
}
html[data-theme="night"] {
  --paper: #141414; --paper-2: #1d1d1d; --ink: #e8e4dc; --ink-2: #c9c4ba; --ink-3: #8f8a82;
  --rule: #343434; --rule-2: #262626; --mint: #17301f; --pitch-ink: #4cc47f;
}
html[data-theme="night"] .ball circle[fill="#fff"] { fill: var(--paper); }

.resume {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 60;
  display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 16px;
  background: #111; color: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  font-family: var(--sans); font-size: 15.5px; max-width: calc(100vw - 32px);
}
.resume button { cursor: pointer; border: 0; border-radius: 6px; padding: 6px 12px; font-weight: 600; background: var(--pitch); color: #fff; }
.resume button[data-x] { background: transparent; color: #aaa; padding: 6px; }

@media (max-width: 820px) {
  .lhead, .lrow { grid-template-columns: 28px minmax(0, 1fr) 34px 26px 34px 30px 34px 92px; column-gap: 6px; }
  .lhead .hide-sm, .lrow .hide-sm { display: none; }
  .last { font-size: 12.5px; padding-left: 4px; }
  .lhead > :last-child { padding-left: 4px; }
}
@media (max-width: 520px) {
  .lhead, .lrow { grid-template-columns: 24px minmax(0, 1fr) 30px 32px 34px 50px; }
  .lhead > :nth-child(4), .lrow > :nth-child(4), .lgap { display: none; }
  .last { font-size: 0; }
  .last b { font-size: 11.5px; }
  .lteam { font-size: 15.5px; gap: 8px; }
  .lteam img { width: 20px; height: 20px; }
}
@media (max-width: 520px) { .lhead > :last-child { font-size: 0; } }
.lead-art .scene-step { display: none; }
.section-band + .league-tabs { margin-top: 16px; }

.pitch-form label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 15px; line-height: 1.45; }
.pitch-form label.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--pitch); }
.form-intro { font-family: var(--sans); font-size: 15px; color: var(--ink-2); line-height: 1.5; margin: 0 0 8px; }
.desk-more { font-family: var(--sans); font-size: 14.5px; color: var(--ink-3); margin: 14px 0 0; }
.article figure .scene-step { font-size: 14.5px; }
.body-fig svg { border-radius: 4px; }


/* Ladder tidy-up: header labels all one size; quieter rules; zone stripe inset. */
.lhead .lpts { font-size: 12px; font-weight: 600; }
.lhead { border-bottom: 2px solid var(--ink); }
.lrow { border-bottom-color: var(--rule-2); }
.ladder-bar { padding-bottom: 10px; border-bottom: 1px solid var(--rule-2); margin-bottom: 14px; }
@media (prefers-reduced-motion: reduce) { .lrow { transition: none; } .lrow.moved { animation: none; } }
.lhead .lnum, .lhead .lgap { font-size: 12px; }

/* Flat sliding league row (home-page rails). */
.pick { position: relative; margin: 0 0 12px; }
.pick .pick-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0; scroll-behavior: smooth; }
.pick .pick-row::-webkit-scrollbar { display: none; }
.pick .pick-row button { flex: none; }
.pick-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; cursor: pointer;
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--rule); background: var(--paper);
  color: var(--ink); padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.pick-arrow:hover { border-color: var(--ink-3); }
.pick-arrow[hidden] { display: none; }
.pick-arrow svg { display: block; }
.pick-arrow.prev { left: -4px; }
.pick-arrow.next { right: -4px; }
.pick.fade-l::before, .pick.fade-r::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 44px; z-index: 1; pointer-events: none;
}
.pick.fade-l::before { left: 0; background: linear-gradient(90deg, var(--paper) 40%, transparent); }
.pick.fade-r::after { right: 0; background: linear-gradient(270deg, var(--paper) 40%, transparent); }

/* ───────── Matches: views ───────── */
.views { display: inline-flex; border: 1px solid var(--rule); border-radius: 999px; padding: 3px; gap: 2px; }
.views button {
  cursor: pointer; border: 0; background: transparent; border-radius: 999px; padding: 5px 14px;
  font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.views button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.period { display: flex; align-items: center; gap: 10px; margin: 14px 0 4px; font-family: var(--sans); }
.period[hidden] { display: none; }
.period .pick-arrow { position: static; transform: none; }
.period-label { font-family: var(--serif); font-weight: 700; font-size: 21px; min-width: 0; }
.period-today {
  cursor: pointer; margin-left: auto; border: 1px solid var(--rule); background: var(--paper); border-radius: 999px;
  padding: 4px 12px; font-family: var(--sans); font-size: 13.5px; font-weight: 600;
}
#filter { margin-top: 12px; }
.stack { padding: 6px 0 16px; }
.day-block, .month-block { margin-top: 18px; }
.day-h {
  display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; padding-bottom: 6px;
  border-bottom: 1px solid var(--ink); font-family: var(--serif); font-size: 20px;
}
.day-h button { all: unset; cursor: pointer; }
.day-h button:hover { text-decoration: underline; text-underline-offset: 3px; }
.day-n { margin-left: auto; font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--ink-3); }
.today-tag { font-family: var(--sans); font-size: 11.5px; font-weight: 700; color: var(--paper); background: var(--pitch); border-radius: 3px; padding: 2px 6px; }
.day-block .board { padding: 4px 0 0; }
/* month calendar */
.cal { padding: 14px 0 8px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-h { font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; padding: 0 4px 4px; }
.cal-d {
  cursor: pointer; text-align: left; min-height: 104px; padding: 8px; border: 1px solid var(--rule); border-radius: 8px;
  background: var(--paper); display: flex; flex-direction: column; gap: 3px; font-family: var(--sans); color: var(--ink);
}
.cal-d:hover { border-color: var(--ink-3); }
.cal-d.out { opacity: .45; }
.cal-d.none { background: var(--paper-2); cursor: default; }
.cal-d.is-today { border: 2px solid var(--pitch); }
.cal-n { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.cal-live { font-size: 10.5px; font-weight: 800; color: #fff; background: var(--turf); border-radius: 3px; padding: 1px 5px; }
.cal-l { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-l b { color: var(--ink); }
.cal-l.more { color: var(--ink-3); }
/* season list */
.season-card .srow { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: center; border-bottom: 1px solid var(--rule-2); }
.season-card .srow:last-child { border-bottom: 0; }
.season-card .srow .match { border-bottom: 0; }
.sdate { font-family: var(--sans); font-size: 13px; color: var(--ink-3); padding-left: 14px; }
.srow.is-next { background: var(--mint); }
@media (max-width: 680px) {
  .section-band .views { width: 100%; justify-content: space-between; }
  .cal-grid { gap: 3px; }
  .cal-d { min-height: 64px; padding: 5px; }
  .cal-l { font-size: 0; }
  .cal-l b { font-size: 12px; }
  .cal-l.more { display: none; }
  .season-card .srow { grid-template-columns: 52px minmax(0, 1fr); }
  .sdate { padding-left: 8px; font-size: 12px; }
}

/* ───────── Match centre ───────── */
.mc { padding: 22px 0 10px; }
.mc-head { text-align: center; border-bottom: 1px solid var(--rule); padding-bottom: 18px; }
.mc-meta { font-family: var(--sans); font-size: 13.5px; color: var(--ink-3); }
.mc-meta a { color: var(--pitch-ink); font-weight: 600; }
.mc-board { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin: 18px auto 10px; max-width: 880px; }
.mc-team { display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--serif); font-weight: 700; font-size: clamp(19px, 2.4vw, 28px); line-height: 1.15; }
.mc-team:hover { text-decoration: none; }
.mc-team img { width: 64px; height: 64px; object-fit: contain; }
.mc-score { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mc-score .mc-n, .mc-score .mc-dash, .mc-v { font-family: var(--sans); font-weight: 800; font-size: clamp(38px, 6vw, 60px); line-height: 1; font-variant-numeric: tabular-nums; }
.mc-score { flex-direction: row; flex-wrap: wrap; justify-content: center; column-gap: 12px; }
.mc-score > span:last-child { flex-basis: 100%; text-align: center; }
.mc-dash { color: var(--ink-3); }
.mc-v { color: var(--ink-3); font-size: 34px; }
.mc-live { font-family: var(--sans); font-size: 13px; font-weight: 800; color: #fff; background: var(--turf); border-radius: 4px; padding: 3px 8px; justify-self: center; }
.mc-ft, .mc-when { font-family: var(--sans); font-size: 14px; color: var(--ink-3); font-weight: 600; }
.mc-scorers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin: 0 auto; font-family: var(--sans); font-size: 13.5px; color: var(--ink-2); }
.mc-scorers ul { list-style: none; margin: 0; padding: 0 12px 0 0; text-align: right; }
.mc-scorers ul.a { text-align: left; padding: 0 0 0 12px; }
.mc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; margin-top: 26px; }
.mc-sec { margin-top: 8px; }
.mc-lineups { margin-top: 30px; }
.rail-hed .fm { font-weight: 600; letter-spacing: .02em; color: var(--ink-3); }
/* timeline */
.tl { list-style: none; margin: 0; padding: 0; position: relative; font-family: var(--sans); }
.tl::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--rule); }
.tl-ev { position: relative; display: grid; grid-template-columns: 1fr 44px 1fr; align-items: center; padding: 6px 0; font-size: 14px; }
.tl-ev .tl-min { grid-column: 2; grid-row: 1; justify-self: center; font-weight: 700; font-size: 12.5px; background: var(--paper); padding: 2px 4px; z-index: 1; font-variant-numeric: tabular-nums; }
.tl-ev.h .tl-tx { grid-column: 1; grid-row: 1; text-align: right; padding-right: 30px; }
.tl-ev.a .tl-tx { grid-column: 3; grid-row: 1; padding-left: 30px; }
.tl-ev .tl-ic { position: absolute; top: 50%; transform: translateY(-50%); font-size: 13px; line-height: 1; }
.tl-ev.h .tl-ic { right: calc(50% + 26px); }
.tl-ev.a .tl-ic { left: calc(50% + 26px); }
.tl-tx b { font-weight: 600; }
.tl-sub { display: block; font-size: 12.5px; color: var(--ink-3); }
.tl-ev.k-goal .tl-tx b { font-weight: 800; }
.tl-ht { text-align: center; padding: 8px 0; }
.tl-ht span { position: relative; z-index: 1; background: var(--paper); font-family: var(--sans); font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; padding: 0 8px; }
.card { display: inline-block; width: 9px; height: 12px; border-radius: 1.5px; vertical-align: -1px; }
.card.y { background: #ffd400; } .card.r { background: var(--card); }
.subarrows { color: var(--pitch-ink); font-weight: 700; }
/* stats */
.stats { font-family: var(--sans); }
.st { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; row-gap: 6px; padding: 9px 0; border-bottom: 1px solid var(--rule-2); font-variant-numeric: tabular-nums; }
.st-v { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.st-v:last-of-type { text-align: right; }
.st-v.lead { color: var(--ink); font-weight: 800; }
.st-l { text-align: center; font-size: 13.5px; color: var(--ink-3); }
.st-bar { grid-column: 1 / -1; display: flex; gap: 4px; height: 6px; }
.st-bar i { display: block; height: 100%; border-radius: 3px; width: var(--w, 50%); min-width: 3px; }
.st-bar .h { background: var(--home, var(--ink)); }
.st-bar .a { background: var(--away, var(--pitch)); }
/* line-ups */
.lu-pitch { margin: 0; }
.lu-pitch svg { width: 100%; height: auto; display: block; border-radius: 6px; }
.benches { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 16px; font-family: var(--sans); font-size: 14px; }
.bench h4 { margin: 0 0 8px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.bench ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 18px; }
.bench li { break-inside: avoid; padding: 4px 0; border-bottom: 1px solid var(--rule-2); }
.bench .bn { display: inline-block; min-width: 24px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.bench .on { font-size: 11px; font-weight: 700; color: var(--pitch-ink); text-transform: uppercase; }
@media (max-width: 820px) {
  .mc-grid { grid-template-columns: 1fr; gap: 10px; }
  .benches { grid-template-columns: 1fr; }
  .mc-team img { width: 48px; height: 48px; }
}
@media (max-width: 520px) {
  .bench ul { columns: 1; }
  .tl-ev { font-size: 13px; }
  .tl-ev.h .tl-tx { padding-right: 24px; } .tl-ev.a .tl-tx { padding-left: 24px; }
}

/* ───────── Club desk cockpit ───────── */
.cockpit {
  display: grid; gap: 14px; margin-top: 22px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.pnl { border: 1px solid var(--rule); border-radius: 12px; padding: 14px 16px 16px; background: var(--paper); min-width: 0; }
.pnl-h {
  display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 10px;
  font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
}
.pnl-h a { font-weight: 600; letter-spacing: .02em; text-transform: none; color: var(--pitch-ink); }
.pnl-next { grid-column: span 6; border-top: 4px solid var(--club, var(--pitch)); }
.pnl-pos { grid-column: span 3; }
.pnl-form { grid-column: span 3; }
.pnl-table { grid-column: span 6; }
.pnl-season { grid-column: span 3; }
.pnl-players { grid-column: span 3; }
.pnl-results, .pnl-fixtures { grid-column: span 6; }
.ck-next { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 6px 0; }
.ck-next:hover { text-decoration: none; }
.ck-side { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-family: var(--serif); font-size: 19px; }
.ck-side img { width: 56px; height: 56px; object-fit: contain; }
.ck-mid { display: flex; flex-direction: column; align-items: center; gap: 4px; font-family: var(--sans); text-align: center; }
.ck-v { font-size: 26px; font-weight: 800; color: var(--ink-3); }
.ck-when { font-weight: 700; font-size: 15px; }
.ck-until { font-size: 14px; color: var(--pitch-ink); font-weight: 600; }
.ck-comp { font-size: 12.5px; color: var(--ink-3); }
.ck-live { color: #fff; background: var(--turf); border-radius: 4px; padding: 2px 8px; font-weight: 800; }
.ck-rank { font-family: var(--serif); font-weight: 700; font-size: 64px; line-height: 1; letter-spacing: -0.02em; }
.ck-move { font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--ink-3); margin-top: 6px; display: flex; align-items: center; gap: 5px; }
.ck-move i { font-style: normal; font-size: 10px; }
.ck-move.up { color: var(--turf); } .ck-move.down { color: var(--card); }
.ck-of { font-family: var(--sans); font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }
.ck-gaps { list-style: none; margin: 10px 0 0; padding: 10px 0 0; border-top: 1px solid var(--rule-2); font-family: var(--sans); font-size: 13.5px; color: var(--ink-2); display: grid; gap: 4px; }
.ck-chips { display: flex; gap: 6px; }
.ck-chip { width: 36px; height: 36px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--sans); font-weight: 800; color: #fff; font-size: 15px; }
.ck-chip:hover { text-decoration: none; filter: brightness(1.08); }
.ck-chip.w { background: var(--turf); } .ck-chip.d { background: #8a8a8a; } .ck-chip.l { background: var(--card); }
.ck-sub { font-family: var(--sans); font-size: 12px; color: var(--ink-3); margin: 6px 0 0; }
.ck-dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 0; font-family: var(--sans); }
.ck-dl div { background: var(--paper-2); border-radius: 8px; padding: 8px; text-align: center; }
.ck-dl dt { font-size: 11.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.ck-dl dd { margin: 2px 0 0; font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; }
.ck-tbl tr.me td { background: var(--mint); font-weight: 700; }
.ck-tbl tr.me td.rank { color: var(--ink); }
.ck-tbl em { font-style: normal; font-size: 11px; font-weight: 700; margin-left: 6px; }
.ck-tbl em.up { color: var(--turf); } .ck-tbl em.down { color: var(--card); }
.ck-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-family: var(--sans); }
.ck-tiles div { background: var(--paper-2); border-radius: 8px; padding: 10px; }
.ck-tiles b { display: block; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ck-tiles span { font-size: 12px; color: var(--ink-3); }
.ck-h3 { margin: 0 0 6px; font-family: var(--sans); font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.ck-h3 + .ck-pl { margin-bottom: 12px; }
.ck-pl { list-style: none; margin: 0; padding: 0; font-family: var(--sans); font-size: 14.5px; }
.ck-pl li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--rule-2); }
.ck-pl b { font-variant-numeric: tabular-nums; }
.ck-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--rule-2); font-family: var(--sans); font-size: 14.5px; }
.ck-row:last-child { border-bottom: 0; }
.ck-row:hover { text-decoration: none; background: var(--paper-2); }
.ck-opp { display: flex; align-items: center; gap: 7px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ck-opp img { width: 18px; height: 18px; object-fit: contain; }
.ck-res { font-weight: 700; font-variant-numeric: tabular-nums; }
.ck-date { font-size: 12.5px; color: var(--ink-3); min-width: 82px; }
.ck-row .wdl { margin-right: 0; }
.desk-columns { margin-top: 30px; }
@media (max-width: 1020px) {
  .pnl-next, .pnl-table, .pnl-results, .pnl-fixtures { grid-column: span 12; }
  .pnl-pos, .pnl-form, .pnl-season, .pnl-players { grid-column: span 6; }
}
@media (max-width: 600px) {
  .pnl-pos, .pnl-form, .pnl-season, .pnl-players { grid-column: span 12; }
  .ck-side { font-size: 16px; } .ck-side img { width: 44px; height: 44px; }
}

/* Match centre, compact: tabs instead of one long page. */
a.match { border-bottom: 1px solid var(--rule-2); }
.mc { padding-top: 14px; }
.mc-head { padding-bottom: 12px; }
.mc-board { margin: 10px auto 6px; gap: 14px; max-width: 760px; }
.mc-team { font-size: clamp(17px, 2vw, 22px); gap: 6px; }
.mc-team img { width: 48px; height: 48px; }
.mc-score .mc-n, .mc-score .mc-dash { font-size: clamp(32px, 4.4vw, 46px); }
.mc-scorers { max-width: 760px; font-size: 13px; }
.mc-tabs { display: flex; justify-content: center; gap: 4px; margin: 14px auto 12px; border-bottom: 1px solid var(--rule); }
.mc-tabs button {
  cursor: pointer; border: 0; background: none; padding: 9px 16px; margin-bottom: -1px;
  font-family: var(--sans); font-size: 14.5px; font-weight: 600; color: var(--ink-3); border-bottom: 2px solid transparent;
}
.mc-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--pitch); }
.mc-pane[hidden] { display: none; }
.mc-grid { margin-top: 0; gap: 28px; }
.tl.only-big .minor { display: none; }
.tl-ev { padding: 4px 0; }
.mc-more { cursor: pointer; margin-top: 8px; border: 1px solid var(--rule); background: var(--paper); border-radius: 999px; padding: 4px 12px; font-family: var(--sans); font-size: 13px; font-weight: 600; }
.st { padding: 6px 0; row-gap: 4px; }
.stats-all { max-width: 640px; margin: 0 auto; }
.mc-fm { text-align: center; font-family: var(--sans); font-size: 14px; color: var(--ink-2); margin: 0 0 8px; }
.lu-pitch { max-width: 860px; margin: 0 auto; }
.benches { max-width: 860px; margin: 12px auto 0; font-size: 13.5px; }

/* Club desk: slim next-match + form bar */
.desk-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px;
  margin-top: 18px; padding: 12px 16px; border: 1px solid var(--rule); border-radius: 12px;
  font-family: var(--sans); font-size: 14.5px;
}
.db-next, .db-form { display: flex; align-items: center; gap: 12px; min-width: 0; flex-wrap: wrap; }
.db-label { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.db-load { color: var(--ink-3); }
.db-match { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.db-match:hover { text-decoration: none; }
.db-match:hover b { text-decoration: underline; text-underline-offset: 2px; }
.db-match img { width: 24px; height: 24px; object-fit: contain; }
.db-v { color: var(--ink-3); font-weight: 600; }
.db-when { color: var(--pitch-ink); font-weight: 600; margin-left: 4px; }
.db-live { color: #fff; background: var(--turf); border-radius: 4px; padding: 1px 7px; font-weight: 800; font-size: 12.5px; }
.db-form .ck-chip { width: 28px; height: 28px; border-radius: 6px; font-size: 13px; }
.db-form .ck-chips { gap: 5px; }
.db-table { color: var(--ink-3); font-size: 13.5px; }
.desk-columns { margin-top: 26px; }
