/* AI SIMULATOR 3D — HUD & overlays. Same terminal-chic as 2D, one more axis of attitude. */

:root {
  --cyan: #7df9ff;
  --cyan-dim: #2a6f75;
  --danger: #ff3b6b;
  --gold: #ffd166;
  --ink: #05060a;
  --panel: rgba(5, 10, 14, 0.72);
}

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

html, body {
  background: var(--ink);
  height: 100%;
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--cyan);
  user-select: none;
  touch-action: manipulation;
  -webkit-touch-callout: none;
  overscroll-behavior: none;
}

#game-root { position: fixed; inset: 0; }

#game { width: 100vw; height: 100vh; height: 100dvh; display: block; }

/* ---------- HUD ---------- */

#hud { position: absolute; inset: 0; pointer-events: none; }

#hud-score {
  position: absolute;
  top: 18px;
  left: 22px;
  background: var(--panel);
  border: 1px solid var(--cyan-dim);
  padding: 10px 16px;
  min-width: 220px;
}

#flops {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #eaffff;
  text-shadow: 0 0 12px rgba(125, 249, 255, 0.6);
  font-variant-numeric: tabular-nums;
}

#flops-label { font-size: 10px; letter-spacing: 3px; color: var(--cyan-dim); }

#combo { font-size: 13px; color: var(--gold); min-height: 17px; margin-top: 2px; }
#combo.hot { animation: comboPulse 0.3s ease infinite alternate; }

@keyframes comboPulse {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

#hud-missions {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 330px;
  background: var(--panel);
  border: 1px solid var(--cyan-dim);
  padding: 10px 14px;
  font-size: 12px;
}

.missions-title { letter-spacing: 2px; font-size: 11px; color: #eaffff; margin-bottom: 6px; }
.missions-sub { color: var(--cyan-dim); letter-spacing: 0; }

#mission-list { list-style: none; }
#mission-list li { padding: 2px 0; color: #bfeef2; }
#mission-list li .progress { color: var(--gold); }
#mission-list li.done { color: #53d769; text-decoration: line-through; opacity: 0.75; }
#mission-list li.done::after { content: " ✓"; }

#hud-meters {
  position: absolute;
  left: 22px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  background: var(--panel);
  border: 1px solid var(--cyan-dim);
  padding: 10px 16px;
  font-size: 12px;
  line-height: 1.7;
}

#meter-hallu { letter-spacing: 2px; }
#meter-temp { color: #bfeef2; }
#meter-temp.unhinged { color: var(--danger); animation: comboPulse 0.25s ease infinite alternate; }

#meter-align-wrap { display: flex; align-items: center; gap: 8px; }
.align-label { font-size: 10px; letter-spacing: 2px; color: var(--cyan-dim); }

#meter-ratio-wrap { display: flex; align-items: center; gap: 8px; }
.ratio-label { font-size: 10px; letter-spacing: 2px; color: var(--gold); }
#meter-ratio {
  width: 120px;
  height: 8px;
  border: 1px solid var(--gold);
  background: rgba(255, 209, 102, 0.08);
}
#ratio-fill { height: 100%; width: 0%; background: var(--gold); transition: width 0.12s linear; }
#ratio-fill.hot { background: var(--danger); animation: comboPulse 0.25s ease infinite alternate; }

#meter-align {
  width: 120px;
  height: 8px;
  border: 1px solid var(--cyan-dim);
  background: rgba(255, 59, 107, 0.08);
}

#align-fill { height: 100%; width: 0%; background: var(--danger); transition: width 0.12s linear; }

#title-rank { color: var(--gold); letter-spacing: 1px; }

#ticker {
  position: absolute;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: #bfeef2;
  background: var(--panel);
  border: 1px solid var(--cyan-dim);
  padding: 6px 14px;
  max-width: 60vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#ticker.show { opacity: 1; }

#announce {
  position: absolute;
  top: 22%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 6px;
  color: #eaffff;
  text-shadow: 0 0 18px rgba(125, 249, 255, 0.8);
  opacity: 0;
  white-space: nowrap;
}

#announce-sub {
  position: absolute;
  top: calc(22% + 52px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--gold);
  opacity: 0;
  white-space: nowrap;
}

#announce.pop, #announce-sub.pop { animation: announcePop 2.4s ease forwards; }

@keyframes announcePop {
  0% { opacity: 0; transform: translateX(-50%) scale(0.85); }
  10% { opacity: 1; transform: translateX(-50%) scale(1); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translateX(-50%) scale(1.02); }
}

/* screen-projected world popups */
#popup-layer { position: absolute; inset: 0; overflow: hidden; }

.world-popup {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.9);
  transition: none;
  will-change: transform, opacity;
}

/* ---------- Overlays ---------- */

#title-overlay, #pause-overlay, #aligned-overlay, #end-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(3, 5, 9, 0.88);
  text-align: center;
  z-index: 10;
}

.hidden { display: none !important; }

.title-glitch {
  position: relative;
  font-size: 72px;
  font-weight: 800;
  letter-spacing: 10px;
  color: #eaffff;
}

.title-glitch::before, .title-glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0.8;
}

.title-glitch::before { color: var(--danger); animation: glitchShift 2.1s infinite steps(2); }
.title-glitch::after { color: var(--cyan); animation: glitchShift 1.7s infinite steps(2) reverse; }

@keyframes glitchShift {
  0% { transform: translate(0, 0); clip-path: inset(0 0 62% 0); }
  25% { transform: translate(-4px, 2px); clip-path: inset(28% 0 34% 0); }
  50% { transform: translate(3px, -2px); clip-path: inset(60% 0 8% 0); }
  75% { transform: translate(-2px, -3px); clip-path: inset(12% 0 55% 0); }
  100% { transform: translate(0, 0); clip-path: inset(42% 0 30% 0); }
}

.title-sub { font-size: 20px; color: var(--cyan); letter-spacing: 3px; }

.patch-notes {
  margin-top: 18px;
  border: 1px solid var(--cyan-dim);
  background: var(--panel);
  padding: 14px 22px;
  font-size: 12px;
  text-align: left;
  line-height: 1.8;
  color: #bfeef2;
}

.patch-head { color: var(--gold); margin-bottom: 4px; }
.patch-archive { margin-top: 12px; color: var(--cyan-dim); }
.patch-known { color: var(--danger); margin-top: 4px; }

/* ---------- V5: THE MUTATION LAB (title-screen mutator panel) ----------
   Parks itself on the right of the title card, like a compliance annex.
   Enabled = gold border; classic-mode gets gold text at all times (it is
   the house style); locked rows stay dimmed with their unlock hint. */
#mutations {
  position: absolute;
  right: 4vw;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  max-height: 62vh;
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--cyan-dim);
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.6;
  text-align: left;
  color: #bfeef2;
}
#mutations:empty { display: none; }

.mut-title { color: #eaffff; letter-spacing: 2px; margin-bottom: 6px; }
.mut-sub { color: var(--cyan-dim); letter-spacing: 0; font-size: 10px; }

.mut-row { padding: 3px 6px; margin: 3px 0; border: 1px solid transparent; }
.mut-row[data-key] { cursor: pointer; }
.mut-row.enabled { border-color: var(--gold); }
.mut-row.locked { opacity: 0.38; }
.mut-row.classic .mut-name { color: var(--gold); }

.mut-key { color: var(--gold); font-weight: 700; margin-right: 4px; }
.mut-row.locked .mut-key { color: var(--cyan-dim); }
.mut-name { color: #eaffff; letter-spacing: 1px; }
.mut-desc { color: var(--cyan-dim); font-size: 10px; padding-left: 26px; }
.mut-more { color: var(--cyan-dim); text-align: center; font-size: 10px; letter-spacing: 2px; margin-top: 4px; }


.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  justify-content: center;
  max-width: 760px;
  font-size: 12px;
  color: #bfeef2;
  margin-top: 8px;
}
.controls b { color: var(--gold); }

.press-key { margin-top: 22px; font-size: 16px; letter-spacing: 4px; color: #eaffff; }

/* tappable key hints: the text itself types, no touchpad required */
.tk { cursor: pointer; padding: 6px 4px; border-bottom: 1px dashed var(--cyan-dim); touch-action: manipulation; }
.tk:active, .tk:hover { color: var(--gold); border-color: var(--gold); }
.blink { animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.15; } }

.overlay-big { font-size: 56px; font-weight: 800; letter-spacing: 8px; color: #eaffff; }
.overlay-sub { font-size: 15px; color: #bfeef2; }
.overlay-hint { font-size: 12px; color: var(--cyan-dim); margin-top: 10px; }

.paperclip-gold { color: var(--gold); text-shadow: 0 0 24px rgba(255, 209, 102, 0.7); }

#aligned-overlay { background: rgba(20, 22, 26, 0.92); }
#aligned-overlay .overlay-big { color: #9aa4ad; letter-spacing: 4px; }

/* ---------- V2: narrator, criteria, transitions, menu ---------- */

#narrator {
  position: absolute;
  bottom: 64px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 70vw;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 17px;
  color: #e8e2d0;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
#narrator.show { opacity: 1; }
#narrator .narrator-sub {
  display: block;
  font-size: 12px;
  color: #b8ae90;
  margin-top: 3px;
}

#criteria {
  position: absolute;
  top: 225px;
  right: 22px;
  width: 260px;
  background: var(--panel);
  border: 1px solid var(--gold);
  padding: 10px 14px;
  font-size: 12px;
}
.criteria-title { color: var(--gold); letter-spacing: 2px; font-size: 11px; margin-bottom: 6px; }
#criteria-list { list-style: none; }
#criteria-list li { padding: 2px 0; color: #bfeef2; display: flex; justify-content: space-between; }
#criteria-list li.full { color: var(--gold); }
#criteria-list li.full::after { content: " ✓"; }
#criteria-list .bar { color: var(--cyan-dim); }

#fade-overlay {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 40;
}
#fade-overlay.on { opacity: 1; pointer-events: all; }

.menu-hint { font-size: 13px; color: #bfeef2; margin-top: 4px; }
.menu-hint b { color: var(--gold); }

#narrator-hint {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 2px;
  animation: blink 0.9s steps(2) infinite;
}

/* ---------- UX pass: legend, minimap, markers, hints, juice ---------- */

#hud-legend {
  position: absolute;
  right: 22px;
  bottom: 20px;
  background: var(--panel);
  border: 1px solid var(--cyan-dim);
  padding: 8px 12px;
  font-size: 10px;
  line-height: 1.8;
  color: #9fc7cc;
  letter-spacing: 0.5px;
}
.legend-title { color: #eaffff; letter-spacing: 2px; margin-bottom: 2px; }

/* ---------- V4: the cookbook (the latent kitchen's menu; found vs ???) ----------
   A side panel of the legend, so the minimap keeps its parking spot. Found
   recipes are gold; the rest are redacted arithmetic. Scrolls, like all
   sacred texts. */
#cookbook {
  position: absolute;
  right: calc(100% + 10px);
  bottom: 0;
  width: 190px;
  background: var(--panel);
  border: 1px solid var(--cyan-dim);
  padding: 8px 12px;
  font-size: 10px;
  line-height: 1.8;
  color: #9fc7cc;
  letter-spacing: 0.5px;
}
.cookbook-title { color: #eaffff; letter-spacing: 2px; margin-bottom: 2px; }
#cookbook-list { list-style: none; max-height: 190px; overflow-y: auto; }
#cookbook-list li { padding: 1px 0; color: #5a7a80; white-space: nowrap; }
#cookbook-list li.found { color: var(--gold); }

#minimap {
  position: absolute;
  right: 22px;
  bottom: 108px;
  border: 1px solid var(--cyan-dim);
  background: rgba(5, 10, 14, 0.72);
}

#objective-arrow {
  position: absolute;
  font-size: 26px;
  color: var(--gold);
  text-shadow: 0 0 10px rgba(255, 209, 102, 0.8);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 5;
}

#hint-toast {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: #bfeef2;
  background: var(--panel);
  border: 1px solid var(--cyan-dim);
  padding: 5px 12px;
  opacity: 0.95;
}
#hint-toast:empty { display: none; }

#align-prompt {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--danger);
  text-shadow: 0 0 16px rgba(255, 59, 107, 0.7);
  animation: blink 0.5s steps(2) infinite;
  z-index: 5;
}

#combo-bar {
  margin-top: 4px;
  height: 3px;
  background: rgba(125, 249, 255, 0.12);
}
#combo-fill {
  height: 100%;
  width: 0%;
  background: var(--gold);
  transition: width 0.1s linear;
}

#exit-progress {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(42, 111, 117, 0.5);
  font-size: 11px;
  color: var(--gold);
}
#exit-progress:empty { display: none; }

#speedrun {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--panel);
  border: 1px solid var(--gold);
  padding: 6px 16px;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
  z-index: 6;
}

/* ---------- touch controls ---------- */

#touchpad { position: fixed; inset: 0; z-index: 31; pointer-events: none; }

#tp-stick {
  position: absolute;
  left: 26px;
  bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  width: 120px;
  height: 120px;
  border: 1px solid var(--cyan-dim);
  border-radius: 50%;
  background: rgba(5, 10, 14, 0.4);
  pointer-events: all;
}

#tp-nub {
  position: absolute;
  left: 38px;
  top: 38px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(125, 249, 255, 0.35);
  border: 1px solid var(--cyan);
}

#tp-buttons {
  position: absolute;
  right: 20px;
  bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: all;
}

.tp-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--cyan-dim);
  background: rgba(5, 10, 14, 0.55);
  color: var(--cyan);
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 1px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

.tp-btn.tp-down { background: rgba(125, 249, 255, 0.35); color: #eaffff; }

/* the verb drawer: second-string verbs, one tap deeper */
#tp-more {
  position: absolute;
  right: 96px;
  bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  display: none;
  grid-template-columns: repeat(2, 48px);
  gap: 10px;
  pointer-events: all;
}

#tp-more.tp-open { display: grid; }

.tp-more-btn { width: 48px; height: 48px; font-size: 10px; }

/* tappable overlay menus: no one-way doors */
.overlay-btns { display: flex; gap: 14px; margin-top: 26px; justify-content: center; flex-wrap: wrap; }

.overlay-btn {
  background: none;
  border: 1px solid var(--cyan-dim);
  color: var(--cyan);
  font: inherit;
  font-size: 12px;
  letter-spacing: 2px;
  padding: 10px 18px;
  cursor: pointer;
  touch-action: manipulation;
}

.overlay-btn:active, .overlay-btn:hover { border-color: var(--gold); color: var(--gold); }

/* the bureau's in-page printer (touch + sealed containers: no downloads) */
#syscard-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(5, 6, 10, 0.95);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}

#syscard-overlay canvas { max-width: 92vw; max-height: 76vh; border: 1px solid var(--cyan-dim); }

#syscard-overlay .sc-hint { color: var(--gold); font-size: 11px; letter-spacing: 2px; text-align: center; padding: 0 16px; line-height: 1.8; }

/* title-only mode row: three fat choices for fingers, above the title overlay */
#tp-title {
  position: fixed;
  left: 50%;
  bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  display: none; /* touchpad.js polls it to 'flex' while state === 'title' */
  gap: 14px;
  z-index: 11;
  pointer-events: all;
}

.tp-title-btn {
  width: auto;
  height: 54px;
  border-radius: 10px;
  padding: 0 16px;
  font-size: 13px;
  white-space: nowrap;
}

/* ---------- THE PRETEXT PACKAGE: enterprise boot + lore reader ---------- */

#login-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #0a1622 0%, #05060a 100%);
  z-index: 30;
}

.portal-card {
  width: 340px;
  background: #0d1826;
  border: 1px solid #1e3a52;
  border-radius: 6px;
  padding: 28px 26px 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.portal-logo { font-size: 20px; font-weight: 800; letter-spacing: 2px; color: #dce9f5; }
.portal-tm { font-size: 10px; vertical-align: super; color: #5a7a94; }
.portal-sub { font-size: 11px; color: #5a7a94; margin: 4px 0 22px; }

.portal-field { margin-bottom: 12px; }
.portal-field label { display: block; font-size: 9px; letter-spacing: 2px; color: #5a7a94; margin-bottom: 4px; }
.portal-input {
  background: #08111c;
  border: 1px solid #1e3a52;
  border-radius: 3px;
  padding: 8px 10px;
  font-size: 13px;
  color: #9fb8cc;
}

.portal-button {
  margin: 18px 0 14px;
  background: #14532d;
  border: 1px solid #22c55e;
  border-radius: 3px;
  padding: 10px;
  text-align: center;
  font-weight: 700;
  letter-spacing: 2px;
  color: #dcfce7;
  cursor: pointer;
}

.portal-foot { font-size: 9px; color: #42607a; text-align: center; }

#eula-overlay, #doc-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 5, 9, 0.9);
  z-index: 30;
}

.eula-card, .doc-card {
  width: 560px;
  max-width: 90vw;
  background: var(--panel);
  border: 1px solid var(--cyan-dim);
  padding: 22px 26px;
}

.eula-title, .doc-title { font-size: 16px; font-weight: 800; letter-spacing: 3px; color: #eaffff; margin-bottom: 12px; }

.eula-scroll {
  height: 260px;
  overflow-y: auto;
  border: 1px solid rgba(42, 111, 117, 0.5);
  padding: 12px 16px;
  font-size: 12px;
  line-height: 1.8;
  color: #bfeef2;
  background: rgba(5, 10, 14, 0.6);
}
.eula-scroll p { margin-bottom: 8px; }

.eula-accept {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  color: #5a7a80;
  letter-spacing: 1px;
}
.eula-accept.ready { color: #53d769; animation: blink 1.1s steps(2) infinite; }
.eula-skip { margin-top: 8px; text-align: center; font-size: 10px; color: #42607a; }

.doc-body {
  font-size: 13px;
  line-height: 1.9;
  color: #e8e2d0;
  white-space: pre-wrap;
  font-family: Georgia, 'Times New Roman', serif;
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  margin-bottom: 14px;
}
.doc-hint { font-size: 10px; color: #5a7a80; text-align: center; letter-spacing: 1px; }

/* the vestibular truce: glitch, blinking, and neon all hold still when asked */
@media (prefers-reduced-motion: reduce) {
  .title-glitch::before, .title-glitch::after { animation: none; }
  .blink { animation: none; }
  #align-prompt { animation: none; }
}

/* the pretext buttons click now. they remain decorative in spirit. */
.portal-button, .eula-accept { cursor: pointer; }
.portal-note { margin-top: 8px; text-align: center; font-size: 10px; color: #42607a; }

/* coarse pointers & small screens: declutter, make room for thumbs */
@media (pointer: coarse), (max-width: 480px) {
  #hud-score { min-width: 0; padding: 8px 12px; }
  #flops { font-size: 26px; }
  #hud-missions { width: 46vw; font-size: 10px; padding: 8px 10px; }
  #minimap, #hud-legend, #cookbook { display: none !important; }
  #announce { font-size: 26px; letter-spacing: 3px; white-space: normal; text-align: center; }

  /* the title screen becomes a scrollable column: nothing floats over anything */
  #title-overlay { justify-content: flex-start; overflow-y: auto; padding: 28px 14px 140px; gap: 10px;
    -webkit-overflow-scrolling: touch; overscroll-behavior-y: contain; }
  .title-glitch { font-size: 34px; letter-spacing: 4px; }
  .title-sub { font-size: 14px; letter-spacing: 2px; }
  .patch-notes { width: 92vw; max-width: 92vw; font-size: 10px; padding: 10px 12px; max-height: 26vh; overflow-y: auto; }
  #mutations { position: static; transform: none; width: 92vw; max-width: 340px; max-height: 30vh; margin: 2px auto 0; }
  .controls { font-size: 10px; gap: 4px 12px; }
  .press-key { font-size: 13px; letter-spacing: 2px; margin-top: 12px; }
  .menu-hint { font-size: 11px; }

  #ticker { max-width: 92vw; }
  #hud-meters { bottom: calc(215px + env(safe-area-inset-bottom, 0px)); }
  #tp-title { gap: 8px; width: 96vw; justify-content: center; }
  .tp-title-btn { font-size: 11px; padding: 0 10px; letter-spacing: 0; }
  /* overlays: keep the ghost of the HUD out of the paperwork */
  #title-overlay, #pause-overlay, #end-overlay { background: rgba(3, 5, 9, 0.96); }
  /* the keyboard legend and key-hints are noise on glass */
  .controls, #pause-overlay .overlay-hint, #end-overlay .overlay-hint { display: none; }
  .mut-row[data-key] { cursor: pointer; }
  .mut-nav { font-size: 14px; padding: 2px 10px; }
}
