/*
 * Irish Chess Results (live tournaments + the Leinster archive): one stylesheet for every public page.
 * Linked from components/site/layout and components/archive/layout with a content-hash query
 * string; the page ETags hash this file too (App\Support\LayoutFingerprint).
 *
 * World: "Classic blue" (18 Oct 2026, HANDOFF_REDESIGN_20261018.md; the surface brief in
 * .impeccable/surfaces/). A white page; ultramarine owns the header band, headings and score
 * numerals; sections sit under a 1px ink rule; results read in win green, draw warm grey and loss red, each
 * with its W/D/L letter. No yellow anywhere. One fixed light scheme.
 *
 * Sections: fonts · tokens · base · layout chrome (blue band, nav, search, archive band, footer) ·
 * page head · sections · board · chips · buttons · pass · boards · tables · grids · notes ·
 * lists · forms · pager · motion · home · breakpoints · page groups · Classic blue components.
 */

/* ---------- Fonts (self-hosted variable fonts, latin subset, OFL; see /fonts/OFL-*.txt) ----------
   Hanken Grotesk is the one face (wght 100–900; the build uses 400–700): body and UI, and at 700 the
   headings, team names and scores, with tabular figures for every number. */
@font-face {
    font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url(/build/assets/hanken-grotesk-latin-wght-normal-CaVRRdDk.woff2) format("woff2-variations"), url(/build/assets/hanken-grotesk-latin-wght-normal-CaVRRdDk.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;
}

/* ---------- Tokens: the one colour scheme (no light/dark switching); WCAG AA ratios in the comments ---------- */
:root {
    /* Classic blue (the mockup's :root, .impeccable/mocks/home-classic/src/home_template.html) */
    --blue: #2438D0;         /* band, headings, scores, link accents: 7.6:1 on white, white on it 7.6:1 */
    --blue-deep: #1A2AA6;    /* hover on blue */
    --blue-ink: #0E1330;     /* footer ground */
    --blue-soft: #DCE2FF;    /* meter tracks, chip borders (never text) */
    --blue-tint: #F3F5FF;    /* hover rows, date blocks, call-outs */
    --on-blue: #FFFFFF;
    --on-blue-2: #DCE2FF;    /* secondary text on blue: 6.4:1; 4.9:1 on a jump tile's 12% white lift (QA #6, 22 Oct 2026) */
    --paper: #FFFFFF;
    --ink: #0E1330;          /* body text: 18.4:1 on white */
    --ink-2: #4A5070;        /* secondary text: 8.0:1 on white */
    --win: #1E9E5A;  --win-ink: #13804A;    /* green bar; its letter 4.9:1 on white */
    --draw: #A8A29E; --draw-ink: #6B6560;   /* warm grey bar; its letter 5.6:1 */
    --loss: #E0453A; --loss-ink: #BF352B;   /* red bar; its letter 5.6:1 */

    /* The page components' names, mapped onto the blue world (wave 2 restyles the pages themselves) */
    --ground: #FFFFFF;       /* page background */
    --panel: #FFFFFF;
    --panel-2: #F3F5FF;      /* row hover, raised cells (= blue-tint) */
    --rule: #E3E6F2;         /* hairlines only, never text */
    --steel: #8A90AE;        /* borders, markers, separators: 3.2:1 on white */
    --muted: #4A5070;        /* labels, small print: 8.0:1 on white */
    --text: #1E2440;         /* body: 15.0:1 on white */
    --strong: #0E1330;       /* headings, names, links: 18.4:1 */
    --alert: #2438D0;        /* attention (moved fixture, newest, current): blue, never yellow */
    --alert-ink: #FFFFFF;    /* on alert 7.6:1 */
    --alert-line: #2438D0;   /* 1px highlight lines and caret */
    --sq-white: #FFFFFF;
    --sq-black: #0E1330;
    --sq-edge: #0E1330;
    --shadow: rgba(14, 19, 48, .22);

    --display: "Hanken Grotesk", system-ui, sans-serif; /* headings and numerals: Hanken 700 (the display face retired 27 Oct 2026) */
    --sans: "Hanken Grotesk", system-ui, sans-serif; /* the mockup's --text font token (--text stays a colour here) */
    --mono: var(--sans);     /* labels and data: the old mono role, now Hanken with tabular figures */
    --prose: var(--sans);
    --gutter: 16px;
    --max: 1240px;
    --ease: cubic-bezier(.16, 1, .3, 1);
    color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
    -webkit-text-size-adjust: 100%;
    scrollbar-color: var(--blue) var(--blue-tint);
    accent-color: var(--blue);
    scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--paper);
    color: var(--ink);
    font: 400 16px/1.5 var(--sans);
    font-variant-numeric: tabular-nums;
    caret-color: var(--blue);
    overflow-wrap: break-word;
}
::selection { background: var(--blue); color: #FFFFFF; }
a { color: var(--strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.band :focus-visible, .foot :focus-visible { outline-color: #FFFFFF; }
main:focus { outline: none; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; color: var(--strong); overflow-wrap: break-word; }
h1 { font: 700 clamp(1.9rem, 6vw, 2.5rem)/1.15 var(--display); letter-spacing: -.01em; margin: 1.75rem 0 1rem; }
/* a section heading sits on one 1px ink rule (not a thick blue bar) */
h2 {
    font: 700 clamp(1.4rem, 4vw, 1.75rem)/1.15 var(--display); letter-spacing: -.01em; color: var(--blue);
    margin: 2.25rem 0 .9rem; padding-bottom: .5rem; border-bottom: 1px solid var(--ink);
}
h3 { font: 700 1.2rem/1.15 var(--display); margin: 1.5rem 0 .6rem; }
h4 { font: 700 1.1rem/1.15 var(--display); margin: 1.25rem 0 .5rem; }
p { margin: 0 0 .9rem; max-width: 72ch; font: 400 16px/1.55 var(--prose); }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin: .25rem 0; }
li::marker { color: var(--steel); }
small { font-size: .82rem; color: var(--muted); }
abbr[title] { text-decoration: underline dotted var(--steel); text-underline-offset: 3px; cursor: help; }
code {
    font: 400 .86em/1.4 ui-monospace, Menlo, Consolas, monospace; color: var(--text);
    background: var(--blue-tint); padding: .05em .3em; overflow-wrap: anywhere;
}
hr { border: 0; border-top: 1px solid var(--rule); margin: 1.5rem 0; }
img, svg { max-width: 100%; }
dl { margin: 0 0 1rem; }
dt { font: 600 13px/1.3 var(--mono); color: var(--muted); margin-top: .6rem; }
dd { margin: .15rem 0 0; }
details {
    margin: 0 0 1rem; background: var(--panel); border: 1px solid var(--rule); border-radius: 4px;
}
summary {
    cursor: pointer; padding: .7rem .9rem; min-height: 44px;
    font: 700 14px/1.6 var(--sans); color: var(--strong);
}
summary::marker { color: var(--blue); }
details[open] > summary { border-bottom: 1px solid var(--rule); }
details > :not(summary) { margin-left: .9rem; margin-right: .9rem; }
details > :last-child { margin-bottom: .9rem; }

/* Generic data table: any plain <table> on any page */
table {
    border-collapse: collapse; width: 100%; margin: 0 0 1.25rem;
    background: var(--panel); font: 400 14px/1.35 var(--mono);
}
caption {
    caption-side: top; text-align: left; padding: 0 0 .5rem;
    font: 700 1.15rem/1.1 var(--display); color: var(--strong);
}
th, td { padding: .5rem .6rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
thead th {
    font: 600 13px/1.3 var(--mono); color: var(--muted);
    vertical-align: bottom; border-bottom: 1px solid var(--ink); background: var(--panel); white-space: nowrap;
}
tbody th { font-weight: 600; color: var(--strong); }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr:hover > * { background: var(--panel-2); }
td a, th a { text-decoration: none; }
td a:hover, th a:hover { text-decoration: underline; color: var(--blue); }
tfoot td, tfoot th { border-top: 1px solid var(--steel); color: var(--muted); }

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

/* ---------- Layout chrome (layouts own these) ---------- */
.skip-link {
    position: absolute; left: var(--gutter); top: -100px; z-index: 100;
    background: #FFFFFF; color: var(--blue);
    display: inline-flex; align-items: center; min-height: 44px;
    padding: .6rem 1rem; font: 700 15px/1 var(--sans); text-decoration: none;
    box-shadow: 0 8px 24px var(--shadow);
}
.skip-link:focus { top: .5rem; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.label {
    font: 600 13px/1.3 var(--mono); color: var(--muted);
}

/* Blue band: <header class="band"><div class="wrap bar"> wordmark · nav · search </div> [hero] </header>.
   Phones: wordmark, then the nav row, then the search full width; from 900px one row. */
.band { background: var(--blue); color: var(--on-blue); }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; padding-top: 1rem; padding-bottom: 1rem; }
.wordmark {
    font: 700 1.45rem/1 var(--display); letter-spacing: -.01em; margin-right: auto;
    color: #FFFFFF; text-decoration: none;
    padding: 11px 0; margin-top: -11px; margin-bottom: -11px; /* 44px tap target */
}
.wordmark:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.band .nav { order: 3; width: 100%; }
.band .nav-top { display: flex; flex-wrap: wrap; gap: 0 1.15rem; margin: 0; padding: 0; list-style: none; } /* wraps at 200% text (QA #10) */
.band .nav-top > li { margin: 0; }
.band .nav-label {
    display: block; padding: .55rem 0 .35rem; min-height: 44px; min-width: 44px; text-align: center; /* 44px tap target (QA #15) */
    font: 600 .98rem/1.6 var(--sans); color: var(--on-blue-2); text-decoration: none;
    border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.band .nav-label:hover { color: #FFFFFF; }
.band .nav-label[aria-current] { color: #FFFFFF; border-color: #FFFFFF; }

/* Search: a plain GET form to the player search; with JS (public/js/site.js) it suggests clubs as you
   type and ends with a "Search players" row. */
.search { position: relative; order: 4; width: 100%; margin: 0; }
.search input[type="search"] {
    width: 100%; max-width: none; height: 46px; min-height: 46px; border: 0; border-radius: 4px;
    padding: 0 1rem 0 2.6rem; font: 500 1rem var(--sans); color: var(--ink); background: #FFFFFF;
}
.search input[type="search"]::placeholder { color: #5D6488; }
.search input[type="search"]:focus-visible { outline-color: #FFFFFF; }
.search > svg { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--blue); pointer-events: none; }
.suggest {
    position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30;
    background: #FFFFFF; color: var(--ink); border-radius: 4px; box-shadow: 0 12px 32px var(--shadow);
    list-style: none; margin: 0; padding: .35rem;
}
.suggest[hidden] { display: none; }
.suggest li { margin: 0; padding: .6rem .75rem; border-radius: 6px; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; }
.suggest li small { color: var(--ink-2); flex: none; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--blue-tint); }
.suggest mark { background: none; color: var(--blue); font-weight: 700; }
.suggest .where { display: block; margin-top: .15rem; font-size: .82rem; color: var(--ink-2); }
/* The utility links (About, Contact; homedistill round 2, 17 Nov 2026): smaller and lighter than the content group */
.band .nav-util .nav-label { font-size: .86rem; }
@media (min-width: 900px) {
    .band .nav { order: 0; width: auto; }
    /* the nav takes the row's free room: the content group after the wordmark, the utility group at its right end
       beside Search and Sign in */
    .band .nav { flex: 1; min-width: 0; }
    .band .nav-top { flex-wrap: nowrap; align-items: center; }
    .band .nav-top > .nav-util:not(.nav-util + .nav-util) { margin-left: auto; }
    .search { order: 0; width: 300px; }
}
@media (max-width: 389px) {
    .band .nav-top { gap: .9rem; }
}
/* Up to 1079px the gaps tighten so wordmark, nav, Search and Sign in keep one row (a 15px scrollbar included;
   navcoach, 15 Nov 2026; six top items and the person icon since homedistill round 2, 17 Nov 2026). */
@media (min-width: 900px) and (max-width: 1079px) {
    .bar { column-gap: 1rem; }
    .band .nav-top { column-gap: .75rem; }
}

/* ---------- homewave2 A: mega menu (H4, 16 Nov 2026) ---------- */
/* site.partials.nav: each top item is its label link, a chevron button (hidden until site.js shows it)
   and its panel. From 900px the panel opens under the bar on white, one at a time (initMegaMenu sets
   .is-open on the item); without JS it shows while the item is hovered or holds focus. Under 900px the
   panels sit on blue: in the phone menu each chevron expands its panel in place; without JS every
   panel is listed open under its label. */
.nav-head { display: flex; align-items: stretch; }
.nav-chev {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 30px; min-height: 44px; padding: 0 4px; margin: 0;
    border: 0; border-radius: 4px; background: transparent; color: var(--on-blue-2); cursor: pointer;
}
.nav-chev[hidden] { display: none; }
.nav-chev:hover, .nav-chev[aria-expanded="true"] { color: #FFFFFF; }
.nav-chev svg { transition: transform .2s var(--ease); }
.nav-chev[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (pointer: coarse) { .nav-chev { min-width: 44px; } }
.nav-panel { display: none; }
.js .nav-item.is-open > .nav-panel { display: block; }
.nav-cols { display: grid; gap: 1rem 2.5rem; }
.nav-col-head { margin: 0 0 .3rem; font: 600 13px/1.3 var(--mono); }
.nav-list { margin: 0; padding: 0; list-style: none; }
.nav-list li { margin: 0; break-inside: avoid; }
/* the Results panel (homedistill round 2): more leagues under the Leinster competitions; the type filters a short row */
.nav-list-more { margin-top: .5rem; }
.nav-col-row { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 1.25rem; }
.nav-col-row .nav-col-head { margin: 0; }
.nav-list-row { display: flex; flex-wrap: wrap; column-gap: 1.25rem; }
.nav-panel a { display: block; padding: .35rem 0; text-decoration: none; font: 500 .97rem/1.4 var(--sans); }
.nav-panel a:hover { text-decoration: underline; text-underline-offset: 3px; }
.nav-panel small { margin-left: .3rem; font-size: .82rem; font-weight: 500; white-space: nowrap; }
.nav-panel .nav-col-head a { display: inline-block; font-weight: 700; }
.nav-panel .nav-all { font-weight: 700; }
/* the current page inside a panel: bold with an underline, never colour alone */
.nav-panel a[aria-current] { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (pointer: coarse) { .nav-panel a { display: flex; align-items: center; min-height: 44px; } .nav-panel a small { margin-left: .4rem; } }
@media (min-width: 900px) {
    .band { position: relative; z-index: 40; } /* the open panel paints over the page below the band */
    .bar { position: relative; }
    .nav-panel {
        position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% - 2px); z-index: 40;
        padding: 1.25rem 1.5rem 1.4rem; border-radius: 0 0 6px 6px;
        background: #FFFFFF; color: var(--ink); box-shadow: 0 18px 40px var(--shadow);
    }
    .nav-panel::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 14px; } /* no hover gap under the bar */
    html:not(.js) .nav-item:hover > .nav-panel, html:not(.js) .nav-item:focus-within > .nav-panel { display: block; }
    .band .nav-panel :focus-visible { outline-color: var(--blue); }
    .nav-cols { grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); max-width: 64rem; }
    .nav-col-wide { grid-column: span 2; }
    .nav-col-row { grid-column: 1 / -1; padding-top: .75rem; border-top: 1px solid var(--rule); }
    .nav-list-split { columns: 2; column-gap: 2.5rem; }
    .nav-col-head { color: var(--muted); }
    .nav-panel a { color: var(--blue); }
    .nav-panel .nav-col-head a { color: var(--strong); }
    .nav-panel small { color: var(--muted); }
}
@media (max-width: 899px) {
    html:not(.js) .band .nav-top { display: block; }
    html:not(.js) .nav-panel { display: block; padding: 0 0 .75rem; }
    .nav-panel { padding: 0 0 1rem; }
    .nav-col-head { color: var(--on-blue-2); }
    .nav-panel a, .nav-panel .nav-col-head a { color: #FFFFFF; }
    .nav-panel small { color: var(--on-blue-2); }
    .nav-panel a { display: flex; align-items: baseline; flex-wrap: wrap; min-height: 44px; padding: .6rem 0; }
}
@media (prefers-reduced-motion: reduce) { .nav-chev svg { transition: none; } }

/* Sub-nav strip: archive areas and the "This page" links */
.subnav { border-bottom: 1px solid var(--rule); background: var(--blue-tint); }
.subnav + .subnav { background: transparent; }
.subnav ul {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.25rem; margin: 0; padding: 0; list-style: none; min-width: 0;
}
.subnav ul.wrap { margin: 0 auto; padding: 0 var(--gutter); }
.subnav li { margin: 0; }
.subnav a {
    display: block; padding: .55rem 6px; min-height: 44px;
    font: 600 14px/2 var(--sans); color: var(--ink-2); text-decoration: none;
    /* a short item ("Cups") is still a 44px-wide box: 6px of side padding, taken back by the
       margin so nothing moves, and a floor for the one word that stays narrower (QA #15) */
    margin-inline: -6px; min-width: 44px;
}
.subnav a:hover { color: var(--blue); }
/* Current page ("page") or a page inside it ("true"): blue with a 2px inset blue underline */
.subnav a[aria-current] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); }
.subnav .home a { color: var(--strong); font-weight: 700; }

/* Phones: the sub-nav strips hold one row; if a row cannot fit it scrolls sideways, its trailing
   edge fading out until the end is reached (scroll-driven, so no fade when nothing overflows). */
@property --strip-fade { syntax: "<length>"; inherits: false; initial-value: 0px; }
@keyframes strip-fade { from { --strip-fade: 2rem; } to { --strip-fade: 0px; } }
@media (max-width: 759px) {
    .subnav ul.strip {
        flex-wrap: nowrap; justify-content: space-between; gap: 0;
        overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
        --strip-pad: .45rem;
        mask-image: linear-gradient(to left, transparent 0, #000 var(--strip-fade));
    }
    .subnav ul.strip::-webkit-scrollbar { display: none; }
    .subnav ul.strip.wrap { padding: 0 calc(var(--gutter) - var(--strip-pad)); }
    .subnav ul.strip li { flex: none; }
    .subnav ul.strip a { min-width: 44px; margin-inline: 0; padding-left: var(--strip-pad); padding-right: var(--strip-pad); text-align: center; white-space: nowrap; }
    /* a scrolling row clips anything outside it, so the focus ring draws inside the link */
    .subnav ul.strip a:focus-visible { outline-offset: -5px; }
    @supports (animation-timeline: scroll()) {
        .subnav ul.strip { animation: strip-fade linear both; animation-timeline: scroll(self inline); }
    }
}
@media (max-width: 389px) {
    .subnav ul.strip { --strip-pad: .3rem; }
}
/* An archive competition's pages (archive.competitions.partials.pages): their own strip after the
   back link, so on phones the five or six items hold one row (scrolling, with the strip's fade, if
   they cannot fit) instead of wrapping. A page the source never published keeps its item with the
   dashed source-gap underline. */
.subnav li.pages { flex: 1 1 0; min-width: 0; }
.subnav li.pages > ul { gap: 0 1.25rem; }
.subnav a.is-gap { text-decoration: underline dashed 1px; text-decoration-color: var(--steel); text-underline-offset: 5px; }
@media (max-width: 759px) {
    .subnav li.pages > ul.strip { justify-content: flex-start; gap: 0 .75rem; }
    .subnav li.pages > ul.strip a { padding-left: 0; padding-right: 0; }
}
@media (max-width: 599px) {
    .subnav li.pages { flex-basis: 100%; }
}

main { flex: 1 0 auto; padding-bottom: 3rem; }
.main > .wrap > :first-child:not(.pagehead):not(.crumbs) { margin-top: 1.75rem; }

.foot { background: var(--blue-ink); color: #C3C8E0; }
.foot .wrap { padding-top: 2rem; padding-bottom: 2.5rem; font: 400 .9rem/1.6 var(--sans); }
.foot p { font: inherit; margin: 0 0 .75rem; max-width: 75ch; }
.foot a { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.foot .foot-follow { max-width: none; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; margin: 0 0 1.75rem; padding: 0 0 1.75rem; border-bottom: 1px solid rgba(195, 200, 224, .25); }
.foot .foot-follow-label { color: #FFFFFF; font-weight: 700; }
.foot .foot-social { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.foot .foot-social svg { width: 16px; height: 16px; margin-right: .4em; }
/* Newsletter then Follow us: one rule under both, not one under each */
.foot .foot-news:has(+ .foot-follow) { margin-bottom: .75rem; padding-bottom: 0; border-bottom: 0; }
.foot .label, .foot .source-label, .foot small { color: #C3C8E0; }
.foot > .wrap > :last-child { margin-bottom: 0; }
/* The footer's newsletter signup (18 Nov 2026): email + button on the dark band, white button like the people finder's */
.foot-news { margin: 0 0 1.75rem; padding: 0 0 1.75rem; border-bottom: 1px solid rgba(195, 200, 224, .25); }
.foot-news-title { margin: 0 0 .35rem; color: #FFFFFF; font: 700 1.05rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; }
.foot-news-form { margin: .75rem 0 0; max-width: 32rem; }
.foot-news-form .form-row { flex-wrap: nowrap; }
.foot-news-form input[type="email"] { flex: 1 1 auto; min-width: 0; border-color: #FFFFFF; }
.foot-news-form button.primary { min-height: 44px; padding: 0 1.1rem; background: #FFFFFF; color: var(--blue-ink); border: 1.5px solid #FFFFFF; border-radius: 4px; font: 700 15px/1 var(--sans); white-space: nowrap; }
.foot-news-form button.primary:hover { background: transparent; color: #FFFFFF; }
.foot-news-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.foot-news-form .cf-turnstile { margin-top: .75rem; }

/* Breadcrumb: <nav class="crumbs" aria-label="Breadcrumb"><ol><li><a>…</a></li>…</ol></nav> */
.crumbs { margin: 1.25rem 0 0; }
.crumbs ol, .crumbs ul { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.crumbs li { margin: 0; font: 600 13px/1.4 var(--sans); color: var(--ink-2); }
.crumbs li + li::before { content: "/"; color: var(--steel); padding: 0 .5rem; }
/* each crumb is a 44px box (QA #15, round 3); the trail grows by the difference */
.crumbs a { color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--strong); }

/* ---------- Page head: h1 set big, meta line under it ---------- */
.pagehead { padding: 1.75rem 0 1.25rem; }
.pagehead h1 { margin: 0; }
.pagehead.is-hero h1 { font-size: clamp(1.9rem, 6vw, 2.5rem); line-height: 1.15; }
.pagehead .meta {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .6rem;
    margin: .9rem 0 0; max-width: none;
    font: 600 clamp(1.1rem, 3.5vw, 1.35rem)/1.2 var(--display);
    letter-spacing: 0; text-transform: none; color: var(--text);
}
.pagehead .meta a { color: var(--strong); text-decoration: none; }
.pagehead .meta a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pagehead .sub { margin: .75rem 0 0; color: var(--muted); }
.sep { color: var(--steel); }

/* ---------- Section header: <div class="sect-head"><h2>…</h2><span class="label">…</span></div> ---------- */
.sect { padding: 1.75rem 0 0; }
/* a section whose heading is the page's h1 (home's latest results) starts right under the page head */
.sect.is-lead { padding-top: 0; }
.sect-head {
    display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1rem;
    margin: 0 0 .9rem; padding-bottom: .6rem; border-bottom: 1px solid var(--ink);
}
.sect-head h2 { margin: 0; padding: 0; border: 0; }
.sect-head + * { margin-top: 0; }

/* ---------- Results board: <ol class="board"><li class="row"><a class="row-link">… ---------- */
.board { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.board > li { margin: 0; }
.colhead, .row-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 5.4rem minmax(0, 1fr);
    grid-template-areas:
        "meta meta meta"
        "home score away";
    column-gap: .6rem;
    align-items: center;
}
.colhead { display: none; }
.row { border-bottom: 1px solid var(--rule); background: var(--panel); }
.row-link {
    padding: .7rem .75rem .8rem; text-decoration: none; row-gap: .45rem; min-height: 44px; color: inherit;
}
a.row-link:hover { background: var(--panel-2); }
a.row-link:hover .c-home, a.row-link:hover .c-away { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.c-meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .75rem; }
.c-date, .c-div { font: 500 .86rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
.c-div abbr { text-decoration: none; color: var(--text); font-weight: 700; cursor: inherit; }
.c-div .full { display: none; }
.c-flag { display: inline-flex; flex-wrap: wrap; gap: .35rem; }
.c-home, .c-away {
    font: 600 1.2rem/1.05 var(--display); letter-spacing: 0; text-transform: none;
    color: var(--strong); overflow-wrap: break-word; min-width: 0;
}
.c-home { grid-area: home; text-align: right; }
.c-away { grid-area: away; text-align: left; }
/* narrow phones: the longest single-word club names fit their column instead of breaking */
@media (max-width: 420px) { .c-home, .c-away { font-size: clamp(.85rem, 3.8vw, 1.2rem); } }
.row.is-lit { box-shadow: inset 0 0 0 1px var(--alert-line); }
/* priority-dropping columns: .drop-sm hides under 600px, .drop-md under 900px (tables and boards) */


/* ---------- Chips: neutral state pill (Hanken, sentence case), .alert for change only ---------- */
.chip {
    display: inline-block; padding: .12rem .55rem; vertical-align: middle;
    border: 1.5px solid var(--blue-soft); border-radius: 4px; color: var(--ink);
    font: 700 .72rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; white-space: nowrap;
}
.chip.alert { background: var(--alert); color: var(--alert-ink); border-color: var(--alert); }
.chip.solid { background: var(--strong); color: var(--ground); border-color: var(--strong); }
/* the existing "moved from …" partial renders as an alert pill */
.moved {
    display: inline-block; margin-top: .3rem; padding: .1rem .55rem; border-radius: 4px;
    background: var(--alert); color: var(--alert-ink);
    font: 700 .72rem/1.4 var(--sans); letter-spacing: 0; text-transform: none;
}

/* ---------- Buttons: rounded, Hanken in sentence case; a blue outline, the primary filled blue ---------- */
.btn, button, input[type="submit"] {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 44px; padding: .55rem 1rem; margin: 0;
    border: 1.5px solid var(--blue-soft); border-radius: 4px; color: var(--blue); background: transparent;
    font: 700 .9rem/1 var(--sans); letter-spacing: 0; text-transform: none; text-decoration: none;
    cursor: pointer;
    transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.btn:hover, button:hover, input[type="submit"]:hover { background: var(--blue); color: #FFFFFF; border-color: var(--blue); }
.btn.primary, button.primary { background: var(--blue); color: #FFFFFF; border-color: var(--blue); }
.btn.primary:hover, button.primary:hover { background: var(--blue-deep); color: #FFFFFF; border-color: var(--blue-deep); }
.btn[aria-disabled="true"], button:disabled { color: var(--muted); border-color: var(--rule); cursor: not-allowed; background: transparent; }
.btn svg, button svg { width: 14px; height: 14px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }

/* ---------- Share (decision 66): <div class="share" data-share> button · menu · status ----------
   Without JS the menu's links sit inline like a .btn-row; with JS (.is-enhanced) they drop down
   from the Share button as a small panel. */
.pagehead .btn-row { margin: 1rem 0 0; }
.share { position: relative; display: flex; flex-wrap: wrap; align-items: flex-start; gap: .5rem; }
.share-menu { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.share-menu li { margin: 0; }
.share [hidden] { display: none !important; }
.share-status:empty { display: none; }
.share-status { flex-basis: 100%; margin: 0; font: 500 .82rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); overflow-wrap: anywhere; }
.share.is-enhanced .share-menu {
    position: absolute; top: calc(100% + 6px); left: 0; z-index: 20;
    flex-direction: column; flex-wrap: nowrap; gap: 0;
    min-width: 13.5rem; max-width: calc(100vw - 2 * var(--gutter));
    background: var(--panel); border: 1px solid var(--blue-soft); border-radius: 4px; overflow: hidden; box-shadow: 0 10px 30px -12px var(--shadow);
}
.share.is-enhanced.is-right .share-menu { left: auto; right: 0; }
.share.is-enhanced .share-menu .btn { width: 100%; justify-content: flex-start; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; }
.share.is-enhanced .share-menu li:last-child .btn { border-bottom: 0; }
/* The Share button (sharefix, 20 Nov 2026): filled ultramarine where the page marks it primary (a
   match page, where it is the one action), else a solid ultramarine outline, never the pale --blue-soft
   hairline of other .btn. It looks the same before and after a copy: no sticky hover after a tap on
   touch screens, and a focus ring only for keyboard focus (:focus-visible). */
.share-toggle { border-color: var(--blue); }
.share-toggle svg { width: 16px; height: 16px; }
.share-toggle:focus:not(:focus-visible) { outline: none; box-shadow: none; }
@media (hover: none) {
    .share-toggle:hover { background: transparent; color: var(--blue); border-color: var(--blue); }
    .share-toggle.primary:hover { background: var(--blue); color: #FFFFFF; border-color: var(--blue); }
}
/* "Image copied." / "Link copied.": one toast per page, bottom centre, over the page so nothing moves;
   it fades out after about 2 s (public/js/share.js). Failures stay in .share-status. */
.share-toast {
    position: fixed; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 50;
    max-width: calc(100vw - 2 * var(--gutter)); margin: 0; padding: .6rem .9rem;
    transform: translate(-50%, .5rem); opacity: 0; visibility: hidden; pointer-events: none;
    background: var(--panel); color: var(--strong); border: 1px solid var(--blue-soft); border-radius: 4px; box-shadow: 0 10px 30px -12px var(--shadow);
    font: 600 .86rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; text-align: center; overflow-wrap: anywhere;
    transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
}
.share-toast.is-shown { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s ease, transform .2s ease, visibility 0s; }
@media (prefers-reduced-motion: reduce) {
    .share-toast, .share-toast.is-shown { transition: none; transform: translate(-50%, 0); }
}

/* ---------- Segmented pass: <article class="pass"> top · perf · <dl class="segs"> ---------- */
.pass { margin: 0 0 1.25rem; background: var(--panel); box-shadow: 0 10px 30px -12px var(--shadow); }
.pass-team {
    font: 700 clamp(1.4rem, 5vw, 2rem)/1.15 var(--display); text-transform: none;
    letter-spacing: 0; color: var(--strong); text-decoration: none; overflow-wrap: break-word;
}
a.pass-team:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.perf { height: 0; border-top: 2px dashed var(--rule); margin: 0 .9rem; }
.segs {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px; margin: 0; padding: 0; background: var(--rule);
    border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.perf + .segs { border-top: 0; }
.seg { padding: .7rem .9rem .8rem; background: var(--panel); min-width: 0; }
.seg dt { margin: 0 0 .3rem; }
.seg dd {
    margin: 0; font: 700 1.25rem/1.1 var(--display); color: var(--strong);
}
.seg dd a { text-decoration: none; }
.seg dd a:hover { text-decoration: underline; }
.seg.wide { grid-column: 1 / -1; }
.pass-foot { padding: .8rem .9rem 1rem; border-top: 2px dashed var(--rule); display: flex; flex-wrap: wrap; gap: .6rem; }
/* the match pager: previous and next share the row as an even pair, under the one primary action */
.pass-foot.is-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pass-foot.is-pager .btn { justify-content: center; }
.pass-foot.is-pager [rel="next"] { grid-column: 2; }
.pass-foot + .pass-foot { border-top: 0; padding-top: 0; }

/* ---------- Board strip with colour squares: <ol class="boards"><li class="bd">… ---------- */
.boards-head, .bd {
    display: grid; grid-template-columns: 2rem minmax(0, 1fr) 3rem minmax(0, 1fr);
    gap: .45rem; align-items: center;
}
.boards-head { padding: .8rem .9rem .45rem; }
.boards-head .c, .boards-head .r { text-align: center; }
.boards-head .a { text-align: right; }
.boards { list-style: none; margin: 0; padding: 0 0 .25rem; }
.bd { margin: 0; padding: .55rem .9rem; border-top: 1px dashed var(--rule); }
.bd-no {
    font: 700 1.35rem/1 var(--display); color: var(--strong); text-align: center;
    border: 1px solid var(--steel); padding: .25rem 0 .2rem;
}
.bd-player { display: flex; align-items: center; gap: .4rem; min-width: 0; font: 500 15px/1.15 var(--display); letter-spacing: .01em; color: var(--text); }
.bd-player.away { justify-content: flex-end; text-align: right; }
.bd-player a { text-decoration: none; overflow-wrap: break-word; min-width: 0; }
.bd-player a:hover { text-decoration: underline; }
.bd-player .none, .unknown { color: var(--muted); font-style: italic; }
.bd-res {
    font: 700 1.2rem/1 var(--display); letter-spacing: 0; text-align: center; color: var(--strong); white-space: nowrap;
    background: var(--panel-2); padding: .4rem 0;
}
.bd-note { grid-column: 2 / -1; font: 400 12px/1.3 var(--mono); color: var(--muted); }
.sq { display: inline-block; flex: none; width: .8rem; height: .8rem; border: 1px solid var(--sq-edge); vertical-align: middle; }
.sq.white { background: var(--sq-white); }
.sq.black { background: var(--sq-black); }

/* ---------- Tables ---------- */
/* .table-scroll / .grid-scroll: a wide table scrolls inside its own box, never the page */
.table-scroll, .grid-scroll {
    max-width: 100%; overflow-x: auto; overflow-y: hidden; margin: 0 0 1.25rem;
    overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
    background: var(--panel); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.table-scroll > table, .grid-scroll > table { margin: 0; }
.table-scroll:focus-visible, .grid-scroll:focus-visible { outline-offset: -3px; }
.table-scroll > table > caption, .grid-scroll > table > caption { padding: .7rem .6rem .5rem; position: sticky; left: 0; }
td.num, th.num, .data .num { text-align: right; white-space: nowrap; }
td.score, th.score { text-align: center; white-space: nowrap; font: 700 1.15rem/1 var(--display); color: var(--strong); }
td.team, th.team { font: 600 1.1rem/1.1 var(--display); letter-spacing: 0; text-transform: none; color: var(--strong); }

/* Standings: <table class="standings"> — position, team, P W D L, points, Reg+, penalty notes */
.standings { font-size: 14px; }
.standings th, .standings td { padding: .55rem .5rem; white-space: nowrap; }
.standings td:not(.team):not(.note), .standings th:not(.team):not(.note) { text-align: right; }
.standings thead th.team, .standings td.team { text-align: left; white-space: normal; min-width: 9rem; }
.standings .pos { width: 2.25rem; color: var(--muted); font-weight: 700; }
.standings .pts { font: 700 1.2rem/1 var(--display); color: var(--strong); }
.standings td.note { white-space: normal; text-align: left; color: var(--muted); font-size: 12px; min-width: 12rem; }
.standings tbody tr.is-lit > * { box-shadow: inset 0 1px 0 var(--alert-line), inset 0 -1px 0 var(--alert-line); }

/* Cross table / results grid: <div class="grid-scroll" tabindex="0" role="region" aria-label="…"><table class="grid"> */
.grid { width: auto; min-width: 100%; font-size: 13px; }
.grid th, .grid td { padding: .45rem .5rem; text-align: center; white-space: nowrap; border: 1px solid var(--rule); }
.grid thead th { border-bottom-color: var(--steel); }
.grid tbody th, .grid thead th:first-child {
    text-align: left; position: sticky; left: 0; z-index: 1; background: var(--panel);
    box-shadow: 1px 0 0 var(--steel);
}
.grid td.self { background: var(--panel-2); }

/* ---------- Notes, empty states, provenance ---------- */
.empty {
    margin: 0 0 1.25rem; padding: 1.25rem .9rem; background: var(--panel); color: var(--muted);
    font: 500 15px/1.5 var(--prose); max-width: none;
    border: 1px dashed var(--rule);
}
/* source/provenance: .note (neutral), .source-gap (a published gap, kept visible), .source-label */
.note, .source-gap {
    margin: 0 0 1rem; padding: .7rem .9rem; max-width: 72ch;
    background: var(--panel); color: var(--text); border: 1px solid var(--rule);
    font: 400 15px/1.5 var(--prose);
}
.source-gap { border-style: dashed; border-color: var(--steel); }
li.source-gap { list-style: none; margin: 0 0 .5rem; }
ul:has(> li.source-gap) { padding-left: 0; }
.note .label, .source-gap .label { display: block; margin-bottom: .25rem; }
.source-label { color: var(--muted); font: 400 12px/1.4 var(--mono); }
.source-label a { color: var(--text); }

/* ---------- Lists: key/value dl, division list, link grid ---------- */
.kv { display: grid; grid-template-columns: minmax(0, max-content) minmax(0, 1fr); gap: .35rem 1rem; align-items: baseline; }
.kv dt { margin: 0; }
.kv dd { margin: 0; }

.divs { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.div {
    display: grid; grid-template-columns: 3.4rem minmax(0, 1fr);
    grid-template-areas: "code name" "acts acts";
    gap: .55rem .75rem; align-items: center; margin: 0;
    padding: .85rem 0; border-bottom: 1px solid var(--rule);
}
.div-name { grid-area: name; min-width: 0; }
.div-name h3 { margin: 0; }
.div-name .label { display: block; margin-top: .2rem; }

/* Link grid: <nav class="linkgrid"><a><span><span class="t">…</span><span class="label">…</span></span><svg/></a>… */
.linkgrid { display: grid; margin: 0 0 1.25rem; background: var(--panel); }
.linkgrid a {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .75rem;
    padding: .75rem .75rem .8rem; text-decoration: none; border-bottom: 1px solid var(--rule); min-height: 44px;
}
.linkgrid a:last-child { border-bottom: 0; }
.linkgrid a:hover { background: var(--panel-2); }
.linkgrid a:hover .t { text-decoration: underline; text-underline-offset: 4px; }
.linkgrid .t { font: 700 1.25rem/1.1 var(--display); color: var(--strong); }
/* a row's division codes (clubs index): small outlined code cells under the name */
.linkgrid .codes { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .4rem; }
.linkgrid .code { padding: .18rem .35rem .14rem; border: 1px solid var(--steel); font: 700 11px/1.1 var(--mono); letter-spacing: .1em; color: var(--text); white-space: nowrap; }
.linkgrid .label { display: block; margin-top: .3rem; }
.linkgrid svg { width: 18px; height: 18px; color: var(--muted); }

/* ---------- Division board: <ul class="drows"><li class="drow"> code, name, leader, latest score, actions ----------
   The index pages' board rows (tournament divisions, archive season competitions): white panel rows
   on 1px Rule dividers, like the results board. Phones stack name / leader / latest beside the code
   cell, actions full width below; from 1100px each division is one departures row under a mono head. */
.drow-name { grid-area: name; margin: 0; font: 600 1.2rem/1.05 var(--display); letter-spacing: 0; }
.drow-name a { display: inline-block; color: inherit; text-decoration: none; }
.drow-name a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
/* The tournament page's rows (.is-linked): the division name is the row's link to its standings
   and covers the row; the latest result and the one Fixtures text link sit above it. */
.drow-fx {
    grid-area: acts; position: relative; z-index: 1; align-self: center; justify-self: end;
    display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; margin: -.6rem 0 -.6rem;
    font: 700 .9rem/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--strong);
    text-decoration: underline; text-decoration-color: var(--steel); text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.drow-fx:hover { text-decoration-color: currentColor; }
.drow-fx svg { width: 14px; height: 14px; flex: none; }
/* The phone home's division picker: one bordered chip per division code, straight to its table */
/* A section's closing link ("All upcoming fixtures"): a full-width outlined button under its board */
.more { margin: -.5rem 0 1.25rem; max-width: none; }
.more .btn { width: 100%; }

/* Tournament list (national phase 2c; distilled 13 Oct 2026): a year strip (pager cells: the last
   12 months, all years, then each year), then five filters (county since 25 Nov 2026) that submit on change (filters.js hides
   the Filter button and shows a note; without JS the button submits), then event rows on the board
   grammar. A listing-only event (no results online) is dashed like a source gap and carries its one
   labelled ICU event page link (decision 98). */
.tfilters { margin: 0 0 .5rem; }
.pager.year-strip ul { margin: 0 0 1rem; }
.year-strip a { white-space: nowrap; }
.filters { margin: 0; }
.filter-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .6rem; }
.filter-fields .field { min-width: 0; margin-bottom: .75rem; }
.filter-fields select { max-width: none; }
.filters .btn-row { align-items: center; margin-bottom: 0; }
.filters.is-auto .filter-submit { display: none; }
.filters.is-auto .btn-row:not(:has(.btn)) { display: none; }
.filters .auto-note { margin-right: auto; }
.events { list-style: none; margin: 0 0 1.25rem; padding: 0; background: var(--panel); }
h3.ev-year { margin: 1.25rem 0 .5rem; }
.event-row {
    position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "meta meta" "name state" "icu icu";
    gap: .4rem .75rem; align-items: center; margin: 0; padding: .7rem .75rem .8rem;
    border-bottom: 1px solid var(--rule); min-width: 0;
}
.event-row:last-child { border-bottom: 0; }
.event-row:has(a.t:hover) { background: var(--panel-2); }
.ev-meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .45rem; min-width: 0; }
.ev-date, .ev-town, .ev-done { font: 400 .86rem/1.3 var(--sans); color: var(--muted); }
.ev-date { color: var(--text); }
.ev-format, .ev-region { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .45rem; }
.event-row .tag { font: 400 .86rem/1.3 var(--sans); color: var(--muted); }
.event-row .t {
    grid-area: name; justify-self: start;
    font: 700 1.25rem/1.1 var(--display);
    color: var(--strong); text-decoration: none; overflow-wrap: anywhere;
}
/* the name is the row's link: its hit area covers the whole row; the ICU link sits above it */
.events .event-row a.t { position: static; }
.events .event-row a.t::after { inset: 0; top: 0; bottom: 0; }
.event-row a.t:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ev-town { grid-area: town; }
.ev-state { grid-area: state; justify-self: end; }
.event-row.is-listing { border: 1px dashed var(--steel); margin: 0 0 1px; background: var(--ground); }
.event-row.is-listing .t { color: var(--text); }
.icu-event-field { grid-area: icu; position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .6rem; font: 400 12px/1.4 var(--mono); }
.icu-event-field a { position: relative; color: var(--text); overflow-wrap: anywhere; }
.icu-event-field a::after { content: ""; position: absolute; left: 0; right: 0; top: min(0px, calc(50% - 22px)); bottom: min(0px, calc(50% - 22px)); }
@media (max-width: 759px) {
    /* phones: a finished event says so by its dates; only a live or listing-only state is shown */
    .ev-done { display: none; }
    .event-row:not(:has(.icu-event-field)) { grid-template-areas: "meta meta" "name state"; }
    /* the year strip holds one row and scrolls, fading at its trailing edge until the end */
    .pager.year-strip ul {
        flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
        position: relative; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter);
        mask-image: linear-gradient(to left, transparent 0, #000 var(--strip-fade));
    }
    .year-strip ul::-webkit-scrollbar { display: none; }
    .year-strip li { flex: none; }
    .year-strip a:focus-visible { outline-offset: -5px; }
    @supports (animation-timeline: scroll()) {
        .pager.year-strip ul { animation: strip-fade linear both; animation-timeline: scroll(self inline); }
    }
}
@media (min-width: 760px) {
    .filter-fields { grid-template-columns: repeat(5, minmax(0, 12rem)); gap: 0 .75rem; }
    .event-row {
        grid-template-columns: 6.5rem minmax(0, 1fr) 6.5rem 6rem 7rem;
        grid-template-areas: "date name format region state" ". icu icu icu icu";
        column-gap: 1rem;
    }
    .event-row { padding: .6rem .75rem; row-gap: .3rem; }
    .event-row:not(:has(.icu-event-field)) { grid-template-areas: "date name format region state"; }
    .ev-meta { display: contents; }
    .ev-meta .sep { display: none; }
    .ev-date { grid-area: date; }
    .ev-format { grid-area: format; }
    .ev-region { grid-area: region; }
    .event-row .t { font-size: 1.3rem; }
}
@media (min-width: 900px) {
    .event-row {
        grid-template-columns: 9rem minmax(0, 1fr) 12rem 8rem 6.5rem 8rem;
        grid-template-areas: "date name town format region state" ". icu icu icu icu icu";
    }
    .event-row:not(:has(.icu-event-field)) { grid-template-areas: "date name town format region state"; }
}

/* News (decision 70): link-grid titles at heading size, an excerpt in prose; the item body is rendered Markdown */
.news-list .t { font-size: 1.3rem; line-height: 1.05; overflow-wrap: anywhere; }
.news-list .excerpt { display: block; margin-top: .45rem; max-width: 72ch; color: var(--text); font: 400 15px/1.5 var(--prose); }
.prose { max-width: 72ch; padding-bottom: .5rem; overflow-wrap: anywhere; }
.prose li, .prose blockquote, .prose td, .prose th { font: 400 16px/1.55 var(--prose); }
.prose h1, .prose h2, .prose h3, .prose h4 { font-size: 1.3rem; margin: 1.5rem 0 .6rem; padding: 0; border: 0; }
.prose blockquote { margin: 0 0 1rem; padding: .1rem 0 .1rem .9rem; border-left: 2px solid var(--rule); color: var(--text); }
.prose pre { margin: 0 0 1rem; padding: .7rem .9rem; overflow-x: auto; background: var(--panel); }
.prose pre code { padding: 0; background: none; overflow-wrap: normal; }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 0 0 1rem; }
.prose > :last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
label { display: block; margin: 0 0 .35rem; font: 600 13px/1.3 var(--sans); color: var(--muted); }
input[type="search"], input[type="text"], input[type="email"], input[type="number"], input:not([type]), select, textarea {
    width: 100%; max-width: 32rem; min-height: 44px; margin: 0; padding: .55rem .7rem;
    background: var(--paper); color: var(--ink); border: 1.5px solid var(--blue-soft); border-radius: 4px;
    font: 400 15px/1.3 var(--sans);
}
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: var(--blue); }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--blue); }
form { margin: 0 0 1.5rem; }
.field { margin: 0 0 1rem; }
.form-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .5rem; }
.form-row input { flex: 1 1 14rem; }
.contact-form textarea { min-height: 10rem; resize: vertical; }
.contact-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Pagination: <nav class="pager" aria-label="Pages"><ul><li><a>…</a></li>… ---------- */
/* Classic blue (W11): pager cells are filter-chip pills, the current one filled ultramarine */
.pager ul { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.pager li { margin: 0; }
.pager a, .pager span {
    display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .9rem;
    border: 1.5px solid var(--blue-soft); border-radius: 4px; background: var(--paper); color: var(--ink); text-decoration: none;
    font: 600 .9rem/1 var(--sans);
}
.pager a:hover { background: var(--blue); color: #FFFFFF; border-color: var(--blue); }
.pager [aria-current="page"] { background: var(--blue); color: #FFFFFF; border-color: var(--blue); }
.pager span:not([aria-current]) { color: var(--muted); border-color: var(--rule); }

/* ---------- Signature motion: rows rank in (the split-flap score flip is retired, W10c) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .row { animation: rank-in .55s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 50ms); }
    @keyframes rank-in {
        from { clip-path: inset(0 0 100% 0); transform: translateY(-8px); }
        to { clip-path: inset(0 0 0 0); transform: none; }
    }
}

/* ---------- Home ---------- */
.lower { display: grid; gap: 0 2.5rem; }
/* One block per open tournament: its name heads the block, its results/upcoming/divisions are h3s. */
.sect-head h3, .div-name h4 { margin: 0; }
.pagehead h1 a { color: inherit; text-decoration: none; }
.pagehead h1 a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
/* Results grouped by match date: the date heads its rows (LATEST sits on the newest date), so a
   row never repeats it: phones drop it from the meta line, desktop drops the date column. */
.sect-head h2 a, .sec-head h2 a { color: inherit; text-decoration: none; }
.sect-head h2 a:hover, .sec-head h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Breakpoints ---------- */
@media (max-width: 899px) {
    .drop-md { display: none; }
}
@media (min-width: 760px) {
    :root { --gutter: 28px; }
    .pagehead { padding: 2.25rem 0 1.5rem; }
    .pagehead.is-hero { padding: 2.75rem 0 1.75rem; }
    .colhead, .row-link {
        grid-template-columns: 9rem 14rem minmax(0, 1fr) 7.5rem minmax(0, 1fr) 6rem;
        grid-template-areas: "date div home score away flag";
        column-gap: 1rem;
    }
    .colhead { display: grid; padding: .6rem .75rem; border-bottom: 1px solid var(--rule); }
    .colhead .h-home { text-align: right; }
    .colhead .h-score { text-align: center; }
    .c-meta { display: contents; }
    .c-date { grid-area: date; }
    .c-div { grid-area: div; }
    .c-div abbr { display: none; }
    .c-div .full { display: inline; color: var(--text); }
    .c-div .on-phone { display: none; }
    .c-flag { grid-area: flag; }
    .row-link { padding: .55rem .75rem; }
    .c-home, .c-away { font-size: 1.45rem; }
    .segs { grid-template-columns: 2fr repeat(3, minmax(0, 1fr)); }
    .seg.wide { grid-column: auto; }
    .bd-player { font-size: 17px; }
    .boards-head, .bd { grid-template-columns: 2.4rem minmax(0, 1fr) 3.6rem minmax(0, 1fr); gap: .5rem; }
    .drow-name { font-size: 1.35rem; }
    .linkgrid.two { grid-template-columns: 1fr 1fr; }
    .linkgrid.two a { border-bottom: 0; }
    .linkgrid.two a:first-child { border-right: 1px solid var(--rule); }
    table { font-size: 14px; }
}
@media (min-width: 1100px) {
    .lower { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto 1fr; grid-template-areas: "divs news" "divs past"; align-items: start; }
    .lower:not(:has(.lower-divs)) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "news past"; }
    /* Past seasons alone: full width, its two links side by side (no empty half beside it) */
    .lower:not(:has(.lower-divs, .lower-news)) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "past"; }
    .div { grid-template-columns: 3.4rem minmax(0, 1fr) auto; grid-template-areas: "code name acts"; }
    /* division board: one departures row per division under a mono column head */
}

/* ==========================================================================
   Page-group additions (folded from the W2-W4 page-scoped style blocks).
   Scoped by layout with zero-specificity :where(), so the cascade matches
   the old in-page \3c style> blocks: .site-main = live site, .archive-main = archive.
   ========================================================================== */

/* A wide table's caption stays inside the phone viewport */
.table-scroll > table > caption { max-width: calc(100vw - 2 * var(--gutter)); }

/* ---------- Live: result boards, match pass, club team rows ---------- */
/* Board rows that hold their own links (team names, the score) instead of one row link */
:where(.site-main) .row-link .c-home a,
:where(.site-main) .row-link .c-away a,
:where(.site-main) .c-div a { color: inherit; text-decoration: none; }
:where(.site-main) .row-link .c-home a:hover,
:where(.site-main) .row-link .c-away a:hover,
:where(.site-main) .c-div a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
:where(.site-main) .row-link .c-home,
:where(.site-main) .row-link .c-away,
:where(.site-main) .pass-team { overflow-wrap: anywhere; hyphens: auto; }
:where(.site-main) .c-meta .moved { margin-top: 0; }
:where(.site-main) .c-meta .c-flag { order: 3; }
/* Player record rows: the player's own game first (their result beside the opponent, board
   and colour under the name), then the team match it was part of as a quieter line that links to
   the match, so their result never reads as the team score */
:where(.site-main) .games .row-link {
    grid-template-columns: 5.4rem minmax(0, 1fr);
    grid-template-areas: "meta meta" "score opp" "score det" "match match";
    column-gap: .75rem; row-gap: .2rem;
}
:where(.site-main) .m-team a { color: inherit; text-decoration: none; }
:where(.site-main) .m-team a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:where(.site-main) .m-team.is-own { color: var(--strong); }
/* Match pass: the h1 carries both teams and the score */
:where(.site-main) .pass > h1,
:where(.site-main) .pass > h2 { margin: 0; padding: 0; border: 0; font: inherit; letter-spacing: normal; text-transform: none; }
:where(.site-main) .pass-team { display: block; font-size: clamp(1.35rem, 5.6vw, 2.6rem); }
:where(.site-main) .boards-head { letter-spacing: 0; }
:where(.site-main) .pass-team a { color: inherit; text-decoration: none; }
:where(.site-main) .pass-team a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
:where(.site-main) .pass .segs { display: flex; flex-wrap: wrap; }
:where(.site-main) .pass .seg { flex: 1 1 8rem; }
:where(.site-main) .pass .seg.wide { flex-basis: 100%; }
:where(.site-main) .pass .seg.when { flex-basis: 15rem; }
:where(.site-main) .pass .seg.is-lit { box-shadow: inset 0 0 0 1px var(--alert-line); }
:where(.site-main) .pass .seg dd strong { font-weight: 700; }
:where(.site-main) .boards-note { margin: 0; padding: .9rem .9rem 0; max-width: none; }
:where(.site-main) .bd-note { grid-row: 2; grid-column: 1 / -1; text-align: center; text-transform: none; letter-spacing: 0; font-size: .8rem; }
:where(.site-main) .bd-total { border-top: 2px solid var(--rule); padding-top: .7rem; padding-bottom: .9rem; }
:where(.site-main) .bd-total .label { grid-column: 1 / 3; text-align: right; padding-right: .75rem; }
/* The total ("4½–3½", "10½–9½") is wider than the 3rem result column on phones: it grows to its
   content, stays centred on the column, and spills into the gaps instead of clipping. A Classic blue
   score: ultramarine numerals, no box (W10c: the blue flap cell is retired). */
:where(.site-main) .bd-total .bd-res { grid-column: 3; justify-self: center; width: max-content; min-width: 100%; padding-inline: .3rem; background: none; color: var(--blue); font-family: var(--display); font-weight: 700; }
/* Lists of teams (club page) reuse the division rows without the button row */
:where(.site-main) .divs .div:not(:has(.div-acts)) { grid-template-areas: "code name"; }
:where(.site-main) .div-name h3 a { color: inherit; text-decoration: none; }
:where(.site-main) .div-name h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
:where(.site-main) .div-name .label a { color: inherit; }
@media (min-width: 760px) {
    :where(.site-main) .c-meta .c-flag { order: 0; }
    /* desktop: one departures row per game, the team match in its own right-hand column */
    :where(.site-main) .colhead:has(+ .games),
    :where(.site-main) .games .row-link { grid-template-columns: 9rem 14rem 7.5rem minmax(0, 1fr) minmax(0, 1.1fr); }
    :where(.site-main) .games .row-link { grid-template-areas: "date div score opp match" "flag flag score det match"; row-gap: .25rem; padding-block: .7rem; }
    /* date and division sit on the opponent's line; a moved chip goes under them */
    :where(.site-main) .games :is(.c-date, .c-div) { align-self: end; padding-bottom: .2rem; }
    :where(.site-main) .games .c-flag { align-self: start; }
    :where(.site-main) .pass .seg.wide { flex-basis: 16rem; flex-grow: 2; }
}

/* ---------- Live: standings (sticky position + team) ---------- */
/* Position and team stay in view while the numbers scroll on a phone */
:where(.site-main) .standings tbody th.team { white-space: normal; text-align: left; }
:where(.site-main) .standings .pos,
:where(.site-main) .standings .team { position: sticky; z-index: 1; background: var(--panel); }
:where(.site-main) .standings .pos { left: 0; min-width: 2.25rem; }
:where(.site-main) .standings .team { left: 2.25rem; box-shadow: 1px 0 0 var(--rule); }
:where(.site-main) .standings tbody tr:hover > .pos,
:where(.site-main) .standings tbody tr:hover > .team { background: var(--panel-2); }
:where(.site-main) .standings .team a { color: var(--strong); }
:where(.site-main) .standings .team .chip { margin-left: .35rem; font-size: 11px; }
:where(.site-main) .standings thead th.pts { font: 500 11px/1.3 var(--mono); }
/* Promotion, play-off and relegation lines (decision 50): a heavier rule under the last place of
   each zone, told apart by style (solid, dashed, double) and named in the key, never by colour */
:where(.site-main) .standings tbody tr.line-promotion > * { border-bottom: 2px solid var(--strong); }
:where(.site-main) .standings tbody tr.line-playoff > * { border-bottom: 2px dashed var(--strong); }
:where(.site-main) .standings tbody tr.line-relegation > * { border-bottom: 3px double var(--strong); }
:where(.site-main) .standings-key {
    list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
    font: 400 .86rem/1.4 var(--sans); color: var(--muted);
}
:where(.site-main) .standings-key li { margin: 0; }
/* Desktop: the table keeps to its content (at least 44rem) instead of spreading Pts ~1000px from the team */
@media (min-width: 760px) {
    :where(.site-main) .table-scroll.is-fit { width: fit-content; min-width: min(100%, 44rem); }
    :where(.site-main) .table-scroll.is-fit > .standings { width: 100%; }
}
/* The visible key to the abbreviated column heads */
:where(.site-main) .col-key {
    display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; margin: -.5rem 0 1rem; padding: 0;
    font: 400 12px/1.4 var(--mono); color: var(--muted);
}
:where(.site-main) .col-key div { display: flex; align-items: baseline; gap: .4rem; }
:where(.site-main) .col-key dt { margin: 0; font: 700 13px/1.4 var(--mono); color: var(--text); }
:where(.site-main) .col-key dd { margin: 0; }
:where(.site-main) .standings-key .key-line { display: inline-block; width: 1.75rem; margin-right: .5rem; vertical-align: middle; }
:where(.site-main) .standings-key .key-line.line-promotion { border-bottom: 2px solid var(--strong); }
:where(.site-main) .standings-key .key-line.line-playoff { border-bottom: 2px dashed var(--strong); }
:where(.site-main) .standings-key .key-line.line-relegation { border-bottom: 3px double var(--strong); }
/* "How the table is calculated": the division's Pts rule, closed under the table, as wide as the fitted table */
:where(.site-main) .pts-rule { max-width: 44rem; }
:where(.site-main) .pts-rule > p, :where(.site-main) .pts-rule li { max-width: 27rem; font: 400 15px/1.5 var(--prose); color: var(--text); }
:where(.site-main) .pts-rule > p:first-of-type { margin-top: .8rem; }
:where(.site-main) .pts-rule > ol { padding-left: 1.3rem; margin-bottom: .9rem; }
/* Under 420px the points column moves up beside the team (visual order only: the markup, the
   column order for screen readers and every value stay as they are). Each row becomes a grid of
   fixed tracks so the columns still line up; Pos, Team and Pts stay pinned while the rest scroll. */
@media (max-width: 419px) {
    :where(.site-main) .standings { display: block; width: max-content; min-width: 100%; }
    :where(.site-main) .standings > thead, :where(.site-main) .standings > tbody { display: block; }
    :where(.site-main) .standings tr {
        display: grid; grid-template-columns: 2.25rem 8.75rem 3.25rem;
        grid-auto-flow: column; grid-auto-columns: 3.5rem;
    }
    :where(.site-main) .standings tr > * { display: flex; align-items: center; justify-content: flex-end; min-width: 0; }
    :where(.site-main) .standings tr > .team { justify-content: flex-start; flex-wrap: wrap; min-width: 0; }
    :where(.site-main) .standings thead tr > * { align-items: flex-end; }
    :where(.site-main) .standings .pts {
        grid-column: 3; grid-row: 1; position: sticky; left: 11rem; z-index: 1;
        background: var(--panel); box-shadow: 1px 0 0 var(--rule);
    }
    :where(.site-main) .standings .team { box-shadow: none; }
    :where(.site-main) .standings tbody tr:hover > .pts { background: var(--panel-2); }
}

/* ---------- Live: seasons index ---------- */
/* Page-scoped: compact season rows, two columns of archive seasons from 760px */
@media (min-width: 760px) {
    :where(.site-main) .linkgrid.seasons { grid-template-columns: 1fr 1fr; column-gap: 1px; background: var(--rule); }
    :where(.site-main) .linkgrid.seasons a { background: var(--panel); }
    :where(.site-main) .linkgrid.seasons a:hover { background: var(--panel-2); }
    :where(.site-main) .linkgrid.seasons a:last-child { border-bottom: 1px solid var(--rule); }
}

/* ---------- Live: published ratings and the points table ---------- */
/* A rating beside a player's name (match card, player page): small, muted, never wraps */
:where(.site-main) .rtg { flex: none; margin-left: .35rem; font: 400 12px/1 var(--mono); letter-spacing: 0; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* On a match card the name keeps the column's width: the rating sits under it on a phone, beside it from 760px */
:where(.site-main) .bd-pn { min-width: 0; }
:where(.site-main) .bd-pn .rtg { display: block; margin: .2rem 0 0; }
@media (min-width: 760px) {
    :where(.site-main) .bd-pn .rtg { display: inline; margin: 0 0 0 .4rem; }
}
/* Rating history (decision 55): an inline-SVG chart (archive years: muted line, round marks; live
   season: strong line, square marks) over a short Season / year · Rating · From table */
:where(.site-main) .rchart { margin: 0 0 1rem; padding: .6rem .5rem .5rem; max-width: 40rem; background: var(--panel); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
:where(.site-main) .rchart svg { display: block; width: 100%; height: auto; overflow: visible; }
:where(.site-main) .rc-grid line { stroke: var(--rule); stroke-width: 1; }
:where(.site-main) .rc-grid text { fill: var(--muted); font: 400 12px var(--mono); }
/* the chart scales with its width: axis text keeps at least 11px as drawn on a phone without growing huge on a desktop */
@media (max-width: 389px) { :where(.site-main) .rc-grid text { font-size: 13px; } }
@media (min-width: 480px) { :where(.site-main) .rc-grid text { font-size: 10px; } }
@media (min-width: 600px) { :where(.site-main) .rc-grid text { font-size: 8px; } }
:where(.site-main) .rc-arch { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linejoin: round; }
:where(.site-main) .rc-arch-pt { fill: var(--panel); stroke: var(--muted); stroke-width: 1.5; }
:where(.site-main) .rc-live { fill: none; stroke: var(--strong); stroke-width: 2; }
:where(.site-main) .rc-live-pt { fill: var(--strong); }
:where(.site-main) .rc-key { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin-top: .4rem; font: 400 .86rem/1.3 var(--sans); color: var(--muted); }
:where(.site-main) .rc-key span::before { content: ""; display: inline-block; width: .55rem; height: .55rem; margin-right: .4rem; vertical-align: baseline; }
:where(.site-main) .rc-k-arch::before { border: 1.5px solid var(--muted); border-radius: 50%; }
:where(.site-main) .rc-k-live::before { background: var(--strong); }
:where(.site-main) .ratings { width: auto; min-width: 16rem; font-size: 14px; }
:where(.site-main) .ratings th, :where(.site-main) .ratings td { padding: .5rem .7rem; text-align: left; white-space: nowrap; }
:where(.site-main) .ratings .num { text-align: right; }
:where(.site-main) .ratings tbody th { font-weight: 400; color: var(--text); }
/* Points: <table class="points"> — #, player, team, rating, P W D L, Pts; # and player stay in view while the rest scroll */
:where(.site-main) .points { font-size: 14px; }
:where(.site-main) .points th, :where(.site-main) .points td { padding: .55rem .5rem; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
:where(.site-main) .points .player, :where(.site-main) .points .team { text-align: left; white-space: normal; }
:where(.site-main) .points tbody .player { font: 600 1.05rem/1.15 var(--display); letter-spacing: 0; color: var(--strong); min-width: 9rem; }
:where(.site-main) .points tbody .player a { color: var(--strong); }
:where(.site-main) .points .team { min-width: 8rem; }
:where(.site-main) .points .team .chip { margin-left: .35rem; font-size: 11px; }
:where(.site-main) .points .pos { width: 2.25rem; min-width: 2.25rem; color: var(--muted); font-weight: 700; }
:where(.site-main) .points .pos, :where(.site-main) .points .player { position: sticky; z-index: 1; background: var(--panel); }
:where(.site-main) .points .pos { left: 0; }
:where(.site-main) .points .player { left: 2.25rem; box-shadow: 1px 0 0 var(--rule); }
:where(.site-main) .points tbody tr:hover > .pos, :where(.site-main) .points tbody tr:hover > .player { background: var(--panel-2); }
:where(.site-main) .points .rating { color: var(--muted); }
:where(.site-main) .points td.pts { font: 700 1.2rem/1 var(--display); color: var(--strong); }
:where(.site-main) .points thead th.pts { font: 500 11px/1.3 var(--mono); }
:where(.site-main) .points .pt-team { display: none; }
/* Under 420px the team moves under the player's name (the Team column is then hidden; the
   name cell's copy is aria-hidden, so it is read once at every width) and the cells tighten so
   Pts fits a 375px screen */
@media (max-width: 419px) {
    :where(.site-main) .points .team { display: none; }
    :where(.site-main) .points th, :where(.site-main) .points td { padding: .5rem .25rem; }
    :where(.site-main) .points .pos { width: 1.75rem; min-width: 1.75rem; }
    :where(.site-main) .points .player { left: 1.75rem; }
    :where(.site-main) .points tbody .player { min-width: 7rem; max-width: 8.5rem; }
    :where(.site-main) .points .pt-team { display: block; margin-top: .2rem; font: 400 11px/1.3 var(--mono); letter-spacing: 0; color: var(--muted); }
}

/* ---------- Archive: competitions, cross tables, cups ---------- */
:where(.archive-main) .pub td[data-exact] { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
:where(.archive-main) .pub thead th { white-space: nowrap; }
:where(.archive-main) .pub thead th:nth-child(n+3) { text-align: right; }
:where(.archive-main) .pub.is-points thead th:nth-child(3),
:where(.archive-main) .pub thead th.x { text-align: left; }
:where(.archive-main) .pub tbody td:first-child { width: 2.25rem; text-align: right; color: var(--muted); font-weight: 700; }
:where(.archive-main) .pub tbody td:not([data-exact]):not(:first-child):not(.x) { min-width: 9rem; font: 600 1.05rem/1.15 var(--display); letter-spacing: 0; color: var(--strong); }
/* Team names take the live tables' team role (display face, as published: no uppercase since W10c):
   the team column of a published standings table (the second) and of a points table (the third). */
:where(.archive-main) .pub:not(.is-points) tbody td:nth-child(2):not([data-exact]),
:where(.archive-main) .pub.is-points tbody td:nth-child(3):not([data-exact]) { text-transform: none; }
:where(.archive-main) .pub tbody td:nth-child(2),
:where(.archive-main) .pub thead th:nth-child(2) { position: sticky; left: 0; z-index: 1; background: var(--panel); box-shadow: 1px 0 0 var(--rule); }
:where(.archive-main) .pub tbody tr:hover > td:nth-child(2) { background: var(--panel-2); }
:where(.archive-main) .pub.x0 tbody td:last-child,
:where(.archive-main) .pub.x1 tbody td:nth-last-child(2),
:where(.archive-main) .pub.x2 tbody td:nth-last-child(3) { font: 700 1.2rem/1 var(--display); color: var(--strong); }
:where(.archive-main) .pub.x0 thead th:last-child,
:where(.archive-main) .pub.x1 thead th:nth-last-child(2),
:where(.archive-main) .pub.x2 thead th:nth-last-child(3) { color: var(--strong); }
:where(.archive-main) .pub .x { font: 400 12px/1.4 var(--mono); color: var(--muted); white-space: nowrap; }
:where(.archive-main) .pub td.x a { color: var(--text); }
/* Archive standings on a phone: as the live table under 420px, each row becomes a grid of fixed
   tracks so the published Pts column (always last, before the site's own columns) sits beside the
   team, pinned with position and team while the other published columns scroll. Visual order only:
   the markup, the published column order and reading order are unchanged. */
@media (max-width: 599px) {
    :where(.archive-main) .pub.is-standings { display: block; width: max-content; min-width: 100%; }
    :where(.archive-main) .pub.is-standings > :is(caption, thead, tbody) { display: block; }
    :where(.archive-main) .pub.is-standings tr {
        display: grid; grid-template-columns: 2.25rem 9rem 3.75rem;
        grid-auto-flow: column; grid-auto-columns: 3.5rem;
    }
    :where(.archive-main) .pub.is-standings tr > * { display: flex; align-items: center; justify-content: flex-end; min-width: 0; padding-left: .4rem; padding-right: .4rem; }
    :where(.archive-main) .pub.is-standings thead tr > * { align-items: flex-end; white-space: normal; }
    :where(.archive-main) .pub.is-standings tr > :first-child { position: sticky; left: 0; z-index: 1; width: auto; background: var(--panel); }
    :where(.archive-main) .pub.is-standings tr > :nth-child(2) { left: 2.25rem; justify-content: flex-start; text-align: left; box-shadow: none; }
    :where(.archive-main) .pub.is-standings.x0 tr > :last-child,
    :where(.archive-main) .pub.is-standings.x1 tr > :nth-last-child(2),
    :where(.archive-main) .pub.is-standings.x2 tr > :nth-last-child(3) {
        grid-column: 3; grid-row: 1; position: sticky; left: 11.25rem; z-index: 1;
        background: var(--panel); box-shadow: 1px 0 0 var(--rule);
    }
    :where(.archive-main) .pub.is-standings tr > .x { grid-column: span 2; justify-content: flex-start; text-align: left; }
    :where(.archive-main) .pub.is-standings tbody tr:hover > :is(:first-child, :nth-child(2)),
    :where(.archive-main) .pub.is-standings.x0 tbody tr:hover > :last-child,
    :where(.archive-main) .pub.is-standings.x1 tbody tr:hover > :nth-last-child(2),
    :where(.archive-main) .pub.is-standings.x2 tbody tr:hover > :nth-last-child(3) { background: var(--panel-2); }
}
:where(.archive-main) .grid:not(.is-raw) td[colspan] { min-width: 16rem; white-space: normal; text-align: left; line-height: 1.55; }
:where(.archive-main) .grid:not(.is-raw):has(td[colspan]) td:not([colspan]) { min-width: 2.25rem; }
:where(.archive-main) .vers { list-style: none; margin: 0 0 1.25rem; padding: 0; background: var(--panel); }
:where(.archive-main) .vers li { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; margin: 0; padding: .7rem .9rem; min-height: 44px; border-bottom: 1px solid var(--rule); font: 500 13px/1.4 var(--mono); }
:where(.archive-main) .vers li:last-child { border-bottom: 0; }
:where(.archive-main) .vers strong { color: var(--strong); }
:where(.archive-main) .issues { list-style: none; padding: 0; }
:where(.archive-main) .issues li { margin: 0 0 .5rem; }
:where(.archive-main) .cup-name { min-width: 10rem; text-transform: none; }
/* Under 420px the cup name column narrows so the cups table (with its Winner/Ties columns) fits 390px (p1fix 6 follow-up) */
@media (max-width: 419px) { :where(.archive-main) .cup-name { min-width: 8rem; } }
:where(.archive-main) .decision-title { margin: 0; padding: 1rem .9rem .9rem; text-transform: none; font-size: clamp(1.3rem, 5vw, 1.75rem); }
:where(.archive-main) .decision .segs { grid-template-columns: minmax(0, 1fr); }
:where(.archive-main) .decision .seg dd { text-transform: none; }
:where(.archive-main) .decision-note { margin: .75rem .9rem; }
:where(.archive-main) .pubs { list-style: none; margin: 0; padding: 0 0 .25rem; }
:where(.archive-main) .pubs li { display: grid; gap: .35rem; margin: 0; padding: .7rem .9rem; border-top: 1px dashed var(--rule); }
:where(.archive-main) .pubs li:first-child { border-top: 0; }
:where(.archive-main) .pub-win { font: 600 1.1rem/1.1 var(--display); letter-spacing: 0; color: var(--strong); }
:where(.archive-main) .pub-res { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font: 400 13px/1.4 var(--mono); color: var(--text); }
@media (min-width: 760px) {
    :where(.archive-main) .linkgrid.many { grid-template-columns: 1fr 1fr; column-gap: 1px; background: var(--rule); }
    :where(.archive-main) .linkgrid.many a { background: var(--panel); border-bottom: 0; margin-bottom: 1px; }
    :where(.archive-main) .linkgrid.many a:hover { background: var(--panel-2); }
}
@media (min-width: 1100px) {
    :where(.archive-main) .linkgrid.many { grid-template-columns: 1fr 1fr 1fr; }
}

/* ---------- Archive: fixtures, scorecards, players, clubs, provenance ---------- */
/* Archive fixtures, players, clubs: additions on the shared tokens */
:where(.archive-main) .board-cap { margin: 0 0 .6rem; }
/* Under a published table: one line saying its figures are the source's, not recalculated */
:where(.archive-main) .pub-note { margin: -.6rem 0 1rem; max-width: 70ch; font: 400 14px/1.45 var(--prose); color: var(--muted); }
/* Archive match pass: the live pass grammar (plain-text sr-only h1, segments that wrap, the score
   above the names on phones); team links keep the live hover */
:where(.archive-main) .pass-team a { color: inherit; text-decoration: none; }
:where(.archive-main) .pass-team a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
:where(.archive-main) .pass-h { margin: 0; padding: 0; border: 0; font: inherit; text-transform: none; letter-spacing: 0; }
:where(.archive-main) .pass.is-archive .pass-team { font-size: clamp(1.3rem, 5.4vw, 2.6rem); overflow-wrap: normal; hyphens: manual; }
:where(.archive-main) .is-archive .boards-head,
:where(.archive-main) .is-archive .bd,
:where(.archive-main) .is-archive .boards-sub { grid-template-columns: 2rem minmax(0, 1fr) 4.6rem minmax(0, 1fr); }
:where(.archive-main) .is-archive .bd-res { font-size: 1.05rem; padding: .4rem .15rem; }
:where(.archive-main) table.pubs td:first-child { min-width: 13rem; }
:where(.archive-main) .pass-sect { padding: .9rem .9rem 0; }
:where(.archive-main) .pass-sect > h2,
:where(.archive-main) .pass-sect > h3 { margin: 0 0 .5rem; padding: 0; border: 0; font: 500 13px/1.3 var(--mono); color: var(--muted); }
:where(.archive-main) .pass.is-archive > .segs { display: flex; flex-wrap: wrap; } /* competition, then round · date · (status) · publications */
:where(.archive-main) .pass.is-archive > .segs .seg { flex: 1 1 8rem; }
:where(.archive-main) .pass.is-archive > .segs .seg.wide { flex-basis: 100%; }
:where(.archive-main) .pass.is-archive .seg dd strong { font-weight: 700; }
:where(.archive-main) .pass.is-archive .note { margin: .9rem .9rem 0; }
:where(.archive-main) .pass.is-archive .note h2 { margin: 0 0 .5rem; padding: 0; border: 0; font-size: 1.2rem; }
:where(.archive-main) .pass.is-archive .note ul { margin-bottom: 0; }
:where(.archive-main) .pass.is-archive > .source-gap { margin: .9rem; }
:where(.archive-main) .bd-meta { grid-column: 2 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: .5rem; align-items: baseline; font: 400 11px/1.35 var(--mono); color: var(--muted); }
:where(.archive-main) .bd-meta .a { text-align: right; }
:where(.archive-main) .bd-meta .s { text-align: center; letter-spacing: 0; text-transform: none; }
:where(.archive-main) .bd-meta .s .chip { font-size: 11px; }
:where(.archive-main) .bd-name { min-width: 0; }
:where(.archive-main) .bd-name small { display: block; font: 400 11px/1.3 var(--mono); }
/* A board's player link is a real 44px-tall box (QA #15, round 3: the invisible hit area it grew before
   did not count as its box and reached over the code/rating line below); the row's padding gives part
   of the height back, and a long name breaks rather than widen the strip at 200 % text */
:where(.archive-main) .bd-name a { display: inline-flex; align-items: center; min-height: 44px; min-width: min(44px, 100%); overflow-wrap: anywhere; }
:where(.archive-main) .bd-player.away .bd-name a { justify-content: flex-end; }
:where(.archive-main) .is-archive .bd { padding-block: .15rem .45rem; }
:where(.archive-main) .bd-player .sq.is-gap { visibility: hidden; }
:where(.archive-main) .boards-head.has-meta { padding-bottom: .1rem; }
:where(.archive-main) .boards-sub { padding: 0 .9rem .45rem; display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto minmax(0, 1fr); gap: .45rem; }
:where(.archive-main) .boards-sub .s { grid-column: 3; text-align: center; }
:where(.archive-main) .boards-sub .a { text-align: right; }
:where(.archive-main) .team-list { list-style: none; margin: 0 0 1.25rem; padding: 0; background: var(--panel); }
:where(.archive-main) .team-list > li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin: 0; padding: .8rem .9rem; border-bottom: 1px solid var(--rule); }
:where(.archive-main) .team-list > li:last-child { border-bottom: 0; }
:where(.archive-main) .team-list .t { font: 700 1.2rem/1.15 var(--display); letter-spacing: 0; text-transform: none; color: var(--strong); text-decoration: none; }
:where(.archive-main) .team-list a.t:hover { text-decoration: underline; text-underline-offset: 4px; }
:where(.archive-main) .team-list .btn-row { margin: 0; }
:where(.archive-main) .team-list .label { display: block; margin-top: .2rem; }
:where(.archive-main) .team-list .match-meta { display: block; margin-top: .25rem; font: 400 12px/1.4 var(--mono); color: var(--muted); }
:where(.archive-main) .panelbox { margin: 0 0 1.25rem; padding: .3rem .9rem .9rem; background: var(--panel); border: 1px solid var(--rule); }
:where(.archive-main) .panelbox .kv { margin: .6rem 0 0; }
:where(.archive-main) .panelbox .kv dt { margin-top: .15rem; }
:where(.archive-main) .panelbox > :last-child { margin-bottom: 0; }
:where(.archive-main) .kv-blank { margin: .9rem 0 0; padding-top: .7rem; border-top: 1px dashed var(--rule); font-size: 15px; color: var(--muted); }
:where(.archive-main) .kv-blank .label { margin-right: .5rem; }
:where(.archive-main) .chiplist { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0 0 1rem; padding: 0; }
:where(.archive-main) .chiplist > li { margin: 0; }
:where(.archive-main) .linkgrid > .static { display: grid; grid-template-columns: minmax(0, 1fr); padding: 1rem .9rem; border-bottom: 1px solid var(--rule); }
:where(.archive-main) .linkgrid > :last-child { border-bottom: 0; }
/* Archive player: the career strip (pass segments: counts of the published game rows), the team
   under each competition record, and the closed "Source and provenance" panel */
:where(.archive-main) .segs.career { display: flex; flex-wrap: wrap; border: 1px solid var(--rule); }
:where(.archive-main) .segs.career .seg { flex: 1 1 calc(25% - 1px); }
:where(.archive-main) .segs.career .seg.wide { flex-basis: 100%; }
:where(.archive-main) .segs.career dd { font: 700 1.05rem/1.3 var(--sans); }
:where(.archive-main) .career-span { margin-left: .35rem; font-weight: 600; font-size: 1.25rem; color: var(--muted); }
:where(.archive-main) .career-note { margin: .6rem 0 0; }
:where(.archive-main) .career-note + .btn-row { margin-top: 1rem; }
:where(.archive-main) .records .rec-team { display: block; margin-top: .2rem; font: 600 1.05rem/1.1 var(--display); letter-spacing: 0; text-transform: none; color: var(--text); }
:where(.archive-main) details.provenance { margin-top: 2rem; }
:where(.archive-main) .provenance-body h3 { margin: 1.25rem 0 .5rem; font-size: 1.1rem; }
:where(.archive-main) .provenance-body > :first-child { margin-top: .9rem; }
@media (min-width: 760px) {
    :where(.archive-main) .segs.career .seg { flex-basis: 7rem; }
    :where(.archive-main) .segs.career .seg.wide { flex: 2 1 14rem; }
}
:where(.archive-main) .panelbox > h3:first-child { margin-top: .9rem; }
:where(.archive-main) table.raw td { white-space: nowrap; }
:where(.archive-main) .raw-line { display: flex; flex-wrap: wrap; gap: .2rem 1.25rem; margin: 0 0 1rem; font: 400 .92rem/1.35 var(--sans); }
:where(.archive-main) table.names thead th:nth-child(n+2):nth-child(-n+4) { text-align: right; }
:where(.archive-main) .search-forms { display: grid; gap: 0 2rem; }
:where(.archive-main) .search-forms form { margin: 0 0 1.25rem; }
:where(.archive-main) .form-errors { padding-left: 2rem; }
:where(.archive-main) .unresolved-list { list-style: none; margin: 0 0 1.25rem; padding: 0; background: var(--panel); }
:where(.archive-main) .unresolved-list > li { margin: 0; padding: .7rem .9rem; border-bottom: 1px solid var(--rule); font-size: 14px; }
:where(.archive-main) .unresolved-list > li:last-child { border-bottom: 0; }
@media (max-width: 599px) {
    :where(.archive-main) .panelbox .kv { grid-template-columns: minmax(0, 1fr); gap: 0; }
    :where(.archive-main) .panelbox .kv dt { margin-top: .7rem; }
    :where(.archive-main) .panelbox .kv dt:first-child { margin-top: .2rem; }
}
@media (min-width: 760px) {
    :where(.archive-main) .search-forms { grid-template-columns: 1fr 1fr; }
    /* fixtures under round heads: the round is the section's h2, so the row drops its round column */
    :where(.archive-main) .boards-sub { gap: .5rem; }
    :where(.archive-main) .is-archive .boards-head,
    :where(.archive-main) .is-archive .bd,
    :where(.archive-main) .is-archive .boards-sub { grid-template-columns: 2.4rem minmax(0, 1fr) 5.6rem minmax(0, 1fr); }
    :where(.archive-main) .is-archive .bd-res { font-size: 1.2rem; }
    :where(.archive-main) .pass.is-archive > .segs .seg.wide { flex-basis: 16rem; flex-grow: 2; }
    :where(.archive-main) .panelbox .kv dt { margin-top: 0; }
}

/* ---------- Finish review, round 1 ---------- */
/* Archive fixture rows: status and publication count read as two items */
:where(.archive-main) .c-flag .label + .label::before { content: "·"; margin-right: .35rem; color: var(--steel); }
/* Club page: the team is the row's title (display face, a 44px link), its division the mono line
   under it; the division code chip is the link to the division and inverts on hover like the picker */
:where(.site-main) .divs.teams .div-name h3 a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
:where(.site-main) .divs.teams .div-name h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
:where(.site-main) .divs.teams .div-name .label { margin-top: -.3rem; }
/* Values inside key/value lists and pass segments: code runs inline with the text */
.kv dd code, .seg dd code { background: none; padding: 0; font-size: inherit; }
/* Live standings, player points and cross table: the page head already names the table; the caption stays for screen readers */
.site-main .table-scroll > table.standings > caption,
.site-main :is(.table-scroll, .grid-scroll) > table > caption.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;
}

/* Live club page: published club details; long contact addresses wrap inside a phone viewport */
:where(.site-main) .club-details dd { overflow-wrap: anywhere; }

/* ---------- Events (national phase 2c): event head, sections, individual standings ----------
   Rk and Name stay put while the rest of the table scrolls inside its panel; Rk has a fixed
   width so Name can stick right after it. Tiebreak headers are TB1… with the legend below. */
.event-gap { max-width: none; }
.event-standings { font-size: 14px; }
.event-standings th, .event-standings td { padding: .55rem .5rem; white-space: nowrap; text-align: right; vertical-align: middle; }
.event-standings th.rk, .event-standings td.rk {
    position: sticky; left: 0; z-index: 1; box-sizing: border-box;
    width: 2.75rem; min-width: 2.75rem; max-width: 2.75rem; background: var(--panel); color: var(--muted); font-weight: 700;
}
.event-standings th.name {
    position: sticky; left: 2.75rem; z-index: 1; background: var(--panel); box-shadow: 1px 0 0 var(--rule);
    text-align: left; white-space: normal; min-width: 9.5rem;
}
.event-standings tbody th.name { font: 600 15px/1.25 var(--prose); letter-spacing: 0; color: var(--strong); }
.event-standings.is-compact th.name { width: 100%; }
.event-standings .pts { font: 700 1.2rem/1 var(--display); color: var(--strong); }
.event-standings thead .pts { font: inherit; color: inherit; }
.site-main .table-scroll > table.event-standings > caption {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.event-standings .ttl { font: 700 11px/1 var(--mono); letter-spacing: .08em; color: var(--muted); }
.event-standings .tb { font-variant-numeric: tabular-nums; }
.event-standings .chip { margin-left: .3rem; }
/* A person's events (players/partials/event-list): section, team and dates under the event name */
.person-events .ev-sub { display: block; margin-top: .15rem; font: 400 13px/1.35 var(--sans); color: var(--ink-2); }
.person-events .ev-sub a { font-weight: 500; }
.tb-legend { margin: 0 0 1.25rem; font-size: 14px; }
.tb-legend dd { color: var(--text); }
/* Team sections (national phase 3): roster grid round columns, match list. */
.team-roster th.rd { text-align: center; vertical-align: bottom; }
.team-roster th.rd .opp { display: block; max-width: 7.5rem; margin-top: .2rem; white-space: normal; font: 500 11px/1.2 var(--prose); color: var(--muted); text-align: center; }
/* Cells holding .sr-only text are the containing block, so it never widens a phone's layout viewport. */
.team-roster td.rd { position: relative; text-align: center; }
.team-matches td.pts { position: relative; }
.team-roster .cell-bd { font-size: 11px; }
.team-roster .cell-pts { font-weight: 700; color: var(--strong); }
.team-matches th.name .none, .team-roster .none { color: var(--muted); }

/* ---------- Team events (national phase 3): round board byes, team crosstable ----------
   The crosstable is the Leinster .grid (rank + team sticky in the row header); a Swiss cell is
   opponent rank · H/A (home or away team, not a board colour) · board points. */
.team-byes { margin: 0 0 1.25rem; }
.team-crosstable .xt-rk { display: inline-block; min-width: 1.6rem; color: var(--muted); font-weight: 700; }
.team-crosstable .xt-no { display: inline-block; min-width: 1.4rem; font: 500 11px/1 var(--mono); color: var(--muted); }
.team-crosstable .xt-side { font: 500 11px/1 var(--mono); letter-spacing: .08em; color: var(--muted); }
.team-crosstable .xt-pts { font-weight: 700; color: var(--strong); }
.team-crosstable .xt-none, .team-crosstable .is-empty { color: var(--muted); }
.team-crosstable .tb { font-variant-numeric: tabular-nums; }

/* Round board: the match page's board strip (.boards / .bd) with a result column; byes after */
.event-board .boards-head, .event-board .bd { grid-template-columns: 2rem minmax(0, 1fr) 3.6rem minmax(0, 1fr); }
.event-board.is-unnumbered .boards-head, .event-board.is-unnumbered .bd { grid-template-columns: minmax(0, 1fr) 3.6rem minmax(0, 1fr); }
.event-board.is-unnumbered .bd-no, .event-board.is-unnumbered .boards-head .c { display: none; }
.event-board .bd-no:empty { border-color: transparent; }
.event-board .bd-res { background: none; padding: 0; display: flex; justify-content: center; }
.event-board .bd-pn .ttl { font: 700 11px/1 var(--mono); letter-spacing: .08em; color: var(--muted); }
.event-board .byes-head { margin: 0; padding: .9rem .9rem .45rem; border-top: 2px solid var(--rule); }
.event-board .bye-kind { justify-content: flex-end; }

/* ---------- Events (national phase 2c): crosstable and player card ----------
   The crosstable reuses .event-standings (sticky SNo in the .rk cell, sticky Name); round cells
   are mono `13b½`. The card lists every round: Rd, Bd, colour square, opponent, Rtg, result. */
.event-cross td.rd, .event-cross th.rd { text-align: center; font: 500 13px/1.2 var(--mono); letter-spacing: 0; }
.event-cross td.rd a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.event-cross td.rd a:hover { border-bottom-color: currentColor; }
.rr-cross td.rd, .rr-cross th.rd { text-align: center; font: 500 13px/1.2 var(--mono); letter-spacing: 0; min-width: 2rem; }
.rr-cross td.rd a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.rr-cross td.rd a:hover { border-bottom-color: currentColor; }
.rr-cross td.self { background: var(--panel-2); color: var(--muted); }
.event-card h2 { margin: 0 0 .6rem; }
.event-card h2 .ttl, .event-games .ttl { font: 700 11px/1 var(--mono); letter-spacing: .08em; color: var(--muted); }
.card-facts { margin: 0 0 1.25rem; font-size: 14px; }
.card-facts .pts { font: 700 1.2rem/1 var(--display); color: var(--strong); }
.event-games { font-size: 14px; width: 100%; }
.event-games th, .event-games td { padding: .55rem .4rem; white-space: nowrap; text-align: right; vertical-align: middle; }
.event-games .rd { color: var(--muted); font-weight: 700; width: 2.25rem; }
.event-games .col { text-align: center; width: 2rem; }
.event-games .opp { text-align: left; white-space: normal; min-width: 7.5rem; }
.event-games tbody .opp a { font: 600 15px/1.25 var(--prose); color: var(--strong); }
.event-games .sno { color: var(--muted); font: 500 12px/1 var(--mono); }
.event-games .res { font: 700 1.2rem/1 var(--display); color: var(--strong); text-align: center; }
.event-games thead .res { font: inherit; color: inherit; }
.event-games .chip { margin-left: .3rem; }
.site-main .table-scroll > table.event-games > caption {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Touch targets: every link a finger can land on is at least 44px tall ---------- */
/* Board rows that hold their own links: the score cell's match link is the row's primary
   destination and covers the whole row (the row is the positioned box its hit area fills, so
   nothing is clipped and every focus ring shows; QA #9); team, division and opponent links
   sit above it as their own destinations. */
.row:has(> div.row-link a.m-link) { position: relative; }
/* a player's game row: the team match link is the row's destination (the player's result is not a link) */
div.row-link a.m-link { position: static; }
div.row-link a.m-link::before { content: ""; position: absolute; inset: 0; }
@media (hover: hover) {
    div.row-link:has(a.m-link):hover { background: var(--panel-2); }
}
/* Secondary links grow an invisible 44px-tall hit area centred on their text: rows, board
   players, the match pass, section heads. Layout and look are unchanged. */
div.row-link :is(.c-home, .c-away, .c-div, .c-det, .c-opp, .m-team) a,
.bd-pn a,
.pass-team a,
.seg dd a,
:is(.site-main, .archive-main) :is(td, th) a:not([class]) {
    display: inline-block; position: relative;
}
.sect-head a:not(.btn),
.drow-name a,
.event-row a.t,
.team-list a.t,
.note > a:only-child,
.pagehead :is(.meta, .sub) a { position: relative; }
div.row-link :is(.c-home, .c-away, .c-div, .c-det, .c-opp, .m-team) a { z-index: 1; }
div.row-link :is(.c-home, .c-away, .c-div, .c-det, .c-opp, .m-team) a::after,
.bd-pn a::after,
.pass-team a::after,
.seg dd a::after,
.sect-head a:not(.btn)::after,
.drow-name a::after,
.event-row a.t::after,
.team-list a.t::after,
.note > a:only-child::after,
.pagehead :is(.meta, .sub) a::after,
:is(.site-main, .archive-main) :is(td, th) a:not([class])::after {
    content: ""; position: absolute; left: 0; right: 0;
    top: min(0px, calc(50% - 22px)); bottom: min(0px, calc(50% - 22px));
}
/* A board row's meta line and a table head sit at the top edge of a clipping box: their links reach down */
div.row-link .c-meta a::after { top: -.5rem; bottom: min(0px, calc(100% - 44px + .5rem)); }
/* The same links' own boxes are 44px tall too (QA #15, 22 Oct 2026): vertical padding to 44px,
   taken back by a negative margin so the layout does not move (an inline link's padding never
   moved it). The pseudo-element hit areas above stay for browsers without the lh unit. */
div.row-link :is(.c-home, .c-away, .c-div, .c-det, .c-opp, .m-team) a,
.bd-pn a,
.pass-team a,
.seg dd a,
:is(.site-main, .archive-main) :is(td, th) a:not([class]),
.sect-head a:not(.btn),
.drow-name a,
.event-row a.t,
.team-list a.t,
.note > a:only-child,
.pagehead :is(.meta, .sub) a,
.sec-head .more, .src .more,
.match-line .team a, .match-line .score a, .match-line a.score, .arc-team-line .team a, .arc-team-line a.score,
.match-meta a,
.lg-links a,
.ev-sec-head h3 a,
.foot p a,
.pg-people .club-details dd:not(.club-contact, .club-socials) > a {
    /* 1em, not the line height: an inline link's box is its font's content area, so the padding
       over-provides a little, and the negative margin gives the same amount back everywhere */
    padding-block: max(0px, calc((44px - 1em) / 2)); margin-block: calc(-1 * max(0px, calc((44px - 1em) / 2)));
}
.pass-team a { max-width: 100%; }
/* a bye's player row is only its 12.8px padding around the name: the board name's box keeps to 44.8px
   (its display face's content area is 1.2em) so it stays inside its row (QA #15, round 3) */
.bd-pn a { padding-block: max(0px, calc((44px - 1.15em) / 2)); margin-block: calc(-1 * max(0px, calc((44px - 1.15em) / 2))); }
/* a three-letter team name ("DCU") is a 44px-wide link too: side padding, taken back by the margin
   (the match pass's giant name link is wide already and keeps its full-width box) */
.match-line .team > a, .arc-team-line .team > a { padding-inline: 8px; margin-inline: -8px; }
/* A player's games, a club's latest results and fixtures (QA #15, round 3): each link is a real
   44px-tall box that takes its room in the layout, so nothing stacked above or below it covers part of
   it (round 2's padding taken back by a negative margin overlapped the line above or below, and a tap
   there reached the wrong link or none). The rows (.pgame, .cfix-row below) give
   back part of that height from their padding and row gaps, as the boxes carry their own white space.
   Sideways, a short name ("DCU") still reaches 44px with padding taken back by its margin, but only
   into an empty gap: the division and opponent ±6px, the match line's home team 12px to the left and
   away team 12px to the right, the score filling the 9px gaps between them (px, not rem, so at 200 % text
   it still reaches no further than the page gutter; a score narrower than 26px, "1–1", is still 44px
   wide: its line grows by up to 2px). A flex box shrinks with its column only if its
   longest word may break, hence overflow-wrap: anywhere (200 % text, #10; hyphenation still comes first). */
.pgame-meta a, .pgame-opp a, .pgame-match .m-team > a, .pgame-match a.m-link,
.cfix-line .team > a, .cfix-line a.score, .team-last { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.pgame-meta a, .pgame-opp a { padding-inline: 6px; margin-inline: -6px; }
.pgame-match .m-team:first-child > a { padding-left: 12px; margin-left: -12px; }
.pgame-match .m-team:last-child > a { padding-right: 12px; margin-right: -12px; }
.pgame-match a.m-link.is-score { justify-content: center; padding-inline: 9px; margin-inline: -9px; min-width: 44px; }
/* a match without a score shows its status as an outlined pill: the pill is drawn by ::before at its
   old size, centred in the 44px link, whose sides fill the gaps (the margin gives them back) */
.pgame-match a.m-link:not(.is-score) {
    position: relative; justify-content: center; min-width: 44px; border: 0;
    padding: 0 calc(.5rem + 1px + 9px); margin-inline: -9px;
}
.pgame-match a.m-link:not(.is-score)::before { content: ""; position: absolute; inset: calc(50% - .6em - .2rem - 1px) 9px; border: 1px solid var(--rule); border-radius: 4px; }
/* a club fixture's team has its own column, so a short name's box grows into the column's empty side
   instead (the home team's text stays at the right); the score fills the gaps between the columns.
   A withdrawn team's "(withdrawn)" wraps as a whole, 2px under the link, instead of a text line
   reaching into it. */
.cfix-line .team { display: flex; flex-wrap: wrap; align-items: center; gap: 2px .25em; }
.cfix-line .team > a { min-width: min(44px, 100%); }
.cfix-line .team-home, .cfix-line .team-home > a { justify-content: flex-end; }
.cfix-line a.score { justify-content: center; padding-inline: .75rem; margin-inline: -.75rem; }
/* the contact list's e-mail and phone links sit one under another .1rem apart, so a 44px box each
   cannot be taken back without overlapping its neighbour: the list grows instead (14px a link) */
.pg-people .club-details dd.club-contact a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
/* the social links wrap side by side, each a 44px-tall box */
.pg-people .club-details dd.club-socials a { display: inline-flex; align-items: center; min-height: 44px; }
/* an event's short section name ("Open", "U8") is 44px wide: side padding, taken back by the margin */
.ev-sec-head h3 a { padding-inline: 8px; margin-inline: -8px; }
/* a team's Form chips in the band are 24px (WCAG 2.5.8), their old 1.45rem kept by the margin */
.lg-recform .lg-form .wdl { width: 1.5rem; height: 1.5rem; margin: -.025rem; }
/* the giant score links and the "more" links are 44px boxes in both directions */
.match-line a.score, .arc-team-line a.score { display: inline-flex; align-items: center; min-height: 44px; }
.sec-head .more, .src .more, .lg-links a.more, .sect-head > a.more { min-width: 44px; justify-content: center; }
/* the fixtures list's "v" link and the section strip's round links are 44px boxes */
a.lg-v:not(.is-status) { display: inline-flex; align-items: center; min-height: 44px; }
.subnav a[aria-label^="Round "] { min-width: 44px; text-align: center; }
/* Links whose 44px box reaches over the text beside it (a heading, a label or a match page's unlinked
   score, never another link) are drawn above that text, so a tap anywhere in the box reaches the link
   (QA #15, round 3) */
.match .match-meta a, .ev-sec-head h3 a,
.match-line:has(> span.score) .team > a { position: relative; z-index: 1; }
/* an event section's Standings / Crosstable links stop at the table above (the shared .more margin
   reached 1.6px into it) */
.ev-sec-links .more { margin-top: -.4rem; }
:is(.site-main, .archive-main) thead :is(td, th) a:not([class])::after { top: -.25rem; bottom: min(0px, calc(100% - 44px + .25rem)); }
@media (max-width: 759px) {
    /* phone rows stack: team links lean up into the gap so the line below keeps its own 44px */
    div.row-link :is(.c-home, .c-away) a::after { top: min(0px, calc(50% - 25px)); bottom: min(0px, calc(50% - 19px)); }
}
/* Touch screens, and any phone-width window (some phones report a fine pointer) */
@media (pointer: coarse), (max-width: 759px) {
    /* table rows that hold links are at least 44px tall, links centred, so each hit area fills its cell */
    :is(.site-main, .archive-main) tr:has(a) > :is(td, th) { height: 46px; vertical-align: middle; }
    /* a wrapped page-head meta line spaces its rows so each link keeps 44px */
    .pagehead .meta { row-gap: calc(44px - 1.05em); }
    .pagehead .meta + .sub:has(a) { margin-top: 1.35rem; }
}
@media (max-width: 759px) {
    /* a phone row's meta line names its division as plain text (.on-phone), so a tap on it opens
       the match like the rest of the row; the division link (.on-wide) is the desktop column's */
    div.row-link .c-div a.on-wide { display: none; }
    /* player record rows: the match line stands clear of the opponent above, so each keeps its 44px */
    .games div.row-link { padding-bottom: .9rem; }
}

/* ---------- Print: standings, fixtures, match and points pages on white paper ---------- */
@media print {
    :root {
        --ground: #FFFFFF; --panel: #FFFFFF; --panel-2: #FFFFFF; --rule: #999999; --steel: #666666;
        --muted: #333333; --text: #000000; --strong: #000000;
        --blue: #000000; --alert: #000000; --alert-line: #000000; --alert-ink: #FFFFFF; --shadow: transparent;
        color-scheme: light;
    }
    @page { margin: 12mm; }
    html, body { background: #FFFFFF; color: #000000; }
    .skip-link, .band, .subnav, .foot, .btn-row, .pass-foot, .btn, .share, .share-toast, .club-map { display: none !important; }
    *, *::before, *::after { animation: none !important; transition: none !important; box-shadow: none !important; }
    a { color: inherit; text-decoration: none; }
    .wrap { max-width: none; padding-left: 0; padding-right: 0; }
    .table-scroll, .grid-scroll { overflow: visible; max-width: none; }
    .table-scroll > table, .grid-scroll > table { width: 100%; }
    .standings th, .standings td, .event-standings th, .event-standings td, .event-games th, .event-games td, .grid th, .grid td, .points th, .points td { position: static !important; padding: .25rem .35rem; }
    tr, .board > li, .bd { break-inside: avoid; page-break-inside: avoid; }
    thead { display: table-header-group; }
    h1, h2, .sect-head { break-after: avoid; page-break-after: avoid; }
}

/* ---------- Round strip (P1 fixtures distill, 13 Oct 2026): the division fixtures page opens on one
   round; this strip (pager vocabulary: 44px bordered cells, current round inverted) reaches the
   others and All. Phones: a numbered strip is an even grid of --cols columns (set in the view). ---------- */
.round-strip { padding-top: .25rem; }
.round-strip ul { margin: 0; }
.round-strip a { min-width: 48px; }
.round-strip-all a { padding: 0 1rem; }
@media (max-width: 599px) {
    .round-strip.is-numbered ul { display: grid; grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr)); }
    .round-strip.is-numbered li { margin: 0 -1px -1px 0; }
    .round-strip.is-numbered a { display: flex; min-width: 0; min-height: 45px; padding: 0; } /* 45: the next row overlaps 1px */
}

/* ---------- Error pages (403, 404, 500, 503): a plain message and the way on ---------- */
.error-lead { font-size: 17px; color: var(--text); }
.error-links { max-width: 40rem; margin-top: 1.5rem; }

/* ---------- Club player path (impeccable round 3, 13 Oct 2026): the live player's season line, the
   live club page's per-team fixture sections, and the match pager that says what it steps through ---------- */
/* Player head: the team(s) played for this season, each with its division code (so two teams of the
   same name stay apart), then the season score as points/games in the display face */
/* Club page: each team heads its own fixtures; the heading's label is its division, linked */
.club-team .sect-head a.label { color: var(--muted); text-decoration: none; }
.club-team .sect-head a.label:hover { color: var(--strong); text-decoration: underline; text-underline-offset: 4px; }
/* Match pager: the direction, and under it where it goes (division code and round) */
.pass-foot.is-pager .pg-btn { padding-top: .5rem; padding-bottom: .5rem; }
.pg-btn .pg-txt { display: inline-flex; flex-direction: column; align-items: center; gap: .3rem; min-width: 0; }
.pg-btn .pg-of { font: 500 11px/1 var(--mono); color: var(--muted); white-space: nowrap; transition: color .15s var(--ease); }
.pg-btn:hover .pg-of { color: inherit; }

/* ---------- Live result states and club page (impeccable round 4, 13 Oct 2026): a played match with no
   approved score reads "result pending" (outlined cell, FixtureList::status), never the "v" of a fixture
   still to come; the club page's team rows say where each team stands (Pos, Pts) and its latest result;
   the player's season score is set in words; live cross table team names in the display face ---------- */
/* Club page team sections: "Results" (newest first) and "Next fixtures" each head their own board */
/* Player season score in words: the numbers in the display face, "pts from" as a mono label */
/* Live cross table: team names are read at a glance, so the display face (as published, sentence
   case since W10c); the team number stays a small label */
.grid.cross tbody th { font: 600 1.05rem/1.1 var(--display); letter-spacing: 0; text-transform: none; color: var(--strong); }
.grid.cross tbody th .x-no { display: inline-block; min-width: 1.4rem; font: 500 12px/1 var(--mono); letter-spacing: .04em; color: var(--muted); }
/* Home results board at desktop: the home column is capped so the right-aligned home team sits near
   the division instead of across a wide empty gap; the away column takes the rest */
@media (max-width: 599px) {
    /* Phones: a long team name wraps in the sticky column instead of pushing the grid off screen */
    .grid.cross tbody th { white-space: normal; min-width: 9rem; }
    /* the number hangs left of a wrapped name, so the second line lines up with the first */
    .grid.cross tbody th .x-no { float: left; margin-top: .2rem; }
    .grid.cross tbody th > a { display: flow-root; overflow-wrap: normal; word-break: normal; hyphens: manual; }
}
@media (max-width: 759px) {
    /* The club team section's division link is a 44px target on phones */
    .club-team .sect-head a.label { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ==========================================================================
   Classic blue components (the home page; W2 builds the markup on these).
   Class names are the mockup's (.impeccable/mocks/home-classic/src/home_template.html).
   Where an older page component already owns a name (.chip, .boards, .seg, .empty, .more,
   .match-meta, .div-name, .ev-date, .divs) the rule is scoped to its home parent, so the older
   pages keep their look until wave 2 restyles them.
   ========================================================================== */

/* Meter: <span class="meter" style="--p:14%" role="img" aria-label="…"><span></span></span>; a quiet
   4px hairline bar (square ends) on a pale track, not a progress widget */
.meter { display: block; height: 4px; border-radius: 0; background: var(--rule); overflow: hidden; }
.meter > span { display: block; height: 100%; width: var(--p); background: var(--steel); border-radius: inherit; }

/* Two columns: main + side (360px) from 1000px; the side stacks after the main column on phones */
.cols { display: grid; gap: 3rem; }
.cols > * { min-width: 0; }
@media (min-width: 1000px) { .cols { grid-template-columns: minmax(0, 1fr) 360px; gap: 4rem; } }
/* A league page with no rail (all rounds, a cup's standings, no fixtures) keeps no empty track; the rows stay at their 760px */
@media (min-width: 1000px) {
    .pg-league > .cols:not(:has(> .rail)) { grid-template-columns: minmax(0, 1fr); }
    .pg-league > .cols:not(:has(> .rail)) > .main-col { max-width: 760px; }
}
/* the home and archive section head carries the 1px ink rule like .sect-head (DESIGN.md; QA #16) */
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; margin-bottom: .9rem; padding-bottom: .6rem; border-bottom: 1px solid var(--ink); }
.sec-head h2, .sect-head h2 { min-width: 0; overflow-wrap: break-word; }
.sec-head h2 { margin: 0; padding: 0; border: 0; }
.sec-head .more, .src .more {
    margin: 0; max-width: none; font-weight: 700; color: var(--blue); text-decoration: none;
    display: inline-flex; align-items: center; gap: .3rem; text-underline-offset: 4px;
}
.sec-head .more:hover, .src .more:hover { text-decoration: underline; }
.sec-head .more svg, .src .more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.sec-head .more:hover svg, .src .more:hover svg { transform: translateX(3px); }

/* Filters + legend: <div class="tools"><div class="chips">button.chip[aria-pressed]…</div><ul class="legend">… */
.tools { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid var(--rule); }
/* 4px of vertical room and a scroll padding so a focused chip's 3px ring is never clipped by the scroller or the viewport edge (QA #9) */
.chips { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; margin: -4px calc(var(--gutter) * -1); padding: 4px var(--gutter); scroll-padding-inline: calc(var(--gutter) + .5rem); }
.chips::-webkit-scrollbar { display: none; }
.chips .chip {
    flex: none; display: inline-flex; align-items: center; height: 36px; min-height: 36px; padding: 0 .85rem;
    border-radius: 4px; border: 1.5px solid var(--blue-soft); background: #FFFFFF; color: var(--ink);
    font: 600 .9rem/1 var(--sans); letter-spacing: 0; text-transform: none; text-decoration: none;
    cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.chips .chip:hover { border-color: var(--blue); background: #FFFFFF; color: var(--ink); }
.chips .chip[aria-pressed="true"], .chips .chip[aria-current] { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
.legend { display: flex; flex-wrap: wrap; gap: .35rem .9rem; font-size: .82rem; color: var(--ink-2); margin: 0; padding: 0; list-style: none; }
.legend li { display: flex; align-items: center; gap: .35rem; margin: 0; }
.sw { width: 14px; height: 8px; border-radius: 2px; display: inline-block; }
.sw-w { background: var(--win); } .sw-d { background: var(--draw); } .sw-l { background: var(--loss); }

/* Score-first match rows: <ol class="matches"><li class="match" data-div><a class="match-link">
   <p class="match-meta"><time>…</time><span>…</span><span class="new">New</span></p>
   <div class="match-line"><span class="team team-home won">…</span><span class="score">6½<span class="dash">–</span>1½</span><span class="team team-away">…</span></div>
   <ol class="boards" style="--n:8"><li class="seg seg-w" style="--i:1"><span class="seg-bar"></span><span class="seg-meta"><span class="pc pc-white"></span>W</span><span class="sr">…</span></li>…</ol> */
.matches { list-style: none; margin: 0; padding: 0; }
.match { margin: 0; border-bottom: 1px solid var(--rule); }
.match[hidden] { display: none; }
.match-link { display: block; padding: 1.35rem 0 1.4rem; border-radius: 4px; color: inherit; text-decoration: none; transition: background .25s; }
.match-link:hover { background: linear-gradient(var(--blue-tint), var(--blue-tint)) no-repeat center / calc(100% + 2 * var(--gutter)) 100%; }
.match .match-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .55rem; margin: 0 0 .5rem; max-width: none; font: 400 .86rem/1.4 var(--sans); color: var(--ink-2); }
.match .match-meta span:not(.new)::before { content: "·"; margin-right: .55rem; color: #9AA0BC; }
.new { margin-left: auto; font-weight: 700; font-size: .75rem; color: #FFFFFF; background: var(--blue); padding: .15rem .5rem; border-radius: 4px; }
.match-line { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .75rem; } /* minmax(0): a long team name wraps instead of widening the page (QA #8) */
.match-line .team { font: 500 clamp(1rem, 3.6vw, 1.3rem)/1.15 var(--display); letter-spacing: -.01em; color: var(--ink-2); text-wrap: balance; min-width: 0; overflow-wrap: anywhere; }
.match-line .team.won { font-weight: 700; color: var(--ink); }
.match-line .team-away { text-align: right; }
/* a score never wraps at normal sizes (its column is as wide as it); at 200 % text it may break after its dash (#10) */
.match-line .score { font: 700 clamp(2.5rem, 11vw, 4.6rem)/.9 var(--display); letter-spacing: -.01em; color: var(--blue); }
.dash { margin: 0 .04em; font-weight: 500; }
.match .boards { list-style: none; margin: .95rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 3px; }
.match .seg { display: flex; flex-direction: column; gap: .35rem; min-width: 0; margin: 0; padding: 0; background: none; }
.seg-bar { height: 10px; border-radius: 2px; background: var(--c); transform-origin: left; }
.match .seg:first-child .seg-bar { border-radius: 5px 2px 2px 5px; }
.match .seg:last-child .seg-bar { border-radius: 2px 5px 5px 2px; }
.seg-w { --c: var(--win); --t: var(--win-ink); } .seg-d { --c: var(--draw); --t: var(--draw-ink); } .seg-l { --c: var(--loss); --t: var(--loss-ink); }
.seg-meta { display: flex; align-items: center; justify-content: center; gap: .3rem; font: 700 .78rem/1 var(--sans); color: var(--t); }
/* the home player's colour: a small white or black square */
.pc { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 1.5px; border: 1.5px solid var(--ink); }
.pc-black { background: var(--ink); } .pc-white { background: #FFFFFF; }
.matches ~ .empty { margin: 0; padding: 2rem 0; background: none; border: 0; color: var(--ink-2); }
.matches ~ .empty[hidden] { display: none; }

/* Side panels and division meters: <ul class="list"> rows under a hairline */
aside section + section { margin-top: 3rem; }
aside h2 { font-size: 1.4rem; }
.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.list li { margin: 0; border-bottom: 1px solid var(--rule); }
.main-col .divs { margin: 3.5rem 0 0; padding: 0; }
@media (min-width: 700px) { .list-2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }
.div-row { display: grid; grid-template-columns: 1fr auto; gap: .45rem 1rem; padding: .8rem 0; align-items: baseline; color: inherit; text-decoration: none; }
.div-row .div-name { font-weight: 600; transition: color .2s; }
.div-count { font-size: .88rem; color: var(--ink-2); }
.div-count b { color: var(--ink); }
.div-row:hover .div-name, .up:hover .up-name { color: var(--blue); }

/* the tournaments list's entry count in body-size text */
.ev-n { font: 600 1rem/1.25 var(--sans); color: var(--ink-2); text-align: right; }
.up-body > *, .arc-body > * { min-width: 0; overflow-wrap: break-word; } /* 200% text wraps inside the list bodies (QA #10) */

/* Coming up: groups (Today, Next weekend, Later) of date blocks; today's block is filled blue */
.upcoming .up-group > h3 { margin: 0; padding: .9rem 0 .3rem; font: 700 .95rem/1.2 var(--sans); letter-spacing: 0; color: var(--blue); }
.upcoming .up-group { border-bottom: 0; }
.upcoming ul { list-style: none; margin: 0; padding: 0; }
.upcoming ul li { margin: 0; border-bottom: 1px solid var(--rule); }
.up { display: grid; grid-template-columns: 3.4rem 1fr; gap: .9rem; padding: .65rem 0; align-items: center; color: inherit; text-decoration: none; }
.up-date {
    display: grid; justify-items: center; align-content: center; height: 3.2rem; border-radius: 4px;
    background: var(--blue-tint); color: var(--blue); font-size: .78rem; font-weight: 600;
}
.up-date b { font: 700 1.25rem/1 var(--display); letter-spacing: -.01em; text-transform: none; }
.up-range b { font-size: .98rem; }
.up-date.is-today, .upcoming .up-group.is-today .up-date { background: var(--blue); color: #FFFFFF; }
.up-body { display: grid; gap: .15rem; min-width: 0; }
.up-name { font-weight: 700; line-height: 1.25; transition: color .2s; }
.up-meta { font-size: .85rem; color: var(--ink-2); }
/* /tournaments/upcoming (seo5 W1, 27 Nov 2026): months as h3s under one h2, the Abroad block, county links, lead lines */
.up-month > h3 { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .2rem 1rem; margin: 1.4rem 0 .2rem; padding-bottom: .35rem; border-bottom: 1px solid var(--rule); }
.up-month:first-of-type > h3 { margin-top: .4rem; }
.up-month > h3 .label { font-family: var(--sans); }
.up-note, .up-lead { margin: .4rem 0 .6rem; max-width: 72ch; color: var(--ink-2); font: 400 1rem/1.5 var(--sans); }
.up-counties { list-style: none; margin: .2rem 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: 0 1rem; }
.up-counties li { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin: 0; padding: .55rem 0; border-bottom: 1px solid var(--rule); min-height: 44px; box-sizing: border-box; }
.up-counties a { font-weight: 600; }
.up-counties a[aria-current] { color: var(--ink); text-decoration: none; }
.src { font-size: .82rem; color: var(--ink-2); margin: .7rem 0 0; }
.src .more { font-size: .9rem; }

/* Munster League: the current season's top four as published, once it has results; else one line (homedistill) */
.mun-h { margin: 0; padding-bottom: .6rem; border-bottom: 1px solid var(--ink); font: 700 .95rem/1.2 var(--sans); letter-spacing: 0; }
.mp { list-style: none; margin: 0; padding: 0; }
.mp li { display: grid; grid-template-columns: 1.3rem minmax(0, 1fr) auto; gap: .75rem; align-items: center; margin: 0; padding: .6rem 0; border-bottom: 1px solid var(--rule); }
.mp-pos { font-weight: 700; color: var(--ink-2); }
.mp-team { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.mp-team abbr { text-decoration: none; }
/* a team named by its club's abbreviation (CCYMS) carries the full club name under it (homewave1) */
.mp-club { display: block; font-weight: 400; font-size: .8rem; line-height: 1.3; color: var(--ink-2); }
/* match points over game points, both labelled (homewave1: no bare "13 24½") */
.mp-n { display: grid; justify-items: end; text-align: right; font-size: .85rem; color: var(--ink-2); line-height: 1.3; }
.mp-n b { font: 700 1.15rem var(--display); color: var(--ink); }
.mp-n small { color: var(--ink-2); font-size: .8rem; }

/* Motion: board bars and meters fill once as they scroll into view (public/js/site.js adds
   .pending, then .in); off under reduced motion, and everything is drawn without JS. */
@media (prefers-reduced-motion: no-preference) {
    .js .boards.pending .seg-bar { transform: scaleX(0); }
    .js .boards.in .seg-bar { animation: fill .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
    .js .boards.in .seg-meta { animation: rise .4s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms + 120ms); }
    .js .meter.pending > span { transform: scaleX(0); transform-origin: left; }
    .js .meter.in > span { animation: fill .8s var(--ease) both; }
}
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }

/* Page transition (transition2, 12 Nov 2026): the blue band holds (growing or shrinking to the home
   page's height); the breadcrumb and the sub-nav strip stay in place and cross-fade, so moving between
   a page's tabs reads as one page; the content under them lifts away and the new content rises in.
   Going Back (the head script in site.partials.assets adds the `back` type) runs it the other way.
   Browsers without cross-document view transitions navigate as normal; the content is only ever
   offset by a few pixels and faded, never hidden from the HTML. */
@media (prefers-reduced-motion: no-preference) {
    @view-transition { navigation: auto; }
    .band { view-transition-name: band; }
    .crumbs { view-transition-name: crumbs; }
    .subnav { view-transition-name: subnav; }
    ::view-transition-group(*) { animation-duration: .26s; animation-timing-function: var(--ease); }
    ::view-transition-group(band) { overflow: clip; }
    ::view-transition-old(band) { display: none; }
    ::view-transition-new(band) { animation: none; }
    ::view-transition-old(crumbs), ::view-transition-old(subnav) { animation: page-fade-out .12s linear both; }
    ::view-transition-new(crumbs), ::view-transition-new(subnav) { animation: page-fade-in .2s linear both; }
    ::view-transition-old(root) { animation: page-out .14s cubic-bezier(.4, 0, 1, 1) both; }
    ::view-transition-new(root) { animation: page-in .32s var(--ease) .04s both; }
    html:active-view-transition-type(back)::view-transition-old(root) { animation-name: page-out-back; }
    html:active-view-transition-type(back)::view-transition-new(root) { animation-name: page-in-back; }
}
@keyframes page-fade-out { to { opacity: 0; } }
@keyframes page-fade-in { from { opacity: 0; } }
@keyframes page-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes page-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes page-out-back { to { opacity: 0; transform: translateY(6px); } }
@keyframes page-in-back { from { opacity: 0; transform: translateY(-14px); } }

/* W2 home additions */
/* A board that is not a result (adjourned, not played, void): an outlined segment with its letter */
.seg-x { --c: transparent; --t: var(--ink-2); }
.seg-x .seg-bar { box-shadow: inset 0 0 0 1.5px var(--draw); }
/* The division chips appear only with JS (they filter client-side); without it every row shows */
.chips[hidden] { display: none; }
.main-col > section > .empty, .up-empty { margin: 0; padding: 1.25rem 0; background: none; border: 0; border-top: 1px solid var(--rule); color: var(--ink-2); font: 400 1rem/1.5 var(--sans); }
/* older pages give .div-name a named grid area; the home rows place it in flow */
.div-row .div-name { grid-area: auto; }

/* Compact result rows (homewave1, 16 Nov 2026): one line per match at 760px up, "Celbridge B 0–5 Dún
   Laoghaire" then "Div 5 South · R4 · Wed 14 Oct" small, the score smaller than before; the board bars
   behind a "Boards" disclosure (<details>) whose summary sits at the row's right, its bars opening
   full width under the row. Phones: teams and score on the first line (beside Boards), the meta under. */
.home-matches .match { position: relative; }
.home-matches .match-link { display: grid; grid-template-columns: minmax(0, 1fr); gap: .15rem; padding: .55rem 5.6rem .55rem 0; min-height: 48px; align-content: center; }
.home-matches .match-line { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: .6rem; }
.home-matches .match-line .team { font-size: 1.02rem; line-height: 1.25; text-wrap: pretty; }
.home-matches .match-line .team-home { text-align: right; }
.home-matches .match-line .team-away { text-align: left; }
.home-matches .match-line .score { font-size: .98rem; line-height: 1.25; font-weight: 700; color: var(--blue); white-space: nowrap; }
.home-matches .match-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem .45rem; margin: 0; font: 400 .82rem/1.35 var(--sans); color: var(--ink-2); }
.home-matches .match .match-meta > span:first-child::before, .home-matches .match .match-meta span.new::before { content: none; }
.home-matches .match-meta > :not(:first-child):not(.new)::before { content: "·"; margin-right: .45rem; color: #9AA0BC; }
.home-matches .match-meta abbr { text-decoration: none; }
.home-matches .new { margin-left: .2rem; padding: .05rem .4rem; font-size: .72rem; }
/* the disclosure itself has no box of its own (the site-wide details card is undone here) */
.home-matches .match-boards { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.home-matches .match-boards > :not(summary) { margin-left: 0; margin-right: 0; }
.match-boards > summary {
    position: absolute; top: .3rem; right: 0; display: inline-flex; align-items: center; gap: .3rem;
    min-height: 44px; padding: 0 .6rem; border-radius: 4px; cursor: pointer; list-style: none;
    font: 600 .85rem/1 var(--sans); color: var(--blue);
}
.match-boards > summary::-webkit-details-marker { display: none; }
.match-boards > summary::after { content: ""; width: .45rem; height: .45rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.match-boards[open] > summary { border-bottom: 0; }
.match-boards[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.match-boards > summary:hover { background: var(--blue-tint); }
.home-matches .match .boards { margin: .1rem 0 .85rem; }
@media (min-width: 760px) {
    /* one line: teams and score, then the meta, then Boards */
    .home-matches .match-link { grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; align-items: center; }
    .home-matches .match-meta { justify-content: flex-end; flex-wrap: nowrap; white-space: nowrap; }
}
@media (max-width: 759px) {
    .home-matches .match-link { padding-right: 0; }
    .home-matches .match-line { margin-right: 5rem; }
}

/* == W7 people == */
/* People, clubs, news, about and privacy (wave 2). Page head in the blue band (`hero` slot) as
   <div class="pg-people ph">; the page body inside <div class="pg-people">. */

/* Page body */
.pg-people .sect:first-child { padding-top: 2.25rem; }
.pg-people .sect-head h2 a { color: inherit; text-decoration: none; }
.pg-people .sect-head h2 a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.pg-people .empty { margin: 0 0 1rem; padding: 1.25rem 0; background: none; border: 0; color: var(--ink-2); font: 400 1rem/1.5 var(--sans); }
.pg-legend { margin: 0 0 .25rem; }

/* Player games: chip · date/division/board, colour and opponent · the team match (its score links to it) */
.pgames { list-style: none; margin: .6rem 0 0; padding: 0; border-top: 1px solid var(--rule); }
.pgame {
    display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); grid-template-areas: "chip body" "chip match";
    gap: 0 1rem; align-items: center; margin: 0; padding: .3rem 0; border-bottom: 1px solid var(--rule);
}
.pgame > .wdl { grid-area: chip; align-self: start; margin-top: .55rem; }
.pgame-body { grid-area: body; min-width: 0; }
.pgame-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .55rem; margin: 0; max-width: none; font: 400 .86rem/1.4 var(--sans); color: var(--ink-2); }
.pgame-meta > span + span::before { content: "·"; margin-right: .55rem; color: #9AA0BC; }
.pgame-meta a { color: var(--ink-2); text-decoration: none; }
.pgame-meta a:hover { color: var(--blue); text-decoration: underline; }
.pgame-meta .moved { display: inline-block; padding: .05rem .5rem; border-radius: 4px; background: var(--blue); color: #FFFFFF; font: 700 .72rem/1.4 var(--sans); }
.pgame-opp { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .5rem; margin: 0; max-width: none; font: 700 clamp(1.1rem, 3.6vw, 1.35rem)/1.15 var(--display); letter-spacing: -.01em; }
.pgame-opp .c-col { align-self: center; display: inline-flex; }
.pgame-opp .pc { width: 11px; height: 11px; }
.pgame-opp .v { font: 500 .9rem/1 var(--sans); color: var(--ink-2); }
.pgame-opp a { color: var(--ink); text-decoration: none; }
.pgame-opp a:hover { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; }
.pgame-opp .rtg { font: 500 .85rem/1 var(--sans); color: var(--ink-2); }
.pgame-opp .unknown { font: 500 1rem/1.2 var(--sans); color: var(--ink-2); }
.pgame-match { grid-area: match; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 9px; margin: 0; max-width: none; font: 500 .95rem/1.25 var(--display); color: var(--ink-2); }
.pgame-match .m-team a { color: inherit; text-decoration: none; }
.pgame-match .m-team a:hover { color: var(--blue); text-decoration: underline; }
.pgame-match .m-team.is-own { font-weight: 700; color: var(--ink); }
.pgame-match .m-link { font: 600 .78rem/1.2 var(--sans); color: var(--ink-2); padding: .2rem .5rem; border: 1px solid var(--rule); border-radius: 4px; text-decoration: none; white-space: nowrap; }
.pgame-match .m-link.is-score { padding: 0; border: 0; font: 700 1.35rem/1 var(--display); letter-spacing: -.01em; color: var(--blue); }
.pgame-match .m-link:hover { text-decoration: underline; text-decoration-thickness: 2px; }
@media (min-width: 900px) {
    .pgame { grid-template-columns: 3.5rem minmax(0, 1fr) minmax(0, 24rem); grid-template-areas: "chip body match"; }
    .pgame-match { justify-content: flex-end; text-align: right; }
}

/* Rating history: blue live series, ink archive series */
.pg-people .rchart { max-width: 44rem; padding: .9rem .75rem .6rem; border: 0; border-radius: 4px; background: var(--blue-tint); }
.pg-people .rc-live { fill: none; stroke: var(--blue); stroke-width: 2.5; }
.pg-people .rc-live-pt { fill: var(--blue); }
.pg-people .rc-arch { fill: none; stroke: var(--ink-2); stroke-width: 1.75; }
.pg-people .rc-k-live::before { background: var(--blue); }
.pg-people .rc-grid line { stroke: var(--blue-soft); }
.pg-people .rc-grid text { fill: var(--ink-2); font-family: var(--sans); }
.pg-people .table-scroll { max-width: 44rem; }
.pg-people table.ratings { min-width: 0; }
.pg-people table.ratings tbody th { font: 600 1rem/1.3 var(--sans); }
.pg-people table.ratings td.num { font: 700 1rem/1.3 var(--sans); color: var(--blue); }

/* Player search: the big field in the band; results in two groups, side by side from 1000px */
.pfind { margin: 1.5rem 0 0; max-width: 760px; }
.pfind label { display: block; margin: 0 0 .45rem; font: 600 .9rem/1.2 var(--sans); color: var(--on-blue-2); }
.pfind-row { display: flex; gap: .6rem; }
.pfind input[type="search"] {
    flex: 1; min-width: 0; max-width: none; height: 60px; min-height: 60px; padding: 0 1.1rem; border: 0; border-radius: 4px;
    font: 600 clamp(1.1rem, 3.5vw, 1.35rem)/1 var(--sans); color: var(--ink); background: #FFFFFF;
}
.pfind input[type="search"]::placeholder { color: #5D6488; font-weight: 500; }
.pfind input[type="search"]:focus-visible { outline-color: #FFFFFF; }
.pfind button.primary { height: 60px; padding: 0 1.4rem; border-radius: 4px; border: 2px solid #FFFFFF; background: #FFFFFF; color: var(--blue); font: 700 1.05rem/1 var(--sans); letter-spacing: 0; text-transform: none; }
.pfind button.primary:hover { background: transparent; color: #FFFFFF; border-color: #FFFFFF; }
.pg-people .pfind-error { margin: 2rem 0 0; padding: 1rem 1.1rem; border-radius: 4px; border: 0; border-left: 4px solid var(--loss-ink); background: var(--blue-tint); color: var(--ink); }
.pfind-help { padding: 2.25rem 0 .5rem; }
.pfind-help p { font-size: 1.05rem; }
.pg-people > .sect { padding-top: 2.25rem; }
.pg-people .note { margin: .75rem 0 0; padding: .75rem 1rem; border: 0; border-radius: 4px; background: var(--blue-tint); color: var(--ink); font: 400 .92rem/1.45 var(--sans); }
.pg-people .prose > .note:not(:last-child) { margin-bottom: .9rem; }

/* Name rows: <nav class="prows"><a><span><span class="t">…</span><span class="label">…</span></span><svg/></a> */
.prows { display: grid; margin: 0; }
.prows a {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: .85rem 0;
    border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; transition: background .2s;
}
.prows a:hover { background: linear-gradient(var(--blue-tint), var(--blue-tint)) no-repeat center / calc(100% + 2 * var(--gutter)) 100%; }
.prows .t { display: block; font: 700 1.2rem/1.15 var(--display); letter-spacing: -.01em; transition: color .2s; }
.prows a:hover .t { color: var(--blue); }
.prows .label { display: block; margin-top: .2rem; font: 400 .86rem/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-2); }

/* Club page: the teams table (ailook A block), then each team's fixtures */
.team-last {
    grid-area: last; justify-self: start; display: inline-flex; flex-wrap: wrap; align-items: center; gap: .2rem .5rem; max-width: 100%;
    color: var(--ink-2); text-decoration: none; font: 500 .95rem/1.2 var(--display); overflow-wrap: anywhere;
}
.club-team .sect-head a.label { color: var(--ink-2); text-decoration: none; font-family: var(--sans); }
.club-team .sect-head a.label:hover { color: var(--blue); text-decoration: underline; }
.cfix-h { margin: 1.4rem 0 .2rem; font: 700 1rem/1.2 var(--sans); color: var(--blue); }
.cfix-h span { margin-left: .4rem; font-weight: 500; font-size: .86rem; color: var(--ink-2); }
.cfix { list-style: none; margin: 0; padding: 0; container-type: inline-size; }
.cfix-row {
    display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); grid-template-areas: "chip meta" "chip line";
    gap: 0 1rem; align-items: center; margin: 0; padding: .45rem 0; border-bottom: 1px solid var(--rule);
}
.cfix-row > .wdl { grid-area: chip; }
.cfix-meta { grid-area: meta; display: flex; flex-wrap: wrap; gap: .1rem .55rem; margin: 0; max-width: none; font: 400 .86rem/1.4 var(--sans); color: var(--ink-2); }
.cfix-meta > span + span::before { content: "·"; margin-right: .55rem; color: #9AA0BC; }
.cfix-meta .moved { display: inline-block; padding: .05rem .5rem; border-radius: 4px; background: var(--blue); color: #FFFFFF; font: 700 .72rem/1.4 var(--sans); }
.cfix-line { grid-area: line; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .75rem; }
.cfix-line .team { font: 600 clamp(1rem, 3.4vw, 1.2rem)/1.15 var(--display); letter-spacing: -.01em; min-width: 0; }
.cfix-line .team a { color: var(--ink); text-decoration: none; }
.cfix-line .team a:hover { color: var(--blue); text-decoration: underline; }
.cfix-line .team-home { text-align: right; }
.cfix-line .score { font: 700 clamp(1.7rem, 6vw, 2.3rem)/.95 var(--display); letter-spacing: -.01em; color: var(--blue); text-decoration: none; }
.cfix-line a.score:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.cfix-line .score.is-pending { font: 600 .78rem/1.2 var(--sans); letter-spacing: 0; color: var(--ink-2); padding: .25rem .6rem; border: 1px solid var(--rule); border-radius: 4px; }
.cfix-line .score.is-vs { border: 0; font: 500 1rem/1 var(--sans); }
.cfix-more { margin: 1rem 0 0; }
.pg-people .club-details { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; }
.pg-people .club-details dt { margin: .9rem 0 0; font: 600 .82rem/1.2 var(--sans); color: var(--ink-2); }
.pg-people .club-details dd { margin: .2rem 0 0; font-weight: 500; }
.pg-people .club-details .club-contact { display: grid; justify-items: start; gap: .1rem; }
.pg-people .club-details .club-contact a { display: inline-block; padding: .2rem 0; }
.pg-people .club-details .club-socials { display: flex; flex-wrap: wrap; column-gap: 1.25rem; }
/* Club venue map (29 Oct 2026): a click-to-load placeholder under the details, swapped for the Maps
   Embed iframe (about 16:9, at most 360px tall) by map.js */
.club-map { margin: 1rem 0 0; max-width: 40rem; }
.club-map-load {
    display: flex; align-items: center; gap: .75rem; min-height: 44px; padding: .75rem .9rem;
    border: 1.5px solid var(--blue-soft); border-radius: 4px; background: var(--blue-tint); color: var(--blue); text-decoration: none;
}
.club-map-load:hover { border-color: var(--blue); }
.club-map-load svg { width: 22px; height: 22px; flex: none; }
.club-map-load span { display: grid; gap: .15rem; min-width: 0; }
.club-map-load strong { font: 700 .95rem/1.2 var(--sans); }
.club-map-load small { font: 500 .82rem/1.3 var(--sans); color: var(--muted); }
.club-map-frame { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 360px; border: 0; border-radius: 4px; background: var(--blue-tint); }
/* a long one-word club name ("Blanchardstown") hyphenates inside its column instead of running into the score */
/* (anywhere, not break-word: the team's 44px link is a flex box, which shrinks with the column only if
   its longest word may break; hyphenation still comes first) */
.cfix-line .team { overflow-wrap: anywhere; word-break: normal; hyphens: auto; }
@media (min-width: 760px) {
    /* one line a fixture: its 44px links set the height, so the row keeps the padding it had */
    .cfix-row { grid-template-columns: 2.4rem 9.5rem minmax(0, 1fr); grid-template-areas: "chip meta line"; padding: .75rem 0; }
    .cfix-meta { display: grid; gap: .1rem; }
    .cfix-meta > span + span::before { content: none; }
    .cfix-line { grid-template-columns: minmax(0, 1fr) 8.5rem minmax(0, 1fr); }
    .cfix-line .score { justify-self: center; }
}
/* Large text (200 %, #10): a fixture list under 15em wide stacks home, score and away instead of
   squeezing the two names to a letter each */
@container (max-width: 15em) {
    .cfix-line { grid-template-columns: minmax(0, 1fr); gap: 0; justify-items: start; }
    .cfix-line .team-home { text-align: left; }
    .cfix-line .team-home, .cfix-line .team-home > a { justify-content: flex-start; }
    .cfix-line a.score { margin-inline: 0; }
}

/* Province jump links above the groups (all Irish clubs, 20 Oct 2026): wrapping chips, 44px targets */
.cprov { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; }
.cprov a {
    display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 1rem; border: 1.5px solid var(--blue-soft); border-radius: 4px;
    color: var(--blue); font: 700 .95rem/1 var(--sans); text-decoration: none;
}
.cprov a:hover { border-color: var(--blue); background: var(--blue-tint); }
.cprov a span { font-weight: 500; color: var(--ink-2); }
/* County pages under each province's heading (seofix W2, 4 Nov 2026): smaller chips than the province jumps, 44px targets */
.ccounties { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.ccounties a {
    display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .8rem; border: 1px solid var(--blue-soft); border-radius: 4px;
    color: var(--blue); font: 600 .9rem/1 var(--sans); text-decoration: none;
}
.ccounties a:hover { border-color: var(--blue); background: var(--blue-tint); }
.ccounties a span { font-weight: 500; color: var(--ink-2); }
.pg-people section[aria-labelledby^="clubs-"] { scroll-margin-top: 1rem; }
/* Club search (26 Oct 2026): the band's box filters the lists (hidden rows, groups and jump links);
   "Clubs near me" fills .cnear, each row with its distance; the status line announces each change */
.cprov[hidden], .cprov a[hidden], .pg-people .sect[hidden], .cnear h3[hidden], .cfind-near[hidden] { display: none; }
.cfind-status { margin: 1.5rem 0; font: 600 1rem/1.5 var(--sans); color: var(--ink-2); }
.cfind-status:empty { margin: 0; }
.cnear h3 { margin: 1.75rem 0 .75rem; font: 700 1.1rem/1.2 var(--display); color: var(--ink); }

/* News list (the shared partial's markup, styled here only inside .pg-people; home keeps its own) */
.pg-people .news-list { display: grid; gap: 0; margin: 0; background: none; }
.pg-people .news-list a {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1.25rem 0;
    border: 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; background: none;
}
.pg-people .news-list a:last-child { border-bottom: 1px solid var(--rule); }
.pg-people .news-list a:hover { background: linear-gradient(var(--blue-tint), var(--blue-tint)) no-repeat center / calc(100% + 2 * var(--gutter)) 100%; }
.pg-people .news-list .t { display: block; font: 700 clamp(1.3rem, 4vw, 1.7rem)/1.1 var(--display); letter-spacing: -.01em; text-transform: none; color: var(--ink); transition: color .2s; }
.pg-people .news-list a:hover .t { color: var(--blue); text-decoration: none; }
.pg-people .news-list .label { display: block; margin-top: .35rem; font: 600 .86rem/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--blue); }
.pg-people .news-list .excerpt { display: block; margin-top: .4rem; max-width: 68ch; font: 400 1rem/1.55 var(--sans); color: var(--ink-2); }

/* News item: a readable article measure */
.pg-article { max-width: 46rem; }
.article-head { padding: 1.25rem 0 1.5rem; margin-bottom: 1.75rem; border-bottom: 1px solid var(--ink); }
.article-head h1 { margin: 0; font: 700 clamp(1.9rem, 6vw, 2.5rem)/1.15 var(--display); letter-spacing: -.01em; color: var(--ink); }
.article-date { margin: .9rem 0 0; font: 700 .95rem/1.2 var(--sans); color: var(--blue); }
.pg-article .prose, .pg-doc .prose { max-width: 68ch; }
.pg-article .prose p, .pg-article .prose li { font-size: 1.08rem; line-height: 1.65; }
.pg-people .prose h2, .pg-people .prose h3 { color: var(--blue); }
.pg-people .prose a { color: var(--blue); text-decoration-thickness: 1px; }
.pg-people .prose blockquote { border-left: 3px solid var(--blue); }
.pg-people .prose ul li::marker { color: var(--blue); }

/* About and privacy: each section's heading beside its text from 1000px, under a hairline */
.pg-doc { padding-bottom: 1rem; }
.pg-doc .sect { padding-top: 2.25rem; }
.pg-doc .prose p, .pg-doc .prose li { font-size: 1.05rem; line-height: 1.65; }
@media (min-width: 1000px) {
    .pg-doc .sect { display: grid; grid-template-columns: 20rem minmax(0, 68ch); column-gap: 4rem; align-items: start; border-top: 1px solid var(--ink); margin-top: 2.25rem; padding-top: 1.1rem; }
    .pg-doc .sect:first-child { margin-top: 2.5rem; padding-top: 1.1rem; }
    .pg-doc .sect-head { margin: 0; padding: 0; border: 0; position: sticky; top: 1rem; }
    .pg-doc .sect-head h2 { font-size: 1.7rem; line-height: 1.05; }
}
.pg-people .prose td, .pg-people .prose th { overflow-wrap: normal; }
/* == end W7 == */

/* == W7A archive == */
/* The Leinster archive pages (components/archive/layout: <main class="… pg-archive">) in the Classic
   blue world: blue page titles, score-first rows with board bars, W/D/L chips with their letters,
   Hanken numerals. Figures stay exactly as published; only their presentation changes here. */

/* Page head: the title in blue, the season/page line in plain UI type */
.pg-archive .pagehead .meta { font: 600 1.05rem/1.35 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.pg-archive .pagehead .meta strong { color: var(--ink); }
.pg-archive .pagehead .sub { color: var(--ink-2); font-size: 1.02rem; }
.pg-archive .pagehead .sub a { color: var(--blue); font-weight: 600; }
.pg-archive .sect-head .label { font: 600 .86rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.pg-archive .sect-head h2 a { color: inherit; }


/* Round strip: pill chips (the home filter chips), the shown round filled blue */
.pg-archive .round-strip { padding-top: .5rem; }
.pg-archive .round-strip ul { gap: .4rem; }
.pg-archive .round-strip li { margin: 0; }
.pg-archive .round-strip a {
    min-height: 40px; min-width: 40px; padding: 0 .8rem; border: 1.5px solid var(--blue-soft); border-radius: 4px;
    color: var(--ink); background: #FFFFFF; font: 600 .9rem/1 var(--sans); letter-spacing: 0; text-transform: none;
}
.pg-archive .round-strip a:hover { border-color: var(--blue); background: #FFFFFF; color: var(--ink); }
.pg-archive .round-strip a[aria-current="page"] { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
@media (max-width: 599px) {
    .pg-archive .round-strip.is-numbered li { margin: 0; }
    .pg-archive .round-strip.is-numbered a { min-height: 44px; }
}

/* Score-first fixture rows (the home .match rows): meta line, home · big blue published result ·
   away, the board bar under it. The score is the match link and covers the row; the team links
   sit above it. */
.pg-archive .arc-matches { border-top: 0; }
.pg-archive .arc-match { position: relative; padding: 1.2rem 0 1.25rem; }
.pg-archive .arc-match:has(.score:hover) { background: linear-gradient(var(--blue-tint), var(--blue-tint)) no-repeat center / calc(100% + 2 * var(--gutter)) 100%; }
.pg-archive .arc-match .match-meta > :first-child::before { content: none; }
.pg-archive .arc-match .score { color: var(--blue); text-decoration: none; text-align: center; }
.pg-archive .arc-match .score::before { content: ""; position: absolute; inset: 0; }
.pg-archive .arc-match .score:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.pg-archive .arc-match .team a { position: relative; z-index: 1; color: inherit; text-decoration: none; }
.pg-archive .arc-match .team a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.pg-archive .arc-match .boards { position: relative; pointer-events: none; }
.pg-archive .score .ws { font-size: .2em; }
.pg-archive .score .score-word { display: inline-block; max-width: 9rem; font: 700 1rem/1.2 var(--sans); letter-spacing: 0; color: var(--ink-2); white-space: normal; }
.pg-archive .arc-flag { font: 700 .75rem/1.3 var(--sans); padding: .1rem .5rem; border-radius: 4px; border: 1.5px solid var(--blue-soft); color: var(--ink); }
.pg-archive .arc-flag.is-alert { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
.pg-archive .match-meta .arc-flag::before { content: none; }
.pg-archive .arc-head + .arc-matches .arc-match:first-child { padding-top: .6rem; }
/* Match page: the pass loses its panel shadow; its head is the score-first line set large, the
   board bar under it; the meta segments sit in one ruled row; each board row carries a W/D/L chip */
.pg-archive .pass.is-archive { box-shadow: none; background: none; }
.pg-archive .arc-mhead { padding: 1.5rem 0 1.4rem; border-bottom: 1px solid var(--ink); }
.pg-archive .arc-mhead .match-line { align-items: end; margin: 0; padding: 0; border: 0; font: inherit; letter-spacing: normal; }
.pg-archive .arc-mhead .team { display: grid; gap: .35rem; font-size: clamp(1.15rem, 4.2vw, 2.1rem); line-height: 1.05; }
.pg-archive .arc-mhead .team .label { font: 600 .78rem/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.pg-archive .arc-mhead .team a { color: inherit; text-decoration: none; }
.pg-archive .arc-mhead .team a:hover { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.pg-archive .arc-mhead .score { font-size: clamp(3rem, 14vw, 6.5rem); text-align: center; }
.pg-archive .arc-mhead .boards { margin-top: 1.4rem; }
.pg-archive .arc-mhead .seg-bar { height: 14px; }
.pg-archive .pass.is-archive > .segs { border: 0; border-bottom: 1px solid var(--rule); gap: 0; background: none; }
.pg-archive .pass.is-archive > .segs .seg { padding: .8rem 1rem .8rem 0; background: none; }
.pg-archive .pass .seg dt { font: 600 .78rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.pg-archive .pass .seg dd { font: 700 1.05rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
.pg-archive .pass .seg dd a { color: var(--blue); }
.pg-archive .pass-sect { padding: 1.75rem 0 0; }
.pg-archive .pass-sect > h2 { margin: 0 0 .4rem; font: 700 clamp(1.4rem, 4vw, 1.75rem)/1.15 var(--display); letter-spacing: -.01em; color: var(--blue); }
.pg-archive .board-cap.pass-sect { padding: 0 0 .5rem; font: 400 .86rem/1.4 var(--sans); color: var(--ink-2); }
.pg-archive .boards-head, .pg-archive .boards-sub { padding-left: 0; padding-right: 0; font: 600 .78rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.pg-archive .boards-head { border-bottom: 0; }
.pg-archive .boards-sub { border-bottom: 1px solid var(--ink); }
.pg-archive .is-archive .bd { padding: .7rem 0; border-top: 0; border-bottom: 1px solid var(--rule); }
.pg-archive .bd-no { border: 0; border-radius: 4px; background: var(--blue-tint); color: var(--blue); font: 700 1.15rem/1 var(--display); padding: .45rem 0 .4rem; }
.pg-archive .bd-player { font: 600 1rem/1.2 var(--sans); color: var(--ink); }
.pg-archive .bd-player .sq, .pg-archive .bd-player .sq.white { width: 10px; height: 10px; border: 1.5px solid var(--ink); border-radius: 2px; }
.pg-archive .bd-player .sq.black { background: var(--ink); }
/* Chip and published score as one fixed-width unit centred in the column (as .lg-boards .bd-out), so the chips line up down the list */
.pg-archive .is-archive .bd-res { display: grid; grid-template-columns: auto minmax(2.75rem, auto); align-items: center; justify-content: center; justify-items: start; gap: .4rem; padding: .3rem .2rem; background: none; font: 700 1.05rem/1 var(--display); color: var(--ink); text-align: left; }
.pg-archive .bd-txt { white-space: nowrap; }
.pg-archive .bd-meta { font: 400 .78rem/1.35 var(--sans); color: var(--ink-2); }
.pg-archive .bd-meta .s { letter-spacing: 0; text-transform: none; }
.pg-archive .wdl { width: 1.6rem; height: 1.6rem; border-radius: 6px; font-size: .82rem; }
.pg-archive .pass-foot { padding: 1.25rem 0 0; border-top: 0; }
.pg-archive .pass-foot.is-pager .btn { min-height: 56px; }
.pg-archive .pg-dir { font: 700 .9rem/1.1 var(--sans); letter-spacing: 0; text-transform: none; }
.pg-archive .pg-of { font: 400 .78rem/1.2 var(--sans); letter-spacing: 0; text-transform: none; }
.pg-archive details { border-radius: 4px; border-color: var(--blue-soft); }
.pg-archive .pass.is-archive .note { margin: 1rem 0 0; border-radius: 4px; background: var(--blue-tint); border-color: var(--blue-soft); }
@media (min-width: 760px) {
    .pg-archive .is-archive .boards-head, .pg-archive .is-archive .bd, .pg-archive .is-archive .boards-sub { grid-template-columns: 2.6rem minmax(0, 1fr) 7.5rem minmax(0, 1fr); }
}
@media (max-width: 599px) {
    .pg-archive .is-archive .boards-head, .pg-archive .is-archive .bd, .pg-archive .is-archive .boards-sub { grid-template-columns: 2rem minmax(0, 1fr) 5.4rem minmax(0, 1fr); }
    .pg-archive .wdl { width: 1.3rem; height: 1.3rem; font-size: .72rem; }
    .pg-archive .is-archive .bd-res { grid-template-columns: auto; justify-items: center; gap: .25rem; font-size: .95rem; }
}
/* Large text (200 %, #10): a scorecard under 17.75em wide (only with large text: 18em at 320px normally) puts the
   result and status beside the board number and each player, code and rating under them at full width,
   instead of squeezing both names into a letter-wide column; the head follows, the Code/Status line goes */
.arc-boards { container-type: inline-size; }
@container (max-width: 17.75em) {
    .pg-archive .arc-boards .boards-head, .pg-archive .arc-boards .bd { grid-template-columns: auto minmax(0, 1fr); gap: .2rem .6rem; }
    .pg-archive .arc-boards .boards-sub { display: none; }
    .pg-archive .arc-boards .boards-head .c { grid-area: 1 / 1; }
    .pg-archive .arc-boards .bd-no { grid-area: 1 / 1 / 3; min-width: 2rem; padding-inline: .4rem; }
    .pg-archive .arc-boards .boards-head .r, .pg-archive .arc-boards .bd-res { grid-area: 1 / 2; }
    .pg-archive .arc-boards .boards-head > :nth-child(2) { grid-area: 2 / 1 / auto / -1; }
    .pg-archive .arc-boards .boards-head .a { grid-area: 3 / 1 / auto / -1; text-align: left; }
    .pg-archive .arc-boards .bd-res { grid-template-columns: auto auto; justify-content: start; }
    .pg-archive .arc-boards .bd-player { grid-area: 3 / 1 / auto / -1; }
    .pg-archive .arc-boards .bd-player.away { grid-row: 5; justify-content: flex-start; text-align: left; }
    .pg-archive .arc-boards .bd-player.away .bd-name a { justify-content: flex-start; }
    .pg-archive .arc-boards .bd-meta { display: contents; }
    .pg-archive .arc-boards .bd-meta .s { grid-area: 2 / 2; text-align: left; }
    .pg-archive .arc-boards .bd-meta .h { grid-area: 4 / 1 / auto / -1; }
    .pg-archive .arc-boards .bd-meta .a { grid-area: 6 / 1 / auto / -1; text-align: left; }
    .pg-archive .arc-boards .bd-note { grid-column: 1 / -1; }
}
/* Team page: the results in order as W/D/L chips, then one row per fixture: chip · opposition and
   venue · the published score (this team first) as the match link */
.arc-form { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.arc-form li { margin: 0; }
.arc-form .wdl { width: 2rem; height: 2rem; border-radius: 4px; font-size: .95rem; }
.pg-archive .arc-team { border-top: 1px solid var(--rule); }
.pg-archive .arc-team-line { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .9rem; }
.pg-archive .arc-team-line .wdl { width: 2.1rem; height: 2.1rem; border-radius: 4px; font-size: 1rem; }
.pg-archive .arc-team-line .team { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .6rem; font: 700 clamp(1.05rem, 3.6vw, 1.35rem)/1.15 var(--display); color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.pg-archive .arc-venue { font: 600 .8rem/1.3 var(--sans); color: var(--ink-2); }
.pg-archive .arc-team-line .score { font: 700 clamp(1.9rem, 7vw, 2.8rem)/.9 var(--display); letter-spacing: -.01em; color: var(--blue); white-space: nowrap; }
.pg-archive .arc-team .match-meta { margin-bottom: .6rem; }
.pg-archive .board-cap.source-label { font: 400 .86rem/1.4 var(--sans); color: var(--ink-2); }
/* Team scorecards: each published scorecard opens with its score-first head (the whole line links to the match) */
.pg-archive .arc-mhead.is-card { padding-top: 2rem; }
.pg-archive .arc-mhead .pass-h a.match-line { color: inherit; text-decoration: none; }
.pg-archive .arc-mhead .pass-h a.match-line:hover .score { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.pg-archive .arc-mhead.is-card .score { font-size: clamp(2.5rem, 11vw, 4.6rem); }
.pg-archive section.pass.is-archive + section.pass.is-archive { margin-top: 2.5rem; }
.pg-archive .bd-meta .chip, .pg-archive .arc-status { display: inline-block; padding: .1rem .5rem; border: 1.5px solid var(--blue-soft); border-radius: 4px; background: #FFFFFF; font: 700 .72rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
.pg-archive .arc-match .match-meta .arc-status::before { content: none; }
/* Long one-word club names ("Blanchardstown") break inside their column on phones instead of widening the page */
.pg-archive .match-line { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.pg-archive .match-line .team { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 599px) {
    .pg-archive .match-line .score { font-size: clamp(2rem, 10vw, 2.6rem); }
    .pg-archive .arc-mhead .score { font-size: clamp(2.4rem, 13vw, 3.2rem); }
    .pg-archive .arc-mhead .match-line { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "score score" "home away"; row-gap: .5rem; }
    .pg-archive .arc-mhead .match-line .score { grid-area: score; justify-self: center; }
    .pg-archive .arc-mhead .team-home { grid-area: home; }
    .pg-archive .arc-mhead .team-away { grid-area: away; }
    .pg-archive .bd-txt { white-space: normal; text-align: center; }
}
/* Published tables (standings, points, cross tables, histories, clubs, cups): the home list
   grammar: a 1px ink rule under the head row, Hanken heads in sentence case, team and player
   names in the display face as published (no forced capitals), the points column a blue numeral */
.pg-archive table caption { padding: .2rem 0 .6rem; font: 700 1rem/1.2 var(--sans); color: var(--ink-2); }
.pg-archive .table-scroll > table > caption, .pg-archive .grid-scroll > table > caption { padding-left: 0; }
.pg-archive thead th { font: 600 .8rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.pg-archive tbody tr:hover > * { background: var(--blue-tint); }
.pg-archive td a, .pg-archive th a { color: var(--blue); font-weight: 600; }
.pg-archive .pub tbody td:not([data-exact]):not(:first-child):not(.x) { font: 700 1.05rem/1.2 var(--display); letter-spacing: -.005em; text-transform: none; color: var(--ink); }
.pg-archive .pub tbody td { padding-top: .7rem; padding-bottom: .7rem; vertical-align: middle; }
.pg-archive .pub tbody td:first-child { color: var(--ink-2); font: 700 .95rem/1 var(--sans); }
.pg-archive .pub.x0 tbody td:last-child,
.pg-archive .pub.x1 tbody td:nth-last-child(2),
.pg-archive .pub.x2 tbody td:nth-last-child(3) { font: 700 1.35rem/1 var(--display); letter-spacing: -.01em; color: var(--blue); }
.pg-archive .pub.x0 thead th:last-child,
.pg-archive .pub.x1 thead th:nth-last-child(2),
.pg-archive .pub.x2 thead th:nth-last-child(3) { color: var(--blue); font-weight: 700; }
.pg-archive .pub .x { font: 400 .82rem/1.4 var(--sans); color: var(--ink-2); }
/* Archive player points under 420px: as archive standings on a phone, each row is a grid of fixed
   tracks: Pos, Player and the published Pts (last before the site's columns) stay pinned, the Team
   cell is a muted second line under the player, and the other published columns scroll after Pts.
   Visual order only: the markup, the published column order and reading order are unchanged (p1fix 12). */
@media (max-width: 419px) {
    .pg-archive .pub.is-points { display: block; width: max-content; min-width: 100%; }
    .pg-archive .pub.is-points > :is(caption, thead, tbody) { display: block; }
    .pg-archive .pub.is-points tr {
        display: grid; grid-template-columns: 2.25rem 9.25rem 3.5rem; grid-template-rows: auto auto;
        grid-auto-flow: column; grid-auto-columns: 3.25rem;
    }
    .pg-archive .pub.is-points tr > * {
        grid-row: 1 / span 2; display: flex; align-items: center; justify-content: flex-end;
        height: auto; min-width: 0; padding-left: .4rem; padding-right: .4rem;
    }
    .pg-archive .pub.is-points thead tr > * { align-items: flex-end; white-space: normal; }
    .pg-archive .pub.is-points tr > :first-child { grid-column: 1; position: sticky; left: 0; z-index: 1; width: auto; background: var(--panel); }
    .pg-archive .pub.is-points tr > :nth-child(2) {
        grid-column: 2; grid-row: 1; position: sticky; left: 2.25rem; z-index: 1;
        justify-content: flex-start; align-items: flex-end; text-align: left;
        padding-bottom: .15rem; border-bottom: 0; box-shadow: none; background: var(--panel);
    }
    /* The second selector is not a repeat: it outranks the archive's player-cell rule
       (.pg-archive .pub tbody td:not([data-exact]):not(:first-child):not(.x)), which would reset the font and colour. */
    .pg-archive .pub.is-points tr > :nth-child(3),
    .pg-archive .pub.is-points tbody tr > td:nth-child(3):not([data-exact]):not(.x) {
        grid-column: 2; grid-row: 2; position: sticky; left: 2.25rem; z-index: 1;
        justify-content: flex-start; align-items: flex-start; text-align: left; min-width: 0;
        padding-top: 0; background: var(--panel); font: 400 .8rem/1.3 var(--sans); color: var(--ink-2);
    }
    .pg-archive .pub.is-points.x0 tr > :last-child,
    .pg-archive .pub.is-points.x1 tr > :nth-last-child(2),
    .pg-archive .pub.is-points.x2 tr > :nth-last-child(3) {
        grid-column: 3; position: sticky; left: 11.5rem; z-index: 1;
        background: var(--panel); box-shadow: 1px 0 0 var(--rule);
    }
    .pg-archive .pub.is-points tr > .x { grid-column: span 2; justify-content: flex-start; text-align: left; padding-top: 0; padding-bottom: 0; }
}
.pg-archive .pub-note { margin: .6rem 0 1.1rem; font: 400 .88rem/1.45 var(--sans); color: var(--ink-2); }
.pg-archive table.raw td, .pg-archive table.names td, .pg-archive .panel-table td { font: 400 .92rem/1.35 var(--sans); }
.pg-archive .grid th, .pg-archive .grid td { border-color: var(--rule); font: 400 .9rem/1.3 var(--sans); }
.pg-archive .grid tbody tr:first-child > * { border-top: 1px solid var(--ink); }
.pg-archive .grid:not(.is-raw) td:not([colspan]) { font: 600 .95rem/1.2 var(--display); color: var(--ink); }
.pg-archive td.team, .pg-archive th.team { font: 700 1.05rem/1.2 var(--display); letter-spacing: -.005em; text-transform: none; }
.pg-archive td.team a { color: var(--ink); }
.pg-archive td.team a:hover { color: var(--blue); }
.pg-archive td.num { font-variant-numeric: tabular-nums; }
/* Season lists and link lists (archive home, seasons): .list rows under a hairline, the
   competition count in body-size text (the home page's recent-tournament rows) */
.pg-archive .arc-seasons { padding-top: 2.5rem; }
.pg-archive .sec-head .arc-count { font: 600 .9rem/1.3 var(--sans); color: var(--ink-2); }
.pg-archive .arc-row { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) 18px; gap: .9rem; align-items: center; min-height: 64px; padding: .7rem 0; color: inherit; text-decoration: none; }
.pg-archive .arc-row.is-plain { grid-template-columns: minmax(0, 1fr) 18px; }
.pg-archive .arc-row svg { width: 18px; height: 18px; color: var(--blue); transition: transform .25s var(--ease); }
.pg-archive .arc-row:hover svg { transform: translateX(3px); }
.pg-archive .arc-n { font: 600 1rem/1.25 var(--sans); color: var(--ink-2); text-align: right; }
.pg-archive .arc-body { display: grid; gap: .2rem; min-width: 0; }
.pg-archive .arc-body > * { min-width: 0; }
.pg-archive .arc-name { font: 700 1.05rem/1.25 var(--sans); color: var(--ink); white-space: pre-wrap; transition: color .2s; }
.pg-archive .arc-row:hover .arc-name { color: var(--blue); }
.pg-archive .arc-sub { font: 400 .86rem/1.35 var(--sans); color: var(--ink-2); }
.pg-archive .pagehead.is-hero h1 { font-size: clamp(1.9rem, 6vw, 2.5rem); }
/* Player: the career counts as big numerals, a W/D/L bar of the published game counts (each part
   with its letter and count), and the records as list rows with a thin bar of their own counts */
.pg-archive .segs.career { border: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); gap: 0; background: none; }
.pg-archive .segs.career .seg { padding: .9rem 1rem .9rem 0; background: none; }
.pg-archive .segs.career dd { font: 700 1.05rem/1.3 var(--sans); color: var(--blue); }
.pg-archive .career-span { font: 700 1.1rem/1 var(--sans); letter-spacing: 0; color: var(--ink-2); }
.arc-wdl { display: flex; gap: 3px; min-width: 0; margin: 1rem 0 .4rem; }
.arc-wdl > span { flex: var(--n) 1 0; min-width: 3.2rem; display: flex; align-items: flex-end; gap: .3rem; padding-top: 16px; position: relative; font: 600 .82rem/1 var(--sans); color: var(--ink-2); }
.arc-wdl > span::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; border-radius: 2px; background: var(--c); }
.arc-wdl > span b { color: var(--t); font-weight: 700; }
.arc-wdl-w { --c: var(--win); --t: var(--win-ink); } .arc-wdl-d { --c: var(--draw); --t: var(--draw-ink); } .arc-wdl-l { --c: var(--loss); --t: var(--loss-ink); }
.arc-wdl > span:first-child::before { border-radius: 5px 2px 2px 5px; }
.arc-wdl > span:last-child::before { border-radius: 2px 5px 5px 2px; }
.arc-wdl > span:only-child::before { border-radius: 5px; }
.arc-wdl.is-thin { margin: .45rem 0 0; max-width: 22rem; gap: 2px; }
.arc-wdl.is-thin > span { min-width: 3px; padding-top: 6px; }
.arc-wdl.is-thin > span::before { height: 6px; }
.pg-archive .arc-rec { min-height: 0; padding: .9rem 0; }
.pg-archive .arc-rec .rec-team { font: 700 .95rem/1.2 var(--display); color: var(--ink-2); }
/* A competition record on the person page: the row is the summary and opens on its published games */
.pg-archive details.arc-fold { margin: 0; background: none; border: 0; border-radius: 0; }
.pg-archive details.arc-fold > summary { list-style: none; }
.pg-archive details.arc-fold > summary::-webkit-details-marker { display: none; }
.pg-archive details.arc-fold[open] > summary { border-bottom: 0; }
.pg-archive details.arc-fold > :not(summary) { margin-left: 0; margin-right: 0; }
.pg-archive details.arc-fold > summary:hover svg { transform: none; }
.pg-archive details.arc-fold[open] > summary svg { transform: rotate(180deg); }
.pg-archive details.provenance { border-radius: 4px; }
.pg-archive .chiplist .chip { border-radius: 4px; border: 1.5px solid var(--blue-soft); padding: .2rem .6rem; font: 600 .85rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); background: #FFFFFF; }

/* Team lists, search results, unresolved names, cup decisions, club details: rows under a hairline */
.pg-archive .team-list, .pg-archive .unresolved-list, .pg-archive .vers { background: none; border-top: 1px solid var(--rule); }
.pg-archive .team-list > li, .pg-archive .unresolved-list > li, .pg-archive .vers li { padding: .9rem 0; }
.pg-archive .team-list .t { font: 700 1.2rem/1.15 var(--display); letter-spacing: -.01em; text-transform: none; color: var(--ink); }
.pg-archive .team-list a.t:hover { color: var(--blue); }
.pg-archive .team-list .match-meta { font: 400 .86rem/1.4 var(--sans); color: var(--ink-2); }
.pg-archive .unresolved-list > li, .pg-archive .vers li { font: 400 .95rem/1.45 var(--sans); }
.pg-archive .panelbox { border: 0; border-top: 1px solid var(--rule); padding: .3rem 0 .9rem; background: none; }
.pg-archive .kv dt { font: 600 .82rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.pg-archive .kv dd { font: 400 1rem/1.4 var(--sans); color: var(--ink); }
.pg-archive .note, .pg-archive .source-gap { border-radius: 4px; font-family: var(--sans); }
.pg-archive .note { background: var(--blue-tint); border-color: var(--blue-soft); }
.pg-archive .source-gap { border-color: var(--draw); }
.pg-archive .empty { border-radius: 4px; font-family: var(--sans); color: var(--ink-2); }
.pg-archive label { font: 600 .85rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
.pg-archive input[type="search"], .pg-archive input[type="text"] { border-radius: 4px; border: 1.5px solid var(--blue-soft); min-height: 44px; font: 400 1rem/1.3 var(--sans); }
.pg-archive input[type="search"]:hover { border-color: var(--blue); }
.pg-archive .decision { margin: 0 0 1.5rem; border-top: 1px solid var(--rule); }
.pg-archive .decision-title { margin: .9rem 0 .4rem; font: 700 1.2rem/1.2 var(--display); color: var(--ink); }
.pg-archive .decision .segs { border: 0; background: none; }
.pg-archive .decision .seg { padding: .3rem 0; }
.pg-archive .pubs { list-style: none; margin: 0; padding: 0; }
.pg-archive .pubs li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; margin: 0; padding: .6rem 0; border-top: 1px solid var(--rule); font: 400 .92rem/1.4 var(--sans); }
.pg-archive .pubs .label { font: 600 .8rem/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.pg-archive .decision .perf { display: none; }
.pg-archive .cup-name a, .pg-archive td.team a { text-decoration: none; }
.pg-archive details > summary { font-family: var(--sans); }
.pg-archive td.has-wdl { white-space: nowrap; }
.pg-archive td.has-wdl .wdl { width: 1.4rem; height: 1.4rem; margin-right: .5rem; font-size: .72rem; vertical-align: middle; }
.pg-archive .pass { box-shadow: none; background: none; }
.pg-archive .decision-title { margin-left: 0; margin-right: 0; }
/* == end W7A == */

/* == W5 league pages == */
/* Division, fixture, team and tournament pages of a live league (Classic blue, wave 2); page
   content sits in .pg-league. */
.lg-record { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 2rem; margin-top: 1.2rem; }
.lg-record p { margin: 0; }
.lg-recform { display: flex; align-items: center; gap: .6rem; }

/* Form column: the shared W/D/L chips (W8 block), oldest first */
.lg-form { display: inline-flex; gap: 3px; }
.lg-none { color: var(--ink-2); }

.pg-league .more {
    display: inline-flex; align-items: center; gap: .3rem; margin: 0; font-weight: 700; color: var(--blue);
    text-decoration: none; text-underline-offset: 4px;
}
.pg-league .more:hover { text-decoration: underline; }
.pg-league .more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.pg-league .more:hover svg { transform: translateX(3px); }
.lg-links { display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; margin: 1.25rem 0 0; max-width: none; }
.pg-league > .empty, .pg-league > .cols > .main-col > .empty, .pg-league .sect > .empty {
    margin: 0 0 1.25rem; padding: 1.25rem 0; background: none; border: 0; border-top: 1px solid var(--rule);
    color: var(--ink-2); font: 400 1rem/1.5 var(--sans); text-transform: none; letter-spacing: 0;
}
.lg-note { margin: .6rem 0 0; font-size: .9rem; color: var(--ink-2); }
.lg-legend { margin: .2rem 0 .4rem; }
.lg-legend .pc + .pc { margin-left: -.15rem; }

/* A scrolling table box holds its own sr-only text (absolutely placed), so none of it widens the page */
.pg-league .table-scroll, .pg-league .grid-scroll { position: relative; }
/* Tables on league pages: blue heads, team names in display type (not uppercase), Pts as big blue numerals */
.pg-league thead th { color: var(--blue); }
.pg-league thead th abbr[title] { text-decoration-color: var(--blue-soft); }
.pg-league td.team, .pg-league th.team, .pg-league th.player, .pg-league .lg-cross tbody th {
    font: 600 1.05rem/1.2 var(--display); letter-spacing: -.01em; text-transform: none; color: var(--ink);
}
.pg-league .standings td, .pg-league .points td { font-size: 15px; }
.pg-league .standings .pos, .pg-league .points .pos { color: var(--ink-2); }
.pg-league .standings td.pts, .pg-league .points td.pts { font: 700 1.4rem/1 var(--display); letter-spacing: -.01em; color: var(--blue); }
.pg-league .standings td.form { text-align: left; }
.pg-league .standings thead th.pts { font: 600 12px/1.3 var(--sans); color: var(--blue); }
.pg-league .standings th.form { text-align: left; }
.pg-league .col-key .wdl { width: 1.15rem; height: 1.15rem; font-size: .66rem; margin: 0 .1rem 0 .3rem; }
@media (max-width: 419px) {
    /* the phone grid (.standings tr) gives every other column 3.5rem; Form needs three of them and,
       like Pts, moves up beside the team (visual order only), so # Team Pts Form show without scrolling */
    .pg-league .standings tr > .form { grid-column: 4 / span 3; grid-row: 1; justify-content: flex-start; }
    /* the 46px tap-target cell height (wave 1) is a minimum in this grid, not a fixed height, so a
       long team name (and its "withdrawn" or line-key note) wraps in full (W10b) */
    .pg-league .standings tr > * { height: auto; min-height: 46px; }
}

/* Player points: W, D and L in their result inks */
.pg-league .points .c-w { color: var(--win-ink); font-weight: 700; }
.pg-league .points .c-d { color: var(--draw-ink); font-weight: 700; }
.pg-league .points .c-l { color: var(--loss-ink); font-weight: 700; }

/* Cross table: each result a W/D/L cell chip (.wdl.xc, W8 block), from the row team's side, with its letter and points */
.lg-cross td { vertical-align: middle; }
.pg-league .lg-cross tbody th, .pg-league .lg-cross tbody th a { white-space: normal; overflow-wrap: anywhere; hyphens: auto; }
.lg-cross td.self { background: var(--blue-tint); color: var(--ink-2); }
.lg-cross td.has-result { padding: .3rem .35rem; }
.lg-cross .x-no { display: inline-block; min-width: 1.4rem; color: var(--ink-2); font: 700 .85rem var(--sans); }

/* Round strip on league pages: pill chips like the home filters, the shown round filled blue */
.lg-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; margin: 0 0 .5rem; }
.lg-tz { margin: 0; font-size: .88rem; color: var(--ink-2); }
.pg-league .round-strip { padding: 0; }
.pg-league .round-strip ul { gap: .35rem; margin: 0; }
.pg-league .round-strip li { margin: 0; }
.pg-league .round-strip a {
    display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 40px; height: 40px; padding: 0 .75rem;
    border: 1.5px solid var(--blue-soft); border-radius: 4px; background: #FFFFFF; color: var(--ink);
    font: 600 .92rem/1 var(--sans); letter-spacing: 0; text-transform: none;
}
.pg-league .round-strip a:hover { border-color: var(--blue); background: #FFFFFF; color: var(--ink); }
.pg-league .round-strip a[aria-current] { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
@media (max-width: 599px) {
    .pg-league .round-strip.is-numbered ul { gap: .35rem; }
    .pg-league .round-strip.is-numbered li { margin: 0; }
    .pg-league .round-strip.is-numbered a { display: flex; min-height: 40px; padding: 0; }
}

/* Score-first fixture rows (as the home page's results; the team names and the score are links) */
.lg-matches { border-top: 0; }
.lg-fx { padding: 1.15rem 0 1.25rem; }
.lg-fx .match-meta .moved { margin: 0; }
.lg-fx .match-line .team a, .lg-head .match-line .team a { color: inherit; text-decoration: none; }
.lg-fx .match-line .team a:hover, .lg-head .match-line .team a:hover { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.lg-fx .match-line .team.is-own { color: var(--blue); }
.lg-fx .match-line .score { font-size: clamp(2.1rem, 9vw, 3.6rem); text-decoration: none; }
.lg-fx .match-line .score:hover, .lg-head a.score:hover { color: var(--blue-deep); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.lg-v { justify-self: center; font: 700 1.6rem/1 var(--display); color: var(--ink-2); text-decoration: none; padding: 0 .4rem; }
.lg-v.is-status {
    font: 600 .8rem/1.15 var(--sans); text-align: center;
    padding: .35rem .6rem; border: 1.5px solid var(--blue-soft); border-radius: 4px; max-width: 7.5rem;
}
a.lg-v:hover { color: var(--blue); border-color: var(--blue); }
.lg-fx.is-moved .match-meta { color: var(--ink); }

/* The match page's head: the score huge between the teams, the board bar under it */
.lg-matchpage { padding-top: .25rem; }
.lg-head { border-bottom: 0; padding: .5rem 0 1.25rem; }
.lg-head .match-line { margin: 0; padding: 0; border: 0; font: inherit; letter-spacing: normal; color: inherit; }
.lg-head .match-line .team { font-size: clamp(1.1rem, 4.2vw, 2rem); font-weight: 600; }
.lg-head .match-line .score { font-size: clamp(3.2rem, 15vw, 7rem); text-decoration: none; }
.lg-head .match-line .lg-v { font-size: clamp(2rem, 7vw, 3rem); }
.lg-head .match-line .lg-v.is-status { font-size: .8rem; }
.lg-head .boards { margin-top: 1.4rem; gap: 4px; }
.lg-head .seg-bar { height: 16px; }
.lg-head .seg-meta { font-size: .9rem; }
.lg-head .match-meta a { color: var(--blue); font-weight: 600; text-decoration: none; }
.lg-head .match-meta a:hover { text-decoration: underline; }
.lg-facts {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr)); gap: 0 2rem;
    margin: 0 0 1.75rem; padding: 0; border-top: 1px solid var(--rule);
}
.lg-facts > div { padding: .75rem 0; border-bottom: 1px solid var(--rule); min-width: 0; }
.lg-facts dt { margin: 0 0 .25rem; color: var(--ink-2); }
.lg-facts dd { margin: 0; font: 600 1.05rem/1.3 var(--display); color: var(--ink); }
.lg-facts dd a { color: var(--blue); text-decoration: none; }
.lg-facts dd a:hover { text-decoration: underline; }
.lg-facts .is-moved dd { color: var(--blue); }
.lg-matchpage .pass-foot { padding-left: 0; padding-right: 0; border-top: 0; }
/* The page's one Share sits under the head's board bar, so it is on screen when the page opens (desktop and phone) */
.lg-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 .25rem; }
.pg-archive .arc-mhead .lg-actions { margin-top: 1rem; }

/* Board list: a real table; the result cell leads with its W/D/L chip from the home side. The chip and
   score are one fixed-width unit (the score column fits ½–½) centred in the cell, so every row's chip
   and score start at the same x whatever the score's width; the Total row centres its score alone. */
.lg-boards-scroll { border: 0; }
.lg-boards caption { font: 700 1.35rem/1.15 var(--display); letter-spacing: -.01em; color: var(--blue); padding: 0 0 .7rem; }
.lg-boards caption small { display: block; margin-top: .35rem; font: 400 .85rem/1.3 var(--sans); letter-spacing: 0; color: var(--ink-2); }
.lg-boards th, .lg-boards td { vertical-align: middle; padding: .65rem .5rem; }
.lg-boards .bd-c { width: 2.6rem; text-align: center; }
.lg-boards tbody th.bd-c { font: 700 1.2rem/1 var(--display); color: var(--blue); }
.lg-boards .bd-r { width: 6.5rem; text-align: center; white-space: nowrap; }
.lg-boards .bd-a { text-align: right; }
.lg-boards .bd-p { font: 500 1rem/1.25 var(--display); color: var(--ink); }
.lg-boards .bd-p .sq { margin: 0 .35rem 0 0; border-radius: 2px; }
.lg-boards .bd-a .sq { margin: 0 0 0 .35rem; }
.lg-boards .bd-p a { color: inherit; text-decoration: none; }
.lg-boards .bd-p a:hover { color: var(--blue); text-decoration: underline; }
.lg-boards .bd-p .nm-keep { white-space: nowrap; }
.lg-boards .bd-out { display: inline-grid; grid-template-columns: auto 2.75rem; align-items: center; justify-items: start; gap: .4rem; text-align: left; }
.lg-boards .bd-res { background: none; padding: 0; font: 700 1.1rem/1 var(--display); color: var(--ink); }
.lg-boards .bd-note { display: block; margin-top: .25rem; font: 400 .75rem/1.2 var(--sans); color: var(--ink-2); }
.lg-boards tfoot th, .lg-boards tfoot td { border-top: 1px solid var(--ink); border-bottom: 0; color: var(--ink); vertical-align: middle; }
.lg-boards tfoot .bd-tl { font: 700 .95rem var(--sans); }
.lg-boards tfoot .bd-res { font: 700 1.5rem/1 var(--display); color: var(--blue); }
.lg-boards .rtg { color: var(--ink-2); font: 400 .85rem var(--sans); }
@media (max-width: 599px) {
    .lg-boards th, .lg-boards td { padding: .55rem .3rem; }
    .lg-boards .bd-c { width: 2rem; }
    .lg-boards .bd-r { width: 4.6rem; }
    .lg-boards .bd-out { grid-template-columns: auto 2.4rem; gap: .3rem; }
    .lg-boards .bd-p { font-size: .92rem; }
    .lg-boards .bd-p .sq { display: none; }
}

/* Team scorecards: one match per card, separated by space and a soft rule */
.lg-card { padding: 0 0 1.75rem; margin: 0 0 2rem; border-bottom: 1px solid var(--rule); }
.lg-card .lg-head h2.match-line { margin: 0; }
.lg-card .lg-links { margin-top: .25rem; }

/* Tournament page: the divisions in two columns from 700px, each with leader, played count and latest result
   (no code column: the name carries "Div 1") */
.lg-divs { list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) { .lg-divs { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }
.lg-div { margin: 0; padding: .5rem 0 .75rem; border-bottom: 1px solid var(--rule); }
.lg-div-foot { display: flex; align-items: center; justify-content: space-between; gap: .9rem; max-width: none; margin: 0; }
.lg-count { font-size: .85rem; color: var(--ink-2); }
.lg-count b { color: var(--ink); }
.lg-last {
    display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .1rem .6rem;
    margin-top: .35rem; padding: .5rem .7rem; border-radius: 4px; background: var(--blue-tint); color: var(--ink); text-decoration: none; font-size: .92rem;
}
.lg-last:hover { background: var(--blue-soft); }
.lg-last-l { grid-column: 1 / -1; font-size: .75rem; font-weight: 600; color: var(--ink-2); }
.lg-last-h { text-align: right; font-weight: 600; min-width: 0; }
.lg-last-a { font-weight: 600; min-width: 0; }
.lg-last-s { font: 700 1.35rem/1 var(--display); letter-spacing: -.01em; color: var(--blue); white-space: nowrap; }
.lg-div .drow-fx {
    margin: 0; font: 700 .9rem/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--blue); text-decoration: none;
}
.lg-div .drow-fx:hover { text-decoration: underline; text-underline-offset: 4px; }
.lg-jumps { margin-top: 1.4rem; }
.pg-league .match-meta > span:first-child::before { content: none; margin: 0; }
.lg-boards-scroll > .lg-boards > caption { padding-left: 0; }
/* Phones: the match page's score takes its own row above the two teams, so long club names never break mid-word */
@media (max-width: 599px) {
    .lg-head .match-line { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "score score" "home away"; row-gap: .5rem; }
    .lg-head .match-line .score, .lg-head .match-line .lg-v { grid-area: score; justify-self: center; }
    .lg-head .match-line .team-home { grid-area: home; }
    .lg-head .match-line .team-away { grid-area: away; }
    .lg-head .match-line .score { font-size: clamp(3.4rem, 19vw, 5rem); }
}
.pg-league thead th.score { font: 600 12px/1.3 var(--sans); color: var(--blue); }
/* == end W5 == */

/* == W6 events == */
/* Event pages (/tournament/{event}, its section pages) and the tournament list, wave 2 of the
   Classic blue world. The head fills the layout's `hero` slot (the page head); page bodies are wrapped
   in .pg-event. Board bars reuse the home bar grammar; single results use the shared W/D/L chip (W8 block). */

/* Body wrapper; a page opening on the dashed gap or a table keeps the head band's rhythm */
.pg-event { min-width: 0; }
.pg-event > :first-child { margin-top: 0; }
.pg-event .sect-head h2 { margin: 0; padding: 0; border: 0; }
.pg-event .event-gap { margin-top: 0; }
.pg-event > .sect:first-child { padding-top: 0; }
.pg-event > .sect + .ev-sections, .pg-event > .sect + .event-gap { margin-top: 1.75rem; }
.pg-event .pre-line { white-space: pre-line; overflow-wrap: anywhere; }
.pg-event .empty { color: var(--ink-2); }
.pg-event .more { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; font-weight: 700; color: var(--blue); text-decoration: none; }
.pg-event .more:hover { text-decoration: underline; text-underline-offset: 4px; }
.pg-event .more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.pg-event .more:hover svg { transform: translateX(3px); }
/* Places to stay nearby and Getting there (upcoming tournaments, 12 Nov 2026) */
.pg-event .ev-stay { margin: 0; padding: 0; list-style: none; display: grid; gap: .35rem; }
.pg-event .ev-stay a { font-weight: 600; }
.pg-event .ev-stay-note { color: var(--ink-2); }
.pg-event .ev-directions { font-weight: 700; }
.pg-event .club-map { margin-top: .75rem; }

/* Coaches and academies (decision 170): one card per entry, two columns from 760px, three from 1100px */
.pg-coaches .tfilters { margin: 0 0 1.5rem; }
.coach-count { margin: 0 0 1rem; color: var(--ink-2); }
.coach-cards { display: grid; gap: 1.5rem 2.5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
@media (min-width: 760px) { .coach-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .coach-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.coach-card { min-width: 0; margin: 0; padding-top: .8rem; border-top: 1px solid var(--rule); }
.coach-card .coach-name { margin: 0 0 .25rem; font: 700 1.15rem/1.2 var(--display); overflow-wrap: anywhere; }
.coach-card .coach-name a { color: var(--ink); text-decoration: none; }
.coach-card .coach-name a:hover { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pg-coaches .coach-county { margin: 1.5rem 0 .75rem; font: 700 1.05rem/1.3 var(--display); }
.coach-meta { margin: 0 0 .4rem; font-size: .92rem; color: var(--ink-2); }
.coach-modes { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .4rem; }
.coach-desc { margin: 0; font-size: .95rem; }
.coach-missing { margin: 2rem 0 0; color: var(--ink-2); }

/* Event page: one card per section (two columns from 760px, three from 1100px) */
.ev-cards { display: grid; gap: 2rem 2.5rem; }
@media (min-width: 760px) { .ev-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ev-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ev-sec { display: flex; flex-direction: column; min-width: 0; padding-top: .8rem; border-top: 1px solid var(--rule); }
.ev-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .2rem 1rem; }
.ev-sec-head h3 { margin: 0; font: 700 1.3rem/1.15 var(--display); letter-spacing: -.01em; overflow-wrap: anywhere; }
.ev-sec-head h3 a { color: var(--ink); text-decoration: none; }
.ev-sec-head h3 a:hover { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ev-sec-n { font-size: .9rem; color: var(--ink-2); white-space: nowrap; }
.ev-sec-n b { font: 700 .9rem/1.3 var(--sans); color: var(--blue); }
.ev-sec-meter { margin: .7rem 0 .4rem; }
.ev-sec-rounds { font-size: .82rem; color: var(--ink-2); white-space: nowrap; }
.ev-sec-rounds b { color: var(--ink); }
.ev-sec .table-scroll { margin: .3rem 0 .2rem; border: 0; }
.ev-sec .event-standings.is-compact td, .ev-sec .event-standings.is-compact th { padding: .5rem .35rem; }
.ev-sec .event-standings.is-compact thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ev-sec .event-standings.is-compact tbody tr:first-child > * { border-top: 0; }
.ev-sec .event-standings.is-compact th.rk, .ev-sec .event-standings.is-compact td.rk { width: 2rem; min-width: 2rem; max-width: 2rem; text-align: left; }
.ev-sec .event-standings.is-compact th.name { left: 2rem; box-shadow: none; }
.ev-sec .event-standings.is-compact .pts { font-size: 1.45rem; color: var(--blue); }
.ev-sec .event-gap { margin: .6rem 0 0; }
.ev-sec .empty { margin: .6rem 0 0; }
.ev-sec-links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin: auto 0 0; padding-top: .2rem; }

/* Standings tables (individual and team): Pts big in the display face, the top three ranked in
   blue, Form after the points, the key under the table */
.pg-event .event-standings thead th { color: var(--blue); }
.pg-event .event-standings td.rk { color: var(--ink-2); }
.pg-event .event-standings tbody tr:nth-child(-n+3) td.rk { color: var(--blue); font-weight: 700; }
.pg-event .event-standings .pts { font: 700 1.4rem/1 var(--display); letter-spacing: -.01em; color: var(--ink); }
.pg-event .event-standings thead .pts { font: inherit; color: var(--blue); }
.pg-event .event-standings td.rtg { color: var(--ink-2); }
.pg-event .event-standings .tb { color: var(--ink-2); }
.pg-event .team-standings td.pts { color: var(--ink); }
.pg-event .event-standings th.form, .pg-event .event-standings td.form { text-align: left; }
.pg-event .tb-legend { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .25rem .9rem; align-items: baseline; }
.pg-event .tb-legend dt, .pg-event .tb-legend dd { margin: 0; }
.fm-legend { margin: -.5rem 0 1.25rem; }
.fm-legend .pc { margin-right: -.15rem; }

/* Form line: <ol class="fm-line"><li class="fm"><a|span class="wdl wdl-w">…</li>: one shared chip per round */
.fm-line { display: flex; flex-wrap: wrap; gap: 3px; margin: 0; padding: 0; list-style: none; }
.fm { display: flex; margin: 0; padding: 0; }
.pg-event .seg-x .seg-bar { background: transparent; box-shadow: inset 0 0 0 1.5px var(--draw); }

/* Individual round: score-first board rows, the winner bold, the result big in blue */
.pg-event .ev-played { display: flex; gap: .6rem; align-items: baseline; margin: 0 0 .5rem; }
.pg-event .event-board .boards-head { padding: .3rem 0 .45rem; }
.pg-event .event-board .bd { padding: .8rem 0; border-top: 1px solid var(--rule); }
.pg-event .event-board .boards-head, .pg-event .event-board .bd { grid-template-columns: 2.4rem minmax(0, 1fr) 6.5rem minmax(0, 1fr); gap: .75rem; }
.pg-event .event-board.is-unnumbered .boards-head, .pg-event .event-board.is-unnumbered .bd { grid-template-columns: minmax(0, 1fr) 6.5rem minmax(0, 1fr); }
.pg-event .event-board .bd-no { border: 0; padding: 0; font: 700 1.3rem/1 var(--display); color: var(--ink-2); }
.pg-event .event-board .bd-player { font: 500 1.05rem/1.2 var(--display); color: var(--ink-2); }
.pg-event .event-board .bd-player.is-won { font-weight: 700; color: var(--ink); }
.pg-event .event-board .bd-player a { color: inherit; }
.pg-event .event-board .bd-player.is-won .bd-pn > a { color: var(--ink); }
.pg-event .event-board .bd-res { display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.gm-score { font: 700 clamp(1.5rem, 4.5vw, 2rem)/.9 var(--display); letter-spacing: -.01em; color: var(--blue); white-space: nowrap; }
.pg-event .event-board .byes .gm-score { font-size: 1.3rem; color: var(--ink-2); }
/* a game not played yet: "v" in muted words, no box (W10b: the split-flap cell is retired on event pages) */
.gm-score.is-pending { font: 500 1.4rem/1 var(--sans); letter-spacing: 0; color: var(--ink-2); }
.pg-event .event-board .byes-head { padding: 1.2rem 0 .45rem; border-top: 1px solid var(--rule); }
.pg-event .event-board .fm-legend { margin: .9rem 0 1.25rem; }
.pg-event .event-board .pass-foot, .pg-event > .pass-foot { padding: 1rem 0; border-top: 1px solid var(--rule); }

/* Player card and team head: the figures in one text line, then the form line */
.pg-event .event-card h2 { margin: 0 0 1rem; }
.event-card .card-person { margin: .25rem 0 .75rem; font-size: 14px; } /* the person page link under the card's name */
.pg-event .card-facts { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 0 0 1.25rem; }
.pg-event .cf { display: flex; align-items: baseline; gap: .3rem; }
.pg-event .cf dt { order: 2; margin: 0; font: 500 1rem/1.3 var(--sans); text-transform: none; color: var(--ink-2); }
.pg-event .cf dd { margin: 0; font: 700 1rem/1.3 var(--sans); letter-spacing: 0; color: var(--ink); }
.pg-event .cf.is-lead dd, .pg-event .card-facts .pts { font: 700 1rem/1.3 var(--sans); letter-spacing: 0; color: var(--blue); }
.pg-event .card-form { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: 0 0 1.5rem; }
.pg-event .card-form .wdl { width: 1.7rem; height: 1.7rem; font-size: .85rem; }
.pg-event .event-games .res { white-space: nowrap; }
.pg-event .event-games .res .res-v { display: inline-block; min-width: 1.6rem; }
.pg-event .event-games .res .gm-chip { margin-left: .35rem; }
.pg-event .team-head .sect-head { margin-bottom: 1rem; }
.pg-event .team-sect { padding-top: 1rem; }
.pg-event .team-matches td.pts { white-space: nowrap; }
.pg-event .team-matches td.pts .gm-chip { margin-left: .5rem; }
/* Side: "home"/"away" from 420px; under it the letter H/A (aria-hidden) shows and the word stays for
   screen readers, the opponent column narrows and the cells tighten so Score and its chip fit 375px (p1fix 10) */
.pg-event .team-matches .side-letter { display: none; }
@media (max-width: 419px) {
    .pg-event .team-matches :is(th, td) { padding-left: .35rem; padding-right: .35rem; }
    .pg-event .team-matches th.name { min-width: 8rem; }
    .pg-event .team-matches td.side { position: relative; text-align: center; }
    .pg-event .team-matches th.side { text-align: center; }
    .pg-event .team-matches .side-letter { display: inline; }
    .pg-event .team-matches .side-word {
        position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
        overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
    }
}

/* Team round and team match: the home page's score-first rows and board bars */
.pg-event .team-round .board { list-style: none; margin: 0; padding: 0; border-top: 0; }
.pg-event .tm { position: relative; padding: 1.1rem 0 1.25rem; } /* no overflow clip: the score link's hit area is inset 0, rings stay visible (QA #9) */
.pg-event .tm .match-meta { margin: 0 0 .45rem; }
.pg-event .tm .c-date { font: 600 .82rem/1.2 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.pg-event .match-line .team a { position: relative; z-index: 1; color: inherit; text-decoration: none; }
.pg-event .match-line .team a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pg-event .c-home, .pg-event .c-away { grid-area: auto; }
.pg-event .c-home { text-align: left; }
.pg-event .c-away { text-align: right; }
.pg-event .tm .score { font-size: clamp(2rem, 8vw, 3.3rem); }
.pg-event .tm .score a { color: inherit; text-decoration: none; }
/* the score is the row's link to the Match Pass: its hit area covers the row, team links sit above */
.pg-event .tm .score a::before { content: ""; position: absolute; inset: 0; }
.pg-event .tm:has(.score a:hover) { background: linear-gradient(var(--blue-tint), var(--blue-tint)) no-repeat center / 100% 100%; }
.pg-event .tm .score.is-pending { font: 500 1.4rem/1 var(--sans); color: var(--ink-2); }
.pg-event .team-round .fm-legend { margin: 1rem 0 1.25rem; }
.pg-event .team-byes { display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: baseline; margin-top: 1rem; }
.pg-event .team-byes dt, .pg-event .team-byes dd { margin: 0; }

.pg-event .tm-pass { border-bottom: 0; padding: 0 0 .5rem; }
.pg-event .tm-pass .match-meta a { font-weight: 600; color: var(--ink-2); }
.pg-event h2.match-line { margin: 0; padding: .4rem 0 0; border: 0; font: inherit; letter-spacing: normal; color: inherit; align-items: end; }
.pg-event .tm-pass .team { display: grid; gap: .35rem; }
.pg-event .tm-pass .team .label { font-size: 11px; }
.pg-event .tm-pass .pass-team { font: inherit; font-size: clamp(1.25rem, 4.6vw, 2.2rem); line-height: 1.05; letter-spacing: -.01em; text-transform: none; color: inherit; }
.pg-event .tm-pass .score { font-size: clamp(3rem, 13vw, 6rem); }
.pg-event .tm-pass .score.is-pending { font: 500 2rem/1 var(--sans); color: var(--ink-2); }
.pg-event .tm-pass > .boards { margin-top: 1.25rem; }
.pg-event .tm-pass .seg-meta { font-size: .85rem; }
.pg-event .tm-boards-title { margin: 2.25rem 0 0; padding-bottom: .6rem; border-bottom: 1px solid var(--ink); font: 700 1.4rem/1.15 var(--display); color: var(--blue); }
.pg-event .tm-pass .boards-note { padding: .8rem 0 0; }
.pg-event .tm-pass .boards-head { padding: .6rem 0 .4rem; }
.pg-event .bd-list { list-style: none; margin: 0; padding: 0; }
.pg-event .tm-pass .bd { padding: .7rem 0; border-top: 1px solid var(--rule); grid-template-columns: 2.2rem minmax(0, 1fr) 4.2rem minmax(0, 1fr); }
.pg-event .tm-pass .boards-head { grid-template-columns: 2.2rem minmax(0, 1fr) 4.2rem minmax(0, 1fr); }
.pg-event .tm-pass .bd-no { border: 0; padding: 0; font: 700 1.3rem/1 var(--display); color: var(--ink-2); }
.pg-event .tm-pass .bd-res { background: none; font: 700 1.15rem/1 var(--display); color: var(--blue); }
.pg-event .tm-pass .bd-total { border-top: 1px solid var(--ink); }
.pg-event .tm-pass .bd-total .bd-res { background: none; color: var(--blue); font-size: 1.5rem; }
.pg-event > .pass-foot { margin-top: .5rem; }
.pg-event > .pass-foot + .pass-foot { border-top: 0; padding-top: 0; }

/* Crosstables: the blue rule under the head, the self cell tinted, the rank and points in ink */
.pg-event :is(.event-cross, .rr-cross) td.pts, .pg-event .team-crosstable td.tb:first-of-type { color: var(--ink); }
.pg-event .grid thead th { color: var(--blue); border-bottom: 1px solid var(--ink); }
.pg-event .team-crosstable tbody th { font: 600 1rem/1.15 var(--display); }
.pg-event .team-crosstable .xt-pts { color: var(--blue); }

/* Tournament list: rows in the home page's "Recent tournaments" grammar (entry count + bar) */
.pg-tournaments .events { margin: 0 0 1.5rem; border-top: 1px solid var(--rule); background: none; }
.pg-tournaments h3.ev-year { margin: 2rem 0 .6rem; font: 700 1.35rem/1.15 var(--display); letter-spacing: -.01em; color: var(--blue); }
.pg-tournaments .events .event-row {
    grid-template-columns: 2.6rem minmax(0, 1fr) auto;
    grid-template-areas: "n name state" "n meta meta" "n icu icu";
    column-gap: 1rem; row-gap: .3rem; align-items: start; padding: .95rem 0; background: none;
}
.pg-tournaments .events .event-row:not(:has(.icu-event-field)) { grid-template-areas: "n name state" "n meta meta"; }
.pg-tournaments .events .event-row:has(a.t:hover) { background: linear-gradient(var(--blue-tint), var(--blue-tint)) no-repeat center / calc(100% + 2 * var(--gutter)) 100%; }
.pg-tournaments .event-row .ev-n { grid-area: n; font: 600 1rem/1.25 var(--sans); color: var(--ink-2); text-align: right; }
.pg-tournaments .event-row .ev-n.is-none { font-weight: 500; color: var(--draw-ink); }
.pg-tournaments .events .event-row .t { grid-area: name; font: 700 1.1rem/1.25 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
.pg-tournaments .events .event-row a.t:hover { color: var(--blue); }
.pg-tournaments .events .ev-meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem 0; font-size: .86rem; color: var(--ink-2); }
.pg-tournaments .ev-meta > * + *::before { content: "·"; margin: 0 .5rem; color: #9AA0BC; }
.pg-tournaments .ev-meta .sep { color: #9AA0BC; }
.pg-tournaments .ev-meta :is(.ev-date, .ev-town, .tag) { font: 400 .86rem/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.pg-tournaments .ev-meta .ev-date { color: var(--ink); font-weight: 600; }
.pg-tournaments .ev-meta .ev-town { display: inline; }
.pg-tournaments .ev-count { font-weight: 600; color: var(--ink); }
.pg-tournaments .event-row .ev-state { grid-area: state; justify-self: end; }
.pg-tournaments .ev-done { font: 600 .82rem/1.4 var(--sans); text-transform: none; color: var(--ink-2); }
.pg-tournaments .events .event-row.is-listing { margin: 0; border: 0; border-bottom: 1px dashed var(--steel); }
.pg-tournaments .events .event-row.is-listing .t { color: var(--ink-2); }
.pg-tournaments .icu-event-field { grid-area: icu; font: 400 .82rem/1.4 var(--sans); color: var(--ink-2); }
.pg-tournaments .icu-event-field .label { font-size: 11px; }
@media (max-width: 759px) {
    .pg-tournaments .events .event-row { grid-template-columns: 2.4rem minmax(0, 1fr) auto; column-gap: .8rem; }
    .pg-tournaments .event-row .ev-n { font-size: 1rem; }
}
/* Live tournaments: link cards on the blue tint */
.pg-tournaments .linkgrid:not(.seasons) a { background: var(--blue-tint); border-radius: 4px; border: 0; }
.pg-tournaments .linkgrid:not(.seasons) .t { font: 700 1.3rem/1.1 var(--display); letter-spacing: -.01em; text-transform: none; color: var(--ink); }
/* team rows reuse the .c-home/.c-away names (tests, links); the older board-row look is reset. The
   score is the home page's .match-line .score (ultramarine Hanken 700, no box), not a .c-score flap (W10b) */
.pg-event .tm .match-line > * { grid-area: auto; }
.pg-event .tm .match-meta span::before { content: none; }
.pg-event .tm :is(.c-home, .c-away) { font: 500 clamp(1rem, 3.6vw, 1.3rem)/1.15 var(--display); letter-spacing: -.01em; text-transform: none; color: var(--ink-2); }
.pg-event .tm :is(.c-home, .c-away).won { font-weight: 700; color: var(--ink); }
.pg-event .tm .score.is-pending { justify-self: center; letter-spacing: 0; }
.pg-event .ev-sections > .sect-head { margin-bottom: .4rem; } /* keeps its 1px rule (DESIGN.md; QA #16) */
.pg-tournaments .year-strip a[aria-current] { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
/* a chip's screen-reader text is positioned inside the chip, so it never widens a phone's layout viewport */
.pg-event .match .seg { position: relative; }
/* W10 */
/* Team crosstable: every match a W/D/L chip from the row team's side (.wdl.xc, W8 block); its text in the chip's near-black ink */
.pg-event .team-crosstable td { vertical-align: middle; }
.pg-event .team-crosstable td .wdl.xc { align-items: baseline; gap: .2rem; text-decoration: none; }
.pg-event .team-crosstable .wdl.xc :is(.xt-side, .xt-pts) { color: inherit; }
.pg-event .team-crosstable .wdl.xc .xt-side { opacity: .8; }
.pg-event .team-crosstable .wdl-x.xc.is-empty { justify-content: center; min-width: 1.6rem; }
/* Event standings under 420px: Pts (a team table's first tie-break) and Form move up beside the
   name (visual order only: the markup, the screen-reader order and every value stay as they are),
   as the league standings do (W5). Each row is a grid of fixed tracks so the columns line up; the
   Form track fits --fm-n rounds of chips; Rk, Name and Pts stay pinned while the rest scroll. */
@media (max-width: 419px) {
    .pg-event .event-standings.has-form {
        --fm-chip: 1.2rem;
        display: block; width: max-content; min-width: 100%;
    }
    .pg-event .event-standings.has-form > thead, .pg-event .event-standings.has-form > tbody { display: block; }
    .pg-event .event-standings.has-form tr {
        display: grid; grid-template-columns: 2rem 7.75rem 3rem min(calc(var(--fm-n) * (var(--fm-chip) + 2px) + .6rem), calc(100vw - 2 * var(--gutter) - 12.75rem));
        grid-auto-flow: column; grid-auto-columns: 3.5rem;
    }
    /* the 46px tap-target cell height (wave 1) is a minimum here, not a fixed grid height, so a long name wraps in full */
    .pg-event .event-standings.has-form tr > * { height: auto; min-height: 46px; display: flex; align-items: center; justify-content: flex-end; min-width: 0; box-sizing: border-box; padding-left: .3rem; padding-right: .3rem; }
    .pg-event .event-standings.has-form thead tr > * { align-items: flex-end; }
    .pg-event .event-standings.has-form tr > .rk { width: auto; min-width: 0; max-width: none; }
    .pg-event .event-standings.has-form tr > .name { display: block; align-self: stretch; left: 2rem; min-width: 0; box-shadow: none; }
    .pg-event .event-standings.has-form tr > .name a { display: inline; }
    .pg-event .event-standings.has-form tr > .pts {
        grid-column: 3; grid-row: 1; position: sticky; left: 9.75rem; z-index: 1;
        background: var(--panel); box-shadow: 1px 0 0 var(--rule);
    }
    .pg-event .event-standings.has-form tr > .form { grid-column: 4; grid-row: 1; justify-content: flex-start; }
    /* more rounds than fit: the line wraps inside its track, so every round stays in view */
    .pg-event .event-standings.has-form .fm-line { flex-wrap: wrap; gap: 2px; }
    .pg-event .event-standings.has-form .fm .wdl { width: var(--fm-chip); height: var(--fm-chip); font-size: .66rem; }
}
/* W10b: on phones the round board gives the two names the room (narrow board no. and result
   columns, names a step smaller); a single word still too long ("Hovhannisyan,") breaks inside
   its cell rather than widening the page */
@media (max-width: 599px) {
    .pg-event .event-board .boards-head, .pg-event .event-board .bd { grid-template-columns: 1.5rem minmax(0, 1fr) 3.4rem minmax(0, 1fr); gap: .5rem; }
    .pg-event .event-board.is-unnumbered .boards-head, .pg-event .event-board.is-unnumbered .bd { grid-template-columns: minmax(0, 1fr) 3.4rem minmax(0, 1fr); }
    .pg-event .event-board .bd-no { font-size: 1.1rem; }
    .pg-event .event-board .bd-player { font-size: .95rem; }
    .pg-event .event-board .bd-pn > a { display: inline; }
    .pg-event .event-board .bd-pn { overflow-wrap: break-word; }
}
/* == end W6 == */

/* == W8 shared == */
/* The one W/D/L chip on every page (components/wdl.blade.php; the people pages' own markup uses the
   same classes): the exact result colour filled, its letter always on it in near-black #05081A
   (5.8:1 on win, 7.9:1 on draw, 4.8:1 on loss: AA at any size). x: a bye or a board that is not a
   game result, outlined; none: no game yet. Board-by-board bars keep the home bar grammar (.seg). */
.wdl {
    --c: var(--draw);
    position: relative; /* its .sr text stays inside a scrolling table */
    display: inline-flex; align-items: center; justify-content: center; flex: none; vertical-align: middle;
    width: 1.45rem; height: 1.45rem; border-radius: 5px;
    background: var(--c); color: #05081A; font: 700 .78rem/1 var(--sans); text-decoration: none;
}
.wdl-w { --c: var(--win); } .wdl-d { --c: var(--draw); } .wdl-l { --c: var(--loss); }
.wdl-x { --c: #FFFFFF; color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--draw); }
.wdl-none { --c: var(--blue-tint); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule); }
a.wdl:hover { color: #05081A; box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--blue); }
a.wdl-x:hover { color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--draw), 0 0 0 2px var(--paper), 0 0 0 4px var(--blue); }
.legend .wdl { width: 1.2rem; height: 1.2rem; font-size: .7rem; }
/* Cross table cells: the letter, then the published result, in one chip */
.wdl.xc { width: auto; height: auto; gap: .3rem; padding: .25rem .45rem; border-radius: 6px; font: 700 .95rem/1 var(--display); white-space: nowrap; }
.wdl.xc .xc-l { font: 700 .7rem/1 var(--sans); }
.wdl.xc + .wdl.xc { margin-left: .25rem; }
.xc-legend { margin: .2rem 0 .8rem; }
/* People pages: a player's game (the letter big, the score or result words under it) and the club rows */
.wdl:has(> b) { flex-direction: column; gap: .15rem; text-align: center; }
.wdl b { font-weight: 700; }
.pgame > .wdl { width: 3.5rem; height: auto; min-height: 3.5rem; padding: .35rem .2rem; border-radius: 4px; }
.pgame > .wdl b { font: 700 1.55rem/1 var(--display); letter-spacing: -.01em; }
.wdl .wdl-res { font: 700 .82rem/1.1 var(--sans); }
.wdl.is-word .wdl-res { font-size: .68rem; font-weight: 600; line-height: 1.1; }
.wdl-sm { width: 2.4rem; height: 2.4rem; border-radius: 4px; }
.wdl-sm b { font-size: 1.15rem; }
.wdl-xs { width: 1.5rem; height: 1.5rem; border-radius: 6px; }
.wdl-xs b { font-size: .85rem; }
.cfix-row > .wdl-none { background: none; box-shadow: none; }
/* == end W8 == */

/* == W11 share + remnants == */
/* A cup publication's result (archive.cups.show) as a published score in ultramarine Hanken 700, no box
   (W10c: big-score partial, its spaces drawn narrow like every archive score) */
:where(.archive-main) .pub-res .pub-score { padding: 0 .15rem; color: var(--blue); font: 700 1.3rem/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
:where(.archive-main) .pub-res .pub-score .ws { font-size: .2em; }
:where(.archive-main) .pub-res .pub-score .score-word { font: 700 .95rem/1.2 var(--sans); color: var(--ink-2); white-space: normal; }
:where(.archive-main) .pub-res .pub-score.is-pending { color: var(--ink-2); font: 400 .9rem/1 var(--sans); }
/* == end W11 == */

/* == W10c remnants == */
/* Section-head meta (a count, a round's date and time, a team's rating average, a related link) is
   sentence-case Hanken Meta, not a tracked uppercase line; the archive already reads this way. The
   DESIGN Label style stays for column heads, dt labels and form labels. */
.sect-head .label { font: 600 .86rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; }
.sect-head .label:not(a) { color: var(--ink-2); }
/* Whole-sentence notes set as labels read as sentences */
.boards-note.label, .label.auto-note { font: 400 .86rem/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
/* == end W10c == */

/* == ailook B (27 Oct 2026) == */
/* One rule where a section starts: a list, panel or empty note that draws its own top rule drops it
   right under a heading that already sits on one (no two lines stacked under "Coming up"). */
:is(h2, .sec-head, .sect-head, .mun-h) + :is(.list, .events, .empty, .up-empty, .team-list, .unresolved-list, .vers, .panelbox, .decision, .segs, .ev-sec, .arc-team),
.main-col > section > .sec-head + .empty, .ev-sections .ev-sec,
:is(.sec-head, .sect-head) + :is(nav, div) > .list:first-child { border-top: 0; }
/* == end ailook B == */

/* == seo3 W2 P2: breadcrumb == */
/* The visible breadcrumb (D10 a; site.partials.breadcrumbs), drawn by both layouts between the
   sub-nav and <main> as a full-width row on white. Builds on the .crumbs rules above: Hanken 600
   .95rem, blue links, the page itself last in ink; the separator is a drawn span hidden from
   assistive technology (not the ::before "/"). It wraps on phones; every link is a 44px target. */
.crumbs { margin: 0; border-bottom: 1px solid var(--rule); background: var(--paper); }
.crumbs ol.wrap { gap: 0 .35rem; align-items: center; margin: 0 auto; padding: 0 var(--gutter); min-width: 0; }
.crumbs li { display: flex; align-items: center; gap: .35rem; min-width: 0; font-size: .95rem; }
.crumbs li + li::before { content: none; }
.crumbs a { padding-inline: 2px; color: var(--blue); overflow-wrap: anywhere; }
.crumbs a:hover { text-underline-offset: 4px; }
.crumbs [aria-current="page"] { padding-block: .7rem; overflow-wrap: anywhere; }
.crumbs .sep { color: var(--steel); }
/* == end seo3 W2 P2 == */

/* ailook A (27 Oct 2026): slim band, plain page head on white, clubs and club team tables.
   Only rules for markup this wave added; the old hero/band rules they replace are listed in the
   wave's RESULT for removal. */

/* Slim band: wordmark, nav and search on one row (~64px). Phones with JS: one row too, the nav
   folded behind the Menu button (public/js/site.js); without JS it stays open. The search is a Search
   button that opens a modal dialog (site.js moves the form into it), at every width (29 Oct 2026). */
.bar { padding-top: .5rem; padding-bottom: .5rem; min-height: 64px; }
.bar-toggle { display: none; }
.search-open:not([hidden]), .search-close, .member-open {
    display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
    min-width: 44px; min-height: 44px; padding: 0 .75rem; margin: 0;
    border: 1px solid rgba(255, 255, 255, .55); border-radius: 4px; background: transparent;
    color: #FFFFFF; font: 600 .95rem/1 var(--sans); cursor: pointer;
}
.search-open:hover, .search-close:hover, .member-open:hover { background: #FFFFFF; color: var(--blue); border-color: #FFFFFF; }
/* Sign in (homedistill round 2, 17 Nov 2026): a person icon beside Search, the same square; a plain link (pages are
   cached for everyone), so it shows without JS too; site.js names it "Your account" → /account for a member */
.member-open { padding: 0; text-decoration: none; }
.member-open svg { width: 18px; height: 18px; }
.search-modal {
    width: min(640px, calc(100% - 2rem)); max-width: none; margin: 12vh auto auto; padding: 0; overflow: visible;
    border: 0; border-radius: 8px; background: var(--blue); color: var(--on-blue); box-shadow: 0 24px 64px var(--shadow);
}
.search-modal::backdrop { background: rgba(10, 16, 48, .55); }
.search-modal :focus-visible { outline-color: #FFFFFF; }
.search-modal-body { display: flex; align-items: center; gap: .5rem; padding: 1rem; }
.search-modal .search { order: 0; flex: 1; width: auto; min-width: 0; }
.js .band .search { display: none; } /* until site.js moves it into the dialog: no flash in the band */
@media (min-width: 900px) {
    .search-open { order: 1; }
    .member-open { order: 2; }
}
@media (max-width: 899px) {
    .wordmark { font-size: 1.2rem; padding-block: calc((44px - 1em) / 2); margin-block: calc((44px - 1em) / -2); } /* still a 44px tap target */
    .js .bar { gap: .5rem .4rem; } /* wordmark, Search, Sign in and Menu on one row at 390px (round 2) */
    .js .bar-toggle {
        display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
        min-width: 44px; min-height: 44px; padding: 0 .75rem; margin: 0;
        border: 1px solid rgba(255, 255, 255, .55); border-radius: 4px; background: transparent;
        color: #FFFFFF; font: 600 .95rem/1 var(--sans); cursor: pointer;
    }
    .js .bar-toggle svg { width: 18px; height: 18px; }
    .js .bar-toggle:hover, .js .bar-toggle[aria-expanded="true"] { background: #FFFFFF; color: var(--blue); border-color: #FFFFFF; }
    .js .band .nav { display: none; }
    .js .bar[data-open="site-nav"] .nav { display: block; }
}

/* Phone menu (mobnav, 15 Nov 2026): with JS, under 900px, the Menu button (an icon and "Menu", or "Close"
   once open, both stacked in one grid cell so the button keeps its width) opens the nav full screen.
   site.js sets html.nav-open and the bar's height (--bar-h on the band): the page stops scrolling, the
   bar stays where it is (fixed, its height held by the band's padding) over a blue sheet that holds the
   links, large and one per row; the current one keeps its white mark (a bar on the left here).
   Without JS none of this applies: the nav stays open in the band. */
.nav-toggle-closed, .nav-toggle-open { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; grid-area: 1 / 1; }
.nav-toggle[aria-expanded="true"] .nav-toggle-closed, .nav-toggle:not([aria-expanded="true"]) .nav-toggle-open { visibility: hidden; }
@media (max-width: 389px) {
    /* under 390px: the Menu button keeps its icon and its name ("Menu"/"Close", read out) but not the visible word */
    .js .bar-toggle.nav-toggle { padding: 0; font-size: 0; }
    .js .bar-toggle.nav-toggle :is(.nav-toggle-closed, .nav-toggle-open) { gap: 0; }
}
@media (max-width: 899px) {
    .js .bar-toggle.nav-toggle { display: inline-grid; }
    html.nav-open { overflow: hidden; }
    html.nav-open .band { position: relative; z-index: 60; padding-top: var(--bar-h, 64px); }
    html.nav-open .bar {
        position: fixed; top: 0; left: 0; right: 0; z-index: 1;
        padding-top: calc(.5rem + env(safe-area-inset-top, 0px));
        padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
    }
    html.nav-open .bar > :not(.nav) { position: relative; z-index: 1; }
    .js .bar[data-open="site-nav"] .nav {
        position: fixed; inset: 0; z-index: 0; width: auto; height: 100vh; height: 100dvh; margin: 0;
        overflow-y: auto; overscroll-behavior: contain; background: var(--blue);
        padding: calc(var(--bar-h, 64px) + env(safe-area-inset-top, 0px) + .5rem) max(var(--gutter), env(safe-area-inset-right, 0px)) calc(2rem + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
    }
    .js .bar[data-open="site-nav"] .nav-top { display: block; max-width: var(--max); margin: 0 auto; border-top: 1px solid rgba(255, 255, 255, .22); }
    .js .bar[data-open="site-nav"] .nav-top > li { border-bottom: 1px solid rgba(255, 255, 255, .22); }
    .js .bar[data-open="site-nav"] .nav-label { flex: 1; min-width: 0;
        display: flex; align-items: center; min-height: 56px; padding: .5rem .85rem; margin: 0 -.85rem;
        text-align: left; font: 600 1.375rem/1.3 var(--sans); color: var(--on-blue-2);
        border-bottom: 0; border-left: 3px solid transparent;
    }
    .js .bar[data-open="site-nav"] .nav-label:hover { color: #FFFFFF; }
    .js .bar[data-open="site-nav"] .nav-label[aria-current] { color: #FFFFFF; border-left-color: #FFFFFF; }
    /* About and Contact: smaller, after a divider */
    .js .bar[data-open="site-nav"] .nav-top > .nav-util:not(.nav-util + .nav-util) { margin-top: 1rem; } /* the content group's last rule is the divider */
    .js .bar[data-open="site-nav"] .nav-top > .nav-util { border-bottom: 0; }
    .js .bar[data-open="site-nav"] .nav-util .nav-label { min-height: 48px; font-size: 1.05rem; }
    .js .bar[data-open="site-nav"] .nav a:focus-visible, .js .bar[data-open="site-nav"] .nav button:focus-visible { outline-offset: -3px; }
    /* homewave2 H4: each item's chevron (56px square) expands its panel under the label */
    .js .bar[data-open="site-nav"] .nav-chev { min-width: 56px; min-height: 56px; margin-right: -.85rem; color: #FFFFFF; }
    .js .bar[data-open="site-nav"] .nav-chev svg { width: 20px; height: 20px; }
    .js .bar[data-open="site-nav"] .nav-panel { padding: 0 0 1rem .85rem; }
}
@media (max-width: 899px) and (prefers-reduced-motion: no-preference) {
    .js .bar[data-open="site-nav"] .nav { animation: nav-sheet-in .18s linear both; }
    .js .bar[data-open="site-nav"] .nav-top { animation: nav-list-in .26s var(--ease) both; }
}
@keyframes nav-sheet-in { from { opacity: 0; } }
@keyframes nav-list-in { from { opacity: 0; transform: translateY(-8px); } }

/* Home: the band is the slim header only (homedistill round 2, 17 Nov 2026); its wordmark is the H1 */
.band .home-title { display: flex; margin: 0 auto 0 0; padding: 0; border: 0; font: inherit; letter-spacing: 0; color: inherit; }

/* Page head on white, under the breadcrumb and over the page's tabs: a plain H1, then one line of
   context (.page-sub) and one line of facts (.page-meta), parts separated by a dot */
.page-head { padding: .75rem 0 .75rem; }
.crumbs + .page-head { padding-top: 1rem; } /* one crumb-to-H1 gap, live and archive */
.page-head .pagehead { padding: 0; }
/* The page body starts close under the head: no extra top margin on its first block or first section */
.page-head ~ .main > .wrap > :first-child:not(.pagehead):not(.crumbs) { margin-top: .75rem; }
.page-head ~ .main :is(.pg-people, .pg-league, .pg-event) > .sect:first-child,
.page-head ~ .main :is(.pg-people, .pg-league, .pg-event) > .cols:first-child > .main-col > .sect:first-child { padding-top: 0; }
/* A document page's first section has a rule above it on desktop, so its heading keeps the gap. */
@media (min-width: 1000px) {
    .page-head ~ .main .pg-doc > .sect:first-child { padding-top: 1.1rem; }
}
/* An open season's played meter under its page head's lines (homedistill round 2, 17 Nov 2026) */
.page-head .season-meter { max-width: 640px; margin-top: .6rem; }
.page-head .season-meter p { margin: 0; font: 500 1rem/1.45 var(--sans); color: var(--ink-2); }
.page-head .season-meter b { color: var(--strong); }
.page-head .season-meter .meter { height: 6px; margin-top: .45rem; background: var(--blue-soft); }
.page-head .season-meter .meter > span { background: var(--blue); }
.page-head h1 { margin: 0; font: 700 clamp(1.75rem, 5vw, 2.4rem)/1.1 var(--display); letter-spacing: 0; color: var(--strong); overflow-wrap: anywhere; }
/* Inline parts, the dot after each but the last, so a wrapped line never starts with a dot */
.page-head :is(.page-sub, .page-meta) { margin: .35rem 0 0; max-width: none; font: 500 1rem/1.5 var(--sans); color: var(--ink-2); }
.page-head :is(.page-sub, .page-meta) > span:not(:last-child):not(.chip)::after { content: "·"; margin: 0 .5rem 0 .4rem; color: var(--steel); }
.page-head :is(.page-sub, .page-meta) > span:not(.chip) { display: inline-block; max-width: 100%; } /* lines break between parts, not inside one */
.page-head :is(.page-sub, .page-meta) > .chip { margin-right: .5rem; }
.page-head :is(.page-sub, .page-meta) a { font-weight: 600; }
.page-head .pteam { font-weight: 600; color: var(--strong); }
.page-head .pteam a { text-decoration: none; }
/* The head's links (and the home season link) are real 44px-tall boxes that take their room in the line,
   as the old band's were (QA #15, round 3): the page-sub and page-meta lines stack, so padding taken back
   by a negative margin would reach into the line above or below. A short team name ("DCU") still reaches
   44px wide with padding taken back from the empty gap before it. Form chips (a.wdl) keep their own size. */
.page-head :is(.page-sub, .page-meta) a:not([class]) { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.page-head .pteam a { padding-left: 8px; margin-left: -8px; }
.page-head .pteam a:hover { text-decoration: underline; }
.page-head .pdiv { font-weight: 500; color: var(--ink-2); }
.page-head .lg-recform { display: inline-flex; align-items: center; gap: .4rem; }
/* A page's Share button sits at the head's top right, beside the H1 (.head-title, live division heads and
   archive competition heads; sharefix, 20 Nov 2026). The H1 takes the line; when the title and the button
   do not fit on one line (a long division name on a phone) the button wraps under the H1, at the left. */
.head-title { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .75rem 1.25rem; }
.head-title > h1 { flex: 1 1 auto; min-width: 0; }
.head-title > .share { flex: none; }
.page-head .pfind { margin-top: 1rem; }
.page-head .pfind label { color: var(--ink-2); letter-spacing: 0; text-transform: none; font-size: .95rem; }
.page-head .pfind input[type="search"] { height: 48px; min-height: 48px; border: 1px solid var(--steel); border-radius: 4px; font-size: 1.05rem; }
.page-head .pfind input[type="search"]:focus-visible { outline-color: var(--blue); }
.page-head .pfind button.primary { height: 48px; border-radius: 4px; border-color: var(--blue); background: var(--blue); color: #FFFFFF; }
.page-head .pfind button.primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #FFFFFF; }

/* Clubs: one table per province (Club · Town, county · Divisions), the nearest-clubs tables the same with Distance */
.ctable { width: 100%; }
.ctable th[scope="row"] { font-weight: 600; }
.ctable :is(th, td) { overflow-wrap: break-word; }
.ctable tr[hidden], .ctable[hidden] { display: none; }
/* Each table scrolls in its own box at enlarged text; the box spans the column and draws no rules of its own.
   The box holds its own sr-only text (absolutely placed), as on league pages, so none of it widens the page */
.pg-people .table-scroll { position: relative; }
.pg-people .table-scroll:has(> .ctable) { max-width: none; border: 0; }
.table-scroll:has(> .ctable[hidden]) { display: none; }
/* A club name's link is a contained 44px box that the row makes room for: no shared padding taken back
   by a negative margin and no hit area past its cell, so a wrapped name never reaches the next row's link */
.ctable th[scope="row"] { padding-block: 0; vertical-align: middle; }
.ctable th[scope="row"] a { display: flex; align-items: center; min-height: 44px; padding-block: .3rem; margin-block: 0; }
.ctable th[scope="row"] a::after { content: none; }
/* County page: under 600px the town is a muted line under the club name and the Town column hides,
   so Meets has the room to wrap at word breaks (p1fix 11). The line is the copy screen readers read at
   every width (the Town column is aria-hidden), so from 600px it is visually hidden, never display:none (p1fix R1) */
.ctable .ct-town-line {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
@media (max-width: 599px) {
    .ctable .ct-town { display: none; }
    .ctable .ct-town-line {
        position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal;
        display: block; margin: -.35rem 0 0; padding: 0 0 .55rem; font: 400 .85rem/1.3 var(--sans); color: var(--ink-2);
    }
}

/* Club page: the teams as one compact table */
table.cteams { width: 100%; }
table.cteams th[scope="row"] { font-weight: 600; }
table.cteams :is(th, td) { vertical-align: middle; } /* the Latest link is a 44px box: the row's other cells centre on it */
table.cteams td:nth-child(2) { white-space: nowrap; }
table.cteams .team-last { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .1rem .4rem; min-height: 44px; color: var(--ink); }

/* Club page layout (clublayout, 30 Oct 2026): details band under the head, the teams table as the
   page's index, then each team's results and next fixtures side by side from 1000px */
.page-head .club-sub { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1rem; }
.page-head .club-sub > span:not(:last-child):not(.chip)::after { content: none; }
.page-head ~ .main .pg-club > .club-facts { margin-top: 1.25rem; padding: 1.1rem 1.25rem 1.25rem; border-radius: 10px; background: var(--blue-tint); }
.club-facts .sect-head { padding: 0; border: 0; margin: 0 0 .5rem; }
.club-facts .sect-head h2 { font-size: 1.2rem; letter-spacing: -.01em; }
.club-facts-body { display: grid; gap: 1rem; }
.pg-people .club-facts .club-details { grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: .9rem 2rem; }
.pg-people .club-facts .club-details dt { margin: 0; }
.club-facts .club-map { margin: 0; max-width: none; }
.club-facts .club-map-load { border-radius: 10px; background: var(--paper); }
.club-facts .club-map-frame { border-radius: 10px; }
@media (min-width: 900px) {
    .club-facts-body:has(.club-map) { grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; align-items: start; }
}

.pg-club table.cteams { border-collapse: collapse; }
.pg-club table.cteams th[scope="row"] { padding-block: 0 .35rem; font: 400 .95rem/1.2 var(--sans); }
.pg-club table.cteams th[scope="row"] a { display: inline-flex; color: inherit; text-decoration: none; }
.pg-club table.cteams th[scope="row"] a:hover { color: var(--blue); text-decoration: underline; }
.pg-club table.cteams th[scope="row"] .cteam-div { display: flex; align-items: flex-end; min-height: 44px; font: 700 1.1rem/1.2 var(--display); color: var(--ink); }
.pg-club .cteam-name { display: block; color: var(--ink-2); }
.pg-club .cteam-name a { align-items: flex-start; min-height: 32px; padding-top: .15rem; }
.club-team-name { font: 500 .95rem/1.2 var(--sans); color: var(--ink-2); }
.club-team-name a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
.club-team-name a:hover { color: var(--blue); text-decoration: underline; }
.pg-club .cteam-pts { font: 700 1.2rem/1 var(--display); color: var(--blue); }
.pg-club table.cteams td.cteam-latest { color: var(--ink-2); font-size: .95rem; }
.pg-club table.cteams .team-last { flex-wrap: nowrap; gap: .5rem; color: var(--ink); font-weight: 500; }
.pg-club .cteam-jump { text-align: right; white-space: nowrap; }
.pg-club .cteam-jump a { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; font: 600 .9rem/1 var(--sans); color: var(--blue); text-decoration: none; }
.pg-club .cteam-jump a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pg-club .cteam-jump svg { width: 14px; height: 14px; flex: none; }

/* Under 760px each team row is a small block: division and team beside Pos and Pts, the latest
   result and the jump underneath; the page never scrolls sideways. Visual only: markup stays a table. */
@media (max-width: 759px) {
    .pg-club table.cteams, .pg-club table.cteams tbody { display: block; }
    .pg-club table.cteams thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .pg-club table.cteams tr {
        display: grid; column-gap: .5rem;
        grid-template-areas: "team pos pts" "last last jump";
        grid-template-columns: minmax(0, 1fr) 2.75rem 4.75rem;
        align-items: center; padding: .5rem 0 .25rem; border-bottom: 1px solid var(--rule);
    }
    .pg-club table.cteams tr > :is(th, td) { display: block; height: auto; padding: 0; border: 0; text-align: left; white-space: normal; }
    .pg-club table.cteams th[scope="row"] { grid-area: team; }
    .pg-club table.cteams td.cteam-pos { grid-area: pos; text-align: right; font-weight: 600; font-size: 1.05rem; line-height: 1.2; }
    .pg-club table.cteams td.cteam-pts { grid-area: pts; text-align: right; }
    .pg-club :is(.cteam-pos, .cteam-pts):not(:empty)::before { content: "Pos"; display: block; margin-bottom: .2rem; font: 600 .78rem/1.2 var(--sans); color: var(--ink-2); }
    .pg-club .cteam-pts:not(:empty)::before { content: "Pts"; }
    .pg-club .cteam-latest { grid-area: last; }
    .pg-club table.cteams td.cteam-latest:not(:has(a)) { padding-block: .6rem; }
    .pg-club table.cteams td.cteam-jump { grid-area: jump; text-align: right; }
    .pg-club .cfix-row { grid-template-columns: 1.45rem minmax(0, 1fr); column-gap: .6rem; }
    .pg-club .cfix-row > .wdl { width: 1.45rem; height: 1.45rem; font-size: .78rem; }
    .pg-club .cfix-line { gap: .6rem; }
    .pg-club .cfix-line .team { font-size: .95rem; }
    .pg-club .cfix-line .score { font-size: 1.5rem; }
    .pg-club .cfix-line .score.is-pending { font-size: .72rem; padding: .2rem .4rem; }
    .pg-club .cfix-line .score.is-vs { font-size: .95rem; }
}

.pg-club .club-team { padding-top: 3rem; scroll-margin-top: 1rem; }
.pg-club .cfix-h { margin-top: .9rem; }
.pg-club .cfix-line .team.is-own { font-weight: 500; }
.pg-club .cfix-line .team.is-own a { color: var(--ink-2); }
.club-team-lists { display: grid; gap: .75rem 3rem; }
@media (min-width: 1000px) {
    .club-team-lists.has-both { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    /* half a page wide: date above the line, as on a phone */
    .has-both .cfix-row { grid-template-columns: 2.4rem minmax(0, 1fr); grid-template-areas: "chip meta" "chip line"; }
    .has-both .cfix-meta { display: flex; }
    .has-both .cfix-meta > span + span::before { content: "·"; }
    .has-both .cfix-line { grid-template-columns: minmax(0, 1fr) 6.5rem minmax(0, 1fr); }
    .has-both .cfix-line .score { font-size: 1.75rem; }
    .has-both .cfix-line .score.is-pending { font-size: .78rem; }
    .has-both .cfix-line .score.is-vs { font-size: 1rem; }
}

/* The history table takes the page's width; its section heading already names it */
.pg-club table.raw { width: 100%; }
.pg-club table.raw caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* == layoutfix (30 Oct 2026) == */
/* Phones: the breadcrumb is one line, the parent only, with a drawn back arrow; a long name is cut, never wrapped */
@media (max-width: 599px) {
    .crumbs ol.wrap { flex-wrap: nowrap; }
    .crumbs li:not(.crumb-parent) { display: none; }
    .crumbs .crumb-parent .sep { display: none; }
    .crumbs .crumb-parent a { display: block; min-height: 0; overflow: hidden; line-height: 44px; white-space: nowrap; text-overflow: ellipsis; outline-offset: -3px; }
    .crumbs .crumb-parent a::before { content: ""; display: inline-block; width: .45em; height: .45em; margin: 0 .4em .1em .15em; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
}

/* The one division row (site.partials.division-row): name, leader, Pts */
.drow-box { container-type: inline-size; }
.drow {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name pts" "lead pts"; gap: .05rem .75rem; align-items: center;
    min-height: 44px; padding: .4rem 0; color: inherit; text-decoration: none;
}
.drow .drow-name { grid-area: name; margin: 0; padding: 0; border: 0; font: 700 1.02rem/1.25 var(--display); letter-spacing: -.01em; color: var(--ink); overflow-wrap: anywhere; transition: color .2s; }
.drow:hover .drow-name { color: var(--blue); }
.drow-lead { grid-area: lead; min-width: 0; font: 400 .86rem/1.3 var(--sans); color: var(--ink-2); overflow-wrap: anywhere; }
.drow-tied { font-weight: 600; }
.drow-pts { grid-area: pts; font: 700 1.15rem/1 var(--display); color: var(--blue); white-space: nowrap; }
.drow-pts-u { font: 600 .75rem var(--sans); color: var(--ink-2); }
@container (min-width: 30rem) {
    .drow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; grid-template-areas: "name lead pts"; }
}
.arc-comps .lg-div { padding: .25rem 0; }

.matches ~ .legend { margin-top: .9rem; }
.sw-letter { font: 700 .78rem/1 var(--sans); }
.sw-w + .sw-letter { color: var(--win-ink); } .sw-d + .sw-letter { color: var(--draw-ink); } .sw-l + .sw-letter { color: var(--loss-ink); }

/* ---------- homedistill (17 Nov 2026; round 2 the same day): the home page ----------
   Latest results lead (the main column; first on phones after any pins). The side column holds the divisions one
   line each, Coming up, and the Munster League; the three latest news items come last on phones and sit under the
   results from 1000px (round 3). Round 4 (18 Nov): every home section head is the site's own H2 (blue, the base h2 size,
   the ink rule), as on the tournament and division pages; Latest results leads by position, not by size. */
.home-cols > aside > section + section, .home-cols > .main-col > section + section { margin-top: 2.5rem; }
/* the side column is an <aside>, whose generic `aside h2` is 1.4rem: home heads keep the base h2 size at every width */
.home-cols .sec-head h2 { font: 700 clamp(1.4rem, 4vw, 1.75rem)/1.15 var(--display); letter-spacing: -.01em; color: var(--blue); }
.sec-head.sec-quiet .more { font-size: .9rem; }

/* Latest results: a header per match day; each competition and round a small label over its rows (phones) or
   beside them (760px up) */
.mdays, .mgroups { list-style: none; margin: 0; padding: 0; }
.mday, .mgroup { margin: 0; }
.mday + .mday { margin-top: 1.25rem; }
.mday-h { margin: 0; padding: .9rem 0 .4rem; font: 700 1.1rem/1.3 var(--display); letter-spacing: -.01em; color: var(--ink); }
.mgroup-h { max-width: none; margin: 0; padding: .55rem 0 0; font: 600 .8rem/1.3 var(--sans); color: var(--ink-2); }
.mgroup-h abbr { text-decoration: none; }
/* Round 5: the label links to that round on its division's fixtures page. Same small label, a faint underline, blue
   on hover; a 44px tap target from vertical padding cancelled by a negative margin, so the row is no taller (the
   target reaches over the hairline above and the row's top padding; it sits over the match link there). */
.mgroup-h a {
    position: relative; z-index: 1; display: inline-block; padding: calc((44px - 1.3em) / 2) .25rem; margin: calc((1.3em - 44px) / 2) -.25rem;
    color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
    text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
}
.mgroup-h a:hover { color: var(--blue); text-decoration-color: currentColor; }
/* Hairlines that survive the chips (F3, F6): every row opens on one, full width (the first one in a day is the day
   header's rule, a hairline: only the section head carries the ink rule). Round 2: each row carries its own label
   (`.mgroup` is one row now), so no row sits under an empty label cell, and a hidden row never leaves a stray or
   double line. */
.mgroup { border-top: 1px solid var(--rule); }
.mgroup .match { border-bottom: 0; }
@media (min-width: 760px) {
    .mgroup { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); column-gap: 1rem; }
    .mgroup-h { padding: .95rem 0 0; align-self: start; }
}
/* Phones: the chip row scrolls sideways; its right edge fades while more chips sit past it (round 2). Where the
   browser has scroll-driven animations the fade lifts once the row is scrolled to its end. */
@media (max-width: 759px) {
    .home-cols .chips { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2.75rem), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 2.75rem), transparent); }
    @supports (animation-timeline: scroll(inline)) {
        .home-cols .chips { --chips-fade: 2.75rem; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - var(--chips-fade)), transparent); mask-image: linear-gradient(to right, #000 calc(100% - var(--chips-fade)), transparent); animation: chips-fade linear both; animation-timeline: scroll(self inline); }
    }
}
@property --chips-fade { syntax: "<length>"; inherits: false; initial-value: 2.75rem; }
@keyframes chips-fade { 0%, 85% { --chips-fade: 2.75rem; } 100% { --chips-fade: 0rem; } }
/* a chip that hides every row of a group or a day hides its label or header too */
.mgroup:not(:has(.match:not([hidden]))), .mday:not(:has(.match:not([hidden]))) { display: none; }
.mdays ~ .empty { margin: 0; padding: 2rem 0; background: none; border: 0; color: var(--ink-2); }
.mdays ~ .empty[hidden] { display: none; }
/* the row is teams and score only now: the meta holds the screen-reader words and site.js's New badge */
.home-matches .match-link { padding-block: .5rem; min-height: 44px; }
.home-matches .match-meta { justify-content: flex-end; }

/* Divisions: one line each, "Div 1 Armstrong Cup · Knights of Éanna · 14 Pts"; a competition with
   groups one line to its tournament page ("2 groups") */
.home-drows { list-style: none; margin: 0; padding: 0; }
.home-drows > li { margin: 0; border-bottom: 1px solid var(--rule); }
.home-drows .drow { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "name lead pts"; gap: .75rem; min-height: 44px; padding: .3rem 0; }
.home-drows .drow-name { font: 700 .95rem/1.25 var(--display); white-space: nowrap; }
.home-drows .drow-lead { font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-drows .drow-pts { font-size: 1rem; }
/* a competition with groups (round 3, 17 Nov 2026): the name plain text, then each group a link to its table, wrapping
   under the name where the column is narrow; every link a 44px-high tap target. Groups without names: one "2 groups"
   line to the tournament page, with the chevron. */
.home-drows .drow-groups { display: flex; flex-wrap: wrap; align-items: center; column-gap: .75rem; row-gap: 0; padding-block: 0; }
div.drow-groups:hover .drow-name { color: var(--ink); }
.home-drows .drow-glinks { display: flex; flex-wrap: wrap; justify-content: flex-end; margin: 0 -.4rem 0 auto; padding: 0; list-style: none; }
.home-drows .drow-glinks li { margin: 0; }
.home-drows .drow-glinks a {
    display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .4rem;
    font: 600 .86rem/1.2 var(--sans); color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px;
    text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px;
}
.home-drows .drow-glinks a:hover { text-decoration-color: currentColor; }
.home-drows .drow-gall { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "name lead"; }
.home-drows .drow-gall .drow-lead { display: inline-flex; align-items: center; justify-content: flex-end; gap: .4rem; color: var(--blue); font-weight: 600; }
.home-drows .drow-gall .drow-lead::after { content: ""; flex: none; width: .4rem; height: .4rem; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.home-divs .src { margin-top: .5rem; }

/* News under Latest results: the /news list (site.news.partials.list) at a smaller size, three items, each a
   headline, organisation and date, and its excerpt cut to three lines */
.home-news .news-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; background: none; }
.home-news .news-list a > span { display: block; min-width: 0; }
.home-news .news-list a { display: block; padding: .8rem 0; border: 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; background: none; }
.home-news .news-list a:hover { background: none; }
.home-news .news-list a:hover .t { color: var(--blue); text-decoration: none; }
.home-news .news-list .t { display: block; font: 700 1.1rem/1.25 var(--display); letter-spacing: -.01em; color: var(--ink); overflow-wrap: break-word; transition: color .2s; }
.home-news .news-list .label { display: block; margin-top: .2rem; font: 600 .82rem/1.4 var(--sans); color: var(--blue); }
.home-news .news-list .excerpt { display: -webkit-box; margin-top: .25rem; max-width: none; font: 400 .92rem/1.45 var(--sans); color: var(--ink-2); -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
/* desktop: the three side by side under the results, so the main column ends near the side column (round 2) */
@media (min-width: 1000px) {
    .home-news .news-list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.5rem; }
    .home-news .news-list a { padding: .7rem 0 .9rem; border-bottom: 0; }
}

/* Munster League as one line (no current table yet) */
.mun-line p { max-width: none; margin: 0; padding: .7rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: .92rem; line-height: 1.4; color: var(--ink-2); }
.mun-line b { color: var(--ink); }
/* linked: a blue chevron at the end, as on the grouped division line (only when there is a page to go to) */
.mun-line a { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 44px; margin-block: -.7rem; color: inherit; text-decoration: none; }
.mun-line a::after { content: ""; flex: none; width: .4rem; height: .4rem; margin-right: .2rem; border: solid var(--blue); border-width: 2px 2px 0 0; transform: rotate(45deg); }
.mun-line a:hover :is(b, span) { color: var(--blue); }
/* the current table under a quiet head: its h3 takes a hairline, not the ink rule (F5) */
.home-cols .mun-h { border-bottom-color: var(--rule); }

@media (min-width: 1000px) {
    /* Round 3: the source order is the phone order (results, side column, news), so the reading order is the same at
       every width. From 1000px News moves into the main column under the results: Latest results fill rows 1-2 (row 1
       also holds a visible pin card on the right), News row 3; the side column runs from row 2 (row 1 when no pin card
       shows) to the last row, a flexible one that takes only what the side column has beyond the main one, so neither
       column leaves a gap in the other. */
    .home-cols { grid-template-rows: auto auto auto 1fr; row-gap: 0; }
    .home-cols > .main-col { grid-column: 1; grid-row: 1 / span 2; }
    .home-cols > .pins { grid-column: 2; grid-row: 1; margin-bottom: 2.5rem; }
    .home-cols > aside { grid-column: 2; grid-row: 2 / -1; }
    .home-cols > .home-news { grid-column: 1; grid-row: 3; margin-top: 2.5rem; }
    .home-cols:has(> .pins[hidden]) > aside { grid-row: 1 / -1; }
}

/* Division and fixtures pages: the side column from 1000px only, so 999px and under are unchanged */
.rail { display: none; }
.rail section + section { margin-top: 3rem; }
@media (min-width: 1000px) {
    .rail { display: block; }
    .cols .table-scroll.is-fit { width: 100%; }
}
.rail-fx {
    display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .1rem .6rem;
    padding: .55rem 0 .65rem; color: var(--ink-2); text-decoration: none; font-size: .92rem;
}
.rail-fx:hover .rail-fx-s, .rail-fx:hover .rail-fx-v { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; }
.rail-fx-m { grid-column: 1 / -1; font-size: .78rem; color: var(--ink-2); }
.rail-fx-h { text-align: right; min-width: 0; font-weight: 500; }
.rail-fx-a { min-width: 0; font-weight: 500; }
.rail-fx .won { font-weight: 700; color: var(--ink); }
.rail-fx-s { font: 700 1.35rem/1 var(--display); letter-spacing: -.01em; color: var(--blue); white-space: nowrap; }
.rail-fx-v { color: var(--ink-2); }

/* Player: season by season and the rating history side by side from 1000px */
@media (min-width: 1000px) {
    .player-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4rem; align-items: start; }
    .player-pair > :only-child { grid-column: 1 / -1; }
    .pg-people .player-pair .sect { padding-top: 2.25rem; } /* both headings on one line, first child or not */
}

/* /tournaments: the selects behind a disclosure on phones; from 600px it is always open and its summary gone */
.filter-box { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.filter-box > summary {
    display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 .85rem; list-style: none; cursor: pointer;
    border: 1.5px solid var(--blue-soft); border-radius: 4px; font: 600 .95rem/1 var(--sans); color: var(--ink);
}
.filter-box > summary::-webkit-details-marker { display: none; }
.filter-box > summary:hover { border-color: var(--blue); }
.filter-box > summary svg { width: 16px; height: 16px; transition: transform .15s; }
.filter-box[open] > summary { margin-bottom: .75rem; }
.filter-box[open] > summary svg { transform: rotate(180deg); }
.filter-count { color: var(--blue); font-weight: 700; }
@supports selector(::details-content) {
    @media (min-width: 600px) {
        .filter-box > summary { display: none; }
        .filter-box::details-content { display: block; content-visibility: visible; block-size: auto; }
    }
}
/* == end layoutfix == */

/* ---------- Consent bar (site.partials.independence, 11 Nov 2026): the site's own cookie choice,
   pinned to the foot of the window in the footer's ink; Accept and Reject are equal (both white),
   as the Irish DPC asks. Shown by public/js/site.js; hidden without JS. ---------- */
.consent {
    position: fixed; z-index: 50; left: 0; right: 0; bottom: 0;
    background: var(--blue-ink); color: #C3C8E0; border-top: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 -12px 32px var(--shadow);
}
.consent[hidden] { display: none; }
.consent-inner { display: flex; align-items: center; gap: 1rem 2rem; padding-top: 1rem; padding-bottom: 1rem; }
.consent-copy { flex: 1; min-width: 0; }
.consent-title { margin: 0 0 .25rem; font: 700 1rem/1.3 var(--sans); letter-spacing: 0; color: #FFFFFF; }
.consent p { margin: 0; font: 400 .9rem/1.5 var(--sans); max-width: 75ch; }
.consent a { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.consent .consent-state { margin-top: .25rem; color: #FFFFFF; font-weight: 600; }
.consent :focus-visible { outline-color: #FFFFFF; }
.consent-actions { display: flex; gap: .5rem; flex: none; }
.consent .consent-btn {
    min-width: 7rem; border: 1.5px solid #FFFFFF; background: #FFFFFF; color: var(--blue);
}
.consent .consent-btn:hover { background: transparent; color: #FFFFFF; border-color: #FFFFFF; }
@media (max-width: 699px) {
    .consent-inner { flex-direction: column; align-items: stretch; gap: .75rem; }
    .consent-actions .consent-btn { flex: 1; min-width: 0; }
}
@media print { .consent { display: none !important; } }

/* HTML site map (/site-map, 11 Nov 2026): plain link lists, in columns where there is room */
.site-map h3 { margin: 1.25rem 0 .4rem; }
.site-map h3 a { color: inherit; }
.map-cols { columns: 16rem auto; column-gap: 2rem; }
.map-cols li { margin: 0 0 .45rem; break-inside: avoid; }

/* "Show these standings on your club site" on a division page (standings embed, 11 Nov 2026) */
.embed-help { margin-top: 1.5rem; }
.embed-help p { font-size: .95rem; }
.embed-help pre {
    margin: 0 .9rem .75rem; padding: .7rem .9rem; overflow-x: auto; background: var(--blue-tint);
    border: 1px solid var(--rule); border-radius: 4px;
}
.embed-help pre code { padding: 0; background: none; overflow-wrap: normal; white-space: pre; }
.embed-help .copy-status { align-self: center; font-size: .9rem; color: var(--muted); }

/* === Pins (homewave1) === */
/* Pin toggle on team and player pages (site/partials/pin-button), the home pin card (site/home/pins, filled by public/js/pins.js). */
.pin { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; margin: .75rem 0 0; }
.pin[hidden], .pins[hidden] { display: none; }
.pin-toggle[aria-pressed="true"] { background: var(--blue); color: #FFFFFF; border-color: var(--blue); }
.pin-toggle[aria-pressed="true"]:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.pin-toggle[aria-pressed="true"] svg path { fill: currentColor; }
.pin-status { margin: 0; font-size: .9rem; color: var(--muted); }
/* Empty status stays in the a11y tree (visually hidden) so the first message is announced. */
.pin-status:empty { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pins { margin: 0; }
.pins .sec-head { align-items: center; }
.pins-clear { min-height: 44px; padding: .4rem .5rem; border: 0; background: transparent; color: var(--blue); font: 600 .9rem/1 var(--sans); text-decoration: underline; text-underline-offset: 3px; }
.pins-clear:hover { background: transparent; color: var(--blue-deep); }
.pin-first { padding: .9rem 1rem; background: var(--blue-tint); border-left: 3px solid var(--blue); border-radius: 0 4px 4px 0; }
.pin-first h3 { margin: 0; font: 700 1.15rem/1.25 var(--display); }
.pin-first h3 a, .pin-line > a { color: var(--blue); text-decoration: none; }
.pin-first h3 a:hover, .pin-line > a:hover, .pin-facts a:hover { text-decoration: underline; }
.pin-sub { color: var(--muted); font-size: .9rem; }
.pin-first > .pin-sub { margin: .15rem 0 .6rem; }
.pin-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .6rem 1.25rem; margin: 0; }
.pin-facts > div { min-width: 0; }
.pin-facts dt { margin: 0 0 .15rem; }
.pin-facts dd { margin: 0; display: flex; flex-direction: column; gap: .1rem; overflow-wrap: anywhere; }
.pin-facts a { color: var(--ink); font-weight: 600; text-decoration: none; }
.pin-when { font-size: .85rem; color: var(--muted); }
.pin-lines { list-style: none; margin: .5rem 0 0; padding: 0; }
.pin-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .9rem; padding: .6rem 0; border-bottom: 1px solid var(--rule); }
.pin-line > a { font-weight: 700; min-height: 24px; }
.pin-oc { display: inline-flex; align-items: center; justify-content: center; min-width: 1.4em; height: 1.4em; margin-right: .2em; border-radius: 3px; font: 700 .8rem/1 var(--mono); color: #FFFFFF; }
.pin-oc-win { background: var(--win-ink); }
.pin-oc-draw { background: var(--draw-ink); }
.pin-oc-loss { background: var(--loss-ink); }
.pins-note { margin: .5rem 0 0; font-size: .82rem; color: var(--muted); }
/* A gone pin (season over, withdrawn, no longer listed), said once with a Dismiss button (pins.js). */
.pin-notes { list-style: none; margin: 0 0 .6rem; padding: 0; }
.pin-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .1rem .75rem; padding: .5rem .75rem; border: 1px solid var(--rule); border-left: 3px solid var(--muted); border-radius: 0 4px 4px 0; }
.pin-note + .pin-note { margin-top: .4rem; }
.pin-note p { margin: 0; flex: 1 1 14rem; overflow-wrap: anywhere; }
.pin-note a { color: var(--blue); }

/* ---------- homewave2 B: home (items 8–13, 16 Nov 2026) ---------- */
/* 10. Coming up: a group heading's dates after its label; an Ongoing event's date block filled like today's */
.upcoming .up-group > h3 .up-when { margin-left: .35rem; font: 500 .82rem/1.2 var(--sans); color: var(--ink-2); }
.upcoming .up-group.is-ongoing .up-date { background: var(--blue); color: #FFFFFF; }
/* 9. Board marks carry a shape as well as a colour and a letter (every bar and key, site-wide): a win solid,
   a draw hatched, a loss a low bar; a board that is no result stays outlined (.seg-x). The home row's key
   sits inside its Boards panel, under the bars. The player page's key (.pg-legend) keys solid .wdl
   chips, not bars, so its swatches stay solid. */
.seg-d .seg-bar, .sw-d:not(.pg-legend .sw-d) { background: repeating-linear-gradient(-45deg, var(--draw) 0 2.5px, #FFFFFF 2.5px 4.5px); box-shadow: inset 0 0 0 1px var(--draw); }
.seg-l .seg-bar, .sw-l:not(.pg-legend .sw-l) { background: linear-gradient(to top, var(--loss) 50%, transparent 50%); }
.sw-l:not(.pg-legend .sw-l) { box-shadow: inset 0 -1px 0 var(--loss); }
.boards-key { display: flex; flex-wrap: wrap; gap: .25rem .9rem; max-width: none; margin: .55rem 0 .2rem; font: 400 .78rem/1.4 var(--sans); color: var(--ink-2); }
.boards-key > span { display: inline-flex; align-items: center; gap: .3rem; }
.boards-key .sw { width: 16px; height: 9px; }
/* 8. A division chip's count of the rows it shows: "Div 3 (2)" */
.chips .chip .chip-n { margin-left: .2rem; font-weight: 500; opacity: .8; }
/* its screen-reader words (.sr-only, absolute) stay inside the chip, so the scrolling chip row never widens the page */
[data-home-chips] .chip { position: relative; }
/* 8. Touch: the home division chips reach a 44px target */
@media (pointer: coarse) { [data-home-chips] .chip { height: 44px; min-height: 44px; } }

/* finish1116 C1 */
/* Item 2: every wide table's scroller (.table-scroll, .grid-scroll) fades at its trailing edge while
   columns lie off to the right, the same scroll-driven fade as the phone strips (--strip-fade): no
   fade when nothing overflows, none once the end is reached, none where scroll timelines are not
   supported. The scroller keeps overflow-y: hidden (31 Oct). */
@supports (animation-timeline: scroll()) {
    .table-scroll, .grid-scroll {
        mask-image: linear-gradient(to left, transparent 0, #000 var(--strip-fade));
        animation: strip-fade linear both; animation-timeline: scroll(self inline);
    }
}
/* Item 2: on phones the two individual cross tables keep Pts on screen, pinned at the trailing edge
   (which is its own scroll cue, so no fade there), and drop Rtg (it is on each player's card). */
@media (max-width: 599px) {
    .rr-cross tr > :nth-child(3), .event-cross tr > :nth-child(3) { display: none; }
    .rr-cross .pts, .event-cross .pts { position: sticky; right: 0; z-index: 1; background: var(--panel); box-shadow: -1px 0 0 var(--rule); }
    .table-scroll:has(> .rr-cross, > .event-cross) { mask-image: none; animation: none; }
    /* Item 2: the archive cups list keeps the Cup column in view while Season, Winner and Ties scroll; the cup name
       wraps at spaces (max-width does nothing on an auto-layout table cell, so the column is as wide as the table needs) */
    :where(.archive-main) .table-scroll > table:has(td.cup-name) tr > :first-child {
        position: sticky; left: 0; z-index: 1; background: var(--panel); box-shadow: 1px 0 0 var(--rule);
        white-space: normal;
    }
    /* Item 2: an archive cross table's sticky team name wraps (6.5rem at least), so more result columns fit beside it;
       the column's width comes from the table, as max-width does nothing on an auto-layout table cell */
    :where(.archive-main) .grid tbody th[scope="row"] { white-space: normal; min-width: 6.5rem; overflow-wrap: anywhere; }
}

/* finish1116 C2 */
/* Hit areas (tplcrit #6, WCAG 2.5.8): a linked W/D/L chip (form, cross table cells) is at least 24px
   and taps over 44px of height through an ::after that reaches only up and down: chips side by side never share it;
   in a cross table with rows under about 2.65rem apart, chips one above the other can overlap and the later row wins */
a.wdl { min-width: 1.5rem; min-height: 1.5rem; }
a.wdl::after { content: ""; position: absolute; inset: -.6rem 0; }
/* Team in a team event: the whole round head (R1 and the opponent under it) is the round link */
.team-roster th.rd { position: relative; min-width: 2.75rem; }
.team-roster th.rd a::after { content: ""; position: absolute; inset: 0; }
.team-roster th.rd .opp { font-size: 12.5px; }
/* Site map: each link a 44px row on phones */
@media (max-width: 599px) {
    .map-cols li { margin: 0; }
    .map-cols a { display: block; padding-block: .6rem; }
}
/* Keys on archive pages (tplcrit #8): the live pages' column key, the cross table's reading rule,
   the board-bar key with its outlined no-result swatch */
:where(.archive-main) .col-key {
    display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; margin: .75rem 0 1rem; padding: 0;
    font: 400 12px/1.4 var(--mono); color: var(--muted);
}
:where(.archive-main) .col-key div { display: flex; align-items: baseline; gap: .4rem; }
:where(.archive-main) .col-key dt { margin: 0; font: 700 13px/1.4 var(--mono); color: var(--text); }
:where(.archive-main) .col-key dd { margin: 0; }
.arc-key { margin: 0 0 .75rem; font-size: .9rem; color: var(--ink-2); }
:where(.archive-main) .legend { margin: .2rem 0 1rem; }
.sw-x { background: transparent; box-shadow: inset 0 0 0 1.5px var(--draw); }
/* Clubs: the division-code key under each province's table */
.ckey { margin: .6rem 0 0; }
/* Live cross table (tplcrit #10): the row numbers the column heads use, in ink and readable */
.lg-cross .x-no { color: var(--ink); font-size: 13px; }
/* Score first (tplcrit #9): the team hero's league place and Pts, the next match, today's fixtures, an event's winner */
.tm-standing { margin: .6rem 0 0; }
.tm-standing a { display: inline-flex; align-items: baseline; gap: .35rem; color: var(--ink); text-decoration: none; font-weight: 600; }
.tm-standing a:hover .tm-fig { text-decoration: underline; text-underline-offset: 4px; }
.tm-fig { font: 700 2rem/1 var(--display); letter-spacing: -.01em; color: var(--blue); }
.tm-sep { margin: 0 .35rem; color: var(--ink-2); }
.next-chip { color: var(--blue); font-weight: 700; }
.day-rel { color: var(--blue); }
.ev-sec-winner { margin: .2rem 0 .7rem; font-size: .95rem; }
.ev-sec-winner b { font-weight: 700; color: var(--ink); }
.ev-sec-score { margin-left: .3rem; font: 700 1.05rem/1 var(--display); color: var(--blue); }
.ev-sec-tb { margin-left: .3rem; color: var(--ink-2); }

/* ===== members: sign-in + account (homewave3 A) ===== */
.member-page .prose { max-width: 40rem; }
.member-page .note p { margin: 0; }
.member-page .note p + p { margin-top: .35rem; }
.member-form { margin-bottom: 1.25rem; }
.member-or { margin: .25rem 0 .5rem; color: var(--muted); }
.member-small { color: var(--muted); font-size: 14px; }
.member-kv { margin: 0 0 1rem; }
.member-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.member-actions form, .member-actions p { margin: 0; }
.member-signout-note { margin: .6rem 0 0; }
.member-page .btn, .member-page button { min-height: 44px; }
button.member-danger { background: var(--ink); border-color: var(--ink); }
button.member-danger:hover { background: var(--blue-deep); border-color: var(--blue-deep); }

/* ===== members: pin sync (homewave3 B) ===== */
/* The account page's pins: one row per pin, the name and its division / season, Remove at the end */
.member-pin-list { list-style: none; margin: 0; padding: 0; }
.member-pin { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .5rem 0; border-bottom: 1px solid var(--rule); }
.member-pin:first-child { border-top: 1px solid var(--rule); }
.member-pin-what { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; min-width: 0; }
.member-pin-what a { font-weight: 600; overflow-wrap: anywhere; }
.member-pin-sub { font-size: .85rem; color: var(--muted); }
.member-pin form { margin: 0; flex: none; }
.member-pins-empty, .member-pins-note { margin: .5rem 0 0; color: var(--muted); }
.member-pins-note { font-size: .85rem; }

/* upcomingplus (18 Nov 2026): a Coming up page's Add to calendar row, Previous years and Also coming up */
.pg-event .up-cal { margin: .9rem 0 0; font-size: .9rem; color: var(--ink-2); overflow-wrap: anywhere; }
.pg-event .up-cal a { font-weight: 600; }
.pg-event .up-rows { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.pg-event .up-rows li { min-width: 0; overflow-wrap: anywhere; }
.pg-event .up-rows a { font-weight: 600; }
.pg-event .up-rows-when { color: var(--ink-2); }
.pg-event .up-rows-facts { display: block; font-size: .9rem; color: var(--ink-2); }

/* leagueround (18 Nov 2026): Rounds this season on a league round's Coming up page */
.pg-event .up-season .up-round { font-weight: 600; }
.pg-event .up-season .is-current .up-round { color: var(--blue); }
.pg-event .up-season .is-played .up-round, .pg-event .up-season .is-played .up-rows-when { color: var(--muted); }
.pg-event .up-season .chip { margin-left: .35rem; font-size: 11px; vertical-align: middle; }
.pg-event .up-season-links { margin: .9rem 0 0; }

/* County club pages (dublinclubs, 22 Nov 2026): the Venue column hides under 600px with the Area column
   (the club page has the venue); the clubs by club night as a day / clubs list; the juniors list and notes */
@media (max-width: 599px) {
    .ctable .ct-venue { display: none; }
}
.kv.cdays { margin: 0 0 1.25rem; }
.kv.cdays dt { font-weight: 600; }
.cjuniors, .cevents { margin: 0 0 1.25rem; padding-left: 1.2rem; }
:is(.cjuniors, .cevents) li { margin: 0 0 .4rem; }
.cnote { color: var(--ink-2); }
