:root {
  --bg: #0a0e14;
  --bg-elevated: #10141c;
  --card: #161b25;
  --card-hover: #1c222f;
  --border: #262e3d;
  --text: #edf1f7;
  --text-dim: #8b96a8;
  --text-faint: #586375;
  --accent: #e0263f;
  --accent-2: #3d8bff;
  --live: #ff4d4d;
  --win: #34d399;
  --radius: 12px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
}

a { color: var(--accent-2); }

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px 48px;
}

/* Touch & keyboard interaction baseline */
button,
a,
[role="button"],
input[type="date"] {
  touch-action: manipulation;
}

button,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

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

/* Header */
header.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.brand img { width: 30px; height: 30px; flex-shrink: 0; }

.brand-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-text .plus { color: var(--accent); }

.tagline {
  font-size: 12px;
  color: var(--text-dim);
  display: none;
}

@media (min-width: 560px) {
  .tagline { display: block; }
}

nav.tabs {
  display: flex;
  gap: 4px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
nav.tabs::-webkit-scrollbar { display: none; }

nav.tabs button {
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

nav.tabs button.active {
  background: var(--accent);
  color: #180509;
}
nav.tabs button:active:not(.active) { background: var(--card-hover); }

@media (max-width: 400px) {
  nav.tabs button { padding: 7px 10px; font-size: 13px; }
}

/* Date nav */
.date-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 20px 0 6px;
}

.date-nav button.nav-arrow {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.date-nav button.nav-arrow:hover { background: var(--card-hover); }
.date-nav button.nav-arrow:active { background: var(--border); }
.date-nav button.nav-arrow:disabled {
  opacity: 0.3;
  cursor: default;
  background: var(--card);
}

.date-label-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 150px;
}

.date-label {
  font-weight: 700;
  font-size: 16px;
}

.week-picker {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 12px;
  transform: scale(0.9);
  transform-origin: top center;
  margin-top: -2px;
  cursor: pointer;
  font-family: inherit;
  max-width: 160px;
}
.week-picker option {
  background: var(--card);
  color: var(--text);
}

.today-btn {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--accent-2);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 14px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.today-btn:active { background: var(--card-hover); }

.filter-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.filter-chip {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-dim);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.filter-chip.active {
  border-color: var(--accent);
  color: var(--accent);
}
.filter-chip:active { background: var(--card-hover); }

/* Games grid, grouped by day within the selected week */
#scores {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.score-day-group:not(:first-child) {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.score-day-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}
.score-day-heading .score-day-sub {
  font-weight: 500;
  color: var(--text-faint);
  margin-left: 6px;
}

.score-day-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .score-day-grid { grid-template-columns: 1fr 1fr; }
}

.status-msg {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-dim);
  padding: 40px 0;
}

.status-msg .retry-btn {
  display: inline-block;
  margin-top: 12px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}
.status-msg .retry-btn:active { opacity: 0.8; }

.skeleton {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 108px;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 0.6; } 50% { opacity: 1; } }

.game-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.game-card:hover { background: var(--card-hover); border-color: #333c4d; }
.game-card:active { background: var(--card-hover); }

.game-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.game-status {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.game-status.live { color: var(--live); }
.game-status.final { color: var(--text-faint); }

.game-week {
  font-size: 11px;
  color: var(--text-faint);
}

.broadcast {
  font-size: 11px;
  color: var(--text-faint);
}

.team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 0;
}

.team-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.team-click {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

[data-team-id],
[data-player-id] {
  cursor: pointer;
}
[data-team-id]:hover,
[data-player-id]:hover {
  text-decoration: underline;
}

.fav-star {
  background: none;
  border: none;
  color: var(--text-faint);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  width: 32px;
  height: 32px;
  margin: -8px -4px -8px -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
}
.fav-star:active { background: var(--card-hover); }
.fav-star.on { color: var(--accent-2); }

.team-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.team-name {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-record {
  font-size: 11px;
  color: var(--text-faint);
  margin-left: 4px;
}

.team-score {
  font-size: 18px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  min-width: 28px;
  text-align: right;
}

.team-row.winner .team-score,
.team-row.winner .team-name { color: var(--win); }

.game-card-footer {
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-faint);
  text-align: right;
}

main h4 {
  margin: 24px 0 10px;
  font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
main h4:first-child { margin-top: 0; }

table.linescore {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}
table.linescore th, table.linescore td {
  text-align: center;
  padding: 5px 6px;
  font-size: 12px;
}
table.linescore td:first-child, table.linescore th:first-child {
  text-align: left;
}
table.linescore th { color: var(--text-faint); font-weight: 600; }
table.linescore td.total { font-weight: 800; }
table.linescore tr:not(:last-child) td { border-bottom: 1px solid var(--border); }

.leaders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 480px) {
  .leaders-grid { grid-template-columns: 1fr; }
}

.leader-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}
.leader-headshot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: #222;
}
.leader-info { min-width: 0; }
.leader-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.leader-stat { color: var(--text-dim); font-size: 12px; }

.boxscore-toggle {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 12px;
}
.boxscore-toggle:active { background: var(--card-hover); }

.full-box table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  overflow-x: auto;
  display: block;
  white-space: nowrap;
}
.full-box th, .full-box td {
  text-align: right;
  padding: 4px 8px;
  font-size: 11.5px;
  border-bottom: 1px solid var(--border);
}
.full-box th:first-child, .full-box td:first-child {
  text-align: left;
  position: sticky;
  left: 0;
  background: var(--bg-elevated);
}
.full-box th { color: var(--text-faint); font-weight: 600; }
.full-box .team-header td {
  font-weight: 800;
  padding-top: 12px;
  color: var(--accent-2);
}

.box-category {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 14px 0 4px;
}

.game-info-line {
  color: var(--text-faint);
  font-size: 12px;
  margin-bottom: 16px;
}

/* Game detail view */

.game-header {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  margin-bottom: 8px;
  text-align: center;
}

.game-header-status {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.game-header-status.live { color: var(--live); }

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
  animation: pulse-dot 1.2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.game-header-week {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.game-header-matchup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.game-header-team {
  flex: 1;
  min-width: 0;
  max-width: 140px;
}
.game-header-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 6px;
}
.game-header-team-name {
  font-size: 14px;
  font-weight: 700;
}
.game-header-team-record {
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 2px;
}

.game-header-score {
  font-size: 32px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  min-width: 110px;
  color: var(--text-faint);
}
.game-header-score .winner { color: var(--win); }
.game-header-score .score-sep { margin: 0 6px; color: var(--text-faint); }
.game-header-vs { font-size: 18px; color: var(--text-faint); }

.game-header-meta {
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 12px;
}

/* Team stat comparison */
.stat-compare { margin-bottom: 8px; }
.stat-compare-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 13px;
}
.stat-compare-team {
  display: flex;
  align-items: center;
  gap: 6px;
}
.stat-compare-team img { width: 20px; height: 20px; object-fit: contain; }

.stat-compare-row { margin-bottom: 10px; }
.stat-compare-label {
  text-align: center;
  font-size: 11px;
  color: var(--text-faint);
  margin-bottom: 4px;
}
.stat-compare-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.stat-compare-val {
  font-size: 12px;
  font-weight: 700;
  min-width: 34px;
}
.stat-compare-bar-row .stat-compare-val:last-child { text-align: right; }
.stat-compare-track {
  flex: 1;
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--border);
}
.stat-compare-fill.away { background: var(--accent); }
.stat-compare-fill.home { background: var(--accent-2); }

/* Matchup predictor */
.predictor-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.predictor-row .stat-compare-val:last-child { text-align: right; }

/* Recent form */
.recent-form { margin-bottom: 8px; }
.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.form-team {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.form-team img { width: 20px; height: 20px; object-fit: contain; }
.form-dots { display: flex; gap: 4px; }
.form-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  background: var(--border);
  color: var(--text-dim);
}
.form-dot.win { background: var(--win); color: #06281c; }
.form-dot.loss { background: var(--text-faint); color: #1a1d24; }

/* Season series */
.season-series { margin-bottom: 8px; }
.series-summary {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 8px;
}
.series-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.series-date {
  color: var(--text-faint);
  font-size: 12px;
  min-width: 50px;
}
.series-team { font-weight: 600; }
.series-team.winner { color: var(--win); font-weight: 800; }
.series-sep { color: var(--text-faint); }

/* Box score (starters/bench) */
.box-team { margin-bottom: 24px; }
.box-team-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
}
.box-team-header img { width: 22px; height: 22px; object-fit: contain; }
.box-section-row td {
  padding-top: 10px !important;
  font-weight: 700;
  color: var(--accent-2);
  border-bottom: none !important;
}
.dnp-row td { color: var(--text-faint); }
.dnp-reason { text-align: left !important; }

/* Injuries */
.injuries-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 8px;
}
@media (max-width: 480px) {
  .injuries-grid { grid-template-columns: 1fr; }
}
.injury-team-header {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 6px;
}
.injury-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  font-size: 12px;
  border-bottom: 1px solid var(--border);
}
.injury-name { font-weight: 600; flex-shrink: 0; }
.injury-status {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
}
.injury-status.out { color: var(--live); }
.injury-reason { color: var(--text-faint); }

/* Scoring plays */
.scoring-period {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 14px 0 6px;
}
.scoring-play-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.scoring-play-text { flex: 1; }
.scoring-play-score {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text-dim);
}

/* Standings */
#standings-view { padding-top: 20px; }
.standings-section { margin-bottom: 28px; }
.standings-section h3 {
  font-size: 15px;
  margin: 0 0 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.standings-legend {
  font-size: 11px;
  color: var(--text-faint);
  margin: -4px 0 14px;
}

.standings-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

table.standings {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}
table.standings th, table.standings td {
  padding: 9px 10px;
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
}
table.standings th {
  color: var(--text-faint);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
table.standings td:nth-child(2), table.standings th:nth-child(2) {
  text-align: left;
}
table.standings tr:not(:last-child) td { border-bottom: 1px solid var(--border); }
table.standings tr.playoff-line td { border-bottom: 2px dashed var(--accent); }

.standings-team {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 6px;
  margin: -4px -6px;
  padding: 4px 6px;
}
.standings-team:active { background: var(--card-hover); }
.standings-team img { width: 20px; height: 20px; object-fit: contain; }
.clinch-tag {
  font-size: 10px;
  font-weight: 800;
  color: var(--accent);
  margin-left: 2px;
}
.clinch-tag.eliminated { color: var(--text-faint); }

/* Teams grid */
#teams-view { padding-top: 20px; }
.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.team-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.team-card:hover { background: var(--card-hover); border-color: #333c4d; }
.team-card:active { background: var(--card-hover); }
.team-card img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.team-card-name { font-weight: 700; font-size: 14px; }
.team-card-record { font-size: 12px; color: var(--text-faint); margin-top: 2px; }

/* News */
#news-view { padding-top: 20px; }
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-card {
  display: flex;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s, border-color 0.15s;
}
.news-card:hover { background: var(--card-hover); border-color: #333c4d; }
.news-card:active { background: var(--card-hover); }
.news-card img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--bg-elevated);
}
.news-card-body { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.news-card-headline { font-size: 14px; font-weight: 700; margin-bottom: 4px; line-height: 1.3; }
.news-card-desc {
  font-size: 12px;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-meta { font-size: 11px; color: var(--text-faint); margin-top: 6px; }
@media (max-width: 480px) {
  .news-card img { width: 84px; height: 64px; }
}

/* Team / Player detail views */
.back-link {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin: 20px 0 16px;
}
.back-link:active { background: var(--card-hover); }

.detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.detail-logo, .detail-headshot {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}
.detail-headshot { border-radius: 50%; background: var(--card); object-fit: cover; }

.detail-title {
  margin: 0 0 4px;
  font-size: 20px;
}

.detail-subtitle {
  color: var(--text-dim);
  font-size: 13px;
}

.detail-subtitle .team-click,
.detail-subtitle [data-team-id] {
  display: inline;
}

.detail-meta {
  color: var(--text-faint);
  font-size: 12px;
  margin-top: 2px;
}

.stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.stat-pill {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 14px;
  text-align: center;
  min-width: 78px;
}
.stat-pill-label {
  font-size: 10px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}
.stat-pill-value {
  font-size: 15px;
  font-weight: 700;
}

.roster-section { margin-bottom: 8px; }
.roster-section-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 16px 0 8px;
}
.roster-section-title:first-child { margin-top: 0; }

.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-bottom: 8px;
}

.player-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
}
.player-chip:hover { background: var(--card-hover); }
.player-chip:active { background: var(--card-hover); }
.player-chip-headshot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: #222;
  flex-shrink: 0;
}
.player-chip-name {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-chip-meta {
  font-size: 11px;
  color: var(--text-faint);
}

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 20px;
}

.schedule-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  cursor: pointer;
  border-radius: 8px;
}
.schedule-row:hover { background: var(--card-hover); }
.schedule-row:active { background: var(--card-hover); }
.schedule-date {
  color: var(--text-faint);
  min-width: 56px;
}
.schedule-opp {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.schedule-atvs {
  color: var(--text-faint);
  font-size: 11px;
}
.team-logo-mini {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.schedule-result {
  font-weight: 700;
  min-width: 90px;
  text-align: right;
}
.schedule-result.win { color: var(--win); }
.schedule-result.loss { color: var(--text-faint); }
.schedule-result.live { color: var(--live); }

.full-box td.win { color: var(--win); }
.full-box td.loss { color: var(--text-faint); }

/* Footer */
footer.site-footer {
  text-align: center;
  color: var(--text-faint);
  font-size: 12px;
  padding: 30px 16px 40px;
  border-top: 1px solid var(--border);
  margin-top: 30px;
}
footer.site-footer a { color: var(--text-dim); }
footer.site-footer p { margin: 4px 0; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
