/* Tonight: live session page (big-screen friendly) ------------------------- */
.tonight { display: grid; gap: 14px; margin-top: 14px; }
.tonight-headrow { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.tonight-title { font-family: var(--display); font-size: clamp(28px, 4vw, 44px) !important; line-height: 1; margin: 0 0 6px !important; letter-spacing: .01em; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tonight-live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--bad); border: 1px solid color-mix(in srgb, var(--bad) 50%, transparent); border-radius: 999px; padding: 3px 10px; }
.tonight-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--bad); animation: tonight-pulse 1.4s ease-in-out infinite; }
@keyframes tonight-pulse { 50% { opacity: .25; } }
.tonight-idle { margin-top: 12px; }
.tonight-status { margin-top: 10px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-height: 18px; }
.tonight-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); display: inline-block; }
.tonight-err { color: var(--bad); font-weight: 600; }

/* Scoreboard */
.tonight-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tonight-stat { background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); min-width: 0; }
.tonight-lab { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.tonight-big { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 6vw, 72px); line-height: 1.05; white-space: nowrap; }

/* Match list */
.tonight-matches { list-style: none; margin: 0; padding: 0; }
.tonight-match { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 8px; border-top: 1px solid var(--line); border-radius: 10px; }
.tonight-match:first-child { border-top: 0; }
.tonight-res { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 20px; color: #fff; }
.tonight-res.W { background: var(--good); } .tonight-res.D { background: var(--neutral); } .tonight-res.L { background: var(--bad); }
.tonight-res.big { width: 48px; height: 48px; font-size: 28px; border-radius: 12px; }
.tonight-mmain { min-width: 0; }
.tonight-opp { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tonight-mmeta { display: flex; flex-wrap: wrap; gap: 2px 12px; color: var(--text-secondary); }
.tonight-score { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); font-weight: 700; }
.tonight-newtag { display: none; margin-left: 8px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 1px 7px; vertical-align: 2px; }
.tonight-match.tonight-new .tonight-newtag { display: inline-block; }
.tonight-match.tonight-new { animation: tonight-flash 6s ease-out 1; box-shadow: inset 3px 0 0 var(--accent); }
@keyframes tonight-flash { 0%, 20% { background: color-mix(in srgb, var(--accent) 24%, transparent); } 100% { background: transparent; } }

/* Table */
.tonight-table td { vertical-align: middle; }
.tonight-table td, .tonight-table th { padding: 8px 8px; }
.tonight-rank { font-family: var(--display); font-size: 20px; font-weight: 700; }
.tonight-who { display: inline-flex; align-items: center; gap: 8px; }
.tonight-who b { max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.tonight-pts { font-family: var(--display); font-size: 22px; font-weight: 700; }
.tonight-move { font-size: 12px; font-weight: 700; }
.tonight-move.up { color: var(--good); } .tonight-move.down { color: var(--bad); }
.tonight-move.same { color: var(--text-muted); } .tonight-move.new { color: var(--text-muted); font-weight: 600; }

/* MVP race */
.tonight-mvplead { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--accent); cursor: pointer; }
.tonight-mvpname { font-family: var(--display); font-size: clamp(24px, 3vw, 34px); font-weight: 700; line-height: 1.05; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tonight-mvpscore { font-family: var(--display); font-size: clamp(30px, 4vw, 46px); font-weight: 700; }
.tonight-margin { margin: 10px 0 6px; font-size: 14px; color: var(--text-secondary); }
.tonight-tight { color: var(--warn); font-weight: 600; }
.tonight-chase { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); cursor: pointer; }
.tonight-chase span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Awards & spotlight */
.tonight-awards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tonight-awards .award { min-width: 0; }
.tonight-awards .who { font-size: 16px; overflow-wrap: anywhere; }
.tonight-spothead { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.tonight-spotscore { font-family: var(--display); font-size: clamp(36px, 5vw, 56px); font-weight: 700; line-height: 1; }
.tonight-best { margin: 10px 0 0; color: var(--text-secondary); }
.tonight-best b { cursor: pointer; }

@media (max-width: 980px) {
  .tonight-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tonight-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .tonight-board { gap: 10px; }
  .tonight-stat { padding: 12px; }
  .tonight-big { font-size: 38px; }
  .tonight-awards { grid-template-columns: minmax(0, 1fr); }
  .tonight-match { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; padding: 10px 2px; }
  .tonight-res { width: 32px; height: 32px; font-size: 18px; }
  .tonight-who b { max-width: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .tonight-live i, .tonight-match.tonight-new { animation: none; }
  .tonight-match.tonight-new { background: color-mix(in srgb, var(--accent) 12%, transparent); }
}
