/* ═══════════════════════════════════════════════════════════════════════
   LAGOS STREET RACE — CYBER-ARCADE HUD & MODAL OVERHAUL
   Authentic Lagos Glassmorphic HUD, Top Action Cards & Game Over Screen
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --cyber-cyan: #00f0ff;
  --cyber-cyan-glow: rgba(0, 240, 255, 0.45);
  --cyber-cyan-soft: rgba(0, 240, 255, 0.16);
  --cyber-gold: #f5c518;
  --cyber-gold-glow: rgba(245, 197, 24, 0.5);
  --cyber-glass-bg: rgba(9, 14, 24, 0.72);
  --cyber-glass-modal: rgba(10, 16, 28, 0.58);
  --cyber-border: rgba(0, 240, 255, 0.35);
  --cyber-border-dim: rgba(255, 255, 255, 0.14);
}

/* ── 1. SCORE CARD (TOP-LEFT HUD) ────────────────────────────────────── */
.hud-left {
  top: calc(18px + env(safe-area-inset-top, 0px)) !important;
  left: 20px !important;
  width: 230px !important;
  z-index: 10 !important;
}

.score-card {
  position: relative !important;
  background: var(--cyber-glass-bg) !important;
  backdrop-filter: blur(18px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
  border: 1.5px solid var(--cyber-border) !important;
  border-radius: 16px !important;
  padding: 14px 18px 16px !important;
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.75),
    0 0 20px rgba(0, 240, 255, 0.14),
    inset 0 1px 1px rgba(255, 255, 255, 0.25),
    inset 0 -2px 6px rgba(0, 0, 0, 0.5) !important;
  overflow: visible !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

/* Cyber Chamfered Outer Bracket Notches */
.score-card::before {
  content: "";
  position: absolute;
  top: -2px;
  right: 14px;
  width: 26px;
  height: 3px;
  background: var(--cyber-cyan);
  box-shadow: 0 0 8px var(--cyber-cyan);
  border-radius: 2px;
}

.score-card::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 14px;
  width: 26px;
  height: 3px;
  background: var(--cyber-cyan);
  box-shadow: 0 0 8px var(--cyber-cyan);
  border-radius: 2px;
}

.score-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 2px !important;
}

.score-head .micro {
  font-family: 'Outfit', 'Inter', sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.2em !important;
  color: var(--cyber-cyan) !important;
  text-transform: uppercase !important;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.6) !important;
}

.score-value {
  font-family: 'Outfit', 'Inter', -apple-system, sans-serif !important;
  font-size: 38px !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
  color: #ffffff !important;
  line-height: 1.0 !important;
  margin: 4px 0 8px !important;
  font-variant-numeric: tabular-nums !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 16px rgba(255, 255, 255, 0.3) !important;
}

/* Score Sub-bar with Location Pin & Distance */
.score-sub {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: 'Outfit', 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #e2f8ff !important;
  border-top: 1px solid rgba(0, 240, 255, 0.2) !important;
  padding-top: 8px !important;
  margin-top: 4px !important;
  letter-spacing: 0.05em !important;
}

.score-loc-icon {
  width: 14px;
  height: 14px;
  color: var(--cyber-cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 6px var(--cyber-cyan));
}

.score-sub .dist {
  font-variant-numeric: tabular-nums !important;
  color: #ffffff !important;
}

.score-sub .micro {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: rgba(0, 240, 255, 0.85) !important;
  letter-spacing: 0.1em !important;
}

/* Multiplier Badge */
.mult {
  font-family: 'Outfit', 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #050b14 !important;
  background: var(--cyber-cyan) !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
  box-shadow: 0 0 12px var(--cyber-cyan) !important;
  letter-spacing: 0.05em !important;
  transition: all 0.2s ease !important;
}

.mult.hot {
  background: #ff2a44 !important;
  color: #ffffff !important;
  box-shadow: 0 0 14px rgba(255, 42, 68, 0.8) !important;
}

.mult.idle {
  opacity: 0 !important;
  transform: scale(0.8) !important;
}

/* Neon Combo Bar */
.combo-bar {
  background: rgba(255, 255, 255, 0.12) !important;
  height: 3px !important;
  border-radius: 2px !important;
  margin-top: 8px !important;
  overflow: hidden !important;
}

.combo-bar i {
  background: linear-gradient(90deg, #00f0ff, #38bdf8) !important;
  box-shadow: 0 0 8px var(--cyber-cyan) !important;
}

/* ── 2. TOP-RIGHT ACTION CARDS (PAUSE, SOUND, BOLTS) ─────────────────── */
.hud-right {
  top: calc(18px + env(safe-area-inset-top, 0px)) !important;
  right: calc(var(--gauge-size, 148px) + 32px) !important;
  z-index: 10 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* Cyber Rounded-Square Badges for Pause & Sound */
.mute-btn {
  width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  border-radius: 14px !important;
  background: var(--cyber-glass-bg) !important;
  backdrop-filter: blur(16px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(160%) !important;
  border: 1.5px solid var(--cyber-border-dim) !important;
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.7),
    inset 0 1px 1px rgba(255, 255, 255, 0.25),
    inset 0 -2px 4px rgba(0, 0, 0, 0.5) !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: 0 !important;
}

.mute-btn:hover {
  border-color: var(--cyber-cyan) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.8), 0 0 16px var(--cyber-cyan-glow) !important;
  transform: translateY(-2px) !important;
}

.mute-btn:active {
  transform: scale(0.92) translateY(1px) !important;
  border-color: var(--cyber-cyan) !important;
  box-shadow: 0 0 20px var(--cyber-cyan-glow) !important;
}

.mute-btn svg {
  width: 20px !important;
  height: 20px !important;
  opacity: 0.95 !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6)) !important;
}

.mute-btn.pause-btn {
  border-color: rgba(0, 240, 255, 0.3) !important;
}

/* Bolts / Energy Pill Card */
.bolts-card {
  height: 48px !important;
  padding: 0 18px 0 14px !important;
  border-radius: 14px !important;
  background: var(--cyber-glass-bg) !important;
  backdrop-filter: blur(16px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(160%) !important;
  border: 1.5px solid rgba(245, 197, 24, 0.35) !important;
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.7),
    0 0 16px rgba(245, 197, 24, 0.16),
    inset 0 1px 1px rgba(255, 255, 255, 0.25) !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  transition: all 0.2s ease !important;
}

.bolt-icon {
  width: 20px !important;
  height: 20px !important;
  color: var(--cyber-gold) !important;
  filter: drop-shadow(0 0 8px var(--cyber-gold)) !important;
}

.bolt-icon svg {
  width: 20px !important;
  height: 20px !important;
}

.bolt-icon svg path {
  fill: var(--cyber-gold) !important;
}

.bolts-value {
  font-family: 'Outfit', 'Inter', sans-serif !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em !important;
  text-shadow: 0 0 10px rgba(245, 197, 24, 0.5) !important;
}

.card-layer {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 20 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.card-layer.hidden,
#hud .card-layer.hidden,
.card-layer.off,
#hud .card-layer.off {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.btn-cyber-primary *,
.btn-cyber-secondary * {
  pointer-events: none !important;
}

/* Cyber Modal Container: Authentic frosted dark glassmorphism */
.card {
  position: relative !important;
  background: linear-gradient(165deg, rgba(14, 22, 38, 0.62) 0%, rgba(6, 10, 20, 0.55) 100%) !important;
  backdrop-filter: blur(20px) saturate(190%) brightness(1.08) !important;
  -webkit-backdrop-filter: blur(20px) saturate(190%) brightness(1.08) !important;
  border: 1.5px solid rgba(0, 240, 255, 0.5) !important;
  border-radius: 24px !important;
  padding: 38px 44px 34px !important;
  max-width: 480px !important;
  width: 90vw !important;
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.75),
    0 0 32px rgba(0, 240, 255, 0.28),
    inset 0 1px 2px rgba(255, 255, 255, 0.35),
    inset 0 -2px 8px rgba(0, 0, 0, 0.5) !important;
  text-align: center !important;
  animation: modal-cyber-in 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Disable any stray bracket lines on modal card */
.card::before,
.card::after,
.card-gameover::before,
.card-gameover::after {
  display: none !important;
  content: none !important;
}

@keyframes modal-cyber-in {
  0% { opacity: 0; transform: scale(0.92) translateY(16px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Paused Typography */
.card h2 {
  font-family: 'Outfit', 'Inter', sans-serif !important;
  font-size: 32px !important;
  font-weight: 900 !important;
  font-style: italic !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  text-shadow: 0 0 20px var(--cyber-cyan), 0 2px 4px rgba(0, 0, 0, 0.8) !important;
  margin: 0 !important;
  padding: 0 !important;
}

.card h2::after {
  display: none !important; /* Hide old tiny red underline */
}

.card .quip {
  font-family: 'Outfit', 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: rgba(220, 240, 255, 0.8) !important;
  margin: 10px 0 26px !important;
  letter-spacing: 0.04em !important;
  line-height: 1.5 !important;
}

/* Cyber Modal Action Buttons */
.cyber-modal-actions {
  display: flex !important;
  gap: 14px !important;
  width: 100% !important;
  justify-content: center !important;
  align-items: center !important;
  margin-top: 10px !important;
}

/* Primary Button: Glowing Neon Cyan Pill */
.btn-cyber-primary {
  flex: 1 !important;
  background: linear-gradient(135deg, #00f0ff 0%, #00b4d8 100%) !important;
  border: 1px solid #7df9ff !important;
  border-radius: 999px !important;
  color: #040914 !important;
  font-family: 'Outfit', 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  padding: 14px 24px !important;
  min-height: 50px !important;
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.6),
    0 0 24px rgba(0, 240, 255, 0.6),
    inset 0 1px 2px rgba(255, 255, 255, 0.6) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
}

.btn-cyber-primary:hover {
  background: linear-gradient(135deg, #33f4ff 0%, #00c6eb 100%) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), 0 0 34px rgba(0, 240, 255, 0.85) !important;
  transform: translateY(-2px) scale(1.02) !important;
}

.btn-cyber-primary:active {
  transform: scale(0.96) translateY(2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 0 16px var(--cyber-cyan) !important;
}

/* Secondary Button: Smoked Glass Outline Pill */
.btn-cyber-secondary {
  flex: 1 !important;
  background: rgba(14, 20, 32, 0.7) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  font-family: 'Outfit', 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  padding: 14px 20px !important;
  min-height: 50px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
}

.btn-cyber-secondary:hover {
  background: rgba(22, 32, 50, 0.85) !important;
  border-color: rgba(0, 240, 255, 0.5) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(0, 240, 255, 0.25) !important;
  transform: translateY(-2px) !important;
}

.btn-cyber-secondary:active {
  transform: scale(0.96) translateY(2px) !important;
}

/* ── COMPLETELY REMOVE UNDERLINES / LINES UNDER BUTTONS ── */
.btn::after,
.btn:after,
.btn:hover::after,
.btn:hover:after,
.btn:focus-visible::after,
.btn:focus-visible:after,
.btn-cyber-primary::after,
.btn-cyber-primary:after,
.btn-cyber-secondary::after,
.btn-cyber-secondary:after,
.go-actions .btn::after,
.go-actions .btn:after,
.cyber-modal-actions .btn::after,
.cyber-modal-actions .btn:after,
.go-retry::after,
.go-retry:after,
.go-hangar::after,
.go-hangar:after,
.go-resume::after,
.go-resume:after {
  display: none !important;
  content: none !important;
  background: none !important;
  height: 0 !important;
  border: none !important;
  box-shadow: none !important;
  opacity: 0 !important;
}

/* Modal Action Icons */
.btn-action-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-action-icon svg {
  width: 100%;
  height: 100%;
}

.card.card-gameover {
  max-width: 500px !important;
  padding: 34px 40px 30px !important;
  background: linear-gradient(165deg, rgba(14, 22, 38, 0.62) 0%, rgba(6, 10, 20, 0.55) 100%) !important;
  backdrop-filter: blur(20px) saturate(190%) brightness(1.08) !important;
  -webkit-backdrop-filter: blur(20px) saturate(190%) brightness(1.08) !important;
}

/* "RUN ENDED" Overline */
.go-overline {
  font-family: 'Outfit', 'Inter', sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.32em !important;
  color: var(--cyber-cyan) !important;
  text-transform: uppercase !important;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.6) !important;
  margin-bottom: 6px !important;
}

/* Main Crash Headline */
.card-gameover .go-head {
  font-family: 'Outfit', 'Inter', sans-serif !important;
  font-size: 36px !important;
  font-weight: 900 !important;
  font-style: italic !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  line-height: 1.1 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 24px rgba(0, 240, 255, 0.4) !important;
}

.card-gameover .go-quip {
  font-family: 'Outfit', 'Inter', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  font-style: italic !important;
  color: rgba(220, 240, 255, 0.75) !important;
  margin: 6px 0 22px !important;
  line-height: 1.4 !important;
}

/* ── BIG SCORE SECTION WITH LAUREL PERSONAL BEST BADGE ───────────────── */
.go-score-wrap {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 14px 0 22px !important;
}

.go-score-row {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
}

.big-score.go-score {
  font-family: 'Outfit', 'Inter', -apple-system, sans-serif !important;
  font-size: 58px !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
  color: #ffffff !important;
  line-height: 0.95 !important;
  font-variant-numeric: tabular-nums !important;
  text-shadow: 
    0 4px 14px rgba(0, 0, 0, 0.9),
    0 0 28px rgba(255, 255, 255, 0.4) !important;
}

/* Golden Laurel Wreath Personal Best Badge */
.personal-best-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(245, 197, 24, 0.12) !important;
  border: 1px solid rgba(245, 197, 24, 0.5) !important;
  border-radius: 999px !important;
  padding: 5px 12px 5px 8px !important;
  box-shadow: 0 0 16px rgba(245, 197, 24, 0.25) !important;
  animation: laurel-pulse 2s infinite alternate ease-in-out !important;
}

.personal-best-badge.hidden {
  display: none !important;
}

@keyframes laurel-pulse {
  0% { transform: scale(0.97); box-shadow: 0 0 10px rgba(245, 197, 24, 0.2); }
  100% { transform: scale(1.03); box-shadow: 0 0 22px rgba(245, 197, 24, 0.5); }
}

.laurel-icon {
  width: 22px;
  height: 22px;
  color: var(--cyber-gold);
  filter: drop-shadow(0 0 6px var(--cyber-gold));
}

.laurel-text {
  font-family: 'Outfit', 'Inter', sans-serif !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #ffe685 !important;
  text-shadow: 0 0 8px var(--cyber-gold) !important;
  line-height: 1.1 !important;
  text-align: left !important;
}

.go-score-label {
  font-family: 'Outfit', 'Inter', sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.24em !important;
  color: rgba(0, 240, 255, 0.75) !important;
  text-transform: uppercase !important;
  margin-top: 8px !important;
}

/* ── 3-COLUMN STATS PANEL WITH DIVIDERS ──────────────────────────────── */
.stats.go-stats-cyber {
  display: grid !important;
  grid-template-columns: 1fr 1px 1fr 1px 1fr !important;
  align-items: center !important;
  margin: 18px 0 26px !important;
  background: rgba(12, 18, 30, 0.4) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(0, 240, 255, 0.2) !important;
  border-radius: 16px !important;
  padding: 14px 16px !important;
  gap: 0 !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1) !important;
}

.stats-col {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 4px !important;
}

.stats-divider {
  width: 1px !important;
  height: 38px !important;
  background: linear-gradient(180deg, transparent, rgba(0, 240, 255, 0.35), transparent) !important;
}

.stats-col b {
  font-family: 'Outfit', 'Inter', sans-serif !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.01em !important;
  font-variant-numeric: tabular-nums !important;
}

.stats-col span {
  font-family: 'Outfit', 'Inter', sans-serif !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  color: rgba(220, 240, 255, 0.6) !important;
  text-transform: uppercase !important;
}

/* Footer Keyboard Badge */
.go-shortcut-hint {
  font-family: 'JetBrains Mono', 'Inter', monospace !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  color: rgba(255, 255, 255, 0.5) !important;
  margin-top: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.go-shortcut-hint kbd {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 6px !important;
  padding: 2px 8px !important;
  color: var(--cyber-cyan) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

/* ── 5. RESPONSIVE SCALING ───────────────────────────────────────────── */
@media (max-width: 820px) {
  .hud-left {
    top: calc(8px + env(safe-area-inset-top, 0px)) !important;
    left: 8px !important;
    width: auto !important;
    max-width: calc(100vw - 160px) !important;
  }
  .score-card {
    padding: 8px 12px 10px !important;
    border-radius: 12px !important;
  }
  .score-value {
    font-size: 26px !important;
  }
  .score-sub {
    font-size: 11px !important;
    padding-top: 4px !important;
  }
  .hud-right {
    top: calc(8px + env(safe-area-inset-top, 0px)) !important;
    right: calc(var(--gauge-size, 116px) + 14px) !important;
    gap: 6px !important;
  }
  .mute-btn {
    width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    border-radius: 10px !important;
  }
  .mute-btn svg {
    width: 16px !important;
    height: 16px !important;
  }
  .bolts-card {
    height: 38px !important;
    padding: 0 10px !important;
    border-radius: 10px !important;
  }
  .bolts-value {
    font-size: 16px !important;
  }
  .card {
    padding: 26px 22px 22px !important;
    border-radius: 18px !important;
  }
  .card h2 {
    font-size: 26px !important;
  }
  .card-gameover .go-head {
    font-size: 28px !important;
  }
  .big-score.go-score {
    font-size: 42px !important;
  }
  .btn-cyber-primary,
  .btn-cyber-secondary {
    padding: 12px 16px !important;
    font-size: 12px !important;
    min-height: 44px !important;
  }
}

/* ── 6. PORTRAIT GAMEPLAY HUD ────────────────────────────────────────── */
@media (orientation: portrait) {
  /* Hide sound/mute button — audio icon clutters portrait HUD */
  #hud .mute-btn:not(.pause-btn) {
    display: none !important;
  }

  /* Score card — compact */
  .hud-left {
    top: calc(6px + env(safe-area-inset-top, 0px)) !important;
    left: 6px !important;
    max-width: calc(58vw) !important;
  }
  .score-card {
    padding: 6px 10px 8px !important;
    border-radius: 10px !important;
  }
  .score-value {
    font-size: 22px !important;
    margin: 2px 0 5px !important;
  }
  .score-sub {
    font-size: 10px !important;
    padding-top: 4px !important;
  }

  /* HUD right — shift inward so gauge does not clip */
  .hud-right {
    right: calc(var(--gauge-size, 100px) + 8px) !important;
    gap: 5px !important;
  }

  /* Pause button only — compact */
  .mute-btn {
    width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    border-radius: 9px !important;
  }
  .mute-btn svg {
    width: 14px !important;
    height: 14px !important;
  }

  /* Bolts card — slim */
  .bolts-card {
    height: 34px !important;
    padding: 0 8px !important;
    border-radius: 9px !important;
  }
  .bolts-value {
    font-size: 14px !important;
  }

  /* Pause / Game-over modal — full safe width */
  .card {
    padding: 22px 18px 18px !important;
    width: 92vw !important;
    max-width: 92vw !important;
    border-radius: 18px !important;
  }
  .card h2 {
    font-size: 22px !important;
  }
  .card .quip {
    font-size: 12px !important;
    margin: 8px 0 18px !important;
  }
  .card-gameover .go-head {
    font-size: 24px !important;
  }
  .card-gameover .go-quip {
    font-size: 12px !important;
  }
  .big-score.go-score {
    font-size: 38px !important;
  }

  /* Stack modal action buttons vertically */
  .cyber-modal-actions {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .btn-cyber-primary,
  .btn-cyber-secondary {
    width: 100% !important;
    min-height: 48px !important;
    font-size: 12px !important;
  }

  /* Stats panel — compact */
  .stats.go-stats-cyber {
    padding: 10px !important;
    margin: 12px 0 18px !important;
  }
  .stats-col b {
    font-size: 16px !important;
  }
  .stats-col span {
    font-size: 8px !important;
  }
}
