/* Sizzle Shot — the shell. The canvases are sized by src/surface.js, never here
   in pixels: CSS gives each canvas a BOX, the surface owner reads that box. */

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

html, body {
  width: 100%;
  height: 100%;
  background: #05070b;
  overflow: hidden;
  overscroll-behavior: none;
  -webkit-text-size-adjust: 100%;
}

body {
  display: block;
  color: #ffeccc;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

#stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#gl, #hud {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

#gl { pointer-events: none; }

#hud {
  touch-action: none;          /* pointer drags are the game, not a scroll */
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  cursor: crosshair;
}

noscript {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
