/* ==========================================================================
   Courtside — main stylesheet
   Mobile-first · BEM · no frameworks
   Breakpoints: 600px (sm) · 900px (md) · 1200px (lg)
   ========================================================================== */

/* 1. Tokens
   ========================================================================== */
:root {
  --c-ink: #0f1320;
  --c-navy: #121a2e;
  --c-navy-2: #1c2742;
  --c-night: #0b0f1a;
  --c-line-dark: #243049;
  --c-bg: #f3f1ec;
  --c-bg-2: #e9e5dd;
  --c-surface: #ffffff;
  --c-surface-2: #f6f4ef;
  --c-line: #e2ded6;
  --c-line-soft: #ece8e0;
  --c-line-strong: #d4cfc5;
  --c-text: #0f1320;
  --c-text-body: #262a33;
  --c-muted: #5f6573;
  --c-muted-2: #8a8f9a;
  --c-on-dark: #eef0f4;
  --c-on-dark-muted: #9aa6c2;
  --c-accent: #ff6a2b;
  --c-accent-text: #c2410c;
  --c-win: #15803d;
  --c-loss: #b91c1c;
  --c-live: #e11d48;

  --f-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-pill: 999px;

  --gutter: 16px;
  --container: 1280px;
  --section-space: 48px;
  --header-h: 64px;
}

@media (min-width: 600px) {
  :root { --gutter: 24px; --section-space: 64px; }
}
@media (min-width: 1200px) {
  :root { --gutter: 80px; --section-space: 80px; --header-h: 84px; }
}

/* 2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-accent-text); }

button, input { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }

table { border-collapse: collapse; width: 100%; }

:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 12px 16px; border-radius: var(--r-sm);
  background: var(--c-accent); color: var(--c-ink); font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* 3. Layout helpers
   ========================================================================== */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: calc(var(--section-space) / 2); }
.section--dark { background: var(--c-navy); color: var(--c-on-dark); padding-block: var(--section-space); }
.section--spaced-top { padding-top: var(--section-space); }
.section--spaced-bottom { padding-bottom: var(--section-space); }
.section--tint { background: var(--c-bg-2); padding-block: var(--section-space); }

.layout-split { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) {
  .layout-split { grid-template-columns: minmax(0, 1fr) 380px; }
  .layout-split--wide-side { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
}
.layout-split__col { display: flex; flex-direction: column; gap: 24px; min-width: 0; }

/* Horizontal scroller (mobile carousels) */
.scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(80%, 300px);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scrollbar-width: none;
}
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }

/* 4. Typography blocks
   ========================================================================== */
.heading {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.005em;
}
.heading--xl { font-size: clamp(38px, 6vw, 60px); }
.heading--lg { font-size: clamp(34px, 4.5vw, 52px); }
.heading--md { font-size: clamp(26px, 3vw, 32px); }
.heading--sm { font-size: clamp(24px, 2.4vw, 28px); }

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.eyebrow--inherit { color: inherit; }
.eyebrow--accent { color: var(--c-accent-text); }

.tag {
  display: inline-flex; align-items: center;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--c-accent);
  color: var(--c-ink);
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  line-height: 1.2;
}

.meta { font-size: 14px; color: var(--c-muted); }

/* 5. Buttons & controls
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: 15px; font-weight: 700; line-height: 1;
  white-space: nowrap;
  background: transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--c-accent); color: var(--c-ink); }
.btn--primary:hover { background: #ff8450; color: var(--c-ink); }
.btn--dark { background: var(--c-ink); color: #fff; }
.btn--dark:hover { background: #262c3b; color: #fff; }
.btn--outline { border-color: var(--c-line-strong); color: var(--c-ink); background: var(--c-surface); }
.btn--outline:hover { border-color: var(--c-ink); color: var(--c-ink); }
.btn--outline-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--outline-light:hover { border-color: #fff; color: #fff; }
.btn--light { background: #fff; color: var(--c-ink); }
.btn--pill { border-radius: var(--r-pill); }
.btn--lg { min-height: 48px; padding: 0 24px; }
.btn--block { width: 100%; }
.btn--grow { flex: 1 1 0; }
.btn--icon { width: 44px; padding: 0; border-radius: var(--r-pill); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 700;
  min-height: 44px;
}
.link-arrow svg { width: 16px; height: 16px; }

/* Segmented control / tabs */
.segmented {
  display: inline-flex; gap: 4px; padding: 4px;
  border-radius: var(--r-pill);
  background: #e6e2da;
  max-width: 100%;
  overflow-x: auto;
}
.segmented--light { background: #f0ede6; }
.segmented__btn {
  min-height: 40px; padding: 0 18px;
  border: 0; border-radius: var(--r-pill);
  background: transparent;
  font-size: 14px; font-weight: 700;
  white-space: nowrap;
}
.segmented__btn[aria-selected="true"],
.segmented__btn--active { background: var(--c-ink); color: #fff; }

.chip-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-filter__btn {
  min-height: 40px; padding: 0 16px;
  border: 1px solid var(--c-line-strong); border-radius: var(--r-pill);
  background: transparent; font-size: 14px; font-weight: 700;
}
.chip-filter__btn--active { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }

/* 6. Team logo token (color via --team-color)
   ========================================================================== */
.team-logo {
  --size: 40px;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--size); height: var(--size);
  border-radius: 50%;
  background: var(--team-color, var(--c-ink));
  color: #fff;
  font-size: calc(var(--size) * 0.3);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.team-logo--xs { --size: 28px; }
.team-logo--sm { --size: 36px; }
.team-logo--md { --size: 52px; }
.team-logo--lg { --size: 64px; font-family: var(--f-display); }
.team-logo--xl { --size: clamp(96px, 12vw, 180px); font-family: var(--f-display); }
.team-logo--inverse { background: #fff; color: var(--team-color); }

/* 7. Card base
   ========================================================================== */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 16px;
}
@media (min-width: 600px) { .card { padding: 24px; } }
.card--flush { padding: 0; overflow: hidden; }
.card--dark { background: var(--c-navy); border-color: var(--c-navy); color: var(--c-on-dark); }
.card--accent { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-ink); }
.card__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 12px;
}
.card--flush .card__head { padding: 16px 16px 0; margin-bottom: 12px; }
@media (min-width: 600px) { .card--flush .card__head { padding: 20px 24px 0; } }
.card__title { margin-bottom: 12px; }
.card__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 16px; border-top: 1px solid var(--c-line);
  font-size: 13px; color: var(--c-muted);
}
@media (min-width: 600px) { .card__title { margin-bottom: 12px; }
.card__foot { padding: 14px 24px; } }

/* Placeholder media */
.media {
  display: block; width: 100%;
  background: var(--c-navy-2);
  border-radius: var(--r-md);
  object-fit: cover;
}
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--2x1 { aspect-ratio: 2 / 1; }
.media--square { aspect-ratio: 1; }

/* 8. Scores ticker
   ========================================================================== */
.scores-ticker { background: var(--c-night); color: var(--c-on-dark); }
.scores-ticker__inner { display: flex; align-items: center; height: 60px; }
.scores-ticker__label {
  display: none; align-items: center; gap: 8px;
  padding-right: 20px; margin-right: 4px;
  border-right: 1px solid #262c3b;
  font-family: var(--f-display); font-size: 18px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.scores-ticker__label::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff3b5c;
}
.scores-ticker__list { display: flex; flex: 1; overflow-x: auto; scrollbar-width: none; }
.scores-ticker__list::-webkit-scrollbar { display: none; }
.scores-ticker__game {
  display: grid; gap: 2px;
  min-width: 104px; padding: 0 16px;
  border-right: 1px solid #262c3b;
  font-size: 12px; font-weight: 700;
  color: var(--c-on-dark);
}
.scores-ticker__game:hover { color: #fff; background: #141a29; }
.scores-ticker__row { display: flex; justify-content: space-between; gap: 12px; }
.scores-ticker__status { font-size: 11px; font-weight: 600; color: #8f98ab; }
.scores-ticker__status--live { color: #ff5c7a; }
.scores-ticker__all { display: none; margin-left: 16px; color: var(--c-on-dark); font-size: 14px; }
@media (min-width: 900px) {
  .scores-ticker__inner { height: 64px; }
  .scores-ticker__label, .scores-ticker__all { display: inline-flex; }
}

/* 9. Site header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--c-navy); color: var(--c-on-dark);
  border-bottom: 1px solid var(--c-line-dark);
}
.site-header__inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.site-header__logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.site-header__logo:hover { color: #fff; }
.site-header__logo-mark { width: 30px; height: 30px; }
.site-header__logo-text {
  font-family: var(--f-display); font-size: 26px; font-weight: 800;
  letter-spacing: 0.02em; text-transform: uppercase;
}
.site-header__nav { display: none; flex: 1; }
.site-header__menu { display: flex; gap: 28px; }
.site-header__link {
  display: block; padding: 30px 0 27px;
  border-bottom: 3px solid transparent;
  font-size: 15px; font-weight: 600; color: #c9cfdb;
}
.site-header__link:hover { color: #fff; }
.site-header__link--active { color: #fff; border-bottom-color: var(--c-accent); }
.site-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.site-header__icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid #334063; border-radius: 50%;
  background: transparent; color: var(--c-on-dark);
}
.site-header__icon-btn svg { width: 20px; height: 20px; }
.site-header__signin { display: none; }
.site-header__burger { border-color: transparent; }

@media (min-width: 600px) { .site-header__signin { display: inline-flex; } }
@media (min-width: 1200px) {
  .site-header__logo-mark { width: 34px; height: 34px; }
  .site-header__logo-text { font-size: 30px; }
  .site-header__nav { display: block; }
  .site-header__burger { display: none; }
  .site-header__actions { margin-left: 0; }
}

/* Mobile drawer navigation */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--c-navy);
  padding: 8px var(--gutter) 32px;
  overflow-y: auto;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav__link {
  display: block; padding: 16px 0;
  border-bottom: 1px solid var(--c-line-dark);
  font-family: var(--f-display); font-size: 28px; font-weight: 800;
  text-transform: uppercase; color: #fff;
}
.mobile-nav__link--active { color: var(--c-accent); }
@media (min-width: 1200px) { .mobile-nav { display: none !important; } }

/* 10. Breadcrumbs & page tabs
   ========================================================================== */
.breadcrumbs__list { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--c-on-dark-muted); }
.breadcrumbs__item + .breadcrumbs__item::before { content: "/"; margin-right: 8px; }
.breadcrumbs__item a { color: inherit; }
.breadcrumbs__item [aria-current] { color: #fff; }
.breadcrumbs--light .breadcrumbs__list { color: var(--c-muted); }
.breadcrumbs--light [aria-current] { color: var(--c-ink); }

.back-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-size: 14px; font-weight: 700; color: var(--c-on-dark-muted);
}
.back-link svg { width: 18px; height: 18px; }

.page-tabs {
  position: sticky; top: var(--header-h); z-index: 20;
  background: var(--c-surface); border-bottom: 1px solid var(--c-line);
}
.page-tabs__list { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; }
.page-tabs__list::-webkit-scrollbar { display: none; }
.page-tabs__link {
  display: block; padding: 16px 0 13px;
  border-bottom: 3px solid transparent;
  font-size: 14px; font-weight: 700; color: var(--c-muted); white-space: nowrap;
}
.page-tabs__link--active { color: var(--c-ink); border-bottom-color: var(--c-accent); }
@media (min-width: 900px) {
  .page-tabs__list { gap: 36px; }
  .page-tabs__link { padding: 21px 0 18px; font-size: 15px; }
}

/* 11. Section head
   ========================================================================== */
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 12px 24px; margin-bottom: 20px;
}
.section-head--flush { margin-bottom: 0; }
.section-head__text { display: grid; gap: 8px; }
.section-head__sub { color: var(--c-muted); }
.section-head__actions { display: flex; gap: 8px; }
@media (min-width: 900px) { .section-head { margin-bottom: 24px; } }

/* 12. Home hero
   ========================================================================== */
.hero { background: var(--c-navy); color: var(--c-on-dark); padding-block: 20px 32px; }
.hero__grid { display: grid; gap: 24px; }
.hero__feature { display: grid; gap: 16px; color: #fff; }
.hero__feature:hover { color: #fff; }
.hero__feature:hover .hero__title { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.hero__media { border-radius: var(--r-lg); aspect-ratio: 16 / 10; }
.hero__meta { display: flex; align-items: center; gap: 12px; color: var(--c-on-dark-muted); font-size: 14px; }
.hero__title { font-size: clamp(38px, 4.4vw, 60px); }
.hero__aside-title {
  padding-bottom: 12px; border-bottom: 1px solid var(--c-line-dark);
  font-family: var(--f-display); font-size: 22px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-on-dark-muted);
}
@media (min-width: 1024px) {
  .hero { padding-block: 48px 72px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; }
  .hero__media { aspect-ratio: 840 / 440; }
}

/* Story list (compact headlines with thumbnail) */
.story-list__item { border-top: 1px solid var(--c-line-dark); }
.story-list__item:first-child { border-top: 0; }
.story-list--light .story-list__item { border-color: var(--c-line); }
.story-list__link { display: flex; gap: 14px; padding: 14px 0; }
.story-list__thumb { width: 96px; flex-shrink: 0; aspect-ratio: 4 / 3; border-radius: var(--r-sm); }
.story-list__body { display: grid; align-content: start; gap: 4px; }
.story-list__tag { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-accent); }
.story-list--light .story-list__tag { color: var(--c-accent-text); }
.story-list__title { font-size: 15px; font-weight: 700; line-height: 1.3; }
@media (min-width: 1024px) {
  .story-list__link { padding: 18px 0; gap: 16px; }
  .story-list__thumb { width: 104px; }
  .story-list__title { font-size: 16px; }
}

/* 13. Match card
   ========================================================================== */
.match-grid { display: grid; gap: 12px; }
@media (min-width: 600px) { .match-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1200px) { .match-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }

.match-card { display: grid; gap: 14px; }
.match-card__top {
  display: flex; justify-content: space-between;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted);
}
.match-card__status { white-space: nowrap; }
.match-card__status--live { color: var(--c-live); }
.match-card__status--live::before { content: "● "; }
.match-card__teams { display: grid; gap: 12px; }
.match-card__team { display: flex; align-items: center; gap: 12px; }
.match-card__name { flex: 1; font-weight: 700; }
.match-card__score { font-family: var(--f-display); font-size: 30px; font-weight: 800; line-height: 1; }
.match-card__venue { padding-top: 12px; border-top: 1px solid var(--c-line-soft); font-size: 13px; color: var(--c-muted); }
.match-card__actions { display: flex; gap: 8px; }

/* 14. Data table (standings, box score, roster, logs)
   ========================================================================== */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { font-size: 14px; }
.data-table__caption { text-align: left; }
.data-table th, .data-table td { padding: 0 8px; height: 50px; text-align: left; white-space: nowrap; }
.data-table th:first-child, .data-table td:first-child { padding-left: 16px; }
.data-table th:last-child, .data-table td:last-child { padding-right: 16px; }
.data-table thead th {
  height: 40px; background: var(--c-surface-2);
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted);
}
.data-table tbody tr { border-top: 1px solid var(--c-line-soft); }
.data-table tbody tr:hover { background: #faf9f6; }
.data-table tfoot tr { border-top: 2px solid var(--c-ink); font-weight: 800; background: #faf9f6; }
.data-table tfoot td { height: 52px; }
.data-table__team { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.data-table__strong { font-weight: 800; }
.data-table__muted { color: var(--c-muted); }
.data-table__rank { width: 40px; font-weight: 800; color: var(--c-muted); }
.data-table__win { color: var(--c-win); font-weight: 700; }
.data-table__loss { color: var(--c-loss); font-weight: 700; }
.data-table__row--cutoff { border-top: 2px solid var(--c-ink) !important; }
.data-table__row--highlight { background: #fbf3e7; }
.data-table__num { font-family: var(--f-display); font-size: 20px; font-weight: 800; }
.data-table__hide-sm { display: none; }
@media (min-width: 600px) {
  .data-table th:first-child, .data-table td:first-child { padding-left: 24px; }
  .data-table th:last-child, .data-table td:last-child { padding-right: 24px; }
  .data-table__hide-sm { display: table-cell; }
}

.tab-panel[hidden] { display: none; }

/* 15. Stat leaders
   ========================================================================== */
.leaders { display: grid; gap: 12px; }
@media (min-width: 600px) and (max-width: 1023px) { .leaders { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .leaders { gap: 16px; } }
.leader-card { display: grid; gap: 14px; }
.leader-card__top { display: flex; justify-content: space-between; font-size: 12px; color: var(--c-on-dark-muted); }
.leader-card__cat { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.leader-card__main { display: flex; align-items: center; gap: 14px; }
.leader-card__photo { width: 52px; height: 52px; border-radius: 50%; background: #26314f; flex-shrink: 0; object-fit: cover; }
.leader-card__who { flex: 1; display: grid; gap: 2px; }
.leader-card__name { font-weight: 800; font-size: 16px; color: #fff; }
.leader-card__team { font-size: 13px; color: var(--c-on-dark-muted); }
.leader-card__value { font-family: var(--f-display); font-size: 44px; font-weight: 800; line-height: 1; color: var(--c-accent); }
.leader-card__rest {
  display: flex; flex-wrap: wrap; gap: 4px 16px; padding-top: 12px;
  border-top: 1px solid var(--c-line-dark); font-size: 13px; color: #c9cfdb;
}
.leader-card__rest b { color: #fff; }

/* 16. Player card
   ========================================================================== */
.player-grid { grid-auto-columns: min(78%, 280px); }
@media (min-width: 1024px) {
  .player-grid {
    grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px; margin: 0; padding: 0; overflow: visible;
  }
}
.player-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.player-card__visual {
  position: relative; aspect-ratio: 5 / 4;
  background: var(--team-color, var(--c-navy-2));
  display: flex; align-items: flex-end; padding: 16px;
}
.player-card__number { font-family: var(--f-display); font-size: 88px; font-weight: 800; line-height: .8; color: rgba(255,255,255,.25); }
.player-card__body { display: grid; gap: 14px; padding: 16px 18px 18px; }
.player-card__name { font-size: 19px; font-weight: 800; }
.player-card__meta { font-size: 14px; color: var(--c-muted); }

.stat-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stat-tiles__item { display: grid; gap: 2px; padding: 10px; border-radius: var(--r-sm); background: var(--c-surface-2); }
.stat-tiles__label { font-size: 11px; font-weight: 700; color: var(--c-muted); }
.stat-tiles__value { font-family: var(--f-display); font-size: 24px; font-weight: 800; line-height: 1; }

/* 17. News
   ========================================================================== */
.news-layout { display: grid; gap: 32px; }
@media (min-width: 1200px) { .news-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; } }
.news-grid { display: grid; gap: 24px; }
@media (min-width: 600px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.news-grid--4 { }
@media (min-width: 1200px) { .news-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }

.news-card__link { display: grid; gap: 12px; }
.news-card__media { aspect-ratio: 16 / 10; }
.news-card__meta { display: flex; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted-2); }
.news-card__tag { color: var(--c-accent-text); }
.news-card__title { font-size: 19px; font-weight: 800; line-height: 1.3; }
@media (max-width: 599px) {
  .news-card__link { grid-template-columns: 112px minmax(0, 1fr); grid-template-areas: "media meta" "media title"; gap: 4px 14px; align-content: start; }
  .news-card__media { grid-area: media; aspect-ratio: 4 / 3; border-radius: var(--r-sm); }
  .news-card__meta { grid-area: meta; font-size: 11px; }
  .news-card__title { grid-area: title; font-size: 16px; }
  .news-grid { gap: 16px; }
}
.news-card__link:hover .news-card__title { text-decoration: underline; text-underline-offset: 3px; }

.sidebar { display: grid; gap: 16px; align-content: start; }

/* Ranked list (trending / most read) */
.ranked-list { counter-reset: rank; }
.ranked-list__item { counter-increment: rank; border-top: 1px solid var(--c-line-soft); }
.ranked-list__link { display: flex; gap: 14px; padding: 14px 0; font-size: 15px; font-weight: 700; line-height: 1.35; }
.ranked-list__link::before {
  content: counter(rank);
  width: 28px; flex-shrink: 0;
  font-family: var(--f-display); font-size: 32px; font-weight: 800; line-height: 1;
  color: var(--c-accent);
}

/* Poll / promo */
.promo { display: grid; gap: 12px; }
.promo__title { font-family: var(--f-display); font-size: 28px; font-weight: 800; line-height: 1.05; text-transform: uppercase; }

/* 18. Video
   ========================================================================== */
.video-grid { grid-auto-columns: min(80%, 300px); }
@media (min-width: 900px) {
  .video-grid {
    grid-auto-flow: row; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px; margin: 0; padding: 0; overflow: visible;
  }
}
.video-card__link { display: grid; gap: 12px; color: var(--c-on-dark); }
.video-card__link:hover { color: #fff; }
.video-card__thumb { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: var(--r-md); background: var(--c-navy-2); overflow: hidden; }
.video-card__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-card__play {
  position: relative; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%; background: var(--c-accent);
}
.video-card__play svg { width: 22px; height: 22px; fill: var(--c-ink); }
.video-card__duration {
  position: absolute; right: 10px; bottom: 10px;
  padding: 3px 8px; border-radius: 6px; background: var(--c-night);
  font-size: 12px; font-weight: 700; color: #fff;
}
.video-card--light .video-card__link { color: var(--c-ink); }
.video-card__title { font-size: 17px; font-weight: 800; line-height: 1.3; }
@media (min-width: 900px) { .video-card__title { font-size: 18px; } }

/* 19. Report lists (injuries, transactions)
   ========================================================================== */
.report-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .report-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.report-list__item { display: flex; align-items: center; gap: 12px; min-height: 60px; border-top: 1px solid var(--c-line-soft); }
.report-list__who { flex: 1; display: grid; gap: 2px; min-width: 0; }
.report-list__name { font-weight: 700; font-size: 15px; }
.report-list__detail { font-size: 13px; color: var(--c-muted); }
.report-list__arrow { width: 16px; height: 16px; color: var(--c-muted-2); flex-shrink: 0; }
.report-list__date { font-size: 13px; color: var(--c-muted-2); white-space: nowrap; }

.status-pill {
  padding: 4px 9px; border-radius: 6px;
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap;
}
.status-pill--out { background: #fde2e2; color: #991b1b; }
.status-pill--doubtful { background: #fdf0d5; color: #92400e; }
.status-pill--probable { background: #dcf5e3; color: #166534; }

/* 20. Teams directory
   ========================================================================== */
.conference-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .conference-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.team-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 600px) { .team-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }
.team-chip { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; background: var(--c-surface-2); font-size: 13px; font-weight: 700; }
.team-chip:hover { background: var(--c-line-soft); color: var(--c-ink); }

/* 21. Newsletter
   ========================================================================== */
.newsletter {
  display: grid; gap: 20px;
  padding: 28px 20px; border-radius: var(--r-xl);
  background: var(--c-ink); color: var(--c-on-dark);
}
.newsletter__title { font-family: var(--f-display); font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; line-height: 1; text-transform: uppercase; }
.newsletter__text { color: #b7bfcf; margin-top: 10px; }
.newsletter__form { display: grid; gap: 8px; }
.newsletter__input {
  min-height: 52px; padding: 0 16px; width: 100%;
  border: 1px solid #334063; border-radius: 12px;
  background: var(--c-navy); color: var(--c-on-dark);
}
.newsletter__input::placeholder { color: #7d879c; }
@media (min-width: 900px) {
  .newsletter { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; padding: 48px 56px; }
  .newsletter__form { grid-template-columns: 300px auto; }
}
.newsletter--compact { grid-template-columns: 1fr !important; padding: 24px !important; gap: 14px; border-radius: var(--r-lg); background: var(--c-navy); }
.newsletter--compact .newsletter__title { font-size: 28px; }
.newsletter--compact .newsletter__form { grid-template-columns: 1fr !important; }
.newsletter--compact .newsletter__input { background: #0f1628; }

/* 22. Site footer
   ========================================================================== */
.site-footer { background: var(--c-night); color: #b7bfcf; padding-block: 40px 32px; }
.site-footer__grid { display: grid; gap: 32px; }
.site-footer__brand { display: grid; gap: 12px; }
.site-footer__logo { font-family: var(--f-display); font-size: 28px; font-weight: 800; text-transform: uppercase; color: #fff; }
.site-footer__about { font-size: 14px; line-height: 1.6; max-width: 320px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.site-footer__heading { margin-bottom: 10px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.site-footer__list { display: grid; gap: 4px; font-size: 14px; }
.site-footer__list a { display: inline-block; padding: 4px 0; color: #b7bfcf; }
.site-footer__list a:hover { color: #fff; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  margin-top: 32px; padding-top: 20px; border-top: 1px solid #1f2535; font-size: 13px;
}
@media (min-width: 900px) {
  .site-footer { padding-block: 64px 40px; }
  .site-footer__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 4fr); gap: 40px; }
  .site-footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* 23. Bottom navigation (mobile only)
   ========================================================================== */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  height: calc(64px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--c-surface); border-top: 1px solid var(--c-line);
}
.bottom-nav__link {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  font-size: 11px; font-weight: 700; color: var(--c-muted);
}
.bottom-nav__link svg { width: 22px; height: 22px; }
.bottom-nav__link--active { color: var(--c-ink); }
.bottom-nav__link--active svg { color: var(--c-accent); }
.has-bottom-nav { padding-bottom: 64px; }
@media (min-width: 768px) {
  .bottom-nav { display: none; }
  .has-bottom-nav { padding-bottom: 0; }
}

/* 24. Info list (key/value) & mini list
   ========================================================================== */
.info-list__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--c-line-soft); font-size: 14px; }
.info-list__key { color: var(--c-muted); }
.info-list__value { font-weight: 700; text-align: right; }

.mini-list__item { border-top: 1px solid var(--c-line-soft); }
.mini-list__link { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.mini-list__avatar { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; background: var(--team-color, #e3eee7); }
.mini-list__body { flex: 1; display: grid; gap: 2px; min-width: 0; }
.mini-list__label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted); }
.mini-list__title { font-weight: 700; font-size: 15px; }
.mini-list__sub { font-size: 13px; color: var(--c-muted); }
.mini-list__value { font-family: var(--f-display); font-size: 26px; font-weight: 800; }

.result-pill { padding: 3px 8px; border-radius: 6px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.result-pill--win { background: #dcf5e3; color: #166534; }
.result-pill--loss { background: #fde2e2; color: #991b1b; }

/* ==========================================================================
   MATCH (single-match)
   ========================================================================== */
.scoreboard { background: var(--c-navy); color: var(--c-on-dark); padding-block: 12px 28px; }
.scoreboard__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; font-size: 14px; color: var(--c-on-dark-muted); }
.scoreboard__top .breadcrumbs { display: none; }
.scoreboard__main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 16px; }
.scoreboard__team { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--c-on-dark); }
.scoreboard__team:hover { color: #fff; }
.scoreboard__side { display: none; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-on-dark-muted); }
.scoreboard__name { font-family: var(--f-display); font-size: 18px; font-weight: 800; text-transform: uppercase; line-height: 1; }
.scoreboard__record { font-size: 12px; color: var(--c-on-dark-muted); }
.scoreboard__center { display: grid; justify-items: center; gap: 8px; }
.scoreboard__status { padding: 4px 10px; border-radius: 6px; background: var(--c-line-dark); font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.scoreboard__score { display: flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 800; line-height: 1; font-size: clamp(48px, 9vw, 120px); }
.scoreboard__score-sep { font-size: .4em; color: #4a5676; }
.scoreboard__score-value--lost { color: #7d879c; }
.scoreboard__when { margin-top: 16px; text-align: center; font-size: 13px; color: var(--c-on-dark-muted); }
.scoreboard__winner { display: none; }
@media (min-width: 900px) {
  .scoreboard { padding-block: 28px 48px; }
  .scoreboard__top .breadcrumbs { display: block; }
  .scoreboard__top .back-link { display: none; }
  .scoreboard__main { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 32px; margin-top: 32px; }
  .scoreboard__team { flex-direction: row; gap: 24px; text-align: left; }
  .scoreboard__team--home { flex-direction: row-reverse; text-align: right; }
  .scoreboard__team-info { display: grid; gap: 6px; }
  .scoreboard__team--home .scoreboard__team-info { justify-items: end; }
  .scoreboard__side { display: flex; gap: 8px; align-items: center; }
  .scoreboard__winner { display: inline-flex; padding: 3px 8px; font-size: 11px; }
  .scoreboard__name { font-size: clamp(32px, 3vw, 44px); }
  .scoreboard__record { font-size: 15px; }
  .scoreboard__when { margin-top: 8px; font-size: 14px; }
}

.linescore { margin: 20px auto 0; max-width: 720px; border: 1px solid var(--c-line-dark); border-radius: var(--r-md); overflow: hidden; }
.linescore__table { font-size: 14px; }
.linescore__table th, .linescore__table td { height: 44px; padding: 0 8px; text-align: center; }
.linescore__table th:first-child, .linescore__table td:first-child, .linescore__table tbody th { text-align: left; padding-left: 16px; }
.linescore__table thead th { height: 38px; background: #0f1628; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--c-on-dark-muted); }
.linescore__table tbody tr { border-top: 1px solid var(--c-line-dark); }
.linescore__team { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.linescore__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--team-color); }
.linescore__total { font-family: var(--f-display); font-size: 22px; font-weight: 800; }
.linescore__total--lost { color: var(--c-on-dark-muted); }
@media (min-width: 900px) { .linescore { margin-top: 32px; } .linescore__table td, .linescore__table th { height: 48px; } }

.performers { display: grid; gap: 12px; }
@media (min-width: 900px) { .performers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.performer { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--r-md); background: var(--c-surface-2); }
.performer__photo { width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; background: var(--team-color); }
.performer__who { flex: 1; display: grid; gap: 2px; min-width: 0; }
.performer__name { font-size: 16px; font-weight: 800; }
.performer__team { font-size: 13px; color: var(--c-muted); }
.performer__stats { display: flex; gap: 12px; text-align: center; }
.performer__stat { display: flex; flex-direction: column; }
.performer__label { order: 2; }
.performer__value { font-family: var(--f-display); font-size: 26px; font-weight: 800; line-height: 1.1; }
.performer__label { font-size: 11px; font-weight: 700; color: var(--c-muted); }
@media (min-width: 1200px) { .performer__photo { width: 72px; height: 72px; } .performer__value { font-size: 30px; } }

/* Stat compare (team stats) */
.legend { display: flex; gap: 16px; font-size: 13px; font-weight: 700; }
.legend__item { display: inline-flex; align-items: center; gap: 6px; }
.legend__swatch { width: 12px; height: 12px; border-radius: 3px; background: var(--swatch); }

.stat-compare__row { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; grid-template-areas: "a label h" "bars bars bars"; gap: 6px 8px; padding: 8px 0; }
.stat-compare__value { font-weight: 800; font-size: 15px; color: var(--c-muted-2); }
.stat-compare__value--away { grid-area: a; }
.stat-compare__value--home { grid-area: h; text-align: right; }
.stat-compare__value--lead { color: var(--c-ink); }
.stat-compare__label { grid-area: label; text-align: center; font-size: 13px; font-weight: 700; color: var(--c-muted); }
.stat-compare__bars { grid-area: bars; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.stat-compare__track { height: 8px; border-radius: 4px; background: #efece5; display: flex; }
.stat-compare__track--away { justify-content: flex-end; }
.stat-compare__fill { height: 100%; border-radius: inherit; width: var(--w); background: var(--team-color); }
@media (min-width: 900px) {
  .stat-compare__row { grid-template-columns: 56px minmax(0, 1fr) 160px minmax(0, 1fr) 56px; grid-template-areas: none; align-items: center; gap: 12px; padding: 0; height: 44px; }
  .stat-compare__value--away, .stat-compare__value--home, .stat-compare__label { grid-area: auto; }
  .stat-compare__bars { display: contents; }
  .stat-compare__track--away { grid-column: 2; grid-row: 1; }
  .stat-compare__label { grid-column: 3; grid-row: 1; }
  .stat-compare__track--home { grid-column: 4; grid-row: 1; }
  .stat-compare__value--home { grid-column: 5; grid-row: 1; }
}

/* Game flow chart */
.game-flow__chart { width: 100%; height: auto; }
.game-flow__axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--c-on-dark-muted); margin-top: 6px; }
.game-flow__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--c-line-dark); }
.game-flow__fact { display: flex; flex-direction: column; gap: 2px; }
.game-flow__fact-label { order: 2; }
.game-flow__fact-value { font-family: var(--f-display); font-size: 28px; font-weight: 800; line-height: 1; }
.game-flow__fact-label { font-size: 12px; color: var(--c-on-dark-muted); }

/* Feature teaser (recap) */
.teaser { display: grid; gap: 16px; align-items: center; padding: 12px; }
.teaser__media { aspect-ratio: 16 / 9; border-radius: var(--r-sm); }
.teaser__body { display: grid; gap: 10px; padding: 0 4px 4px; }
.teaser__title { font-size: clamp(28px, 3vw, 36px); }
.teaser__text { color: var(--c-muted); }
@media (min-width: 900px) { .teaser { grid-template-columns: 360px minmax(0, 1fr); gap: 24px; padding: 16px; } .teaser__body { padding-right: 16px; } }

/* ==========================================================================
   PLAYER (single-player)
   ========================================================================== */
.player-hero { position: relative; overflow: hidden; background: var(--team-color, var(--c-navy)); color: #fff; }
.player-hero__inner { position: relative; display: grid; gap: 16px; padding-top: 12px; }
.player-hero__team { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: #fff; }
.player-hero__team-meta { color: #a8b6d4; font-weight: 600; }
.player-hero__name { display: grid; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; line-height: .88; }
.player-hero__first { font-size: clamp(36px, 4vw, 56px); color: var(--team-accent, var(--c-accent)); }
.player-hero__last { font-size: clamp(88px, 10vw, 140px); }
.player-hero__bio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; }
.player-hero__fact { display: grid; gap: 2px; }
.player-hero__fact dt { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #a8b6d4; }
.player-hero__fact dd { font-size: 16px; font-weight: 800; }
.player-hero__actions { display: flex; gap: 10px; }
.player-hero__visual { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 300px; }
.player-hero__jersey { position: absolute; right: -10px; top: 0; font-family: var(--f-display); font-size: clamp(240px, 28vw, 400px); font-weight: 800; line-height: .8; color: rgba(255,255,255,.06); }
.player-hero__photo { position: relative; width: min(100%, 380px); aspect-ratio: 380 / 500; max-height: 500px; border-radius: 200px 200px 0 0; background: rgba(255,255,255,.08); object-fit: cover; }
.player-hero .breadcrumbs { display: none; }
@media (min-width: 900px) {
  .player-hero__inner { grid-template-columns: minmax(0, 1fr) 440px; align-items: end; gap: 40px; padding-top: 28px; }
  .player-hero__info { display: grid; gap: 24px; padding-bottom: 96px; }
  .player-hero .breadcrumbs { display: block; }
  .player-hero .back-link { display: none; }
  .player-hero__bio { grid-template-columns: repeat(6, auto); justify-content: start; gap: 0; }
  .player-hero__fact { padding-right: 24px; margin-right: 24px; border-right: 1px solid rgba(255,255,255,.18); }
  .player-hero__fact:last-child { border-right: 0; }
  .player-hero__visual { min-height: 560px; }
}
@media (max-width: 899px) { .player-hero__info { display: grid; gap: 16px; } }

.stat-strip { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 16px; }
.stat-strip__title { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; }
.stat-strip__season { font-family: var(--f-display); font-size: 26px; font-weight: 800; text-transform: uppercase; line-height: 1; }
.stat-strip__item { display: grid; gap: 2px; padding: 10px; border-radius: var(--r-sm); background: var(--c-surface-2); }
.stat-strip__label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--c-muted); }
.stat-strip__value { font-family: var(--f-display); font-size: clamp(32px, 3.4vw, 44px); font-weight: 800; line-height: 1; }
.stat-strip__rank { font-size: 12px; font-weight: 700; color: var(--c-accent-text); min-height: 1.2em; }
@media (min-width: 900px) {
  .stat-strip { margin-top: -56px; grid-template-columns: 200px repeat(6, minmax(0, 1fr)); align-items: center; gap: 16px; padding: 24px 32px; border-radius: 20px; }
  .stat-strip__title { grid-column: auto; display: grid; gap: 4px; }
  .stat-strip__item { padding: 0 0 0 16px; background: none; border-left: 1px solid var(--c-line-soft); border-radius: 0; }
}

/* Bar chart */
.bar-chart__plot { position: relative; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; align-items: end; height: 180px; border-bottom: 1px solid var(--c-line-strong); }
.bar-chart__bar { display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.bar-chart__value { font-size: 11px; font-weight: 800; }
.bar-chart__fill { width: 100%; height: var(--h); border-radius: 6px 6px 0 0; background: #cfc8bb; }
.bar-chart__bar--above .bar-chart__fill { background: var(--c-accent); }
.bar-chart__avg { position: absolute; left: 0; right: 0; bottom: var(--avg); border-top: 1px dashed #b9b3a7; }
.bar-chart__avg-label { position: absolute; right: 0; bottom: 4px; font-size: 11px; font-weight: 700; color: var(--c-muted); background: var(--c-surface); padding-left: 6px; }
.bar-chart__labels { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; margin-top: 8px; text-align: center; font-size: 10px; font-weight: 700; color: var(--c-muted); }
@media (min-width: 900px) { .bar-chart__plot, .bar-chart__labels { gap: 14px; } .bar-chart__plot { height: 220px; } .bar-chart__value, .bar-chart__labels { font-size: 13px; } }

/* Shot zones */
.shot-zones { position: relative; width: 100%; max-width: 352px; aspect-ratio: 352 / 300; margin-inline: auto; }
.shot-zones__court { position: absolute; inset: 0; width: 100%; height: 100%; }
.shot-zones__zone {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: grid; justify-items: center; min-width: 52px; padding: 5px 8px; border-radius: var(--r-sm);
  background: #3a4766; color: #fff;
}
.shot-zones__zone--hot { background: var(--c-accent); color: var(--c-ink); }
.shot-zones__pct { font-family: var(--f-display); font-size: 20px; font-weight: 800; line-height: 1; }
.shot-zones__made { font-size: 10px; font-weight: 700; }

.honor__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fdf0d5; color: #92400e; flex-shrink: 0; }
.honor__icon svg { width: 20px; height: 20px; }

/* ==========================================================================
   TEAM (single-team)
   ========================================================================== */
.team-hero { position: relative; overflow: hidden; background: var(--team-color); color: #fff; }
.team-hero__inner { position: relative; display: grid; gap: 24px; padding-block: 12px 28px; }
.team-hero__id { display: grid; gap: 16px; }
.team-hero__conf { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.team-hero__name { font-size: clamp(64px, 7vw, 96px); line-height: .9; }
.team-hero__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.team-hero__stat { display: grid; padding: 10px; border-radius: 12px; background: rgba(0,0,0,.14); }
.team-hero__stat dd { font-family: var(--f-display); font-size: clamp(30px, 3vw, 44px); font-weight: 800; line-height: 1; }
.team-hero__stat dt { order: 2; font-size: 13px; color: rgba(255,255,255,.75); }
.team-hero__actions { display: flex; gap: 10px; }
.team-hero .breadcrumbs { display: none; }
.team-hero .breadcrumbs__list { color: rgba(255,255,255,.75); }
@media (min-width: 900px) {
  .team-hero__inner { padding-block: 28px 48px; gap: 32px; }
  .team-hero .breadcrumbs { display: block; }
  .team-hero .back-link { display: none; }
  .team-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: center; }
  .team-hero__id { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 36px; }
  .team-hero__text { display: grid; gap: 14px; }
  .team-hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px; }
  .team-hero__stats { display: flex; gap: 32px; }
  .team-hero__stat { padding: 0; background: none; }
}
@media (max-width: 899px) { .team-hero__grid { display: grid; gap: 20px; } .team-hero__text, .team-hero__row { display: grid; gap: 16px; } }

.next-game { display: grid; gap: 16px; color: var(--c-ink); }
.next-game__top { display: flex; justify-content: space-between; gap: 8px; }
.next-game__teams { display: flex; align-items: center; justify-content: space-around; }
.next-game__team { display: grid; justify-items: center; gap: 6px; font-weight: 700; font-size: 15px; }
.next-game__at { font-family: var(--f-display); font-size: 30px; font-weight: 800; color: var(--c-muted-2); }
.next-game__where { text-align: center; font-size: 13px; color: var(--c-muted); }
.next-game__actions { display: flex; gap: 8px; }

.form-strip { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
@media (min-width: 900px) { .form-strip { display: flex; gap: 6px; } }
.form-strip__item { display: grid; place-items: center; height: 30px; min-width: 30px; border-radius: 8px; font-size: 13px; font-weight: 800; }
.form-strip__item--w { background: #dcf5e3; color: #166534; }
.form-strip__item--l { background: #fde2e2; color: #991b1b; }

.results-grid { display: grid; gap: 0; margin-top: 12px; }
@media (min-width: 900px) { .results-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 18px; } }
.result-card { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--c-line-soft); font-size: 14px; }
.result-card__date { display: none; }
.result-card__opp { flex: 1; font-weight: 700; }
.result-card__score { font-family: var(--f-display); font-size: 22px; font-weight: 800; }
@media (min-width: 900px) {
  .result-card { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--c-line-soft); border-radius: var(--r-md); }
  .result-card__date { display: flex; justify-content: space-between; font-size: 12px; color: var(--c-muted); }
  .result-card__team { display: flex; align-items: center; gap: 8px; }
}
@media (max-width: 899px) { .result-card__team { display: flex; align-items: center; gap: 10px; flex: 1; } }

.schedule-list__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--c-line-soft); font-size: 14px; }
.schedule-list__when { display: grid; }
.schedule-list__date { font-weight: 800; }
.schedule-list__time { font-size: 12px; color: var(--c-muted); }
.schedule-list__opp { display: flex; align-items: center; gap: 10px; font-weight: 700; grid-column: 1; }
.schedule-list__at { width: 20px; color: var(--c-muted-2); font-weight: 600; }
.schedule-list__tv { display: none; color: var(--c-muted); }
.schedule-list__cta { grid-column: 2; grid-row: 1 / span 2; }
@media (min-width: 900px) {
  .schedule-list__item { grid-template-columns: 140px minmax(0, 1fr) 140px 120px; height: 64px; padding: 0; }
  .schedule-list__opp, .schedule-list__cta { grid-column: auto; grid-row: auto; }
  .schedule-list__tv { display: block; }
}

.rank-bars__item { display: grid; gap: 8px; padding: 10px 0; border-top: 1px solid var(--c-line-dark); }
.rank-bars__top { display: flex; justify-content: space-between; align-items: baseline; }
.rank-bars__label { font-size: 14px; color: #c9cfdb; }
.rank-bars__value { font-family: var(--f-display); font-size: 24px; font-weight: 800; }
.rank-bars__rank { margin-left: 8px; font-size: 12px; font-weight: 800; color: var(--c-accent); }
.rank-bars__track { height: 6px; border-radius: 3px; background: var(--c-line-dark); }
.rank-bars__fill { height: 100%; width: var(--w); border-radius: inherit; background: var(--c-accent); }

/* ==========================================================================
   ARTICLE (single post)
   ========================================================================== */
.article-header { display: grid; gap: 16px; padding-block: 20px; }
.article-header__title { font-size: clamp(44px, 6.5vw, 84px); line-height: .95; }
.article-header__dek { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; color: #444a57; max-width: 760px; }
.article-header__byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.article-header .breadcrumbs { display: none; }
@media (min-width: 900px) {
  .article-header { justify-items: center; text-align: center; gap: 24px; padding-block: 48px 36px; }
  .article-header .breadcrumbs { display: block; }
  .article-header__title { max-width: 1080px; }
  .article-header__byline { justify-content: center; gap: 24px; }
  .article-header__divider { width: 1px; height: 36px; background: var(--c-line-strong); }
}

.author { display: flex; align-items: center; gap: 12px; text-align: left; }
.author__avatar { width: 44px; height: 44px; border-radius: 50%; background: #cfd6e4; object-fit: cover; }
.author__name { font-weight: 800; font-size: 15px; }
.author__meta { font-size: 13px; color: var(--c-muted); }

.share { display: flex; gap: 8px; }
.share__btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-line-strong); background: var(--c-surface); }
.share__btn svg { width: 18px; height: 18px; }
.share__btn:hover { border-color: var(--c-ink); }

.article-figure { display: grid; gap: 10px; }
.article-figure__img { aspect-ratio: 16 / 10; border-radius: 0; margin-inline: calc(var(--gutter) * -1); width: calc(100% + var(--gutter) * 2); max-width: none; }
.article-figure__caption { font-size: 13px; color: var(--c-muted); }
@media (min-width: 900px) { .article-figure__img { aspect-ratio: 2 / 1; border-radius: var(--r-xl); margin-inline: 0; width: 100%; } }

.article-layout { display: grid; gap: 40px; padding-block: 24px var(--section-space); }
.article-layout__related { display: none; }
@media (min-width: 1200px) {
  .article-layout { grid-template-columns: 200px 720px minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 48px; }
  .article-layout__related { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
  .article-layout__sidebar { position: sticky; top: calc(var(--header-h) + 24px); }
}

.entity-list__link { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.entity-list__name { display: block; font-weight: 700; font-size: 14px; }
.entity-list__type { display: block; font-size: 12px; color: var(--c-muted); }

/* Prose: styles WordPress post content (the_content) */
.prose { display: grid; gap: 20px; font-size: 17px; line-height: 1.65; color: var(--c-text-body); min-width: 0; }
.prose > * { margin: 0; }
.prose h2 { margin-top: 12px; font-family: var(--f-display); font-size: clamp(32px, 3vw, 40px); font-weight: 800; line-height: 1; text-transform: uppercase; color: var(--c-ink); }
.prose h3 { font-size: 22px; font-weight: 800; color: var(--c-ink); }
.prose a:not([class]) { color: var(--c-accent-text); text-decoration: underline; text-underline-offset: 3px; }
.prose ul:not([class]), .prose ol:not([class]) { padding-left: 22px; display: grid; gap: 6px; }
.prose blockquote {
  padding: 4px 0 4px 24px; border-left: 4px solid var(--c-accent);
  font-family: var(--f-display); font-size: clamp(32px, 3.4vw, 44px); font-weight: 700; line-height: 1.05; text-transform: uppercase; color: var(--c-ink);
}
.prose blockquote p { margin: 0; }
.prose blockquote cite { display: block; margin-top: 12px; font-family: var(--f-body); font-size: 15px; font-style: normal; font-weight: 600; text-transform: none; color: var(--c-muted); }
.prose figure { display: grid; gap: 10px; }
.prose figure img { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-md); background: #cfd6e4; object-fit: cover; }
.prose figcaption { font-size: 14px; color: var(--c-muted); line-height: 1.5; }
.prose__lead::first-letter { float: left; padding: 6px 10px 0 0; font-family: var(--f-display); font-size: 88px; font-weight: 800; line-height: .8; color: var(--c-ink); }
@media (min-width: 900px) { .prose { font-size: 19px; line-height: 1.7; gap: 24px; } }

/* Embeds inside articles (Gutenberg blocks) */
.embed-match { display: grid; gap: 12px; padding: 16px 20px; border-radius: var(--r-lg); background: var(--c-navy); color: var(--c-on-dark); font-size: 15px; line-height: 1.3; }
.embed-match:hover { color: var(--c-on-dark); }
.embed-match__top { display: flex; justify-content: space-between; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-on-dark-muted); }
.embed-match__cta { color: var(--c-accent); }
.embed-match__row { display: flex; align-items: center; gap: 12px; }
.embed-match__team { flex: 1; font-weight: 700; font-size: 16px; }
.embed-match__team--home { text-align: right; }
.embed-match__score { font-family: var(--f-display); font-size: 36px; font-weight: 800; }
.embed-match__score--lost { color: #7d879c; }
@media (max-width: 599px) { .embed-match__team { display: none; } .embed-match__score { flex: 1; } .embed-match__score + .embed-match__score { text-align: right; } }

.embed-player { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-line); font-size: 14px; line-height: 1.35; }
.embed-player__photo { width: 64px; height: 64px; border-radius: 50%; background: var(--team-color); flex-shrink: 0; }
.embed-player__who { flex: 1; display: grid; gap: 2px; }
.embed-player__name { font-weight: 800; font-size: 18px; }
.embed-player__meta { color: var(--c-muted); }
.embed-player__stats { display: none; gap: 20px; text-align: center; }
.embed-player__value { display: block; font-family: var(--f-display); font-size: 30px; font-weight: 800; line-height: 1.1; }
.embed-player__label { font-size: 11px; font-weight: 700; color: var(--c-muted); }
@media (min-width: 600px) { .embed-player__stats { display: flex; } .embed-player__photo { width: 88px; height: 88px; } }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 24px; border-top: 1px solid var(--c-line); }
.tag-list__link { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--c-line-strong); background: var(--c-surface); font-size: 14px; font-weight: 700; }

.author-box { display: flex; gap: 20px; padding: 20px; border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-line); font-size: 15px; line-height: 1.5; }
.author-box__avatar { width: 64px; height: 64px; border-radius: 50%; background: #cfd6e4; flex-shrink: 0; }
.author-box__body { display: grid; gap: 6px; }
.author-box__name { font-weight: 800; font-size: 18px; }
.author-box__bio { color: var(--c-muted); }
.author-box__link { font-weight: 700; color: var(--c-accent-text); }

/* Additions */
.section--spaced-top-sm { margin-top: 24px; }
.legend--dark { margin-top: 16px; color: var(--c-on-dark-muted); font-weight: 600; }
.data-table__num--team { color: var(--team-color); }
.team-hero__stat { display: flex; flex-direction: column; }
.performer__stats dt, .game-flow__facts dt { font-weight: 700; }
.post .card__title, .sidebar .card__title { margin-bottom: 4px; }
@media (max-width: 899px) {
  .scoreboard__city { display: none; }
  .player-hero__photo { width: min(72%, 280px); }
  .player-hero__visual { min-height: 0; }
}
@media (max-width: 899px) { .article-header .tag { justify-self: start; } }
