/* ==========================================================================
   Thirty & Five — site styles. Load tokens.css first.
   Mobile first; the hero splits into two columns from 960px.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--fs-body)/var(--lh-body) var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, p { margin: 0; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: var(--r-1); }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--s-4); top: -60px; z-index: 10;
  background: var(--btn-bg); color: var(--btn-text); padding: var(--s-2) var(--s-4);
  font-weight: 700; border-radius: var(--r-2);
}
.skip:focus { top: var(--s-4); }

/* Type -------------------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.display .soft { color: var(--text-soft); display: block; }
.num { font-family: var(--font-score); font-variant-numeric: tabular-nums; }
.kicker { font: 700 var(--fs-small)/1 var(--font-score); color: var(--accent-text); }
.lede { font-size: var(--fs-lede); line-height: 1.55; max-width: 30em; }
.muted { color: var(--text-muted); }
.fineprint { font-size: var(--fs-small); color: var(--text-muted); }

/* Lockup ------------------------------------------------------------------ */
.lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.lockup__mark { width: 34px; height: 34px; flex: none; }
.lockup__word {
  font: 800 1.5rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .01em;
}
.amp { color: var(--accent-text); margin: 0 .04em; }

/* Seven-segment digits ---------------------------------------------------- */
.seg-on { fill: var(--accent); }
.seg-lit { fill: var(--board-text); }
.seg-off { fill: var(--board-text); opacity: .07; }

/* Fields and buttons ------------------------------------------------------ */
.input {
  width: 100%; min-height: var(--field-h); padding: 0 18px;
  background: var(--surface); border: 1.5px solid var(--line-input); border-radius: var(--r-2);
  font-size: var(--fs-body);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input::placeholder { color: var(--text-muted); opacity: 1; }
.input:hover { border-color: var(--text-muted); }
.input:focus-visible { outline: none; border-color: var(--focus); box-shadow: 0 0 0 2px var(--focus); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: var(--fs-small); font-weight: 600; }
.field__error:empty { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: var(--field-h); padding: 0 var(--s-5);
  border: 0; border-radius: var(--r-2);
  background: var(--btn-bg); color: var(--btn-text);
  font: 700 1rem/1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.btn:hover { opacity: .9; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { cursor: progress; opacity: .8; }
.btn--block { width: 100%; }
.btn--quiet { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-input); }
.btn--quiet:hover { box-shadow: inset 0 0 0 1.5px var(--text); opacity: 1; }
.btn .spinner { display: none; }
.btn[data-busy="true"] .spinner { display: inline-block; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: inherit; }

.spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2.5px solid currentColor; border-right-color: transparent;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
}

.alert {
  padding: var(--s-3) var(--s-4); border: 1.5px solid var(--danger); border-radius: var(--r-2);
  font-size: var(--fs-small);
}
.alert strong { color: var(--danger); }

/* Hero split -------------------------------------------------------------- */
.split { display: grid; }
.split__copy {
  padding: var(--s-5) var(--gutter) var(--s-7);
  display: flex; flex-direction: column; gap: var(--s-7);
}
.split__board {
  position: relative; overflow: hidden;
  background: var(--board); height: 470px;
}
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 760px; }
  .split__copy { padding: var(--s-7) var(--gutter) var(--s-8); justify-content: space-between; }
  .split__board { height: auto; min-height: 760px; }
}

.hero { display: flex; flex-direction: column; gap: var(--s-5); max-width: 540px; }
.hero h1 { font-size: var(--fs-hero); }
.hero__form { display: flex; flex-direction: column; gap: var(--s-2); margin-top: var(--s-2); }
@media (min-width: 480px) {
  .hero__row { display: flex; gap: var(--s-2); }
  .hero__row .input { flex: 1 1 auto; min-width: 0; }
}
.hero__row .btn { width: 100%; margin-top: var(--s-2); }
@media (min-width: 480px) { .hero__row .btn { width: auto; margin-top: 0; } }
.hero__facts { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); font-size: var(--fs-small); color: var(--text-muted); }
.hero__facts .num { color: var(--accent-text); font-weight: 700; }
@media (max-width: 959px) { .hero__facts { display: none; } }

.step-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); }
.step-head h1 { font-size: var(--fs-h1); }
.step-head .num { font-size: var(--fs-small); color: var(--text-muted); white-space: nowrap; }
.step-head .num b { color: var(--text); }

/* Board: the big clock and the phone ------------------------------------- */
.board-clock {
  position: absolute; left: 50%; top: 36px; transform: translateX(-50%);
  width: min(320px, 82%);
}
@media (min-width: 960px) { .board-clock { top: 56px; width: min(560px, 88%); } }

.phone {
  position: absolute; left: 50%; top: 150px; transform: translateX(-50%);
  width: 270px; height: 560px; padding: 9px; border-radius: 42px;
  background: var(--t5-ink-700);
  box-shadow: 0 40px 80px rgba(0,0,0,.55), inset 0 0 0 1px #3a3f48;
}
@media (min-width: 960px) { .phone { top: 300px; width: 300px; height: 620px; padding: 10px; border-radius: 46px; } }
.phone__screen {
  height: 100%; border-radius: 33px; background: #fff; overflow: hidden; color: var(--t5-ink-900);
  font-family: var(--font-body);
}
@media (min-width: 960px) { .phone__screen { border-radius: 36px; } }
.pm-mast { background: var(--t5-ink-900); padding: 28px 14px 10px; display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid var(--t5-lamp-500); }
.pm-word { font: 800 16px/1 var(--font-display); text-transform: uppercase; color: #f2f1ec; display: flex; align-items: center; gap: 5px; }
.pm-word .amp { color: var(--t5-lamp-500); }
.pm-badge { font: 700 8px/1 var(--font-score); color: var(--t5-lamp-500); background: #000; padding: 3px 4px; border-radius: 3px; }
.pm-date { font: 700 7.5px/1 var(--font-score); color: var(--t5-ink-300); }
.pm-body { padding: 14px; }
.pm-k { font: 700 9px/1 var(--font-score); color: var(--t5-lamp-800); }
.pm-h { font: 800 20px/1 var(--font-display); text-transform: uppercase; margin: 4px 0 8px; }
.pm-row { display: grid; grid-template-columns: 16px 42px minmax(0, 1fr); gap: 4px; padding: 8px 0; border-top: 1px solid #dddcd4; font-size: 12px; line-height: 1.35; }
.pm-row:first-of-type { border-top: 1.5px solid var(--t5-ink-900); }
.pm-row .n { font: 700 12px/1.2 var(--font-score); }
.pm-tag { font: 700 7.5px/1 var(--font-score); padding: 3px; border: 1px solid #5a5e66; color: #5a5e66; border-radius: 3px; align-self: start; justify-self: start; }
.pm-jump { margin-top: 8px; display: inline-flex; gap: 6px; background: var(--t5-ink-900); color: #fff; border-radius: 5px; padding: 7px 9px; font-size: 10.5px; font-weight: 700; }
.pm-jump span { color: var(--t5-lamp-500); font-family: var(--font-score); }
.pm-card { border: 1.5px solid var(--t5-ink-900); border-radius: 8px; overflow: hidden; margin-top: 10px; }
.pm-card__name { padding: 9px 11px 7px; font: 800 16px/1 var(--font-display); text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; }
.pm-card__strip { background: var(--t5-ink-900); padding: 8px 11px; display: grid; gap: 6px; }
.pm-card__strip i, .pm-card__body i { display: block; height: 6px; border-radius: 3px; background: #3a3f48; }
.pm-card__body { padding: 10px 11px; display: grid; gap: 6px; }
.pm-card__body i { background: #e6e5df; }
.pm-empty { margin-top: 12px; padding: 24px 12px; border: 1.5px dashed #c9c8c0; border-radius: 8px; text-align: center; font-size: 12px; color: #5a5e66; }
.board-note { position: absolute; right: 16px; top: 12px; font-size: 11px; color: var(--text-soft); }
@media (min-width: 960px) { .board-note { top: auto; bottom: 12px; } }

/* Team picker ------------------------------------------------------------- */
.picker { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.tray { display: flex; flex-wrap: wrap; gap: var(--s-2); min-height: 36px; align-items: center; }
.tray__empty { font-size: var(--fs-small); color: var(--text-muted); }
.pick {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 0 6px 0 14px;
  background: var(--chip-bg); color: var(--chip-text);
  border: 0; border-radius: 999px; cursor: pointer; font-size: var(--fs-small); font-weight: 600;
}
.pick__x { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; opacity: .7; }
.pick:hover .pick__x { background: rgba(255,255,255,.18); opacity: 1; }

.search { position: relative; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-muted); pointer-events: none; }
.search .input { padding-left: 44px; }

.leagues { display: flex; gap: var(--s-5); border-bottom: 1px solid var(--line); }
.league {
  min-height: var(--tap); padding: 0 2px; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  font: 800 1.25rem/1 var(--font-display); letter-spacing: .04em; color: var(--text-muted); cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.league__n { font: 600 10px/1 var(--font-score); }
.league:hover { color: var(--text); }
.league[aria-pressed="true"] { color: var(--text); border-bottom-color: var(--accent); }

.results {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2);
  max-height: 248px; overflow-y: auto; overscroll-behavior: contain; padding: 2px;
}
@media (min-width: 600px) { .results { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.results__note { grid-column: 1 / -1; font-size: var(--fs-small); color: var(--text-muted); padding: var(--s-3) 0; }
.team {
  position: relative; text-align: left; cursor: pointer; min-width: 0;
  min-height: 52px; padding: 7px 34px 7px 12px;
  border: 1.5px solid var(--line); border-radius: var(--r-2); background: var(--surface);
  display: flex; flex-direction: column; justify-content: center; gap: 1px;
  transition: border-color var(--dur) var(--ease);
}
.team:hover { border-color: var(--text-muted); }
.team__name { font-weight: 600; font-size: .9375rem; line-height: 1.15; overflow-wrap: anywhere; }
.team__meta { font-size: 12px; color: var(--text-muted); line-height: 1.2; }
.team__tick {
  position: absolute; right: 9px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-input);
  display: grid; place-items: center;
}
.team__tick svg { width: 12px; height: 12px; opacity: 0; }
.team[aria-pressed="true"] { border-color: var(--line-strong); background: var(--surface-2); }
.team[aria-pressed="true"] .team__tick { background: var(--accent); border-color: var(--line-strong); color: var(--on-accent); }
.team[aria-pressed="true"] .team__tick svg { opacity: 1; }
.team.is-top { box-shadow: 0 0 0 1px var(--text-muted); }
.picker__hint { font-size: 12px; color: var(--text-muted); }

/* Below the fold ---------------------------------------------------------- */
.section { border-top: 1px solid var(--line); }
.section__in { max-width: var(--page-max); margin: 0 auto; padding: var(--s-8) var(--gutter); display: grid; gap: var(--s-7) var(--s-8); }
@media (min-width: 760px) {
  .section__in--two { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: var(--s-9); }
  .section__in--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.speed { display: flex; flex-direction: column; gap: var(--s-3); }
.speed h2 { font-size: var(--fs-h2); }
.speed p { color: var(--text-muted); }
.fact h3 { font-size: var(--fs-body); }
.fact p { margin-top: 4px; color: var(--text-muted); font-size: .9375rem; }

.site-foot { border-top: 1px solid var(--line); font-size: 13px; color: var(--text-muted); }
.site-foot__in { max-width: var(--page-max); margin: 0 auto; padding: var(--s-6) var(--gutter) var(--s-7); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3) var(--s-7); }
.site-foot nav { display: flex; gap: var(--s-5); }
.site-foot a { color: var(--text); }

/* Small pages (confirm / teams / unsubscribe) ---------------------------- */
.mini { min-height: 100vh; display: flex; flex-direction: column; }
.mini__head { padding: var(--s-5) var(--gutter); }
.mini main { flex: 1; padding: var(--s-6) var(--gutter) var(--s-8); }
.mini .narrow { max-width: 540px; }
.mini h1 { font-size: var(--fs-h1); }
.mini .lede { margin-top: var(--s-3); color: var(--text-muted); font-size: var(--fs-body); }
.mini .actions { margin-top: var(--s-6); display: grid; gap: var(--s-3); }
.mini .picker { margin-top: var(--s-6); }
.state__clock { width: 84px; margin-bottom: var(--s-5); }
.state__clock rect { fill: var(--accent-text); }
.badge {
  display: inline-flex; align-items: center; margin-bottom: var(--s-4);
  font: 700 11px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 10px; border-radius: 999px;
}
.badge--ok { background: var(--accent); color: var(--on-accent); }
.badge--bad { box-shadow: inset 0 0 0 1.5px var(--danger); color: var(--danger); }
.divider { display: flex; align-items: center; gap: var(--s-3); color: var(--text-muted); font-size: var(--fs-small); }
.divider::before, .divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }

.skeleton { display: grid; gap: var(--s-2); grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--s-6); }
.skeleton span { height: 52px; border-radius: var(--r-2); background: var(--surface-2); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }

.savebar {
  position: sticky; bottom: 0; z-index: 5; display: grid; gap: var(--s-3);
  margin-top: var(--s-6); padding: var(--s-3) 0 calc(var(--s-3) + env(safe-area-inset-bottom));
  background: var(--bg); border-top: 1px solid var(--line);
}
.toast {
  padding: var(--s-3) var(--s-4); border-radius: var(--r-2);
  background: var(--board); color: var(--board-text); font-size: var(--fs-small);
}
.toast b { color: var(--accent); }

/* Manage subscription (teams.html): wide two-column layout --------------- */
.mini--wide .mini__head,
.mini--wide main { width: 100%; max-width: 1360px; margin-inline: auto; }
.mini--wide main > section[data-state="loading"] { max-width: 540px; }

/* Phone: one column. The side panel dissolves so Save can stick to the bottom. */
.manage { display: flex; flex-direction: column; gap: var(--s-5); }
.manage__side { display: contents; }
.manage__aside { order: 1; }
.manage__list { order: 2; min-width: 0; }
.manage .savebar { order: 3; margin-top: 0; }

.lineup { margin-top: var(--s-6); }
.lineup__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); font-weight: 700; margin-bottom: var(--s-3); }
.lineup__n { font-size: var(--fs-small); font-weight: 400; color: var(--text-muted); }
.lineup__n b { color: var(--text); }
.manage__unsub { text-align: left; }

.manage__search {
  position: sticky; top: 0; z-index: 4;
  background: var(--bg); padding: var(--s-3) 0 0;
  display: grid; gap: var(--s-3);
}
.manage .leagues { gap: var(--s-5); }
.manage .league { gap: 6px; }

.results--all {
  max-height: none; overflow: visible; padding: 2px 2px var(--s-5);
  grid-template-columns: repeat(auto-fill, minmax(min(168px, 100%), 1fr));
}
@media (max-width: 599px) { .results--all { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.results__league {
  grid-column: 1 / -1; margin-top: var(--s-6); padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--line);
  font: 800 1.75rem/1 var(--font-display); letter-spacing: .02em;
  display: flex; align-items: baseline; gap: var(--s-2);
  scroll-margin-top: 140px;
}
.results__league:first-child { margin-top: var(--s-3); }
.results__league .num { font-size: var(--fs-small); font-weight: 400; color: var(--text-muted); letter-spacing: 0; }

/* Laptop and up: sticky lineup on the left, every team on the right. */
@media (min-width: 960px) {
  .manage {
    display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
    gap: var(--s-8); align-items: start;
  }
  .manage__side {
    display: flex; flex-direction: column; gap: var(--s-6);
    position: sticky; top: var(--s-5);
  }
  .manage .savebar { position: static; padding: 0; border: 0; background: none; }
  .manage__search { padding-top: var(--s-2); }
}
/* Privacy policy ---------------------------------------------------------- */
/* Page width like the home page. Phone: one column. Laptop: heading left, text right. */
.mini--page .mini__head,
.mini--page main { width: 100%; max-width: var(--page-max); margin-inline: auto; }

.policy__head { display: grid; gap: var(--s-3); max-width: 46rem; }
.policy__date { font-size: var(--fs-small); color: var(--text-muted); }
.policy__head .lede { margin-top: var(--s-2); color: var(--text); font-size: var(--fs-lede); max-width: 34em; }

.policy__short { margin: var(--s-7) 0 var(--s-6); }
.policy__short ul { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: grid; gap: var(--s-4); }
.policy__short li { border-top: 3px solid var(--line-strong); padding-top: var(--s-3); color: var(--text-muted); }
.policy__short strong {
  display: block; margin-bottom: var(--s-1); color: var(--text);
  font: 800 1.5rem/1.1 var(--font-display); text-transform: uppercase; letter-spacing: .01em;
}
@media (min-width: 760px) { .policy__short ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); } }

.policy__sec { border-top: 1px solid var(--line); padding-block: var(--s-6); display: grid; gap: var(--s-4); }
.policy__sec h2 {
  font: 800 1.625rem/1.1 var(--font-display); text-transform: uppercase; letter-spacing: .01em;
  display: flex; align-items: baseline; gap: var(--s-3);
}
.policy__sec h2 .num { font-size: var(--fs-small); font-weight: 700; color: var(--accent-text); letter-spacing: 0; }
.policy__body { max-width: 40rem; display: grid; gap: var(--s-3); }
.policy__body ul { margin: 0; padding-left: 1.25rem; display: grid; gap: var(--s-2); }
.policy__body li::marker { color: var(--text-muted); }
.policy__body a { color: var(--text); text-decoration: underline; }
@media (min-width: 960px) {
  .policy__sec { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--s-8); padding-block: var(--s-7); }
  .policy__sec h2 { position: sticky; top: var(--s-5); align-self: start; }
}

/* League icons ------------------------------------------------------------ */
.lic { width: 1em; height: 1em; flex: none; display: block; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.league .lic { width: 18px; height: 18px; }
.pick .lic { width: 15px; height: 15px; opacity: .75; }
.results__league { align-items: center; gap: 10px; }
.results__league .lic { width: 26px; height: 26px; }
.pm-tag { display: inline-flex; align-items: center; gap: 3px; }
.pm-tag .lic { width: 9px; height: 9px; stroke-width: 2.2; }
/* Phones: keep the four league tabs (now with icons) inside the screen. */
.manage__search, .manage .leagues { min-width: 0; }
@media (max-width: 599px) {
  .leagues { gap: var(--s-4); }
  .manage .leagues { gap: var(--s-4); }
  .league__n { display: none; }
}

/* News pages (/nfl, /nfl/eagles, /nfl/eagles/2026-11-03) -------------------- */
/* Written by the daily build, not by hand: src/web/. Logo, content and footer share one
   centered column: long-read width for team pages, page width for the league grids. */
.mini--news { --news-max: calc(46rem + 2 * var(--gutter)); }
.mini--news-wide { --news-max: var(--page-max); }
.mini--news .mini__head,
.mini--news main,
.mini--news .site-foot__in { width: 100%; max-width: var(--news-max); margin-inline: auto; }
.crumbs { font-size: var(--fs-small); color: var(--text-muted); margin-bottom: var(--s-5); }
.crumbs a { color: var(--text-muted); }
.news { display: grid; gap: var(--s-7); }
.news__head { display: grid; gap: var(--s-3); }
.news__head .lede { color: var(--text-muted); }
.news__head .lede a { color: var(--text); }
.news__sec { display: grid; gap: var(--s-4); }
.news__h2 { font: 800 var(--fs-h2)/var(--lh-tight) var(--font-display); text-transform: uppercase; letter-spacing: .01em; }
.news__label { font: 700 11px/1.3 var(--font-score); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); border-top: 2px solid var(--line-strong); padding-top: var(--s-4); }
.news__credit { font-size: var(--fs-small); border-top: 2px solid var(--line-strong); padding-top: var(--s-4); }

.join { border: 2px solid var(--line-strong); border-radius: var(--r-3); padding: var(--s-5); display: grid; }
.join > div { display: grid; gap: var(--s-3); }
.join__title { font: 800 1.75rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .01em; }
.join__lede { color: var(--text-muted); }
.join .fineprint a { color: var(--text); }
.join .badge { justify-self: start; margin-bottom: 0; }

.quick { list-style: none; margin: 0; padding: 0; counter-reset: q; }
.quick li {
  counter-increment: q; display: grid; grid-template-columns: 28px 44px minmax(0, 1fr); gap: var(--s-2);
  padding: var(--s-3) 0; border-top: 1px solid var(--line); font-size: var(--fs-lede); line-height: 1.4;
}
.quick li:first-child { border-top: 2px solid var(--line-strong); }
.quick li::before { content: counter(q); font: 700 1.25rem/1.2 var(--font-score); }
.quick a { text-decoration: none; }
.quick a:hover { text-decoration: underline; }
.quick__tag { align-self: start; justify-self: start; margin-top: 3px; font-size: 10px; font-weight: 700; line-height: 1; padding: 3px 4px; border: 1px solid var(--text-muted); border-radius: 3px; color: var(--text-muted); }

.board { background: var(--board); color: var(--board-text); border-radius: var(--r-2); overflow: hidden; }
.board__last { padding: var(--s-3) var(--s-4) var(--s-4); }
.board__label { font: 700 10px/1.2 var(--font-score); letter-spacing: .1em; text-transform: uppercase; color: var(--board-muted); }
.board__label--accent { color: var(--accent); }
.board__result { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.board__big { font-size: 1.875rem; font-weight: 700; line-height: 1.1; white-space: nowrap; }
.board__opp { color: var(--board-muted); }
.board__unit { font-size: .8125rem; font-weight: 700; color: var(--board-muted); }
.board__small { margin-top: 4px; color: #c9ccd2; }
.board__tile { display: inline-block; align-self: center; font: 700 .875rem/1.5 var(--font-score); padding: 0 7px; border-radius: 3px; box-shadow: inset 0 0 0 1px var(--board-muted); }
.board__tile--win { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.board__next { padding: 10px var(--s-4) 11px; font-size: var(--fs-small); }
.board__last + .board__next { border-top: 1px solid #2c3139; }
.board__next-label { font: 700 10px/1 var(--font-score); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-right: 6px; }
.board__next b { margin-right: 6px; }

/* The record beside the league tag, and the box score and standings on the card. */
.record { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-3); margin-top: calc(-1 * var(--s-2)); }
.record__detail { font-size: .75rem; font-weight: 700; color: var(--text-muted); }
.record__tag { display: inline-block; font-size: 10px; line-height: 12px; letter-spacing: .05em; border: 1px solid currentColor; border-radius: 3px; padding: 2px 4px; margin-right: 4px; }
.record__value { display: grid; justify-items: end; white-space: nowrap; }
.record__label { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.record__value b { font-size: 1.75rem; line-height: 1.1; color: var(--text); }
.box__scroll { overflow-x: auto; margin-top: 14px; }
.box__table { width: 100%; border-collapse: collapse; font-size: .875rem; line-height: 1.6; color: #c9ccd2; }
.box__table th, .box__table td { padding: 4px 0 0 10px; text-align: right; font-weight: 400; }
.box__table thead td, .box__table thead th { font-size: 10px; letter-spacing: .1em; font-weight: 700; color: var(--board-muted); padding-top: 0; padding-bottom: 4px; border-bottom: 1px solid #2c3139; }
.box__table thead td:first-child { width: 100%; }
.box__table th[scope="row"] { text-align: left; padding-left: 0; }
.box__table .box__total { padding-left: 16px; font-weight: 700; color: var(--board-text); }
.box__me th, .box__me td { color: var(--board-text); font-weight: 700; }
.box__table .box__me td.box__total { color: var(--accent); }
.box__stars { margin-top: 12px; font-size: .8125rem; line-height: 1.45; color: var(--board-muted); }
.box__stars b { font-family: var(--font-score); font-size: .75rem; color: var(--board-text); margin-right: 4px; }
.standings { display: grid; gap: var(--s-2); }
.standings__table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); line-height: 1.5; }
.standings__table th, .standings__table td { padding: 2px 0 2px 10px; text-align: right; white-space: nowrap; }
.standings__table thead th { font-size: 10px; letter-spacing: .1em; color: var(--text-muted); padding-bottom: 4px; }
.standings__table th[scope="row"], .standings__table thead th:first-child { text-align: left; padding-left: 8px; width: 100%; font-weight: 400; }
.standings__table th[scope="row"] a { text-decoration: none; }
.standings__table th[scope="row"] a:hover { text-decoration: underline; }
.standings__table td:last-child, .standings__table thead th:last-child { padding-right: 6px; }
.standings__me th, .standings__me td { background: var(--surface-2); font-weight: 700; }
.standings__me th { border-left: 3px solid var(--accent); padding-left: 5px; }

.story { display: grid; gap: 6px; padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
.story__kicker { font: 700 10px/1.2 var(--font-score); letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.story__head { font-size: 1.125rem; line-height: 1.35; }
.story__head--seen { font-size: var(--fs-body); font-weight: 400; color: var(--text-muted); }
.story__src { font-size: var(--fs-small); color: var(--text-muted); }
.story__src a { color: var(--text); }

/* Short link lists (past days, division rivals) wrap like a line of text, so a last item
   on its own reads as the end of a sentence rather than a hole in a grid. */
.archive, .teamlinks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--s-5); }
.archive a, .teamlinks a { display: inline-block; min-height: var(--tap); padding-block: 10px; }

/* League pages: a column per division, teams stacked. Phone 1 column, then 2, then one
   conference per row (--cols, set by the page). Every league has an even number of divisions,
   and --cols divides it, so no division sits alone on a row. */
.divisions { display: grid; gap: var(--s-6) var(--s-7); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .divisions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .divisions { grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); } }
.division { border-top: 3px solid var(--line-strong); padding-top: var(--s-3); }
.division__name { font: 800 1.5rem/1.1 var(--font-display); text-transform: uppercase; letter-spacing: .01em; }
.division__teams { list-style: none; margin: var(--s-2) 0 0; padding: 0; }
.division__teams a { display: flex; align-items: center; min-height: var(--tap); }
.leaguelinks { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font: 800 1.5rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .02em; }
.leaguelinks a { min-height: var(--tap); display: inline-flex; align-items: center; }
