:root { color-scheme: dark; }
html, body {
  margin: 0;
  height: 100%;
  background: #000000;
  overflow: hidden;
}
body {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  justify-items: center;
  align-items: center;
  color: #d7d7d7;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
#game-stage {
  position: relative;
  line-height: 0;
}
#c {
  display: block;
  background: #000000;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  touch-action: none;
  outline: none;
}
#diag {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
