html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none; /* no pull-to-refresh / rubber-banding on phones */
  background: #0a0b10;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Size is set in px by main.js to fit the window at the world's aspect ratio. */
#game {
  display: block;
  touch-action: none; /* the game handles all gestures itself */
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

/* Shown only when JavaScript is off (index.html <noscript>). Lives here rather than in a
   style attribute so the site's Content-Security-Policy needs no 'unsafe-inline'. */
.noscript {
  margin: 0;
  padding: 24px;
  color: #f2f4ff;
  font: 16px/1.5 system-ui, sans-serif;
  text-align: center;
}
