:root {
  --bg: #080b14;
  --panel: rgba(18, 24, 43, 0.84);
  --panel-2: rgba(22, 31, 56, 0.92);
  --panel-3: rgba(11, 16, 30, 0.94);
  --line: rgba(255, 255, 255, 0.11);
  --text: #ecf2ff;
  --muted: #9ba9c5;
  --gold: #e7bf6b;
  --blue: #76b7ff;
  --red: #ff6f91;
  --green: #75e3a7;
  --purple: #b69cff;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.42);
  --radius: 22px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at top left, #172443 0, transparent 42%),
              radial-gradient(circle at 80% 0%, #331a46 0, transparent 35%),
              var(--bg);
  overflow-x: hidden;
}

a { color: #9bd2ff; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.45; }

.bg-orb {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.18;
  pointer-events: none;
  z-index: -1;
}
.orb-one { background: #4788ff; top: 90px; left: -150px; }
.orb-two { background: #e7bf6b; bottom: 10px; right: -160px; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 20, 0.62);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 16px;
  display: grid; place-items: center;
  font-weight: 900; letter-spacing: -0.08em;
  color: #111827;
  background: linear-gradient(135deg, var(--gold), #fff1b8);
  box-shadow: 0 14px 32px rgba(231, 191, 107, 0.23);
}
.brand h1 { margin: 0; font-size: clamp(22px, 3vw, 34px); line-height: 1; }
.brand p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.top-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

.app-shell { width: min(1400px, calc(100% - 32px)); margin: 28px auto 60px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
  gap: 20px;
  align-items: stretch;
}

.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.panel-pad { padding: clamp(18px, 3vw, 28px); }
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.panel-title h2, .panel-title h3 { margin: 0; }
.panel-title p { margin: 6px 0 0; color: var(--muted); }

.status-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 0; }
.pill {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  font-size: 13px;
}
.pill strong { color: var(--text); }
.pill.gold { color: #ffe1a1; border-color: rgba(231, 191, 107, 0.28); background: rgba(231, 191, 107, 0.08); }
.pill.green { color: #a8ffd0; border-color: rgba(117, 227, 167, 0.28); background: rgba(117, 227, 167, 0.08); }
.pill.red { color: #ffb5c7; border-color: rgba(255, 111, 145, 0.25); background: rgba(255, 111, 145, 0.08); }

.primary-btn, .ghost-btn, .danger-btn, .small-btn {
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 11px 15px;
  font-weight: 750;
  color: var(--text);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.primary-btn {
  color: #111827;
  background: linear-gradient(135deg, var(--gold), #fff0bb);
  box-shadow: 0 13px 26px rgba(231, 191, 107, 0.22);
}
.ghost-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
}
.danger-btn {
  background: rgba(255, 111, 145, 0.12);
  border-color: rgba(255, 111, 145, 0.28);
  color: #ffd6df;
}
.small-btn { padding: 8px 11px; font-size: 13px; background: rgba(255,255,255,0.06); border-color: var(--line); }
.primary-btn:hover, .ghost-btn:hover, .danger-btn:hover, .small-btn:hover { transform: translateY(-1px); border-color: rgba(255,255,255,0.22); }

.slot-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 12px;
}
.slot {
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 13px;
  background: rgba(0,0,0,0.18);
  position: relative;
  overflow: hidden;
}
.slot.empty { border-style: dashed; color: var(--muted); }
.slot .role-label { font-size: 12px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.slot .pick-name { margin-top: 10px; font-weight: 850; line-height: 1.1; }
.slot .pick-meta { margin-top: 6px; color: var(--muted); font-size: 12px; }
.slot .mini-rating { position: absolute; right: 12px; bottom: 12px; font-size: 22px; font-weight: 950; color: var(--gold); }

.team-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.team-card {
  border: 1px solid var(--line);
  background: var(--panel-2);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 100%;
}
.team-head {
  padding: 16px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
}
.team-logo {
  width: 54px; height: 54px; border-radius: 18px; object-fit: contain; border: 1px solid rgba(255,255,255,0.15);
  background: #111827;
  padding: 6px;
  box-sizing: border-box;
  overflow: hidden;
}
.roster-logo {
  background: rgba(255,255,255,0.04);
}
.team-name { font-weight: 900; line-height: 1.1; }
.team-meta { margin-top: 7px; color: var(--muted); font-size: 12px; }
.player-list { display: grid; gap: 9px; padding: 12px; }
.player-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 9px;
  background: rgba(0,0,0,0.18);
  text-align: left;
  color: var(--text);
  width: 100%;
}
.player-card:hover { border-color: rgba(231, 191, 107, 0.45); background: rgba(231, 191, 107, 0.07); }
.player-card.locked, .player-card.taken {
  opacity: 0.42;
  filter: grayscale(0.65);
  text-decoration: line-through;
}
.player-card.taken { border-color: rgba(117, 227, 167, 0.35); }
.avatar {
  width: 44px; height: 44px; border-radius: 14px; object-fit: cover; border: 1px solid rgba(255,255,255,0.13);
}
.player-main { min-width: 0; }
.player-name { font-weight: 850; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-sub { margin-top: 4px; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.draft-hint { margin-top: 6px; color: #9eb3d8; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.rating-badge {
  min-width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(231, 191, 107, 0.12);
  color: var(--gold);
  font-weight: 950;
  border: 1px solid rgba(231, 191, 107, 0.25);
}

.side-stack { display: grid; gap: 16px; }
.strategy-list { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.65; }
.strategy-list strong { color: var(--text); }
.rank-table { width: 100%; border-collapse: collapse; }
.rank-table th, .rank-table td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; font-size: 13px; }
.rank-table th { color: var(--muted); font-weight: 700; }

.match-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.45fr) minmax(280px, 0.95fr);
  gap: 18px;
  align-items: start;
}
.roster-panel { padding: 16px; }
.roster-title { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.roster-title h3 { margin: 0; }
.roster-title p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.compact-player {
  display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 9px; align-items: center;
  padding: 8px; border: 1px solid var(--line); background: rgba(255,255,255,0.04); border-radius: 14px; margin-bottom: 8px;
}
.compact-player img { width: 38px; height: 38px; border-radius: 12px; object-fit: cover; }
.compact-player b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.compact-player span { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.compact-player strong { color: var(--gold); }
.hidden-row em { color: #9eb3d8; background: rgba(118, 183, 255, 0.08); border-color: rgba(118, 183, 255, 0.18); }
.roster-footnote { margin-top: 10px; }

.scoreboard {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 12px 0 18px;
}
.score-team { flex: 1; text-align: center; color: var(--muted); }
.score-num { font-size: clamp(42px, 7vw, 76px); font-weight: 950; line-height: 0.92; color: var(--text); }
.score-dash { font-size: 34px; color: var(--muted); }

.event-screen {
  border: 1px solid rgba(231, 191, 107, 0.18);
  border-radius: 26px;
  padding: clamp(18px, 4vw, 30px);
  background: radial-gradient(circle at top, rgba(231,191,107,0.10), transparent 42%), rgba(0,0,0,0.25);
  min-height: 440px;
  display: grid;
  align-content: center;
  gap: 18px;
}
.event-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 13px; }
.event-title { margin: 0; font-size: clamp(28px, 5vw, 58px); line-height: 0.95; letter-spacing: -0.04em; }
.event-title.kill { color: #ffd0d9; }
.event-title.objective { color: #b6dcff; }
.event-title.clutch { color: #ffe1a1; }
.versus-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}
.event-player {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  border-radius: 22px;
  padding: 14px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
}
.event-player.enemy { opacity: 0.92; }
.event-player img { width: 72px; height: 72px; border-radius: 20px; object-fit: cover; border: 1px solid rgba(255,255,255,0.14); }
.event-player b { display: block; font-size: 18px; }
.event-player span { color: var(--muted); font-size: 13px; }
.vs-mark { text-align: center; color: var(--gold); font-weight: 950; font-size: 20px; }
.event-copy { color: #cdd8ef; line-height: 1.55; font-size: 15px; margin: 0; }
.impact-bar { height: 10px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,0.08); }
.impact-fill { height: 100%; width: 50%; background: linear-gradient(90deg, #ff6f91, #e7bf6b, #75e3a7); transition: width 0.25s ease; }
.event-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.timeline { display: grid; gap: 8px; margin-top: 14px; max-height: 350px; overflow: auto; padding-right: 4px; }
.timeline-item { display: grid; grid-template-columns: 58px minmax(0,1fr) 46px; gap: 8px; align-items: center; padding: 9px; border-radius: 13px; border: 1px solid var(--line); background: rgba(255,255,255,0.04); font-size: 12px; color: var(--muted); }
.timeline-item.current { border-color: rgba(231,191,107,0.45); color: var(--text); background: rgba(231,191,107,0.07); }
.timeline-item.won { border-color: rgba(117, 227, 167, 0.28); }
.timeline-item.lost { border-color: rgba(255, 111, 145, 0.26); }
.timeline-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.recap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.recap-card { border: 1px solid var(--line); border-radius: 18px; padding: 15px; background: rgba(255,255,255,0.04); }
.recap-card h4 { margin: 0 0 8px; }
.recap-card p { color: var(--muted); margin: 0; line-height: 1.5; }
.big-result { text-align: center; padding: 34px; }
.big-result h2 { font-size: clamp(38px, 8vw, 86px); margin: 0; letter-spacing: -0.06em; line-height: 0.92; }
.big-result p { color: var(--muted); font-size: 17px; }

.site-footer { width: min(1200px, calc(100% - 32px)); margin: 0 auto 30px; color: var(--muted); font-size: 13px; text-align: center; }
.legal-page { width: min(820px, calc(100% - 32px)); margin: 50px auto; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); line-height: 1.65; }

.modal { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,0.62); display: grid; place-items: center; padding: 18px; }
.modal.hidden { display: none; }
.modal-card { width: min(640px, 100%); border: 1px solid var(--line); border-radius: 24px; background: #11182b; padding: 28px; box-shadow: var(--shadow); position: relative; }
.modal-card p { color: var(--muted); line-height: 1.6; }
.close-btn { position: absolute; right: 16px; top: 12px; border: 0; color: var(--text); background: transparent; font-size: 32px; }

@media (max-width: 1080px) {
  .hero-grid, .match-layout { grid-template-columns: 1fr; }
  .team-options { grid-template-columns: 1fr; }
  .slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recap-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .topbar { align-items: flex-start; flex-direction: column; }
  .top-actions { width: 100%; }
  .top-actions button { flex: 1; }
  .slot-grid { grid-template-columns: 1fr; }
  .versus-row { grid-template-columns: 1fr; }
  .vs-mark { display: none; }
  .event-player { grid-template-columns: 56px minmax(0,1fr); }
  .event-player img { width: 56px; height: 56px; border-radius: 16px; }
}

/* Premium broadcast patch */
.match-center-panel {
  position: relative;
  overflow: hidden;
}
.match-center-panel::before {
  content: "";
  position: absolute;
  inset: -80px -120px auto auto;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(231,191,107,0.18), transparent 68%);
  pointer-events: none;
}
.broadcast-title h2 { letter-spacing: -0.04em; }
.auto-chip { text-transform: uppercase; letter-spacing: 0.03em; }
.pro-scoreboard {
  border: 1px solid rgba(231, 191, 107, 0.18);
  border-radius: 26px;
  padding: 16px;
  margin: 10px 0 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025)),
    radial-gradient(circle at 50% 0%, rgba(118,183,255,0.18), transparent 42%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 18px 50px rgba(0,0,0,0.24);
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 14px;
  align-items: stretch;
}
.score-side {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  padding: 14px;
  background: rgba(0,0,0,0.20);
  display: grid;
  place-items: center;
  text-align: center;
}
.score-side strong {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.95;
  color: var(--gold);
}
.score-side small, .score-label { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.score-core {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  text-align: center;
}
.score-numline { display: flex; align-items: baseline; gap: 14px; font-weight: 950; }
.score-numline span { font-size: clamp(44px, 8vw, 82px); line-height: 0.9; }
.score-numline em { color: var(--muted); font-style: normal; font-size: 34px; }
.live-kill-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.10);
}
.live-kill-row b { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.live-kill-row strong { color: #fff0bb; }
.gold-row { width: min(360px, 100%); display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12px; }
.game-strip {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
  padding-top: 3px;
}
.empty-strip { color: var(--muted); font-size: 13px; justify-content: center; padding: 8px; }
.game-chip {
  min-width: 124px;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 9px 10px;
  background: rgba(255,255,255,0.045);
  display: grid;
  gap: 3px;
  appearance: none;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.game-chip.won { border-color: rgba(117, 227, 167, 0.34); background: rgba(117, 227, 167, 0.07); }
.game-chip.lost { border-color: rgba(255, 111, 145, 0.32); background: rgba(255, 111, 145, 0.07); }
.game-chip b { color: var(--text); }
.game-chip span { color: var(--gold); font-weight: 900; }
.game-chip small { color: var(--muted); }
.game-chip:hover, .game-chip.active { transform: translateY(-1px); border-color: rgba(231,191,107,0.46); background: rgba(231,191,107,0.10); }
.live-mode {
  animation: softEnter 0.28s ease both;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 20px 52px rgba(0,0,0,0.25);
}
@keyframes softEnter {
  from { opacity: 0; transform: translateY(7px) scale(0.995); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.standby-screen { background: radial-gradient(circle at 50% 0%, rgba(231,191,107,0.14), transparent 46%), rgba(0,0,0,0.24); }
.positive-moment { border-color: rgba(117, 227, 167, 0.28); }
.negative-moment { border-color: rgba(255, 111, 145, 0.26); }
.broadcast-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.broadcast-preview div {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,0.045);
  display: grid;
  gap: 4px;
}
.broadcast-preview b { color: var(--gold); font-size: 26px; }
.broadcast-preview span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.live-statboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.stat-card {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
}
.stat-card span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; }
.stat-card strong { display: block; margin-top: 5px; color: #fff0bb; font-size: 18px; }
.moment-meter {
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.moment-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transition: width 0.35s ease;
}
.pro-roster {
  background: linear-gradient(180deg, rgba(22,31,56,0.95), rgba(10,15,28,0.92));
}
.roster-meter {
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  margin-bottom: 12px;
}
.roster-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #76b7ff, #e7bf6b);
}
.pro-player-card {
  grid-template-columns: 46px minmax(0, 1fr) 42px;
  align-items: center;
  border-radius: 18px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.pro-player-card:hover { transform: translateY(-1px); border-color: rgba(231,191,107,0.34); }
.compact-main { min-width: 0; }
.mini-stat-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.mini-stat-row em {
  font-style: normal;
  border: 1px solid rgba(231,191,107,0.18);
  color: #ffe1a1;
  background: rgba(231,191,107,0.07);
  border-radius: 999px;
  padding: 3px 7px;
  font-size: 10px;
}
.pro-player-card small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.premium-draft-card {
  grid-template-columns: 48px minmax(0, 1fr);
  padding: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(0,0,0,0.18));
}

.review-copy {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}
.review-timeline { margin-top: 14px; }
.review-game-link {
  appearance: none;
  width: 100%;
  text-align: left;
  color: inherit;
  cursor: pointer;
  background: rgba(255,255,255,0.035);
}
.review-panel-title { margin-bottom: 14px; }
.game-review-panel { margin-top: 18px; }
.review-recap-grid { margin-top: 14px; }
.review-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.review-side-heading {
  margin: 16px 0 10px;
}
.review-player-list {
  display: grid;
  gap: 10px;
}
.review-player-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
}
.review-player-card .avatar {
  width: 46px;
  height: 46px;
}
.review-player-main { min-width: 0; }
.review-player-main b {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.review-player-main span, .review-player-main small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}
.review-stats-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.review-stats-row em {
  font-style: normal;
  border: 1px solid rgba(231,191,107,0.18);
  color: #ffe1a1;
  background: rgba(231,191,107,0.07);
  border-radius: 999px;
  padding: 3px 7px;
  font-size: 10px;
}
.draft-statline {
  display: block;
  color: #ffe1a1;
  font-size: 10px;
  margin-top: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-card, .team-card, .slot, .recap-card, .timeline-item, .event-player {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.045);
}
.event-actions .ghost-btn { min-width: 118px; }

@media (max-width: 760px) {
  .pro-scoreboard { grid-template-columns: 1fr; }
  .score-core { order: -1; }
  .live-statboard, .broadcast-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .live-statboard, .broadcast-preview { grid-template-columns: 1fr; }
}

/* V4 creative upgrade */
.intel-panel, .playbook-panel, .game-review-panel {
  position: relative;
  overflow: hidden;
}
.intel-panel::before, .playbook-panel::before, .game-review-panel::before {
  content: "";
  position: absolute;
  inset: -40% -30% auto auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(118,183,255,0.12), transparent 68%);
  pointer-events: none;
}
.identity-badge, .draft-grade {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 900;
  font-size: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.055);
}
.identity-badge.gold, .draft-grade.S { color: #ffe1a1; border-color: rgba(231,191,107,0.34); background: rgba(231,191,107,0.10); }
.identity-badge.green, .draft-grade.A { color: #a4f2c4; border-color: rgba(117,227,167,0.30); background: rgba(117,227,167,0.08); }
.identity-badge.blue, .draft-grade.B { color: #b8d9ff; border-color: rgba(118,183,255,0.30); background: rgba(118,183,255,0.08); }
.identity-badge.red, .draft-grade.C { color: #ffbfd0; border-color: rgba(255,111,145,0.30); background: rgba(255,111,145,0.08); }
.intel-copy {
  margin: 12px 0;
  color: var(--muted);
  line-height: 1.55;
}
.trait-bars {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}
.empty-traits {
  border: 1px dashed rgba(255,255,255,0.13);
  border-radius: 16px;
  padding: 12px;
  color: var(--muted);
}
.trait-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 46px;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
.trait-row div {
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.trait-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(118,183,255,0.9), rgba(231,191,107,0.95));
}
.trait-row b {
  color: #dbe7ff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 10px;
}
.draft-needs {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}
.draft-needs strong { color: var(--text); text-align: right; }
.playbook-panel { margin-top: 18px; }
.playbook-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 12px;
}
.playbook-grid div, .hud-card, .analytics-card, .award-card {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 17px;
  padding: 13px;
  background: linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.025));
}
.playbook-grid b, .hud-card strong, .analytics-card strong, .award-card strong {
  display: block;
  color: var(--text);
  font-size: 17px;
  margin-bottom: 5px;
}
.playbook-grid span, .hud-card span, .hud-card small, .analytics-card span, .analytics-card small, .award-card span, .award-card small {
  color: var(--muted);
  line-height: 1.45;
}
.broadcast-hud {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1fr);
  gap: 10px;
  margin: -6px 0 18px;
}
.hud-card span, .analytics-card span, .award-card span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 10px;
  margin-bottom: 5px;
}
.win-prob-card strong {
  font-size: 26px;
  color: #ffe1a1;
}
.win-prob-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  overflow: hidden;
  margin: 8px 0;
}
.win-prob-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff6f91, #e7bf6b, #75e3a7);
}
.moment-spotlight {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.moment-spotlight div {
  border-radius: 16px;
  padding: 11px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.045);
}
.moment-spotlight span {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 10px;
}
.moment-spotlight strong {
  display: block;
  color: #fff0bb;
  margin-top: 4px;
}
.spot-positive div { border-color: rgba(117,227,167,0.20); }
.spot-negative div { border-color: rgba(255,111,145,0.20); }
.momentum-sparkline {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 17px;
  padding: 12px;
  background: rgba(0,0,0,0.17);
}
.momentum-sparkline b {
  display: block;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.momentum-sparkline div {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 62px;
}
.spark-bar {
  flex: 1;
  min-width: 8px;
  border-radius: 999px;
  opacity: 0.28;
  background: rgba(255,255,255,0.18);
  align-self: center;
}
.spark-bar.active { opacity: 1; }
.spark-bar.up { background: linear-gradient(180deg, #75e3a7, rgba(117,227,167,0.25)); }
.spark-bar.down { background: linear-gradient(180deg, #ff6f91, rgba(255,111,145,0.25)); }
.analytics-grid, .award-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}
.award-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.award-card strong { color: #ffe1a1; }
.broadcast-preview { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1100px) {
  .broadcast-hud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .analytics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .playbook-grid, .award-grid, .moment-spotlight { grid-template-columns: 1fr; }
  .broadcast-hud { grid-template-columns: 1fr; }
}
