/* ============================================================================
   STRIKER 3D — Broadcast Football UI & HUD Styles
   ============================================================================ */
:root {
  --bg-dark: rgba(9, 14, 28, 0.82);
  --bg-card: rgba(15, 23, 42, 0.88);
  --border: rgba(148, 163, 184, 0.22);
  --blue: #38bdf8;
  --blue-deep: #1d4ed8;
  --red: #fb7185;
  --red-deep: #dc2626;
  --green: #22c55e;
  --gold: #facc15;
  --text: #f8fafc;
  --muted: #94a3b8;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #060b18;
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

#game-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
}

.hidden {
  display: none !important;
}

/* --- Split Screen Divider --- */
#split-divider {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(56,189,248,0.85), rgba(255,255,255,0.9), rgba(244,63,94,0.85));
  box-shadow: 0 0 18px rgba(0,0,0,0.8);
  z-index: 8;
  pointer-events: none;
}

.split-tag {
  position: fixed;
  top: 76px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  z-index: 9;
  pointer-events: none;
}
.split-tag.left { left: 16px; color: var(--blue); border-color: rgba(56,189,248,0.5); }
.split-tag.right { right: 16px; color: var(--red); border-color: rgba(251,113,133,0.5); }

/* --- Broadcast Top Scoreboard --- */
#hud {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.scoreboard-wrap {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.scoreboard {
  display: flex;
  align-items: center;
  background: rgba(9, 14, 28, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
}

.team-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  min-width: 148px;
}

.team-pill.blue {
  background: linear-gradient(90deg, rgba(29,78,216,0.9), rgba(29,78,216,0.35));
  justify-content: flex-end;
}

.team-pill.red {
  background: linear-gradient(270deg, rgba(220,38,38,0.9), rgba(220,38,38,0.35));
  justify-content: flex-start;
}

/* Football Mode Theme: Barcelona (RED) vs Real Madrid (WHITE) */
body.sport-football .team-pill.blue {
  background: linear-gradient(90deg, rgba(220,38,38,0.94), rgba(185,28,28,0.42));
}
body.sport-football .team-pill.red {
  background: linear-gradient(270deg, rgba(248,250,252,0.95), rgba(203,213,225,0.45));
  color: #0f172a;
}
body.sport-football .team-pill.red .team-badge {
  background: rgba(15, 23, 42, 0.85);
  color: #f8fafc;
}
body.sport-football .player-card.blue {
  border-left-color: #ef4444;
}
body.sport-football .player-card.red {
  border-right-color: #f8fafc;
}
body.sport-football .pc-bar-fill.blue {
  background: linear-gradient(90deg, #b91c1c, #ef4444);
}
body.sport-football .pc-bar-fill.red {
  background: linear-gradient(90deg, #cbd5e1, #ffffff);
}
body.sport-football .split-tag.left {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.65);
}
body.sport-football .split-tag.right {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}
body.sport-football #split-divider {
  background: linear-gradient(180deg, rgba(239,68,68,0.9), rgba(255,255,255,0.95), rgba(248,250,252,0.9));
}
body.sport-football .stat-blue { color: #f87171; }
body.sport-football .stat-red { color: #f8fafc; }

/* Rugby League Mode Theme: New Zealand (BLACK) vs Australia (GREEN) */
body.sport-rugby .team-pill.blue {
  background: linear-gradient(90deg, rgba(9,9,11,0.96), rgba(30,41,59,0.65));
  color: #f8fafc;
}
body.sport-rugby .team-pill.red {
  background: linear-gradient(270deg, rgba(21,128,61,0.95), rgba(22,101,52,0.48));
  color: #fef9c3;
}
body.sport-rugby .player-card.blue {
  border-left-color: #e2e8f0;
}
body.sport-rugby .player-card.red {
  border-right-color: #22c55e;
}
body.sport-rugby .pc-bar-fill.blue {
  background: linear-gradient(90deg, #334155, #e2e8f0);
}
body.sport-rugby .pc-bar-fill.red {
  background: linear-gradient(90deg, #15803d, #4ade80);
}
body.sport-rugby .split-tag.left {
  color: #e2e8f0;
  border-color: rgba(226, 232, 240, 0.65);
}
body.sport-rugby .split-tag.right {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.7);
}
body.sport-rugby #split-divider {
  background: linear-gradient(180deg, rgba(15,23,42,0.95), rgba(226,232,240,0.95), rgba(34,197,94,0.95));
}
body.sport-rugby .stat-blue { color: #e2e8f0; }
body.sport-rugby .stat-red { color: #4ade80; }

.team-badge {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.38);
  color: #e2e8f0;
  font-weight: 700;
  white-space: nowrap;
}

.score-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: rgba(2, 6, 23, 0.9);
  font-size: 26px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.score-sep {
  color: var(--muted);
  font-size: 18px;
}

.clock-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 14px;
  border-radius: 999px;
  background: rgba(9, 14, 28, 0.82);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #e2e8f0;
  font-variant-numeric: tabular-nums;
}

.clock-bar.overtime {
  border-color: var(--gold);
  color: var(--gold);
  animation: pulseGlow 1.1s infinite alternate;
}

#net-pill {
  font-size: 11px;
  color: #4ade80;
  padding-left: 8px;
  border-left: 1px solid rgba(255,255,255,0.18);
}

/* --- Top-Left & Top-Right Quick Action Controls --- */
.hud-actions-left {
  position: absolute;
  top: 14px;
  left: 16px;
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.hud-actions {
  position: absolute;
  top: 14px;
  right: 16px;
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.hud-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(15, 23, 42, 0.82);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform 0.12s, background 0.15s, border-color 0.15s;
}

.hud-btn:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(56, 189, 248, 0.6);
  transform: translateY(-1px);
}

.hud-btn.active-bot {
  border-color: rgba(251, 146, 60, 0.65);
  color: #fed7aa;
}

.hud-btn.active-human {
  border-color: rgba(244, 63, 94, 0.75);
  color: #fecdd3;
}

.hud-btn.flick-btn {
  border-color: rgba(250, 204, 21, 0.65);
  background: linear-gradient(135deg, rgba(161, 98, 7, 0.55), rgba(15, 23, 42, 0.9));
  color: #fef08a;
}

.hud-btn.flick-btn:hover {
  border-color: #facc15;
  background: linear-gradient(135deg, rgba(202, 138, 4, 0.75), rgba(30, 41, 59, 0.95));
}

#tackle-pill {
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  color: #38bdf8;
  font-weight: 900;
}

#tackle-pill.last-tackle {
  color: #facc15;
  animation: pulseGlow 0.8s infinite alternate;
}

/* --- Sport Switcher Tabs on Menu --- */
.sport-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 5px;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 16px;
}

.sport-tab {
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.16s ease;
}

.sport-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.sport-tab.active[data-sport="football"] {
  background: linear-gradient(135deg, #0284c7, #1d4ed8);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

.sport-tab.active[data-sport="rugby"] {
  background: linear-gradient(135deg, #d97706, #b45309);
  border-color: #facc15;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45);
}

/* --- Rugby Conversion Kick Meter --- */
#conversion-ui {
  position: fixed;
  bottom: 158px;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(9, 14, 28, 0.9);
  border: 2px solid var(--gold);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7);
  text-align: center;
  z-index: 20;
  pointer-events: none;
}

.conv-title {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 10px;
}

.conv-track {
  position: relative;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #991b1b 0%, #dc2626 25%, #d97706 50%, #dc2626 75%, #991b1b 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.conv-sweet {
  position: absolute;
  left: 36%;
  width: 28%;
  top: 0;
  bottom: 0;
  background: linear-gradient(180deg, #4ade80, #16a34a);
  border-left: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.7);
}

.conv-needle {
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: 50%;
  width: 6px;
  transform: translateX(-50%);
  border-radius: 3px;
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff;
}

.conv-sub {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #e2e8f0;
}

/* --- Bottom Player Cards & Tactical Radar --- */
.hud-bottom {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.player-card {
  width: 265px;
  padding: 10px 13px;
  border-radius: 12px;
  background: rgba(9, 14, 28, 0.78);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.player-card.blue { border-left: 4px solid var(--blue); }
.player-card.red { border-right: 4px solid var(--red); text-align: right; }

.pc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.pc-bar-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
  margin-bottom: 7px;
}

.pc-bar-fill {
  height: 100%;
  width: 100%;
  border-radius: 999px;
  transition: width 0.08s linear;
}
.pc-bar-fill.blue { background: linear-gradient(90deg, #0284c7, #38bdf8); }
.pc-bar-fill.red { background: linear-gradient(90deg, #e11d48, #fb7185); }

.pc-keys {
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.45;
}

.pc-keys kbd {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255,255,255,0.11);
  border: 1px solid rgba(255,255,255,0.18);
  color: #f1f5f9;
  font-family: inherit;
  font-weight: 700;
  font-size: 10px;
}

#radar-canvas {
  width: 204px;
  height: 126px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(15, 35, 22, 0.8);
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
}

/* --- Center Banners (Countdown / Goal / Toast) --- */
#center-banner {
  position: fixed;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 15;
  pointer-events: none;
}

.countdown-num {
  font-size: 92px;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.75), 0 0 28px rgba(56, 189, 248, 0.7);
  animation: popIn 0.35s ease-out;
}

.goal-banner {
  padding: 20px 56px;
  border-radius: 20px;
  background: rgba(9, 14, 28, 0.88);
  border: 2px solid var(--gold);
  box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 40px rgba(250, 204, 21, 0.35);
  backdrop-filter: blur(12px);
  animation: popIn 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.goal-banner h1 {
  font-size: 62px;
  font-weight: 900;
  letter-spacing: 0.12em;
  background: linear-gradient(180deg, #fffbeb 0%, #facc15 60%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.goal-banner p {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #f8fafc;
}

#toast-msg {
  position: fixed;
  top: 92px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.55);
  color: #e0f2fe;
  font-size: 13px;
  font-weight: 700;
  z-index: 25;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

/* --- Modals & Menus --- */
.overlay-screen {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(6, 11, 24, 0.45), rgba(4, 8, 20, 0.84));
  backdrop-filter: blur(6px);
  padding: 20px;
}

.menu-card {
  width: 100%;
  max-width: 680px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  padding: 26px 30px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(18px);
}

.logo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo-title h1 {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.06em;
  background: linear-gradient(90deg, #38bdf8, #ffffff 50%, #fb7185);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-title p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.mode-card {
  padding: 13px 12px;
  border-radius: 14px;
  border: 2px solid rgba(255,255,255,0.12);
  background: rgba(30, 41, 59, 0.55);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.mode-card:hover {
  border-color: rgba(56, 189, 248, 0.55);
  background: rgba(30, 41, 59, 0.85);
}

.mode-card.selected {
  border-color: var(--blue);
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.34), rgba(15, 23, 42, 0.9));
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.25);
}

.mode-icon {
  font-size: 22px;
  margin-bottom: 5px;
}

.mode-name {
  font-size: 14px;
  font-weight: 800;
}

.mode-desc {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.35;
}

.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin-bottom: 18px;
}

.opt-group label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
}

.pill-row {
  display: flex;
  gap: 6px;
}

.pill-btn {
  flex: 1;
  padding: 8px 6px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(15, 23, 42, 0.7);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.12s;
}

.pill-btn:hover {
  border-color: rgba(255,255,255,0.35);
  color: #ffffff;
}

.pill-btn.active {
  background: var(--blue-deep);
  border-color: var(--blue);
  color: #ffffff;
}

/* Online Lobby Panel inside Menu */
#online-panel {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.72);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

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

.online-input {
  flex: 1;
  min-width: 140px;
  padding: 9px 12px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(15, 23, 42, 0.9);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.room-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 9px;
  background: rgba(29, 78, 216, 0.32);
  border: 1px dashed var(--blue);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: #7dd3fc;
}

.online-status {
  margin-top: 9px;
  font-size: 12px;
  color: #cbd5e1;
}

.online-status.ok { color: #4ade80; font-weight: 700; }

/* Primary & Secondary Buttons */
.btn-primary {
  width: 100%;
  padding: 14px 20px;
  border-radius: 13px;
  border: none;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(34, 197, 94, 0.35);
  transition: transform 0.12s, filter 0.15s;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-secondary {
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(30, 41, 59, 0.85);
  color: #f8fafc;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.12s;
}

.btn-secondary:hover {
  border-color: var(--blue);
  background: rgba(51, 65, 85, 0.95);
}

.controls-strip {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 11.5px;
  color: var(--muted);
}

.controls-strip strong { color: #e2e8f0; }

/* Full-Time Stats Table */
.stats-card {
  max-width: 500px;
  text-align: center;
}

.final-score-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin: 16px 0 20px;
  font-size: 46px;
  font-weight: 900;
}

.stat-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
  font-weight: 700;
}

.stat-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.stat-blue { color: var(--blue); }
.stat-red { color: var(--red); }

.btn-row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

@keyframes popIn {
  0% { opacity: 0; transform: scale(0.75); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 6px rgba(250, 204, 21, 0.25); }
  100% { box-shadow: 0 0 18px rgba(250, 204, 21, 0.75); }
}

/* --- Username Entry Gate --- */
.username-card {
  max-width: 440px;
  text-align: center;
  padding: 34px 32px;
}

.username-badge-icon {
  font-size: 38px;
  margin-bottom: 10px;
}

.username-heading {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.06em;
  background: linear-gradient(90deg, #f87171, #ffffff 50%, #4ade80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.username-sub {
  font-size: 13.5px;
  color: var(--muted);
  margin: 6px 0 22px;
}

.username-input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  background: rgba(2, 6, 23, 0.85);
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.04em;
  outline: none;
  margin-bottom: 12px;
  user-select: text;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.username-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

.username-error {
  color: #fb7185;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 12px;
}

.user-chip {
  border-color: rgba(56, 189, 248, 0.45);
  color: #e0f2fe;
}

@media (max-width: 780px) {
  .mode-grid { grid-template-columns: 1fr; }
  .options-grid { grid-template-columns: 1fr; }
  .player-card { display: none; }
  .team-pill { min-width: 100px; padding: 6px 10px; font-size: 12px; }
}
