:root {
  --bg: #0b0d10;
  --text: #d6dde6;
  --muted: #6f7a88;
  --accent: #5eead4;
}

* { box-sizing: border-box; margin: 0; }

html, body { height: 100%; }

body {
  background: radial-gradient(ellipse at center, #10151a 0%, var(--bg) 75%);
  color: var(--text);
  font: 400 16px/1.25 'Departure Mono', ui-monospace, Menlo, monospace;
  text-shadow: 0 0 4px rgba(214, 221, 230, 0.35);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.28) 0 1px, transparent 1px 3px);
}

#face {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

main {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding: 2.5rem 1.5rem 4rem;
}

.banner { margin-bottom: 1.5rem; font-size: inherit; }

.banner pre {
  font: 400 clamp(7px, 2.1vw, 15px)/1 'IBM Plex Mono', ui-monospace, Menlo, Consolas, 'DejaVu Sans Mono', monospace;
  color: var(--text);
  text-shadow: 0 0 3px rgba(214, 221, 230, 0.3);
}

.banner b, .key { color: var(--accent); text-shadow: 0 0 6px rgba(94, 234, 212, 0.45); }

.ps { color: var(--text); font-weight: 600; }

.frame { color: var(--muted); }

.line { display: block; min-height: 1.25em; white-space: pre-wrap; word-break: break-word; }

.dim { color: var(--muted); }

.prompt-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1ch;
}

#menu { display: inline-flex; flex-wrap: wrap; gap: 0 1ch; }

.opt {
  background: none;
  border: 0;
  padding: 0 0.5ch;
  color: var(--muted);
  font: inherit;
  text-shadow: inherit;
  cursor: pointer;
}

.opt:hover { color: var(--text); }

.opt.active {
  background: var(--accent);
  color: var(--bg);
  text-shadow: none;
  box-shadow: 0 0 10px rgba(94, 234, 212, 0.45);
}

.cursor {
  display: inline-block;
  width: 0.55em;
  height: 1em;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(94, 234, 212, 0.6);
  animation: blink 1s steps(1) infinite;
}

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

a { color: var(--accent); }

@media (max-width: 480px) {
  body { font-size: 13px; }
  main { padding: 1.75rem 1rem 3rem; }
}
