html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #040915;
  color: #f1fbff;
  font-family: ui-monospace, Consolas, monospace;
  touch-action: none;
  overscroll-behavior: none;
}

body {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
}

#wrap {
  position: relative;
  isolation: isolate;
  width: min(100vw, 66.6666667vh);
  height: min(100vh, 150vw);
  width: min(100vw, 66.6666667dvh);
  height: min(100dvh, 150vw);
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #040915;
  box-shadow: 0 0 0 1px #29435c, 0 0 48px #44dcf512;
}

#game {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

#wrap::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 2px,
      #00000020 2px,
      #00000020 3px
    ),
    radial-gradient(
      ellipse at center,
      transparent 42%,
      #0409153d 100%
    );
}
