/* TERMINAL 01 — red-on-black documents with minimal optional effects. */
:root { color-scheme: dark; --ink: #ff2a2a; --paper: #000; }
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--paper); }
body {
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.45 Consolas, "Courier New", monospace;
  letter-spacing: .02em;
}
main { max-width: 78ch; padding: 24px 28px 56px; }
pre {
  margin: 0;
  font: inherit;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
section { margin-top: 1.5em; }
.section-title { margin: 0 0 .4em; font-size: 1em; font-weight: 400; }
nav a { display: block; width: fit-content; margin: .25em 0; }
a { color: inherit; text-decoration: underline; text-underline-offset: .18em; }
a:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.return { margin-top: 1.5em; }
audio { display: block; margin: .4em 0 1.3em; width: min(100%, 280px); }
@media (max-width: 500px) {
  main { padding: 20px 16px 40px; }
  body { font-size: 14px; }
}

/* Only a status word flashes. No CRT overlay, glow or scanlines. */
.status-flash { animation: terminal-flash 2.4s steps(1, end) infinite; }
@keyframes terminal-flash {
  0%, 85%, 100% { opacity: 1; }
  86%, 93% { opacity: .18; }
}

/* The audio control follows the plain red button in Sol Lomas. */
.audio-button {
  display: inline-block;
  margin: .45em 0 1em;
  padding: 5px 9px;
  border: 1px solid var(--ink);
  background: #000;
  color: var(--ink);
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}
.audio-button:hover { background: #1a0000; }
.audio-button:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .status-flash { animation: none; }
}
