:root {
  --green: #7dffb0;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #060a08 radial-gradient(ellipse at 50% 38%, #0e1a13 0%, #05070a 72%);
  font-family: "Courier New", Courier, monospace;
}
.shell { text-align: center; padding: 20px 16px; }
.title {
  color: var(--green);
  letter-spacing: 10px;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 14px;
  text-shadow: 0 0 18px rgba(125, 255, 176, 0.45);
}
.screen {
  position: relative;
  display: inline-block;
  line-height: 0;
}
canvas {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  width: min(96vw, calc(92vh * 400 / 480));
  height: auto;
  background: #05070a;
  border: 3px solid #1d2f24;
  border-radius: 4px;
  box-shadow: 0 0 0 2px #000,
              0 0 32px rgba(125, 255, 176, 0.12),
              inset 0 0 44px rgba(0, 0, 0, 0.7);
}
.screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 3px);
  pointer-events: none;
  border-radius: 4px;
}
.hint {
  color: #8fa398;
  font-size: 12px;
  letter-spacing: 2px;
  margin: 14px 0 4px;
}
.hint span { color: #cfe8d8; }
.note {
  color: #4c5b52;
  font-size: 11px;
  letter-spacing: 1px;
  margin: 0;
}
