/* =========================================================
   PIMEYS SPORTS NEWS — core stylesheet
   Navy · Gold · Paper — with a lime accent kept for athletics
   ========================================================= */

:root {
  --ink: #0c1b2e;
  --ink-2: #13283f;
  --ink-3: #1d3654;
  --paper: #f5f1e8;
  --paper-2: #ebe4d4;
  --card: #fffdf8;
  --gold: #c9a032;
  --gold-2: #e8d48f;
  --gold-deep: #9c7a1e;
  --lime: #c8f03c;
  --live: #e0362b;
  --win: #1f8a4c;
  --muted: #69707b;
  --line: rgba(12, 27, 46, .12);
  --line-strong: rgba(12, 27, 46, .22);

  --f-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --f-serif: "Newsreader", Georgia, serif;
  --f-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r: 6px;
  --wrap: 1280px;
  --gut: 16px;
  --shadow: 0 1px 0 rgba(12,27,46,.06), 0 8px 24px -14px rgba(12,27,46,.35);
  --ease: cubic-bezier(.2,.8,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* paper grain — subtle, gives the page some tooth */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: .07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- type helpers ---------- */
.kicker {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.kicker .sep { color: var(--muted); margin: 0 .4em; font-weight: 400; }
.meta { font-size: 12px; color: var(--muted); }
.meta b { color: var(--ink); font-weight: 600; }
.h-serif { font-family: var(--f-serif); font-weight: 600; letter-spacing: -.01em; line-height: 1.12; }
.h-sans { font-family: var(--f-sans); font-weight: 700; letter-spacing: -.015em; line-height: 1.18; }
.h-display { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; letter-spacing: .01em; line-height: .92; }

/* =========================================================
   LOGO MARK + animation
   ========================================================= */
.mark { width: auto; height: 100%; overflow: visible; color: var(--paper); }
.mark .m-ring { stroke-dasharray: 613; stroke-dashoffset: 613; transform-box: fill-box; transform-origin: center; transform: rotate(-90deg); }
.mark .m-stem { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); }
.mark .m-cup { transform-box: fill-box; transform-origin: 50% 0; transform: scale(0); }
.mark .m-ball { transform-box: fill-box; transform-origin: 50% 100%; opacity: 0; }
.mark .m-lap { stroke-dasharray: 46 567; stroke-dashoffset: 0; opacity: 0; transform-box: fill-box; transform-origin: center; transform: rotate(-90deg); }

.mark.go .m-stem { animation: stemUp .55s var(--ease) .05s forwards; }
.mark.go .m-cup  { animation: cupPop .45s cubic-bezier(.3,1.6,.5,1) .45s forwards; }
.mark.go .m-ring { animation: ringDraw .9s var(--ease) .3s forwards; }
.mark.go .m-ball { animation: ballDrop 1s .85s forwards, ballFloat 4.5s ease-in-out 2.4s infinite; }
.mark.go .m-lap  { animation: lap 2.6s linear 2s infinite; }

@keyframes stemUp { to { transform: scaleY(1); } }
@keyframes cupPop { to { transform: scale(1); } }
@keyframes ringDraw { to { stroke-dashoffset: 0; } }
@keyframes ballDrop {
  0%   { opacity: 0; transform: translateY(-220px) scale(1); }
  10%  { opacity: 1; }
  45%  { transform: translateY(0) scale(1.18, .78); animation-timing-function: ease-out; }
  62%  { transform: translateY(-46px) scale(.94, 1.06); animation-timing-function: ease-in; }
  78%  { transform: translateY(0) scale(1.08, .9); animation-timing-function: ease-out; }
  88%  { transform: translateY(-10px) scale(1); animation-timing-function: ease-in; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes ballFloat { 0%,100% { opacity: 1; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-14px); } }
@keyframes lap {
  0% { opacity: 0; stroke-dashoffset: 0; }
  8% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; stroke-dashoffset: -613; }
}
@media (prefers-reduced-motion: reduce) {
  .mark .m-ring { stroke-dashoffset: 0; }
  .mark .m-stem, .mark .m-cup { transform: none; }
  .mark .m-ball { opacity: 1; }
  .mark.go * { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   LIVE STRIP (scores ticker, top of page)
   ========================================================= */
.livestrip {
  background: #08131f;
  color: #d9dee6;
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.livestrip .wrap { display: flex; align-items: stretch; padding: 0; max-width: none; }
.ls-label {
  flex: none;
  display: flex; align-items: center; gap: 8px;
  padding: 0 14px;
  font-weight: 700; letter-spacing: .1em; font-size: 10px; text-transform: uppercase;
  border-right: 1px solid rgba(255,255,255,.08);
  color: #fff;
}
.ls-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  flex: 1;
}
.ls-track::-webkit-scrollbar { display: none; }
.ls-game {
  flex: none;
  min-width: 158px;
  padding: 7px 14px 8px;
  border-right: 1px solid rgba(255,255,255,.07);
  scroll-snap-align: start;
  transition: background .2s;
}
.ls-game:hover { background: rgba(255,255,255,.04); }
.ls-game .st { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #8e99a8; margin-bottom: 2px; }
.ls-game .st .lv { color: #ff6a5f; font-weight: 700; }
.ls-game .row { display: flex; justify-content: space-between; gap: 10px; line-height: 1.45; }
.ls-game .row b { font-weight: 600; color: #fff; }
.ls-game .row .s { font-variant-numeric: tabular-nums; font-weight: 700; color: #fff; }
.ls-game .row.lose b, .ls-game .row.lose .s { color: #8e99a8; font-weight: 500; }
.ls-game .rc { color: var(--lime); font-weight: 600; }
.ls-game .bar { height: 3px; background: rgba(255,255,255,.1); border-radius: 2px; margin-top: 5px; overflow: hidden; }
.ls-game .bar i { display: block; height: 100%; background: var(--lime); border-radius: 2px; transition: width 1s var(--ease); }
.flash { animation: flash 1.4s ease; }
@keyframes flash { 0%,100% { background: transparent; } 20% { background: rgba(201,160,50,.35); } }

.dot-live {
  width: 7px; height: 7px; border-radius: 50%; background: var(--live); flex: none;
  box-shadow: 0 0 0 0 rgba(224,54,43,.6);
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(224,54,43,0); } 100% { box-shadow: 0 0 0 0 rgba(224,54,43,0); } }

/* =========================================================
   MASTHEAD
   ========================================================= */
.masthead {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--ink);
  color: var(--paper);
  transition: box-shadow .3s;
}
.masthead.scrolled { box-shadow: 0 6px 24px -10px rgba(0,0,0,.5); }
.mh-row { display: flex; align-items: center; gap: 18px; height: 64px; transition: height .3s var(--ease); }
.masthead.scrolled .mh-row { height: 54px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand .mark { height: 40px; transition: height .3s var(--ease); }
.masthead.scrolled .brand .mark { height: 34px; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font-family: var(--f-display); font-weight: 900; font-size: 22px; letter-spacing: .04em; text-transform: uppercase; }
.brand-word span { font-size: 9.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-2); margin-top: 3px; }

.mainnav { display: flex; gap: 2px; margin-left: 10px; flex: 1; min-width: 0; }
.mainnav a {
  position: relative;
  padding: 8px 10px;
  font-size: 13.5px; font-weight: 600;
  color: #cfd6e0;
  white-space: nowrap;
  border-radius: 4px;
  transition: color .2s, background .2s;
}
.mainnav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.mainnav a.on { color: #fff; }
.mainnav a.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -12px; height: 3px; background: var(--gold); border-radius: 3px 3px 0 0; }
.mainnav a.star::before { content: "★"; color: var(--lime); font-size: 10px; margin-right: 4px; vertical-align: 1px; }
.mainnav .divider { width: 1px; background: rgba(255,255,255,.12); margin: 8px 6px; }

.mh-tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  color: #e6ebf1;
  transition: background .2s;
}
.icon-btn:hover { background: rgba(255,255,255,.08); }
.icon-btn svg { width: 20px; height: 20px; }
.btn-follow {
  padding: 8px 14px; border-radius: 999px;
  background: var(--gold); color: var(--ink);
  font-size: 13px; font-weight: 700;
  transition: transform .15s, background .2s;
}
.btn-follow:hover { background: var(--gold-2); }
.btn-follow:active { transform: scale(.96); }
.menu-btn { display: none; }

/* sub nav (sport chips under masthead) */
.subnav { background: var(--ink-2); border-top: 1px solid rgba(255,255,255,.06); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 8px; padding-bottom: 8px; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a {
  flex: none;
  padding: 5px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; color: #b9c3d0;
  border: 1px solid rgba(255,255,255,.1);
  transition: all .2s;
}
.subnav a:hover, .subnav a.on { color: var(--ink); background: var(--paper); border-color: var(--paper); }

/* breaking bar */
.breaking { background: var(--live); color: #fff; overflow: hidden; }
.breaking .wrap { display: flex; align-items: center; gap: 14px; height: 38px; }
.br-tag {
  flex: none;
  font-family: var(--f-display); font-weight: 900; font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.br-tag .dot-live { background: #fff; box-shadow: none; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.br-text { position: relative; flex: 1; height: 100%; overflow: hidden; }
.br-text a {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  font-size: 14px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transform: translateY(100%); opacity: 0;
  transition: transform .5s var(--ease), opacity .5s;
}
.br-text a.on { transform: none; opacity: 1; }
.br-text a.out { transform: translateY(-100%); opacity: 0; }
.br-text a:hover { text-decoration: underline; text-underline-offset: 3px; }
.br-count { flex: none; font-size: 11px; opacity: .8; font-variant-numeric: tabular-nums; }

/* edition line */
.edition { border-bottom: 1px solid var(--line); }
.edition .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; font-size: 12px; color: var(--muted); }
.edition b { color: var(--ink); font-weight: 600; }
.edition .greet { font-family: var(--f-serif); font-style: italic; font-size: 14px; color: var(--ink); }

/* =========================================================
   GENERIC LAYOUT BLOCKS
   ========================================================= */
.section { padding: 44px 0; }
.section + .section { border-top: 1px solid var(--line); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sec-head .num { font-family: var(--f-display); font-weight: 800; font-size: 13px; letter-spacing: .14em; color: var(--gold-deep); display: block; margin-bottom: 4px; }
.sec-head h2 { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(30px, 5vw, 46px); text-transform: uppercase; line-height: .9; letter-spacing: .005em; }
.sec-head h2 em { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; font-size: .62em; color: var(--muted); letter-spacing: 0; margin-left: .25em; }
.sec-head .more { font-size: 13px; font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding-bottom: 4px; border-bottom: 2px solid var(--gold); }
.sec-head .more:hover { color: var(--gold-deep); }

.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 3px;
  background: var(--ink); color: var(--paper);
}
.pill.gold { background: var(--gold); color: var(--ink); }
.pill.lime { background: var(--lime); color: var(--ink); }
.pill.live { background: var(--live); color: #fff; }
.pill.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }

/* cover art (generated SVG stands in for photography) */
.cover { display: block; position: relative; overflow: hidden; background: var(--ink-2); border-radius: var(--r); aspect-ratio: 16 / 10; isolation: isolate; }
.cover svg { width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
a:hover .cover svg, .cover:hover svg { transform: scale(1.045); }
.cover .tag { position: absolute; left: 10px; top: 10px; z-index: 2; }
.cover .credit { position: absolute; right: 8px; bottom: 6px; font-size: 9.5px; letter-spacing: .06em; color: rgba(255,255,255,.55); z-index: 2; }
.cover .play {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(12,27,46,.75); backdrop-filter: blur(4px);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,.7);
}
.cover .play svg { width: 16px; height: 16px; margin-left: 2px; }

/* reveal on scroll */
.rv { opacity: 1; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* chips / tabs */
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600;
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: all .2s;
}
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip.on { background: var(--ink); color: var(--paper); box-shadow: none; }
.chip .n { opacity: .55; margin-left: 4px; font-variant-numeric: tabular-nums; }
.on-dark .chip { color: #e6ebf1; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.on-dark .chip:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.on-dark .chip.on { background: var(--lime); color: var(--ink); }

.seg { display: inline-flex; background: var(--paper-2); border-radius: 999px; padding: 3px; position: relative; }
.seg button { position: relative; z-index: 1; padding: 6px 14px; font-size: 12.5px; font-weight: 700; border-radius: 999px; color: var(--muted); transition: color .25s; }
.seg button.on { color: var(--ink); }
.seg .thumb { position: absolute; z-index: 0; top: 3px; bottom: 3px; border-radius: 999px; background: var(--card); box-shadow: 0 1px 3px rgba(0,0,0,.15); transition: left .3s var(--ease), width .3s var(--ease); }
.on-dark .seg { background: rgba(255,255,255,.08); }
.on-dark .seg button { color: #9aa6b5; }
.on-dark .seg button.on { color: var(--ink); }
.on-dark .seg .thumb { background: var(--lime); }

/* data table */
.dtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.dtable th { text-align: left; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 0 10px 8px; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
.dtable td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.dtable tr { transition: background .15s; }
.dtable tbody tr:hover { background: rgba(201,160,50,.08); }
.dtable .r { text-align: right; }
.dtable .t { font-variant-numeric: tabular-nums; font-weight: 700; font-family: var(--f-sans); }
.dtable .ath { font-weight: 600; }
.dtable .ath small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.flag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .06em; padding: 1px 5px; border-radius: 2px; background: var(--paper-2); color: var(--ink); margin-right: 6px; vertical-align: 1px; }
.flag.ken { background: #0b0b0b; color: #fff; box-shadow: inset 0 -2px 0 #b8202a, inset 0 2px 0 #1f7a3a; }
.badge-pb { font-size: 9.5px; font-weight: 800; letter-spacing: .06em; color: var(--ink); background: var(--lime); padding: 1px 5px; border-radius: 2px; margin-left: 6px; vertical-align: 2px; }
.badge-nr { background: var(--gold); }

.on-dark { background: var(--ink); color: var(--paper); }
.on-dark .kicker { color: var(--lime); }
.on-dark .meta { color: #8f9bab; }
.on-dark .meta b { color: #fff; }
.on-dark .dtable th { color: #8f9bab; border-color: rgba(255,255,255,.18); }
.on-dark .dtable td { border-color: rgba(255,255,255,.08); }
.on-dark .dtable tbody tr:hover { background: rgba(200,240,60,.06); }
.on-dark .sec-head h2 em { color: #8f9bab; }
.on-dark .sec-head .more { border-color: var(--lime); }
.on-dark .flag { background: rgba(255,255,255,.12); color: #fff; }

/* =========================================================
   HOME — HERO
   ========================================================= */
.hero { padding: 24px 0 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 28px; }
.hero-main { position: relative; }
.hero-main .cover { aspect-ratio: 16 / 9.2; border-radius: 8px; }
.hero-main .cover svg { transition: opacity .4s, transform 1.2s var(--ease); }
.hero-copy { padding-top: 18px; }
.hero-copy h1 { margin: 8px 0 10px; font-family: var(--f-serif); font-weight: 700; font-size: clamp(28px, 4.2vw, 50px); line-height: 1.03; letter-spacing: -.02em; transition: opacity .3s; }
.hero-copy h1 a { background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 3px no-repeat; transition: background-size .5s var(--ease); }
.hero-copy h1 a:hover { background-size: 100% 3px; }
.hero-copy p { margin: 0 0 12px; font-size: 17px; color: #3b4452; max-width: 60ch; transition: opacity .3s; }
.hero-main.swap h1, .hero-main.swap p, .hero-main.swap .cover svg { opacity: 0; }
.hero-progress { display: flex; gap: 4px; margin-top: 14px; }
.hero-progress i { flex: 1; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; position: relative; }
.hero-progress i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.hero-progress i.done::after { transform: scaleX(1); }
.hero-progress i.run::after { animation: prog var(--dur, 7s) linear forwards; }
.hero-main:hover .hero-progress i.run::after { animation-play-state: paused; }
@keyframes prog { to { transform: scaleX(1); } }

.top-stories h3 { margin: 0 0 6px; font-family: var(--f-display); font-weight: 900; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; display: flex; justify-content: space-between; align-items: baseline; }
.top-stories h3 small { font-family: var(--f-sans); font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--muted); text-transform: none; }
.ts-list { list-style: none; margin: 0; padding: 0; counter-reset: ts; }
.ts-list li { border-top: 1px solid var(--line); }
.ts-list a { display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 13px 0; transition: padding .25s var(--ease); }
.ts-list a::before { counter-increment: ts; content: counter(ts, decimal-leading-zero); font-family: var(--f-display); font-weight: 800; font-size: 22px; color: var(--line-strong); line-height: 1; transition: color .25s; }
.ts-list li.on a::before, .ts-list a:hover::before { color: var(--gold); }
.ts-list li.on a { padding-left: 6px; }
.ts-list .t { font-weight: 650; font-size: 15.5px; line-height: 1.28; }
.ts-list .k { display: block; margin-bottom: 3px; }

.quick-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.qcard .cover { aspect-ratio: 16/9; margin-bottom: 10px; }
.qcard h4 { margin: 6px 0 4px; font-size: 16.5px; }
.qcard:hover h4 { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 2px; }

/* =========================================================
   HOME — LATEST + LIVE
   ========================================================= */
.latest-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.feed-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.feed { list-style: none; margin: 0; padding: 0; position: relative; }
.feed::before { content: ""; position: absolute; left: 66px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.feed li { display: grid; grid-template-columns: 56px 22px 1fr; align-items: start; padding: 14px 0; border-bottom: 1px dashed var(--line); animation: feedIn .5s var(--ease) both; }
.feed li.hidden { display: none; }
@keyframes feedIn { from { opacity: 0; transform: translateX(-8px); } }
.feed time { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted); padding-top: 2px; }
.feed .nub { width: 9px; height: 9px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); margin: 6px 0 0 6px; position: relative; z-index: 1; }
.feed li.hot .nub { background: var(--live); box-shadow: 0 0 0 3px rgba(224,54,43,.18); }
.feed li.fresh { background: linear-gradient(90deg, rgba(201,160,50,.14), transparent 70%); }
.feed .body a { font-weight: 650; font-size: 16px; line-height: 1.3; }
.feed .body a:hover { color: var(--gold-deep); }
.feed .body .sp { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); margin-right: 8px; }
.feed .body p { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.feed .react { display: flex; gap: 12px; margin-top: 7px; }
.feed .react button { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; padding: 2px 0; transition: color .2s, transform .2s; }
.feed .react button:hover { color: var(--ink); }
.feed .react button.on { color: var(--live); }
.feed .react button.on .ic { transform: scale(1.2); }
.feed .react .ic { transition: transform .25s cubic-bezier(.3,1.8,.5,1); display: inline-block; }

.new-pill {
  position: sticky; top: 76px; z-index: 5;
  display: none;
  margin: 0 auto 8px; width: max-content;
  padding: 8px 16px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-size: 13px; font-weight: 700;
  box-shadow: 0 8px 20px -8px rgba(12,27,46,.6);
  animation: drop .45s cubic-bezier(.3,1.5,.5,1);
}
.new-pill.show { display: flex; align-items: center; gap: 8px; }
@keyframes drop { from { transform: translateY(-16px); opacity: 0; } }
.load-sentinel { height: 1px; }
.feed-end { text-align: center; padding: 18px 0 0; font-size: 13px; color: var(--muted); }
.feed-end button { font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--gold); }

/* live module */
.live-col { display: grid; gap: 18px; position: sticky; top: 90px; }
.match { padding: 16px; }
.match-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.match-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; text-align: center; }
.team-badge {
  width: 46px; height: 46px; margin: 0 auto 6px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 900; font-size: 15px; letter-spacing: .04em;
  color: #fff;
}
.match-teams .nm { font-weight: 700; font-size: 14px; }
.match-teams .rec { font-size: 11px; color: var(--muted); }
.score { font-family: var(--f-display); font-weight: 900; font-size: 46px; line-height: 1; font-variant-numeric: tabular-nums; display: flex; gap: 10px; align-items: center; }
.score .dash { color: var(--line-strong); font-size: 30px; }
.score span.bump { animation: bump .7s cubic-bezier(.3,1.8,.5,1); color: var(--gold-deep); }
@keyframes bump { 30% { transform: scale(1.35); } }
.minute { font-size: 12px; font-weight: 800; color: var(--live); text-align: center; margin-top: 4px; font-variant-numeric: tabular-nums; }
.momentum { margin-top: 14px; }
.momentum .lbl { display: flex; justify-content: space-between; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 5px; }
.momentum .bar { display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: var(--paper-2); }
.momentum .bar i { transition: width 1.2s var(--ease); }
.events { list-style: none; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); font-size: 13px; max-height: 120px; overflow: auto; }
.events li { display: flex; gap: 10px; padding: 3px 0; }
.events li b { width: 30px; flex: none; font-variant-numeric: tabular-nums; color: var(--muted); }

.race { padding: 16px; background: var(--ink); color: var(--paper); border-radius: var(--r); position: relative; overflow: hidden; }
.race .kicker { color: var(--lime); }
.race h4 { margin: 6px 0 2px; font-size: 18px; }
.race .sub { font-size: 12px; color: #8f9bab; }
.course { position: relative; margin: 22px 0 8px; height: 46px; }
.course .line { position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 6px, transparent 6px 10px); }
.course .done { position: absolute; left: 0; top: 21px; height: 4px; background: var(--lime); border-radius: 2px; transition: width 1s linear; }
.course .km { position: absolute; top: 32px; font-size: 9.5px; color: #8f9bab; transform: translateX(-50%); font-variant-numeric: tabular-nums; }
.course .km::before { content: ""; position: absolute; left: 50%; top: -9px; width: 1px; height: 6px; background: rgba(255,255,255,.35); }
.runner { position: absolute; top: 14px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; font-weight: 800; color: var(--ink); transition: left 1s linear; box-shadow: 0 0 0 2px var(--ink); }
.runner.lead { background: var(--lime); z-index: 3; }
.runner.p2 { background: var(--gold); z-index: 2; }
.runner.p3 { background: #e6ebf1; z-index: 1; }
.race-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.race-stats div { background: rgba(255,255,255,.05); border-radius: 4px; padding: 8px; }
.race-stats small { display: block; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: #8f9bab; font-weight: 700; }
.race-stats b { font-size: 17px; font-variant-numeric: tabular-nums; }
.pack { list-style: none; margin: 12px 0 0; padding: 0; font-size: 13px; }
.pack li { display: grid; grid-template-columns: 18px 1fr auto; gap: 8px; padding: 5px 0; border-top: 1px solid rgba(255,255,255,.07); align-items: center; }
.pack li i { font-style: normal; font-weight: 800; color: var(--lime); }
.pack li span:last-child { font-variant-numeric: tabular-nums; color: #b9c3d0; }

/* =========================================================
   ATHLETICS BAND (dark, CITIUS energy)
   ========================================================= */
.ath-band { position: relative; overflow: hidden; }
.ath-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(200,240,60,.10), transparent 70%),
    radial-gradient(500px 400px at 0% 100%, rgba(201,160,50,.12), transparent 70%);
}
.ath-band .wrap { position: relative; }
.ath-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.ath-title h2 { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(54px, 11vw, 132px); line-height: .8; text-transform: uppercase; letter-spacing: -.005em; }
.ath-title h2 .outline { color: transparent; -webkit-text-stroke: 1.5px var(--lime); }
.ath-title p { margin: 0; max-width: 38ch; color: #b9c3d0; font-family: var(--f-serif); font-style: italic; font-size: 18px; line-height: 1.35; }
.ath-sub { margin-bottom: 28px; }
.ath-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr) minmax(0, 1.15fr); gap: 28px; }
.ath-feature .cover { aspect-ratio: 4/5; }
.ath-feature h3 { font-family: var(--f-serif); font-weight: 600; font-size: 28px; line-height: 1.08; margin: 12px 0 8px; }
.ath-feature p { margin: 0 0 10px; color: #b9c3d0; }
.ath-latest { list-style: none; margin: 0; padding: 0; }
.ath-latest li { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1); }
.ath-latest li:first-child { border-top: 0; padding-top: 0; }
.ath-latest a { font-weight: 650; font-size: 15.5px; line-height: 1.3; display: block; margin-top: 4px; }
.ath-latest a:hover { color: var(--lime); }
.ath-results-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 10px; flex-wrap: wrap; }
.ath-results-head h4 { margin: 0; font-family: var(--f-display); font-size: 22px; font-weight: 900; text-transform: uppercase; }
.results-panel { min-height: 260px; }
.results-panel .dtable { animation: fadeUp .4s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } }

.aotw {
  margin-top: 36px;
  display: grid; grid-template-columns: 220px 1fr auto; gap: 28px; align-items: center;
  padding: 24px; border-radius: 10px;
  background: linear-gradient(120deg, rgba(200,240,60,.12), rgba(201,160,50,.08) 60%, transparent);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.aotw .portrait { aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px var(--lime), 0 0 0 7px rgba(200,240,60,.2); }
.aotw h3 { margin: 6px 0 4px; font-family: var(--f-display); font-weight: 900; font-size: clamp(34px, 5vw, 56px); text-transform: uppercase; line-height: .9; }
.aotw .why { color: #b9c3d0; max-width: 54ch; margin: 8px 0 0; font-family: var(--f-serif); font-size: 17px; }
.aotw .pbs { display: flex; gap: 22px; margin-top: 14px; flex-wrap: wrap; }
.aotw .pbs div small { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #8f9bab; font-weight: 700; }
.aotw .pbs div b { font-family: var(--f-display); font-weight: 800; font-size: 26px; font-variant-numeric: tabular-nums; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 700;
  background: var(--ink); color: var(--paper);
  transition: transform .15s, background .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--ink-3); }
.btn:active { transform: scale(.97); }
.btn.lime { background: var(--lime); color: var(--ink); }
.btn.lime:hover { background: #d9ff5c; }
.btn.gold { background: var(--gold); color: var(--ink); }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* =========================================================
   STORY CARDS (Kenyan / Global grids)
   ========================================================= */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.scard .cover { margin-bottom: 12px; }
.scard h4 { margin: 6px 0 6px; font-size: 17px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.scard p { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.scard:hover h4 { color: var(--gold-deep); }
.scard.lead { grid-column: span 2; grid-row: span 2; }
.scard.lead .cover { aspect-ratio: 16/10; }
.scard.lead h4 { font-family: var(--f-serif); font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; line-height: 1.1; }
.scard.lead p { font-size: 16px; }
.scard.text { padding-top: 14px; border-top: 3px solid var(--ink); }

.africa-filter { margin-bottom: 22px; }
.country-cards .scard { transition: opacity .3s, transform .3s; }
.country-cards .scard.dim { opacity: .18; transform: scale(.98); pointer-events: none; }
.abroad { margin-top: 30px; }
.abroad-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.mini-bar { display: inline-block; height: 6px; background: var(--gold); border-radius: 3px; vertical-align: middle; margin-left: 8px; transition: width 1s var(--ease); }

/* =========================================================
   PIMEYS DATA
   ========================================================= */
.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-bottom: 30px; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--line); }
.stat-strip div { padding: 18px 16px 16px; border-right: 1px solid var(--line); }
.stat-strip div:last-child { border-right: 0; }
.stat-strip b { display: block; font-family: var(--f-display); font-weight: 900; font-size: clamp(34px, 5vw, 58px); line-height: .95; font-variant-numeric: tabular-nums; }
.stat-strip span { font-size: 13px; color: var(--muted); line-height: 1.35; display: block; margin-top: 6px; }
.data-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.chart-card { padding: 20px; }
.chart-card h4 { margin: 0 0 4px; font-family: var(--f-serif); font-size: 22px; font-weight: 600; }
.chart-card .cap { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.chart-wrap { position: relative; }
.chart-wrap svg { width: 100%; height: auto; overflow: visible; }
.chart-wrap .axis text { font-size: 11px; fill: var(--muted); font-family: var(--f-sans); }
.chart-wrap .grid line { stroke: var(--line); }
.chart-wrap .series path.l { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart-wrap .series path.l.draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1.6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chart-wrap .series circle { transition: r .2s; }
.chart-wrap .hoverline { stroke: var(--ink); stroke-dasharray: 3 3; opacity: 0; }
.tip {
  position: absolute; pointer-events: none; z-index: 5;
  background: var(--ink); color: var(--paper);
  font-size: 12px; padding: 8px 10px; border-radius: 5px;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s;
  white-space: nowrap;
}
.tip.on { opacity: 1; transform: none; }
.tip b { font-variant-numeric: tabular-nums; }
.tip .k { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }
.legend { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.legend button { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); transition: opacity .2s; }
.legend button i { width: 10px; height: 10px; border-radius: 2px; }
.legend button.off { opacity: .35; }

.h2h { padding: 20px; }
.h2h h4 { margin: 0 0 12px; font-family: var(--f-serif); font-size: 22px; font-weight: 600; }
.h2h-pick { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; margin-bottom: 14px; }
.h2h-pick select {
  width: 100%; appearance: none; font: inherit; font-size: 13.5px; font-weight: 600;
  padding: 9px 30px 9px 10px; border-radius: 6px; border: 1px solid var(--line-strong); background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%230c1b2e'/%3E%3C/svg%3E") no-repeat right 10px center;
  color: var(--ink);
}
.h2h-pick .vs { font-family: var(--f-display); font-weight: 900; font-size: 18px; color: var(--muted); }
.h2h-row { display: grid; grid-template-columns: 64px 1fr 74px 1fr 64px; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.h2h-row .lab { text-align: center; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.h2h-row .v { font-weight: 700; font-variant-numeric: tabular-nums; }
.h2h-row .v.r { text-align: right; }
.h2h-row .b { height: 8px; background: var(--paper-2); border-radius: 4px; overflow: hidden; display: flex; }
.h2h-row .b.l { justify-content: flex-end; }
.h2h-row .b i { height: 100%; border-radius: 4px; transition: width .8s var(--ease); }
.h2h-row .b.l i { background: var(--ink); }
.h2h-row .b.rr i { background: var(--gold); }
.h2h-row .v.best { color: var(--win); }

/* =========================================================
   FEATURES RAIL
   ========================================================= */
.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 30%);
  gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 6px; cursor: grab;
  overscroll-behavior-x: contain;
}
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.dragging a { pointer-events: none; }
.rail::-webkit-scrollbar { display: none; }
.fcard { scroll-snap-align: start; display: flex; flex-direction: column; background: var(--card); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; user-select: none; }
.fcard:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(12,27,46,.06), 0 18px 34px -18px rgba(12,27,46,.45); }
.fcard .cover { border-radius: 0; aspect-ratio: 4/3; }
.fcard .in { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.fcard .fmt { font-family: var(--f-display); font-weight: 900; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.fcard h4 { margin: 6px 0 8px; font-family: var(--f-serif); font-weight: 600; font-size: 22px; line-height: 1.12; }
.fcard p { margin: 0 0 12px; font-size: 14px; color: var(--muted); flex: 1; }
.rail-ctrl { display: flex; gap: 6px; }
.rail-ctrl button { width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink); display: grid; place-items: center; transition: background .2s, color .2s; }
.rail-ctrl button:hover { background: var(--ink); color: var(--paper); }
.rail-ctrl button:disabled { opacity: .3; pointer-events: none; }
.rail-bar { height: 3px; background: var(--line); margin-top: 16px; border-radius: 2px; overflow: hidden; }
.rail-bar i { display: block; height: 100%; background: var(--gold); width: 20%; transition: transform .1s linear; }

/* =========================================================
   ENGAGE (poll + newsletter)
   ========================================================= */
.engage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.poll { padding: 22px; }
.poll h4 { margin: 8px 0 14px; font-family: var(--f-serif); font-size: 24px; font-weight: 600; line-height: 1.15; }
.poll-opt { position: relative; display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 12px 14px; margin-bottom: 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-strong); overflow: hidden; font-weight: 600; font-size: 14.5px; text-align: left; transition: box-shadow .2s; }
.poll-opt:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.poll-opt .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(201,160,50,.22); transition: width .9s var(--ease); z-index: 0; }
.poll-opt span { position: relative; z-index: 1; }
.poll-opt .pct { font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .4s .3s; }
.poll.voted .poll-opt { pointer-events: none; }
.poll.voted .poll-opt .pct { opacity: 1; }
.poll-opt.mine { box-shadow: inset 0 0 0 2px var(--gold); }
.poll-opt.mine .fill { background: rgba(201,160,50,.4); }
.news-box { padding: 26px; background: var(--ink); color: var(--paper); border-radius: var(--r); position: relative; overflow: hidden; }
.news-box h4 { margin: 8px 0 8px; font-family: var(--f-display); font-weight: 900; font-size: 40px; text-transform: uppercase; line-height: .9; }
.news-box p { color: #b9c3d0; margin: 0 0 18px; font-family: var(--f-serif); font-size: 17px; }
.news-form { display: flex; gap: 8px; }
.news-form input { flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 12px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; }
.news-form input::placeholder { color: #8f9bab; }
.news-box .ok { display: none; font-weight: 700; color: var(--lime); }
.news-box.done .news-form { display: none; }
.news-box.done .ok { display: block; animation: fadeUp .4s var(--ease); }
.news-box .bigmark { position: absolute; right: -30px; bottom: -40px; height: 220px; opacity: .08; }
.news-box .bigmark .mark { color: #fff; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-foot { background: var(--ink); color: #b9c3d0; padding: 56px 0 100px; margin-top: 20px; font-size: 14px; }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-brand .mark { height: 66px; margin-bottom: 14px; }
.foot-brand p { font-family: var(--f-serif); font-style: italic; font-size: 17px; color: #e6ebf1; max-width: 30ch; margin: 0; }
.site-foot h5 { margin: 0 0 12px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 8px; }
.site-foot a:hover { color: #fff; }
.foot-bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 12px; color: #7c889a; }
.foot-bot .proto { color: var(--gold-2); }

/* =========================================================
   MOBILE BOTTOM TAB BAR / DRAWER / SEARCH
   ========================================================= */
.tabbar { display: none; }
.drawer { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(8,19,31,.55); opacity: 0; transition: opacity .3s; }
.drawer .panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw);
  background: var(--ink); color: var(--paper);
  transform: translateX(100%); transition: transform .4s var(--ease);
  overflow-y: auto; padding: 18px 22px 40px;
}
.drawer.open { pointer-events: auto; }
.drawer.open .scrim { opacity: 1; }
.drawer.open .panel { transform: none; }
.drawer .close { position: absolute; right: 14px; top: 14px; }
.drawer h6 { margin: 26px 0 8px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
.drawer nav a { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-weight: 600; font-size: 16px; }
.drawer nav a span { color: #6f7c8e; }
.drawer nav a:hover { color: var(--lime); }

.search { position: fixed; inset: 0; z-index: 95; background: rgba(245,241,232,.97); backdrop-filter: blur(6px); display: none; overflow-y: auto; }
.search.open { display: block; animation: fadeUp .25s var(--ease); }
.search .wrap { max-width: 760px; padding-top: 40px; padding-bottom: 60px; }
.search-input { display: flex; align-items: center; gap: 10px; border-bottom: 3px solid var(--ink); padding-bottom: 8px; }
.search-input input { flex: 1; min-width: 0; font: inherit; font-family: var(--f-serif); font-size: clamp(26px, 5vw, 40px); border: 0; background: transparent; color: var(--ink); outline: none; }
.search-results { list-style: none; margin: 20px 0 0; padding: 0; }
.search-results li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
.search-results li a:hover b { color: var(--gold-deep); }
.search-results b { display: block; font-size: 17px; margin-top: 3px; }
.search-results mark { background: var(--gold-2); color: inherit; padding: 0 2px; }
.search .hint { margin-top: 16px; font-size: 13px; color: var(--muted); }
.search .hint .chip { margin: 6px 6px 0 0; }

.toast {
  position: fixed; left: 50%; bottom: 84px; z-index: 99;
  transform: translate(-50%, 20px); opacity: 0;
  background: var(--ink); color: var(--paper);
  padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
  transition: all .35s var(--ease); pointer-events: none;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.6);
}
.toast.on { transform: translate(-50%, 0); opacity: 1; }

.star-btn { width: 32px; height: 32px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--muted); transition: color .2s, transform .25s cubic-bezier(.3,1.8,.5,1); }
.star-btn:hover { color: var(--gold-deep); }
.star-btn.on { color: var(--gold); transform: rotate(72deg); }
.star-btn svg { width: 18px; height: 18px; }

.progress-top { position: fixed; left: 0; top: 0; height: 3px; background: var(--gold); z-index: 120; width: 0; }

/* =========================================================
   PAGE HEADERS (inner pages)
   ========================================================= */
.page-head { padding: 34px 0 26px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 6px 0 8px; font-family: var(--f-display); font-weight: 900; font-size: clamp(44px, 8vw, 96px); line-height: .86; text-transform: uppercase; }
.page-head p { margin: 0; font-family: var(--f-serif); font-size: 19px; color: #3b4452; max-width: 60ch; }
.page-head.dark { background: var(--ink); color: var(--paper); border: 0; }
.page-head.dark p { color: #b9c3d0; }
.crumbs { font-size: 12px; color: var(--muted); }
.crumbs a:hover { text-decoration: underline; }
.page-head.dark .crumbs { color: #8f9bab; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1120px) {
  .mainnav a { padding: 8px 7px; font-size: 13px; }
  .mainnav .opt { display: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .foot-top { grid-template-columns: repeat(3, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .mainnav { display: none; }
  .menu-btn { display: grid; }
  .btn-follow { display: none; }
  .hero-grid, .latest-grid, .data-grid, .engage, .abroad-row { grid-template-columns: minmax(0,1fr); }
  .live-col { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ath-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .ath-feature { grid-column: 1 / -1; }
  .ath-feature .cover { aspect-ratio: 16/10; }
  .aotw { grid-template-columns: 140px 1fr; }
  .aotw .cta { grid-column: 1 / -1; }
  .rail { grid-auto-columns: minmax(260px, 46%); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip div:nth-child(2) { border-right: 0; }
  .stat-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 680px) {
  body { font-size: 15px; padding-bottom: 64px; }
  .mh-row { height: 56px; gap: 10px; }
  .brand .mark { height: 34px; }
  .brand-word b { font-size: 19px; }
  .brand-word span { font-size: 8.5px; letter-spacing: .26em; }
  .icon-btn { width: 36px; height: 36px; }
  .edition .greet { display: none; }
  .section { padding: 32px 0; }
  .hero { padding-top: 16px; }
  .hero-main .cover { aspect-ratio: 4/3; margin: 0 calc(var(--gut) * -1); border-radius: 0; }
  .hero-copy p { font-size: 15.5px; }
  .quick-cards { grid-template-columns: minmax(0,1fr); gap: 0; }
  .qcard { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .qcard .cover { margin: 0; aspect-ratio: 1; }
  .qcard h4 { font-size: 15px; margin-top: 3px; }
  .live-col { grid-template-columns: minmax(0,1fr); }
  .feed::before { left: 52px; }
  .feed li { grid-template-columns: 44px 20px 1fr; }
  .feed .body a { font-size: 15px; }
  .ath-grid { grid-template-columns: minmax(0,1fr); }
  .aotw { grid-template-columns: 1fr; text-align: left; padding: 18px; }
  .aotw .portrait { width: 120px; }
  .grid-4, .grid-3 { grid-template-columns: minmax(0,1fr); gap: 0; }
  .scard { display: grid; grid-template-columns: minmax(0,1fr) 108px; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .scard .cover { order: 2; margin: 0; aspect-ratio: 1; }
  .scard h4 { font-size: 15.5px; margin-top: 4px; }
  .scard p { display: none; }
  .scard.lead { grid-column: auto; grid-row: auto; display: block; }
  .scard.lead .cover { margin-bottom: 12px; aspect-ratio: 16/10; }
  .scard.lead p { display: block; font-size: 15px; }
  .rail { grid-auto-columns: 82%; gap: 14px; }
  .rail-ctrl { display: none; }
  .dtable { font-size: 13px; }
  .dtable th, .dtable td { padding-left: 6px; padding-right: 6px; }
  .dtable .hide-sm { display: none; }
  .news-form { flex-direction: column; }
  .h2h-row { grid-template-columns: 54px 1fr 60px 1fr 54px; font-size: 12px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .site-foot { padding-bottom: 110px; }

  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: rgba(12,27,46,.97); backdrop-filter: blur(8px);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10.5px; font-weight: 600; color: #8f9bab; padding: 4px 0; }
  .tabbar a svg { width: 22px; height: 22px; }
  .tabbar a.on { color: var(--lime); }
  .tabbar a.on svg { transform: translateY(-1px); }
}

/* race calendar list (athletics + results) */
    .cal { list-style: none; margin: 0; padding: 0; }
    .cal li { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
    .cal .date { text-align: center; border-radius: 6px; padding: 6px 0; background: var(--paper-2); }
    .cal .date b { display: block; font-family: var(--f-display); font-weight: 900; font-size: 28px; line-height: .9; }
    .cal .date small { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
    .cal li.next .date { background: var(--ink); color: var(--paper); }
    .cal li.next .date small { color: var(--lime); }
    .cal h5 { margin: 0 0 2px; font-size: 16px; }
    .remind { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink); white-space: nowrap; transition: all .2s; }
    .remind.on { background: var(--ink); color: var(--paper); }

/* the chrome wrapper must not trap the sticky masthead */
#chrome-top { display: contents; }

/* live strip sport picker */
.livestrip { position: relative; z-index: 60; }
.ls-pick { position: relative; padding: 0 10px; }
.ls-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff;
  white-space: nowrap; transition: background .2s, box-shadow .2s;
}
.ls-btn:hover, .ls-btn[aria-expanded="true"] { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px var(--gold); }
.ls-btn svg { transition: transform .25s var(--ease); opacity: .8; }
.ls-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.ls-menu {
  position: absolute; left: 10px; top: calc(100% + 6px); z-index: 70;
  list-style: none; margin: 0; padding: 6px; min-width: 200px;
  background: var(--card); color: var(--ink); border-radius: 8px;
  box-shadow: 0 14px 34px -10px rgba(0,0,0,.55);
  opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden;
  transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.ls-menu.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.ls-menu li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 9px 10px; border-radius: 5px; cursor: pointer;
  font-size: 13.5px; font-weight: 600; letter-spacing: 0; text-transform: none;
  outline: none;
}
.ls-menu li:hover, .ls-menu li:focus { background: var(--paper-2); }
.ls-menu li[aria-selected="true"] { color: var(--gold-deep); }
.ls-menu li[aria-selected="true"]::after { content: "✓"; margin-left: auto; }
.ls-menu li .n { margin-left: auto; font-size: 10.5px; font-weight: 700; color: var(--live); letter-spacing: .04em; }
.ls-menu li[aria-selected="true"] .n { margin-left: 0; }
.ls-empty { display: flex; align-items: center; padding: 0 16px; color: #8e99a8; font-size: 12px; min-height: 52px; }
@media (max-width: 680px) {
  .ls-pick { padding: 0 8px; }
  .ls-btn { padding: 7px 10px; letter-spacing: .06em; }
  .ls-menu { left: 8px; }
}
