/* GameModal header + safe areas — score HUD aligned with quick-sort */
:root {
  --scrolly-safe-left: env(safe-area-inset-left, 0px);
  --scrolly-safe-right: env(safe-area-inset-right, 0px);
}

#hud {
  top: 58px !important;
  left: calc(12px + var(--scrolly-safe-left)) !important;
  right: calc(12px + var(--scrolly-safe-right)) !important;
  transform: none !important;
}

@media (max-height: 760px) {
  #hud {
    top: 52px !important;
  }
}
