:root {
  color-scheme:dark;
  --bg:#101411;
  --panel:#171d18;
  --ink:#e1e4d7;
  --muted:#899585;
  --line:#303a2e;
  --gold:#d8b66a;
  --mint:#b6d7a8;
  --red:#f29b89;
  font:14px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
}
button,input,select {
  font:inherit;
}
button,.file-button {
  color:var(--ink);
  background:transparent;
  border:1px solid var(--line);
  border-radius:5px;
  padding:9px 16px;
  cursor:pointer;
  transition:background .15s,border-color .15s;
}
button:hover,.file-button:hover {
  background:#273022;
  border-color:#728360;
}
button:disabled {
  opacity:.4;
  cursor:not-allowed;
}
button.primary {
  background:var(--gold);
  color:#1d2119;
  border-color:var(--gold);
  font-weight:700;
}
button.primary:hover {
  background:#edce8a;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,.file-button:focus-within {
  outline:2px solid var(--gold);
  outline-offset:4px;
}
button[aria-current=true] {
  color:var(--gold);
}
[hidden] {
  display:none!important;
}
h1,h2,p {
  margin-top:0;
}
h1 {
  line-height:1.2;
  letter-spacing:-1.7px;
}
h2 {
  line-height:1.3;
  letter-spacing:-.6px;
}
.quiet {
  color:var(--muted);
  font-size:12px;
}
.eyebrow {
  font-size:10px;
  letter-spacing:1.7px;
  font-weight:700;
  color:var(--muted);
}
kbd {
  display:inline-block;
  border:1px solid #46523f;
  background:#20271e;
  border-radius:3px;
  padding:0 5px;
  font:inherit;
  color:var(--mint);
  font-size:12px;
}
.spark {
  display:inline-block;
  background:var(--gold);
  width:6px;
  height:6px;
  transform:rotate(45deg);
  margin-right:9px;
}
.skip {
  position:absolute;
  left:12px;
  top:-60px;
  z-index:10;
  background:var(--gold);
  color:#111;
  padding:10px;
}
.skip:focus {
  top:12px;
}
.topbar {
  height:94px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  padding:0 4.5%;
  gap:36px;
}
.brand {
  border:0;
  padding:0;
  display:flex;
  align-items:center;
  gap:13px;
  font-size:15px;
  letter-spacing:2px;
  text-align:left;
}
.brand:hover {
  background:none;
  border:0;
}
.brand-mark {
  font-size:34px;
  font-weight:400;
  color:var(--gold);
}
.brand small {
  display:block;
  color:var(--muted);
  font-size:8px;
  letter-spacing:2.8px;
  margin-top:1px;
}
.topbar nav {
  display:flex;
  gap:8px;
  margin-left:auto;
}
.topbar nav button {
  border:0;
  font-size:12px;
  padding:9px 14px;
}
.topbar nav kbd {
  font-size:10px;
  margin-left:5px;
  color:var(--muted);
}
.language-toggle {
  display:flex;
  gap:2px;
  margin-left:auto;
}
.language-toggle button {
  padding:7px 9px;
  font-size:11px;
}
.language-toggle button[aria-pressed=true] {
  color:var(--gold);
  border-color:var(--gold);
}
.save-menu {
  font-size:12px;
  white-space:nowrap;
}
.save-menu span {
  color:var(--gold);
  padding-left:18px;
}
main {
  max-width:1500px;
  margin:auto;
}
.home {
  padding:85px 5% 0;
  display:grid;
  grid-template-columns:1.1fr 1fr;
  column-gap:35px;
  align-items:center;
  min-height:calc(100vh - 157px);
}
.hero-copy {
  padding-bottom:40px;
}
.hero-copy>.eyebrow {
  color:var(--gold);
  margin-bottom:27px;
  font-size:9px;
  letter-spacing:1.2px;
}
.hero-copy h1 {
  font-size:clamp(28px,3.2vw,49px);
  font-weight:500;
  margin-bottom:24px;
  line-height:1.3;
}
.hero-copy em {
  font-style:normal;
  color:var(--gold);
}
.hero-copy>p:not(.quiet) {
  max-width:490px;
  font-size:13px;
  line-height:1.95;
  color:#aab5a4;
}
.hero-actions {
  display:flex;
  gap:12px;
  margin:29px 0 18px;
  flex-wrap:wrap;
}
.hero-actions button {
  font-size:12px;
  padding:13px 18px;
}
.hero-actions span {
  margin-left:20px;
}
.reset-progress { padding:4px 0; border:0; color:var(--muted); font-size:11px; text-decoration:underline; text-underline-offset:4px; }
.reset-progress:hover { color:var(--red); background:none; }
button.danger { color:var(--red); border-color:var(--red); }
#reset-progress-message { color:var(--red); }
.hero-stats {
  display:flex;
  gap:45px;
  margin-top:36px;
}
.hero-stats strong {
  font-size:26px;
  font-weight:400;
  color:var(--ink);
  display:block;
}
.hero-stats span {
  font-size:9px;
  letter-spacing:1.5px;
  color:var(--muted);
}
.hero-art {
  align-self:center;
  background:radial-gradient(ellipse at center,#28312366 0%,transparent 70%);
  position:relative;
  padding:12px 0 38px;
}
.art-caption,.art-foot {
  display:flex;
  justify-content:space-between;
  font-size:8px;
  letter-spacing:1.3px;
  color:var(--muted);
}
.art-caption {
  border-top:1px solid var(--line);
  padding-top:12px;
}
.hero-art pre {
  font-size:clamp(8px,1.05vw,14px);
  line-height:1.55;
  color:var(--gold);
  text-align:center;
  margin:43px -8px 35px;
  white-space:pre;
}
.art-foot {
  justify-content:center;
  align-items:center;
  font-size:9px;
  letter-spacing:.3px;
}
.home-bottom {
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid var(--line);
  padding:25px 0;
  gap:18px;
  font-size:10px;
  color:var(--muted);
}
.home-bottom kbd {
  margin-right:4px;
  font-size:10px;
}
.site-footer {
  max-width:1500px;
  margin:auto;
  border-top:1px solid var(--line);
  padding:22px 4.5%;
  font-size:9px;
  letter-spacing:.8px;
  color:var(--muted);
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}
.site-footer nav {
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  font-size:12px;
  letter-spacing:0;
}
.site-footer a,.legal-page a {
  color:var(--mint);
  text-underline-offset:4px;
}
.site-footer a:hover,.legal-page a:hover,.site-footer a[aria-current=page] {
  color:var(--gold);
}
.legal-topbar .brand {
  color:var(--ink);
  text-decoration:none;
}
.legal-page {
  max-width:820px;
  padding:40px 28px 64px;
  min-height:calc(100vh - 180px);
  margin:auto;
  overflow-wrap:anywhere;
}
.legal-page .back-link {
  display:inline-block;
  margin-bottom:40px;
}
.legal-page h1 {
  font-size:clamp(28px,5vw,44px);
  margin-bottom:24px;
}
.legal-page section {
  margin:32px 0;
}
.legal-page h2 {
  font-size:19px;
}
.legal-page address {
  font-style:normal;
}
.legal-draft {
  padding:18px;
  border-left:2px solid var(--gold);
  background:var(--panel);
}
.analytics-choice {
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:5px;
  cursor:pointer;
}
.analytics-choice input {
  accent-color:var(--gold);
  flex-shrink:0;
}
.support-card {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:16px 32px;
  margin-top:36px;
  padding:24px;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--panel);
}
.support-card > div {
  flex:1 1 220px;
}
.support-art {
  color:var(--gold);
  font:14px/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}
.support-coins {
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  list-style:none;
  padding:0;
  color:var(--muted);
}
.support-coins li {
  display:flex;
  gap:8px;
}
.support-coins strong {
  color:var(--mint);
}
.site-footer .quiet {
  font-size:9px;
  opacity:.7;
}
.play {
  display:grid;
  grid-template-columns:210px minmax(0,1fr);
  min-height:calc(100vh - 156px);
}
.journey {
  padding:30px 16px 30px 24px;
  border-right:1px solid var(--line);
  background:#141913;
}
.journey-heading {
  display:flex;
  justify-content:space-between;
  margin-bottom:22px;
  font-size:9px;
  color:var(--muted);
  letter-spacing:1px;
}
.journey button {
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  text-align:left;
  border:0;
  margin:3px 0;
  padding:9px 9px;
  font-size:10px;
  line-height:1.4;
}
.journey .room-number {
  color:var(--muted);
  font-size:10px;
  min-width:19px;
}
.journey button.active {
  background:#283124;
  color:var(--gold);
  border-left:2px solid var(--gold);
  border-radius:0 4px 4px 0;
}
.journey button.done .room-number {
  color:var(--mint);
}
.journey button:disabled {
  opacity:.35;
}
.journey-bottom {
  border-top:1px solid var(--line);
  margin-top:24px;
  padding:20px 8px 0;
  color:#687762;
  font-size:9px;
  line-height:1.9;
}
.workspace {
  padding:30px 38px 18px;
  min-width:0;
}
.chapter-line {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:13px;
}
.progress-chip {
  display:grid;
  justify-items:end;
  gap:4px;
  flex-shrink:0;
  font-size:10px;
  color:var(--mint);
}
.progress-chip strong { font-size:16px; font-variant-numeric:tabular-nums; }
.progress-chip span { color:var(--muted); font-size:9px; }
.progress-chip progress { width:100%; height:3px; accent-color:var(--mint); border:0; border-radius:3px; }
.progress-chip progress::-webkit-progress-bar { background:var(--line); }
.progress-chip progress::-webkit-progress-value { background:var(--mint); }
.chapter-line { gap:15px; flex-wrap:wrap; }
.heart { color:var(--gold); text-shadow:0 0 12px #ceab6266; }
.weakpoint { color:var(--red); background:#f29b8914; text-shadow:0 0 12px #f29b8955; font-weight:700; }
#cele-monster { color:var(--muted); font-size:9px; line-height:1.3; text-align:left; width:max-content; max-width:100%; overflow:auto; margin:18px auto; }
.buffer.prologue { font-size:13px; line-height:1.3; padding-top:14px; padding-bottom:14px; }
.quest-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}
.quest-heading h1 {
  font-size:27px;
  letter-spacing:-1px;
  margin:0;
}
.story {
  color:var(--muted);
  font-size:11px;
  margin:8px 0 22px;
  max-width:820px;
}
.objective {
  display:flex;
  align-items:center;
  gap:17px;
  padding:15px 20px;
  background:#22291e;
  border:1px solid #3e4935;
  border-radius:5px 5px 0 0;
  border-bottom:0;
}
.objective-icon {
  color:var(--gold);
  font-size:25px;
}
.objective .eyebrow {
  color:var(--gold);
  font-size:8px;
}
.objective p {
  font-size:12px;
  line-height:1.6;
  margin:3px 0 0;
}
.reward {
  color:var(--mint);
  font-size:10px;
  margin-left:auto;
  white-space:nowrap;
}
.terminal {
  border:1px solid #46513e;
  border-radius:0 0 5px 5px;
  overflow:hidden;
  background:#0e120f;
}
.terminal-title {
  height:35px;
  background:#1b2119;
  display:flex;
  align-items:center;
  gap:20px;
  padding:0 16px;
  font-size:10px;
  color:var(--muted);
  border-bottom:1px solid var(--line);
}
.terminal-dots {
  font-size:8px;
  letter-spacing:3px;
  color:#4e5e45;
}
.terminal-title #focus-label {
  margin-left:auto;
  font-size:9px;
  color:var(--gold);
}
.buffer {
  font:14px/1.65 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  min-height:295px;
  max-height:56vh;
  overflow:auto;
  padding:22px 0 28px;
  outline:none;
  white-space:pre;
  tab-size:2;
  scrollbar-color:#46513e #101411;
}
.buffer:focus {
  box-shadow:inset 0 0 0 1px #7c9465;
}
.vim-line {
  display:flex;
  min-height:23px;
  padding-right:24px;
}
.line-number {
  display:inline-block;
  flex:0 0 48px;
  text-align:right;
  margin-right:24px;
  color:#475541;
  user-select:none;
  font-size:11px;
  align-self:center;
}
.line-text {
  display:block;
  white-space:pre;
}
.cursor {
  color:#101411;
  background:var(--gold);
  outline:1px solid var(--gold);
}
.buffer:not(:focus) .cursor {
  background:#374530;
  color:var(--ink);
  outline-color:#899585;
}
.selected {
  background:#405536;
}
.wall {
  color:#5c7450;
}
.sigil {
  color:var(--gold);
}
.statusline {
  height:29px;
  background:#20291d;
  color:var(--muted);
  font-size:10px;
  display:flex;
  align-items:center;
  gap:18px;
  padding-right:15px;
}
.statusline strong {
  background:var(--mint);
  color:#172113;
  padding:6px 14px;
  font-size:9px;
  letter-spacing:.8px;
}
.statusline #steps {
  margin-left:auto;
  color:var(--gold);
}
.statusline #command {
  white-space:pre;
  overflow:hidden;
  text-overflow:ellipsis;
}
.action-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:16px;
  gap:16px;
}
.action-row>div {
  display:flex;
  gap:9px;
}
.action-row button {
  font-size:10px;
  padding:7px 12px;
}
.action-row #best-score {
  font-size:10px;
  color:var(--gold);
}
.hint-panel {
  padding:14px 18px;
  margin-top:12px;
  border-left:2px solid var(--gold);
  background:#22291e;
  font-size:12px;
}
.editor-message {
  height:20px;
  color:var(--gold);
  font-size:10px;
  margin:8px 0;
}
.lesson-footer {
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:18px;
  padding-top:14px;
  font-size:9px;
  color:var(--muted);
}
#save-status {
  white-space:nowrap;
}
#map-toggle {
  display:none;
}
dialog {
  color:var(--ink);
  background:#1b211a;
  border:1px solid #637153;
  border-radius:9px;
  padding:30px;
  max-width:620px;
  width:calc(100vw - 36px);
  max-height:88vh;
  box-shadow:0 30px 100px #0009;
}
dialog::backdrop {
  background:#080e0bd9;
  backdrop-filter:blur(5px);
}
.dialog-top {
  display:flex;
  justify-content:space-between;
  align-items:start;
  gap:20px;
}
.dialog-top h2 {
  margin:6px 0 22px;
  font-size:25px;
}
.dialog-top button {
  font-size:20px;
  line-height:1;
  padding:6px 11px;
}
dialog p {
  font-size:12px;
  color:#aebba6;
}
dialog details {
  border-top:1px solid var(--line);
  padding:15px 0;
}
summary {
  cursor:pointer;
  color:var(--gold);
  font-size:12px;
  margin-bottom:8px;
}
dialog pre {
  white-space:pre-wrap;
  font-size:11px;
  overflow-wrap:anywhere;
}
dialog li {
  font-size:12px;
}
dialog h4 {
  font-size:12px;
  margin:12px 0 8px;
}
.mode-overview { width:100%; border-collapse:collapse; margin:15px 0 20px; font-size:11px; line-height:1.6; }
.mode-overview th,.mode-overview td { text-align:left; vertical-align:top; padding:9px 8px; border-bottom:1px solid var(--line); }
.mode-overview thead th { color:var(--gold); }
.mode-overview tbody th { color:var(--mint); }
.mode-overview td { color:#aebba6; }
#grimoire-pages p,#grimoire-pages li { line-height:1.8; }
#grimoire-pages li { margin-bottom:7px; }
#grimoire-pages a { color:var(--gold); }
.key-guide {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  font-size:10px;
  margin:20px 0 25px;
}
.key-guide kbd {
  font-size:10px;
}
.celebration {
  text-align:center;
  max-width:470px;
  padding:36px;
}
.seal {
  color:var(--gold);
  font-size:56px;
  line-height:1.2;
  margin-bottom:20px;
}
.celebration h2 {
  font-size:34px;
  margin:12px 0;
}
.xp-award {
  font-size:31px;
  color:var(--mint);
  margin:20px 0 8px;
}
.cele-total { font-variant-numeric:tabular-nums; }
.lesson-dialog { max-width:700px; }
.lesson-dialog .dialog-top h2 { margin-bottom:12px; }
.briefing-scene { display:flex; align-items:center; gap:24px; padding:12px 0; }
.briefing-scene pre { flex-shrink:0; width:58ch; max-width:100%; height:18em; overflow:hidden; font-size:8px; line-height:1.2; color:var(--gold); white-space:pre; overflow-wrap:normal; margin:0; }
.briefing-scene p { margin:0; line-height:1.8; }
.movement-guide { padding:12px 16px; margin:12px 0 20px; background:#101710; border:1px solid var(--line); border-radius:6px; }
.lesson-commands { padding:4px 16px; margin:12px 0 20px; background:#101710; border:1px solid var(--line); border-radius:6px; }
.lesson-commands section { padding:12px 0; }
.lesson-commands section+section { border-top:1px solid var(--line); }
.lesson-commands h4 { margin:0 0 10px; color:var(--ink); }
.lesson-commands kbd { display:inline-block; margin-right:8px; padding:5px 9px; color:var(--mint); font-size:15px; }
.lesson-commands p { margin:0; line-height:1.8; }
.movement-guide p { margin:0 0 12px; }
.movement-guide p:last-child { font-size:10px; margin:12px 0 0; }
.movement-keys { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; font-size:11px; color:var(--ink); }
.movement-keys kbd { display:inline-block; padding:6px 10px; color:var(--mint); font-size:15px; }
.lesson-dialog h3 { font-size:13px; color:var(--gold); margin:20px 0 10px; }
.lesson-dialog ol { padding-left:24px; margin:0 0 24px; }
.lesson-dialog li { line-height:1.7; padding-left:5px; margin-bottom:10px; }
.lesson-dialog li::marker { color:var(--gold); }
.briefing-actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.briefing-actions button { font-size:12px; }
@media(max-width:620px) {
  .buffer.prologue { font-size:10px; }
  .briefing-scene { flex-direction:column; align-items:flex-start; gap:16px; }
  .briefing-scene pre { align-self:center; font-size:7px; }
  .movement-keys { grid-template-columns:repeat(2,1fr); }
  .lesson-dialog .dialog-top h2 { font-size:21px; }
  .action-row>div { display:flex; gap:4px; flex-wrap:wrap; }
  .action-row button { padding:8px; font-size:10px; }
}
.celebration .primary {
  margin-top:15px;
  min-width:190px;
}
.celebration[open] .seal {
  animation:glow .7s ease-out;
}
@keyframes glow {
  from {
    transform:scale(.7);
    opacity:.1;
  }
  to {
    transform:scale(1);
    opacity:1;
  }
}
.save-choice {
  display:block;
  font-size:11px;
  color:var(--muted);
  margin:15px 0;
}
.save-choice select {
  display:block;
  background:#101510;
  border:1px solid #45533b;
  border-radius:4px;
  padding:11px 12px;
  width:100%;
  color:var(--ink);
  margin-top:5px;
  font-size:13px;
}
.dialog-actions {
  display:flex;
  gap:10px;
  margin:20px 0;
}
.dialog-actions button {
  font-size:11px;
}
#save-message {
  color:var(--gold);
  min-height:18px;
}
.backup-actions {
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  font-size:11px;
}
.file-button input {
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
}
.backup-actions button {
  font-size:11px;
}
#notice {
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translateX(-50%);
  padding:14px 22px;
  background:#303b27;
  border:1px solid var(--gold);
  border-radius:5px;
  max-width:90vw;
  width:max-content;
  font-size:12px;
  z-index:20;
  box-shadow:0 6px 25px #0008;
}
@media(min-width:1500px) {
  .home {
    padding-top:100px;
  }
  .buffer {
    min-height:380px;
  }
  .workspace {
    padding:38px 55px;
  }
}
@media(max-width:1050px) {
  .home {
    padding-top:55px;
    column-gap:15px;
  }
  .hero-copy h1 {
    font-size:32px;
  }
  .hero-art pre {
    font-size:9px;
  }
  .hero-actions {
    gap:8px;
  }
  .hero-actions button {
    padding:11px;
    font-size:11px;
  }
  .topbar {
    gap:20px;
    padding:0 3%;
  }
  .topbar nav {
    gap:0;
  }
  .topbar nav button {
    padding:8px;
  }
  .workspace {
    padding:25px;
  }
  .play {
    grid-template-columns:185px minmax(0,1fr);
  }
  .journey {
    padding-left:14px;
  }
  .buffer {
    font-size:12px;
  }
  .objective {
    padding:13px;
  }
  .objective p {
    font-size:11px;
  }
  .home-bottom {
    flex-wrap:wrap;
  }
  .home-bottom>span:last-child {
    display:none;
  }
}
@media(max-width:760px) {
  .topbar {
    height:auto;
    min-height:80px;
    padding:16px 5%;
    flex-wrap:wrap;
    gap:14px;
  }
  .brand {
    font-size:12px;
  }
  .brand-mark {
    font-size:28px;
  }
  .brand small {
    font-size:7px;
  }
  .topbar nav {
    order:3;
    width:100%;
    justify-content:space-between;
    border-top:1px solid var(--line);
    padding-top:10px;
  }
  .topbar .save-menu {
    padding:7px 10px;
    font-size:10px;
  }
  .home {
    padding-top:35px;
    grid-template-columns:1fr;
  }
  .hero-copy {
    padding-bottom:0;
  }
  .hero-copy h1 {
    font-size:32px;
  }
  .hero-copy>.eyebrow {
    font-size:8px;
  }
  .hero-copy>p:not(.quiet) {
    font-size:12px;
  }
  .hero-stats {
    margin-top:24px;
  }
  .hero-art {
    margin:32px 0 5px;
    padding-bottom:20px;
  }
  .hero-art pre {
    font-size:10px;
    margin:25px 0;
  }
  .home-bottom {
    font-size:9px;
    padding:18px 0;
    gap:12px;
  }
  .play {
    display:block;
  }
  .journey {
    display:none;
    border-right:0;
    border-bottom:1px solid var(--line);
    max-height:280px;
    overflow:auto;
  }
  .play.show-map .journey {
    display:block;
  }
  .journey-bottom {
    display:none;
  }
  .workspace {
    padding:25px 5% 20px;
  }
  .quest-heading h1 {
    font-size:23px;
  }
  .story {
    font-size:10px;
  }
  .objective {
    gap:10px;
  }
  .objective-icon {
    display:none;
  }
  .reward {
    display:none;
  }
  .buffer {
    font-size:11px;
    min-height:270px;
    max-height:55vh;
  }
  .line-number {
    flex-basis:25px;
    margin-right:14px;
    font-size:9px;
  }
  .terminal-title {
    gap:10px;
    font-size:9px;
    padding:0 10px;
  }
  .terminal-dots {
    display:none;
  }
  .action-row #best-score {
    font-size:9px;
  }
  .action-row {
    gap:8px;
  }
  .action-row button {
    font-size:9px;
    padding:7px 9px;
  }
  .lesson-footer {
    flex-direction:column;
    gap:6px;
  }
  .site-footer {
    padding:18px 5%;
    font-size:8px;
  }
  .site-footer .quiet {
    display:none;
  }
  #map-toggle {
    display:block;
    font-size:10px;
    padding:6px 12px;
  }
  .statusline {
    font-size:9px;
    gap:10px;
  }
  .statusline strong {
    font-size:8px;
    padding:6px 10px;
  }
  .key-guide {
    grid-template-columns:1fr;
  }
  dialog {
    padding:24px;
  }
  .hero-art {
    overflow:hidden;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
}
