html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #05060f;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.frame {
  position: relative;
  line-height: 0;
  box-shadow: 0 0 60px rgba(60, 120, 255, 0.18);
  border-radius: 4px;
}

#game {
  image-rendering: pixelated;
  max-width: 100vw;
  max-height: 100vh;
  border-radius: 4px;
}

/* very subtle CRT scanlines over the canvas */
.scanlines {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0px,
    rgba(0, 0, 0, 0) 3px,
    rgba(0, 0, 0, 0.07) 4px
  );
}
