html,
body {
  margin: 0;
  height: 100%;
  background: #000;
  overflow: hidden;
  color: #46ff7e;
  font-family: monospace;
  /* tablet/phone: no scrolling, zooming, text selection or long-press menus */
  touch-action: none;
  overscroll-behavior: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

#screen {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}

body.flying {
  cursor: none;
}

/* CRT scanlines + vignette over the vector display */
#crt {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(to bottom,
      rgba(0, 0, 0, 0) 0px,
      rgba(0, 0, 0, 0) 2px,
      rgba(0, 0, 0, 0.22) 3px),
    radial-gradient(ellipse at center,
      rgba(0, 0, 0, 0) 58%,
      rgba(0, 0, 0, 0.62) 100%);
}

noscript {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
}
