/* style.css — full-screen, portrait, letterboxed game canvas. */

:root {
  --bg: #0a1230;
  --game-width: 100vw;
  --game-height: 100vh;
}

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

html,
body {
  width: 100%;
  height: 100%;
  background: var(--bg);
  overflow: hidden;
  /* Disable native gestures that would interfere with tapping. */
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}

#stage {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--game-width);
  height: var(--game-height);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The canvas fills the entire screen. The internal resolution is computed at
   runtime to match the device aspect ratio, so there is no letterboxing and no
   distortion — the camera stays punched in on every phone. */
#game {
  width: var(--game-width);
  height: var(--game-height);
  display: block;
  background: #3aa0ff;
  touch-action: none;
}

#loading {
  position: absolute;
  color: #fff;
  font: 700 20px Arial, sans-serif;
  letter-spacing: 1px;
}
