:root {
  --bg: #000;
  --muted: #6a6858;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  background: var(--bg);
  font-family: system-ui, sans-serif;
}

#game {
  position: relative;
  height: 100%;
}

/* The canvas takes the whole window, so a 1080-pixel-high window scales the
   216-pixel view exactly 5x; anything taking height from it would force a
   fractional scale. */
#screen {
  display: block;
  width: 100%;
  height: 100%;
  /* Fingers play the game: no scrolling, zooming, selecting or the
     long-press menu. */
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

#footer {
  position: absolute;
  right: 16px;
  bottom: 2px;
  color: var(--muted);
  font-size: 11px;
  pointer-events: none;
}
