:root {
  color-scheme: light dark;
  background: transparent;
}

body {
  margin: 0;
  overflow: hidden;
}

#stage {
  position: absolute;
  bottom: 7px;
  left: 50%;
  width: min(calc(100% - 12px), 342px);
  transform: translateX(-50%);
  visibility: hidden;
  pointer-events: none;
}

#stage.is-ready {
  visibility: visible;
}

#stage canvas {
  background: transparent;
  image-rendering: pixelated;
}

@media (min-height: 150px) {
  #stage {
    width: min(calc(100% - 12px), 476px);
  }
}
