:root {
  color-scheme: dark;
}

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

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0b1020;
  /* Prevent mobile rubber-band scrolling and pull-to-refresh while playing. */
  overscroll-behavior: none;
  touch-action: none;
}

#game {
  display: block;
  width: 100vw;
  height: 100vh;
  /* Fill the safe area on notched phones. */
  width: 100dvw;
  height: 100dvh;
  /* Canvas pixels are set in JS; CSS controls the displayed size. */
  touch-action: none;
}
