/* ===================== DEATH SCREEN ===================== */
#death-screen {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(6, 8, 20, 0.32);
}

/* Compact neon death panel, no background box, sitting in the lower third of
   the screen (the explosion / zoom-out carry the upper 2/3): the run's score
   + kills on top, the death-reason line below, both sharing the same glow so
   they read as one family - white in dark mode, brand accent green in light
   mode (see the override at the bottom of this section). */
.death-panel {
  position: absolute;
  left: 50%;
  top: 72%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: 'Trebuchet MS', sans-serif;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}
.death-stats {
  display: flex;
  gap: 26px;
}
.death-stat {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #36f62d;
  text-shadow: 0 0 6px currentColor, 0 0 16px currentColor;
}
.death-stat .icon { width: 23px; height: 23px; }
.death-stat-value { font-size: 27px; }
#death-reason {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #dd2137;
  text-shadow: 0 0 6px currentColor, 0 0 16px currentColor;
}
.death-update-notice {
  margin-top: 4px;
  font-size: 12px;
  color: var(--accent-orange, #ffb020);
  text-shadow: none;
}
