:root {
  --void: #040406;
  --ink: #ececec;
  --mute: #8a8a92;
  --violet: #6a32ff;
  --violet-dim: #2a1466;
  --ember: #21e86a;
  --ember-dim: #0b5a2a;
  --line: #d8d8de;
}

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

html,
body {
  height: 100%;
  background: var(--void);
  color: var(--ink);
  font-family: "VT323", "Courier New", monospace;
  overflow: hidden;
}

body {
  display: grid;
  place-items: center;
  min-height: 100%;
  background:
    radial-gradient(1200px 700px at 12% 80%, rgba(106, 50, 255, 0.16), transparent 55%),
    radial-gradient(1000px 640px at 90% 20%, rgba(33, 232, 106, 0.12), transparent 50%),
    #040406;
}

#stage {
  position: relative;
  width: min(96vw, calc(96vh * 16 / 9));
  height: min(96vh, calc(96vw * 9 / 16));
  filter: drop-shadow(0 0 40px rgba(106, 50, 255, 0.18));
}

#game {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  cursor: none;
}

#boot {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: #040406;
  color: #9b9ba6;
  font-size: 22px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 5;
}

#boot.hide {
  display: none;
}

noscript {
  color: #21e86a;
  font-size: 24px;
}
