:root {
  --accent: #e11d2e;
  --accent-2: #ff4757;
  --yellow: #fcd116;
  --red: #ff3b5c;
  --bg: #070c1f;
  --surface: #0f1730;
  --surface-2: #17213f;
  --text: #f3f5fb;
  --muted: #94a0bd;
  --line: rgb(255 255 255 / 8%);
  --radius: 14px;
  --head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --gradient: linear-gradient(100deg, var(--accent), var(--accent-2));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(1000px 520px at 50% -180px, rgb(47 107 255 / 20%), transparent 70%), url(/assets/sports-pattern.svg?v=5) 0 0 / 360px 360px, var(--bg);
  background-repeat: no-repeat, repeat;
  color: var(--text);
  font: 15px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--gradient); color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: 0 10px 28px -10px rgb(225 29 46 / 70%);
  transition: transform 0.2s var(--ease), filter 0.2s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn--ghost { background: rgb(255 255 255 / 12%); box-shadow: none; backdrop-filter: blur(10px); border: 1px solid rgb(255 255 255 / 18%); }
.btn--small { padding: 8px 16px; font-size: 13.5px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgb(7 12 31 / 78%);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.site-header__bar { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.logo__words { display: flex; flex-direction: column; gap: 3px; }
.logo__text { display: inline-block; font: 900 23px/1 'Orbitron', var(--head); letter-spacing: 0.04em; color: #f2f9ff; transform: skewX(-8deg); white-space: nowrap; text-shadow: 0 0 1px #fff, 0 0 4px rgb(160 215 255 / 80%), 0 0 10px rgb(80 160 255 / 45%); }
.logo__text b { font-weight: 900; color: #3d9bff; text-shadow: 0 0 1px #9fd0ff, 0 0 5px #1f7bff, 0 0 12px #0a5cff, 0 0 22px rgb(10 92 255 / 70%); }
.logo__com { display: inline-block; margin-left: 5px; padding: 3px 5px; border-radius: 4px; background: #ff2b42; color: #fff; font-size: 0.42em; font-style: normal; letter-spacing: 0.04em; vertical-align: 0.95em; text-shadow: none; box-shadow: 0 0 8px #ff2b42, 0 0 18px rgb(255 43 66 / 60%); position: relative; }
.logo__com::after { content: '\2122'; position: absolute; right: 0; top: 100%; margin-top: 0.35em; font: 700 1.05em/1 var(--body); letter-spacing: 0; color: #f2f9ff; text-shadow: 0 0 4px rgb(160 215 255 / 80%); }
.logo__tag { font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); font-style: italic; }
.logo--small .logo__text { font-size: 18px; }
.main-nav { display: flex; gap: 6px; flex: none; }
.main-nav a { padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: #cdd4e6; transition: color 0.2s, background 0.2s; }
.main-nav a:hover { color: #fff; background: rgb(255 255 255 / 6%); }
.main-nav a[aria-current] { color: #fff; box-shadow: inset 0 -2px 0 var(--accent-2); border-radius: 10px 10px 0 0; }
.header-cta { flex: none; }
.doodle { flex: 1; min-width: 0; height: 100%; container-type: inline-size; }
.doodle__set, .doodle__page { display: flex; justify-content: center; align-items: center; gap: 22px; height: 100%; }
.doodle .doodle__item, .doodle picture { display: flex; align-items: center; max-width: 100%; height: 100%; border-radius: 10px; }
.doodle img { display: block; height: 56px; width: auto; max-width: 100%; object-fit: contain; transition: transform .25s, filter .25s; }
.doodle a.doodle__item:hover img { transform: translateY(-1px) scale(1.04); filter: brightness(1.12); }
.doodle a.doodle__item:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
/* Taking turns: everything stacked in one spot, each shown for 5 seconds. */
.doodle__turns:not(.doodle__turns--1) { display: grid; place-items: center; }
.doodle__turns:not(.doodle__turns--1) > * { grid-area: 1 / 1; }
.doodle__turns--2 > * { animation: doodle-turn2 10s infinite; }
.doodle__turns--2 > :nth-child(2) { animation-delay: -5s; }
@keyframes doodle-turn2 { 0%, 47.0% { opacity: 1; visibility: visible; } 50.0%, 97% { opacity: 0; visibility: hidden; } 100% { opacity: 1; visibility: visible; } }
.doodle__turns--3 > * { animation: doodle-turn3 15s infinite; }
.doodle__turns--3 > :nth-child(2) { animation-delay: -10s; }
.doodle__turns--3 > :nth-child(3) { animation-delay: -5s; }
@keyframes doodle-turn3 { 0%, 30.3% { opacity: 1; visibility: visible; } 33.3%, 97% { opacity: 0; visibility: hidden; } 100% { opacity: 1; visibility: visible; } }
.doodle__turns--4 > * { animation: doodle-turn4 20s infinite; }
.doodle__turns--4 > :nth-child(2) { animation-delay: -15s; }
.doodle__turns--4 > :nth-child(3) { animation-delay: -10s; }
.doodle__turns--4 > :nth-child(4) { animation-delay: -5s; }
@keyframes doodle-turn4 { 0%, 22.0% { opacity: 1; visibility: visible; } 25.0%, 97% { opacity: 0; visibility: hidden; } 100% { opacity: 1; visibility: visible; } }
.doodle__turns--5 > * { animation: doodle-turn5 25s infinite; }
.doodle__turns--5 > :nth-child(2) { animation-delay: -20s; }
.doodle__turns--5 > :nth-child(3) { animation-delay: -15s; }
.doodle__turns--5 > :nth-child(4) { animation-delay: -10s; }
.doodle__turns--5 > :nth-child(5) { animation-delay: -5s; }
@keyframes doodle-turn5 { 0%, 17.0% { opacity: 1; visibility: visible; } 20.0%, 97% { opacity: 0; visibility: hidden; } 100% { opacity: 1; visibility: visible; } }
.doodle__turns--6 > * { animation: doodle-turn6 30s infinite; }
.doodle__turns--6 > :nth-child(2) { animation-delay: -25s; }
.doodle__turns--6 > :nth-child(3) { animation-delay: -20s; }
.doodle__turns--6 > :nth-child(4) { animation-delay: -15s; }
.doodle__turns--6 > :nth-child(5) { animation-delay: -10s; }
.doodle__turns--6 > :nth-child(6) { animation-delay: -5s; }
@keyframes doodle-turn6 { 0%, 14.7% { opacity: 1; visibility: visible; } 16.7%, 98% { opacity: 0; visibility: hidden; } 100% { opacity: 1; visibility: visible; } }
.doodle__turns--7 > * { animation: doodle-turn7 35s infinite; }
.doodle__turns--7 > :nth-child(2) { animation-delay: -30s; }
.doodle__turns--7 > :nth-child(3) { animation-delay: -25s; }
.doodle__turns--7 > :nth-child(4) { animation-delay: -20s; }
.doodle__turns--7 > :nth-child(5) { animation-delay: -15s; }
.doodle__turns--7 > :nth-child(6) { animation-delay: -10s; }
.doodle__turns--7 > :nth-child(7) { animation-delay: -5s; }
@keyframes doodle-turn7 { 0%, 12.3% { opacity: 1; visibility: visible; } 14.3%, 98% { opacity: 0; visibility: hidden; } 100% { opacity: 1; visibility: visible; } }
.doodle__turns--8 > * { animation: doodle-turn8 40s infinite; }
.doodle__turns--8 > :nth-child(2) { animation-delay: -35s; }
.doodle__turns--8 > :nth-child(3) { animation-delay: -30s; }
.doodle__turns--8 > :nth-child(4) { animation-delay: -25s; }
.doodle__turns--8 > :nth-child(5) { animation-delay: -20s; }
.doodle__turns--8 > :nth-child(6) { animation-delay: -15s; }
.doodle__turns--8 > :nth-child(7) { animation-delay: -10s; }
.doodle__turns--8 > :nth-child(8) { animation-delay: -5s; }
@keyframes doodle-turn8 { 0%, 10.5% { opacity: 1; visibility: visible; } 12.5%, 98% { opacity: 0; visibility: hidden; } 100% { opacity: 1; visibility: visible; } }
/* Side by side (in groups) once the bar has room; until then, one at a time. Pictures shrink a little to fit. */
.doodle__set--wide { display: none !important; }
.doodle__page .doodle__item { flex: 0 1 auto; min-width: 0; }
.doodle__page img { height: auto; max-height: 52px; }
@container (min-width: 420px) { .doodle--fit2 .doodle__set--wide { display: grid !important; } .doodle--fit2 .doodle__set--narrow { display: none; } }
@container (min-width: 520px) {
  .doodle--fit3 .doodle__set--wide, .doodle--fit4 .doodle__set--wide { display: grid !important; }
  .doodle--fit3 .doodle__set--narrow, .doodle--fit4 .doodle__set--narrow { display: none; }
  .doodle--fit3 .doodle__page, .doodle--fit4 .doodle__page { gap: 14px; }
  .doodle--fit3 .doodle__page img, .doodle--fit4 .doodle__page img { max-height: 46px; }
}
.doodle__set--wide.doodle__turns--1 .doodle__page { width: 100%; }
@media (prefers-reduced-motion: reduce) { .doodle__turns > :not(:first-child) { display: none; } }

.sport-nav { border-top: 1px solid var(--line); }
.sport-nav__frame { position: relative; max-width: 1320px; margin: 0 auto; }
.sport-nav__arrows { position: absolute; top: 0; bottom: 0; right: 0; display: flex; align-items: center; gap: 6px; padding: 0 24px 0 36px;
  background: linear-gradient(90deg, rgb(7 12 31 / 0%), #070c1f 32%); pointer-events: none; }
.sport-nav__arrows[hidden] { display: none; }
.sport-nav__arrows button { pointer-events: auto; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 18px; line-height: 1;
  color: #fff; border: 1px solid var(--line); background: var(--surface); transition: background 0.2s, opacity 0.2s; }
.sport-nav__arrows button:hover:not(:disabled) { background: var(--surface-2); }
.sport-nav__arrows button:disabled { opacity: .35; cursor: default; }
@media (hover: none) { .sport-nav__arrows { display: none !important; } }
@media (hover: hover) { .sport-nav__inner::after { content: ""; flex: none; width: 96px; } }
.sport-nav__inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 8px; padding-bottom: 8px; }
.sport-nav__inner::-webkit-scrollbar { display: none; }
/* "Top" stays put while the sports scroll past it */
.sport-nav__pin { --gut: 24px; position: sticky; left: calc(-1 * var(--gut)); z-index: 2; flex: none; display: flex;
  margin-left: calc(-1 * var(--gut)); padding-left: var(--gut); padding-right: 18px; margin-right: -12px;
  background: linear-gradient(90deg, #070c1f 78%, rgb(7 12 31 / 0%)); }
.sport-nav__pin .sport-nav__link:not(.is-active) { box-shadow: 0 0 0 1px rgb(255 255 255 / 18%) inset; color: #fff; }
.sport-nav__link {
  flex: none; padding: 6px 13px; border-radius: 999px; white-space: nowrap;
  font-size: 13px; font-weight: 600; color: #b8c1d9; transition: background 0.2s, color 0.2s;
}
.sport-nav__link:hover { background: rgb(255 255 255 / 8%); color: #fff; }
.sport-nav__link.is-active { background: #fff; color: #0a1028; }
.sport-nav__inner > .sport-nav__link { position: relative; }
.sport-nav__inner > .sport-nav__link + .sport-nav__link::before { content: ""; position: absolute; left: -3px; top: 50%; width: 1px; height: 14px; transform: translateY(-50%); background: rgb(255 255 255 / 22%); pointer-events: none; }
.sport-nav__inner > .sport-nav__link.is-active + .sport-nav__link::before { display: none; }

main.wrap { padding-top: 24px; padding-bottom: 64px; }

/* Shared media: photo, or a sport-coloured panel with the sport icon */
.card__media, .slide__media {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgb(255 255 255 / 20%), transparent 42%),
    linear-gradient(140deg, var(--sport), color-mix(in srgb, var(--sport) 30%, #040713));
}
.card__media img, .slide__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; z-index: 1; }
.slide__media .media__bg { filter: blur(28px) saturate(1.2) brightness(.55); transform: scale(1.15); }
.slide__media .media__main { object-fit: contain; object-position: right center; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); }
.fallback { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 16px 18px;
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--sport) 55%, transparent), transparent 60%), linear-gradient(160deg, color-mix(in srgb, var(--sport) 35%, #0f1730), #0a1022); }
.fallback__icon { position: absolute; top: 14px; right: 16px; font-size: 26px; opacity: .9; }
.fallback__src { font: italic 800 clamp(18px, 2.2vw, 26px)/1.05 var(--head); letter-spacing: -0.01em; text-transform: uppercase; color: #fff; text-shadow: 0 2px 12px rgb(0 0 0 / 30%); word-break: break-word; }
.fallback__src::before { content: ''; display: block; width: 34px; height: 4px; border-radius: 2px; background: var(--sport); margin-bottom: 10px; }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #fff;
}
.badge--new { background: var(--red); }
.badge--new::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.6s infinite; }
.badge--featured { background: var(--yellow); color: #1a1400; }
@keyframes blink { 50% { opacity: 0.25; } }

/* Hero carousel */
.carousel { position: relative; border-radius: 24px; overflow: hidden; background: var(--surface); }
.carousel__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; height: clamp(380px, 46vw, 560px); }
.slide__media { position: absolute; inset: 0; }
.slide__media .fallback { padding: 0 9% 0 0; justify-content: center; align-items: flex-end; }
.slide__media .fallback__icon { position: static; font-size: clamp(90px, 12vw, 160px); }
.slide__media .fallback__src { display: none; }
.slide__media::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, rgb(7 12 31 / 94%) 0%, rgb(7 12 31 / 70%) 38%, transparent 72%),
    linear-gradient(0deg, rgb(7 12 31 / 85%), transparent 45%);
}
.slide__content {
  position: absolute; z-index: 3; left: 0; bottom: 0; top: 0; width: min(620px, 100%);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 48px 48px 64px;
}
.slide__tags { display: flex; gap: 8px; align-items: center; }
.slide__sport { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 6px; background: rgb(255 255 255 / 14%); backdrop-filter: blur(8px); }
.slide__title { font-size: clamp(28px, 3.6vw, 48px); font-weight: 800; }
.slide__title a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.slide__summary { margin: 0; color: #d0d7e8; font-size: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide__meta { margin: 0; color: var(--muted); font-size: 13px; }
.slide__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.carousel__dots { position: absolute; z-index: 4; left: 48px; bottom: 26px; display: flex; gap: 8px; }
.carousel__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgb(255 255 255 / 35%); cursor: pointer; transition: width 0.3s var(--ease), background 0.3s; }
.carousel__dots button.on { width: 28px; background: #fff; }
.carousel__arrow {
  position: absolute; z-index: 4; bottom: 18px; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgb(255 255 255 / 18%); background: rgb(7 12 31 / 55%); backdrop-filter: blur(8px);
  font-size: 22px; line-height: 1; transition: background 0.2s;
}
.carousel__arrow:hover { background: rgb(255 255 255 / 18%); }
.carousel__arrow--prev { right: 70px; }
.carousel__arrow--next { right: 22px; }

/* Rows */
.rail { margin-top: 44px; }
.rail__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.rail__head h2 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.rail__more { font-size: 13.5px; font-weight: 600; color: #ff7a85; }
.rail__more::after { content: ' ›'; }
.rail__more:hover { color: #fff; }
.rail__arrows { margin-left: auto; display: flex; gap: 6px; }
.rail__arrows[hidden] { display: none; }
.rail__arrows button {
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 20px; line-height: 1;
  border: 1px solid var(--line); background: var(--surface); transition: background 0.2s;
}
.rail__arrows button:hover { background: var(--surface-2); }
.rail__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 300px; gap: 16px;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  margin: 0 -24px; padding: 4px 24px 8px; scroll-padding: 0 24px;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; }
/* Sport tiles: whole tiles fill the row exactly, with soft fades at the edges instead of a hard cut */
.rail--sports .rail__track { --n: 8; gap: 10px; align-items: start; grid-auto-columns: calc((100% - (var(--n) - 1) * 10px) / var(--n));
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent); }
@media (max-width: 1100px) { .rail--sports .rail__track { --n: 6; } }
@media (max-width: 860px) { .rail--sports .rail__track { --n: 5; } }

/* Story card */
.card__link { display: flex; flex-direction: column; gap: 10px; height: 100%; }
.card__media { aspect-ratio: 16 / 9; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line) inset; transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.card__media img { transition: transform 0.6s var(--ease); }
.card__link:hover .card__media { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--accent), 0 18px 36px -16px rgb(225 29 46 / 70%); }
.card__link:hover .card__media img { transform: scale(1.05); }
.card__badges { position: absolute; z-index: 2; left: 10px; top: 10px; display: flex; gap: 6px; }
.card__body { display: flex; flex-direction: column; gap: 4px; padding: 0 2px; }
.card__sport { font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: color-mix(in srgb, var(--sport) 50%, #fff); }
.card__title { font-size: 15.5px; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__link:hover .card__title { color: #ffd0d4; }
.card__meta { margin: 0; color: var(--muted); font-size: 12.5px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 28px 18px; margin: 16px 0 8px; }

/* Sport tiles ("channels") */
.sport-card {
  position: relative; display: flex; flex-direction: column; padding: 11px 12px 10px; border-radius: 12px; container-type: inline-size;
  background: linear-gradient(160deg, color-mix(in srgb, var(--sport) 24%, #0f1730), #0b1226 70%);
  box-shadow: 0 0 0 1px var(--line) inset;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.sport-card:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--sport) 70%, #fff) inset, 0 10px 24px -14px var(--sport); }
.sport-card__name { font: italic 800 min(13px, 11cqi)/1.2 var(--head); text-transform: uppercase; padding-bottom: 6px; margin-bottom: 6px; border-bottom: 1px solid var(--line);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sport-card__num { font: 900 40px/1 'Doto', var(--head); letter-spacing: 0.02em; margin: 1px 0 -1px; color: color-mix(in srgb, var(--sport) 85%, #fff); filter: saturate(1.6) brightness(1.15); text-shadow: 0 0 2px color-mix(in srgb, var(--sport) 60%, #fff), 0 0 8px var(--sport), 0 0 18px var(--sport); }
.sport-card__count { font-size: 9px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@container (max-width: 150px) { .sport-card__wk { display: none; } }
.sport-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; align-items: start; margin-top: 16px; }

/* Sections, sport banner */
.section { margin-top: 44px; }
.section__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 40px 0 4px; }
.section__head h1, .section__head h2 { font-size: 24px; }
.more { font-size: 13.5px; font-weight: 600; color: #ff7a85; }

.sport-banner {
  display: flex; align-items: center; gap: 18px; margin-bottom: 20px; padding: 6px 0;
}
.event-banner { display: flex; align-items: center; gap: 22px; margin: 26px 0 22px; padding: 18px 24px; border-radius: 20px; background: linear-gradient(100deg, rgb(61 155 255 / 12%), rgb(255 43 66 / 8%)); border: 1px solid var(--line); }
.event-banner__art { height: 84px; width: auto; max-width: 46%; flex: none; }
.event-banner h1 { font-size: clamp(26px, 4vw, 42px); margin: 0; }
.event-banner p { margin: 4px 0 0; color: var(--muted); }
.event-banner .event-banner__sub { color: #fcd116; font-weight: 600; letter-spacing: .02em; }
@media (max-width: 640px) { .event-banner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; } .event-banner__art { height: 60px; max-width: 100%; } }
.sport-banner__icon { display: none; } /* icon removed from the sport page header */
.sport-banner h1 { font-size: clamp(30px, 4.4vw, 46px); }
.sport-banner p { margin: 4px 0 0; color: var(--muted); }

/* Ads */
.ad { margin: 40px auto; text-align: center; }
.ad__label { display: block; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ad--placeholder { display: grid; place-items: center; border: 1px dashed rgb(255 255 255 / 14%); border-radius: 14px; background: rgb(255 255 255 / 2%); }
.ad--placeholder.ad--leaderboard { max-width: 728px; height: 90px; }
.ad--placeholder.ad--infeed { height: 110px; }
.ad--placeholder.ad--rectangle { width: 300px; height: 250px; }

.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(255 59 92 / 60%); } 70%, 100% { box-shadow: 0 0 0 8px rgb(255 59 92 / 0%); } }

.empty { text-align: center; padding: 72px 16px; }
.empty h1, .empty h2 { font-size: 32px; margin-bottom: 10px; }
.empty p { color: var(--muted); }
.empty a { color: #ff7a85; font-weight: 600; }

.prose { max-width: 720px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); padding: 36px; border-radius: 22px; color: #d4dbea; }
.prose h1 { font-size: 38px; margin-bottom: 14px; color: var(--text); }
.prose h2 { font-size: 21px; margin-top: 28px; color: var(--text); }
.prose a { color: #ff7a85; text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #050914; color: #aeb7cf; padding: 44px 0 26px; }
.site-footer__inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer__inner p { max-width: 460px; font-size: 14px; color: var(--muted); }
.site-footer__links { display: flex; gap: 22px; flex-wrap: wrap; align-items: start; font-size: 14px; }
.site-footer__links a:hover { color: #fff; }
.site-footer__copy { font-size: 13px; color: #5a6482; margin-top: 18px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .site-header__bar { justify-content: space-between; height: 60px; }
  .site-header__bar { gap: 14px; }
  .doodle img { height: 44px; }
  .slide { height: 480px; }
  .slide__media .media__main { object-fit: cover; object-position: center 20%; -webkit-mask-image: none; mask-image: none; }
  .slide__media::after { background: linear-gradient(0deg, rgb(7 12 31 / 96%) 10%, rgb(7 12 31 / 55%) 55%, rgb(7 12 31 / 10%)); }
  .slide__media .fallback { justify-content: flex-start; align-items: center; padding: 40px 0 0; }
  .slide__content { width: 100%; padding: 24px 22px 58px; gap: 10px; }
  .slide__summary { display: none; }
  .carousel__dots { left: 22px; bottom: 24px; }
  .carousel__arrow { display: none; }
}
@media (max-width: 560px) {
  .logo__tag { display: none; }
  .header-cta { padding: 7px 12px; }
  .site-header__bar { gap: 10px; }
  .doodle img { height: 40px; }
  .wrap { padding: 0 16px; }
  .sport-nav__pin { --gut: 16px; }
  .rail__track { margin: 0 -16px; padding: 4px 16px 8px; scroll-padding: 0 16px; grid-auto-columns: 78%; }
  .rail--sports .rail__track { --n: 2.9; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .rail__arrows { display: none; }
  .rail__head h2, .section__head h2 { font-size: 19px; }
  .card-grid { grid-template-columns: 1fr; }
  .sport-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel { border-radius: 18px; }
  .slide__title { font-size: 26px; }
  .prose { padding: 24px; }
}

/* Your own articles: /story/<slug>/ */
.article { max-width: 760px; margin: 8px auto 36px; }
.article__head h1 { font: 800 clamp(28px, 4.4vw, 44px)/1.12 var(--head); letter-spacing: -0.02em; margin: 14px 0 12px; }
.article__head .card__sport { display: inline-flex; }
.article__dek { font-size: 19px; color: #c6cee0; margin: 0 0 12px; }
.article__meta { font-size: 14px; color: var(--muted); margin: 0 0 22px; }
.article__img { margin: 0 0 26px; }
.article__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; display: block; background: var(--surface); }
.article__img figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; display: flex; flex-direction: column; gap: 3px; }
.article__caption { font-size: 14px; line-height: 1.45; color: #c9d1e6; }
.article__credit { font-style: italic; }
.article__body { font-size: 18px; line-height: 1.75; color: #dbe1ee; }
.article__body p, .article__body ul { margin: 0 0 1.15em; }
.article__body h2 { font: 800 24px/1.25 var(--head); color: var(--text); margin: 1.6em 0 .6em; }
.article__body a { color: #ff7a85; text-decoration: underline; text-underline-offset: 3px; }
.article__body strong { color: #fff; }
.article__body .article__sign { margin-top: 1.6em; padding-top: 1em; border-top: 1px solid var(--line); font-weight: 600; color: var(--text); }
@media (max-width: 640px) { .article__body { font-size: 17px; } .article__dek { font-size: 17px; } }
/* More pictures: a grid of people (name + short line under each), or one picture placed with [photo N] */
.gallery { margin: 1.8em 0 1.6em; }
.gallery__title { display: flex; align-items: center; gap: 10px; }
.gallery__title::before { content: ''; width: 4px; height: 1em; border-radius: 2px; background: var(--sport, #e11d2e); }
.article__body .gallery__title { margin: 0 0 .8em; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 14px; }
.gallery--1 .gallery__grid { grid-template-columns: minmax(0, 340px); }
.gallery--2 .gallery__grid, .gallery--4 .gallery__grid { grid-template-columns: repeat(2, 1fr); }
.gallery__item, .gallery__solo { margin: 0; }
.gallery__open { display: block; border-radius: 14px; overflow: hidden; background: var(--surface); }
.gallery__item img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 10%; transition: transform .3s; }
.gallery__open:hover img { transform: scale(1.03); }
/* A placed picture shows whole (never cropped), at most its own size, centred; the caption wraps to the picture's width. */
.gallery__solo { width: fit-content; max-width: 100%; margin: 1.6em auto; }
.gallery__solo figcaption { width: 0; min-width: 100%; }
.gallery__solo img { display: block; width: auto; height: auto; max-width: 100%; max-height: min(640px, 75vh); }
.gallery figcaption, .gallery__solo figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 9px; font-size: 12px; line-height: 1.4; color: var(--muted); }
.gallery__name { font: 800 16px/1.25 var(--head); color: var(--text); }
.gallery__line { font-size: 14px; color: #c9d1e6; }
.gallery__solo .gallery__name { font-size: 15px; }
.article__body .gallery__credit { margin: 14px 0 0; font-size: 12px; font-style: italic; color: var(--muted); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgb(4 8 20 / 94%); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 110px); border-radius: 10px; }
.lightbox__cap { color: #e6ebf5; font-size: 15px; text-align: center; margin: 12px 0 0; }
.lightbox__x { position: absolute; top: 10px; right: 12px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 12%); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
@media (max-width: 640px) {
  .gallery__grid, .gallery--4 .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 16px 10px; }
  .gallery--3 .gallery__item:last-child, .gallery--5 .gallery__item:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 5px); }
  .gallery--1 .gallery__grid { grid-template-columns: minmax(0, 260px); }
  .gallery__name { font-size: 15px; }
  .gallery__line { font-size: 13px; }
}

/* Headline list for stories without a picture (sport pages) */
.headlines { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px solid var(--line); }
.headlines li { border-bottom: 1px solid var(--line); }
.headlines a { display: flex; flex-direction: column; gap: 4px; padding: 14px 4px; }
.headlines a:hover .headlines__title { color: #ff7a85; }
.headlines__title { font: 700 16px/1.35 var(--head); }
.headlines__meta { font-size: 13px; color: var(--muted); }

/* House ad (your own banner, e.g. Essentek) */
.house-ad { margin: 8px auto 36px; max-width: 728px; text-align: center; }
.house-ad__label { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.house-ad a { display: block; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); transition: transform .2s, box-shadow .2s; }
.house-ad a:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgb(255 255 255 / 25%), 0 12px 30px -12px rgb(0 0 0 / 60%); }
.house-ad img { display: block; width: 100%; height: auto; }
@media (max-width: 640px) { .house-ad { max-width: 320px; } }
.article__body .house-ad, .article > .house-ad { margin: 44px auto 0; }
.react { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 1.6em 0 6px; padding-top: 1em; border-top: 1px solid var(--line); }
.react .article__sign { flex: 1 1 auto; margin: 0 8px 0 0; font-size: 18px; font-weight: 600; color: var(--text); }
.react .article__sign a { color: #ff7a85; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .react .article__sign { flex-basis: 100%; font-size: 17px; margin-bottom: 4px; } }
.react__gap { flex: 1; }
.react__btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 14px/1 var(--body, inherit); color: #dbe1ee; background: #161d35; box-shadow: 0 0 0 1px rgb(255 255 255 / 12%) inset; transition: background .2s, color .2s, transform .15s; }
.react__btn:hover { background: #1e2747; }
.react__btn:active { transform: scale(.94); }
.react__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.react__btn[aria-pressed="true"] { background: #fff; color: #0a1028; }
.react__btn[aria-pressed="true"] svg { fill: currentColor; }
.react__btn--heart[aria-pressed="true"] { background: #ff3b4e; color: #fff; }
.share { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.share__label { display: inline-flex; align-items: baseline; gap: 6px; margin-right: 4px; font-weight: 700; font-size: 14px; color: var(--muted); }
.share__label b { color: var(--text); }
.share__btn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 0; cursor: pointer;
  background: transparent; color: #dbe1ee; box-shadow: 0 0 0 1.5px rgb(255 255 255 / 22%) inset; transition: background .2s, color .2s, box-shadow .2s, transform .15s; }
.share__btn[hidden] { display: none; }
.share__btn:active { transform: scale(.92); }
.share__btn svg { width: 19px; height: 19px; fill: currentColor; }
.share__btn svg.o { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.share__vb svg.o { stroke-width: 1.7; }
@media (max-width: 420px) { .share { gap: 6px; } .share__btn { width: 35px; height: 35px; } .share__btn svg { width: 17px; height: 17px; } .share__label { margin-right: 0; } }
.share__ph { position: absolute; inset: 0; display: grid; place-items: center; }
.share__ph svg { width: 11px; height: 11px; }
.share__ph--vb { top: -2px; }
.share__btn:hover { color: #fff; box-shadow: none; }
.share__native:hover, .share__copy:hover { background: #2a3456; }
.share__fb:hover { background: #1877f2; } .share__ms:hover { background: #a033ff; } .share__x:hover { background: #000; }
.share__wa:hover { background: #25d366; } .share__vb:hover { background: #7360f2; }
.share__done { font-size: 13px; font-weight: 600; color: #7ee2a8; }
@media (hover: hover) and (pointer: fine) { .share__mobile { display: none; } }
@media (max-width: 359px) { .doodle--on { visibility: hidden; } }

/* Phones: big swipeable doodle cards under the sports menu (homepage and sport pages). */
.doodle-strip { display: none; }
@media (max-width: 860px) {
  .has-doodle-strip .site-header .doodle__set { display: none; }
  .doodle-strip { display: block; margin: 14px 0 4px; }
  .doodle-strip__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 16px; }
  .doodle-strip__track::-webkit-scrollbar { display: none; }
  .doodle-strip__slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px 12px 10px; border-radius: 16px; border: 1px solid var(--line); background: radial-gradient(120% 140% at 50% 0%, rgb(61 155 255 / 14%), transparent 60%), linear-gradient(100deg, #0d1638, #140f2c); }
  .doodle-strip__slide img { display: block; width: 100%; max-width: 360px; height: auto; aspect-ratio: 4 / 1; object-fit: contain; }
  .doodle-strip__more { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: #cdd4e6; }
  .doodle-strip__dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
  .doodle-strip__dots i { width: 6px; height: 6px; border-radius: 999px; background: rgb(255 255 255 / 25%); transition: width .2s, background .2s; cursor: pointer; }
  .doodle-strip__dots i.on { width: 18px; background: var(--accent-2); }
}

/* Search: header button, drop-down box, and the /search/ page. */
.header-search { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 16%); background: rgb(255 255 255 / 6%); color: #dfe5f3; transition: background .2s, border-color .2s, color .2s; }
.header-search:hover, .header-search.is-active { background: rgb(255 255 255 / 12%); border-color: rgb(255 255 255 / 30%); color: #fff; }
.header-search svg, .site-search svg, .search-form__icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.header-cta { margin-left: -16px; }
.site-search { border-top: 1px solid var(--line); background: rgb(7 12 31 / 94%); }
.site-search__form { display: flex; align-items: center; gap: 10px; height: 60px; }
.site-search__form > svg { flex: none; color: var(--muted); }
.site-search input, .search-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--text); font: 600 17px/1.2 var(--head); -webkit-appearance: none; appearance: none; }
.site-search input::placeholder, .search-form input::placeholder { color: #6f7a96; font-weight: 500; }
input[type=search]::-webkit-search-cancel-button { filter: grayscale(1) brightness(1.6); cursor: pointer; }
.site-search__close { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; }
.site-search__close:hover { color: #fff; background: rgb(255 255 255 / 8%); }

.search-page { margin: 30px 0 40px; }
.search-form { display: flex; align-items: center; gap: 12px; max-width: 760px; padding: 6px 6px 6px 18px; border-radius: 999px; background: var(--surface); border: 1px solid rgb(255 255 255 / 14%); box-shadow: 0 14px 40px -24px rgb(0 0 0 / 80%); transition: border-color .2s; }
.search-form:focus-within { border-color: rgb(61 155 255 / 70%); box-shadow: 0 0 0 3px rgb(61 155 255 / 18%); }
.search-form__icon { flex: none; color: var(--muted); }
.search-form input { padding: 10px 0; }
.search-form .btn { flex: none; padding: 11px 22px; }
.search-hint { margin-top: 26px; color: var(--muted); }
.search-hint__try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgb(255 255 255 / 14%); background: rgb(255 255 255 / 5%); color: #dfe5f3; font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: background .2s, border-color .2s; }
.chip:hover { background: rgb(255 255 255 / 10%); border-color: rgb(255 255 255 / 26%); }
.chip span { color: var(--muted); font-weight: 500; }
.chip.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip.is-on span { color: rgb(255 255 255 / 80%); }
.search-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin: 30px 0 14px; }
.search-head h1 { font-size: 24px; overflow-wrap: anywhere; }
.search-sort { display: flex; padding: 3px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.search-sort a { padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); }
.search-sort a[aria-current] { background: rgb(255 255 255 / 12%); color: #fff; }
.search-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 0 6px; padding-bottom: 4px; }
.search-chips::-webkit-scrollbar { display: none; }
.search-page .empty { padding: 56px 16px; }
.search-page .empty h1 { font-size: 26px; overflow-wrap: anywhere; }
@media (max-width: 860px) { .header-cta { margin-left: -8px; } }
@media (max-width: 560px) {
  .header-search { width: 34px; height: 34px; }
  .header-cta__more { display: none; }
  .header-cta { text-transform: capitalize; }
  .header-search svg { width: 16px; height: 16px; }
  .header-cta { margin-left: -4px; }
  .site-search__form { height: 56px; gap: 8px; }
  .site-search__form .btn { display: none; }
  .search-page { margin-top: 20px; }
  .search-form { padding-left: 14px; gap: 8px; }
  .search-form .btn { padding: 10px 16px; }
  .search-head h1 { font-size: 20px; }
  .search-chips { margin: 0 -16px 6px; padding: 0 16px 4px; }
}
.site-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
@media (max-width: 350px) {
  .site-header__bar { gap: 8px; }
  .logo__text { font-size: 20px; }
  .header-search { width: 32px; height: 32px; }
  .header-cta { margin-left: -2px; padding: 6px 10px; font-size: 12.5px; }
}

/* Outside headlines: a quiet text-only list under our own stories (v57) */
.outside { margin-top: 12px; }
.outside .section__head h2, .outside h2 { font-size: 19px; line-height: 1.3; }
.outside__note { margin: 2px 0 12px; font-size: 13px; color: var(--muted); }
.outside .headlines__title { font-size: 15px; font-weight: 600; }
