:root {
  color-scheme: dark;
  background: #000;
}

* {
  box-sizing: border-box;
}

html,
body,
#game-shell {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  background: #000;
  touch-action: none;
}

#game-shell {
  display: grid;
  place-items: center;
}

#canvas {
  display: block;
  max-width: 100vw;
  max-height: 100vh;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  -webkit-tap-highlight-color: transparent;
}

#GM4HTML5_loadingscreen {
  display: none;
}

:fullscreen #canvas {
  width: 100vw;
  height: 100vh;
}
