/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0a0a0a;
  --dark: #111111;
  --dark2: #1a1a1a;
  --dark3: #222222;
  --border: #2a2a2a;
  --border2: #333333;
  --muted: #555555;
  --text-muted: #888888;
  --text: #cccccc;
  --text-bright: #eeeeee;
  --white: #ffffff;
  --accent: #ffffff;
  --red: #e53e3e;
  --yellow: #d69e2e;
  --gray-badge: #4a5568;
  --green: #38a169;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.6);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== HEADER ===== */
.site-header {
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  display: inline-block;
}

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

.nav-link {
  padding: 6px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.15s;
  position: relative;
}

.nav-link:hover { color: var(--white); background: var(--dark3); }

.nav-link.active {
  color: var(--white);
  background: var(--dark3);
}

.nav-link.coming-soon {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.nav-link.coming-soon::after {
  content: 'Soon';
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3px;
  background: var(--border2);
  color: var(--text-muted);
  padding: 1px 4px;
  border-radius: 3px;
  margin-left: 5px;
  vertical-align: middle;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: auto;
}

.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--text); }

/* ===== MAIN LAYOUT ===== */
main { flex: 1; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HOMEPAGE HERO ===== */
.hero {
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  padding: 64px 24px 56px;
  text-align: center;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 32px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: var(--radius);
  transition: opacity 0.15s;
}
.hero-cta:hover { opacity: 0.88; }

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-cta-secondary {
  background: transparent;
  color: var(--text-bright);
  border: 1px solid var(--border2);
}
.hero-cta-secondary:hover { opacity: 1; background: var(--dark3); border-color: var(--text-muted); }

/* ===== SECTION HEADERS ===== */
.section-header {
  padding: 40px 0 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-meta {
  font-size: 12px;
  color: var(--muted);
}

/* ===== GAME CARDS (Homepage) ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  padding-bottom: 48px;
}

.game-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  display: block;
}

.game-card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card-week {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

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

.card-team {
  text-align: center;
  flex: 1;
}

.team-abbr {
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1;
}

.team-record {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}

.card-vs {
  font-size: 11px;
  font-weight: 700;
  color: var(--border2);
  padding: 0 4px;
}

.card-divider {
  height: 1px;
  background: var(--border);
  margin: 14px 0;
}

.card-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.card-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
}

.detail-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-bright);
}

.card-arrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  gap: 4px;
  letter-spacing: 0.3px;
}

/* ===== GAME TABS ===== */
.game-tabs-wrap {
  background: var(--dark);
  border-bottom: 1px solid var(--border);
}

.game-tabs-outer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tab-arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark3);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: opacity 0.2s, color 0.15s;
  font-family: var(--font);
}
.tab-arrow:hover { color: var(--white); }
.tab-arrow.hidden { opacity: 0; pointer-events: none; }

.game-tabs-scroll {
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  cursor: grab;
  min-width: 0;
}
.game-tabs-scroll::-webkit-scrollbar { display: none; }
.game-tabs-scroll.dragging { cursor: grabbing; user-select: none; }

.game-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
  width: max-content;
  min-width: 100%;
  padding: 2px 0;
}

.game-tab {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: var(--radius);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font);
  white-space: nowrap;
}
.game-tab:hover { background: var(--dark3); color: var(--text); }
.game-tab.active { background: var(--dark3); border-color: var(--border2); color: var(--white); }

.game-tab-two-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 7px 14px;
  line-height: 1;
}

.tab-matchup { font-size: 13px; font-weight: 700; color: inherit; }

.tab-date, .tab-time {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.2px;
}

.game-tab-two-line.active .tab-date,
.game-tab-two-line.active .tab-time,
.game-tab-two-line:hover .tab-date,
.game-tab-two-line:hover .tab-time { color: var(--text-muted); }

/* ===== VIEW TOGGLE ===== */
.view-hidden { display: none !important; }

/* ===== BACK BUTTON ===== */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  background: var(--dark3);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 8px 14px;
  margin: 24px 0 20px;
  font-family: var(--font);
  transition: color 0.15s, border-color 0.15s;
}
.back-btn:hover { color: var(--white); border-color: var(--text-muted); }

/* ===== GAME SELECTION GRID ===== */
.game-select-grid {
  padding: 24px 0 48px;
}

.day-group {
  margin-bottom: 32px;
}
.day-group:last-child { margin-bottom: 0; }

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

.day-header-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-bright);
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.day-header-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.day-games-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

.select-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.select-card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.select-matchup {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.select-team { flex: 1; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }

.select-team-primary {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
}

.select-logo { width: 36px; height: 36px; object-fit: contain; display: block; flex-shrink: 0; }

.select-team-abbr {
  font-size: 30px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1;
}

.select-team-name {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.select-at {
  font-size: 13px;
  font-weight: 700;
  color: var(--border2);
  padding: 0 4px;
  height: 36px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.select-divider { height: 1px; background: var(--border); width: 100%; }

.select-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.select-time {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.select-lines { display: flex; gap: 16px; }

.select-line { text-align: center; }

.select-line-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
}

.select-line-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-bright);
  margin-top: 2px;
}

.select-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.2px;
}

/* ===== GAME DETAIL PANEL ===== */
.game-panel {
  display: none;
  padding: 32px 0 48px;
}
.game-panel.active { display: block; }

/* Matchup Hero */
.matchup-hero {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.matchup-team {
  text-align: center;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.matchup-logo { width: 56px; height: 56px; object-fit: contain; display: block; }

.matchup-team-name {
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.matchup-team-full {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.matchup-team-record {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 500;
}

.matchup-center {
  text-align: center;
  flex: 1;
}

.matchup-vs {
  font-size: 13px;
  font-weight: 700;
  color: var(--border2);
  letter-spacing: 1px;
}

.matchup-time {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-bright);
  margin-top: 4px;
}

.matchup-network {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

@media (max-width: 640px) {
  .info-grid { grid-template-columns: 1fr; }
}

.info-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.info-card-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.info-card-title svg {
  opacity: 0.6;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.info-row:last-child { border-bottom: none; }

.info-row-label { color: var(--text-muted); }
.info-row-value { color: var(--text-bright); font-weight: 600; }

/* Wide cards */
.wide-card {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}

.wide-card-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 7px;
}

/* Two-column injury / lineup layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 640px) {
  .two-col { grid-template-columns: 1fr; }
}

.col-team-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* ===== INJURIES ===== */
.injury-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  gap: 8px;
}
.injury-row:last-child { border-bottom: none; }

.injury-player { color: var(--text-bright); font-weight: 500; flex: 1; }
.injury-pos {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  background: var(--dark3);
  padding: 2px 6px;
  border-radius: 3px;
  min-width: 30px;
  text-align: center;
}

.badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.badge-out { background: rgba(229,62,62,0.15); color: #fc8181; border: 1px solid rgba(229,62,62,0.3); }
.badge-questionable { background: rgba(214,158,46,0.15); color: #f6c36b; border: 1px solid rgba(214,158,46,0.3); }
.badge-limited { background: rgba(74,85,104,0.2); color: #a0aec0; border: 1px solid rgba(74,85,104,0.4); }
.badge-doubtful { background: rgba(229,62,62,0.08); color: #fc8181; border: 1px solid rgba(229,62,62,0.2); }

/* ===== LINEUP ===== */
.lineup-row {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  gap: 10px;
  font-size: 13px;
}
.lineup-row:last-child { border-bottom: none; }

.lineup-pos {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--muted);
  background: var(--dark3);
  padding: 3px 7px;
  border-radius: 3px;
  min-width: 36px;
  text-align: center;
}

.lineup-name { color: var(--text-bright); font-weight: 500; flex: 1; }
.lineup-note { font-size: 11px; color: var(--muted); }

/* ===== H2H TABLE ===== */
.h2h-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.h2h-table th {
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
}

.h2h-table td {
  padding: 10px 10px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.h2h-table tr:last-child td { border-bottom: none; }
.h2h-table tr:hover td { background: rgba(255,255,255,0.02); }

.winner-team {
  color: var(--text-bright);
  font-weight: 600;
}

.series-badge {
  background: var(--dark3);
  border: 1px solid var(--border2);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
}

/* ===== BETTING LINES ===== */
.lines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 500px) {
  .lines-grid { grid-template-columns: 1fr; }
}

.line-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}

.line-type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.line-value {
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.line-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}

.lines-source {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
  margin-top: 10px;
}

/* ===== LOADING / ERROR STATES ===== */
.loading-state {
  padding: 48px 24px;
  text-align: center;
  color: var(--text-muted);
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 2px solid var(--border2);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin { to { transform: rotate(360deg); } }

.error-state {
  padding: 32px;
  background: rgba(229,62,62,0.06);
  border: 1px solid rgba(229,62,62,0.2);
  border-radius: var(--radius-lg);
  color: #fc8181;
  font-size: 13px;
  text-align: center;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .header-inner { padding: 0 16px; }
  .logo { font-size: 15px; }
  .nav-link { padding: 5px 10px; font-size: 13px; }
  .hero { padding: 40px 16px 36px; }
  .container { padding: 0 16px; }
  .games-grid { grid-template-columns: 1fr 1fr; }
  .matchup-hero { padding: 20px; flex-direction: column; text-align: center; }
  .matchup-center { order: -1; width: 100%; }
  .wide-card, .info-card { padding: 16px; }
  .game-tabs-outer { padding: 6px 16px; }
}

@media (max-width: 480px) {
  .games-grid { grid-template-columns: 1fr; }
  .lines-grid { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: 1fr; }
}

/* ===== WEEK BADGE ===== */
.week-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--dark3);
  border: 1px solid var(--border2);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #48bb78;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ===== NOTICE BANNER ===== */
.notice-banner {
  background: rgba(214,158,46,0.08);
  border: 1px solid rgba(214,158,46,0.25);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 12px;
  color: #f6c36b;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== LIVE GAME INDICATORS ===== */

/* Pulsing dot */
.live-dot-sm {
  width: 5px;
  height: 5px;
  background: #fc8181;
  border-radius: 50%;
  flex-shrink: 0;
  animation: livePulse 1.4s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

/* Inline LIVE badge */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(229,62,62,0.14);
  border: 1px solid rgba(229,62,62,0.35);
  border-radius: 3px;
  color: #fc8181;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 2px 6px;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.3;
}

/* Inline FINAL badge */
.final-badge {
  display: inline-flex;
  align-items: center;
  background: var(--dark3);
  border: 1px solid var(--border2);
  border-radius: 3px;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 2px 6px;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.3;
}

/* Live select card — red glow border */
.select-card.is-live {
  border-color: rgba(229,62,62,0.35) !important;
  box-shadow: 0 0 0 1px rgba(229,62,62,0.10), 0 4px 18px rgba(229,62,62,0.08) !important;
}

/* Position anchor for card-live-badge */
.select-card { position: relative; }

/* Absolute badge in top-right of card */
.card-live-badge {
  position: absolute;
  top: 12px;
  right: 12px;
}

/* Tab live score layout */
.tab-live-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  line-height: 1;
}
.tab-score {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-bright);
  letter-spacing: 0.1px;
  white-space: nowrap;
}
.tab-state {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Live scoreboard panel (replaces matchup hero when game is live) */
.live-scoreboard-panel {
  background: var(--dark);
  border: 1px solid rgba(229,62,62,0.28);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin-bottom: 20px;
  box-shadow: 0 0 0 1px rgba(229,62,62,0.06), 0 4px 24px rgba(229,62,62,0.06);
}

.live-sb-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.live-sb-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(229,62,62,0.12);
  border: 1px solid rgba(229,62,62,0.3);
  border-radius: 4px;
  color: #fc8181;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 5px 12px;
  text-transform: uppercase;
}

.live-sb-dot {
  width: 7px;
  height: 7px;
  background: #fc8181;
  border-radius: 50%;
  flex-shrink: 0;
  animation: livePulse 1.4s ease-in-out infinite;
}

.live-sb-state {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.live-sb-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.live-sb-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 80px;
}

.live-sb-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}

.live-sb-abbr {
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.3px;
}

.live-sb-score {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(38px, 6vw, 54px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1.5px;
  line-height: 1;
}

.live-sb-sep {
  font-size: 28px;
  font-weight: 300;
  color: var(--border2);
  letter-spacing: 0;
}

@media (max-width: 480px) {
  .live-scoreboard-panel { padding: 20px 16px; }
  .live-sb-teams { gap: 14px; }
}
