:root {
  color-scheme: dark;
  background: #071018;
  font-family: "Bahnschrift", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html, body, #game-root { width: 100%; height: 100%; min-height: 100%; margin: 0; overflow: hidden; }
body { background: #071018; }
#game-root { position: relative; isolation: isolate; }
#viewport { display: block; width: 100%; height: 100%; outline: none; cursor: crosshair; touch-action: none; }
#ui-root { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
#ui-root > * { pointer-events: auto; }
body.is-locked, body.is-locked #viewport { cursor: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
