/* ==========================================================================
   fumblescore — "Sports Page" look
   Newspaper sports section: newsprint, black ink, one red accent.
   Light is the primary look; dark is "the late edition".
   theme-color: light #f4f1ea · dark #15130f
   Scoped under [data-look="sports-page"] so it can coexist with the other
   looks (default = no data-look attribute = the classic cyberpunk HUD).

   Layout: slim top bar (brand line + updated stamp), giant centered
   nameplate with an italic tagline, week chips and controls sharing one
   ruled row, a "Game of the week" feature with the index legend, then the
   week as a numbered at-a-glance table with rating bars and verdicts.
   ========================================================================== */

/* self-hosted fonts (OFL licensed; license texts in fonts/) */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-500-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/oswald-500-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/oswald-600-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/oswald-700-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/source-serif-4-400-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/source-serif-4-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/source-serif-4-600-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- 1. TOKENS ---- */

[data-look="sports-page"] {
  color-scheme: light;
  --bg: #f4f1ea;
  --grid: transparent;
  --scanline: transparent;
  --card: #faf8f3;
  --ink: #16130f;
  --muted: #5b554c;
  --faint: #6e675b;
  --line: #d6d0c3;
  --thead: #eeeae0;
  --row-hover: rgba(179, 38, 30, 0.05);
  --code-bg: #e8e3d8;
  --chip-bg: transparent;
  --chip-hover: #e8e3d8;
  --neon: #b3261e;
  --neon-soft: rgba(179, 38, 30, 0.3);
  --accent: #16130f;
  --shadow: none;
  --pill-ink: #ffffff;
  --pill-glow: transparent;
  --caret: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b554c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  /* ramp: 1 newsprint → 2 tan → 3 ink → 4 red → 5 deep red (+ double rule) */
  --r1-bg: #e3ddd0; --r1-ink: #4a443b;
  --r2-bg: #c9c2b3; --r2-ink: #16130f;
  --r3-bg: #16130f; --r3-ink: #f4f1ea;
  --r4-bg: #b3261e; --r4-ink: #ffffff;
  --r5-bg: #8e1b15; --r5-ink: #ffffff;
  --font-display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  /* theme-local: used by the overrides below */
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
}

[data-look="sports-page"][data-theme="dark"] {
  color-scheme: dark;
  --bg: #15130f;
  --grid: transparent;
  --scanline: transparent;
  --card: #1b1814;
  --ink: #ede8dd;
  --muted: #b0a897;
  --faint: #918979;
  --line: #3a352d;
  --thead: #1f1c17;
  --row-hover: rgba(229, 85, 74, 0.08);
  --code-bg: #26221c;
  --chip-bg: transparent;
  --chip-hover: #26221c;
  --neon: #e5554a;
  --neon-soft: rgba(229, 85, 74, 0.35);
  --accent: #ede8dd;
  --shadow: none;
  --pill-ink: #15130f;
  --pill-glow: transparent;
  --caret: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b0a897' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  --r1-bg: #2a2620; --r1-ink: #b0a897;
  --r2-bg: #4a443b; --r2-ink: #ede8dd;
  --r3-bg: #6b6458; --r3-ink: #ede8dd;
  --r4-bg: #e5554a; --r4-ink: #15130f;
  --r5-bg: #ff8a7e; --r5-ink: #15130f;
}

/* ---- 2. LAYOUT OVERRIDES ---- */

[data-look="sports-page"] body { font-family: var(--font-body); }

/* -- top bar: brand line left, updated stamp right -- */

[data-look="sports-page"] .topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 2px 168px 10px 0; /* right space clears the theme select + toggle */
  border-bottom: 1px solid var(--ink);
}
[data-look="sports-page"] .brand-line {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
[data-look="sports-page"] .topbar .meta { margin: 0; }
[data-look="sports-page"] .topbar .meta a { color: var(--muted); }
[data-look="sports-page"] .container > .meta a { color: var(--muted); }

/* mode/theme controls: on desktop the theme selector + dark/light toggle
   sit at the right end of the top bar, on the same line as the brand text
   (grid item overlapping the header's first row, right edge on the text
   column edge); on phones the row moves to the very bottom of the page */
.mode-theme-row { display: none; }
[data-look="sports-page"] .mode-theme-row {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: end;
  margin-top: 8px; /* center the 26px controls on the brand text line */
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}
[data-look="sports-page"] .mode-theme-row select {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  background-color: transparent;
  padding: 4px 24px 4px 9px;
  min-height: 26px;
  appearance: none;
  -webkit-appearance: none;
  background-image: var(--caret);
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px;
  cursor: pointer;
}
[data-look="sports-page"] .theme-toggle {
  padding: 4px 6px;
  min-height: 26px;
}
[data-look="sports-page"] .theme-toggle svg { width: 15px; height: 15px; }

/* -- nameplate: giant centered masthead + italic tagline -- */

[data-look="sports-page"] header {
  text-align: center;
  padding-bottom: 18px;
  border-bottom: 6px double var(--ink);
}
[data-look="sports-page"] header h1 {
  font-size: clamp(2.6rem, 8vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-shadow: none;
  margin: 18px 0 0;
}
[data-look="sports-page"] a.masthead:hover h1 { animation: none; }
[data-look="sports-page"] .tagline {
  display: block;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 52ch;
  margin: 12px auto 0;
}

/* -- one ruled row: week chips left, season/sort/theme right -- */

[data-look="sports-page"] .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 28px;
}
[data-look="sports-page"] header { grid-column: 1 / -1; grid-row: 1; }
[data-look="sports-page"] .weeks-nav-wrap {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  position: relative;
}
[data-look="sports-page"] .weeks-nav {
  gap: 2px;
  padding: 14px 0 10px;
}
[data-look="sports-page"] .toolbar {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  margin: 0;
  padding: 0 0 10px;
  justify-content: flex-end;
}
[data-look="sports-page"] #content,
[data-look="sports-page"] .disclaimer,
[data-look="sports-page"] .site-footer,
[data-look="sports-page"] .container > .table-wrap,
[data-look="sports-page"] .container > .meta { grid-column: 1 / -1; }

/* subpage content boxes: newspaper rules instead of the HUD panel */
[data-look="sports-page"] .container > .table-wrap {
  background: transparent;
  border: 0;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  box-shadow: none;
}
[data-look="sports-page"] .container > .table-wrap::before,
[data-look="sports-page"] .container > .table-wrap::after { display: none; }

/* the row's rule: both cells carry it so it runs the full width */
[data-look="sports-page"] .weeks-nav-wrap { border-bottom: 1px solid var(--ink); }
[data-look="sports-page"] .toolbar { border-bottom: 1px solid var(--ink); }

[data-look="sports-page"] .week-chip {
  clip-path: none;
  padding: 8px 14px 6px;
  border-bottom: 3px solid transparent;
}
[data-look="sports-page"] .week-chip.active {
  background: transparent;
  color: var(--ink);
  border-bottom-color: var(--neon);
}
[data-look="sports-page"] .week-chip.active .wk-dates { color: var(--neon); opacity: 1; }
[data-look="sports-page"] .wk-label { font-size: 0.85rem; letter-spacing: 0.04em; }

/* -- overflow chevrons: tiny, edge-faded, only when more to see -- */
[data-look="sports-page"] .week-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 42px;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
}
[data-look="sports-page"] .week-nav-arrow.left {
  left: 0;
  background: linear-gradient(to left, transparent 0%, var(--bg) 72%);
}
[data-look="sports-page"] .week-nav-arrow.right {
  right: 0;
  background: linear-gradient(to right, transparent 0%, var(--bg) 72%);
}
[data-look="sports-page"] .week-nav-arrow.show { display: flex; }

[data-look="sports-page"] .week-title { display: none; }

[data-look="sports-page"] .toolbar-controls { gap: 16px; }
[data-look="sports-page"] .toolbar-controls .control {
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}
[data-look="sports-page"] .toolbar-controls label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
[data-look="sports-page"] .toolbar select,
[data-look="sports-page"] .theme-toggle {
  border-color: var(--ink);
  border-radius: 0;
  background-color: transparent;
}
[data-look="sports-page"] .toolbar select { width: auto; min-width: 96px; }
[data-look="sports-page"] .toolbar #season { text-align: left; }
/* the theme switcher lives in the top bar on desktop (page bottom on
   phones); the toolbar keeps season + sort only */
[data-look="sports-page"] .toolbar .control-look { display: none; }
[data-look="sports-page"] .theme-toggle svg { stroke: var(--ink); filter: none; }

/* "city at city" shorthand for phones; full names everywhere else */
[data-look="sports-page"] .gotw-title .tt-city { display: none; }

/* -- game of the week + index legend -- */

[data-look="sports-page"] .gotw {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 1fr);
  gap: 8px 48px;
  align-items: start;
  padding: 24px 0 28px;
  border-bottom: 3px solid var(--ink);
}
[data-look="sports-page"] .gotw-label {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--neon);
}
[data-look="sports-page"] .gotw-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
}
[data-look="sports-page"] .gotw-title .at { font-style: normal; color: inherit; }
[data-look="sports-page"] .gotw-desc {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ink);
  max-width: 40ch;
}

[data-look="sports-page"] .gotw-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 4px;
}
[data-look="sports-page"] .legend-title {
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
[data-look="sports-page"] .legend-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
[data-look="sports-page"] .legend-list li {
  display: grid;
  grid-template-columns: 72px 44px 1fr;
  align-items: center;
  gap: 12px;
}
[data-look="sports-page"] .legend-range {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
}
[data-look="sports-page"] .legend-swatch { display: block; height: 9px; width: 100%; }
[data-look="sports-page"] .legend-swatch.r1 { background: var(--r1-bg); }
[data-look="sports-page"] .legend-swatch.r2 { background: var(--r2-bg); }
[data-look="sports-page"] .legend-swatch.r3 { background: var(--r3-bg); }
[data-look="sports-page"] .legend-swatch.r4 { background: var(--r4-bg); }
[data-look="sports-page"] .legend-swatch.r5 { background: var(--r5-bg); }
[data-look="sports-page"] .legend-name {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink);
}

[data-look="sports-page"] .gotw-rating {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 9vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
}
[data-look="sports-page"] .gotw-rating.r1 { color: var(--r1-bg); }
[data-look="sports-page"] .gotw-rating.r2 { color: var(--r2-bg); }
[data-look="sports-page"] .gotw-rating.r3 { color: var(--r3-bg); }
[data-look="sports-page"] .gotw-rating.r4 { color: var(--r4-bg); }
[data-look="sports-page"] .gotw-rating.r5 { color: var(--r5-bg); }
[data-look="sports-page"] .gotw-rating .of {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--muted);
  letter-spacing: 0;
}
/* dark ramp goes light→bright; low bands read better in muted */
[data-look="sports-page"][data-theme="dark"] .gotw-rating.r1,
[data-look="sports-page"][data-theme="dark"] .gotw-rating.r2,
[data-look="sports-page"][data-theme="dark"] .gotw-rating.r3 { color: var(--muted); }

/* -- week at a glance: numbered table with bars + verdicts -- */

[data-look="sports-page"] .glance-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 20px;
  padding: 22px 0 12px;
}
[data-look="sports-page"] .glance-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}
[data-look="sports-page"] .glance-meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

[data-look="sports-page"] .glance .table-wrap {
  background: transparent;
  border: 0;
  border-bottom: 3px solid var(--ink);
  border-radius: 0;
}
[data-look="sports-page"] .glance .table-wrap::before,
[data-look="sports-page"] .glance .table-wrap::after { display: none; }

[data-look="sports-page"] .sp-table th {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.1em;
  background: transparent;
  border-bottom-color: var(--ink);
}
[data-look="sports-page"] .sp-table td { padding: 15px 12px; }
[data-look="sports-page"] .sp-table .sp-no {
  width: 44px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
}
[data-look="sports-page"] .sp-matchup .teams { font-size: 1.12rem; }
[data-look="sports-page"] .sp-matchup .at { font-style: italic; }
[data-look="sports-page"] .sp-kick {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
  white-space: nowrap;
}
[data-look="sports-page"] .sp-exc { white-space: nowrap; }
[data-look="sports-page"] .bar {
  display: inline-block;
  width: 110px;
  height: 10px;
  background: var(--thead);
  vertical-align: middle;
  margin-right: 12px;
}
[data-look="sports-page"] .bar .fill { display: block; height: 100%; }
[data-look="sports-page"] .bar .fill.r1 { background: var(--r1-bg); }
[data-look="sports-page"] .bar .fill.r2 { background: var(--r2-bg); }
[data-look="sports-page"] .bar .fill.r3 { background: var(--r3-bg); }
[data-look="sports-page"] .bar .fill.r4 { background: var(--r4-bg); }
[data-look="sports-page"] .bar .fill.r5 { background: var(--r5-bg); }
[data-look="sports-page"] .sp-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  vertical-align: middle;
}
[data-look="sports-page"] .sp-num.r1 { color: var(--r1-bg); }
[data-look="sports-page"] .sp-num.r2 { color: var(--r2-bg); }
[data-look="sports-page"] .sp-num.r3 { color: var(--r3-bg); }
[data-look="sports-page"] .sp-num.r4 { color: var(--r4-bg); }
[data-look="sports-page"] .sp-num.r5 { color: var(--r5-bg); }
[data-look="sports-page"][data-theme="dark"] .sp-num.r1,
[data-look="sports-page"][data-theme="dark"] .sp-num.r2,
[data-look="sports-page"][data-theme="dark"] .sp-num.r3 { color: var(--muted); }
[data-look="sports-page"] .sp-verdict {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--muted);
  white-space: nowrap;
}

/* rating pills (kept for any context where a pill renders in this look) */
[data-look="sports-page"] .pill {
  clip-path: none;
  border-radius: 0;
  padding: 3px 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  font-style: normal;
}
[data-look="sports-page"] .pill.r5 { outline: 2px solid var(--r5-bg); outline-offset: 2px; }

/* -- footer -- */

[data-look="sports-page"] .disclaimer {
  text-align: left;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--muted);
}
[data-look="sports-page"] .site-footer {
  padding-top: 4px;
  border-top: 0;
}
[data-look="sports-page"] .site-footer a { color: var(--neon); border-bottom-color: currentColor; }

/* -- mid-width: feature collapses to one column -- */
@media (max-width: 760px) {
  [data-look="sports-page"] .gotw { grid-template-columns: 1fr; gap: 18px; }
  [data-look="sports-page"] .gotw-side { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
}

/* -- phones -- */
@media (max-width: 560px) {
  /* very first line: theme selector + dark/light toggle, grouped right */
  [data-look="sports-page"] .mode-theme-row {
    position: static;
    justify-content: flex-end;
    padding: 0 0 10px;
  }
  [data-look="sports-page"] .mode-theme-row select {
    display: block;
    font: inherit;
    font-size: 0.85rem;
    min-height: 40px;
    padding: 7px 32px 7px 10px;
    border: 1px solid var(--ink);
    border-radius: 0;
    background-color: transparent;
    color: var(--ink);
    appearance: none;
    -webkit-appearance: none;
    background-image: var(--caret);
    background-repeat: no-repeat;
    background-position: right 11px center;
    background-size: 11px;
  }
  [data-look="sports-page"] .theme-toggle { position: static; }

  /* second line: just fumblescore.com + the updated date */
  [data-look="sports-page"] .topbar {
    flex-wrap: nowrap;
    padding: 0 0 10px;
  }
  [data-look="sports-page"] .brand-suffix,
  [data-look="sports-page"] .local-note { display: none; }
  [data-look="sports-page"] .topbar .meta { font-size: 0.78rem; }

  /* the kicker line reads as chrome on phones; the feature title carries it */
  [data-look="sports-page"] .gotw-label { display: none; }

  /* theme selector lives in the top row now, not the toolbar */
  [data-look="sports-page"] .toolbar .control-look { display: none; }

  /* year/sort back in their previous spot, minus the crowding line */
  [data-look="sports-page"] .container { display: block; }
  [data-look="sports-page"] .weeks-nav-wrap { border-bottom: none; }

  /* theme + mode controls move to the very bottom of the page */
  [data-look="sports-page"] .mode-theme-row {
    position: static;
    justify-content: flex-end;
    padding: 16px 0 6px;
  }
  [data-look="sports-page"] .mode-theme-row select {
    display: block;
    font: inherit;
    font-size: 0.85rem;
    letter-spacing: normal; /* undo the desktop top-bar styling */
    text-transform: none;
    min-height: 40px;
    padding: 7px 32px 7px 10px;
    border: 1px solid var(--ink);
    border-radius: 0;
    background-color: transparent;
    color: var(--ink);
    appearance: none;
    -webkit-appearance: none;
    background-image: var(--caret);
    background-repeat: no-repeat;
    background-position: right 11px center;
    background-size: 11px;
  }
  [data-look="sports-page"] .theme-toggle { position: static; padding: 7px 12px; }
  [data-look="sports-page"] .theme-toggle svg { width: 18px; height: 18px; }

  [data-look="sports-page"] .toolbar { justify-content: flex-start; }
  [data-look="sports-page"] header h1 { font-size: clamp(2.2rem, 9.5vw, 3rem); }
  [data-look="sports-page"] .gotw { padding: 18px 0 20px; }

  /* city at city in the feature headline */
  [data-look="sports-page"] .tt-full { display: none; }
  [data-look="sports-page"] .gotw-title .tt-city { display: inline; }

  /* rating: bigger, top-aligned with the legend, no "/5" */
  [data-look="sports-page"] .gotw-side { align-items: flex-start; }
  [data-look="sports-page"] .gotw-rating {
    font-size: clamp(4rem, 18vw, 5rem);
    font-variant-numeric: tabular-nums; /* stable width: no reflow on change */
  }
  [data-look="sports-page"] .gotw-rating .of { display: none; }

  /* glance table becomes stacked rows: matchup, then kickoff + number */
  [data-look="sports-page"] .glance .table-wrap { overflow-x: visible; }
  [data-look="sports-page"] .sp-table { display: block; min-width: 0; }
  [data-look="sports-page"] .sp-table thead { display: none; }
  [data-look="sports-page"] .sp-table tbody { display: block; }
  [data-look="sports-page"] .sp-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  [data-look="sports-page"] .sp-table tbody tr:last-child { border-bottom: none; }
  [data-look="sports-page"] .sp-table td {
    display: block;
    padding: 2px 0;
    border-bottom: none;
  }
  [data-look="sports-page"] .sp-table .sp-no { display: none; }
  [data-look="sports-page"] .sp-matchup { flex: 1 1 100%; }
  [data-look="sports-page"] .sp-kick { flex: 1 1 auto; }
  [data-look="sports-page"] .sp-exc { flex: 0 0 auto; margin-left: auto; }
  [data-look="sports-page"] .sp-exc .bar { display: none; }
  /* the base mobile rules absolutely position the last column; here the
     verdict gets its own right-aligned line under the rating instead */
  [data-look="sports-page"] .sp-table td:last-child {
    position: static;
    transform: none;
  }
  [data-look="sports-page"] .sp-verdict { flex: 0 0 100%; text-align: right; }
}