*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  overflow: hidden;
}

#stage {
  width: 100vw;
  height: 100vh;
  position: relative;
  cursor: crosshair;
  background: #1a0a2e;
  transition: background 1.5s ease;
}

#stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}

.hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-family: 'VT323', monospace;
  font-size: 18px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.4);
  pointer-events: none;
  text-align: center;
  transition: opacity 1s ease;
}

#stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  background: transparent;
}