html,
body {
  margin: 0;
  height: 100%;
  background: #000;
  overflow: hidden;
}
body {
  display: flex;
  align-items: center;
  justify-content: center;
}
#stage {
  position: relative;
  width: 640px;
  height: 360px;
}
#stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
#ui {
  pointer-events: none;
}
#stage canvas[hidden] {
  display: none;
}
