:root {
  --bg: #080807;
  --surface: #10110e;
  --surface-2: #171812;
  --text: #fffdf8;
  --muted: #c9c0a7;
  --line: #2e3028;
  --gold: #fac422;
  --red: #c84b3a;
  --green: #37a66f;
  --blue: #57b8ff;
  --orange: #dd8b38;
  --violet: #a783ff;
  --white: #ffffff;
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Lato, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.app-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 14px max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(8, 8, 7, .96);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  font-family: Oswald, sans-serif;
  font-size: 19px;
  font-weight: 700;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a,
.nav-toggle,
.card-actions a,
.text-link,
.back-link {
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current],
.card-actions a:hover,
.text-link:hover,
.back-link:hover {
  border-color: var(--line);
  color: var(--text);
  background: var(--surface-2);
}

.nav-toggle {
  display: none;
  background: var(--surface);
}

.event-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: end;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 34px 20px 26px;
}

.event-bar h1 {
  margin: 0;
  font-family: Oswald, sans-serif;
  font-size: clamp(38px, 6vw, 74px);
  line-height: .95;
}

.event-bar p,
.section-header p,
.metric-note p,
.empty-state {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.event-controls {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px;
}

.event-controls label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.event-controls select,
.event-controls input,
.search-trigger {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--surface);
  color: var(--text);
}

.search-trigger {
  display: flex;
  align-items: center;
  color: #8f8a7a;
  cursor: pointer;
  text-align: left;
}

.search-trigger:hover,
.search-trigger:focus {
  border-color: var(--gold);
  color: var(--text);
  outline: none;
}

.search-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: start center;
  padding: 92px 20px 20px;
  background: rgba(0, 0, 0, .68);
}

.search-modal {
  width: min(720px, 100%);
  max-height: min(720px, calc(100vh - 120px));
  overflow: hidden;
  border: 1px solid #3d4037;
  border-radius: 8px;
  background: #10110e;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .55);
}

.search-modal-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 12px;
}

.search-modal-head input {
  width: 100%;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 12px;
  background: #171812;
  color: var(--text);
  font-size: 16px;
  outline: none;
}

.search-modal-head input:focus {
  border-color: var(--gold);
}

.search-modal-head button {
  align-self: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: #171812;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.search-result-area {
  max-height: calc(min(720px, 100vh - 120px) - 72px);
  overflow-y: auto;
  padding: 10px;
}

.search-group + .search-group {
  margin-top: 10px;
}

.search-group h3 {
  margin: 0 0 6px;
  padding: 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.search-results {
  display: grid;
  gap: 4px;
}

.search-result {
  display: grid;
  gap: 3px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 11px;
}

.search-result:hover,
.search-result:focus {
  border-color: var(--line);
  background: #171812;
  outline: none;
}

.search-result strong {
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-region {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 20px 56px;
}

body[data-route="home"] .route-region {
  width: 100%;
  max-width: none;
  padding: 0 0 64px;
}

.hub-home {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  background: #070807;
}

.hub-home::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(250, 196, 34, .08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(250, 196, 34, .05) 1px, transparent 1px),
    radial-gradient(circle at 50% 10%, rgba(250, 196, 34, .18), transparent 34%),
    radial-gradient(circle at 12% 18%, rgba(190, 54, 45, .14), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(55, 166, 111, .12), transparent 28%),
    linear-gradient(180deg, #111811 0%, #070807 68%, var(--bg) 100%);
  background-size: 84px 84px, 84px 84px, auto, auto, auto, auto;
  content: "";
}

.hub-home::after {
  position: absolute;
  inset: auto 50% 4vh auto;
  z-index: -2;
  width: min(76vw, 680px);
  aspect-ratio: 1;
  background: url("./assets/gbca-logo.png") center / contain no-repeat;
  content: "";
  opacity: .045;
  transform: translateX(50%);
}

.hub-home-hero {
  display: grid;
  justify-items: center;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 82px) 20px clamp(30px, 5vw, 58px);
  text-align: center;
}

.hub-home-logo {
  width: clamp(86px, 11vw, 124px);
  height: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .36));
}

.hub-home-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-top: 1px solid rgba(250, 196, 34, .58);
  border-bottom: 1px solid rgba(250, 196, 34, .58);
  padding: 0 18px;
  color: var(--gold);
  font-family: Orbitron, Oswald, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hub-home h1 {
  max-width: 10ch;
  margin: 22px 0 0;
  color: var(--white);
  font-family: Orbitron, Oswald, sans-serif;
  font-size: clamp(44px, 7vw, 82px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: .98;
}

.hub-home h1 span {
  display: block;
  color: var(--gold);
}

.hub-home-hero > p {
  max-width: 760px;
  margin: 20px 0 0;
  color: #eee5cb;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.5;
}

.home-event-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 860px);
  margin-top: clamp(28px, 4vw, 40px);
  text-align: left;
}

.home-event-card {
  display: grid;
  gap: 10px;
  min-height: 210px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  padding: 18px;
  background: rgba(16, 17, 14, .86);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .22);
  transition: border-color .18s ease, transform .18s ease, background-color .18s ease;
}

.home-event-card:hover {
  border-color: rgba(250, 196, 34, .74);
  background: rgba(23, 24, 18, .95);
  transform: translateY(-2px);
}

.home-event-card span,
.home-game-kicker,
.home-game-main span,
.home-game-main em {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-event-card h2 {
  margin: 0;
  font-family: Oswald, sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
}

.home-event-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.home-event-card b {
  align-self: end;
  color: var(--gold);
  font-size: 14px;
}

.home-event-card.is-primary {
  border-color: rgba(250, 196, 34, .48);
  background: linear-gradient(180deg, rgba(31, 29, 18, .94), rgba(16, 17, 14, .9));
}

.home-upcoming-panel {
  width: min(100%, var(--max));
  margin: 22px auto 0;
  padding: 0 20px;
}

.home-panel-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.home-panel-header h2 {
  margin: 7px 0 0;
  font-family: Oswald, sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}

.home-panel-header p {
  margin: 8px 0 0;
  color: var(--muted);
}

.home-game-rail {
  display: grid;
  grid-auto-columns: minmax(280px, calc((100% - 36px) / 4));
  grid-auto-flow: column;
  grid-template-columns: none;
  gap: 12px;
  overflow-x: auto;
  padding: 0 0 12px;
  scrollbar-color: var(--gold) #20221e;
  scrollbar-width: thin;
  scroll-padding-inline: 1px;
  scroll-snap-type: x mandatory;
}

.home-game-rail::-webkit-scrollbar {
  height: 8px;
}

.home-game-rail::-webkit-scrollbar-track {
  background: #20221e;
}

.home-game-rail::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--gold);
}

.home-game-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  min-height: 224px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--surface);
  scroll-snap-align: start;
}

.home-game-kicker {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.home-game-kicker span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-game-main {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.home-game-main div {
  display: grid;
  gap: 4px;
}

.home-game-main strong {
  color: var(--gold);
  font-family: Oswald, sans-serif;
  font-size: 28px;
  line-height: 1;
}

.home-game-main em {
  color: var(--gold);
  font-style: normal;
}

.home-game-teams {
  display: grid;
  gap: 10px;
}

.home-game-teams div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 10px;
}

.home-game-teams span {
  overflow: hidden;
  color: var(--white);
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-game-teams b {
  color: var(--white);
  font-family: Oswald, sans-serif;
  font-size: 24px;
  line-height: 1;
}

.home-game-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.home-game-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 6px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.home-game-actions a:hover,
.home-game-actions .home-box-link {
  border-color: var(--gold);
  background: var(--gold);
  color: #090907;
}

.route-event-bar {
  width: 100%;
  margin: 0;
  padding: 28px 0 24px;
}

@media (max-width: 720px) {
  .hub-home-hero {
    padding: 34px 20px 28px;
  }

  .hub-home h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .home-event-cards {
    grid-template-columns: 1fr;
  }

  .home-event-card {
    min-height: 0;
  }

  .home-panel-header {
    display: grid;
    align-items: start;
  }

  .home-panel-header .text-link {
    justify-self: start;
  }

  .home-game-rail {
    grid-auto-columns: minmax(270px, 84vw);
    padding-left: 0;
  }

  .home-game-card {
    min-height: 218px;
  }

  .route-event-bar {
    padding-top: 24px;
  }
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.home-bracket-row {
  display: grid;
  min-width: 0;
}

.content-section,
.bracket-panel,
.quick-nav,
.metric-note {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
}

.content-section {
  margin-top: 18px;
}

.primary-column,
.side-column {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.section-header {
  margin-bottom: 14px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.breadcrumbs a,
.breadcrumbs span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

.breadcrumbs a {
  color: var(--gold);
}

.breadcrumbs a:first-child::before {
  margin-right: 6px;
  content: "\2190";
  font-size: 13px;
  line-height: 1;
}

.breadcrumbs span[aria-current="page"] {
  color: var(--text);
}

.breadcrumb-divider {
  color: #626658;
}

.player-profile-header {
  display: block;
}

.player-profile-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.event-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.georgia-event-header h1 {
  margin: 0;
  font-family: Oswald, sans-serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: .98;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(250, 196, 34, .5);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(250, 196, 34, .14);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.section-header h2,
.table-panel h3,
.team-box h3 {
  margin: 0;
  font-family: Oswald, sans-serif;
  font-size: 22px;
  line-height: 1.15;
}

.scoreboard-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.scoreboard-list.wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.home-grid .primary-column > .scoreboard-list {
  display: grid;
  grid-auto-columns: minmax(300px, calc((100% - 36px) / 4));
  grid-auto-flow: column;
  grid-template-columns: none;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-color: var(--gold) #20221e;
  scrollbar-width: thin;
  scroll-snap-type: x mandatory;
}

.home-grid .primary-column > .scoreboard-list .game-card {
  scroll-snap-align: start;
}

.game-date-group {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.game-date-group:first-of-type {
  margin-top: 0;
}

.game-date-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 24px;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: #141510;
  color: var(--text);
  cursor: pointer;
  font-family: Oswald, sans-serif;
  font-size: 22px;
  line-height: 1;
  text-align: left;
}

.game-date-toggle:hover {
  border-color: #4a4d41;
  background: #1b1d17;
}

.game-date-toggle em {
  color: var(--muted);
  font-family: Lato, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.game-date-toggle::after {
  justify-self: end;
  color: var(--gold);
  content: "+";
  font-family: Lato, sans-serif;
  font-size: 20px;
  font-weight: 900;
}

.game-date-toggle[aria-expanded="true"]::after {
  content: "-";
}

.game-card,
.table-panel,
.team-box,
.stat-panel,
.history-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.game-card {
  padding: 13px;
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.score-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.score-row a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.score-row strong {
  font-family: Oswald, sans-serif;
  font-size: 24px;
  text-align: right;
}

.score-row.winner a,
.score-row.winner strong {
  color: var(--gold);
}

.card-actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}

.card-actions a.primary-action {
  border-color: var(--white);
  background: var(--white);
  color: #080807;
}

.card-actions a.primary-action:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #080807;
}

.bracket-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.bracket-panel-head h2 {
  margin: 0;
  font-family: Oswald, sans-serif;
  font-size: 24px;
  line-height: 1.1;
}

.bracket-panel-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.bracket-select {
  display: grid;
  gap: 6px;
  min-width: min(330px, 100%);
}

.bracket-select span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.bracket-select select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b0c0a;
  color: var(--text);
  font-weight: 900;
  padding: 0 10px;
}

/* Exposure GA-only "brackets" are round schedules, not single-elimination trees. */
.bracket-round-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 2px;
}

.bracket-round-tabs button {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #0b0c0a;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  min-height: 36px;
  padding: 0 14px;
  text-transform: uppercase;
}

.bracket-round-tabs button:hover,
.bracket-round-tabs button.is-active {
  border-color: var(--gold);
  background: var(--gold);
  color: #080807;
}

.bracket-round-board {
  display: grid;
  gap: 16px;
}

.bracket-round-board.is-preview {
  max-height: 520px;
  overflow-y: auto;
  padding-right: 4px;
}

.bracket-round-section {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.bracket-round-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.bracket-round-section-head h3 {
  margin: 0;
  color: var(--gold);
  font-family: Oswald, sans-serif;
  font-size: 18px;
  line-height: 1;
}

.bracket-round-section-head span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.bracket-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  min-width: 0;
}

.bracket-game {
  display: grid;
  gap: 0;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #0b0c0a;
}

.bracket-game-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  border-bottom: 1px solid rgba(46, 48, 40, .74);
  padding: 8px 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.bracket-team {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border-top: 1px solid rgba(46, 48, 40, .45);
  padding: 8px 10px;
}

.bracket-team:first-of-type {
  border-top: 0;
}

.bracket-team a,
.bracket-team span {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bracket-team a:hover,
.bracket-team.is-winner a,
.bracket-team.is-winner span {
  color: var(--white);
}

.bracket-team b {
  color: var(--white);
  font-family: Oswald, sans-serif;
  font-size: 19px;
  line-height: 1;
}

@media (max-width: 720px) {
  .bracket-panel-head {
    display: grid;
    align-items: start;
  }

  .bracket-select {
    min-width: 0;
  }

  .bracket-round-board.is-preview {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }

  .bracket-game-grid {
    grid-template-columns: 1fr;
  }
}

.quick-nav {
  display: grid;
  gap: 8px;
}

.quick-nav a {
  border-top: 1px solid var(--line);
  padding: 12px 0 4px;
  color: var(--text);
  font-weight: 900;
}


/* Leaderboard modules are built as NBA-style ranked lists instead of dense data tables. */
.leaderboard-section {
  display: grid;
  gap: 18px;
}

.leaderboard-controls {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.leaderboard-toolbar {
  display: inline-flex;
  width: fit-content;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10110f;
}

.leaderboard-mode-button {
  border: 0;
  border-right: 1px solid var(--line);
  padding: 10px 13px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.leaderboard-mode-button:last-child {
  border-right: 0;
}

.leaderboard-mode-button[aria-pressed="true"] {
  background: var(--white);
  color: #070807;
}

.leaderboard-division-filter {
  display: grid;
  min-width: min(280px, 100%);
  gap: 6px;
}

.leaderboard-division-filter span {
  color: var(--cream);
  font-size: 12px;
  font-weight: 900;
}

.leaderboard-division-filter select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  padding: 0 12px;
  font: inherit;
  font-weight: 800;
}

.nba-leaderboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}

.nba-leaderboard-card {
  min-width: 0;
}

.nba-leaderboard-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.nba-leaderboard-card h3 {
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase;
}

.nba-leaderboard-card-head span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.nba-leaderboard-list {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.nba-leaderboard-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) minmax(34px, auto);
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.leaderboard-rank {
  color: var(--text);
  font-weight: 900;
  text-align: right;
}

.leaderboard-player-copy {
  display: grid;
  min-width: 0;
}

.leaderboard-player-copy span {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 15px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leaderboard-player-copy a {
  color: var(--white);
  font-weight: 900;
}

.leaderboard-player-copy em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

.leaderboard-player-copy small {
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nba-leaderboard-list strong {
  color: var(--white);
  font-size: 18px;
  line-height: 1;
  text-align: right;
}

.leaderboard-empty {
  display: block !important;
  color: var(--muted);
  font-weight: 700;
}
.leader-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.table-panel {
  overflow-x: auto;
  padding: 12px;
}

.table-panel h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

th,
td {
  border-top: 1px solid var(--line);
  padding: 10px 8px;
  text-align: left;
  white-space: nowrap;
}

th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

td {
  color: var(--text);
  font-size: 14px;
}

td a {
  color: var(--gold);
  font-weight: 700;
}

.partner-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.partner-strip a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--white);
  color: #111;
  font-weight: 900;
  text-align: center;
}

.partner-strip a.on-dark {
  background: #090a08;
}

.partner-strip img {
  width: 100%;
  max-width: 118px;
  max-height: 38px;
  object-fit: contain;
}

.site-footer {
  width: min(100%, var(--max));
  margin: 18px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--surface);
}

.site-footer > span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.metric-ring-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.metric-ring-card {
  --ring-color: var(--gold);
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--surface-2);
}

.metric-ring-card.tone-green {
  --ring-color: var(--green);
}

.metric-ring-card.tone-blue {
  --ring-color: var(--blue);
}

.metric-ring-card.tone-orange {
  --ring-color: var(--orange);
}

.metric-ring-card.tone-red {
  --ring-color: var(--red);
}

.metric-ring-card.tone-violet {
  --ring-color: var(--violet);
}

.metric-ring {
  display: grid;
  place-items: center;
  width: 86px;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--surface-2) 0 58%, transparent 59%),
    conic-gradient(var(--ring-color) var(--metric-fill), #2e3028 0);
}

.metric-ring strong {
  font-family: Oswald, sans-serif;
  font-size: 24px;
  line-height: 1;
}

.metric-ring-copy {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.metric-ring-copy h3 {
  margin: 0;
  font-family: Oswald, sans-serif;
  font-size: 18px;
  line-height: 1;
}

.metric-ring-copy span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.info-button {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #0b0c0a;
  color: var(--muted);
  cursor: help;
  font-size: 12px;
  font-weight: 900;
}

.info-button span {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 30;
  display: none;
  width: 240px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  background: #050606;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
}

.info-button:hover span,
.info-button:focus span {
  display: block;
}

.text-link,
.back-link,
.gameon-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--gold);
}

.gameon-link {
  margin-top: 0;
  font-weight: 900;
}

.gameon-profile-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid #f0a052;
  border-radius: 8px;
  padding: 9px 13px;
  background: var(--orange);
  color: #080807;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(221, 139, 56, .16);
}

.gameon-profile-button:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #080807;
}

.metric-note .gameon-link {
  margin-top: 12px;
  margin-left: 12px;
}

.muted-cell {
  color: var(--muted);
}

.box-score-grid,
.profile-grid,
.player-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.box-score-stack {
  display: grid;
  gap: 14px;
}

.box-table-panel {
  overflow: hidden;
  border: 1px solid #383b34;
  border-radius: 8px;
  background: #171916;
  color: var(--text);
}

.box-team-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #383b34;
  padding: 11px 13px;
  background: #20221e;
  color: var(--text);
  font-weight: 900;
}

.box-team-title span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.box-team-title strong {
  font-family: Oswald, sans-serif;
  font-size: 24px;
}

.box-table-scroll {
  overflow-x: auto;
}

.box-table {
  min-width: 980px;
  color: var(--text);
}

.box-table th,
.box-table td {
  border-top: 1px solid #34372f;
  padding: 7px 8px;
  color: #f0eee8;
  font-size: 13px;
  text-align: center;
}

.box-table th {
  background: #1d1f1b;
  color: #c9c0a7;
  font-size: 12px;
}

.box-table th:first-child,
.box-table td:first-child {
  position: sticky;
  left: 0;
  width: 210px;
  border-right: 1px solid #3b3e36;
  box-shadow: 10px 0 14px -14px rgba(0, 0, 0, .9);
  text-align: left;
}

.box-table th:first-child {
  z-index: 3;
  background: #1d1f1b;
}

.box-table tbody tr:nth-child(odd) td:first-child {
  z-index: 2;
  background: #171916;
}

.box-table tbody tr:nth-child(even) td:first-child {
  z-index: 2;
  background: #20221e;
}

.box-table tbody tr:nth-child(odd) {
  background: #171916;
}

.box-table tbody tr:nth-child(even) {
  background: #20221e;
}

.box-table td a {
  color: var(--white);
  font-weight: 900;
}

.team-total-row {
  background: #2a2d27 !important;
  font-weight: 900;
}

.team-total-row td:first-child {
  background: #2a2d27 !important;
}

.profile-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.profile-grid.compact {
  margin-top: 0;
}

.player-stat-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.team-box,
.stat-panel {
  padding: 14px;
}

.team-box strong,
.stat-panel strong {
  display: block;
  margin-top: 8px;
  font-family: Oswald, sans-serif;
  font-size: 42px;
}

.stat-panel em {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.player-stat-rail {
  grid-template-columns: repeat(8, minmax(86px, 1fr));
  gap: 8px;
  align-items: stretch;
}

.player-stat-rail .stat-panel {
  min-width: 0;
  min-height: 86px;
  padding: 10px 12px;
}

.player-stat-rail .stat-panel span,
.player-stat-rail .stat-panel em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-stat-rail .stat-panel strong {
  margin-top: 6px;
  font-size: 30px;
  line-height: 1;
}

.player-stat-rail .stat-panel em {
  font-size: 11px;
}

.team-box dl {
  display: flex;
  gap: 20px;
  margin: 12px 0 0;
}

.team-box div {
  display: grid;
  gap: 3px;
}

.team-box dt,
.stat-panel span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.team-box dd {
  margin: 0;
  font-weight: 900;
}

.detail-section {
  margin-top: 0;
}

.metric-note {
  margin-top: 12px;
}

.history-section {
  margin-top: 14px;
}

.history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.history-section h3 {
  margin: 0;
  font-family: Oswald, sans-serif;
  font-size: 18px;
}

.history-header span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.history-toggle {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--surface-2);
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.history-toggle:hover,
.history-toggle[aria-pressed="true"] {
  border-color: var(--gold);
  color: var(--text);
}

.history-table-panel {
  overflow: hidden;
  border: 1px solid #383b34;
  border-radius: 8px;
  background: #171916;
}

.history-table {
  min-width: 1180px;
}

.team-roster-panel {
  margin-bottom: 14px;
}

.team-roster-table {
  min-width: 1120px;
}

.team-roster-table td strong {
  color: var(--white);
}

.player-game-log-table {
  min-width: 1040px;
}

.player-game-log-table td:first-child a {
  display: block;
}

.game-log-score {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.game-log-score.result-win {
  color: var(--gold);
}

.game-log-score.result-loss {
  color: #c9c0a7;
}

.history-table th,
.history-table td {
  padding: 6px 7px;
  font-size: 12px;
}

.history-table th:first-child,
.history-table td:first-child {
  width: 250px;
}

.history-table td strong {
  color: var(--white);
}

.history-table th:nth-child(2),
.history-table td:nth-child(2) {
  text-align: left;
}

.history-metric-ring {
  --ring-color: #4b4e43;
  display: inline-grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #171916 0 58%, transparent 59%),
    conic-gradient(var(--ring-color) var(--metric-fill), #32352d 0);
  vertical-align: middle;
}

.history-metric-ring strong {
  color: var(--text);
  font-family: Oswald, sans-serif;
  font-size: 12px;
  line-height: 1;
}

.history-metric-ring.tier-gold {
  --ring-color: var(--gold);
}

.history-metric-ring.tier-silver {
  --ring-color: #c8ced6;
}

.history-metric-ring.tier-bronze {
  --ring-color: #c7894a;
}

.history-metric-ring.tone-green {
  --ring-color: var(--green);
}

.history-metric-ring.tone-blue {
  --ring-color: var(--blue);
}

.history-metric-ring.tone-orange {
  --ring-color: var(--orange);
}

.history-metric-ring.tone-red {
  --ring-color: var(--red);
}

.history-metric-ring.tone-violet {
  --ring-color: var(--violet);
}

.history-ring-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.mini-ring {
  --ring-color: var(--gold);
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 0;
}

.mini-ring.tone-green {
  --ring-color: var(--green);
}

.mini-ring.tone-blue {
  --ring-color: var(--blue);
}

.mini-ring.tone-orange {
  --ring-color: var(--orange);
}

.mini-ring.tone-red {
  --ring-color: var(--red);
}

.mini-ring.tone-violet {
  --ring-color: var(--violet);
}

.mini-ring-shape {
  display: grid;
  place-items: center;
  width: 56px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--surface-2) 0 58%, transparent 59%),
    conic-gradient(var(--ring-color) var(--metric-fill), #2e3028 0);
}

.mini-ring strong {
  font-family: Oswald, sans-serif;
  font-size: 16px;
  line-height: 1;
}

.mini-ring span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

@media (min-width: 1400px) {
  :root {
    --max: 1500px;
  }

  .site-header {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand {
    min-width: 260px;
  }

  .event-bar {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding-top: 36px;
    padding-bottom: 22px;
  }

  .home-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .content-section,
  .bracket-panel,
  .quick-nav,
  .metric-note {
    padding: 20px;
  }

  .scoreboard-list {
    gap: 12px;
  }

  .metric-ring-grid,
  .player-stat-grid {
    gap: 12px;
  }

  .history-table {
    min-width: 100%;
  }
}

@media (max-width: 980px) {
  .event-bar,
  .home-grid,
  .leader-grid {
    grid-template-columns: 1fr;
  }

  .scoreboard-list,
  .scoreboard-list.wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-strip,
  .profile-grid,
  .player-stat-grid,
  .metric-ring-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .history-ring-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    padding: 12px 16px;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    background: var(--surface);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .event-bar,
  .route-region {
    padding-right: 14px;
    padding-left: 14px;
  }

  .event-controls,
  .scoreboard-list.wide,
  .box-score-grid,
  .partner-strip,
  .profile-grid,
  .player-stat-grid,
  .metric-ring-grid {
    grid-template-columns: 1fr;
  }

  .player-profile-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .gameon-profile-button {
    width: fit-content;
  }

  .history-card-head {
    display: grid;
  }

  .history-line {
    justify-content: flex-start;
  }

  .history-ring-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-bar h1 {
    font-size: 42px;
  }

  .home-grid .primary-column > .scoreboard-list {
    display: grid;
    grid-auto-columns: minmax(280px, 86vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 10px;
    margin-right: -14px;
    margin-left: 0;
    overflow-x: auto;
    padding: 0 14px 12px 0;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
  }

  .home-grid .primary-column > .scoreboard-list::-webkit-scrollbar {
    display: none;
  }

  .home-grid .primary-column > .scoreboard-list .game-card {
    scroll-snap-align: start;
  }

}

.box-page-actions {
  display: flex;
  justify-content: flex-end;
  margin: -4px 0 14px;
}

.print-box-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--white);
  border-radius: 8px;
  padding: 9px 14px;
  background: var(--white);
  color: #080807;
  cursor: pointer;
  font-weight: 900;
}

.print-box-button:hover {
  border-color: var(--gold);
  background: var(--gold);
}

.print-box-score {
  display: none;
}

.print-preview-shell {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 18px;
  overflow: hidden;
  background: rgba(5, 6, 5, .96);
}

.print-preview-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.print-preview-note > div:first-child {
  display: grid;
  gap: 2px;
}

.print-preview-note strong {
  color: var(--gold);
}

.print-preview-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.print-preview-print,
.print-preview-close {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  background: #171916;
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
  line-height: 1;
}

.print-preview-print {
  min-height: 34px;
  border-radius: 8px;
  padding: 8px 12px;
  color: #080807;
  background: var(--white);
}

.print-preview-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 17px;
}

.mobile-share-only {
  display: none;
}

.print-preview-print:hover,
.print-preview-close:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #080807;
}

.print-preview-stage {
  min-height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: auto;
}

.print-preview-shell .print-box-score {
  display: block;
  width: 900px;
  min-width: 900px;
  max-height: calc(100vh - 86px);
  margin: 0 auto;
  overflow-y: auto;
  padding: 36px;
  background: #fff;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
}

.print-preview-shell .print-score-header {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: end;
  gap: 20px;
  border-bottom: 4px solid #111;
  padding-bottom: 12px;
}

.print-preview-shell .print-brand {
  display: grid;
  gap: 7px;
  align-items: start;
}

.print-preview-shell .print-brand img {
  width: 156px;
  max-width: 100%;
  height: auto;
  filter: none;
}

.print-preview-shell .print-brand span {
  color: #6f5b0f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.print-preview-shell .print-game-meta {
  display: grid;
  gap: 7px;
  justify-items: end;
  text-align: right;
}

.print-preview-shell .print-game-meta h1,
.print-preview-shell .print-game-meta p {
  margin: 0;
  color: #111;
}

.print-preview-shell .print-game-meta h1 {
  font-family: "Futura Black", Futura, "Futura PT", "Avenir Next Condensed", "Arial Black", Arial, sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0;
  line-height: .95;
}

.print-preview-shell .print-game-meta p {
  color: #4b4b4b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.print-preview-shell .print-scoreline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0 20px;
}

.print-preview-shell .print-score-team {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  align-items: center;
  gap: 10px;
  border: 1.5px solid #111;
  border-left: 8px solid #c5a21d;
  padding: 10px 12px;
}

.print-preview-shell .print-score-team span {
  overflow: hidden;
  color: #111;
  font-size: 16px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.print-preview-shell .print-score-team strong {
  color: #111;
  font-family: "Futura Black", Futura, "Futura PT", "Avenir Next Condensed", "Arial Black", Arial, sans-serif;
  font-size: 30px;
  line-height: 1;
  text-align: right;
}

.print-preview-shell .print-team-box {
  break-inside: avoid;
  margin-top: 16px;
}

.print-preview-shell .print-team-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  align-items: end;
  gap: 12px;
  border-bottom: 2px solid #c5a21d;
  padding-bottom: 6px;
  margin-bottom: 6px;
}

.print-preview-shell .print-team-title span {
  display: block;
  margin-bottom: 3px;
  color: #6f5b0f;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.print-preview-shell .print-team-title h3 {
  margin: 0;
  color: #111 !important;
  font-family: "Futura Black", Futura, "Futura PT", "Avenir Next Condensed", "Arial Black", Arial, sans-serif;
  font-size: 21px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.print-preview-shell .print-team-title strong {
  color: #111;
  font-family: "Futura Black", Futura, "Futura PT", "Avenir Next Condensed", "Arial Black", Arial, sans-serif;
  font-size: 25px;
  line-height: 1;
  text-align: right;
}

.print-preview-shell .print-box-table {
  width: 100%;
  border-collapse: collapse;
  color: #111;
  table-layout: fixed;
}

.print-preview-shell .print-box-table th,
.print-preview-shell .print-box-table td {
  border: 0;
  border-bottom: 1px solid #d7d3c5;
  padding: 4px 5px;
  color: #111;
  font-size: 11px;
  line-height: 1.1;
  text-align: center;
}

.print-preview-shell .print-box-table th {
  border-bottom: 1.75px solid #111;
  color: #6f5b0f;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.print-preview-shell .print-box-table th:nth-child(1),
.print-preview-shell .print-box-table td:nth-child(1) {
  width: 28px;
}

.print-preview-shell .print-box-table th:nth-child(2),
.print-preview-shell .print-box-table td:nth-child(2) {
  width: 210px;
  text-align: left;
}

.print-preview-shell .print-box-table tbody tr:nth-child(even):not(.print-total-row):not(.print-pct-row) {
  background: #fbfaf5 !important;
}

.print-preview-shell .print-box-table td strong {
  color: #111;
  font-size: 13px;
}

.print-preview-shell .print-total-row td {
  border-top: 2px solid #111;
  border-bottom: 0;
  color: #111;
  font-family: "Futura Black", Futura, "Futura PT", "Avenir Next Condensed", "Arial Black", Arial, sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0;
}

.print-preview-shell .print-total-row td:first-child {
  text-align: left;
}

.print-preview-shell .print-pct-row td {
  border-bottom: 0;
  padding-top: 0;
  color: #6f5b0f;
  font-size: 12px;
  font-weight: 900;
}

@media print {
  @page {
    size: 8.5in 11in;
    margin: .3in;
  }

  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  html,
  body {
    width: auto;
    min-width: 0;
    background: #fff !important;
    color: #111 !important;
  }

  .site-header,
  .event-bar,
  .back-link,
  .breadcrumbs,
  .detail-section > .section-header,
  .box-page-actions,
  .print-preview-note,
  .box-score-stack,
  .site-footer,
  .search-backdrop {
    display: none !important;
  }

  .app-shell,
  main,
  .route-region,
  .content-section.detail-section {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    color: #111 !important;
    box-shadow: none !important;
  }

  .print-preview-shell {
    display: block !important;
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: #fff !important;
  }

  .print-preview-stage {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .print-preview-shell .print-box-score,
  .print-box-score {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    padding: 0 !important;
    transform: none !important;
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
  }

  .print-score-header {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: end;
    gap: 20px;
    border-bottom: 4px solid #111;
    padding-bottom: 12px;
  }

  .print-brand {
    display: grid;
    gap: 7px;
    align-items: start;
  }

  .print-brand img {
    width: 156px;
    max-width: 100%;
    height: auto;
    filter: none;
  }

  .print-brand span {
    color: #6f5b0f;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
  }

  .print-game-meta {
    display: grid;
    gap: 7px;
    justify-items: end;
    text-align: right;
  }

  .print-game-meta h1,
  .print-game-meta p {
    margin: 0;
    color: #111;
  }

  .print-game-meta h1 {
    font-family: "Futura Black", Futura, "Futura PT", "Avenir Next Condensed", "Arial Black", Arial, sans-serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0;
    line-height: .95;
  }

  .print-game-meta p {
    color: #4b4b4b;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .print-scoreline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 16px 0 20px;
  }

  .print-score-team {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px;
    align-items: center;
    gap: 10px;
    border: 1.5px solid #111;
    border-left: 8px solid #c5a21d;
    padding: 10px 12px;
  }

  .print-score-team span {
    overflow: hidden;
    color: #111;
    font-size: 16px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .print-score-team strong {
    color: #111;
    font-family: "Futura Black", Futura, "Futura PT", "Avenir Next Condensed", "Arial Black", Arial, sans-serif;
    font-size: 30px;
    line-height: 1;
    text-align: right;
  }

  .print-team-box {
    break-inside: avoid;
    margin-top: 16px;
  }

  .print-team-title {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 52px;
    align-items: end;
    gap: 12px;
    border-bottom: 2px solid #c5a21d;
    padding-bottom: 6px;
    margin-bottom: 6px;
  }

  .print-team-title span {
    display: block;
    margin-bottom: 3px;
    color: #6f5b0f;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
  }

  .print-team-title h3 {
    margin: 0;
    color: #111 !important;
    font-family: "Futura Black", Futura, "Futura PT", "Avenir Next Condensed", "Arial Black", Arial, sans-serif;
    font-size: 21px;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
  }

  .print-team-title strong {
    color: #111;
    font-family: "Futura Black", Futura, "Futura PT", "Avenir Next Condensed", "Arial Black", Arial, sans-serif;
    font-size: 25px;
    line-height: 1;
    text-align: right;
  }

  .print-box-table {
    width: 100%;
    border-collapse: collapse;
    color: #111;
    table-layout: fixed;
  }

  .print-preview-shell .print-box-table th,
  .print-preview-shell .print-box-table td,
  .print-box-table th,
  .print-box-table td {
    border: 0;
    border-bottom: 1px solid #d7d3c5;
    padding: 3.5px 4px !important;
    color: #111;
    font-size: 10px !important;
    line-height: 1.1;
    text-align: center;
  }

  .print-preview-shell .print-box-table th,
  .print-box-table th {
    border-bottom: 1.75px solid #111;
    color: #6f5b0f;
    font-size: 8px !important;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .print-preview-shell .print-box-table th:nth-child(1),
  .print-preview-shell .print-box-table td:nth-child(1),
  .print-box-table th:nth-child(1),
  .print-box-table td:nth-child(1) {
    width: 26px !important;
  }

  .print-preview-shell .print-box-table th:nth-child(2),
  .print-preview-shell .print-box-table td:nth-child(2),
  .print-box-table th:nth-child(2),
  .print-box-table td:nth-child(2) {
    width: 170px !important;
    text-align: left;
  }

  .print-box-table tbody tr:nth-child(even):not(.print-total-row):not(.print-pct-row) {
    background: #fbfaf5 !important;
  }

  .print-box-table td strong {
    color: #111;
    font-size: 13px;
  }

  .print-total-row td {
    border-top: 2px solid #111;
    border-bottom: 0;
    color: #111;
    font-family: "Futura Black", Futura, "Futura PT", "Avenir Next Condensed", "Arial Black", Arial, sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0;
  }

  .print-total-row td:first-child {
    text-align: left;
  }

  .print-pct-row td {
    border-bottom: 0;
    padding-top: 0;
    color: #6f5b0f;
    font-size: 12px;
    font-weight: 900;
  }
}
@media (max-width: 980px) {
  .nba-leaderboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .box-table-panel {
    border-radius: 7px;
  }

  .box-team-title {
    gap: 10px;
    padding: 10px 11px;
  }

  .box-team-title h3 {
    min-width: 0;
    font-size: 18px;
    line-height: 1.05;
  }

  .box-team-title strong {
    font-size: 23px;
  }

  .box-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: var(--gold) #242720;
    scrollbar-width: thin;
  }

  .box-table {
    min-width: 736px;
    table-layout: fixed;
  }

  .box-table th,
  .box-table td {
    padding: 6px 6px;
    font-size: 12px;
    line-height: 1.12;
  }

  .box-table th {
    font-size: 10px;
  }

  .box-table th:first-child,
  .box-table td:first-child {
    width: 146px;
    min-width: 146px;
    max-width: 146px;
    padding-left: 8px;
    white-space: normal;
  }

  .box-table td:first-child a {
    display: inline;
    line-height: 1.15;
    white-space: normal;
  }

  .box-table th:nth-child(2),
  .box-table td:nth-child(2),
  .box-table th:nth-child(3),
  .box-table td:nth-child(3),
  .box-table th:nth-child(8),
  .box-table td:nth-child(8),
  .box-table th:nth-child(9),
  .box-table td:nth-child(9),
  .box-table th:nth-child(10),
  .box-table td:nth-child(10),
  .box-table th:nth-child(11),
  .box-table td:nth-child(11),
  .box-table th:nth-child(14),
  .box-table td:nth-child(14) {
    width: 42px;
  }

  .box-table th:nth-child(4),
  .box-table td:nth-child(4),
  .box-table th:nth-child(5),
  .box-table td:nth-child(5),
  .box-table th:nth-child(6),
  .box-table td:nth-child(6) {
    width: 54px;
  }

  .box-table th:nth-child(7),
  .box-table td:nth-child(7),
  .box-table th:nth-child(12),
  .box-table td:nth-child(12),
  .box-table th:nth-child(13),
  .box-table td:nth-child(13) {
    width: 50px;
  }

  .box-table th:nth-child(15),
  .box-table td:nth-child(15) {
    width: 68px;
  }

  .nba-leaderboard-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .leaderboard-toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .leaderboard-controls {
    display: grid;
    gap: 12px;
  }

  .leaderboard-division-filter {
    min-width: 0;
  }

  .leaderboard-mode-button {
    min-height: 42px;
    padding: 9px 10px;
  }

  .leaderboard-player-copy span {
    white-space: normal;
  }
  /* Player profiles need to scan quickly on phones: compact the summary before the deep tables. */
  body[data-route="player"] .event-bar {
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 8px;
  }

  body[data-route="player"] .event-bar h1 {
    font-size: 30px;
    line-height: 1;
  }

  body[data-route="player"] .event-bar p {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.25;
  }

  body[data-route="player"] .event-controls {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 8px;
  }

  body[data-route="player"] .event-controls label {
    gap: 5px;
  }

  body[data-route="player"] .event-controls select,
  body[data-route="player"] .search-trigger {
    min-height: 38px;
    padding: 9px 10px;
  }
  .content-section.detail-section {
    padding: 14px 10px;
  }

  .detail-section > .section-header {
    margin-bottom: 10px;
  }

  .player-profile-title-row {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .player-profile-title-row h2 {
    min-width: 0;
    font-size: 24px;
  }

  .gameon-profile-button {
    min-height: 32px;
    padding: 7px 9px;
    font-size: 12px;
  }

  .detail-section > .metric-ring-grid {
    display: grid;
    grid-auto-columns: 92px;
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 8px;
    margin: 0 -10px 10px 0;
    overflow-x: auto;
    padding: 0 10px 8px 0;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
  }

  .detail-section > .metric-ring-grid::-webkit-scrollbar {
    display: none;
  }

  .detail-section .metric-ring-card {
    justify-items: center;
    gap: 7px;
    min-width: 0;
    padding: 8px;
    scroll-snap-align: start;
  }

  .detail-section .metric-ring {
    width: 58px;
  }

  .detail-section .metric-ring strong {
    font-size: 16px;
  }

  .detail-section .metric-ring-copy {
    width: 100%;
    align-items: center;
    gap: 4px;
  }

  .detail-section .metric-ring-copy h3 {
    font-size: 14px;
  }

  .detail-section .metric-ring-copy span {
    display: none;
  }

  .detail-section .info-button {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }

  .detail-section > .player-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 10px;
  }

  .detail-section > .player-stat-grid .stat-panel {
    min-width: 0;
    padding: 8px 6px;
  }

  .detail-section > .player-stat-grid .stat-panel span {
    font-size: 10px;
  }

  .detail-section > .player-stat-grid .stat-panel strong {
    margin-top: 3px;
    font-size: 23px;
    line-height: 1;
  }

  .detail-section > .player-stat-grid .stat-panel em {
    margin-top: 1px;
    font-size: 10px;
    line-height: 1.15;
  }

  .player-game-log.history-section,
  .detail-section > .history-section {
    margin-top: 10px;
  }
}
@media (max-width: 720px) {
  .print-preview-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: rgba(0, 0, 0, .78);
  }

  .print-preview-note {
    width: min(100%, var(--print-preview-scaled-width, 348px));
    min-height: 42px;
    align-items: center;
    padding: 8px 0;
  }

  .print-preview-note span {
    font-size: 9px;
    line-height: 1.15;
  }

  .print-only {
    display: none;
  }

  .mobile-share-only {
    display: inline-grid;
  }

  .print-preview-print {
    min-height: 40px;
    padding: 8px 12px;
  }

  .print-preview-print:disabled {
    cursor: wait;
    opacity: .72;
  }

  .print-preview-close {
    width: 40px;
    height: 40px;
    border-color: #484b41;
    background: #11130f;
    color: var(--white);
    font-size: 18px;
  }

  .print-preview-stage {
    flex: 0 0 auto;
    width: var(--print-preview-scaled-width, 348px);
    height: var(--print-preview-scaled-height, 310px);
    min-height: 0;
    align-items: flex-start;
    justify-content: center;
    overflow: visible;
  }

  .print-preview-shell .print-box-score {
    width: 900px;
    min-width: 900px;
    max-width: none;
    height: auto;
    max-height: none;
    margin: 0;
    overflow: visible;
    padding: 36px;
    transform: scale(var(--print-preview-scale, .38));
    transform-origin: top center;
    will-change: transform;
  }
}
.upcoming-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: stretch;
  width: min(100%, var(--max));
  margin: 0 auto 18px;
  padding: 0 20px;
}

.upcoming-hero > div,
.upcoming-source-panel,
.last-week-callout {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.upcoming-hero > div:first-child {
  padding: 22px;
}

.eyebrow {
  display: inline-flex;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.upcoming-hero h2,
.last-week-callout h2 {
  margin: 8px 0 0;
  font-family: Oswald, sans-serif;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
}

.upcoming-hero p,
.last-week-callout p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.upcoming-source-panel {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px;
}

.upcoming-source-panel span,
.upcoming-source-panel em,
.upcoming-source-panel small {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.upcoming-source-panel strong {
  font-family: Oswald, sans-serif;
  font-size: 34px;
  line-height: 1;
}

.schedule-filter-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 14px;
}

.schedule-filter-row label {
  display: grid;
  gap: 7px;
}

.schedule-filter-row span {
  color: var(--cream);
  font-size: 12px;
  font-weight: 900;
}

.schedule-filter-row select,
.schedule-filter-row input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #32352d;
  border-radius: 6px;
  background: #10120d;
  color: var(--text);
  font: inherit;
  font-weight: 800;
  padding: 0 12px;
}

.upcoming-date-group + .upcoming-date-group {
  margin-top: 18px;
}

.upcoming-date-heading {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: inherit;
  cursor: pointer;
  margin-bottom: 10px;
  padding-bottom: 8px;
  text-align: left;
}

.upcoming-date-heading strong {
  margin: 0;
  font-family: Oswald, sans-serif;
  font-size: 26px;
  line-height: 1;
}

.upcoming-date-heading span {
  display: grid;
  gap: 3px;
}

.upcoming-date-heading em,
.upcoming-date-heading b {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  font-style: normal;
  text-transform: uppercase;
}

.upcoming-date-heading b {
  color: var(--gold);
}

.upcoming-game-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.upcoming-game-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  border: 1px solid #32352d;
  border-radius: 8px;
  padding: 13px;
  background: #151711;
}

.upcoming-game-time {
  display: grid;
  align-content: start;
  gap: 5px;
  border-right: 1px solid var(--line);
  padding-right: 12px;
}

.upcoming-game-time strong {
  color: var(--gold);
  font-family: Oswald, sans-serif;
  font-size: 20px;
  line-height: 1;
}

.upcoming-game-time span,
.upcoming-game-time em,
.upcoming-game-meta span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  font-style: normal;
  text-transform: uppercase;
}

.upcoming-matchup {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.upcoming-team-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.upcoming-matchup strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upcoming-team-line b {
  color: var(--white);
  font-family: Oswald, sans-serif;
  font-size: 20px;
  line-height: 1;
}

.upcoming-matchup span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.upcoming-game-meta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}

.upcoming-box-link {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  background: var(--gold);
  color: #090907;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  text-decoration: none;
}

.upcoming-box-link:hover {
  background: var(--white);
  border-color: var(--white);
}

/* Favorites are local-only controls. Keep them compact so tables still scan like sports data. */
.favorite-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border: 1px solid #3a3c32;
  border-radius: 999px;
  background: #0d0e0b;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.favorite-button:hover,
.favorite-button:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
  outline: none;
}

.favorite-button span {
  font-size: 0;
}

.favorite-button span::before {
  content: "\2606";
  font-size: 15px;
}

.favorite-button.is-active {
  border-color: var(--gold);
  background: rgba(250, 196, 34, .14);
  color: var(--gold);
}

.favorite-button.is-active span::before {
  content: "\2605";
}

.favorite-name-cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  min-width: 0;
  vertical-align: middle;
}

.favorite-name-cell > a,
.favorite-name-cell > span,
.favorite-name-cell > strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upcoming-favorite-name {
  display: flex;
}

.favorite-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.favorite-matchup {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.favorites-page {
  display: grid;
  gap: 18px;
}

.favorite-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.favorite-filter-tabs button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #10110e;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
  padding: 8px 13px;
}

.favorite-filter-tabs button[aria-pressed="true"],
.favorite-filter-tabs button:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #080807;
}

.favorite-scope-section,
.favorite-group {
  display: grid;
  gap: 12px;
}

.favorite-scope-section {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.favorite-section-head,
.favorite-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.favorite-section-head h3,
.favorite-group-head h4,
.favorite-card h4 {
  margin: 0;
  font-family: Oswald, sans-serif;
  line-height: 1.05;
}

.favorite-section-head h3 {
  font-size: 24px;
}

.favorite-section-head span,
.favorite-group-head span,
.favorite-card-head span,
.favorite-muted {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.favorite-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.favorite-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #12140f;
  padding: 14px;
}

.favorite-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.favorite-card h4 {
  margin-top: 3px;
  font-size: 22px;
}

.favorite-card p {
  margin: 5px 0 0;
  color: var(--muted);
}

.favorite-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.favorite-card-actions a,
.favorite-game-list a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  padding: 6px 9px;
}

.favorite-card-actions a:hover,
.favorite-game-list a:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #080807;
}

.favorite-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.favorite-stat-strip span {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0c0d0a;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  padding: 8px;
}

.favorite-stat-strip b {
  display: block;
  color: var(--white);
  font-family: Oswald, sans-serif;
  font-size: 20px;
  line-height: 1;
}

.favorite-game-list {
  display: grid;
  gap: 8px;
}

.favorite-game-list > strong {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.favorite-game-list ul {
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.favorite-game-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 7px;
}

.favorite-game-list li span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.favorite-game-list li b {
  display: block;
  margin-top: 2px;
}

.favorite-empty {
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 18px;
}

.last-week-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(100%, var(--max));
  margin: 18px auto 0;
  padding: 22px;
}

.last-week-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.last-week-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--muted);
  font-weight: 900;
}

.last-week-actions a:hover,
.last-week-actions .primary-action {
  border-color: var(--gold);
  background: var(--gold);
  color: #080807;
}

@media (max-width: 720px) {
  .upcoming-hero,
  .last-week-callout {
    grid-template-columns: 1fr;
  }

  .schedule-filter-row,
  .upcoming-game-list {
    grid-template-columns: 1fr;
  }

  .upcoming-game-card {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .favorite-card-grid,
  .favorite-stat-strip {
    grid-template-columns: 1fr;
  }

  .favorite-title-row,
  .favorite-section-head,
  .favorite-group-head {
    align-items: flex-start;
  }
}

@media (min-width: 981px) {
  .detail-section > .player-stat-rail {
    grid-template-columns: repeat(8, minmax(86px, 1fr));
    gap: 8px;
    margin-bottom: 14px;
  }

  .detail-section > .player-stat-rail .stat-panel {
    min-height: 86px;
    padding: 10px 12px;
  }

  .detail-section > .player-stat-rail .stat-panel strong {
    margin-top: 6px;
    font-size: 30px;
    line-height: 1;
  }

  .detail-section > .player-stat-rail .stat-panel span,
  .detail-section > .player-stat-rail .stat-panel em {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
