/* Capybaropolis's page (SPEC 9.1, 7.2, 7.6). The stage is a canvas scaled up
   with pixelated rendering; everything else is page text in the show's
   palette (the UI's variables mirror 7.2's colours). The shell is
   Shrimply's: a 100dvh column, the stage beside the panel on a desktop and
   over it on a phone. */
:root {
  color-scheme: dark;
  --backdrop: #281848;
  --deep: #1c1038;
  --panel: #2a1a4c;
  --raised: #382060;
  --line: #4a3870;
  --ink: #f8f0d8;
  --dim: #c0b0d0;
  --pink: #f870b0;
  --pink-lo: #d83088;
  --pink-hi: #f8c0e0;
  --lemon: #f8e858;
  --cyan: #58d0f0;
  --board: #285840;
  --board-lo: #204830;
  --chalk: #e8f0e8;
  /* Small words on the board's green (the tree's Latin, the Zukan's "seen"
     and "N more") at 11-12 px: 4.6:1 on --board, over WCAG AA's 4.5 (§13). */
  --chalk-dim: #b0c8b8;
  /* The pink chalk on the board's tray (set.js), for the last shot's card. */
  --chalk-pink: #f8b0d0;
  --wood: #a86830;
  --wood-lo: #784820;
  --outline: #281820;
  --tier0: #302838; --tier1: #d8d0e0; --tier2: #4890f0; --tier3: #f8d030;
  --tier4: #f89838; --tier5: #e84848; --tier6: #f870b0;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Sans", "Noto Sans JP", sans-serif;
  --chalk-font: ui-rounded, "Hiragino Maru Gothic ProN", "Arial Rounded MT Bold", "Nunito", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--backdrop);
  color: var(--ink);
  font: 15px/1.45 var(--font);
  overflow: hidden;
}
button, input, textarea { font: inherit; color: inherit; }
button {
  background: var(--raised);
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
}
button:hover:not(:disabled) { border-color: var(--pink-hi); }
button:focus-visible, input:focus-visible, a:focus-visible, textarea:focus-visible { outline: 3px solid var(--lemon); outline-offset: 1px; }
button:disabled { opacity: 0.5; cursor: default; }
button.primary { background: var(--pink); border-color: var(--pink-lo); color: var(--outline); font-weight: 800; }
button.primary:hover:not(:disabled) { background: var(--pink-hi); }
button.big { font-size: 1.3em; padding: 10px 18px; width: 100%; box-shadow: 0 4px 0 var(--pink-lo); }
a { color: var(--cyan); }
[hidden] { display: none !important; }
.dim { color: var(--dim); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; }

/* ---- the shell (9.1) ---- */
.app { height: 100dvh; max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
/* With the phone keyboard up the shell is the visible part (ui.js). */
body.keyboard .app { position: fixed; left: 0; right: 0; top: var(--app-top, 0); height: var(--app-h, 100dvh); }
.topbar { display: flex; align-items: center; gap: 6px; padding: 5px 10px; background: var(--deep); border-bottom: 2px solid var(--line); }
.wordmark { margin: 0; display: flex; flex-direction: column; line-height: 1.05; }
.wordmark .jp { color: var(--pink); font-size: 18px; font-weight: 900; letter-spacing: 0.06em; text-shadow: 2px 2px 0 var(--outline); }
.wordmark .en { color: var(--lemon); font-size: 10px; font-weight: 800; letter-spacing: 0.32em; }
button.icon { width: 38px; height: 34px; padding: 0; font-weight: 900; font-size: 17px; display: inline-flex; align-items: center; justify-content: center; }
.bars { display: inline-flex; gap: 2px; align-items: flex-end; height: 14px; }
.bars i { display: block; width: 4px; background: var(--ink); }
.bars i:nth-child(1) { height: 7px; }
.bars i:nth-child(2) { height: 14px; }
.bars i:nth-child(3) { height: 10px; }
/* 図鑑 in the header (9.1): two characters, so wider than the one-glyph buttons. */
button.icon.kanji { width: auto; padding: 0 7px; font-size: 15px; font-weight: 800; letter-spacing: 0.02em; }
#mute-btn svg { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
#mute-btn .spk { fill: var(--ink); }
#mute-btn .cross { display: none; stroke: var(--pink); }
/* The button is "Sound", pressed while it's on: unpressed, the cross. */
#mute-btn[aria-pressed="false"] .wave { display: none; }
#mute-btn[aria-pressed="false"] .cross { display: inline; }

.stage { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); grid-template-rows: minmax(0, 1fr); }
.scene { position: relative; overflow: hidden; background: #201040; min-height: 160px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.scene-inner { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
#stage-canvas { display: block; image-rendering: pixelated; image-rendering: crisp-edges; }
/* The show's effects, over the clear photo (7.9, stage.createFront): the
   stage canvas's size, transparent, and never in the way of a tap. */
#stage-front { position: absolute; left: 0; top: 0; pointer-events: none; image-rendering: pixelated; image-rendering: crisp-edges; }
.panel { overflow: auto; padding: 10px 14px 8px; border-left: 2px solid var(--line); background: var(--panel); display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 860px) {
  .stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(220px, 50dvh) minmax(0, 1fr); }
  .panel { border-left: 0; border-top: 2px solid var(--line); }
  /* While typing on a phone the stage gives way to the board (its newest
     clue) and the box, which is what fits above the keyboard (ui.js). */
  body.keyboard .stage { grid-template-rows: 160px minmax(0, 1fr); }
  body.keyboard .colophon { display: none; }
  /* The crop glides between the board and a reaction (ui.js crop()). */
  body.keyboard .scene-inner { transition: transform 0.16s steps(4); }
}
.view { display: flex; flex-direction: column; gap: 10px; }
.view h2 { margin: 0; font-size: 16px; color: var(--lemon); }
.colophon { margin-top: auto; }
.official-home { margin: 6px 0 0; font-size: 12px; color: var(--dim); }
.footer { font-size: 12px; color: var(--dim); margin: 2px 0 0; }

/* ---- the board's page text (3.14) and the tabs over the canvas ---- */
.board-text {
  position: absolute; overflow: hidden; pointer-events: none;
  color: var(--chalk); font-family: var(--chalk-font); font-weight: 700; line-height: 1.22;
  text-shadow: 0 0 1px rgba(232, 240, 232, 0.55), 1px 1px 0 rgba(20, 40, 28, 0.6);
  overflow-wrap: break-word;
}
.board-text .u { visibility: hidden; }
/* Where Kapi-sensei stands in front of the board: the words wrap round him
   (ui.js, stage.dodge). Each float stacks under the one before, so the
   first, of no width, holds the rest down to his top. */
.board-text .dodge { float: right; clear: right; }
/* While a reaction's kana, card or sound word is up the clue steps back
   (ui.js, uiLogic.boardHushed): they're drawn on the canvas under it. */
.board-text { transition: opacity 0.12s steps(3); }
.scene.hush .board-text { opacity: 0; }
/* On a touch screen the game's focus lands here (not the box, whose keyboard would cover the show). */
.board-text:focus { outline: none; }
/* The last shot's card, in place of clue 5 (3.14, ui.js). Blocks in the
   flow, not a box of their own, so its lines wrap round the floats as a
   clue's do; it fits by the same shrinking, so its sizes are in em. */
.last-card { display: block; }
.last-card > span { display: block; }
.last-card .head { line-height: 1.1; }
.last-card .ja { font-size: 1.9em; color: var(--chalk-pink); letter-spacing: 0.02em; }
.last-card .en { font-size: 1.05em; white-space: nowrap; }
.last-card .line { margin-top: 0.2em; }
.last-card .reread { margin-top: 0.3em; font-size: 0.8em; font-weight: 400; color: var(--chalk-dim); }
.tabs { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.tabs button {
  position: absolute; padding: 0; border: 0; border-radius: 4px; background: transparent;
  cursor: pointer; color: transparent; font-size: 1px;
}
.tabs button:disabled { cursor: default; opacity: 1; }
/* Only where there's a real hover: a phone's sticks after a tap. */
@media (hover: hover) { .tabs button:hover:not(:disabled) { background: rgba(232, 240, 232, 0.12); } }
.tabs button:focus-visible { outline: 2px solid var(--lemon); outline-offset: -2px; }

/* ---- the clear photo on the projector (7.9) ---- */
/* Transparent while the JPEG loads: the canvas's sharpest mosaic shows through. */
.photo { position: absolute; overflow: hidden; background: transparent; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.35s steps(4); }
.photo.loaded img { opacity: 1; }
.photo .scan {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(184, 208, 248, 0.08), rgba(184, 208, 248, 0.08)),
    repeating-linear-gradient(to bottom, transparent 0, transparent var(--row, 2px), rgba(0, 0, 0, 0.12) var(--row, 2px), rgba(0, 0, 0, 0.12) calc(var(--row, 2px) * 2));
}

/* ---- the title (3.28, 9.4) ---- */
/* While the title's opening holds the stage, the board's page text and tabs
   stay off it: the wordmark is over the board. */
.scene.titling .board-text, .scene.titling .tabs { visibility: hidden; }
.title-actions { display: flex; flex-direction: column; gap: 8px; }
button.big:not(.primary) { box-shadow: 0 4px 0 var(--line); }
/* The game slides in as the title's wordmark slides off the stage. */
.view.enter { animation: view-in 0.3s steps(5) both; }
@keyframes view-in { from { transform: translateX(32px); opacity: 0; } to { transform: none; opacity: 1; } }
.status { margin: 0; color: var(--lemon); min-height: 1.2em; }
.status:empty { display: none; }
/* With nothing to press, the focus lands on 9.4's words (ui.js); the words are the ring. */
.status:focus { outline: none; }
.countdown { margin: 0; color: var(--cyan); font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.howto-box h2 { margin: 0 0 4px; }
.howto { margin: 0; padding-left: 1.3em; }
.howto li { margin: 3px 0; }
.legend h3 { margin: 6px 0 2px; font-size: 14px; color: var(--pink); }
.legend-note { margin: 2px 0 6px; font-size: 12px; color: var(--dim); }
.legend-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.legend-list li { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.25; }
/* The share squares (3.27), in the tiers' colours; the answer's is a ring. */
.sq { display: inline-block; width: 18px; height: 18px; border: 2px solid var(--outline); border-radius: 3px; flex: none; }
.sq.t0 { background: var(--tier0); border-color: var(--chalk-dim); }
.sq.t1 { background: var(--tier1); }
.sq.t2 { background: var(--tier2); }
.sq.t3 { background: var(--tier3); }
.sq.t4 { background: var(--tier4); }
.sq.t5 { background: var(--tier5); }
.sq.t6 { background: transparent; border: 4px solid var(--tier6); border-radius: 50%; }
.lg-text { display: flex; flex-direction: column; min-width: 0; }
.lg-head { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.lg-head .kana { color: var(--pink); font-weight: 800; font-size: 14px; }
.lg-head .gloss { color: var(--dim); font-style: italic; }
.lg-text .means { color: var(--ink); }
.title-stats:empty { display: none; }
.title-stats h3 { margin: 4px 0 6px; font-size: 14px; color: var(--pink); }
.whats-new-title { margin: 8px 0 0; font-size: 14px; color: var(--pink); }
.whats-new p { margin: 4px 0; font-size: 13px; color: var(--dim); }
.whats-new b { color: var(--ink); margin-right: 4px; }

/* ---- the credits (6.10) ---- */
.view-credits p { margin: 0; font-size: 13px; }
.view-credits h3 { margin: 4px 0 -4px; font-size: 14px; color: var(--pink); }
.credits-photos ul { margin: 0; padding-left: 1.2em; font-size: 13px; }
button.linkish { background: none; border: 0; padding: 0; color: var(--cyan); text-decoration: underline; font-size: inherit; cursor: pointer; }
button.linkish:hover:not(:disabled) { color: var(--pink-hi); }

/* ---- playing (9.3) ---- */
.panel.playing { overflow: hidden; }
.view-play { flex: 1; min-height: 0; }
.play-head { display: flex; align-items: center; gap: 10px; }
.pips { display: inline-flex; gap: 4px; }
.pip { width: 18px; height: 18px; border-radius: 4px; border: 2px solid var(--line); background: var(--deep); }
.pip.now { border-color: var(--lemon); }
.pip.t0 { background: var(--tier0); border-color: var(--chalk-dim); }
.pip.t1 { background: var(--tier1); border-color: var(--outline); }
.pip.t2 { background: var(--tier2); border-color: var(--outline); }
.pip.t3 { background: var(--tier3); border-color: var(--outline); }
.pip.t4 { background: var(--tier4); border-color: var(--outline); }
.pip.t5 { background: var(--tier5); border-color: var(--outline); }
.pip.t6 { background: var(--tier6); border-color: var(--outline); }
.hint-count { font-weight: 800; color: var(--lemon); }
.hint-count.last { color: #f85858; }

/* The chalk tree (3.11): a small board in a wood frame; it scrolls when tall. */
.tree-box {
  position: relative; flex: 1; min-height: 70px; overflow: auto; overscroll-behavior: contain;
  background: var(--board); border: 4px solid var(--wood); border-radius: 6px;
  box-shadow: inset 0 0 0 1px var(--wood-lo), inset 2px 2px 0 var(--board-lo);
}
.tree-inner { position: relative; }
#tree-canvas { display: block; image-rendering: pixelated; image-rendering: crisp-edges; }
.tree-labels { position: absolute; inset: 0; pointer-events: none; }
.tl {
  position: absolute; display: flex; align-items: center; gap: 5px; white-space: nowrap; overflow: hidden;
  font-family: var(--chalk-font); color: var(--chalk); font-size: 13px; line-height: 1; font-weight: 700;
  transition: opacity 0.2s steps(3);
}
.tl.hide { opacity: 0; }
.tl .nm { overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; min-width: 0; }
.tl .sci { color: var(--chalk-dim); font-style: italic; font-weight: 400; font-size: 11px; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 0 1 auto; }
.tl.root .nm { text-transform: uppercase; letter-spacing: 0.12em; }
.tl.leaf .nm { color: var(--ink); font-weight: 700; }
.tl.leaf .kind { color: var(--chalk-dim); font-size: 11px; font-weight: 400; }
.tl.unknown { color: var(--lemon); font-size: 15px; }
.tl.answer { align-items: flex-start; flex-direction: column; gap: 2px; padding-top: 1px; }
.tl.answer .nm { color: var(--pink-hi); font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; }
.tl.answer .thumb { position: absolute; right: 2px; top: 2px; width: 64px; height: 48px; object-fit: cover; border: 2px solid var(--outline); border-radius: 3px; background: #000; }

.guess { position: relative; display: flex; gap: 8px; }
.guess input { flex: 1; min-width: 0; background: var(--deep); border: 2px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 16px; }
.guess input:focus { outline: 3px solid var(--pink); outline-offset: 0; }
/* 6.6:1 on --deep (WCAG AA, §13), and still quieter than what's typed. */
.guess input::placeholder { color: #a898b8; opacity: 1; }
.dropdown { position: absolute; left: 0; right: 0; bottom: 100%; margin: 0 0 4px; padding: 4px; list-style: none; background: var(--deep); border: 2px solid var(--line); border-radius: 8px; z-index: 5; overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.35); }
.dropdown li { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 5px; cursor: pointer; }
.dropdown li canvas { width: 24px; height: 24px; image-rendering: pixelated; flex: none; }
.dropdown li .grp { color: var(--dim); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dropdown li .nm { white-space: nowrap; }
.dropdown li[aria-selected="true"], .dropdown li:hover { background: var(--raised); }
.message { margin: 0; min-height: 1.45em; color: var(--lemon); }
.dock { display: flex; flex-direction: column; gap: 4px; }

/* ---- results (9.5) and stats (9.6) ---- */
.view .headline { margin: 0; font-size: 20px; color: var(--pink); }
/* Headings take the focus when their view opens (§13); the view is the ring. */
.headline:focus, .view h2[tabindex="-1"]:focus { outline: none; }
.solved { margin: -6px 0 0; font-weight: 800; color: var(--lemon); }
.solved:empty { display: none; }
.answer { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.answer-name { font-size: 24px; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; }
.answer-sci { font-style: italic; color: var(--dim); }
.answer-ja { font-size: 18px; color: var(--pink-hi); font-weight: 700; }
.credit { margin: 0; font-size: 12px; color: var(--dim); }
.results-tree .tree-box { flex: none; max-height: none; overflow: visible; }
.clues-all { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.clues-all li { background: var(--board); color: var(--chalk); border: 2px solid var(--wood); border-radius: 6px; padding: 7px 10px; font-family: var(--chalk-font); }
.clues-all .n { color: var(--lemon); font-weight: 800; margin-right: 6px; }
.clues-all .more { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-family: var(--font); font-size: 13px; }
.clues-all .more a { color: var(--cyan); }
.hee { padding: 2px 10px; font-size: 13px; border-radius: 12px; }
.zukan { margin: 0; color: var(--pink-hi); font-weight: 700; }
.manual-copy { width: 100%; background: var(--deep); color: var(--ink); border: 2px solid var(--line); border-radius: 8px; padding: 6px 8px; resize: none; }
.back { align-self: flex-start; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; }
.stat-grid b { display: block; font-size: 20px; }
.stat-grid span { font-size: 12px; color: var(--dim); }
.stats-block h3 { margin: 10px 0 6px; font-size: 14px; color: var(--pink); }
.dist { display: grid; grid-template-columns: 1.6em 1fr; gap: 3px 6px; align-items: center; margin-top: 8px; }
.dist .dist-bar { display: block; background: var(--line); color: var(--ink); text-align: right; padding: 0 6px; border-radius: 3px; min-width: 1.6em; }
.dist .dist-bar.you { background: var(--pink); color: var(--outline); }

/* ---- M6: the day's comparison and へぇ (3.26, 9.5) ---------------------------- */
.compare { display: flex; flex-direction: column; gap: 2px; }
.compare-line { margin: 0; font-weight: 800; color: var(--lemon); }
.compare-line.dim { font-weight: 400; color: var(--dim); }
#compare .countdown { margin: 8px 0 0; }
/* Today's is out already: the button to it in place of the countdown. */
#compare .countdown.ready { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; }
.hee-row { display: inline-flex; align-items: center; gap: 6px; }
.hee.on { background: var(--pink); color: var(--outline); }
.hee .gloss { margin-left: 5px; font-size: 11px; font-style: italic; font-weight: 400; }
/* Five taps and it's full; it keeps the focus (aria-disabled, not disabled). */
.hee[aria-disabled="true"] { opacity: 0.6; cursor: default; }
/* On the clue's green, so the green's small-word colour (§13, 4.6:1). */
.hee-mine { font-size: 12px; color: var(--chalk-dim); }
.hee-all { font-weight: 800; color: var(--pink-hi); }

/* ---- M8: the 図鑑 Zukan (3.12, 9.6) ------------------------------------------ */
/* The results' line is a link to it, with the new animal ringed. */
.zukan button.linkish { color: var(--pink-hi); font-weight: 700; }
.view-zukan h2 .ja { color: var(--pink); font-size: 18px; }
.view-zukan h2 .gloss { color: var(--dim); font-size: 12px; font-weight: 400; font-style: italic; }
.zukan-totals { margin: -4px 0 0; font-weight: 900; color: var(--lemon); font-size: 17px; font-variant-numeric: tabular-nums; }
.zukan-totals .dim { font-size: 13px; font-weight: 400; margin-left: 6px; }
.zukan-empty, .zukan-note { margin: 0; font-size: 12px; }
/* The chalk tree's board, as in the game (3.11), at its full height: the panel scrolls. */
.zukan-box {
  position: relative; flex: none; min-height: 40px;
  background: var(--board); border: 4px solid var(--wood); border-radius: 6px;
  box-shadow: inset 0 0 0 1px var(--wood-lo), inset 2px 2px 0 var(--board-lo);
}
#zukan-canvas { display: block; image-rendering: pixelated; image-rendering: crisp-edges; }
.zukan-labels { position: absolute; left: 0; top: 0; right: 0; bottom: 0; pointer-events: none; }
.zg {
  position: absolute; display: flex; align-items: center; gap: 5px; margin: 0; padding: 0 3px 0 2px;
  background: transparent; border: 0; border-radius: 4px; box-shadow: none;
  color: var(--chalk); font-family: var(--chalk-font); font-size: 13px; font-weight: 700; line-height: 1;
  white-space: nowrap; overflow: hidden; text-align: left; pointer-events: auto;
}
.zg.root { pointer-events: none; }
.zg.root .nm { text-transform: uppercase; letter-spacing: 0.12em; }
button.zg::before { content: "▸"; color: var(--chalk-dim); font-size: 11px; width: 8px; flex: none; }
button.zg[aria-expanded="true"]::before { content: "▾"; }
@media (hover: hover) { button.zg:hover:not(:disabled) { background: rgba(232, 240, 232, 0.1); } }
.zg:focus-visible { outline: 2px solid var(--lemon); outline-offset: -2px; }
.zg .nm { overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; min-width: 0; }
.zg .sci { color: var(--chalk-dim); font-style: italic; font-weight: 400; font-size: 11px; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 0 10 auto; }
.zg .ct { margin-left: auto; padding-left: 6px; flex: none; font-family: var(--font); font-size: 12px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.zg.done .ct { color: var(--lemon); }
/* A card's words, under its picture: the name, then the katakana (3.19). */
.zc { position: absolute; display: flex; flex-direction: column; align-items: center; overflow: hidden; text-align: center; line-height: 14px; }
.zc .nm { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; font-weight: 700; color: var(--ink); }
.zc .ja { max-width: 100%; white-space: nowrap; overflow: hidden; font-size: 10.5px; color: var(--pink-hi); }
.zc.seen .nm { color: var(--chalk-dim); font-weight: 400; }
.zc.q .nm { color: var(--chalk-dim); font-weight: 400; font-family: var(--chalk-font); }
.zc.focus .nm { color: var(--lemon); }
