/* Croydon Monday Darts League (unofficial) — hand-written, mobile-first */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/static/fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/static/fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/static/fonts/barlow-condensed-700.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --navy: #14233c;
  --navy-2: #1d3152;
  --red: #c8102e;
  --green: #0f7a4a;
  --cream: #f6f1e7;

  --bg: #f7f3ec;
  --surface: #ffffff;
  --surface-2: #f0e9dd;
  --ink: #161a22;
  --ink-2: #4b5262;
  --line: #e2d9ca;
  --link: #1b3a73;
  --eyebrow: #a30d26;
  --win: #0d6b41;
  --loss: #a3162b;
  --home-bg: #c8102e;
  --home-ink: #ffffff;
  --away-bg: #14233c;
  --away-ink: #ffffff;
  --focus: #c8102e;
  --shadow: 0 1px 2px rgb(20 35 60 / .06), 0 6px 20px -8px rgb(20 35 60 / .18);

  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", "Barlow", system-ui, sans-serif;

  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4.5rem;
  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 72rem;
  --gutter: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1422;
    --surface: #131e33;
    --surface-2: #1a2843;
    --ink: #eee9df;
    --ink-2: #aab3c3;
    --line: #26375a;
    --link: #a9c6ff;
    --eyebrow: #ff8a99;
    --win: #5cd69a;
    --loss: #ff8593;
    --away-bg: #2c4673;
    --focus: #ff8a99;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px -10px rgb(0 0 0 / .6);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.55;
  font-variant-numeric: tabular-nums;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: .005em; margin: 0 0 var(--s3); }
h1 { font-size: clamp(2.3rem, 7vw, 3.6rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 4.4vw, 2.1rem); text-transform: uppercase; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 var(--s4); }
main { display: block; padding-bottom: var(--s8); }
main:focus { outline: none; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 40em) { :root { --gutter: 24px; } }

.skip-link {
  position: absolute; left: var(--s2); top: -100px; z-index: 100;
  background: var(--cream); color: var(--navy); padding: var(--s2) var(--s4);
  border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: var(--s2); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Header ---------- */
.site-header { background: var(--navy); color: var(--cream); position: relative; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: var(--s3); color: var(--cream); text-decoration: none; padding: var(--s2) 0; }
.brand-mark { width: 38px; height: 38px; flex: none; filter: drop-shadow(0 1px 2px rgb(0 0 0 / .4)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-short { font-family: var(--font-display); font-size: 1.65rem; letter-spacing: .06em; }
.brand-long { font-size: .78rem; letter-spacing: .04em; opacity: .85; margin-top: 3px; }

.nav-toggle {
  display: none; align-items: center; gap: var(--s2);
  background: transparent; color: var(--cream); border: 1px solid rgb(246 241 231 / .35);
  border-radius: 999px; padding: .45rem .9rem; font: 600 .95rem var(--font); cursor: pointer;
  min-height: 44px;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0 0 var(--s3); display: flex; flex-wrap: wrap; gap: 2px var(--s1); }
.site-nav a {
  display: block; color: var(--cream); text-decoration: none; font-weight: 600; font-size: .98rem;
  padding: .55rem .7rem; border-radius: 999px; min-height: 44px; line-height: 1.75;
}
.site-nav a:hover { background: rgb(255 255 255 / .08); }
.site-nav a[aria-current="page"] { background: var(--cream); color: var(--navy); }

.js .nav-toggle { display: inline-flex; }
@media (max-width: 25em) {
  .brand-long { font-size: .7rem; }
  .nav-toggle { padding: .45rem .75rem; }
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .header-inner { gap: var(--s2); }
}
.js .site-nav { display: none; width: 100%; }
.js .site-nav.is-open { display: block; }
.js .site-nav ul { flex-direction: column; gap: 2px; padding-bottom: var(--s4); }
.js .site-nav a { border-radius: var(--radius-sm); font-size: 1.1rem; padding: .7rem .8rem; }

@media (min-width: 60em) {
  .header-inner { flex-wrap: nowrap; min-height: 76px; }
  .js .nav-toggle { display: none; }
  .js .site-nav, .site-nav { display: block; width: auto; }
  .site-nav ul, .js .site-nav ul { flex-direction: row; padding: 0; gap: 2px; }
  .js .site-nav a { font-size: .98rem; padding: .55rem .8rem; border-radius: 999px; }
}

.board-stripe {
  height: 6px;
  background:
    repeating-linear-gradient(90deg, var(--red) 0 28px, var(--green) 28px 56px);
  box-shadow: inset 0 -2px 0 rgb(0 0 0 / .18);
}

/* ---------- Page heads ---------- */
.page-head { padding: var(--s7) 0 var(--s6); }
.page-head--center { text-align: center; padding: var(--s8) 0; }
.eyebrow {
  font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--eyebrow); margin-bottom: var(--s2);
}
.lede { font-size: 1.18rem; color: var(--ink-2); max-width: 44rem; }
.page-head--center .lede { margin-inline: auto; }
.meta-line { color: var(--ink-2); font-size: .95rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 44px; padding: .55rem 1.1rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  font: 600 1rem var(--font); text-decoration: none; cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s;
}
.btn:hover { border-color: var(--ink-2); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn-primary:hover { background: #a90d26; border-color: #a90d26; }
.btn svg { width: 18px; height: 18px; }
.actions-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin: var(--s5) 0 0; }
.actions-row--center { justify-content: center; }

/* ---------- Sections & cards ---------- */
.section { margin-top: var(--s7); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s4); }
.section-head h2 { margin: 0; }
.section-link { font-weight: 600; white-space: nowrap; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: var(--s5);
}
.grid-2 { display: grid; gap: var(--s5); }
@media (max-width: 30em) { .card { padding: var(--s4); } .prose { padding: var(--s4); } }
.addr-street { display: none; }
@media (min-width: 40em) { .addr-street { display: inline; } }
@media (min-width: 52em) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* ---------- Pills & badges ---------- */
.pill {
  display: inline-block; font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .2rem .6rem; border-radius: 999px; line-height: 1.4; white-space: nowrap;
}
.pill-home { background: var(--home-bg); color: var(--home-ink); }
.pill-away { background: var(--away-bg); color: var(--away-ink); }
.pill-div { background: var(--surface-2); color: var(--ink); }
.status {
  display: inline-block; font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .15rem .55rem; border-radius: 6px; border: 1.5px dashed currentColor; color: var(--ink-2);
}
.status-postponed { color: var(--loss); }
.res { font-weight: 700; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .02em; white-space: nowrap; }
.res-w { color: var(--win); }
.res-l { color: var(--loss); }
.res-tag {
  display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 6px;
  font-family: var(--font-display); font-size: 1rem; color: #fff; margin-right: .35rem; vertical-align: 2px;
}
.res-w .res-tag { background: var(--win); }
.res-l .res-tag { background: var(--loss); }
@media (prefers-color-scheme: dark) { .res-tag { color: #0c1422; } }

/* ---------- Home: next up ---------- */
.hero { background: var(--navy); color: var(--cream); padding: var(--s6) 0 var(--s7); position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 38%, rgb(246 241 231 / .05) 38% 40%, transparent 40% 60%, rgb(246 241 231 / .05) 60% 62%, transparent 62%),
    repeating-conic-gradient(rgb(255 255 255 / .035) 0 9deg, transparent 9deg 18deg);
  pointer-events: none;
}
.hero .eyebrow { color: #ff9aa8; }
.hero h1 { color: var(--cream); margin-bottom: var(--s2); }
.hero-sub { color: rgb(246 241 231 / .82); font-size: 1.1rem; margin-bottom: var(--s5); }
.hero-grid { display: grid; gap: var(--s4); position: relative; z-index: 1; }
@media (min-width: 52em) { .hero-grid { grid-template-columns: 1fr 1fr; } }
.night-card { background: rgb(255 255 255 / .06); border: 1px solid rgb(246 241 231 / .14); border-radius: var(--radius); padding: var(--s4) var(--s5); }
.night-card h2 { font-size: 1.25rem; letter-spacing: .08em; margin-bottom: var(--s3); color: #fff; }
.night-event { font-size: 1.3rem; font-weight: 600; }
.match-list { list-style: none; margin: 0; padding: 0; }
.match-list li { padding: var(--s3) 0; border-top: 1px solid rgb(246 241 231 / .12); }
.match-list li:first-child { border-top: 0; padding-top: 0; }
.match-teams { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .45rem; font-weight: 600; font-size: 1.12rem; }
.match-teams a { color: inherit; text-decoration: none; }
.match-teams a:hover { text-decoration: underline; }
.match-v { font-family: var(--font-display); color: #ff9aa8; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; }
.match-venue { font-size: .95rem; color: rgb(246 241 231 / .75); }
.match-venue a { color: inherit; }
.hero-note { color: rgb(246 241 231 / .7); font-size: .9rem; margin-top: var(--s4); position: relative; z-index: 1; }

/* ---------- Team picker ---------- */
.picker { display: grid; gap: var(--s5); }
@media (min-width: 52em) { .picker { grid-template-columns: 1fr 1fr; } }
.picker h3 { font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: var(--s3); }
.picker ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.picker a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
  min-height: 52px; padding: .6rem .9rem; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.2;
  transition: border-color .15s, transform .15s;
}
.picker a::after { content: "›"; font-size: 1.4rem; color: var(--red); line-height: 1; }
.picker a:hover { border-color: var(--red); transform: translateY(-1px); }

/* ---------- Results lists ---------- */
.score-list { list-style: none; margin: 0; padding: 0; }
.score-list li {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s3);
  padding: var(--s3) 0; border-top: 1px solid var(--line);
}
.score-list li:first-child { border-top: 0; }
.score-home { text-align: right; }
.score-team { font-weight: 600; line-height: 1.2; }
.score-team a { color: inherit; text-decoration: none; }
.score-team a:hover { text-decoration: underline; }
.score-team.is-winner { color: var(--ink); }
.score-team.is-loser { color: var(--ink-2); font-weight: 400; }
.score-box {
  display: inline-flex; align-items: center; gap: 2px; font-family: var(--font-display); font-size: 1.35rem;
  background: var(--navy); color: var(--cream); border-radius: var(--radius-sm); padding: .15rem .55rem; min-width: 4.6rem; justify-content: center;
}
.score-box .sep { opacity: .5; padding: 0 .1rem; }
.score-tbc { background: var(--surface-2); color: var(--ink-2); font-size: .95rem; letter-spacing: .06em; }
.div-label { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 var(--s2); }

/* ---------- League tables ---------- */
.table-wrap { overflow-x: auto; }
.league-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.league-table caption { text-align: left; font-family: var(--font-display); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .04em; padding-bottom: var(--s3); }
.league-table th, .league-table td { padding: .6rem .3rem; text-align: center; border-bottom: 1px solid var(--line); }
.league-table abbr { text-decoration: none; cursor: help; }
.league-table th, .league-table td { white-space: nowrap; }
.league-table .col-team { white-space: normal; }
.league-table thead th { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; border-bottom: 2px solid var(--ink); }
.league-table .col-team { text-align: left; width: 100%; }
.league-table tbody th { font-weight: 600; text-align: left; }
.league-table tbody th a { color: inherit; text-decoration: none; }
.league-table tbody th a:hover { text-decoration: underline; }
.league-table .col-pos { color: var(--ink-2); font-weight: 600; width: 2.4rem; text-align: left; }
.league-table .col-pts { font-weight: 700; font-family: var(--font-display); font-size: 1.2rem; }
.league-table tr.is-me { background: color-mix(in srgb, var(--red) 8%, transparent); }
.league-table tbody tr:first-child .col-pos { color: var(--red); }
.col-hide-s { display: none; }
@media (min-width: 30em) { .col-hide-s { display: table-cell; } }
.table-key { color: var(--ink-2); font-size: .9rem; margin-top: var(--s3); }

/* ---------- Fixture rows (team page) ---------- */
.fixtures { list-style: none; margin: 0; padding: 0; }
.fx {
  display: grid; grid-template-columns: 4.6rem 1fr auto; gap: .15rem var(--s3); align-items: start;
  padding: var(--s4) var(--s2); border-top: 1px solid var(--line);
}
.fx:first-child { border-top: 0; }
.fx-date { font-family: var(--font-display); line-height: 1.05; text-transform: uppercase; }
.fx-date .d-dow { display: block; font-size: .8rem; letter-spacing: .1em; color: var(--ink-2); }
.fx-date .d-day { display: block; font-size: 1.35rem; }
.fx-main { min-width: 0; }
.fx-opp { font-weight: 600; font-size: 1.1rem; line-height: 1.25; }
.fx-opp a { color: inherit; text-decoration: none; }
.fx-opp a:hover { text-decoration: underline; }
.fx-venue { color: var(--ink-2); font-size: .93rem; line-height: 1.35; margin-top: 2px; }
.fx-venue a { color: var(--link); white-space: nowrap; }
.fx-side { display: flex; flex-direction: column; align-items: flex-end; gap: var(--s2); text-align: right; }
.fx-note { font-size: .85rem; color: var(--ink-2); }
.fx--event { background: transparent; }
.fx--event .fx-opp { font-weight: 400; color: var(--ink-2); font-size: 1rem; }
.fx--event .fx-date .d-day { color: var(--ink-2); }
.fx--past:not(.fx--event) .fx-opp { color: var(--ink); }
.fx.is-next { background: color-mix(in srgb, var(--red) 7%, var(--surface)); border-radius: var(--radius-sm); border-top-color: transparent; box-shadow: inset 4px 0 0 var(--red); }
.fx.is-next + .fx { border-top-color: transparent; }

/* ---------- Team page ---------- */
.team-head { background: var(--navy); color: var(--cream); padding: var(--s6) 0; }
.team-head .eyebrow { color: #ff9aa8; }
.team-head h1 { color: #fff; margin-bottom: var(--s3); }
.team-home { color: rgb(246 241 231 / .85); margin: 0; }
.team-home a { color: #fff; }
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); margin-top: var(--s5); }
.stat { background: rgb(255 255 255 / .07); border: 1px solid rgb(246 241 231 / .14); border-radius: var(--radius-sm); padding: var(--s3); text-align: center; }
.stat-n { display: block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: #fff; }
.stat-l { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: rgb(246 241 231 / .75); margin-top: 4px; }
.team-layout { display: grid; gap: var(--s6); margin-top: var(--s6); }
@media (min-width: 60em) { .team-layout { grid-template-columns: minmax(0, 1fr) 21rem; align-items: start; } .team-aside { position: sticky; top: var(--s4); } }
.next-card { border-top: 5px solid var(--red); }
.next-card .eyebrow { margin-bottom: var(--s1); }
.next-date { font-family: var(--font-display); font-size: 1.7rem; text-transform: uppercase; line-height: 1.05; margin-bottom: var(--s2); }
.next-opp { font-size: 1.2rem; font-weight: 600; margin-bottom: var(--s2); }
.next-venue { color: var(--ink-2); margin: var(--s2) 0 0; }
.aside-stack { display: grid; gap: var(--s4); }
.cal-help { font-size: .9rem; color: var(--ink-2); margin: var(--s2) 0 0; }

/* ---------- Fixtures page ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3) var(--s4); box-shadow: var(--shadow);
  position: sticky; top: var(--s2); z-index: 5;
}
.filter-bar label { font-weight: 600; }
.filter-bar select {
  font: 600 1rem var(--font); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line);
  border-radius: 999px; padding: .5rem 2.2rem .5rem .9rem; min-height: 44px; flex: 1 1 14rem; max-width: 22rem;
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat;
}
.filter-bar .filter-team-link { font-weight: 600; }
.no-js .filter-bar { display: none; }
.team-chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s4) 0 0; padding: 0; list-style: none; }
.team-chips a { display: inline-block; padding: .4rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; min-height: 36px; }
.team-chips a:hover { border-color: var(--red); }
.js .team-chips-nojs { display: none; }

.week { margin-top: var(--s5); scroll-margin-top: 6rem; }
.week-head { display: flex; align-items: baseline; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s3); }
.week-head h2 { font-size: 1.55rem; margin: 0; }
.week-tag { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: .15rem .55rem; border-radius: 6px; background: var(--red); color: #fff; }
.week-tag--done { background: var(--surface-2); color: var(--ink-2); }
.week-event { color: var(--ink-2); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: var(--s3) var(--s4); margin: 0; }
.week-grid { display: grid; gap: var(--s3); }
@media (min-width: 52em) { .week-grid { grid-template-columns: 1fr 1fr; } }
.week .card { padding: var(--s4); }
.wk-match { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s2); align-items: center; padding: var(--s2) 0; border-top: 1px solid var(--line); }
.wk-match:first-of-type { border-top: 0; }
.wk-venue { grid-column: 1 / -1; font-size: .88rem; color: var(--ink-2); text-align: center; margin-top: -2px; }
.week.is-current .card { border-color: var(--red); box-shadow: 0 0 0 1px var(--red), var(--shadow); }

/* ---------- Key dates ---------- */
.datelist { list-style: none; margin: 0; padding: 0; }
.datelist li { display: grid; grid-template-columns: 5.2rem 1fr; gap: var(--s3); padding: var(--s3) 0; border-top: 1px solid var(--line); align-items: baseline; }
.datelist li:first-child { border-top: 0; }
.datelist .dl-date { font-family: var(--font-display); font-size: 1.15rem; text-transform: uppercase; line-height: 1.1; }
.datelist .dl-date small { display: block; font-family: var(--font); font-size: .78rem; letter-spacing: .08em; color: var(--ink-2); }
.datelist .dl-what { font-weight: 600; }
.datelist .dl-where { display: block; font-weight: 400; color: var(--ink-2); font-size: .93rem; }
.datelist li.is-past { opacity: .55; }
.kind { display: inline-block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); margin-left: .35rem; }
.month-block { margin-top: var(--s5); }
.month-block h2 { font-size: 1.3rem; letter-spacing: .06em; color: var(--ink-2); }

/* ---------- Venues ---------- */
.venue-grid { display: grid; gap: var(--s4); }
@media (min-width: 46em) { .venue-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 70em) { .venue-grid { grid-template-columns: 1fr 1fr 1fr; } }
.venue h2 { font-size: 1.45rem; text-transform: none; margin-bottom: var(--s2); }
.venue address { font-style: normal; color: var(--ink-2); margin-bottom: var(--s3); }
.venue .teams-here { font-size: .95rem; margin-bottom: var(--s3); }
.venue .note { font-size: .92rem; background: var(--surface-2); border-radius: var(--radius-sm); padding: var(--s2) var(--s3); }

/* ---------- Prose ---------- */
.prose-grid { display: grid; gap: var(--s4); max-width: 46rem; }
.prose { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); }
.prose h2 { font-size: 1.5rem; }
.prose ul { padding-left: 1.2rem; margin: 0 0 var(--s4); }
.prose li { margin-bottom: var(--s2); }
.prose > :last-child { margin-bottom: 0; }
.callout { border-left: 5px solid var(--red); }
.format-list { list-style: none; padding: 0; margin: 0 0 var(--s4); display: grid; gap: var(--s2); }
.format-list li { display: flex; align-items: center; gap: var(--s3); }
.format-count { display: inline-grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--navy); color: var(--cream); font-family: var(--font-display); font-size: 1.2rem; flex: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgb(246 241 231 / .82); padding: var(--s7) 0 var(--s6); font-size: .95rem; }
.footer-inner { display: grid; gap: var(--s4); }
.footer-title { font-family: var(--font-display); font-size: 1.4rem; text-transform: uppercase; color: #fff; margin: 0; }
.footer-sub { margin: 0; }
.footer-disclaimer { max-width: 44rem; margin: 0; }
.footer-disclaimer strong { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.footer-links a { color: #fff; display: inline-block; padding: .35rem 0; }
.footer-updated { font-size: .85rem; opacity: .75; margin: 0; }

/* ---------- Misc ---------- */
.empty { color: var(--ink-2); }
.updated-note { color: var(--ink-2); font-size: .92rem; margin-top: var(--s3); }
.print-only { display: none; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Print: one clean team sheet ---------- */
@media print {
  @page { size: A4; margin: 12mm; }
  :root { --bg: #fff; --surface: #fff; --ink: #000; --ink-2: #333; --line: #bbb; }
  body { background: #fff; color: #000; font-size: 10.5pt; }
  .site-header, .site-footer, .skip-link, .team-aside, .no-print, .filter-bar, .team-chips { display: none !important; }
  .print-only { display: block; }
  .team-head { background: #fff; color: #000; padding: 0 0 6mm; border-bottom: 3px solid #000; }
  .team-head h1, .team-head .eyebrow, .team-home, .team-home a { color: #000; }
  .stat-strip { display: none; }
  .team-layout { display: block; margin-top: 4mm; }
  .fx { padding: 1.6mm 0; break-inside: avoid; grid-template-columns: 22mm 1fr 30mm; }
  .fx.is-next { background: none; box-shadow: none; }
  .fx-venue a { color: #000; text-decoration: none; }
  .pill-home { background: #000; color: #fff; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .pill-away { background: #fff; color: #000; border: 1px solid #000; }
  .fx-date .d-day { font-size: 13pt; }
  .print-footer { margin-top: 6mm; font-size: 9pt; color: #333; border-top: 1px solid #999; padding-top: 2mm; }
  a { color: #000; }
}
