/* MLS Daily — site prototype. The design record is site/README.md.

   Type. Inter Tight for headlines, Source Sans 3 for everything else.
     Headlines   lead 40/44 · club lead 34/38 · secondary 24/30 · club secondary 21/27
                 · item 19/25 · compact row 17/23   (600; 700 on lead and titles;
                 400 in ink-2 for a headline-only row next to featured ones)
     Headings    page title 40/44 · section 22/28 · card 20/26 · rail 15/20 · date line 17/24
     Text        lead summary 20/30 · club lead summary 18/28 · summary 17/26
                 · nav and links 15/20
                 · source line 14/18 · date and meta 13/18
   Colour. Ink, ink-2 for summaries, src for the source line, meta for dates.
     Team colour only on bars, bands, card tops and headline hover; blue only
     for the focus ring and a focused search field.
   Space. 4 8 12 16 24 32 48 64. Named exceptions: 20 under every colour bar;
     36 around each story in a list (72 between two); 96 between sections and
     before the rail on tablets; 120 at the foot of the page. */

:root {
  --bg: #ffffff;
  --ink: #111418;
  --ink-2: #3a414a;
  --src: #5d6570;
  --meta: #6b7380;      /* 4.8:1 on white; #737b86 was 4.3, under AA at 13px */
  --rule: #e8eaed;
  --accent: #1747d6;
  --mark: #fff1b8;
  --head: "Inter Tight", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --body: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

/* ── Base ─────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/26px var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--head); }
p { margin: 0; }
img { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.nb { white-space: nowrap; }
mark { background: var(--mark); color: inherit; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 100; padding: 8px 16px; border-radius: 8px; background: var(--ink); color: #fff; font: 500 14px/20px var(--body); transition: top .15s; }
.skip:focus { top: 12px; }

/* ── Masthead ─────────────────────────────────────────────────────────── */
.wrap { max-width: 1296px; margin: 0 auto; padding: 0 48px; }
.masthead { border-bottom: 1px solid var(--rule); background: var(--bg); }
.bar { display: flex; align-items: center; height: 72px; }
.wordmark { font: 800 22px/24px var(--head); letter-spacing: -0.02em; }
.bar nav { display: flex; gap: 32px; margin-left: 48px; height: 100%; font: 500 15px/20px var(--body); }
.bar nav a { display: flex; align-items: center; color: var(--meta); transition: color .15s; }
.bar nav a:hover { color: var(--ink); }
.bar nav a[aria-current] { color: var(--ink); font-weight: 600; }
/* The bold width is reserved, so the menu never shifts between sections. */
.bar nav a span { display: inline-flex; flex-direction: column; align-items: center; }
.bar nav a span::after { content: attr(data-t); font-weight: 600; height: 0; visibility: hidden; overflow: hidden; pointer-events: none; }
.search-link { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-right: 8px; border-radius: 50%; color: var(--meta); transition: color .15s, background .15s; }
.search-link:hover { color: var(--ink); background: var(--rule); }
.search-link[aria-current] { color: var(--ink); }
.subscribe { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font: 500 14px/1 var(--body); transition: opacity .15s; }
.subscribe:hover { opacity: .85; }
.menu-btn { display: none; }
.signup { max-width: 560px; margin-top: -8px; }
/* Tally pads its form 8px a side; pull it out so the fields meet the column edge. */
.signup iframe { display: block; width: calc(100% + 16px); margin: 0 -8px; border: 0; }

/* ── Crest strip ──────────────────────────────────────────────────────── */
.crest-strip { border-bottom: 1px solid var(--rule); }
.crest-strip ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; align-items: center; height: 60px; }
.crest-strip a { display: flex; align-items: center; justify-content: center; width: 40px; height: 60px; transition: background .15s; }
/* Hover and the club being read share one mark: a full-height tile of the
   club's tint, flush to the strip's edges, meeting the band's stripe on a club
   page (owner, 2026-12-03). No underline. */
.crest-strip a:hover, .crest-strip a:focus-visible, .crest-strip a[aria-current] { background: var(--tint); }
.crest-strip a:focus-visible { outline-offset: -2px; border-radius: 0; }
.crest { display: inline-flex; align-items: center; justify-content: center; flex: none; }
.crest img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.crest-x { width: 24px; height: 28px; }
.crest-l { width: 26px; height: 34px; }

/* ── Layout ───────────────────────────────────────────────────────────── */
main.wrap { padding-top: 96px; padding-bottom: 120px; }
.crest-strip + main.wrap { padding-top: 32px; }
main.after-hero { padding-top: 48px; }
.col { max-width: 776px; min-width: 0; }
main.wide .col { max-width: none; }
main.reading .col { margin: 0 auto; }
main.with-rail { display: grid; grid-template-columns: minmax(0, 776px) 276px; justify-content: space-between; column-gap: 48px; }
/* The rail comes first in the source, so a keyboard reaches it before a
   thousand rows; the grid still draws it on the right. */
main.with-rail > .col { grid-column: 1; grid-row: 1; }
main.with-rail > .rail { grid-column: 2; grid-row: 1; }

/* ── Source line ──────────────────────────────────────────────────────── */
/* Crests, then the source in grey, then format and date after a dot. The
   class is still .pill from when it was one. */
.pill-row { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 8px; }
.pill { display: inline-flex; align-items: center; gap: 5px; font: 500 14px/18px var(--body); color: var(--src); white-space: nowrap; transition: color .15s; }
.pill:hover { color: var(--ink-team, var(--ink)); }
.pill-row .crests + .pill { margin-left: -3px; }
.pill + .meta::before { content: "·"; margin-right: 8px; }
.meta { font: 400 13px/18px var(--body); color: var(--meta); }
.glyph { width: 10px; height: 10px; flex: none; }
.crests { display: inline-flex; align-items: center; gap: 4px; margin-right: 4px; }
.crests a { display: inline-flex; transition: transform .15s; }
.crests a:hover { transform: scale(1.15); }

/* Sticker crests, copied from futi pro (StickerCrest.module.css). */
.sc { --d: 22px; --gap: 1px; display: inline-grid; place-items: center; flex: none; width: var(--d); height: var(--d); border-radius: 50%; }
.sc-box { position: relative; width: min(var(--d), calc((var(--d) - 4 * var(--gap)) / var(--reach))); aspect-ratio: 1; }
.sc-sticker { position: absolute; inset: -25%; background: #fff; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.sc-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.lead .sc { --d: 26px; }

/* ── Stories ──────────────────────────────────────────────────────────── */
/* Team bars: square, both ends cut at 105°, the angle of the two-club split
   (owner, 2026-12-03: 110° was too much). The cut is the bar's height × tan 15°. */
.bar-team { --h: 4px; display: block; width: 32px; height: var(--h); background: var(--team); margin-bottom: 16px; clip-path: polygon(calc(var(--h) * .268) 0, 100% 0, calc(100% - var(--h) * .268) 100%, 0 100%); }
.lead .bar-team { --h: 5px; width: 48px; margin-bottom: 20px; }
.bar-team.two { background: linear-gradient(105deg, var(--team) 0 calc(50% - 1px), transparent calc(50% - 1px) calc(50% + 1px), var(--team-2) calc(50% + 1px)); }
.story h2 a, .story h3 a, .rows h3 a, .cc-stories h3 a { transition: color .15s; }
.story h2 a:hover, .story h3 a:hover, .rows h3 a:hover, .cc-stories h3 a:hover { color: var(--ink-team, var(--accent)); }
.story p { margin-top: 12px; color: var(--ink-2); max-width: 640px; }

.lead .pill-row { margin-bottom: 12px; }
.lead h2 { font: 700 40px/44px var(--head); letter-spacing: -0.02em; text-wrap: balance; }
.lead p { font-size: 20px; line-height: 30px; }

/* Briefing: the email's paragraphs above the lead, no heading (owner, 2026-12-04).
   Each source is a grey tag edged in the cited story's club colour, as in the email. */
.briefing { margin: 8px 0 72px; max-width: 640px; }
.briefing p { font: 400 18px/29px var(--body); color: var(--ink-2); margin: 0 0 18px; }
.briefing p:last-child { margin-bottom: 0; }
.bt { display: inline-block; vertical-align: 1px; font: 600 13px/19px var(--body); color: var(--ink-2); background: #f3f4f6; border-left: 3px solid var(--edge); padding: 0 7px 0 6px; white-space: nowrap; transition: background .15s; }
.bt:hover { background: var(--rule); color: var(--ink); }
.secondary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 64px; }
.secondary h3 { font: 600 24px/30px var(--head); letter-spacing: -0.01em; text-wrap: balance; }
.item h3, .result h3 { font: 600 19px/25px var(--head); letter-spacing: -0.005em; max-width: 640px; }

.section { margin-top: 64px; }
.section-h { font: 700 22px/28px var(--head); letter-spacing: -0.01em; margin-bottom: 24px; }
/* The rest of the day has no visible heading (owner, 2026-12-03): the space, the
   smaller headlines and the single column make the break. */
.section-quiet { margin-top: 96px; }
.section > .secondary-grid { margin-top: 0; }
.list > .story { padding: 32px 0; border-top: 1px solid var(--rule); }
.list > .story:first-child { border-top: 0; padding-top: 0; }
.secondary-grid + .list:not(:empty) { margin-top: 48px; }
.secondary-grid + .list > .story:first-child { border-top: 1px solid var(--rule); padding-top: 32px; }
/* Day pages: stories are separated by space alone (owner, 2026-12-03). */
main.reading .list > .story { border-top: 0; padding: 36px 0; }
main.reading .list > .story:first-child { padding-top: 0; }
/* Club pages: the rest of the week under the two columns, spaced like a day page. */
.club-top .club-rest { margin-top: 64px; }
.club-top .club-rest > .story, .club-top .secondary-grid + .club-rest > .story:first-child { border-top: 0; padding: 36px 0; }
.club-top .club-rest > .story:first-child { padding-top: 0; }

/* "Also:" under a story: the other outlets the email grouped with it. */
.story .also { margin-top: 8px; font: 500 14px/20px var(--body); color: var(--meta); }
.story .also a { display: inline-flex; align-items: center; gap: 5px; color: var(--src); transition: color .15s; }
.story .also a:hover { color: var(--ink); }

/* All stories: the whole day as headlines, by club, club in the margin. */
/* The heading sits above the first rule, not inside the first club (owner, 2026-12-04). */
.all-sec { margin-top: 96px; }
.all-grp { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 24px 0; border-top: 1px solid var(--rule); }
.all-club { display: inline-flex; align-items: center; gap: 8px; align-self: start; font: 600 16px/22px var(--head); color: var(--ink); transition: color .15s; }
.all-club:hover { color: var(--ink-team); }
.all-list { list-style: none; margin: 0; padding: 0; }
.all-list li + li { margin-top: 12px; }
.all-h { display: block; font: 600 17px/23px var(--head); color: var(--ink); transition: color .15s; }
.all-list li.brief .all-h { font-weight: 400; color: var(--ink-2); }
.all-h:hover { color: var(--ink-team, var(--accent)); }
.all-src { display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; font: 500 14px/18px var(--body); color: var(--src); transition: color .15s; }
.all-src:hover { color: var(--ink); }

/* Compact rows: club pages and the clubs index. */
.rows, .cc-stories { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--rule); }
.rows li:first-child { border-top: 0; padding-top: 0; }
.rows .pill-row, .cc-stories .pill-row, .arc-story .pill-row { margin-bottom: 4px; }
.rows h3, .cc-stories h3, .arc-h { font: 600 17px/23px var(--head); }
/* Club pages: a featured story keeps the bold headline; a headline-only link
   (the email's Headlines) is lighter, so the newsletter's judgment still shows. */
.rows li.brief h3 { font-weight: 400; color: var(--ink-2); }

/* ── Day pages ────────────────────────────────────────────────────────── */
.day-title { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 16px; padding-bottom: 24px; margin-bottom: 48px; border-bottom: 1px solid var(--rule); }
.day-title h1 { font: 600 17px/24px var(--head); text-align: center; }
.day-title h1 a:hover, .arc-days a:hover .arc-h { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.dt-step { display: inline-block; justify-self: start; padding: 12px 0; margin: -12px 0; font: 500 14px/20px var(--body); color: var(--meta); white-space: nowrap; transition: color .15s; }
.dt-step:hover { color: var(--ink); }
.dt-next { justify-self: end; }
.dt-upd { justify-self: end; font: 500 14px/20px var(--body); color: var(--meta); white-space: nowrap; }
/* The caret stands a little apart from the date it leads to (owner, 2026-12-03). */
.dt-c { display: inline-block; margin-right: 8px; }
.dt-next .dt-c, .day-end a + a .dt-c, .day-end span + a .dt-c { margin: 0 0 0 8px; }
/* Sign-up foot on day pages (owner, 2026-12-03), like the email's footer. */
.signup-foot { margin-top: 96px; }
.team-strip { display: block; width: 100%; height: auto; margin-bottom: 32px; }
.sf-h { font: 700 24px/30px var(--head); letter-spacing: -0.02em; color: var(--ink); margin: 0 0 20px; }
.sf-btn { height: 40px; padding: 0 20px; font-size: 15px; font-weight: 600; }
.day-end { display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--rule); font: 500 15px/20px var(--body); }
.day-end a { display: inline-block; padding: 12px 0; margin: -12px 0; color: var(--ink-2); transition: color .15s; }
.day-end a:hover { color: var(--ink); }

/* ── Club page ────────────────────────────────────────────────────────── */
.hero { background: var(--tint); border-top: 5px solid var(--team); }
.hero .wrap { padding-top: 32px; padding-bottom: 32px; }
.club-title { display: flex; align-items: center; gap: 16px; font: 700 40px/44px var(--head); letter-spacing: -0.02em; }
.club-title .crest-l { margin-top: 2px; }
.club-top .lead h2 { font-size: 34px; line-height: 38px; }
.club-top .lead p { font-size: 18px; line-height: 28px; }
.club-top .secondary h3 { font-size: 21px; line-height: 27px; }
/* A hairline where the week ends and the dated rows begin, as above a day page's All stories. */
.club-top + .club-month { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--rule); }
.club-month:first-child { margin-top: 0; }
.club-month { scroll-margin-top: 32px; }
.rail-block + .rail-block { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rule); }
.rail-h { font: 700 15px/20px var(--head); letter-spacing: -0.01em; margin-bottom: 12px; }
.src-links, .month-grid { list-style: none; margin: 0; padding: 0; }
.src-links li { padding: 4px 0; }
.src-links a, .month-grid a { font: 500 15px/20px var(--body); color: var(--ink-2); transition: color .15s; }
.src-links a:hover, .month-grid a:hover { color: var(--ink-team); }
.month-year { margin: 0 0 4px; font: 400 13px/18px var(--body); color: var(--meta); }
.month-year:not(:first-of-type) { margin-top: 16px; }
.month-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 16px; }
.month-grid a { display: block; padding: 2px 0; }
@media (min-width: 1024px) and (min-height: 760px) {
  .club-rail { position: sticky; top: 32px; }
}

/* Filter buttons (club pages, search) and removable filter chips (search). */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.filters button, .scope-chip { height: 32px; border-radius: 999px; cursor: pointer; font: 500 14px/1 var(--body); background: transparent; border: 1px solid var(--rule); transition: border-color .15s, color .15s; }
.filters button { padding: 0 12px; color: var(--ink-2); }
.filters button:hover, .scope-chip:hover { border-color: var(--meta); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.hero .filters { margin-bottom: 0; }
.hero .filters button { background: #fff; border-color: transparent; }
.hero .filters button[aria-pressed="true"] { background: var(--ink-team); border-color: var(--ink-team); color: #fff; }
.scope { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.scope-chip { display: inline-flex; align-items: center; gap: 8px; padding: 0 12px 0 8px; color: var(--ink); background: #fff; }
.scope-chip > span[aria-hidden] { color: var(--meta); font-size: 17px; line-height: 1; }

/* ── Clubs index ──────────────────────────────────────────────────────── */
.club-cards, .src-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 48px; }
.club-cards { list-style: none; margin: 0; padding: 0; }
.club-card, .src-group { border-top: 3px solid var(--team); padding-top: 20px; }
.cc-h { font: inherit; }
.cc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.cc-name, .src-club a { font: 700 20px/26px var(--head); letter-spacing: -0.01em; transition: color .15s; }
.cc-head:hover .cc-name, .src-club a:hover { color: var(--ink-team); }
.cc-stories li { padding: 16px 0; border-top: 1px solid var(--rule); }
.cc-stories li:first-child { border-top: 0; }

/* ── Sources ──────────────────────────────────────────────────────────── */
.src-group { break-inside: avoid; }
.src-club a { display: inline-flex; align-items: center; gap: 12px; }
.src-list { list-style: none; margin: 12px 0 0; padding: 0; }
.src { padding: 12px 0; border-top: 1px solid var(--rule); }
.src:first-child { border-top: 0; }
.src-name { display: inline-flex; align-items: center; gap: 6px; font: 600 16px/22px var(--body); transition: color .15s; }
.src-name .glyph { color: var(--src); }
.src-name:hover { color: var(--ink-team); }
.src-latest { display: block; margin-top: 4px; font: 400 14px/20px var(--body); color: var(--src); }
.src-latest:hover .src-h { color: var(--ink-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.src-h { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.src-date { display: block; margin-top: 4px; font: 400 13px/18px var(--body); color: var(--meta); }
.src-group.league { margin-bottom: 64px; }
.src-group.league .src-list { columns: 3; column-gap: 48px; }
.src-group.league .src { break-inside: avoid; border-top: 0; border-bottom: 1px solid var(--rule); }

/* ── Archive ──────────────────────────────────────────────────────────── */
/* Weeks inside months; the range in a gutter beside its days. */
.arc-search { margin-bottom: 8px; }
.arc-month { margin-top: 64px; scroll-margin-top: 24px; }
.arc-month:first-of-type { margin-top: 48px; }
.arc-month .section-h { margin-bottom: 16px; }
.arc-week { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 8px; padding: 24px 0; border-top: 1px solid var(--rule); scroll-margin-top: 24px; }
.arc-month .section-h + .arc-week { border-top: 0; padding-top: 0; }
.arc-wl { font: 600 15px/20px var(--body); padding-top: 13px; }
.arc-days { list-style: none; margin: 0; padding: 0; }
.arc-days li { scroll-margin-top: 24px; }
.arc-days a { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 12px; margin: 0 -12px; }
.arc-days a:focus-visible { outline-offset: 0; }
.arc-days li:target a { box-shadow: inset 2px 0 0 var(--ink); }
.arc-date { font: 600 15px/20px var(--body); color: var(--ink); font-variant-numeric: tabular-nums; padding-top: 1px; }
.arc-dn { display: inline-block; min-width: 20px; text-align: right; margin-right: 4px; }
.arc-wd { font-weight: 400; color: var(--meta); }
.arc-h { display: block; }
.arc-months ul, .arc-months-m ul { list-style: none; margin: 0; padding: 0; }
.arc-months li { padding: 6px 0; }
.arc-months a, .arc-months-m a { font: 500 15px/20px var(--body); color: var(--meta); transition: color .15s; }
.arc-months a:hover, .arc-months-m a:hover { color: var(--ink); }
.arc-months a[aria-current], .arc-months-m a[aria-current] { color: var(--ink); font-weight: 600; }
.arc-months-m, .club-tools-m { display: none; }
@media (min-width: 1024px) { main:has(.arc-months) .rail { position: sticky; top: 32px; align-self: start; margin-top: 108px; } }

/* ── Search fields ────────────────────────────────────────────────────── */
/* One style: a line under the words, blue while focused. */
.search input, .arc-search input, .rail-search input { width: 100%; padding: 0 0 2px; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); outline: none; font-family: var(--head); font-weight: 600; transition: border-color .15s; }
.search input:focus, .arc-search input:focus, .rail-search input:focus { border-bottom-color: var(--accent); }
.search input::placeholder, .arc-search input::placeholder, .rail-search input::placeholder { color: var(--meta); }
.search input { height: 64px; padding-bottom: 4px; font-size: 28px; line-height: 36px; letter-spacing: -0.015em; }
.arc-search input { height: 44px; font-size: 20px; line-height: 28px; letter-spacing: -0.01em; }
.rail-search { margin-bottom: 48px; }
.rail-search input { height: 36px; font-size: 17px; line-height: 24px; letter-spacing: -0.01em; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; height: 14px; width: 14px; cursor: pointer; background: linear-gradient(45deg, transparent 45%, var(--meta) 45%, var(--meta) 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, var(--meta) 45%, var(--meta) 55%, transparent 55%); }
.search-filters { margin-top: 16px; }
.scope + .search-filters { margin-top: 12px; }
#status { margin: 32px 0 24px; }
.count { font: 400 17px/26px var(--body); color: var(--ink-2); }
.link-btn { padding: 0; border: 0; background: none; font: inherit; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { text-decoration-thickness: 2px; }
.result p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.empty { margin-top: 48px; color: var(--meta); }
.more { display: block; margin: 32px auto 0; height: 40px; padding: 0 20px; border: 1px solid var(--rule); border-radius: 999px; background: #fff; font: 500 15px/20px var(--body); color: var(--ink-2); cursor: pointer; transition: border-color .15s, color .15s; }
.more:hover { border-color: var(--meta); color: var(--ink); }

/* ── Tablet ───────────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  main.with-rail { grid-template-columns: minmax(0, 1fr); }
  .col { max-width: none; }
  .rail { margin-top: 96px; padding-top: 48px; border-top: 1px solid var(--rule); }
  main:has(.arc-months) .rail { display: none; }
  main.with-rail > .rail { grid-column: 1; grid-row: 2; }
  .rail-only { display: none; }
  .club-tools-m { display: block; margin-bottom: 48px; }
  .club-tools-m .rail-search { margin-bottom: 0; }
  .crest-strip .wrap { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
  .crest-strip ul { justify-content: flex-start; gap: 0; width: max-content; }
  .club-cards, .src-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .src-group.league .src-list { columns: 2; }
  /* Months as one scrolling line of names. */
  .arc-months-m { display: block; margin-top: 16px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
  .arc-months-m ul { display: flex; gap: 24px; width: max-content; }
  .arc-months-m a { display: block; padding: 12px 0; }
  .arc-days a { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
}

/* ── Phone ────────────────────────────────────────────────────────────── */
/* "Premier League Daily" is 189px at the phone size and needs a 383px screen to
   share its row with search, Subscribe and the menu button. Narrower, it
   scales with the screen so the masthead stays one 56px row. 194px = the 20px
   gutters, search, Subscribe and the menu button; 9.45 = the wordmark's
   width per px of type. MLS Daily never needs it. */
@media (max-width: 382px) { .wordmark.long { font-size: calc((100vw - 194px) / 9.45); } }
@media (max-width: 639px) {
  .briefing { margin-bottom: 56px; }
  .briefing p { font-size: 17px; line-height: 27px; }
  .wrap { padding: 0 20px; }
  /* One row on a phone (owner, 2026-12-04): the sections sit behind a menu
     button and open as a full-width panel under the bar. */
  .masthead { position: sticky; top: 0; z-index: 10; }
  html { scroll-padding-top: 57px; }   /* the sticky masthead's height */
  .bar { position: relative; height: 56px; }
  .wordmark { display: flex; align-items: center; height: 32px; font-size: 20px; }
  .subscribe { height: 32px; margin-left: 4px; padding: 0 12px; font-size: 13px; }
  .search-link { width: 36px; height: 36px; margin-right: 0; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin: 0 -8px 0 4px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; }
  .bar nav { display: none; }
  .menu-open .bar nav { display: flex; flex-direction: column; position: absolute; top: 56px; left: 0; right: 0; margin: 0; height: auto; gap: 0; padding: 8px 20px 16px; background: var(--bg); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); box-shadow: 0 12px 24px rgba(0,0,0,.06); font-size: 20px; }
  .menu-open .bar nav a { height: 52px; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--rule); }
  .menu-open .bar nav a:last-child { border-bottom: 0; }
  main.wrap { padding-top: 48px; }
  .crest-strip + main.wrap { padding-top: 32px; }

  .lead h2 { font-size: 28px; line-height: 32px; }
  .lead p { font-size: 18px; line-height: 28px; }
  .secondary-grid { grid-template-columns: 1fr; row-gap: 48px; margin-top: 48px; }
  .secondary h3 { font-size: 21px; line-height: 27px; }
  .item h3, .result h3 { font-size: 18px; line-height: 24px; }
  .section-h { font-size: 20px; line-height: 26px; }
  .section-quiet { margin-top: 64px; }
  .all-sec { margin-top: 64px; }
  .all-grp { display: block; padding: 24px 0; }
  .all-club { margin-bottom: 12px; }

  .day-title { gap: 8px; margin-bottom: 32px; }
  .day-title h1 { font-size: 15px; }
  .dt-wd { display: none; }

  .club-title { font-size: 28px; line-height: 32px; }
  .club-top .lead h2 { font-size: 24px; line-height: 28px; }
  .rows li { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
  .club-cards, .src-grid { grid-template-columns: 1fr; gap: 48px; }
  .src-group.league .src-list { columns: 1; }

  /* Date columns stack, day over weekday, so "30 Mon" never wraps half-way. */
  .arc-date { display: flex; flex-direction: column; line-height: 18px; }
  .arc-dn { min-width: 0; text-align: left; margin-right: 0; }
  .arc-wd { font-size: 13px; }
  .arc-week { display: block; padding: 16px 0; }
  .arc-wl { padding: 0 0 4px; font-size: 14px; }
  .search input { font-size: 22px; }
}
