:root { --bg: #101820; }

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  overflow: hidden;
  overscroll-behavior: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

#gl,
#game {
  display: block;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none; /* we handle all gestures ourselves */
}

#gl { z-index: 0; }
#game { z-index: 1; }

#loading {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #c9c2e0;
  font: 700 14px system-ui, -apple-system, sans-serif;
  letter-spacing: 0.2em;
  pointer-events: none;
}
