html, body {
  margin: 0;
  height: 100%;
  background: #000;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

#overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fc3;
  font: 20px monospace;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

#overlay[hidden] {
  display: none;
}

#dos {
  margin: 0;
  color: #aaa;
  background: #000;
  font-family: "DejaVu Sans Mono", "Consolas", monospace;
  line-height: 1;
  white-space: pre;
}

#dos[hidden] {
  display: none;
}

#dos .cursor {
  animation: blink 0.53s steps(1) infinite;
}

#dos .hint {
  color: #555;
}

@keyframes blink {
  50% { opacity: 0; }
}

#story {
  position: fixed;
  right: 12px;
  bottom: 8px;
  z-index: 2;
  color: #a8957f;
  font: 13px monospace;
  opacity: 0.6;
  text-decoration: none;
}

#story:hover {
  opacity: 1;
  text-decoration: underline;
}
