html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #07040c;
  color: #9a8fb0;
  font: 12px/1.5 monospace;
  overflow: hidden;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#cabinet {
  position: relative;
  line-height: 0;
  box-shadow: 0 0 0 2px #2a1b3d, 0 0 40px #3b165a;
}

#screen {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  background: #000;
}

#scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,0) 0, rgba(0,0,0,0) 2px, rgba(0,0,0,0.22) 3px);
}

#scanlines.off { display: none; }

#help {
  margin-top: 10px;
  padding: 0 8px;
  text-align: center;
}

#help b { color: #ffd23f; }

#err {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px;
  background: #7a1020;
  color: #fff;
}

#cabinet:fullscreen {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  box-shadow: none;
}
