/* ==========================================================================
   MLW WIFFLE BALL — concept site
   Light editorial sports-network system: navy masthead, paper body.
   Barlow Condensed + Barlow.
   ========================================================================== */

:root {
  --bg: #faf9f7;
  --surface: #ffffff;
  --surface2: #f3f2ee;
  --line: #e0ded6;
  --line2: #e9e7e0;
  --navy: #0c1b45;
  --navy2: #0a1636;
  --blue: #1b3fd1;
  --blue-hi: #2b52ec;
  --red: #c01327;
  --red-hi: #ff4d5e;
  --ink: #16181d;
  --dim: #565d6b;
  --dim2: #8a8f9b;
  --gold: #e8b54d;
  --green: #1f7a4a;
  --disp: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Helvetica Neue", sans-serif;
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15.5px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; color: inherit; }

::selection { background: var(--blue); color: #fff; }

h1, h2, h3, h4, .disp {
  font-family: var(--disp);
  font-weight: 600;
  line-height: 1.02;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.ico { display: inline-block; vertical-align: -3px; flex: 0 0 auto; }

/* ==========================================================================
   Labels, badges, rules
   ========================================================================== */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--disp);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--dim);
  white-space: nowrap;
  background: var(--surface);
}
.tag.red { background: var(--red); border-color: var(--red); color: #fff; }
.tag.blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.tag.gold { background: var(--gold); border-color: var(--gold); color: #241a02; }
.tag.green { border-color: var(--green); color: var(--green); }

.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
  padding-bottom: 9px;
  border-bottom: 2px solid var(--ink);
  position: relative;
}
.sec-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0 50%, var(--red) 50% 100%);
}
.sec-head h2 {
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.sec-head .more {
  font-weight: 600;
  font-size: 13px;
  color: var(--dim);
  white-space: nowrap;
}
.sec-head .more:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* team badge — solid team color, accent keel */
.badge {
  --c1: var(--blue);
  --c2: #fff;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 6px;
  background: var(--c1);
  box-shadow: inset 0 -3px 0 var(--c2), inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  display: grid;
  place-items: center;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}
.badge.lg { width: 56px; height: 56px; font-size: 20px; border-radius: 9px; }
.badge.logo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: none;
  overflow: hidden;
  text-shadow: none;
}
.badge.logo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ==========================================================================
   Header / nav — navy masthead
   ========================================================================== */

.concept-ribbon {
  background: var(--surface2);
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  text-align: center;
  font-size: 12px;
  padding: 6px 12px;
}
.concept-ribbon b { color: var(--ink); text-transform: uppercase; letter-spacing: 0.1em; font-size: 11px; }
.concept-ribbon a { text-decoration: underline; text-underline-offset: 2px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(12, 27, 69, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--red);
  color: #fff;
}
.topbar .wrap { display: flex; align-items: center; gap: 20px; height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { width: 34px; height: 34px; border-radius: 7px; }
.brand b {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  display: block;
  color: #fff;
}
.brand small {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: #93a2cf;
  text-transform: uppercase;
  margin-top: 1px;
}

nav.mainnav { display: flex; gap: 1px; margin-left: auto; }
nav.mainnav a {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #a7b4dd;
  padding: 19px 10px 17px;
  border-bottom: 2px solid transparent;
}
nav.mainnav a:hover { color: #fff; }
nav.mainnav a.on { color: #fff; border-bottom-color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 9px; margin-left: 4px; }

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--disp);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  padding: 5px 10px;
  white-space: nowrap;
}
.live-pill:hover { border-color: rgba(255, 255, 255, 0.6); }
.live-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red-hi); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: 0.3; } }

.cartbtn, .burger {
  position: relative;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
}
.cartbtn:hover, .burger:hover { border-color: rgba(255, 255, 255, 0.6); }
.cartbtn .n {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 17px;
  height: 17px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 4px;
  opacity: 0;
  transition: 0.15s;
}
.cartbtn .n.show { opacity: 1; }
.cartbtn .n.bump { animation: bump 0.3s; }
@keyframes bump { 40% { transform: scale(1.35); } }
.burger { display: none; }

/* mobile menu — navy sheet */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--navy);
  display: none;
  flex-direction: column;
  padding: 20px;
  color: #fff;
}
.menu-overlay.open { display: flex; }
.menu-overlay .close-row { display: flex; justify-content: space-between; align-items: center; }
.menu-overlay .close-row .tag { background: none; border-color: rgba(255, 255, 255, 0.3); color: #cdd6ef; }
.menu-overlay .close-row button {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #fff;
}
.menu-overlay a.mlink {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 13px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
}
.menu-overlay a.mlink small { font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; color: #93a2cf; }
.menu-overlay .menu-links { margin-top: 10px; overflow-y: auto; }

/* score strip — light like a network scoreboard */
.ticker {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.ticker .lane { display: flex; width: max-content; animation: tick 60s linear infinite; }
.ticker:hover .lane { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.tick-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dim);
  white-space: nowrap;
  border-right: 1px solid var(--line2);
}
.tick-item b { color: var(--ink); font-weight: 700; }
.tick-item .fin { font-family: var(--disp); font-weight: 600; font-size: 11.5px; letter-spacing: 0.1em; color: var(--dim2); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--disp);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 5px;
  border: 1px solid transparent;
}
.btn.primary { background: var(--red); color: #fff; }
.btn.primary:hover { background: #a90f21; }
.btn.line { border-color: #c9c6bc; color: var(--ink); background: var(--surface); }
.btn.line:hover { border-color: var(--ink); }

/* ==========================================================================
   Hero (home)
   ========================================================================== */

.hero { border-bottom: 1px solid var(--line); background: var(--surface); }
.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 40px;
  align-items: center;
  padding-top: 44px;
  padding-bottom: 44px;
}
.kicker {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.hero h1 {
  font-size: clamp(42px, 5.6vw, 68px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 10px 0 12px;
}
.hero p.lede { color: var(--dim); font-size: 16.5px; max-width: 52ch; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.statline { display: flex; flex-wrap: wrap; gap: 0; margin-top: 30px; border-top: 1px solid var(--line); }
.statline .s { padding: 12px 26px 0 0; margin-right: 26px; }
.statline .s b { display: block; font-family: var(--disp); font-weight: 700; font-size: 27px; line-height: 1; }
.statline .s span { font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim2); }

.hero-photo { position: relative; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #000; box-shadow: 0 10px 28px rgba(22, 24, 29, 0.10); }
.hero-photo img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; }
.hero-photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 14px 10px;
  font-size: 12px;
  color: #e8ecf7;
  background: linear-gradient(180deg, transparent, rgba(5, 7, 13, 0.85));
}

/* ==========================================================================
   Layout blocks
   ========================================================================== */

section.block { padding: 40px 0 4px; }
section.block:last-of-type { padding-bottom: 48px; }

.cols-main { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.rail { display: flex; flex-direction: column; gap: 26px; position: sticky; top: 76px; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
a.card:hover, .card.hov:hover { border-color: #b9b6ab; box-shadow: 0 4px 14px rgba(22, 24, 29, 0.07); }

.rail h3.rail-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 8px;
  margin-bottom: 2px;
  border-bottom: 2px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.rail h3.rail-title a { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--dim2); }
.rail h3.rail-title a:hover { color: var(--ink); }

/* ==========================================================================
   Tables
   ========================================================================== */

.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.mlw { width: 100%; border-collapse: collapse; font-size: 14px; }
table.mlw th {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  text-align: right;
  padding: 10px 10px;
  border-bottom: 2px solid var(--ink);
  white-space: nowrap;
  user-select: none;
}
table.mlw th.l, table.mlw td.l { text-align: left; }
table.mlw th.sortable { cursor: pointer; }
table.mlw th.sortable:hover { color: var(--ink); }
table.mlw th.sorted { color: var(--red); }
table.mlw th.sorted::after { content: " ▾"; font-size: 9px; }
table.mlw td {
  padding: 9px 10px;
  text-align: right;
  border-bottom: 1px solid var(--line2);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  white-space: nowrap;
}
table.mlw tbody tr:last-child td { border-bottom: none; }
table.mlw tbody tr:hover { background: #f4f6fd; }
table.mlw .teamcell { display: flex; align-items: center; gap: 10px; font-weight: 600; }
table.mlw .num { color: var(--dim2); font-weight: 600; width: 26px; }
table.mlw td.hi { color: var(--red); font-weight: 600; }
table.mlw.compact td { padding: 7px 8px; font-size: 13.5px; }
table.mlw.compact .badge { width: 26px; height: 26px; font-size: 10px; border-radius: 5px; }
table.mlw.compact th { border-bottom-width: 1px; border-color: var(--line); }

.form-dots { display: inline-flex; gap: 3px; }
.form-dots i { width: 8px; height: 8px; border-radius: 2px; background: #dddbd3; }
.form-dots i.w { background: #2fa464; }
.form-dots i.l { background: #c22a3c; }

/* leader rows (rail + stats page) */
.leaders-list { display: flex; flex-direction: column; }
.lrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 2px;
  border-bottom: 1px solid var(--line2);
}
.lrow:last-child { border-bottom: none; }
.lrow .lbl {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--dim2);
  text-transform: uppercase;
  width: 42px;
  flex: 0 0 auto;
}
.lrow .who { flex: 1; min-width: 0; }
.lrow .who b { display: block; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrow .who span { font-size: 11.5px; color: var(--dim2); font-weight: 600; }
.lrow .val { font-family: var(--disp); font-weight: 700; font-size: 22px; font-variant-numeric: tabular-nums; }

/* stat leader cards (stats page) */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 13px 14px 12px; border-top: 3px solid var(--c1, var(--blue)); }
.tile .cat { font-family: var(--disp); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--dim2); text-transform: uppercase; }
.tile .val { font-family: var(--disp); font-weight: 700; font-size: 38px; line-height: 1.05; margin: 3px 0 2px; }
.tile .who { font-weight: 600; font-size: 13.5px; }
.tile .team { font-size: 11.5px; color: var(--dim2); font-weight: 600; }

/* ==========================================================================
   Video
   ========================================================================== */

.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.vcard { overflow: hidden; }
.vcard .thumb, .feat-embed .thumb { position: relative; aspect-ratio: 16/9; background: #000; }
.vcard .thumb img, .feat-embed .thumb img { width: 100%; height: 100%; object-fit: cover; }
.vcard .dur {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 3px;
  padding: 1px 5px;
  font-variant-numeric: tabular-nums;
}
.vcard .meta { padding: 11px 13px 13px; }
.vcard .meta h3 { font-size: 16.5px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }
.vcard .meta p { color: var(--dim2); font-size: 12.5px; margin-top: 5px; font-weight: 500; }

.playbtn { position: absolute; inset: 0; display: grid; place-items: center; background: none; border: none; }
.playbtn i {
  width: 52px;
  height: 37px;
  border-radius: 8px;
  background: rgba(10, 12, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
}
.playbtn i::after {
  content: "";
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}
.playbtn:hover i { background: var(--red); border-color: var(--red); }
.vframe { aspect-ratio: 16/9; width: 100%; border: 0; display: block; background: #000; }
.feat-embed { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 8px 22px rgba(22, 24, 29, 0.08); }

/* filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 16px; }
.fchip {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--disp);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
}
.fchip:hover { color: var(--ink); border-color: #b9b6ab; }
.fchip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ==========================================================================
   Shop
   ========================================================================== */

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.pcard { overflow: hidden; display: flex; flex-direction: column; }
.pcard .pimg { aspect-ratio: 1; background: #f4f2ee; position: relative; border-bottom: 1px solid var(--line2); }
.pcard .pimg img { width: 100%; height: 100%; object-fit: cover; }
.pcard .pbadge { position: absolute; top: 10px; left: 10px; }
.pcard .pmeta { padding: 12px 13px 13px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.pcard .pmeta h3 { font-family: var(--body); font-weight: 600; font-size: 14px; line-height: 1.3; }
.pcard .price { font-family: var(--disp); font-weight: 700; font-size: 21px; }
.pcard .prow { margin-top: auto; display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.addbtn {
  background: var(--blue);
  border: none;
  color: #fff;
  font-family: var(--disp);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 5px;
  padding: 8px 12px;
}
.addbtn:hover { background: var(--blue-hi); }
.addbtn.added { background: var(--green); }
.plink { font-size: 12px; font-weight: 600; color: var(--dim2); }
.plink:hover { color: var(--ink); }

/* promo strip (house ad) */
.promo {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(90deg, #eef2fe, #fdeff1);
}
.promo:hover { border-color: #b9b6ab; }
.promo img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; background: #f4f2ee; border: 1px solid var(--line2); }
.promo .t b { font-family: var(--disp); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: 0.04em; display: block; }
.promo .t span { font-size: 12.5px; color: var(--dim); }

/* cart drawer */
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(400px, 92vw);
  background: var(--surface);
  border-left: 1px solid var(--line);
  z-index: 300;
  transform: translateX(105%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 32px rgba(22, 24, 29, 0.12);
}
.drawer.open { transform: none; }
.drawer header { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer header h3 { font-size: 21px; text-transform: uppercase; letter-spacing: 0.05em; }
.drawer header .cartbtn { border-color: var(--line); color: var(--ink); }
.drawer .items { flex: 1; overflow-y: auto; padding: 14px 20px; display: flex; flex-direction: column; gap: 12px; }
.drawer .d-item { display: flex; gap: 12px; align-items: center; }
.drawer .d-item img { width: 52px; height: 52px; border-radius: 6px; object-fit: cover; background: #f4f2ee; border: 1px solid var(--line2); }
.drawer .d-item .t { flex: 1; font-size: 13.5px; font-weight: 500; line-height: 1.3; }
.drawer .d-item .p { font-family: var(--disp); font-weight: 700; font-size: 17px; }
.drawer .d-item button { background: none; border: none; color: var(--dim2); font-size: 15px; }
.drawer footer { padding: 16px 20px 20px; border-top: 1px solid var(--line); background: var(--surface2); }
.drawer .total { display: flex; justify-content: space-between; font-family: var(--disp); font-weight: 700; font-size: 21px; margin-bottom: 12px; }
.drawer .note { font-size: 12px; color: var(--dim2); margin-top: 10px; line-height: 1.45; }
.scrim { position: fixed; inset: 0; background: rgba(15, 17, 24, 0.45); z-index: 250; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.scrim.show { opacity: 1; pointer-events: auto; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  transform: translate(-50%, 16px);
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #fff;
  font-weight: 500;
  font-size: 13.5px;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  box-shadow: 0 10px 26px rgba(22, 24, 29, 0.22);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Schedule & events
   ========================================================================== */

.day-card { margin-bottom: 12px; }
.day-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface2);
}
.day-head b { font-family: var(--disp); font-weight: 600; font-size: 17px; letter-spacing: 0.05em; text-transform: uppercase; }
.day-head span { color: var(--dim); font-size: 12.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.gamerow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line2);
  font-size: 14px;
}
.gamerow:last-of-type { border-bottom: none; }
.gamerow .side { display: flex; align-items: center; gap: 9px; font-weight: 600; min-width: 0; }
.gamerow .side.right { justify-content: flex-end; text-align: right; }
.gamerow .side .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gamerow .score { font-family: var(--disp); font-weight: 700; font-size: 19px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gamerow .score .lose { color: var(--dim2); }
.gamerow .st { font-size: 11px; }
.gamerow.dim .side { color: var(--dim); }
.headline-note {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 7px 14px;
  font-size: 13px;
  color: var(--dim);
  border-top: 1px solid var(--line2);
  background: #fdfcfa;
}
.headline-note .tag { font-size: 10.5px; padding: 1px 6px; flex: 0 0 auto; }

.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.ecard { padding: 15px 16px; display: flex; flex-direction: column; min-height: 150px; }
.ecard .edate { font-family: var(--disp); font-weight: 600; font-size: 13.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); display: flex; align-items: center; gap: 6px; }
.ecard .edate.done { color: var(--green); }
.ecard h3 { font-size: 21px; text-transform: uppercase; letter-spacing: 0.03em; margin: 5px 0 3px; }
.ecard .venue { color: var(--dim); font-size: 13px; font-weight: 500; }
.ecard .match { font-size: 13.5px; font-weight: 600; margin-top: 7px; }
.ecard .foot { margin-top: auto; padding-top: 12px; }
.ecard .foot a { font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #b9b6ab; }
.ecard .foot a:hover { text-decoration-color: var(--ink); }

/* countdown */
.countdown { display: flex; gap: 8px; margin-top: 12px; }
.cd-cell { background: var(--surface2); border: 1px solid var(--line); border-radius: 6px; min-width: 62px; padding: 8px 6px 6px; text-align: center; flex: 1; }
.cd-cell b { display: block; font-family: var(--disp); font-weight: 700; font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-cell span { font-size: 9.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim2); }

/* ==========================================================================
   Teams
   ========================================================================== */

.teamgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.tcard { padding: 16px; cursor: pointer; border-top: 4px solid var(--c1, var(--blue)); }
.tcard .row1 { display: flex; gap: 12px; align-items: center; }
.tcard h3 { font-size: 21px; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1; }
.tcard .mgr { color: var(--dim2); font-size: 12.5px; font-weight: 500; margin-top: 3px; }
.tcard .recrow { display: flex; align-items: center; gap: 11px; margin-top: 13px; }
.tcard .rec { font-family: var(--disp); font-weight: 700; font-size: 25px; }
.tcard .mini { display: flex; gap: 14px; margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--line2); }
.tcard .mini .m span { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.13em; color: var(--dim2); text-transform: uppercase; }
.tcard .mini .m b { font-size: 13px; font-weight: 600; }

.modal { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; padding: 20px; }
.modal.open { display: grid; }
.modal .box {
  width: min(860px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  position: relative;
  z-index: 2;
  box-shadow: 0 24px 60px rgba(22, 24, 29, 0.25);
}
.modal .box header {
  position: sticky;
  top: 0;
  background: var(--surface);
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  z-index: 3;
}
.modal .box header h3 { font-size: 24px; text-transform: uppercase; letter-spacing: 0.03em; }
.modal .box header .x { margin-left: auto; background: none; border: 1px solid var(--line); width: 34px; height: 34px; border-radius: 6px; display: grid; place-items: center; }
.modal .box .inner { padding: 4px 18px 20px; }
.modal .box h4 { font-size: 14px; letter-spacing: 0.12em; color: var(--dim2); text-transform: uppercase; margin: 16px 0 6px; }

/* ==========================================================================
   History
   ========================================================================== */

.photo-band { position: relative; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-bottom: 26px; box-shadow: 0 10px 28px rgba(22, 24, 29, 0.10); }
.photo-band img { width: 100%; height: 340px; object-fit: cover; object-position: 50% 44%; }
.photo-band figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 16px 10px;
  font-size: 12.5px;
  color: #e8ecf7;
  background: linear-gradient(180deg, transparent, rgba(5, 7, 13, 0.88));
}

.timeline { position: relative; padding-left: 24px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 24px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--red);
}
.tl-item:nth-child(odd)::before { border-color: var(--blue); }
.tl-item .yr { font-family: var(--disp); font-weight: 700; font-size: 27px; line-height: 1; }
.tl-item .champ { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 7px 0 7px; font-weight: 600; font-size: 15.5px; }
.tl-item .champ .vs { color: var(--dim2); font-weight: 500; font-size: 13px; }
.tl-item .recap { color: var(--dim); font-size: 14px; max-width: 76ch; }
.tl-item .where { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #a97c14; margin-top: 5px; }

.award-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.acard { padding: 14px 15px; }
.acard h3 { font-size: 17px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.acard ol { list-style: none; }
.acard li { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 4px 0; border-bottom: 1px solid var(--line2); }
.acard li:last-child { border-bottom: none; }
.acard li b { font-weight: 500; text-align: right; }
.acard li span { color: var(--dim2); font-weight: 600; font-variant-numeric: tabular-nums; }

.story-band { border: 1px solid var(--line); border-radius: 8px; padding: 28px clamp(18px, 4vw, 40px); background: var(--surface); }
.story-band blockquote { font-size: clamp(16px, 2.2vw, 19px); line-height: 1.65; max-width: 74ch; }
.story-band cite { display: block; margin-top: 14px; font-style: normal; font-family: var(--disp); font-weight: 600; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }

/* ==========================================================================
   News / footer
   ========================================================================== */

.newsgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.ncard { padding: 16px; }
.ncard .kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: var(--red); text-transform: uppercase; font-family: var(--body); }
.ncard h3 { font-family: var(--body); font-size: 16.5px; font-weight: 700; line-height: 1.3; margin: 7px 0; }
.ncard p { color: var(--dim); font-size: 13.5px; }
.ncard .byline { margin-top: 11px; font-size: 12px; color: var(--dim2); font-weight: 500; }

footer.site { margin-top: 52px; border-top: 3px solid var(--red); background: var(--navy); color: #cdd6ef; padding: 38px 0 100px; }
footer.site .cols { display: flex; flex-wrap: wrap; gap: 34px; justify-content: space-between; }
footer.site .wordmark { font-family: var(--disp); font-weight: 700; font-size: 27px; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1; color: #fff; }
footer.site .wordmark span { color: var(--red-hi); }
footer.site p { color: #93a2cf; font-size: 13px; max-width: 42ch; margin-top: 9px; }
footer.site h4 { font-size: 13px; letter-spacing: 0.14em; color: #93a2cf; text-transform: uppercase; margin-bottom: 9px; }
footer.site ul { list-style: none; }
footer.site ul a, footer.site ul li { display: block; padding: 3px 0; color: #cdd6ef; font-size: 13.5px; font-weight: 500; }
footer.site ul a:hover { color: #fff; }
footer.site .fine { margin-top: 32px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 11.5px; color: #93a2cf; line-height: 1.7; }
footer.site .fine a { text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   Mobile tab bar
   ========================================================================== */

.tabbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100;
  display: none;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 5px 4px calc(7px + env(safe-area-inset-bottom));
}
.tabbar a, .tabbar button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  color: var(--dim2);
  font-family: var(--disp);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 5px 2px;
}
.tabbar a.on { color: var(--ink); }
.tabbar a.on svg { color: var(--red); }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .ticker .lane { animation: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 960px) {
  nav.mainnav { display: none; }
  .burger { display: grid; }
  .hero .wrap { grid-template-columns: 1fr; gap: 26px; padding-top: 32px; padding-bottom: 34px; }
  .cols-main { grid-template-columns: 1fr; }
  .rail { position: static; }
}

@media (max-width: 700px) {
  body { padding-bottom: 62px; }
  .concept-ribbon .rib-more { display: none; }
  .tabbar { display: flex; }
  .live-pill .txt { display: none; }
  .statline .s { padding-right: 18px; margin-right: 18px; }
  .statline .s b { font-size: 22px; }
  section.block { padding: 30px 0 4px; }
  .gamerow { grid-template-columns: 1fr auto 1fr; }
  .gamerow .st { display: none; }
  footer.site { padding-bottom: 120px; }
}
