:root {
  color-scheme: light dark;
  font: 14px system-ui, sans-serif;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #f3f6fa;
  color: #40516b;
}

canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.engine-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  text-align: center;
  pointer-events: none;
}

@media (prefers-color-scheme: dark) {
  html, body {
    background: #101827;
    color: #b9c7dc;
  }
}
