/* MUSL site stylesheet: docs/design/site/musl.css
   The colours, fonts, layouts and every element's styles for MUSL's data pages. Every page links this one file and
   never copies its values. In the page's <head>, in this order:
     <link rel="preconnect" href="https://fonts.googleapis.com">
     <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
     <link href="https://fonts.googleapis.com/css2?family=Anybody:ital,wdth,wght@0,50..150,100..900;1,50..150,100..900&family=Rubik:wght@300..900&display=swap" rel="stylesheet">
     <link rel="stylesheet" href="musl.css">   (the path to this file from the page)
   The rules behind every value are in guide.md; every block below starts with a header naming its section there.
   Lifted from the Club screen as the owner accepted it (round 12, plans/basic-teams/reviews/v0r12/club-r12.html,
   with suggestion 89: LVL and RTG from 900 to 1079 px) and proved lossless: examples/club-overview.html on this file
   renders 0 differing pixels against it (run check_site.py, which writes that design to
   out/guide/reference-r12-89.html from club-r12-fx.html with class="fx-89" on its <html> tag).

   What a page sets, on <html> (guide.md 2.3):
     data-mode="light" or "dark";
     the club's values: --club (its home colour), --club-ink (the bar text that reads on it, #fff or #141414),
       --red-deep (a deep shade of the home colour, for the standing's box), --trim (its trim colour; since November 5
       nothing here reads it, the crest draws its own colours);
     data-bar-tone="light" on light home colours; data-trim="close" when the trim fails the close-trim test;
     the fixture's kit colours for the halves (guide.md 5.15): --home-kit, --home-kit-ink, --away-kit,
       --away-kit-line, --away-kit-ink (on <html>, or on each .halves when a page shows several fixtures).
   Media queries use range syntax only. The layout split is (width >= 900px) and its exact complement
   not (width >= 900px), so every width, fractional ones included, gets exactly one layout (guide.md 3.4).
   The data-URI images stay inline so a page that links this file works anywhere, file:// included; each one is
   preceded by the name of its copy in assets/, and check_site.py keeps the two equal. */


/* ===== guide.md 2 Tokens ===== */
/* Both modes: the fonts; the league's black bar, which keeps dark mode's colours in light mode too (round 5: "dark
   color is good use same on light"); the teal line's weight; the phone layout's widest column. */
:root{
  --font-head:"Anybody","Arial Black","Segoe UI Black",Impact,sans-serif;
  --font-body:"Rubik",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --font-num:"Anybody","Arial Black","Segoe UI Black",Impact,sans-serif;
  --logo-ink:#fff6e0;
  --league:#090e19;
  --league-ink:#f3efe6;
  --league-hover:#ffd23f;
  --league-line:#2fd1c5;
  --line-w:5px;
  --league-focus:#ffd23f;
  --league-mark:#ff5fa2;
  /* the phone layout's widest content column, side padding included: from 600 to 899 px it stops here and centres
     (narrower screens fill edge to edge). Claude's placeholder, changeable */
  --phone-max:600px;
}
/* Light: cream page, aqua cloth panels, the three stripe colours tuned for cream */
:root[data-mode="light"]{
  color-scheme:light;
  --page:#fbf3e4;
  --ink:#1a1630;
  --ink-2:#4a4560;
  --panel-a:#bfe4de;
  --panel-b:#b4dfd8;
  --panel-line:#86c2b8;
  --sheet:#f3faf8;
  --rule:#c4e0da;
  --rule-strong:#1a1630;
  --teal:#0e9c94;
  --pink:#d42a7c;
  --yellow:#e9a300;
  --tab-mark:#d42a7c;
  --btn:#c2187a;
  --btn-hover:#a3125f;
  --on-btn:#ffffff;
  --count-shadow:#1a1630;
  --link:#8f0f52;
  --today:#a3125f;
  --time-a:#4b2aa8;
  --time-b:#b0106d;
  --time-c:#b23a12;
  --num-fill:#c2187a;
  --num-line:#1a1630;
  --w-bg:#3ec9c3;
  --w-ink:#1a1630;
  --d-bg:#ffffff;
  --d-ink:#1a1630;
  --l-bg:#c2187a;
  --l-ink:#ffffff;
  --band:#1a1630;
  --me-band:#c9ebe3;
  --tired:#a34a00;
  --worn:#b3261e;
  --trend-down:#0b7d76;
  --chip-ring:rgba(26,22,48,.5);
  --focus:#6b3fc4;
}
/* Dark: plain navy page, navy cloth panels, the same colours lifted for navy */
:root[data-mode="dark"]{
  color-scheme:dark;
  --page:#0c1220;
  --ink:#f3efe6;
  --ink-2:#aab3c8;
  --panel-a:#16203a;
  --panel-b:#1a2543;
  --panel-line:#28334e;
  --sheet:#111a2c;
  --rule:#28334e;
  --rule-strong:#3d4a6b;
  --teal:#2fd1c5;
  --pink:#ff5fa2;
  --yellow:#ffd23f;
  --tab-mark:#ff5fa2;
  --btn:#ff5fa2;
  --btn-hover:#ff86b9;
  --on-btn:#0c1220;
  --count-shadow:#2fd1c5;
  --link:#ffd23f;
  --today:#2fd1c5;
  --time-a:#ffd23f;
  --time-b:#ff9f45;
  --time-c:#ff5fa2;
  --num-fill:#ff5fa2;
  --num-line:#2fd1c5;
  --w-bg:#2fd1c5;
  --w-ink:#0c1220;
  --d-bg:#f3efe6;
  --d-ink:#0c1220;
  --l-bg:#ff5fa2;
  --l-ink:#0c1220;
  --band:#0c1220;
  --me-band:#1a3346;
  --tired:#ffa64d;
  --worn:#ff8a80;
  --trend-down:#2fd1c5;
  --chip-ring:rgba(243,239,230,.45);
  --focus:#ffd23f;
}


/* ===== guide.md 2.8 Base styles ===== */
/* Box sizing, the page and body text (Rubik 15 px, tabular figures everywhere), links, the focus ring, and text for
   screen readers only (.sr) */
:root{font-synthesis:none}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;background:var(--page)}
body{margin:0;background:var(--page);color:var(--ink);font:400 15px/1.45 var(--font-body);font-variant-numeric:tabular-nums}
a{color:inherit}
a:focus-visible,button:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}


/* ===== guide.md 3 Layouts ===== */
/* The content column (.wrap). Phone layout (under 900 px): one column that fills the screen with 16 px sides (12
   under 390), held to --phone-max and centred from 600 px. Desktop layout (from 900 px): the 1080 px design width,
   24 px sides, centred on wider screens, shrinking to 900. The black bar's and club bar's colours always run the
   full window width; only their content sits in the column. The steps at 360, 390 and 480 px are phone sizes inside
   the phone layout, not layouts. */
.wrap{max-width:1080px;margin:0 auto;padding-left:16px;padding-right:16px}
@media not (width >= 390px){
  .wrap{padding-left:12px;padding-right:12px}
}
@media not (width >= 900px){
  .wrap{max-width:var(--phone-max)}
}
@media (width >= 900px){
  .wrap{padding-left:24px;padding-right:24px}
}


/* ===== guide.md 3.3 Big monitors ===== */
/* The scaler (owner, 2026-10-22: "Yeah add the scaler no third column"; how much is Claude's call): on big monitors
   the whole page, both bars included, is drawn larger with zoom on <html>, so it fills more of the screen with the
   same two columns. The zoom is the window width over 1440 to the power 0.75, never under 1 or over 1.5: 1 up to
   1440 px (nothing changes), 1.08 at 1600, 1.24 at 1920, 1.5 from 2473 px, where it stops and the
   margins grow again. A power under 1 grows more slowly than the window, so browser zoom, which narrows the window in
   CSS px, always wins: Ctrl and plus always makes the page bigger. Every size in this sheet is drawn that many times
   larger (text, lines, focus rings, the logo, the 44 px targets); under the zoom it is the desktop layout 1440 px
   wide or wider, and media queries read the window's own width, never the zoomed one, so no width changes layout: a
   1920 px window is a desktop.
   Numbers that set it, Claude's placeholders, changeable: 1440 (the width it grows from), 0.75 (how fast: 1 would keep
   pace with the window and cancel browser zoom) and 1.5 (the most it grows). Both forms below are written from them
   by out/v0r12/build_r12.py (SCALE_FROM, SCALE_POWER, SCALE_MOST and STEP): first steps, one media query every 20 px
   from 1460 to 2480, each the curve's value at its own lower width, for browsers that can't divide a width by a
   width (Firefox); each step is one-sided, so every width, fractional ones under browser zoom included, gets exactly
   one. Then the formula itself, continuous, in @supports, which comes later and so wins wherever it works (Chrome,
   Edge, Safari). CSS alone, no script: the size is right on the first paint and follows a resize live */
@media (width >= 1460px){:root{zoom:1.010398686}}
@media (width >= 1480px){:root{zoom:1.02076182}}
@media (width >= 1500px){:root{zoom:1.031090001}}
@media (width >= 1520px){:root{zoom:1.041383811}}
@media (width >= 1540px){:root{zoom:1.051643814}}
@media (width >= 1560px){:root{zoom:1.061870559}}
@media (width >= 1580px){:root{zoom:1.072064576}}
@media (width >= 1600px){:root{zoom:1.082226385}}
@media (width >= 1620px){:root{zoom:1.092356486}}
@media (width >= 1640px){:root{zoom:1.102455369}}
@media (width >= 1660px){:root{zoom:1.112523509}}
@media (width >= 1680px){:root{zoom:1.122561368}}
@media (width >= 1700px){:root{zoom:1.132569396}}
@media (width >= 1720px){:root{zoom:1.142548031}}
@media (width >= 1740px){:root{zoom:1.152497699}}
@media (width >= 1760px){:root{zoom:1.162418817}}
@media (width >= 1780px){:root{zoom:1.17231179}}
@media (width >= 1800px){:root{zoom:1.182177011}}
@media (width >= 1820px){:root{zoom:1.192014867}}
@media (width >= 1840px){:root{zoom:1.201825732}}
@media (width >= 1860px){:root{zoom:1.211609972}}
@media (width >= 1880px){:root{zoom:1.221367946}}
@media (width >= 1900px){:root{zoom:1.231100001}}
@media (width >= 1920px){:root{zoom:1.240806479}}
@media (width >= 1940px){:root{zoom:1.250487712}}
@media (width >= 1960px){:root{zoom:1.260144025}}
@media (width >= 1980px){:root{zoom:1.269775735}}
@media (width >= 2000px){:root{zoom:1.279383153}}
@media (width >= 2020px){:root{zoom:1.288966582}}
@media (width >= 2040px){:root{zoom:1.298526319}}
@media (width >= 2060px){:root{zoom:1.308062653}}
@media (width >= 2080px){:root{zoom:1.317575869}}
@media (width >= 2100px){:root{zoom:1.327066243}}
@media (width >= 2120px){:root{zoom:1.336534047}}
@media (width >= 2140px){:root{zoom:1.345979548}}
@media (width >= 2160px){:root{zoom:1.355403005}}
@media (width >= 2180px){:root{zoom:1.364804674}}
@media (width >= 2200px){:root{zoom:1.374184803}}
@media (width >= 2220px){:root{zoom:1.383543638}}
@media (width >= 2240px){:root{zoom:1.392881418}}
@media (width >= 2260px){:root{zoom:1.402198378}}
@media (width >= 2280px){:root{zoom:1.411494747}}
@media (width >= 2300px){:root{zoom:1.420770751}}
@media (width >= 2320px){:root{zoom:1.430026612}}
@media (width >= 2340px){:root{zoom:1.439262546}}
@media (width >= 2360px){:root{zoom:1.448478766}}
@media (width >= 2380px){:root{zoom:1.457675481}}
@media (width >= 2400px){:root{zoom:1.466852895}}
@media (width >= 2420px){:root{zoom:1.476011208}}
@media (width >= 2440px){:root{zoom:1.485150619}}
@media (width >= 2460px){:root{zoom:1.494271321}}
@media (width >= 2480px){:root{zoom:1.5}}
@supports (zoom: clamp(1, pow(calc(100vw / 1440px), 0.75), 1.5)){
  :root{zoom:clamp(1, pow(calc(100vw / 1440px), 0.75), 1.5)}
}


/* ===== guide.md 4.2 The box grid ===== */
/* <main class="wrap page">: the club tabs, then the boxes in the phone's priority order. Phone layout: one column,
   16 px apart. Desktop layout: two columns 24 px apart, 22 px between rows; each pair of boxes shares its row, so the
   two line up top and bottom; the tables show in full without their buttons and both sheets run to their box foot,
   so they end level. The grid areas below are the Club screen's (Overview); a new page adds its own here. */
.page{padding-top:6px;padding-bottom:48px;display:grid;gap:16px}
@media not (width >= 900px){
  .page{grid-template-columns:minmax(0,1fr)}
}
@media (width >= 900px){
  .page{grid-template-columns:1fr 1fr;gap:22px 24px;align-items:stretch;padding-top:12px;
    grid-template-areas:
      "subnav subnav"
      "next result"
      "squad table"}
  .clubnav{grid-area:subnav}
  .next{grid-area:next;display:flex;flex-direction:column}
  .next .lineup{margin-top:auto}
  .result{grid-area:result;display:flex;flex-direction:column}
  .squad,.table{display:flex;flex-direction:column}
  .squad .more,.table .more{display:none}
  .squad .sheet,.table .sheet{flex:1 1 auto}
  .squad{grid-area:squad}
  .table{grid-area:table}
}


/* ===== guide.md 5.1 Black top bar ===== */
/* The league's global nav: the logo, My Club and the league's sections, Account at its right end, one teal line
   under it (5.5). Desktop layout: one row 60 px tall, 17 px links, Account as a word. Phone layout: two rows of
   52 px, the logo and the Account icon, then the five links at 15 px (14 under 360); with enlarged text spacing the
   links wrap to a third row rather than run off the screen. */
.league{--bar-h:60px;--lk-size:17px;background:var(--league)}
.league .wrap{display:flex;flex-wrap:wrap;align-items:center}
.league a{display:flex;align-items:center;justify-content:center;min-height:var(--bar-h);min-width:44px;padding:0 var(--lk-pad,13px);text-decoration:none;font:700 var(--lk-size)/1 var(--font-body);color:var(--league-ink)}
.league a:hover{color:var(--league-hover)}
.league a:focus-visible{outline-color:var(--league-focus)}
@media not (width >= 900px){
  .league{--lk-pad:7px;--lk-size:15px;--bar-h:52px}
  .league .wrap::before{content:"";order:1;flex-basis:100%;height:0}
  .league .lk{order:2}
  .league .lk1{padding-left:0}
}
@media not (width >= 360px){
  .league{--lk-pad:5px;--lk-size:14px}
}


/* ===== guide.md 5.2 Current-section mark ===== */
/* The current section in the black bar is bold and carries a thin pink mark at the club tabs' slant (2.86 px over
   4, the tabs' 5 over 7), inside the black: 4 px thick, 5 to 7 px under the word, its foot 9 px above the teal line
   (10 px in the desktop layout), so it reads with its word and never touches the line. The club tabs' own mark is
   in 5.8. */
.league a[aria-current="page"]{position:relative;font-weight:800}
.league a[aria-current="page"]::after{content:"";position:absolute;left:var(--lk-pad,13px);right:var(--lk-pad,13px);bottom:9px;height:4px;background:var(--league-mark);
  clip-path:polygon(2.86px 0,100% 0,calc(100% - 2.86px) 100%,0 100%)}
@media not (width >= 900px){
  .league .lk1[aria-current="page"]::after{left:0}
}
@media (width >= 900px){
  .league a[aria-current="page"]::after{bottom:10px}
}


/* ===== guide.md 5.3 Logo ===== */
/* The full lockup (assets/logo-full.svg, inlined in the markup with its outline in the bar's black), spelled out on
   every layout, on black only: 240 px wide under 390 (30 px tall), 280 px to 899 (34), 309 px from 900 (40), 379 px
   from the 1080 design width (46). */
.musl{flex:none;text-decoration:none;color:var(--logo-ink)}
.league .musl{justify-content:flex-start;padding:0 13px 0 0}
.musl-full{display:block}
.musl svg{display:block;width:auto}
.musl-full svg{height:40px;max-width:309px}
@media not (width >= 900px){
  .musl-full svg{height:34px;max-width:280px}
  .league .musl{padding:0}
}
@media not (width >= 390px){
  .musl-full svg{height:30px;max-width:240px}
}
@media (width >= 1080px){
  .musl-full svg{height:46px;max-width:379px}
}


/* ===== guide.md 5.4 Account icon ===== */
/* Account at the black bar's right end: the word in the desktop layout; in the phone layout the standard person
   glyph (assets/account-icon.svg), 24 px in a 44 x 52 target, named "Account" for screen readers. */
.league .acct-text{margin-left:auto;padding-right:0}
.league .acct-icon{display:none;padding:0;justify-content:flex-end}
.acct-icon svg{width:24px;height:24px;fill:currentColor}
@media not (width >= 900px){
  .league .acct-icon{display:flex;margin-left:auto}
  .league .acct-text{display:none}
}


/* ===== guide.md 5.5 Teal line ===== */
/* One weight (5 px, --line-w) and one colour: under the black bar and along the club bar's bottom. The club bar's
   top line is the black bar's own, so a band never gets two lines stacked. */
.league{border-bottom:var(--line-w) solid var(--league-line)}
.clubbar::after{content:"";display:block;height:var(--line-w);background:var(--league-line)}


/* ===== guide.md 5.6 Club bar and trim ===== */
/* The woven cloth in the club's home colour, the bar text (and its focus ring) in the colour that reads on it; the
   crest (5.7), the club's name and its standing. 68 px tall (80 in the desktop layout). */
:root{
  /* assets/cloth.svg: see-through triangles over the flat home colour, so it follows any club colour */
  --jacquard:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='28'%3E%3Cpath d='M0 28L16 0L32 28ZM8 28L24 28L16 14Z' fill='%23000' fill-opacity='.055' fill-rule='evenodd'/%3E%3Cpath d='M8 28L16 14L24 28Z' fill='%23fff' fill-opacity='.07'/%3E%3Cpath d='M16 0H32V28Z' fill='%23000' fill-opacity='.028'/%3E%3C/svg%3E");
}
.clubbar{background:var(--club) var(--jacquard);color:var(--club-ink)}
.clubbar a:focus-visible{outline:3px solid var(--club-ink);outline-offset:2px}
.bar{display:flex;align-items:center;gap:4px;min-height:68px}
.club{display:flex;align-items:center;gap:10px;min-height:56px;flex:1 1 auto;min-width:0;text-decoration:none}
.cbox{display:block;min-width:0}
.cname{display:block;overflow:hidden;text-overflow:ellipsis;font:italic 900 16px/1.15 var(--font-head);font-stretch:100%;white-space:nowrap;text-shadow:0 1px 0 rgba(0,0,0,.35)}
:root[data-bar-tone="light"] .cname{text-shadow:0 1px 0 rgba(255,255,255,.35)}
.stand{display:block;margin-top:3px;font:600 12.5px/1.3 var(--font-body);font-variant-numeric:tabular-nums;white-space:nowrap}
.stand b{font-weight:800;color:var(--club-ink);background:var(--red-deep);padding:0 4px}
@media not (width >= 480px){
  .club{gap:8px}
}
@media not (width >= 390px){
  .cname{font-size:15px}
  .club{gap:6px}
}
@media (width >= 900px){
  .bar{min-height:80px;gap:8px}
  .cname{font-size:21px;font-stretch:112%}
  .stand{font-size:14px}
}


/* ===== guide.md 5.7 Crest ===== */
/* The club's crest from the accepted renderer (visualization/accepted/assets/club-designer/renderer/crest.js: its
   symbol on its shape, in its own two colours), in the same box as the old shield (owner, November 5, Sherpa R2: "A"):
   38 x 44 px, 34 x 40 under 480, 32 x 37 under 390, a 2 px hard shadow under it. .crest is the box; the page puts the
   renderer's SVG inside it and the SVG scales to the box. */
.crest{flex:none;display:inline-flex;width:38px;height:44px;line-height:0;filter:drop-shadow(0 2px 0 rgba(0,0,0,.35))}
.crest>svg{display:block;width:100%;height:100%}
@media not (width >= 480px){
  .crest{width:34px;height:40px}
}
@media not (width >= 390px){
  .crest{width:32px;height:37px}
}


/* ===== guide.md 5.8 Club tabs ===== */
/* The club's local nav under the club bar: Anybody 16 px (15 under 390), the current tab bold with a 7 px pink mark
   on the 2 px rule; three slanted stripes trail to the row's right end (teal, pink, yellow). From 360 to 479 px the
   stripes give way to the three-chevron mark (27 x 9 px, its middle on the tab names' cap middle); under 360 there
   is no ornament. The ornament is decoration: hidden from screen readers, never focused, taps pass through. The tabs
   sit tighter on phones (12 px, 10 under 390) so the ornament stands further from the last tab than the tabs stand
   from each other. */
.clubnav{display:flex;align-items:stretch;border-bottom:2px solid var(--rule-strong)}
.clubnav a{position:relative;flex:0 1 auto;min-width:0;display:flex;align-items:center;min-height:52px;padding:0 16px;text-decoration:none;font:italic 800 16px/1 var(--font-head);font-stretch:125%;color:var(--ink-2)}
.clubnav a:first-child{padding-left:0}
/* A tab the page holds back until it applies (Off-season, shown in the break; launch row 22) takes no room. */
.clubnav a[hidden]{display:none}
.clubnav a:hover{color:var(--ink)}
.clubnav a[aria-current="page"]{color:var(--ink);font-weight:900}
.clubnav a[aria-current="page"]::after{content:"";position:absolute;left:0;right:16px;bottom:-2px;height:7px;background:var(--tab-mark);
  clip-path:polygon(5px 0,100% 0,calc(100% - 5px) 100%,0 100%)}
.clubnav a:not(:first-child)[aria-current="page"]::after{left:16px}
.trail{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-end;gap:4px;padding:0 4px 0 10px;overflow:hidden}
.trail i{display:block;height:5px;transform:skewX(-30deg)}
.trail i:nth-child(1){width:100%;background:var(--teal)}
.trail i:nth-child(2){width:72%;background:var(--pink)}
.trail i:nth-child(3){width:44%;background:var(--yellow)}
.trail::after{content:none}
@media not (width >= 480px){
  .clubnav a{padding:0 12px}
  .clubnav a:first-child{padding-left:0}
  .clubnav a[aria-current="page"]::after{right:12px}
  .clubnav a:not(:first-child)[aria-current="page"]::after{left:12px}
}
@media (width >= 360px) and (not (width >= 480px)){
  .trail{position:relative;overflow:visible;pointer-events:none}
  .trail i{display:none}
  .trail::after{content:"";position:absolute;right:0;top:20.5px;width:27px;height:9px;background:var(--chev) 0 0/27px 9px no-repeat}
}
@media not (width >= 360px){
  .trail{display:none}
}
@media not (width >= 390px){
  .clubnav a{padding:0 10px;font-size:15px}
  .clubnav a[aria-current="page"]::after{right:10px}
  .clubnav a:not(:first-child)[aria-current="page"]::after{left:10px}
}
/* Four tabs (Overview, Squad, Lineup, Training; Off-season too in the break) are more than fit a phone, so that row
   takes .scroll (owner, November 19: the Training tab, on a row that scrolls on phones): under 600 px it slides sideways under the finger with no
   scrollbar drawn, each tab keeps its width and the ornament goes; from 600 px it is the row above, stripes and all. */
@media not (width >= 600px){
  .clubnav.scroll{overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain}
  .clubnav.scroll::-webkit-scrollbar{display:none}
  .clubnav.scroll a{flex:none}
  .clubnav.scroll .trail{display:none}
}


/* ===== guide.md 5.9 Section box and heading ===== */
/* A box on the fine diagonal cloth (aqua in light, navy in dark), 1 px edge, 2 px corners, 16 px inside (14 by 12
   under 480, 20 in the desktop layout). Its heading row: the heading led by the three-chevron mark, a caption on the
   heading's baseline at the right. */
.card{background:repeating-linear-gradient(135deg,var(--panel-a) 0 7px,var(--panel-b) 7px 14px);border:1px solid var(--panel-line);border-radius:2px;padding:16px}
.title{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 12px;margin:0 0 14px}
h2{margin:0;font:italic 900 18px/1.15 var(--font-head);font-stretch:125%;text-transform:uppercase;letter-spacing:.06em;white-space:nowrap}
h2::before{content:"";display:inline-block;width:30px;height:10px;margin-right:10px;vertical-align:1px;background:var(--chev) 0 0/30px 10px no-repeat}
.cap{font:600 12.5px/1.2 var(--font-body);font-variant-numeric:tabular-nums;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2);white-space:nowrap}
@media not (width >= 480px){
  .card{padding:14px 12px}
}
@media (width >= 900px){
  .card{padding:20px}
  h2{font-size:22px}
}


/* ===== guide.md 5.10 Chevron family ===== */
/* One drawing, three chevrons in a row: teal, pink, yellow, in each mode's own tones. The headings' mark (--chev, also
   the phone tabs' ornament), Edit lineup's yellow chevrons (--btn-chev; in dark mode an ink print one unit down and
   right sits under them) and the your-club row's tag (--tag, drawn for its small size: every chevron at least 2 px
   thick and every gap at least 1.5 px). */
:root[data-mode="light"]{
  /* assets/chevron-light.svg */
  --chev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='10'%3E%3Cpath d='M0 0H4L9 5L4 10H0L5 5Z' fill='%230e9c94'/%3E%3Cpath d='M10 0H14L19 5L14 10H10L15 5Z' fill='%23d42a7c'/%3E%3Cpath d='M20 0H24L29 5L24 10H20L25 5Z' fill='%23e9a300'/%3E%3C/svg%3E");
  /* assets/button-chevron-light.svg */
  --btn-chev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 31 12' width='31' height='12'%3E%3Cpath d='M0 0H4L9 5L4 10H0L5 5ZM10 0H14L19 5L14 10H10L15 5ZM20 0H24L29 5L24 10H20L25 5Z' fill='%23ffd23f'/%3E%3C/svg%3E");
  /* assets/row-tag-light.svg */
  --tag:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-0.5 -0.5 21.5 9' width='21.5' height='9'%3E%3Cpath d='M0 0H3.5L7.5 4L3.5 8H0L4 4Z' fill='%230e9c94'/%3E%3Cpath d='M6.5 0H10L14 4L10 8H6.5L10.5 4Z' fill='%23d42a7c'/%3E%3Cpath d='M13 0H16.5L20.5 4L16.5 8H13L17 4Z' fill='%23e9a300'/%3E%3C/svg%3E");
}
:root[data-mode="dark"]{
  /* assets/chevron-dark.svg */
  --chev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='10'%3E%3Cpath d='M0 0H4L9 5L4 10H0L5 5Z' fill='%232fd1c5'/%3E%3Cpath d='M10 0H14L19 5L14 10H10L15 5Z' fill='%23ff5fa2'/%3E%3Cpath d='M20 0H24L29 5L24 10H20L25 5Z' fill='%23ffd23f'/%3E%3C/svg%3E");
  /* assets/button-chevron-dark.svg */
  --btn-chev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 31 12' width='31' height='12'%3E%3Cpath d='M0 0H4L9 5L4 10H0L5 5ZM10 0H14L19 5L14 10H10L15 5ZM20 0H24L29 5L24 10H20L25 5Z' fill='%230c1220' transform='translate(1 1)'/%3E%3Cpath d='M0 0H4L9 5L4 10H0L5 5ZM10 0H14L19 5L14 10H10L15 5ZM20 0H24L29 5L24 10H20L25 5Z' fill='%23ffd23f'/%3E%3C/svg%3E");
  /* assets/row-tag-dark.svg */
  --tag:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-0.5 -0.5 21.5 9' width='21.5' height='9'%3E%3Cpath d='M0 0H3.5L7.5 4L3.5 8H0L4 4Z' fill='%232fd1c5'/%3E%3Cpath d='M6.5 0H10L14 4L10 8H6.5L10.5 4Z' fill='%23ff5fa2'/%3E%3Cpath d='M13 0H16.5L20.5 4L16.5 8H13L17 4Z' fill='%23ffd23f'/%3E%3C/svg%3E");
}


/* ===== guide.md 5.11 Cut lettering ===== */
/* The striped effect on hero numbers (16:00): the top half of the letters solid, the lower half cut by gaps that
   widen toward the baseline, so the bars between them thin out like a 1980s line-screen fade. A mask with hard
   stops, measured on the letters' own cap height: --st is where the cap top sits in the element's box, --sh the cap
   height (Anybody with line-height 1: .1025em down, .675em tall). Four cuts on 16:00 (the third and fourth a little
   low, so the foot of the 1 stays whole); the form letters take three wider ones (5.20); the logo's three cuts are a
   clip path in its SVG. With the cuts, C1b's gradient: --time-a to --time-c, top to bottom. */
.vnum{
  -webkit-mask-image:linear-gradient(#000 0 calc(var(--st) + var(--sh) * 0.5),transparent calc(var(--st) + var(--sh) * 0.5) calc(var(--st) + var(--sh) * 0.53),#000 calc(var(--st) + var(--sh) * 0.53) calc(var(--st) + var(--sh) * 0.625),transparent calc(var(--st) + var(--sh) * 0.625) calc(var(--st) + var(--sh) * 0.673),#000 calc(var(--st) + var(--sh) * 0.673) calc(var(--st) + var(--sh) * 0.78),transparent calc(var(--st) + var(--sh) * 0.78) calc(var(--st) + var(--sh) * 0.846),#000 calc(var(--st) + var(--sh) * 0.846) calc(var(--st) + var(--sh) * 0.885),transparent calc(var(--st) + var(--sh) * 0.885) calc(var(--st) + var(--sh) * 0.959),#000 calc(var(--st) + var(--sh) * 0.959));mask-image:linear-gradient(#000 0 calc(var(--st) + var(--sh) * 0.5),transparent calc(var(--st) + var(--sh) * 0.5) calc(var(--st) + var(--sh) * 0.53),#000 calc(var(--st) + var(--sh) * 0.53) calc(var(--st) + var(--sh) * 0.625),transparent calc(var(--st) + var(--sh) * 0.625) calc(var(--st) + var(--sh) * 0.673),#000 calc(var(--st) + var(--sh) * 0.673) calc(var(--st) + var(--sh) * 0.78),transparent calc(var(--st) + var(--sh) * 0.78) calc(var(--st) + var(--sh) * 0.846),#000 calc(var(--st) + var(--sh) * 0.846) calc(var(--st) + var(--sh) * 0.885),transparent calc(var(--st) + var(--sh) * 0.885) calc(var(--st) + var(--sh) * 0.959),#000 calc(var(--st) + var(--sh) * 0.959));-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%}
.vnum{display:inline-block;line-height:1;padding-right:.06em;color:var(--time-b);--st:.1025em;--sh:.675em}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .vnum{background:linear-gradient(180deg,var(--time-a) 8%,var(--time-b) 52%,var(--time-c) 92%);
    -webkit-background-clip:text;background-clip:text;color:transparent}
}


/* ===== guide.md 5.12 Slanted tags and block shadows ===== */
/* No classes of its own: the family is two shared values. The slant is skewX(-12deg) on the box with its text
   counter-skewed by 12deg (.count, .formrow li); the block shadow is 4px 4px 0 var(--count-shadow), ink in light and
   teal in dark, one per element (.count, .halves, .btn, .formrow li). */


/* ===== guide.md 5.13 Kickoff time ===== */
/* "Today" and the kickoff time on one baseline. The time is Anybody italic 900 at 125 % width, 54 px (70 in the
   desktop layout), tabular, in the cut lettering (5.11); a leading 1 is pulled in by .046em (.k1, measured on 16:00). */
.kick{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin:0 0 10px}
.kick .when{font:italic 900 15px/1 var(--font-head);font-stretch:125%;text-transform:uppercase;letter-spacing:.05em;color:var(--today)}
.kick .time{font:italic 900 54px/1 var(--font-num);font-stretch:125%;font-variant-numeric:tabular-nums;letter-spacing:.02em;padding-right:.04em}
.kick .k1{margin-right:-0.046em}
@media (width >= 900px){
  .kick .time{font-size:70px}
}


/* ===== guide.md 5.14 Countdown ===== */
/* C1b's slanted pink tag with the block shadow behind it (5.12). */
.count{display:inline-flex;align-self:flex-start;align-items:center;margin:0 0 16px;padding:6px 12px;background:var(--btn);color:var(--on-btn);
  font:600 14px/1.2 var(--font-body);font-variant-numeric:tabular-nums;transform:skewX(-12deg);box-shadow:4px 4px 0 var(--count-shadow)}
.count span{display:block;transform:skewX(12deg)}
.count b{font-weight:800}
@media (width >= 900px){
  .count{font-size:16px;padding:7px 14px}
}


/* ===== guide.md 5.15 Fixture halves ===== */
/* The fixture as a halved shirt (C1c): the home side in its home colour on the left, the away side in its away
   colour (a 1 px stripe every 8 px) on the right, each labelled Home or Away, with the block shadow (5.12). The kit
   colours are the page's: --home-kit and --home-kit-ink, --away-kit, --away-kit-line and --away-kit-ink. */
.halves{display:grid;grid-template-columns:1fr 1fr;margin:0 4px 18px 0;border:1px solid var(--panel-line);box-shadow:4px 4px 0 var(--count-shadow)}
.half{display:grid;align-content:center;gap:4px;min-height:84px;padding:12px}
.half .team{font:italic 900 17px/1.2 var(--font-head);font-stretch:112%}
.half .ha{font:700 11px/1 var(--font-body);letter-spacing:.1em;text-transform:uppercase}
.half.home{background:var(--home-kit);color:var(--home-kit-ink)}
.half.away{background:repeating-linear-gradient(90deg,var(--away-kit) 0 7px,var(--away-kit-line) 7px 8px);color:var(--away-kit-ink);text-align:right}
@media not (width >= 390px){
  .half{padding:10px}
  .half .team{font-size:15px}
}


/* ===== guide.md 5.16 Primary button ===== */
/* Edit lineup and the line it sits on: pink, three yellow chevrons (the headings' shape, --btn-chev) in front of the
   words, the block shadow; 48 px tall (54 in the desktop layout). In dark mode, where the button is light pink, the
   chevrons carry an ink print one unit down and right. */
.lineup{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.lineup span{font-size:14px;color:var(--ink-2)}
.lineup span b{color:var(--ink);font-weight:700}
.btn{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin:0 4px 4px 0;padding:0 22px 0 65px;border-radius:2px;
  background:var(--btn);color:var(--on-btn);text-decoration:none;font:italic 900 15px/1 var(--font-head);font-stretch:125%;text-transform:uppercase;letter-spacing:.06em;
  box-shadow:4px 4px 0 var(--count-shadow)}
.btn::before{content:"";position:absolute;left:10.6px;top:50%;width:43.4px;height:16.8px;margin-top:-8.4px;background:var(--btn-chev) 0 0/43.4px 16.8px no-repeat}
.btn:hover{background:var(--btn-hover)}
@media (width >= 900px){
  .btn{min-height:54px;font-size:17px;padding:0 25px 0 72px}
  .btn::before{left:11.4px;width:49.6px;height:19.2px;margin-top:-9.6px;background-size:49.6px 19.2px}
}


/* ===== guide.md 5.17 Score numbers ===== */
/* The last result as two rows, team and score. The scores are flat shirt-number printing: a solid fill with a hollow
   offset outline behind it, cut from a filled copy by the #hollow filter (assets/hollow-filter.svg, inlined once in
   the page), since a stroke would trace the places where a 5, 6, 8 or 9 crosses itself. 56 px (72 in the desktop
   layout). */
.score{border-top:2px solid var(--rule-strong)}
.srow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid var(--rule)}
.srow .team{font:italic 800 17px/1.25 var(--font-head);font-stretch:112%}
.srow .team small{display:block;font:700 11px/1.4 var(--font-body);letter-spacing:.1em;color:var(--ink-2);text-transform:uppercase;font-style:normal}
.goals{position:relative;isolation:isolate;display:inline-block;min-width:1ch;margin-right:.06em;text-align:center;
  font:normal 900 56px/1 var(--font-num);font-stretch:112%;font-variant-numeric:tabular-nums;color:var(--num-fill)}
.goals::before{content:attr(data-n) / "";position:absolute;left:.055em;top:.055em;width:100%;text-align:center;z-index:-1;color:var(--num-line);
  filter:url(#hollow)}
@media (width >= 900px){
  .goals{font-size:72px}
}


/* ===== guide.md 5.18 Status words and trend carets ===== */
/* Tiredness as a word in its own amber to red ramp (fresh, tired, worn out). The trend caret follows the word: up
   (more tired than at the last kickoff) in the word's own colour, down (less tired) in teal; each caret carries its
   words for screen readers. */
.tired-fresh{color:var(--ink-2)}
.tired-tired{color:var(--tired);font-weight:600}
.tired-worn{color:var(--worn);font-weight:800}
.squad .trend svg{display:inline-block;width:11px;height:7px;margin-left:5px;vertical-align:1px;fill:none;stroke:currentColor}
.squad .trend.down{color:var(--trend-down)}


/* ===== guide.md 5.19 Fitness key ===== */
/* The arrow key, the Fitness table's foot, on its sheet right under the table: the up caret in the colour of
   "tired", the teal down caret, drawn as the table's own carets. One line from 320 px; if the text grows it wraps
   between the two, never inside one. Hidden from screen readers (every caret in the table says it in words). */
.key{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 14px;margin:10px 0 6px;font-size:12.5px;line-height:1.45;color:var(--ink-2)}
.key span{white-space:nowrap}
.key svg{display:inline-block;width:11px;height:7px;margin-right:5px;vertical-align:1px;fill:none;stroke:currentColor}
.key .up svg{color:var(--tired)}
.key .dn svg{color:var(--trend-down)}


/* ===== guide.md 5.20 Result tiles (form) ===== */
/* The last five results, newest first: slanted tiles like the countdown (5.12) with its block shadow and a 2 px
   inner ring, W teal, D white, L pink. The letter is centred on its cap (.06em down, each letter nudged across by
   its own measured amount) and cut by three wider cuts on its own cap height. "Form" above and "Newest" below line up
   with the first tile's slanted left edge. */
.formrow{list-style:none;display:flex;gap:12px;margin:0;padding:0 0 0 7px}
.formrow li{display:flex;justify-content:center;align-items:center;width:48px;height:52px;margin-bottom:4px;transform:skewX(-12deg);
  background:var(--res-bg);color:var(--res-ink);box-shadow:inset 0 0 0 2px var(--band),4px 4px 0 var(--count-shadow)}
.formrow li.w{--nudge-x:-1.5px}
.formrow li.l{--nudge-x:1px}
.formrow li.d{--nudge-x:.5px}
.formrow .res{display:block;font:italic 900 30px/1 var(--font-head);font-stretch:125%;transform:skewX(12deg) translate(var(--nudge-x),calc(.06em + var(--nudge-y,0px)));
  --st:calc(30px * .1025);--sh:calc(30px * .675);-webkit-mask-image:linear-gradient(#000 0 calc(var(--st) + var(--sh) * 0.5),transparent calc(var(--st) + var(--sh) * 0.5) calc(var(--st) + var(--sh) * 0.545),#000 calc(var(--st) + var(--sh) * 0.545) calc(var(--st) + var(--sh) * 0.667),transparent calc(var(--st) + var(--sh) * 0.667) calc(var(--st) + var(--sh) * 0.742),#000 calc(var(--st) + var(--sh) * 0.742) calc(var(--st) + var(--sh) * 0.833),transparent calc(var(--st) + var(--sh) * 0.833) calc(var(--st) + var(--sh) * 0.938),#000 calc(var(--st) + var(--sh) * 0.938));mask-image:linear-gradient(#000 0 calc(var(--st) + var(--sh) * 0.5),transparent calc(var(--st) + var(--sh) * 0.5) calc(var(--st) + var(--sh) * 0.545),#000 calc(var(--st) + var(--sh) * 0.545) calc(var(--st) + var(--sh) * 0.667),transparent calc(var(--st) + var(--sh) * 0.667) calc(var(--st) + var(--sh) * 0.742),#000 calc(var(--st) + var(--sh) * 0.742) calc(var(--st) + var(--sh) * 0.833),transparent calc(var(--st) + var(--sh) * 0.833) calc(var(--st) + var(--sh) * 0.938),#000 calc(var(--st) + var(--sh) * 0.938));-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%}
.formrow .w{--res-bg:var(--w-bg);--res-ink:var(--w-ink)}
.formrow .d{--res-bg:var(--d-bg);--res-ink:var(--d-ink)}
.formrow .l{--res-bg:var(--l-bg);--res-ink:var(--l-ink)}
.result .sub{margin:18px 0 10px 11.53px;font:600 12.5px/1.2 var(--font-body);letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2)}
.newest{margin:9px 0 0 0.47px;font:600 12.5px/1 var(--font-body);color:var(--ink-2);text-transform:uppercase;letter-spacing:.08em}
@media not (width >= 390px){
  .formrow{gap:9px}
  .formrow li{width:46px;height:50px}
  .formrow .res{font-size:29px;--st:calc(29px * .1025);--sh:calc(29px * .675)}
  .result .sub{margin-left:11.31px}
  .newest{margin-left:0.69px}
}
@media (width >= 390px){
  .formrow li{--nudge-y:.5px}
}
@media (width >= 900px){
  .result .sub{margin-left:12.16px}
  .newest{margin-left:-0.16px}
  .formrow{gap:14px}
  .formrow li{width:54px;height:58px}
  .formrow .res{font-size:34px;--st:calc(34px * .1025);--sh:calc(34px * .675)}
}


/* ===== guide.md 5.21 Data tables ===== */
/* Header row in Rubik 12 px capitals over a 2 px rule, rows of 15 px Rubik (14 under 480, 16 in the desktop layout)
   over 1 px rules, no rule under the last row showing; numbers right-aligned (.n), the rank centred (.c), words left.
   The Fitness table (table.sq): five columns spread evenly from 480 px (a grid with subgrid rows; the ARIA roles keep
   it a table for screen readers); under 480 the Player column takes the spare width, the others sit 12 px apart (8
   under 360), and the number headers take their short forms (LVL, RTG; screen readers always hear Level and Rating).
   From 900 to 1079 px, where each desktop column holds only a phone's width of table, the short forms show too and
   the names get the width the long headers took (89, owner 2026-10-22: "lvl rtg is fine"); the even spacing stays,
   and from 1080 the full words return. A name too long for its column takes a second line; it never widens the box.
   The Division table (table.lt): the club column takes the slack; the club name and its swatch wrap as one. */
table{width:100%;border-collapse:collapse}
th{font:700 12px/1.2 var(--font-body);color:var(--ink-2);text-transform:uppercase;letter-spacing:.06em;text-align:left;padding:0 4px 8px;border-bottom:2px solid var(--rule-strong)}
td{padding:9px 4px;border-bottom:1px solid var(--rule);font-size:15px;white-space:nowrap}
tbody tr:not(:has(~ tr:not([hidden]))) td{border-bottom:0}
th:first-child,td:first-child{padding-left:0}
th:last-child,td:last-child{padding-right:0}
.n{text-align:right}
.c{text-align:center}
abbr{text-decoration:none}
.pos{color:var(--ink-2);font-weight:700;font-size:15px}
.pname{font-weight:600}
.hi{font-weight:800}
table.sq{display:grid;grid-template-columns:repeat(5,auto);justify-content:space-between;column-gap:12px}
table.sq thead,table.sq tbody{display:contents}
table.sq tr{display:grid;grid-template-columns:subgrid;grid-column:1 / -1;align-items:baseline;border-bottom:1px solid var(--rule)}
table.sq thead tr{border-bottom:2px solid var(--rule-strong)}
table.sq tbody tr:not(:has(~ tr:not([hidden]))){border-bottom:0}
table.sq tr[hidden]{display:none}
table.sq th,table.sq td{padding-left:0;padding-right:0;border-bottom:0;white-space:nowrap}
table.sq td.pname{white-space:normal}
table.sq .th-s{display:none}
.lt td{padding-top:8px;padding-bottom:8px}
.lt td.clubcell{white-space:normal}
.lt .cn{white-space:nowrap}
.lt th.c,.lt td.c{width:2.6em;padding-left:0;padding-right:4px}
@media not (width >= 480px){
  td{font-size:14px;padding-left:3px;padding-right:3px}
  th{padding-left:3px;padding-right:3px;font-size:11.5px}
  .pos{font-size:14px}
  table.sq{column-gap:12px;grid-template-columns:auto 1fr auto auto auto;justify-content:normal}
  table.sq .th-s{display:inline}
  table.sq .th-l{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}
@media not (width >= 390px){
  th{letter-spacing:.02em}
  td.n{padding-left:2px}
  .lt td{font-size:13.5px}
}
@media not (width >= 360px){
  table.sq{column-gap:8px}
}
@media (width >= 900px){
  td{font-size:16px}
  th{font-size:12.5px}
  .pos{font-size:16px}
}
@media (width >= 900px) and (not (width >= 1080px)){
  table.sq .th-s{display:inline}
  table.sq .th-l{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}


/* ===== guide.md 5.22 Sheets ===== */
/* Tables sit on a calm flat sheet inside the cloth, reaching 8 px past the box's inner edge (10 in the desktop
   layout). In the phone layout a table wider than its box (under 360 px, or with enlarged text spacing) scrolls
   inside it, and a soft 12 px shade shows on the edge that hides columns, going when you reach that end. The shade
   is drawn above the table, so the your-club row's band does not cover it: two shades on the box (its ::before and
   ::after), pinned to the sheet's left and right edges outside the part that scrolls, each fading over the first or
   last 4 px of the sheet's own scrolling. A table that fits has no scroll, so neither shade shows. The boxes stay
   unpositioned (positioning them changed how nearby text is drawn). The anchor names are one per sheet: the
   Fitness and Division boxes have theirs; a new box with a table that may scroll adds its own pair here. In the
   desktop layout every sheet runs to its box foot (4.2). */
.sheet{background:var(--sheet);margin:0 -8px;padding:8px 8px 2px}
@media not (width >= 900px){
  .sheet{overflow-x:auto;overflow-y:hidden}
  @supports (anchor-name:--a) and (timeline-scope:--a) and (animation-timeline:scroll()){
    .card.squad,.card.table{timeline-scope:--shade}
    .sheet{scroll-timeline:--shade inline}
    .squad .sheet{anchor-name:--shade-sq}
    .table .sheet{anchor-name:--shade-tb}
    .card.squad::before,.card.squad::after{position-anchor:--shade-sq}
    .card.table::before,.card.table::after{position-anchor:--shade-tb}
    .card.squad::before,.card.squad::after,.card.table::before,.card.table::after{content:"";position:absolute;
      z-index:1;top:anchor(top);bottom:anchor(bottom);width:12px;pointer-events:none;opacity:0;animation:linear both;animation-timeline:--shade}
    .card.squad::before,.card.table::before{left:anchor(left);background:linear-gradient(to right,rgba(0,0,0,.18),transparent);
      animation-name:shade-show;animation-range:0px 4px}
    .card.squad::after,.card.table::after{right:anchor(right);background:linear-gradient(to left,rgba(0,0,0,.18),transparent);
      animation-name:shade-hide;animation-range:calc(100% - 4px) 100%}
    :root[data-mode="dark"] .card.squad::before,:root[data-mode="dark"] .card.table::before{background:linear-gradient(to right,rgba(0,0,0,.6),transparent)}
    :root[data-mode="dark"] .card.squad::after,:root[data-mode="dark"] .card.table::after{background:linear-gradient(to left,rgba(0,0,0,.6),transparent)}
  }
  /* a browser without these gets a background version (the your-club row's band covers it there) */
  @supports not ((anchor-name:--a) and (timeline-scope:--a) and (animation-timeline:scroll())){
    .sheet{background:
        linear-gradient(to right,var(--sheet) 30%,transparent) left center/24px 100% no-repeat local,
        linear-gradient(to left,var(--sheet) 30%,transparent) right center/24px 100% no-repeat local,
        linear-gradient(to right,rgba(0,0,0,.18),transparent) left center/12px 100% no-repeat scroll,
        linear-gradient(to left,rgba(0,0,0,.18),transparent) right center/12px 100% no-repeat scroll,
        var(--sheet)}
    :root[data-mode="dark"] .sheet{background:
        linear-gradient(to right,var(--sheet) 30%,transparent) left center/24px 100% no-repeat local,
        linear-gradient(to left,var(--sheet) 30%,transparent) right center/24px 100% no-repeat local,
        linear-gradient(to right,rgba(0,0,0,.6),transparent) left center/12px 100% no-repeat scroll,
        linear-gradient(to left,rgba(0,0,0,.6),transparent) right center/12px 100% no-repeat scroll,
        var(--sheet)}
  }
}
@keyframes shade-show{from{opacity:0}to{opacity:1}}
@keyframes shade-hide{from{opacity:1}to{opacity:0}}
@media (width >= 900px){
  .sheet{margin:0 -10px;padding:8px 10px 2px}
}


/* ===== guide.md 5.23 Your-club row ===== */
/* The your-club row in a league table: a tint of the page's teal that reaches 6 px past the row's ends (a shadow, so
   the points keep the column's edge), bold, and the three-chevron tag after the name (--tag, 26.875 x 11.25 px;
   21.5 x 9 in the phone layout, so it clears the next column); the club cell doesn't wrap. */
.lt tr.me td{background:var(--me-band);font-weight:700}
.lt tr.me td:first-child{box-shadow:-6px 0 0 var(--me-band)}
.lt tr.me td:last-child{padding-right:0;box-shadow:6px 0 0 var(--me-band)}
.lt tr.me td.clubcell{white-space:nowrap}
.lt tr.me .cn::after{content:"";display:inline-block;width:26.875px;height:11.25px;margin-left:5.375px;vertical-align:0.375px;background:var(--tag) 0 0/26.875px 11.25px no-repeat}
@media not (width >= 900px){
  .lt tr.me .cn::after{width:21.5px;height:9px;background-size:21.5px 9px;margin-left:4.5px;vertical-align:0.5px}
}


/* ===== guide.md 5.24 Club swatch ===== */
/* A club's colours beside its name: home half and away half, a 1 px ring, no label; 16 px (14 under 390). The page
   sets each swatch's --a (home) and --b (away). */
.chip{display:inline-block;width:16px;height:16px;margin-right:8px;border-radius:1px;vertical-align:-3px;
  background:linear-gradient(90deg,var(--a) 0 50%,var(--b) 50% 100%);box-shadow:0 0 0 1px var(--chip-ring)}
@media not (width >= 390px){
  .chip{margin-right:6px;width:14px;height:14px}
}


/* ===== guide.md 5.25 Expanders ===== */
/* In the phone layout, buttons that open a capped table in place: the link colour, underlined words that change
   ("Show all 18 players", "Show fewer"), a caret that turns over 0.2 s (no turn with reduced motion), 48 px tall. The
   page's script keeps the button where it was tapped. Hidden in the desktop layout, where tables show in full (4.2). */
.more{display:inline-flex;align-items:center;gap:8px;min-height:48px;margin:0;padding:0;border:0;background:none;cursor:pointer;color:var(--link);font:italic 800 16px/1 var(--font-head);font-stretch:112%;font-variant-numeric:tabular-nums}
.more .more-t{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:2px}
.more .chev{flex:none;width:14px;height:9px;transition:transform .2s}
.more[aria-expanded="true"] .chev{transform:rotate(180deg)}
@media (prefers-reduced-motion:reduce){.more .chev{transition:none}}


/* ===== guide.md 5.27 Scrollbars ===== */
:root{--scroll-thumb:var(--teal);--scroll-track:var(--page)}
*{scrollbar-color:var(--scroll-thumb) var(--scroll-track);scrollbar-width:auto}
/* Use explicit tracks in WebKit so an overflow example has a visible branded rail. Firefox keeps the standard rule. */
@supports selector(::-webkit-scrollbar){
 *{scrollbar-color:auto}
 *::-webkit-scrollbar{width:12px;height:12px}
 *::-webkit-scrollbar-track,*::-webkit-scrollbar-corner{background:var(--scroll-track)}
 *::-webkit-scrollbar-thumb{background:var(--scroll-thumb);border:3px solid var(--scroll-track);border-radius:2px}
 *::-webkit-scrollbar-thumb:hover{background:var(--pink)}
}
@media (forced-colors:active){
 *{scrollbar-color:auto}
 *::-webkit-scrollbar-track,*::-webkit-scrollbar-corner{background:Canvas}
 *::-webkit-scrollbar-thumb{background:CanvasText;border-color:Canvas}
}


/* ===== guide.md 5.28 Second action ===== */
/* Owner, November 16, 2026: "C", SA1 chevron words. Class name: Claude's call. */
.act2{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 1 auto;min-width:44px;min-height:44px;max-width:100%;margin:0;padding:0 4px;border:0;border-radius:2px;background:none;box-shadow:none;color:var(--link);font:italic 900 12.5px/1.2 var(--font-head);font-stretch:125%;text-transform:uppercase;letter-spacing:.06em;text-decoration:none;text-align:center;cursor:pointer;gap:8px}
.act2>*{font:inherit;color:inherit;letter-spacing:inherit;text-decoration:none}
.act2::before{content:"";display:block;flex:none;width:9px;height:10px;background:currentColor;clip-path:polygon(0 0,44.444% 0,100% 50%,44.444% 100%,0 100%,55.556% 50%)}
.act2:hover{text-decoration:none;color:var(--link)}
.act2:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.act2:disabled,.act2[aria-disabled="true"]{color:var(--ink-2);opacity:1;cursor:default}
/* A step back (a pager's Previous) takes the same chevron mirrored, pointing left (owner, November 17, 2026: "the
   chevron for the navigation going either left or right"). Modifier name: Claude's call. */
.act2.back::before{transform:scaleX(-1)}


/* ===== guide.md 5.29 Tool button ===== */
/* Owner, November 17, 2026: "Quiet box on the full name and legends" (TT1's option C). A table's view tools: a
   toggle, one of a few choices, a dialog's open and close. One 1 px --rule-strong edge, 2 px corners, no ground,
   Rubik 600 14 px in --ink, 12 px sides, at least 44 x 44 px; hover darkens the edge to --ink; pressed
   (aria-pressed="true") fills --ink with --page words at 700; disabled drops the edge and its words go --ink-2, with
   no opacity fade. Class name: Claude's call. */
.tool{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:44px;margin:0;padding:0 12px;border:1px solid var(--rule-strong);border-radius:2px;background:transparent;box-shadow:none;color:var(--ink);font:600 14px/1.2 var(--font-body);font-variant-numeric:tabular-nums;letter-spacing:0;text-transform:none;text-decoration:none;white-space:nowrap;cursor:pointer;opacity:1}
.tool:hover{background:transparent;border-color:var(--ink)}
.tool[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:var(--page);font-weight:700}
.tool:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.tool:disabled,.tool[aria-disabled="true"]{border-color:transparent;background:transparent;color:var(--ink-2);opacity:1;cursor:default}


/* ===== guide.md 5.30 Tappable name ===== */
/* Owner, November 19, 2026: "A", plain. A club or player name you can tap looks like any other name: its own colour,
   weight and size, no underline, no chevron. Only a press shows it: a --rule tint carried 4 px past the name by a hard
   shadow, which never changes layout. On your own row (the your-club tint) the press is that tint stepped 22% toward
   --ink, where --rule would not show. The target is taller than the name: an unseen box centred on it, at least 44 px
   tall, which the tint does not fill. Class name: Claude's call. */
.tap{position:relative;color:inherit;text-decoration:none;border-radius:2px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.tap::after{content:"";position:absolute;left:0;right:0;top:50%;height:max(100%,44px);transform:translateY(-50%)}
button.tap{appearance:none;margin:0;padding:0;border:0;background:none;font:inherit;letter-spacing:inherit;text-align:inherit;text-transform:inherit}
.tap:hover{color:inherit;text-decoration:none}
.tap:active{background:var(--rule);box-shadow:0 0 0 4px var(--rule)}
tr.me .tap:active,tr.you .tap:active{background:color-mix(in srgb,var(--me-band) 78%,var(--ink));box-shadow:0 0 0 4px color-mix(in srgb,var(--me-band) 78%,var(--ink))}
.tap:focus-visible{outline:3px solid var(--focus);outline-offset:2px}


/* ===== guide.md 5.33 Reminder dot ===== */
/* Owner, November 24, 2026: "C: top bar + tab + card". While a training pull is ready, a round 8 px dot after "My
   Club" in the black bar, the Training tab and the Training card's heading: 2 px right of the word, its top 3 px above
   the word's capitals. It takes no room: .ready-dot is an empty mark on the word's baseline and the dot is drawn out of
   flow from it, so the word, the bar and the tab row never move. --league-hover on the black bar, --yellow on the page
   with a 1.5 px --ink ring inside it in light mode (that yellow alone is under 3:1 on cream and on the aqua cloth).
   Under 360 px the black bar's dot sits raised over the end of the word, clear of the next link. .ready keeps the word
   and its dot on one line; the link or heading carries ", training ready" in .sr. Its colours are tokens only; forced
   colours keep them. Class names: Claude's call. */
.ready{white-space:nowrap}
.ready-dot{position:relative;display:inline-block;width:0;height:0;vertical-align:baseline}
.ready-dot::after{content:"";position:absolute;left:2px;bottom:calc(.7em - 5px);bottom:calc(1cap - 5px);width:8px;height:8px;border-radius:50%;
  background:var(--yellow);pointer-events:none}
:root[data-mode="light"] .ready-dot::after{box-shadow:inset 0 0 0 1.5px var(--ink)}
.league .ready-dot::after,:root[data-mode="light"] .league .ready-dot::after{background:var(--league-hover);box-shadow:none}
@media not (width >= 360px){
  .league .ready-dot::after{left:-4px;bottom:calc(.7em + 2px);bottom:calc(1cap + 2px)}
}
@media (forced-colors:active){
  .ready-dot::after{forced-color-adjust:none}
}
