@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Barlow:wght@400;500;600;700;800&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

/* Kontrolla Kulture — shared site stylesheet, ESPN-style layout reference */

:root {
  --espn-red: #d2232a;
  --espn-red-dark: #a3131a;
  --espn-black: #1a1a1a;
  --espn-gray-900: #232323;
  --espn-gray-700: #4a4a4a;
  --espn-gray-500: #767676;
  --espn-gray-200: #e2e2e2;
  --espn-gray-100: #f2f2f2;
  --espn-white: #ffffff;

  /* voss/cast dialogue speaker colors (national dialogue shows) */
  --voss-color: #1a1a1a;
  --cast-color: var(--espn-red);

  --win: #1a7a3c;
  --loss: var(--espn-red);
  --gold-500: #b8860b; /* used sparingly for legacy .pill-gold etc */
  --preview-blue: #3b82c4; /* forward-looking content: previews, predictions, deep dives */
}

:root[data-theme="light"] {
  --bg: var(--espn-white); --fg: var(--espn-black); --fg-dim: var(--espn-gray-700);
  --surface: var(--espn-white); --surface-line: var(--espn-gray-200);
  --header-bg: var(--espn-black); --header-fg: var(--espn-white);
}
:root[data-theme="dark"], :root:not([data-theme]) {
  --bg: #121212; --fg: #f2f2f2; --fg-dim: #b8b8b8;
  --surface: #1c1c1c; --surface-line: #333333;
  --header-bg: #000000; --header-fg: #ffffff;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --bg: var(--espn-white); --fg: var(--espn-black); --fg-dim: var(--espn-gray-700);
    --surface: var(--espn-white); --surface-line: var(--espn-gray-200);
    --header-bg: var(--espn-black); --header-fg: var(--espn-white);
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--fg);
  font-family: "Barlow", -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.5; -webkit-font-smoothing: antialiased;
}
a { color: var(--espn-red); text-decoration: none; }
a:focus-visible, button:focus-visible, .card:focus-visible, .next-read:focus-visible {
  outline: 2px solid var(--espn-red); outline-offset: 2px; border-radius: 2px;
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
a:hover { text-decoration: underline; }

.display, h1, .scorebug h1, .bumper h2, .card h3, .card-title,
[class*="-card"] h3, [class*="-card"] .name, .name, .teams, .team {
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

/* ---- Top site nav (added to every page) ---- */
.kk-nav {
  background: var(--espn-black); color: #fff;
  display: flex; align-items: center; gap: 14px;
  padding: 10px clamp(16px,4vw,32px);
  border-bottom: 3px solid var(--espn-red);
  position: sticky; top: 0; z-index: 50;
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
}
.kk-nav img { height: 28px; width: 28px; border-radius: 50%; }
.kk-nav .kk-logo-link { display: flex; align-items: center; gap: 14px; text-decoration: none; transition: opacity 0.15s ease; }
.kk-nav .kk-logo-link:hover { opacity: 0.8; text-decoration: none; }
.kk-nav .kk-brand { font-weight: 900; text-transform: uppercase; font-size: 15px; letter-spacing: 0.03em; color: #fff; }
.kk-nav .kk-links { display: flex; gap: 16px; margin-left: auto; font-size: 12.5px; text-transform: uppercase; font-weight: 700; letter-spacing: 0.04em; }
.kk-nav .kk-links a { color: #ccc; }
.kk-nav .kk-links a:hover { color: #fff; text-decoration: none; border-bottom: 2px solid var(--espn-red); }

/* ---- Header / scorebug (masthead treatment) ---- */
.scorebug, header.hero {
  background: var(--header-bg); color: var(--header-fg);
  padding: 26px clamp(16px,4vw,48px) 22px;
  border-bottom: 4px solid var(--espn-red);
  background-image: none;
}
.scorebug .kicker, header.hero .back {
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 12px; color: var(--espn-red); margin: 0 0 6px; text-decoration: none;
}
.scorebug h1, header.hero h1 {
  font-size: clamp(26px,5vw,44px); line-height: 1.02; margin: 0 0 14px; text-wrap: balance; color: #fff;
}
header.hero p { color: #ccc; max-width: 68ch; font-size: 14.5px; }

.bug-row, .stat-row { display: flex; flex-wrap: wrap; gap: 10px; }
.bug-chip, .stat-chip {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); border-radius: 2px;
  padding: 8px 14px; font-family: ui-monospace, Consolas, monospace; font-variant-numeric: tabular-nums;
  font-size: 13px; display: flex; gap: 8px; align-items: baseline;
}
.bug-chip .label, .stat-chip .k {
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif; text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 11px; color: var(--espn-red);
}
.bug-chip .val, .stat-chip .v { font-weight: 800; color: #fff; }

.banner { width: 100%; aspect-ratio: 2.2 / 1; max-height: 420px; object-fit: cover; object-position: center top; display: block; }
header.hero .logo { width: 88px; height: 88px; border-radius: 50%; display: block; margin-bottom: 16px; box-shadow: 0 0 0 3px var(--espn-red); }

/* ---- Main content shell ---- */
main { max-width: 1100px; margin: 0 auto; padding: 0 clamp(16px,4vw,48px) 80px; }

/* ---- Section dividers ("bumper") — ESPN uses a plain bold rule, not a dark block ---- */
.bumper {
  margin: 44px 0 18px; padding: 0 0 10px; background: none;
  border-left: none; border-bottom: 4px solid var(--espn-red); color: var(--fg);
  display: flex; align-items: center; gap: 12px;
}
.bumper .seg-num {
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-size: 11px; letter-spacing: 0.06em;
  color: #fff; background: var(--espn-red); font-weight: 800; flex-shrink: 0;
  padding: 4px 9px 3px; border-radius: 2px 2px 2px 0;
}
.bumper h2 { font-size: clamp(18px,3vw,25px); margin: 0; color: var(--fg); }

.section-title {
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-weight: 900; text-transform: uppercase;
  font-size: 20px; color: var(--fg); margin: 44px 0 6px; padding-bottom: 8px;
  border-bottom: 4px solid var(--espn-red);
}
.section-title.local, .section-title.national { color: var(--fg); }
.section-sub { font-size: 13px; color: var(--fg-dim); margin: 0 0 14px; }

/* ---- Prose (narrative text) ---- */
.prose { font-family: "Lora", Georgia, "Times New Roman", serif; font-size: 16.5px; line-height: 1.65; color: var(--fg); }
.prose p { max-width: 68ch; color: var(--fg); }
.prose strong { color: var(--fg); }

/* ---- Cards: ESPN story-card treatment for ANY *-card class ---- */
.card, [class*="-card"], .matchup-card, .player-card, .stat-block {
  background: var(--surface); border: 1px solid var(--surface-line); border-radius: 4px;
  padding: 16px 18px; transition: box-shadow 0.15s ease, border-color 0.15s ease;
  display: block; border-top: 3px solid var(--surface-line);
}
a.card:hover, a[class*="-card"]:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.12); border-top-color: var(--espn-red); text-decoration: none;
}
.card .tag, [class*="-card"] .tag, [class*="-card"] .cat, .conf-tag {
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif; text-transform: uppercase; font-size: 10.5px;
  letter-spacing: 0.08em; color: var(--espn-red); font-weight: 800;
}
.card h3, [class*="-card"] .name, [class*="-card"] .teams {
  font-size: 17px; margin: 6px 0 8px; line-height: 1.15; color: var(--fg);
}
.card p, [class*="-card"] p { margin: 0; font-size: 13.5px; color: var(--fg-dim); line-height: 1.5; max-width: none; }
.card.video, .card.has-video { border-top-color: var(--espn-red); }

.card-thumb {
  display: block; width: calc(100% + 36px); height: 170px; object-fit: cover;
  margin: -16px -18px 14px; border-radius: 3px 3px 0 0;
}

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 14px; align-items: start; }

/* ---- Card emphasis tiers (index pages) ---- */
/* Recap cards: full-width within a shared chronological grid, gold identity.
   grid-column spans the whole row so these can sit inline, in true date order,
   next to compact preview/prediction tiles instead of being pulled into their
   own leading block (which used to put a season's recap -- and its results --
   ahead of that same season's still-spoiler-free preview/check-in pages). */
.card.recap {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px;
  border-top-width: 5px; border-top-color: var(--gold-500); padding: 20px 24px;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(184,134,11,0.07) 100%);
}
.card.recap:hover { border-top-color: var(--gold-500); }
.card.recap .tag { flex-basis: 100%; font-size: 11.5px; color: var(--gold-500); }
.card.recap h3 { font-size: 21px; margin: 2px 0; flex: 0 0 auto; }
.card.recap p { font-size: 14px; margin: 4px 0 0; flex-basis: 100%; }
.card.recap .yt-link { flex-basis: 100%; }

.card.compact { padding: 12px 16px; border-top-width: 2px; opacity: 0.88; align-self: start; }
.card.compact .tag { font-size: 10px; }
.card.compact h3 { font-size: 14.5px; margin: 4px 0 5px; }
.card.compact p { font-size: 12.5px; }

/* Previews/predictions/check-ins/deep-dives: cool blue identity, distinct from gold recaps */
.card.preview-type { border-top-color: var(--preview-blue); background: linear-gradient(135deg, var(--surface) 0%, rgba(59,130,196,0.06) 100%); }
.card.preview-type:hover { border-top-color: var(--preview-blue); }
.card.preview-type .tag {
  display: inline-block; color: #fff; background: var(--preview-blue);
  border-radius: 999px; padding: 3px 11px; margin-bottom: 2px;
}

/* ---- Home page: featured-show hero card ---- */
header.hero { background-image: radial-gradient(ellipse 900px 520px at 8% -10%, rgba(210,35,42,0.18), transparent 65%); }
.show-feature {
  display: block;
  background: var(--surface); border: 1px solid var(--surface-line); border-top: 5px solid var(--espn-red);
  border-radius: 4px; overflow: hidden; text-decoration: none; color: inherit;
  transition: box-shadow 0.15s ease;
}
.show-feature:hover { box-shadow: 0 10px 28px rgba(0,0,0,0.35); text-decoration: none; }
.show-feature-media { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.show-feature-body { padding: 34px 38px; display: flex; flex-direction: column; }
.show-feature-body .tag { margin-bottom: 10px; }
.show-feature-body h3 { font-size: 27px; margin: 0 0 10px; }
.show-feature-body p { font-size: 15px; color: var(--fg-dim); line-height: 1.55; max-width: 52ch; margin: 0 0 18px; }
.show-feature-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.show-feature-meta span {
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--fg-dim); border: 1px solid var(--surface-line); border-radius: 3px; padding: 5px 10px;
}
.show-feature .next-read { margin-top: auto; }

/* ---- Home page: roadmap grid ---- */
.roadmap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 18px; }
.roadmap-grid .card { padding: 22px 24px; }

/* ---- Home page: manifesto / editorial section ---- */
/* ---- "Letter from the author" editorial section ---- */
.letter { max-width: 620px; margin: 56px auto 40px; text-align: center; }
.letter-rule { width: 56px; height: 2px; background: var(--gold-500); margin: 0 auto 22px; }
.letter-rule-bottom { margin: 32px auto 0; }
.letter-kicker {
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-500); margin: 0 0 10px;
}
.letter-title {
  font-family: "Lora", Georgia, serif; font-style: italic; font-weight: 600;
  text-transform: none; letter-spacing: 0; font-size: clamp(22px,3.2vw,30px);
  color: var(--fg); margin: 0 0 6px; border: none; padding: 0;
}
.letter-mark {
  display: block; font-family: "Lora", Georgia, serif; font-style: italic; font-size: 54px;
  line-height: 1; color: var(--gold-500); opacity: 0.55; margin: 6px 0 -6px;
}
.letter-body { font-style: italic; text-align: center; font-size: 17px; line-height: 1.75; }
.letter-body p { max-width: none; }
.letter-body p + p { margin-top: 17px; }
.letter-sign {
  margin: 28px 0 0; font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-style: normal;
  font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-dim);
}
@media (max-width: 640px) {
  .letter { padding: 0 4px; }
  .letter-body { font-size: 15.5px; }
}

@media (max-width: 640px) {
  .show-feature-body { padding: 20px; }
  .show-feature-body h3 { font-size: 22px; }
}

/* ---- Tables ---- */
.table-wrap { overflow-x: auto; border: 1px solid var(--surface-line); border-radius: 4px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
th, td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--surface-line); white-space: nowrap; }
th {
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif; text-transform: uppercase; letter-spacing: 0.05em;
  font-size: 11px; color: var(--fg); background: var(--espn-gray-100); position: sticky; top: 0;
}
:root:not([data-theme="light"]) th { background: #262626; color: #fff; }
td { color: var(--fg); font-variant-numeric: tabular-nums; }
tr:last-child td { border-bottom: none; }
tr.hl td, tr.hl-southern td, tr.hl-loss td { background: rgba(210,35,42,0.08); font-weight: 700; }
tr.win td:first-child, .result-w { color: var(--win); font-weight: 800; }
tr.loss td:first-child, .result-l { color: var(--loss); font-weight: 800; }
tbody tr:hover td { background: rgba(210,35,42,0.04); }

/* ---- Dialogue (national shows) ---- */
.desk-intro {
  display: flex; gap: 14px; align-items: center; margin: 26px 0 8px; padding: 14px 18px;
  background: var(--surface); border: 1px solid var(--surface-line); border-left: 4px solid var(--espn-red);
}
.desk-intro .who { font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-weight: 800; text-transform: uppercase; font-size: 13px; }
.desk-intro .who.voss { color: var(--voss-color); } .desk-intro .who.cast { color: var(--cast-color); }

.dlg { display: flex; gap: 14px; margin: 14px 0; }
.dlg .spk { flex: 0 0 118px; }
.dlg .spk .name { font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-weight: 800; text-transform: uppercase; font-size: 13.5px; }
.dlg .spk .role { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-dim); }
.dlg .txt { font-family: Georgia, serif; font-size: 16px; line-height: 1.6; padding-left: 14px; border-left: 3px solid; max-width: 64ch; color: var(--fg); }
.dlg.voss .spk .name { color: var(--voss-color); } .dlg.voss .txt { border-color: var(--voss-color); }
.dlg.cast .spk .name { color: var(--cast-color); } .dlg.cast .txt { border-color: var(--cast-color); }

.onscreen {
  margin: 16px 0; padding: 10px 14px; background: var(--espn-gray-100); border: 1px dashed var(--surface-line);
  border-radius: 2px; font-family: ui-monospace, Consolas, monospace; font-size: 11px; letter-spacing: 0.03em;
  color: var(--fg-dim); text-transform: uppercase;
}
:root:not([data-theme="light"]) .onscreen { background: #262626; }

/* ---- Pills / badges (any class starting with pill-) ---- */
.pill, [class^="pill-"], [class*=" pill-"] {
  display: inline-block; padding: 2px 9px; border-radius: 2px; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.04em; margin-left: 6px;
  background: var(--espn-gray-100); color: var(--espn-black);
}
:root:not([data-theme="light"]) .pill, :root:not([data-theme="light"]) [class^="pill-"], :root:not([data-theme="light"]) [class*=" pill-"] {
  background: #333; color: #fff;
}
.pill-win, .pill-up, .pill-hit, .pill-in, .pill-hot { background: rgba(26,122,60,0.15); color: var(--win); }
.pill-loss, .pill-down, .pill-bust, .pill-out, .pill-fired, .pill-fall { background: rgba(210,35,42,0.15); color: var(--espn-red); }
.pill-gold, .pill-new, .pill-steal { background: rgba(184,134,11,0.18); color: var(--gold-500); }
.pill-nfl, .pill-transfer, .pill-grad, .pill-dev { background: var(--espn-gray-200); color: var(--espn-gray-700); }
:root:not([data-theme="light"]) .pill-nfl, :root:not([data-theme="light"]) .pill-transfer,
:root:not([data-theme="light"]) .pill-grad, :root:not([data-theme="light"]) .pill-dev {
  background: #333; color: #ccc;
}

/* ---- Poll lists (AP-poll style ranked team lists) ---- */
.poll-list { border: 1px solid var(--surface-line); border-radius: 4px; background: var(--surface); overflow: hidden; }
.poll-list .row { display: flex; align-items: center; gap: 14px; padding: 8px 14px; border-bottom: 1px solid var(--surface-line); font-size: 14px; }
.poll-list .row:last-child { border-bottom: none; }
.poll-list .row:nth-child(odd) { background: var(--espn-gray-100); }
:root:not([data-theme="light"]) .poll-list .row:nth-child(odd) { background: rgba(255,255,255,0.03); }
.poll-list .rk {
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-weight: 900; font-size: 13px;
  background: var(--espn-black); color: #fff; min-width: 26px; height: 26px; border-radius: 2px;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.poll-list .tm { font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; color: var(--fg); }

/* ---- Accolade rows (who/what/when) ---- */
.accolade { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 8px 4px; border-bottom: 1px dashed var(--surface-line); font-size: 13.5px; align-items: baseline; }
.accolade:last-child { border-bottom: none; }
.accolade .who { font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-weight: 800; text-transform: uppercase; color: var(--fg); min-width: 190px; }
.accolade .what { color: var(--espn-red); font-weight: 700; min-width: 200px; }
.accolade .when { color: var(--fg-dim); font-size: 12.5px; }

/* ---- Conference championship grid ---- */
.champ-grid, .grade-grid, .stat-grid, .three-col, .two-col {
  display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px,1fr));
}
.two-col { grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); }
.three-col { grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); }
.champ-item {
  background: var(--surface); border: 1px solid var(--surface-line);
  border-radius: 0 10px 0 10px; padding: 12px 14px 12px 18px;
  position: relative;
}
.champ-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: repeating-linear-gradient(180deg, var(--espn-red) 0 6px, transparent 6px 11px);
}
.champ-item .conf { font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-weight: 800; text-transform: uppercase; font-size: 11px; letter-spacing: 0.06em; color: var(--espn-red); }
.champ-item .res { font-size: 14px; color: var(--fg); margin-top: 4px; font-weight: 600; }

/* ---- Stat card grid (big-number stat blocks) ---- */
.stat-card {
  background: var(--surface); border-radius: 0; border-top: none;
  border-bottom: 2px solid var(--espn-red);
  padding: 10px 16px 12px; text-align: center;
}
.stat-card .num { font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-weight: 900; font-size: 28px; color: var(--fg); line-height: 1; }
.stat-card .lbl { font-size: 11.5px; color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 6px; }
.stat-card .rk { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 800; text-transform: uppercase; padding: 2px 8px; border-radius: 2px; background: var(--espn-gray-100); color: var(--espn-black); }
:root:not([data-theme="light"]) .stat-card .rk { background: #333; color: #ccc; }
.stat-card .rk.elite { background: rgba(26,122,60,0.15); color: var(--win); }
.stat-card .rk.poor { background: rgba(210,35,42,0.15); color: var(--espn-red); }

/* ---- Playoff bracket ---- */
.bracket { border: 1px solid var(--surface-line); border-radius: 4px; background: var(--surface); padding: 4px 0; }
.bracket .rnd-label {
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-weight: 900; text-transform: uppercase; font-size: 12px;
  letter-spacing: 0.08em; color: #fff; background: var(--espn-black); padding: 6px 14px; margin-top: 4px;
}
.bracket .rnd-label:first-child { margin-top: 0; }
.bracket .game { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 8px 14px; border-bottom: 1px solid var(--surface-line); font-size: 14px; }
.bracket .win-team { font-weight: 800; color: var(--fg); }
.bracket .score { font-variant-numeric: tabular-nums; color: var(--fg-dim); font-size: 13px; flex-shrink: 0; }

/* ---- CFP bracket tree (true tournament-tree layout, byes included) ---- */
.cfp-bracket-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: linear-gradient(135deg, var(--espn-black) 0%, #2a2a2a 100%);
  border: 1px solid var(--surface-line); border-bottom: 3px solid var(--espn-red);
  border-radius: 6px 6px 0 0; padding: 14px 20px; margin-top: 28px;
}
.cfp-bracket-head .cfp-bh-title { font-family: "Oswald", "Arial Narrow", Arial, sans-serif; }
.cfp-bracket-head .cfp-bh-eyebrow { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-500); }
.cfp-bracket-head .cfp-bh-main { display: block; font-size: 22px; font-weight: 900; letter-spacing: 0.02em; text-transform: uppercase; font-style: italic; color: #fff; }
.cfp-bracket-head .cfp-bh-field { font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; padding: 5px 14px; white-space: nowrap; }
.cfp-bracket-wrap { overflow-x: auto; padding: 18px 0 8px; }
.cfp-bracket { display: grid; grid-template-columns: 230px 24px 230px 24px 230px 24px 230px; grid-template-rows: 26px repeat(4, 78px 8px 78px 16px); column-gap: 0; min-width: 1060px; padding: 0 20px; }
.cfp-bracket .rnd-head {
  grid-row: 1; align-self: end; margin-bottom: 8px; padding-bottom: 5px;
  border-bottom: 2px solid var(--espn-red);
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: 13px; letter-spacing: 0.05em; color: var(--fg);
}
.cfp-slot { position: relative; display: flex; flex-direction: column; justify-content: center; align-self: center; }
.cfp-slot:not(.bye) { border: 1px solid var(--surface-line); border-radius: 4px; background: var(--surface); padding: 5px 0; }
.cfp-slot.natchamp { border-color: var(--gold-500); }
.cfp-team { position: relative; display: flex; align-items: center; gap: 6px; padding: 2px 10px 2px 20px; font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-size: 14px; border-left: 3px solid transparent; }
.cfp-team.win { font-weight: 800; color: var(--fg); border-left-color: var(--espn-red); }
.cfp-team.loss { color: var(--fg-dim); font-weight: 500; }
.cfp-team > span:not(.score) { flex: 1 1 auto; display: inline-flex; align-items: center; gap: 5px; }
.cfp-team .seed { position: absolute; left: -2px; top: 50%; transform: translateY(-50%); color: var(--fg-dim); font-size: 10.5px; font-weight: 800; }
.cfp-team.win .seed { color: var(--espn-red); }
.cfp-team .score { font-variant-numeric: tabular-nums; flex-shrink: 0; font-size: 13px; }
.cfp-slot.natchamp .cfp-team.win { color: var(--gold-500); }
.cfp-slot.natchamp .cfp-team.win .seed { color: var(--gold-500); }
.cfp-slot.bye { color: var(--fg-dim); align-items: center; justify-content: center; font-size: 13px; gap: 6px; padding-left: 10px; border-left: 3px solid transparent; }
.cfp-slot.bye .seed { position: absolute; left: -2px; top: 50%; transform: translateY(-50%); color: var(--gold-500); font-size: 10.5px; font-weight: 800; }
.cfp-connector { border-top: 3px solid var(--fg); border-right: 3px solid var(--fg); border-bottom: 3px solid var(--fg); border-top-right-radius: 8px; border-bottom-right-radius: 8px; margin-right: -3px; }
.cfp-bowl-tag { margin: 0; font-size: 10.5px; color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.04em; padding: 2px 10px 0 20px; }
.cfp-note { margin: 1px 0 0; padding: 0 10px 0 20px; font-size: 10.5px; line-height: 1.3; color: var(--fg-dim); }
.cfp-legend { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; padding: 10px 20px 2px; font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--fg-dim); }
.cfp-legend .sw { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 3px; margin-right: 6px; font-size: 9px; color: #fff; background: var(--espn-black); vertical-align: -3px; }
.cfp-legend .sw.gold { background: var(--gold-500); color: var(--espn-black); }
.cfp-legend .sw.red { background: var(--espn-red); }

/* ---- Pull quote ---- */
.quote-block {
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-weight: 800; text-transform: uppercase;
  font-size: clamp(18px,3vw,24px); line-height: 1.3; color: var(--fg); border-left: 4px solid var(--espn-red);
  padding: 10px 18px; margin: 20px 0; background: var(--surface);
}

/* ---- Next-read navigation (bottom of content pages) ---- */
.next-read {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin: 48px 0 0; padding: 18px 22px; background: var(--surface); border: 1px solid var(--surface-line);
  border-left: 5px solid var(--espn-red); border-radius: 4px; text-decoration: none;
}
.next-read:hover { border-color: var(--surface-line); border-left-color: var(--espn-red); box-shadow: 0 4px 14px rgba(0,0,0,0.12); text-decoration: none; }
.next-read:hover .nr-arrow::before { transform: rotate(35deg) translateX(3px); }
.next-read:hover .nr-arrow::after { transform: rotate(-35deg) translateX(3px); }
.next-read .nr-label { font-family: "Oswald", "Arial Narrow", Arial, sans-serif; text-transform: uppercase; font-size: 11px; letter-spacing: 0.1em; color: var(--espn-red); font-weight: 800; }
.next-read .nr-title { font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-weight: 800; text-transform: uppercase; font-size: 18px; color: var(--fg); margin-top: 3px; }
.next-read .nr-arrow { position: relative; width: 26px; height: 22px; flex-shrink: 0; }
.next-read .nr-arrow::before, .next-read .nr-arrow::after {
  content: ""; position: absolute; right: 2px; width: 13px; height: 3px; background: var(--espn-red);
  transition: transform 0.15s ease;
}
.next-read .nr-arrow::before { top: 6px; transform: rotate(35deg); transform-origin: right center; }
.next-read .nr-arrow::after { bottom: 6px; transform: rotate(-35deg); transform-origin: right center; }

/* ---- Timeline (year-by-year lists) ---- */
.timeline { border: 1px solid var(--surface-line); border-radius: 4px; background: var(--surface); }
.timeline .yr { display: flex; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--surface-line); align-items: baseline; }
.timeline .yr:last-child { border-bottom: none; }
.timeline .y { font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-weight: 900; color: var(--espn-red); flex-shrink: 0; min-width: 44px; }
.timeline .e { font-size: 14px; color: var(--fg); }

/* ---- Bar charts (record book / trajectory visuals) ---- */
.bar-row { display: grid; grid-template-columns: 70px 1fr 60px; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; }
.bar-row .yr { font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-weight: 800; }
.bar-track { background: var(--surface-line); border-radius: 2px; height: 14px; overflow: hidden; }
.bar-fill { background: var(--espn-red); height: 100%; }
.bar-fill.bad { background: var(--espn-gray-500); }
.bar-val { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }

/* ---- Notices / callouts ---- */
.notice {
  background: var(--surface); border: 1px solid var(--surface-line); border-left: 4px solid var(--espn-red);
  border-radius: 2px; padding: 14px 18px; margin-bottom: 28px; font-size: 13.5px; color: var(--fg-dim);
}
.notice strong { color: var(--fg); }

/* ---- yt-link / video badges ---- */
.yt-link {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 12px;
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-weight: 800; text-transform: uppercase;
  font-size: 11.5px; letter-spacing: 0.04em; color: var(--espn-red);
}

/* ---- Footer / signoff ---- */
footer.signoff, footer {
  margin-top: 60px; background: var(--espn-black); border-top: 4px solid var(--espn-red);
  color: #fff; padding: 30px clamp(16px,4vw,48px) 28px; text-align: left; font-size: 13px;
}
footer.signoff .signoff-inner { max-width: 1100px; margin: 0 auto; }
footer.signoff .label {
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif; text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 11px; color: var(--espn-red); margin: 0 0 10px;
}
footer.signoff .headline { font-size: clamp(16px,3vw,22px); line-height: 1.3; margin: 0 0 16px; max-width: 55ch; color: #fff; }
footer:not(.signoff) { text-align: center; color: #ccc; }

/* ---- Hub/index page cards ---- */
.notice, .start-here { }
.start-here { background: var(--surface); border: 2px solid var(--espn-red); border-radius: 4px; padding: 22px 24px; margin-bottom: 20px; }
.start-here.has-media { padding: 0 0 22px; overflow: hidden; }
.start-here-media { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.start-here.has-media .kicker,
.start-here.has-media h2,
.start-here.has-media p,
.start-here.has-media .links { padding-left: 24px; padding-right: 24px; }
.start-here.has-media .kicker { margin-top: 18px; }
.start-here .kicker { font-family: "Oswald", "Arial Narrow", Arial, sans-serif; text-transform: uppercase; font-size: 12px; letter-spacing: 0.1em; color: var(--espn-red); font-weight: 800; }
.start-here h2 { font-size: 24px; margin: 6px 0 10px; color: var(--fg); }
.start-here p { color: var(--fg-dim); font-size: 14.5px; margin: 0 0 14px; max-width: 70ch; }
.start-here .links { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---- Season cover: magazine-cover art beside a section's intro text ---- */
.season-cover {
  display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start;
  margin-bottom: 24px;
}
.season-cover img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px;
  border: 1px solid var(--surface-line); box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}
.season-cover-body { padding-top: 4px; }
.season-cover-body .kicker {
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif; text-transform: uppercase;
  font-size: 12px; letter-spacing: 0.1em; color: var(--gold-500); font-weight: 800;
}
.season-cover-body h2 { font-size: 26px; margin: 6px 0 10px; color: var(--fg); }
.season-cover-body p { color: var(--fg-dim); font-size: 14.5px; line-height: 1.55; max-width: 60ch; margin: 0; }
@media (max-width: 640px) {
  .season-cover { grid-template-columns: 1fr; }
  .season-cover img { max-width: 220px; margin: 0 auto; }
}
.start-here .links a, .season-cover-body .links a { background: var(--espn-red); color: #fff; font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-weight: 800; text-transform: uppercase; font-size: 13px; padding: 10px 16px; border-radius: 2px; display: inline-block; margin-top: 4px; }
.start-here .links a.alt, .season-cover-body .links a.alt { background: transparent; border: 1.5px solid var(--espn-red); color: var(--espn-red); }
.season-cover-body .links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2px; }

/* ---- Archive: condensed intro + inline links for closed-out seasons ---- */
.archive { border-left: 4px solid var(--gold-500); background: var(--surface); border-radius: 0 4px 4px 0; padding: 16px 22px; margin-bottom: 20px; display: flex; gap: 18px; align-items: flex-start; }
.archive-badge { width: 108px; height: 108px; object-fit: contain; flex: 0 0 auto; margin-top: 2px; }
.archive-body { flex: 1; min-width: 0; }
.archive .kicker { font-family: "Oswald", "Arial Narrow", Arial, sans-serif; text-transform: uppercase; font-size: 11px; letter-spacing: 0.1em; color: var(--gold-500); font-weight: 800; }
.archive p { color: var(--fg-dim); font-size: 14px; line-height: 1.55; margin: 6px 0 12px; max-width: 70ch; }
@media (max-width: 480px) {
  .archive { flex-direction: column; align-items: flex-start; }
}
.archive-links { display: flex; flex-wrap: wrap; gap: 6px 0; font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-size: 13.5px; font-weight: 700; }
.archive-links a { color: var(--gold-500); text-decoration: none; }
.archive-links a:hover { text-decoration: underline; }
.archive-links .sep { color: var(--fg-dim); margin: 0 10px; font-weight: 400; }

.year-divider { display: flex; align-items: center; gap: 12px; margin: 36px 0 16px; }
.year-divider .yr { font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-weight: 900; font-size: 15px; color: var(--fg-dim); letter-spacing: 0.08em; white-space: nowrap; }
.year-divider .line { height: 1px; background: var(--surface-line); flex: 1; }

/* ---- Leader/coach cards (player and coach spotlight blocks) ---- */
.leader-card, .coach-card { margin: 18px 0 24px; }
.leader-card .role, .coach-card .role { display: block; font-size: 11px; line-height: 1.5; text-transform: uppercase; letter-spacing: 0.06em; color: var(--espn-red); font-weight: 700; }
.leader-card .name, .coach-card h3 { font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-weight: 800; text-transform: uppercase; font-size: 17px; line-height: 1.3; margin: 10px 0 8px; color: var(--fg); }
.leader-card .pos { font-size: 12px; color: var(--fg-dim); text-transform: none; font-weight: 600; margin-left: 6px; }
.leader-card .line { font-family: ui-monospace, Consolas, monospace; font-size: 14px; color: var(--fg); margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--surface-line); font-variant-numeric: tabular-nums; }
.leader-card .note { font-size: 13.5px; color: var(--fg-dim); margin-top: 10px; line-height: 1.6; }
.leader-card.headline { border-top-width: 5px; background: linear-gradient(135deg, var(--surface) 0%, rgba(210,35,42,0.05) 100%); }
.leader-card.headline .name { font-size: 22px; }
.leader-card.watch { border-top-color: var(--gold-500); }
.meta { font-size: 12px; color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }

/* ---- Player photos ---- */
.leader-card.with-photo { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.leader-card.with-photo .player-photo { flex: 0 0 130px; width: 130px; height: auto; border-radius: 4px; border: 2px solid var(--surface-line); display: block; object-fit: cover; }
.leader-card.with-photo .card-body { flex: 1; min-width: 200px; }
@media (max-width: 480px) {
  .leader-card.with-photo .player-photo { flex: 0 0 100px; width: 100px; }
}

/* ---- Leader rows (stat-leader lists, non-tabular) ---- */
.leader-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 9px 0; border-bottom: 1px solid var(--surface-line); font-size: 14px; }
.leader-row:last-child { border-bottom: none; }
.leader-row .cat { flex-basis: 140px; font-family: "Oswald", "Arial Narrow", Arial, sans-serif; text-transform: uppercase; font-size: 11px; letter-spacing: 0.05em; color: var(--espn-red); font-weight: 700; }
.leader-row .who { font-weight: 700; color: var(--fg); }
.leader-row .team { font-size: 12.5px; color: var(--fg-dim); text-transform: none; font-weight: 600; margin-left: 4px; }
.leader-row .stat { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 800; color: var(--fg); }

/* ---- Predict cards (pick + confidence) ---- */
.predict-card { text-align: center; }
.predict-card .pick { font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-weight: 900; text-transform: uppercase; font-size: 20px; color: var(--fg); margin: 4px 0 10px; }
.conf { display: inline-block; padding: 4px 12px; border-radius: 2px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.conf-high { background: rgba(26,122,60,0.15); color: var(--win); }
.conf-med { background: rgba(184,134,11,0.18); color: var(--gold-500); }
.conf-low { background: rgba(210,35,42,0.15); color: var(--espn-red); }

/* ---- Table of contents box ---- */
.toc { background: var(--surface); border: 1px solid var(--surface-line); border-radius: 4px; padding: 18px 22px; margin: 24px 0; }
.toc h3 { font-family: "Oswald", "Arial Narrow", Arial, sans-serif; text-transform: uppercase; font-size: 13px; letter-spacing: 0.08em; color: var(--espn-red); margin: 0 0 10px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 24px; font-size: 13.5px; color: var(--fg-dim); }
.toc li { break-inside: avoid; padding: 2px 0; }
@media (max-width: 560px) { .toc ol { columns: 1; } }

/* ---- Schedule table tags ---- */
.tag-bye { color: var(--fg-dim); font-style: italic; text-align: center; }
.tag-marquee { color: var(--espn-red); font-weight: 800; }
.tag-upcoming { color: var(--fg-dim); font-weight: 700; text-transform: uppercase; font-size: 12px; }

/* ---- Prediction cell colors (bare .win/.loss/.toss on td) ---- */
td.win { color: var(--win); font-weight: 800; }
td.loss { color: var(--espn-red); font-weight: 800; }
td.toss { color: var(--gold-500); font-weight: 800; }

/* ---- Misc small elements ---- */
.stars { color: var(--gold-500); letter-spacing: 1px; }
.rank-move { color: var(--win); font-weight: 800; }
.game.natchamp { background: rgba(210,35,42,0.08); border-left: 3px solid var(--espn-red); padding-left: 8px; font-weight: 800; }
.poll-list .rec { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--fg-dim); font-size: 13px; }
header.hero .tags { margin-top: 12px; font-family: ui-monospace, Consolas, monospace; font-size: 12px; color: var(--espn-red); letter-spacing: 0.05em; }
.desk-intro .n { font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-weight: 800; text-transform: uppercase; font-size: 13px; }
.desk-intro .r { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-dim); }

/* ---- Bold pick block (season preview call-out) ---- */
.bold-pick { background: var(--surface); border: 1px solid var(--surface-line); border-top: 4px solid var(--espn-red); border-radius: 4px; padding: 16px 20px; margin: 16px 0; }
.bold-pick .tag { display: block; margin-bottom: 6px; }
.bold-pick .pick { font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-weight: 900; text-transform: uppercase; font-size: 19px; color: var(--fg); margin-bottom: 8px; }

/* ---- Boom/bust table row highlights ---- */
tr.boom td { background: rgba(26,122,60,0.08); }
tr.boom td:first-child { color: var(--win); font-weight: 800; }
tr.bust td { background: rgba(210,35,42,0.08); }
tr.bust td:first-child { color: var(--espn-red); font-weight: 800; }

/* ---- Mobile ---- */
@media (max-width: 640px) {
  /* Nav: keep brand on row 1, drop links to their own row instead of
     wrapping individual link text mid-phrase */
  .kk-nav { flex-wrap: wrap; row-gap: 8px; padding: 10px 16px; gap: 10px; }
  .kk-nav .kk-brand { font-size: 13px; white-space: nowrap; }
  .kk-nav .kk-links {
    flex-basis: 100%; margin-left: 0; gap: 18px; font-size: 12px;
    padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.15);
  }

  .scorebug, header.hero { padding: 20px 16px 18px; }
  .scorebug h1, header.hero h1 { font-size: clamp(22px,7.5vw,30px); }
  header.hero p { font-size: 13.5px; }

  /* Stat/score chips: 2-up grid instead of near-full-width stacked blocks */
  .bug-row, .stat-row { gap: 8px; }
  .bug-chip, .stat-chip { flex: 1 1 calc(50% - 8px); padding: 7px 10px; font-size: 12px; }

  main { padding-left: 16px; padding-right: 16px; }
  .prose { font-size: 15.5px; }

  .section-title { font-size: 17px; margin-top: 34px; }
  .grid { grid-template-columns: 1fr; }

  .featured-list .card { padding: 16px 18px; }
  .featured-list .card h3 { font-size: 18px; }

  /* Dialogue: speaker label above the line instead of a fixed sidebar column */
  .dlg { flex-direction: column; gap: 2px; }
  .dlg .spk { flex: none; display: flex; align-items: baseline; gap: 8px; }
  .dlg .txt { max-width: none; }

  .accolade .who, .accolade .what { min-width: 0; }

  th, td { padding: 8px 10px; font-size: 12.5px; }

  .next-read { padding: 14px 16px; }
  .next-read .nr-title { font-size: 16px; }
}
