/* ============================================================================
   抓药 · NAK'S CLINIC — HANDS-ON (v2).  prom/css/drill-clinic2.css
   ============================================================================
   Paired with prom/js/drills/clinic2.js; this is the sole Clinic stylesheet.

   THE COLOUR RULE, WHICH THIS FILE EXISTS TO OBEY
   The first clinic gave every jar its own hue — the exact failure named in
   design/minigame-benchmarks.md. Here the whole 药柜 is ONE material: ink
   outline (#241335), cream label (#f2e4c2), one glass tint. Jars are told apart
   by the CHARACTERS on the label, the SILHOUETTE of the vessel and WHERE on the
   wall they live. A herb's own colour exists only after it leaves the jar — in
   the pan, in the bowl, on the skin — which is the painting, not the interface.
   Chrome here is ink + cream + gold (active) + the semantic pair (teal right,
   vermillion wrong) + one desaturated herb-green as the room's single accent.

   Everything shared comes from drill-kit.css as-is: .dk-docket for the 方子,
   .dk-scale for the balance, .dk-pourer for the tip, .dk-stamp for the chop,
   .dk-counter for 看好, .dk-heat for steam. Type is the kit's four steps and
   nothing else; nothing a player reads to play goes under 16px and no hanzi
   under 20px.

   Every animation reports state, and every one is off under
   prefers-reduced-motion with the STATE left standing — a frosted bowl is still
   frosted, a tilted beam is still tilted, a stamped bag still carries its marks.
   ========================================================================= */

/* the painted backdrop's <img> is sized to cover and rounds up past the stage
   box; at 375 it spilled 10px and gave the whole page a sideways scrollbar */
/* Both of these are kit-wide now — .painted-bg carries `contain: paint` and
   .minigame carries `overflow-x: clip` in prom.css, because the same spill was
   measured in seven drills, not one. Kept here only so this file's own
   overflow-y note below still has its pair; hidden became clip to match, which
   is the same clip without the (unused) programmatic scroll. */
.minigame.clinic2 .painted-bg { overflow: hidden; }
.minigame.clinic2 { overflow-x: clip; }
/* Same rule, the other axis, and the cause is animation rather than rounding:
   the patient's idle sway and her recovery hop both transformed about the
   sprite's CENTRE, and a rotate or a scale about the centre grows the element's
   box downward — measured at 6px past the stage floor at 1280x800, oscillating,
   which left the drill permanently "scrollable" by a wheel nudge. Pivot both at
   the feet instead (which is also what a body does — you sway from the floor,
   not from the navel) and lift rather than settle, and the floor holds. */
.minigame.clinic2 .c2-guest-art { transform-origin: 50% 100%; }

.minigame.clinic2 {
  --dk-accent: #2f6b52;                 /* the room's ONE accent: herb green, desaturated */
  --c2-glass: rgba(246, 237, 218, 0.16);/* what an unfilled jar is made of — never a hue */
  --c2-vessel: rgba(246, 237, 218, 0.3);/* the SAME cream, denser: a 袋 or a 篓 you cannot see through */
  --c2-level: rgba(246, 237, 218, 0.34);/* how much is left in a drawer — more cream, never a hue */
  /* THE LINE THE VESSELS ARE DRAWN WITH, and it is not the ink.
     Round-5 measured the wall and the silhouettes were not reading: a #241335
     outline on a cabinet washed to rgba(36,19,53,.42) over a night interior is
     dark line on dark ground, so every jar came down to its faint translucent
     fill and the ten shapes may as well have been one. The house rule is ink
     outlines on PAPER objects; this cabinet is not paper, it is a dark cupboard
     with a lamp on it, so the glassware takes the light instead. Same cream as
     everything else — no hue is added, and the ink comes straight back on
     .c2-pourjar's own lighter ground. */
  --c2-vline: #f4ead2;
  --c2-wood: #55402c;
  /* THE DISPLAY STEP, RE-RAMPED FOR A THREE-COLUMN DOCUMENT (round 6).
     The kit's step is clamp(26px, 4.4vw, 36px), tuned for a drill whose display
     object is one word across the whole board. This drill's is a cell of a
     three-column 方子, and the longest value it carries is 一天三次，饭后服用 —
     nine hanzi in a column that is a third of the court. At the kit's ramp that
     cell broke onto a third line at 900px and pushed the 医嘱 bench past the
     fold. Same floor, same ceiling, gentler middle: 36px at 1280 exactly as
     before, 30px at 900, 26px on a phone. The tally and the bowl's stage word
     ride the same token, so the drill still shows FOUR type sizes at every
     window and the focus step never falls below 1.3x reading size. */
  --dk-display: clamp(26px, 3.4vw, 36px);
  justify-content: flex-start;
  padding-top: 56px;
}

/* ========================================================== THE HEIGHT BUDGET
   ROUND-2 JUDGE FINDING, reproduced exactly at 1280x800: #c2Remedy — the bowl
   the player has to pick up and put on the patient — rendered at y=778..856 in
   an 800px window. elementFromPoint at its centre returned null, no .c2-spot
   ever lit, and nothing on screen said the stage scrolled, so 用药 read as a
   frozen drill. (prom/dev/clinic2-verify.mjs missed it twice: it ran at
   1280x900 AND called scrollIntoView before every drag — it was scrolling for
   the player. prom/dev/clinic2-fit.mjs now plays with no scrolling at all.)

   This counter is a STAGE, not a document. Everything the hand needs is on it
   at once, so the fix is a real vertical budget, not a scroll hint. Measured at
   1280x800, the 312px of overflow was:

     210px  the SHARED host reserve (prom.css `.minigame:has(.mg-host)`), which
            exists for drills whose boards run the full width underneath the
            host's speech bubble. This drill already pins both bubbles to the
            OUTSIDE of its own column — measured, Nak's sits at x 10..218 and
            the court starts at 254 — so the reserve bought nothing here and
            spent the one axis the counter is short of. It keeps a floor: the
            cutouts still stand on the ground under the bench.
      40px  .mg-prompt's reserved line, which is empty except for the four
            seconds of the round's 方子 read-back.
      88px  the remedy stacked UNDER a 1:2 portrait figure. The phone build
            worked this out at 720px in the first pass ("stacking the remedy
            UNDER it put the thing you drag off the bottom of the window while
            a third of the screen sat empty either side of the torso") and the
            desktop never inherited it. One rule for every width now.

   And the shape underneath: the court FLEXES into what is left instead of
   stacking fixed heights, the 方子 never shrinks (it is the document you read),
   and the figure gives height back last. A control cannot be pushed past the
   fold by a short window, because the only tall thing on the bench is elastic. */
@media (min-width: 721px) {
  .minigame.clinic2:has(.mg-host) { padding-bottom: 22px; }
}
/* the teaching line takes room when it is carrying the read-back, and none when
   it is not — the reveal fires at the 医嘱 bench, which has slack to give */
.minigame.clinic2 .mg-prompt { min-height: 0; }

/* ---------------------------------------------------------------- THE COURT
   The 方子 on top as a landscape slip, the counter under it. The prescription
   never leaves the screen — every step is a cell on it, and each cell fills in
   with what you actually handed over, so the miss and the answer sit inside the
   same box of the same object.

   Why landscape and centred rather than a column down the left: two characters
   stand on this stage and each owns a lane (Nak at x≈0-210, the patient at the
   right edge). A tall slip in the left column sits underneath Nak's speech
   bubble. Keeping the court's CONTENT inside the middle band, and pinning both
   bubbles to the outside edges of their own lanes, is what keeps the counter
   and the conversation from standing on each other. */
.c2-court {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  width: min(772px, 100%);
  /* the court takes the room the head and the teaching line leave it, and
     hands the surplus to the bench */
  flex: 1 1 auto; min-height: 0;
}
/* the 方子 is the one thing that never gives ground: it is the document the
   whole round is read off, and a squashed prescription is an unreadable one */
.c2-slip { width: 100%; position: relative; flex: 0 0 auto; }
.c2-bench {
  width: 100%; flex: 1 1 auto; min-height: 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  /* centred while it fits, top-aligned the moment it does not. Plain `center`
     overflows a short bench EQUALLY in both directions, which puts the top of
     the counter above the window where no scroll can reach it — `safe` is the
     one-word version of "never hide a control", and browsers that do not know
     it fall back to the line above. */
  justify-content: center;
  justify-content: safe center;
}
.c2-bench > * { animation: c2Swap 0.32s cubic-bezier(0.2, 1.15, 0.4, 1) both; }
@keyframes c2Swap { from { opacity: 0; transform: translateY(12px); } }

/* both bubbles pinned to the OUTSIDE of their own lane, and narrowed, so the
   middle band belongs to the objects. The hanzi inside them goes to the kit's
   reading size: prom.css sets 19px globally and this is a drill where every
   spoken line is content the player has to read. */
/* the narrow cap is for the DOCKED bubble beside a cutout only. Once prom.css
   floats it into the flow on a phone, 20vw is 75px and a sentence becomes a
   twenty-line ribbon — the bug that pushed the whole counter off screen. */
.minigame.clinic2 .mg-bubble:not(.float) { max-width: min(20vw, 208px); }
/* on a phone only the newest speaker is in the flow, and a hidden bubble gives
   its space back: two stacked bubbles do not leave room for a counter */
.minigame.clinic2 .mg-bubble.float[hidden] { display: none; }
.minigame.clinic2 .mg-bubble .han { font-size: var(--dk-read); line-height: var(--dk-lh-read); }
.minigame.clinic2 #mgBubble { left: 0; }
.minigame.clinic2 .mg-prompt { width: min(640px, 94vw); margin: 0 auto; }
/* the head's own hanzi (病人 / 看好) sits at reading size too */
.minigame.clinic2 .mg-score .han { font-weight: 800; }
/* THE FIFTH SIZE, and the note above it used to be wrong: the comment here read
   "the counter defers to drill-kit.css: one size in every drill (--dk-label)",
   but .dk-counter-n is 22px in the kit — a step that exists in NO other tier of
   the scale. It is why every state of this drill measured one size over budget
   even before 倒掉's 11.5px landed on top of it. The 看好 tally is a fact at
   reading size, sitting on the baseline of the 病人 and 看好 it belongs to, and
   900 weight is what makes it the loud thing in that group — not two extra
   pixels nobody can see. Scoped here; the kit is untouched for every other drill. */
.minigame.clinic2 .dk-counter-n { font-size: var(--dk-read); }
.minigame.clinic2 .mg-score { display: flex; align-items: baseline; gap: 5px; }

/* ------------------------------------------------------------------ THE 方子
   A prescription is a document: label, what was written, what you handed over. */
.c2-slip .dk-docket-hd { display: flex; align-items: baseline; gap: 6px; }
/* the safety framing rides on the head at desktop size and moves onto the slip
   on a phone, where the head has no room for it. It is never absent: a player
   must never be able to mistake this counter for medical advice. */
.c2-safety { display: none; font-style: normal; color: var(--dk-ink-soft); }
.c2-by { margin-left: auto; font-family: var(--han); font-size: var(--dk-read); font-weight: 700; color: var(--dk-ink-soft); }
.c2-rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 10px; }
.c2-row {
  display: block; position: relative; padding: 4px 6px; border-radius: 6px;
  border-bottom: 1.5px dashed rgba(36, 19, 53, 0.22);
}
.c2-lab { display: flex; align-items: baseline; gap: 5px; line-height: 1.2; }
.c2-lab .han { font-size: var(--dk-read); font-weight: 800; color: var(--dk-ink); }
.c2-lab i, .c2-val i { font-style: normal; color: var(--dk-ink-soft); }
.c2-val { display: block; min-height: 30px; }
.c2-val .han { font-size: var(--dk-read); font-weight: 800; color: var(--dk-ink); line-height: var(--dk-lh-read); }
.c2-val i { display: block; }
.c2-en { color: var(--dk-ink-soft); }
/* THE READING LINE ON THE 用 ROW. That row's value names the part of the body
   the round is about to grade, so it carries no card and no meaning until the
   remedy has landed (R1 — see valHTML in clinic2.js). What it does carry, at
   every bench and every training-wheel level, is its READING — the same deal
   the body figure's own hover strip offers, hanzi and a sound and no English.
   It is never a bare hanzi line (R3), and it is never the answer. */
.c2-read { color: var(--dk-ink-soft); }
/* A FIELD NAME IS GLOSSED ON EVERY ROW, and the row you are answering is still
   the loud one — the live row's field gloss keeps full strength, the other five
   sit back. At reading widths it costs no height at all: .c2-lab is a baseline
   flex row, so this sits beside the character in the column that is otherwise
   blank. On the two narrow bands, where label and value share a line, it costs
   the slip one line (measured, scratch/c2-slip-widths.mjs: 279 -> 303 at 720,
   327 -> 351 at 390). See the note at labHTML for why that is the right trade. */
.c2-labquiet { opacity: 0.72; }
/* the cell you are answering right now — gold, because gold means "look here" */
.c2-row.now { background: rgba(255, 200, 74, 0.26); box-shadow: inset 3px 0 0 var(--dk-gold); }
/* ------------------------------------------------------------ THE DISPLAY TIER
   ROUND-6. Measured on the round-5 build at 1280x800, the 找药 / 用药 / 医嘱
   boards ran [20, 16, 14] — a 1.25 step between the largest type and the next,
   which is not a display tier, it is a heading. The 称药 and 炮制 benches each
   already had one (the pan's tally, the bowl's stage word) and they are the two
   boards nobody complained about, which is the whole argument.

   The 方子 has six fields and you are answering ONE. That row is the display
   step — 36/20 = 1.8 — and it is the same object on every board, so the eye
   learns one place to look instead of five. The other five rows are the
   document: hanzi and a reading, no field name, no gloss. It reads SHORTER, not
   taller: five rows lose a caption line each and one row gains one. */
.c2-row.now .c2-val .han { font-size: var(--dk-display); line-height: var(--dk-lh-tight); }
.c2-row.now .c2-val { min-height: calc(var(--dk-display) * 1.15); }
.c2-got { display: block; min-height: 2px; font-size: var(--dk-label); }
.c2-got .han { font-size: var(--dk-read); font-weight: 800; color: var(--dk-ink-soft); }
.c2-got[data-got="1"]:not(.ok)::before { content: "→ "; color: var(--dk-ink-soft); font-weight: 800; }
.c2-got.ok .han { color: #0f7a5f; }
.c2-got.bad .han { color: #a8231a; }
/* A matched row carries no words, only the tick — see markSlip() — so it does
   not take a line of the slip either. It rides in the row's own top corner,
   beside a two-hanzi field name in a 228px cell, which is the one place on this
   document that is always empty. Any state that carries WORDS (the pan reading
   climbing while you pour, a ruined batch) keeps its own block line. */
.c2-got.ok { position: absolute; top: 4px; right: 7px; min-height: 0; line-height: 1; }
.c2-got.ok::after { content: "✓"; color: #0f7a5f; font-weight: 900; }
/* A FINISHED 方子 IS RINGED; ONLY A CLEAN ONE IS TEAL — ROUND-6 PALETTE.
   `settled` fires whenever the bag reaches its shelf, which is every round: the
   medicine always goes out, and on a fumbled round Nak says so ("我替你收了尾").
   So the ring is the "this one is finished" beat and it belongs on both — but
   it was painted in the correct-token on both, which made teal mean "finished"
   half the time. Ink for a finished 方子, teal only for one Nak did not have to
   touch. See settle(). */
.c2-slip.settled { box-shadow: var(--dk-drop-lift), 0 0 0 3px rgba(36, 19, 53, 0.42); }
.c2-slip.settled.c2-clean { box-shadow: var(--dk-drop-lift), 0 0 0 3px rgba(62, 230, 196, 0.5); }
/* GOLD MEANS "YOUR TURN" AND THE ROUND IS OVER — ROUND-6 PALETTE. The 医嘱 row
   kept its gold wash and its gold rail through the whole settle beat: a field
   that is finished, carries a ✓, and sits under a teal ring on a slip stamped
   已抓, still painted in the token that means "answer this now". Measured on
   the settle board in both themes with ui5-lib's SEMANTIC probe: the only gold
   on the frame was that row.
   The DISPLAY step stays — the settle board still needs one thing that is the
   biggest thing on it, and the 医嘱 you just filled is that thing, so the type
   ramp does not fall back to [20,16,14] the moment the patient stands up. What
   goes is the colour, which was the part that meant something untrue. */
.c2-slip.settled .c2-row.now { background: none; box-shadow: none; }

/* ------------------------------------------------------------- THE PATIENT
   Same lane as the host's, mirrored. Below 720px prom.css takes cutouts off
   stage, so the patient's line floats into the court instead of vanishing. */
.c2-guest {
  position: absolute; right: 8px; bottom: 0; height: 42%; z-index: 2; pointer-events: none;
}
.c2-guest-art { height: 100%; filter: drop-shadow(0 8px 0 rgba(14, 6, 24, 0.55)); }
.c2-guest-art .sprite { height: 100%; width: auto; }
.c2-guest.entering .c2-guest-art { animation: c2Enter 0.5s cubic-bezier(0.2, 1.2, 0.4, 1) both; }
@keyframes c2Enter { from { opacity: 0; transform: translateX(34px); } }
.c2-guest.sick .c2-guest-art { animation: c2Sway 2.6s ease-in-out infinite; filter: drop-shadow(0 8px 0 rgba(14, 6, 24, 0.55)) saturate(0.72); }
/* lift, never settle: with the pivot at the feet a 0.9° list moves the far
   shoulder about 2px and the −2px lift pays for it, so the sway costs the stage
   nothing on the axis the counter is short of */
@keyframes c2Sway { 50% { transform: translateY(-2px) rotate(-0.9deg); } }
.c2-guest.well .c2-guest-art { animation: c2Well 0.6s cubic-bezier(0.2, 1.5, 0.4, 1) both; filter: drop-shadow(0 8px 0 rgba(14, 6, 24, 0.55)); }
@keyframes c2Well { 40% { transform: translateY(-12px) scale(1.04); } }
/* WHAT IS WRONG WITH THEM — ROUND-6, AND IT IS THE PALETTE FINDING.
   The five symptom glyphs were drawn in raw #e04a3a, which is the exact value
   this file gives `.c2-spot.wrong` twenty rules down: one colour, two meanings,
   one board. The sixth was gold, which means "your turn". They are ink now, and
   ink needs a material to sit on over a painted night interior — so the mark is
   a paper chit clipped to the patient, the same cream stock as every label on
   this counter. It gains contrast (ink on cream, ~14:1, against a saturated
   glyph floating on the room) and the drill loses a hue it was not entitled
   to. */
.c2-mark {
  position: absolute; left: 0; top: 18%; width: 46px; height: 46px;
  display: grid; place-items: center; padding: 5px;
  background: var(--dk-stock); border: 3px solid var(--dk-ink);
  border-radius: 8px; box-shadow: var(--dk-drop); transform: rotate(-4deg);
}
.c2-mark svg { width: 100%; height: 100%; display: block; }
.c2-guest.well .c2-mark { opacity: 0; transition: opacity 0.4s ease-out; }
.c2-guest-say { position: absolute; right: 0; bottom: 96%; pointer-events: none; }
.c2-guest-say::after { left: auto; right: 16px; }
.c2-guest-say.float { position: relative; right: auto; bottom: auto; margin: 0 auto 4px; max-width: min(92vw, 460px); }
.c2-guest-say.float::after { right: auto; left: 22px; }

/* ============================================================ 1. THE 药柜 WALL
   Fourteen drawers in a FIXED grid — same places every round, every run — so
   finding 星砂 twice makes 星砂 a place as well as a word. */
.c2-wall {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px;
  width: 100%; padding: 10px 10px 12px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(47, 107, 82, 0.22), rgba(36, 19, 53, 0.42));
  border: 3px solid var(--dk-ink); box-shadow: var(--dk-drop);
}
/* THE LANES. The host stands at stage-left and the patient at stage-right, and
   the wall used to run under both of them: measured at 1200x760, Nak covered
   14px of 龙鳞草 / 河雾根 and the patient covered the whole right column in
   light mode. A covered drawer is a jar the player cannot find by reading its
   label, which is the drill's entire search mechanic — so the wall keeps out of
   the cutout lanes.

   ROUND-2 REWRITE, and it is the same mistake as THE HEIGHT BUDGET at the top
   of this file wearing different clothes. The old rule reserved the cutouts'
   FULL WIDTH (32vh / 36vh) instead of the part of them that actually reaches
   into the court, and a cutout is sized from the stage HEIGHT while the room to
   give is a function of its WIDTH. Anywhere the two diverged the reserve ate
   the wall: measured, a drawer was 27px wide at 1024x768, 19px at 1152x864 and
   8px at 900x800, with the fourteen labels collapsed into one unreadable column
   (龙雨月月火火河灯草). The search mechanic was gone at every window between
   761px and 1199px.

   So reserve the OVERLAP and nothing else. Both cutouts measure a fixed
   fraction of the stage height across every window tested — Nak 0.323, the
   patient 0.356 — so each inner edge is a vh expression, the slack already
   outside the court is a vw expression, and the lane is the difference plus a
   little for the sprite's own shoulder. */
.minigame.clinic2 {
  --c2-court: min(772px, calc(100vw - 32px));
  --c2-slack: max(0px, calc((100vw - var(--c2-court)) / 2));
}
@media (max-width: 900px) { .minigame.clinic2 { --c2-court: min(560px, calc(100vw - 32px)); } }
@media (min-width: 761px) {
  .minigame.clinic2 .c2-wall {
    width: auto; align-self: stretch;
    margin-left: clamp(12px, calc(24px + 32.5vh - var(--c2-slack)), 26%);
    margin-right: clamp(16px, calc(26px + 36vh - var(--c2-slack)), 30%);
  }
}
/* Seven fixed columns are worth keeping — reflowing them costs the spatial
   memory that makes 星砂 a PLACE as well as a word — but only while a column is
   wide enough to READ, and a three-hanzi label needs about 66px. Below 1200px
   the lanes take enough that seven no longer clear that, so the wall goes to the
   five columns the phone build already uses. The label never shrinks; the grid
   does. */
@media (min-width: 901px) and (max-width: 1199px) {
  .c2-wall { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
/* WHEN THERE IS NO LANE, THE COUNTER WINS. Past roughly square, two figures
   sized from the height are standing in a room sized by the width and there is
   no middle band left at all — at 768x1024 the honest reserve came to 253px a
   side inside a 560px court. So the cutouts come off stage and both voices
   float into the flow, which is the call prom.css already makes under 720px,
   made here on the SHAPE of the window instead of its width. Nothing is lost:
   every fact lives on the 方子, and the captions keep speaking. */
@media (min-width: 721px) and (max-aspect-ratio: 6 / 5) {
  .minigame.clinic2 .mg-host, .minigame.clinic2 .c2-guest { display: none; }
  .minigame.clinic2 .c2-guest-say.float { display: block; }
  .minigame.clinic2 .c2-wall { margin-left: 0; margin-right: 0; }
}

.c2-jar {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 4px 2px 5px; border-radius: 8px; cursor: grab; touch-action: none;
  background: rgba(246, 237, 218, 0.06); border: 2px solid transparent;
  transition: transform 0.18s cubic-bezier(0.2, 1.4, 0.4, 1), background 0.18s ease;
}
.c2-jar:hover:not(:disabled), .c2-jar:focus-visible { background: rgba(255, 200, 74, 0.16); border-color: var(--dk-gold); outline: none; transform: translateY(-3px); }
/* before the 方子 is written the wall is there to be READ, not opened */
.c2-jar:disabled { cursor: default; opacity: 0.62; }
.c2-jar.lifted { opacity: 0.4; }
.c2-jar.nudge { animation: c2Nudge 0.4s ease-out; }
@keyframes c2Nudge { 30% { transform: translateY(-7px) rotate(-3deg); } 60% { transform: translateY(0) rotate(2deg); } }
.c2-jar-art { position: relative; display: block; width: 48px; height: 58px; }
.c2-jar-art svg { width: 100%; height: 100%; display: block; }
/* the vessels take the lamp; the lids and corks stay solid cream, so a cap
   reads as opaque and a body reads as glass */
.c2-wall .c2-jar-art svg [stroke] { stroke: var(--c2-vline); }
/* how much is left in the drawer: a level in the same cream the vessel is drawn
   in, never a colour. 倒掉 drops it, and it stays dropped for the rest of the
   shift. (It was ink at 0.34 — invisible once the outlines went light, because
   a dark block inside a lit glass jar on a dark cabinet is the cabinet.)

   ROUND-5: the wall went from three vessels to ten, and one set of insets
   cannot sit inside a 匣 AND a 筒 — the same box that fills a squat crock's
   belly hangs out of a bamboo tube's sides. So the level is a per-vessel box:
   --lx how far in from the sides, --lb how far up from the floor of the art,
   --lh how tall the body is that it may fill. Nothing here is a colour. */
.c2-jar-art::after {
  content: ""; position: absolute;
  left: var(--lx, 24%); right: var(--lx, 24%); bottom: var(--lb, 10%);
  height: calc(var(--fill, 1) * var(--lh, 52%)); background: var(--c2-level);
  border-radius: 2px 2px 5px 5px; pointer-events: none;
  transition: height 0.45s cubic-bezier(0.3, 1, 0.4, 1);
}
.c2-jar-art[data-form="guan"] { --lx: 24%; --lb: 9%; --lh: 58%; }
.c2-jar-art[data-form="xia"]  { --lx: 12%; --lb: 10%; --lh: 30%; }
.c2-jar-art[data-form="ping"] { --lx: 28%; --lb: 10%; --lh: 28%; }
.c2-jar-art[data-form="hu"]   { --lx: 30%; --lb: 10%; --lh: 34%; }
.c2-jar-art[data-form="tong"] { --lx: 39%; --lb: 9%; --lh: 66%; }
.c2-jar-art[data-form="weng"] { --lx: 24%; --lb: 11%; --lh: 34%; }
.c2-jar-art[data-form="dai"]  { --lx: 24%; --lb: 11%; --lh: 40%; }
.c2-jar-art[data-form="he"]   { --lx: 28%; --lb: 10%; --lh: 26%; }
.c2-jar-art[data-form="lou"]  { --lx: 28%; --lb: 10%; --lh: 40%; }
.c2-jar-art[data-form="gu"]   { --lx: 30%; --lb: 10%; --lh: 26%; }
.c2-jar.low .c2-jar-art { opacity: 0.82; }
.c2-jar-label {
  font-size: var(--dk-read); font-weight: 800; line-height: 1.1; text-align: center;
  color: var(--dk-ink); background: var(--dk-stock); border: 2.5px solid var(--dk-ink);
  border-radius: 4px; padding: 2px 4px; letter-spacing: -0.01em; white-space: nowrap;
}
/* the counter you carry it to */
.c2-counterslab {
  width: 100%; min-height: 84px; border-radius: 10px; position: relative;
  background: repeating-linear-gradient(92deg, var(--c2-wood) 0 22px, #4a3625 22px 44px);
  border: 3px solid var(--dk-ink); box-shadow: var(--dk-drop);
  display: flex; align-items: center; justify-content: center;
}
.c2-slabtag {
  background: var(--dk-mat-scrim); color: var(--paper, #f2efe9);
  padding: 3px 10px; border-radius: 6px;
}
.c2-slabtag .han, .c2-hint .han, .c2-waitlab .han, .c2-revlab .han, .c2-dump .han {
  font-size: var(--dk-read); font-weight: 800;
}
/* the 台's reading, where its English used to be — the hint beside it already
   says "· then to the 台", and one board carries one English string */
.c2-slabtag { display: inline-flex; align-items: baseline; gap: 7px; }
.c2-slabtag i { font-style: normal; color: var(--haze, #a49fae); }
.c2-slabtag .han { font-size: var(--dk-read); }

/* ============================================================== 2. THE WEIGH
   The jar is the hand; the beam is the readout, and it is on a different
   object, so you look away from what you are holding to know when to stop. */
.c2-weighwrap { display: flex; align-items: flex-end; justify-content: center; gap: 8px; width: 100%; flex-wrap: wrap; }
.c2-pourjar {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: none; border: 0; padding: 6px; cursor: grab; touch-action: none;
}
.c2-pourjar .c2-jar-art { width: 96px; height: 116px; }
.c2-pourjar .c2-jar-label { font-size: var(--dk-read); }
.c2-pourjar:focus-visible { outline: 3px solid var(--dk-gold); outline-offset: 2px; border-radius: 8px; }
/* the stream: it exists only while the jar is actually tipped */
.c2-pourjar.streaming::after {
  content: ""; position: absolute; left: 72%; top: 44%; width: 7px; height: 74px;
  background: linear-gradient(180deg, rgba(246, 237, 218, 0.9), rgba(246, 237, 218, 0.25));
  border-radius: 4px; transform: rotate(14deg); transform-origin: 50% 0;
  animation: c2Stream 0.42s linear infinite;
}
@keyframes c2Stream { from { opacity: 0.55; } 50% { opacity: 1; } to { opacity: 0.55; } }

/* The gap under the balance is CLEARANCE, not padding. The pans hang off the
   beam and swing with it, so a fully tipped pan drops about 37px below where it
   sits level — taking this to 4px and the stand to 124px (tried, screenshotted,
   reverted) put the tally card straight through the low pan and hid the brass
   weight. The stand keeps its height; the tally paid for itself instead. */
.c2-scalewrap { display: flex; flex-direction: column; align-items: center; gap: 8px; }
/* the beam is integrated per frame in JS — a CSS transition would fight it and
   would also be a lie about weight. Bigger than the kit default because on this
   counter the balance IS the round: it is the thing to look at while your hand
   is on something else. */
.c2-scale { width: min(320px, 76vw); height: 138px; }
.c2-scale .dk-scale-beam, .c2-scale .dk-pan { transition: none; }
.c2-scale .dk-scale-beam { top: 44px; height: 11px; }
.c2-scale .dk-scale-post { height: 78px; width: 14px; margin-left: -7px; }
.c2-scale .dk-scale-foot { width: 104px; margin-left: -52px; height: 14px; }
.c2-scale .dk-pan { width: 112px; min-height: 52px; top: 18px; }
.c2-brass {
  display: block; width: 30px; height: 26px;
  background: linear-gradient(180deg, #443747, #2c2036);
  border: 2.5px solid var(--dk-ink); border-radius: 3px 3px 5px 5px;
  box-shadow: inset 0 3px 0 rgba(246, 237, 218, 0.22);
}
.c2-ghost, .c2-pile { display: flex; flex-wrap: wrap; gap: 3px; align-items: flex-end; justify-content: center; }
.c2-ghost { position: absolute; inset: 5px 6px; opacity: 0.42; pointer-events: none; }
.c2-ghost.hidden { opacity: 0; }
.c2-pile { position: relative; z-index: 1; }
.c2-pile.land { animation: c2Land 0.22s cubic-bezier(0.2, 1.6, 0.4, 1); }
@keyframes c2Land { 40% { transform: translateY(3px) scaleY(0.94); } }
.c2-unit { display: block; width: 25px; height: 20px; }
.c2-unit svg { width: 100%; height: 100%; display: block; }
.c2-unit.ghost { filter: grayscale(1) opacity(0.75); }
.c2-unit.past { filter: drop-shadow(0 0 0 var(--dk-verm)) saturate(0.4); opacity: 0.9; }
/* 钱 has no natural quantum, so it pours as a heap and the beam is the only
   way to know you are there */
.c2-heap {
  display: block; width: 68px; height: calc(5px + var(--hh, 0) * 34px);
  background: var(--hc, #e8dfa6); border: 2.5px solid var(--dk-ink);
  border-radius: 40% 40% 4px 4px / 70% 70% 4px 4px;
  transition: none;
}
.c2-heap.ghost { background: none; border-style: dashed; opacity: 0.5; height: 26px; }
/* THE TALLY IS THE ROUND'S ONE DISPLAY WORD.
   Density rule, from design/minigame-benchmarks.md: "one thing is the focus at
   any moment, and it is the biggest, brightest, most contrasted thing on
   screen." On this bench that is the live count — 秤是空的 → 一片 → 两片 → 三片 —
   because it is the readout your eye is on while your hand is on the jar, and
   it was set at reading size, identical to the fourteen drawer labels and the
   six cells of the 方子. The prep bench already gives its state word the display
   step (静 / 冒泡 / 滚); the weigh bench now matches it, so both halves of the
   round have exactly one thing that is obviously the thing to look at.

   Word and reading share a BASELINE rather than stacking — the same shape as
   the 倒掉 chit and the 拉风箱 hold. Stacking them would cost the tallest bench
   on the counter another line, and this is the one bench with no height to
   spare (prom/dev/clinic2-fit.mjs, 称药 at 1280x720). */
.c2-tally {
  min-height: 34px; display: flex; flex-direction: row; align-items: baseline;
  gap: 9px; justify-content: center; flex-wrap: wrap;
  background: var(--dk-stock); color: var(--dk-ink); border: 3px solid var(--dk-ink);
  border-radius: 8px; padding: 2px 14px 5px; box-shadow: var(--dk-drop);
  min-width: 150px;
}
.c2-tally .han {
  font-size: var(--dk-display); font-weight: 900;
  line-height: var(--dk-lh-tight); letter-spacing: 0.01em;
}
.c2-tally .han.over { color: #a8231a; }
/* An empty pan is not the thing to look at — the jar is. So the readout sits at
   reading size and soft ink until it has a count to carry, and STANDS UP into
   the display step the moment the first slice lands. The size change is the
   feedback: the object wakes up when it starts saying something. */
.c2-tally .han.empty {
  font-size: var(--dk-read); font-weight: 800; line-height: var(--dk-lh-read);
  color: var(--dk-ink-soft);
}
.c2-tally i { font-style: normal; color: var(--dk-ink-soft); }
/* the count lands: the word gets weight for a beat, the way the pan does. Fired
   by a class the JS adds only when the READING changes, never on every frame of
   the hold — see the note in clinic2.js's paintPile. */
.c2-tally .han.land { animation: c2Count 0.26s cubic-bezier(0.2, 1.5, 0.4, 1); }
@keyframes c2Count { from { transform: scale(0.86) translateY(2px); } }

/* the five stations, small, along the bottom: carrying the pan to one of them
   is how the weight gets committed AND how the verb gets chosen */
.c2-stationrail { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; width: 100%; }
/* a station tile is a lacquer tray, not a translucent chip: its label is text
   over the painting and has to sit on its own material to stay readable */
.c2-station {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 4px 8px 5px; min-width: 74px; border-radius: 10px;
  background: rgba(18, 9, 30, 0.78); border: 2.5px solid rgba(246, 237, 218, 0.34);
}
/* the pot, the cup, the flame, the ice bowl and the mortar are IDENTIFIERS at
   this size, not the objects you work at — the big one comes out once the pan
   lands on a station. Eight pixels off the rail is eight pixels the balance and
   its tally keep, on the tallest bench on the counter. */
.c2-station .c2-st-art { width: 46px; height: 40px; display: block; }
.c2-station svg { width: 100%; height: 100%; display: block; }
/* ROUND-7, AND IT IS THE SAME FINDING AS THE SIX COLOURED JARS.
   Measured dark, 1280x800, weight hung: the 称药 board carried five saturated
   hue buckets [40, 260, 160, 20, 200] against a house ceiling of three, and two
   of them were 646px2 and 524px2 of station art — the 煮 cauldron's brown, the
   烧 brazier's brown and the 冰镇 basin's ice blue, three hues bought so that
   five 46px identifiers in a row could be told apart. They already are: a
   lidded pot, a covered cup with a handle, a brazier, a wide flat basin and a
   mortar are five different SILHOUETTES, and each one carries its verb in 20px
   hanzi with the reading under it. So the rail is one material, exactly like
   the 药柜 above it — the ink line over the same cream, nothing added.
   The colour is not lost, it is MOVED: `.c2-station.big` is the object you
   actually work at, and there the pot is brown and the ice bath is blue,
   because that is the painting and the painting is allowed to sing. (A CSS
   `fill` beats an SVG presentation attribute, so this needs no markup change
   and the big station keeps its own paint by not matching.) */
.c2-station:not(.big) .c2-st-art path[fill]:not([fill="none"]),
.c2-station:not(.big) .c2-st-art rect[fill]:not([fill="none"]),
.c2-station:not(.big) .c2-st-art ellipse[fill]:not([fill="none"]),
.c2-station:not(.big) .c2-st-art circle[fill]:not([fill="none"]) { fill: var(--c2-vessel); }
.c2-station:not(.big) .c2-st-art [stroke] { stroke: var(--c2-vline); }
/* the mortar's drawn pestle is the 磨 tile's silhouette cue; at working size
   the station has a real one that swings, and two is one too many */
.c2-station.big .c2-st-art .st-pestle { display: none; }
.c2-station b.han { font-size: var(--dk-read); color: var(--paper, #f2efe9); line-height: 1.1; }
.c2-station i { font-style: normal; color: var(--haze, #a49fae); }
/* the station you are working AT is the object itself, with no frame around it:
   a bordered box would be a panel, and this counter has none */
.c2-station.big {
  min-width: 200px; padding: 12px 20px 14px; position: relative;
  background: none; border-color: transparent;
}
.c2-station.big .c2-st-art { width: 166px; height: 146px; }

.c2-benchrow { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; width: 100%; }
.c2-hint {
  color: var(--paper, #f2efe9); background: var(--dk-mat-scrim);
  padding: 3px 10px; border-radius: 6px;
}
/* On a phone the chit and the hint share ~355px, so the hint broke across two
   short lines under a chit that had already wrapped — two rows for one sentence
   and one button. Stacked deliberately, each gets the full width, the sentence
   sets on one line, and the row is SHORTER than the wrap it replaces. Weigh
   bench only: the prep row's other half is the 台, a drop target, and that one
   must keep its landscape shape. */
@media (max-width: 520px) {
  .st-weigh .c2-benchrow { flex-direction: column; gap: 6px; }
  .st-weigh .c2-hint { text-align: center; }
}
/* ------------------------------------------------------------------- 倒掉
   ROUND-3 JUDGE FINDING, reproduced: `#c2Dump` rendered its latin at 11.5px —
   the smallest read-to-play text anywhere in the build, on a control the player
   presses, in both themes. The cause was inheritance, not authorship: `.tool`
   in prom.css is the DIALOGUE toolbar's chip (11.5px, lacquer purple), sized
   for a row of toggles under a conversation, and this bench borrowed the class
   for a bench object. Two fixes, both scoped to this drill so no other screen
   moves: the kit's label size on any .tool that lands in here, and 倒掉 rebuilt
   out of the counter's own paper and ink so it stops reading as web chrome
   parked next to a painted balance.

   It stays in the footer row beside the hint. Moving it up beside the balance
   (tried, measured) reads better but widens .c2-weighwrap enough to wrap at
   900px, and a wrapped weighwrap pushes the station rail — the drop target that
   commits the weight — below the fold. The row is the safe home. */
.minigame.clinic2 .tool { font-size: var(--dk-label); font-weight: 700; }
.c2-dump {
  flex: none; display: inline-flex; align-items: baseline; gap: 7px;
  background: var(--dk-stock); color: var(--dk-ink); border: 3px solid var(--dk-ink);
  border-radius: 8px; padding: 4px 13px 5px; box-shadow: var(--dk-drop);
  transition: transform 0.12s, box-shadow 0.12s, opacity 0.2s;
}
.minigame.clinic2 .c2-dump:hover:not(:disabled) {
  background: var(--dk-stock); color: var(--dk-ink); border-color: var(--dk-ink);
  transform: translateY(-1px); box-shadow: var(--dk-drop-lift);
}
.minigame.clinic2 .c2-dump:active:not(:disabled) { transform: translateY(2px); box-shadow: none; }
/* nothing in the pan, nothing to tip out — it is present, and plainly not yet
   a thing you can do. ROUND-5: it was doing that at opacity .4, and a paper
   object faded to .4 fades its own ink with it — measured 3.07:1 on a 20px
   hanzi and a 16px latin, both under floor. It reads as off from the lost
   shadow and the flat lie of it; the paper stays readable. */
.minigame.clinic2 .c2-dump:disabled { opacity: 0.84; box-shadow: none; cursor: default; }
.c2-dump .han { color: var(--dk-ink); }
/* ROUND-7: 倒掉 carries its reading where it carried "tip the pan out". The
   English moved to the aria-label — see the ONE ENGLISH LINE note in
   clinic2.js. Paper object, so this is ink-soft on cream, not haze. */
.c2-dump i { font-style: normal; color: var(--dk-ink-soft); }
.c2-dump:disabled i { color: var(--dk-ink-soft); }

/* ============================================================== 3. THE PREP
   The bowl carries its whole state on its face: how fine the grain is, how hot
   or frosted it is, and the Chinese word for the stage it has reached. */
.c2-preparea { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.c2-bowl {
  position: absolute; left: 50%; bottom: 34px; width: 120px; height: 58px; margin-left: -60px;
  border-radius: 8px 8px 44px 44px / 6px 6px 40px 40px;
  background: rgba(36, 19, 53, 0.42); border: 3px solid var(--dk-ink);
  overflow: visible; cursor: grab; touch-action: none;
}
.c2-bowl:focus-visible { outline: 3px solid var(--dk-gold); outline-offset: 3px; }
.c2-bowl-stuff { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.c2-bowl-stuff i {
  position: absolute; left: var(--gx, 50%); top: var(--gy, 55%);
  width: var(--gs, 8px); height: var(--gs, 8px); margin: calc(var(--gs, 8px) / -2);
  border-radius: 50%; background: var(--hc, #5f8f4e);
  box-shadow: 0 0 0 1.5px rgba(36, 19, 53, 0.65);
  transition: width 0.3s ease, height 0.3s ease;
}
/* what each verb does to the bowl, as a material change */
.c2-bowl[data-band="3"] .c2-bowl-stuff i { background: #6b6357; }
.st-prep.fx-boil .c2-bowl { background: rgba(120, 60, 30, 0.5); }
.st-prep.fx-boil.running .c2-bowl::after {
  content: ""; position: absolute; left: 8%; right: 8%; top: 12%; height: 26%;
  border-radius: 50%; background: rgba(255, 255, 255, 0.22);
  animation: c2Boil 0.5s ease-in-out infinite alternate;
}
@keyframes c2Boil { to { transform: translateY(-4px) scaleX(0.9); opacity: 0.5; } }
.st-prep.fx-burn .c2-bowl { box-shadow: 0 0 calc(var(--cook, 0) * 26px) rgba(224, 122, 58, 0.85); }
.st-prep.fx-steep .c2-bowl { background: rgba(36, 19, 53, 0.3); }
.st-prep.fx-steep .c2-bowl::before {
  content: ""; position: absolute; inset: 4px; border-radius: inherit;
  background: var(--hc, #5f8f4e); opacity: calc(var(--cook, 0) * 0.8);
}
.c2-frost { position: absolute; inset: -3px; border-radius: inherit; pointer-events: none; opacity: 0; }
.st-prep.fx-chill .c2-frost {
  opacity: calc(var(--cook, 0) * 1); box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.6);
  border-radius: inherit;
}
.c2-heat { opacity: calc(var(--cook, 0) * 1.1); }
.st-prep:not(.fx-boil) .c2-heat { display: none; }
.st-prep.ruined .c2-bowl { border-color: #a8231a; }
.c2-pestle {
  position: absolute; left: 58%; bottom: 66px; width: 18px; height: 78px;
  background: #c9b28a; border: 3px solid var(--dk-ink); border-radius: 8px;
  transform: rotate(16deg); transform-origin: 50% 100%;
}
.c2-pestle.bump { animation: c2Pestle 0.16s ease-out; }
@keyframes c2Pestle { 50% { transform: rotate(-13deg) translateY(3px); } }

.c2-stateread {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  background: var(--dk-stock); border: 3px solid var(--dk-ink); border-radius: 10px;
  padding: 8px 14px; box-shadow: var(--dk-drop); min-width: 122px;
}
.c2-stateread .han { font-size: var(--dk-display); font-weight: 900; color: var(--dk-ink); line-height: var(--dk-lh-tight); }
.c2-stateread .han.good { color: #0f7a5f; }
.c2-stateread .han.over { color: #a8231a; }
.c2-stateread i { font-style: normal; color: var(--dk-ink-soft); }

.c2-tool { display: flex; justify-content: center; }
/* verb and pronunciation on ONE baseline, not stacked. Stacking them cost this
   station a whole line of height, and the prep bench is the tightest thing on
   the counter — at 1280x720 the extra line was enough to push the bench past
   the fold (prom/dev/clinic2-fit.mjs). Read as one phrase anyway: 拉风箱 with
   its reading trailing it, the same shape as the 倒掉 chit. */
.c2-mortar, .c2-hold {
  display: flex; flex-direction: row; align-items: baseline; justify-content: center; gap: 8px;
  padding: 10px 22px; border-radius: 12px; cursor: grab; touch-action: none;
  background: var(--dk-stock); color: var(--dk-ink); border: 3px solid var(--dk-ink);
  box-shadow: var(--dk-drop);
}
.c2-mortar .han, .c2-hold .han { font-size: var(--dk-read); font-weight: 800; }
/* the station's own verb, said out loud: 拉风箱 lā fēngxiāng. It is the caption
   tier's proper job — a pronunciation, never a fact — and it replaces the 风箱
   that used to sit here as 14px HANZI, four pixels under the floor for a
   character the player is meant to read. */
.c2-mortar i, .c2-hold i, .c2-waitlab i { font-style: normal; color: var(--dk-ink-soft); }
.c2-waitlab i { color: rgba(246, 237, 218, 0.72); margin-left: 7px; }
.c2-hold.on, .c2-mortar.gk-grinding { background: var(--dk-gold); box-shadow: 0 2px 0 rgba(14, 6, 24, 0.75); transform: translateY(2px); }
.c2-mortar:focus-visible, .c2-hold:focus-visible { outline: 3px solid var(--dk-gold); outline-offset: 3px; }
.c2-waitlab { color: var(--paper, #f2efe9); background: var(--dk-mat-scrim); padding: 6px 14px; border-radius: 8px; }
.c2-tool { align-items: center; gap: 14px; }
/* the spoon: the one thing you can do at this station, and the thing you must
   not. It sits there looking usable, because that is the whole lesson. */
.c2-spoon {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 12px; border-radius: 10px; cursor: grab; touch-action: none;
  background: var(--dk-stock); border: 3px solid var(--dk-ink); box-shadow: var(--dk-drop);
}
.c2-spoon svg { width: 22px; height: 56px; display: block; }
.c2-spoon .han { font-size: var(--dk-read); font-weight: 800; color: var(--dk-ink); }
.c2-spoon:focus-visible { outline: 3px solid var(--dk-gold); outline-offset: 3px; }
.c2-tray {
  min-width: 190px; min-height: 66px; border-radius: 10px;
  background: repeating-linear-gradient(92deg, var(--c2-wood) 0 22px, #4a3625 22px 44px);
  border: 3px solid var(--dk-ink); box-shadow: var(--dk-drop);
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================= 4. THE BODY
   Eleven spots, several of them neighbours. No spot is labelled after the
   first patient — the 方子 says 手臂 and the hand has to know where that is. */
/* ---- THE BODY BENCH: the patient and the remedy SIDE BY SIDE ---------------
   One rule at every width (see THE HEIGHT BUDGET at the top of this file). The
   figure is a 1:2 portrait: stacking the bowl under it spent the axis the stage
   is short of while a third of the counter sat empty either side of the torso,
   which is how the object the player has to pick up ended up under the fold at
   1280x800. Beside it, then — the patient on the stool, the remedy on the bench
   next to them, the 用法 written over it, all three in one glance. */
.c2-bench.st-apply {
  flex-direction: row; align-items: center; justify-content: center;
  gap: clamp(14px, 3vw, 44px);
}
.c2-bodywrap {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  flex: 0 1 auto; min-height: 0; max-height: 100%;
}
/* the figure is the elastic object on this bench — it gives height back before
   anything the hand needs is allowed to leave the screen. The floor keeps 嘴
   and 嘴角 separable targets, because that separation IS the drill. */
/* MEASURED, 1280x800: the figure came out 168x336 and the spots that live on it
   came out TINY — 嘴 at 22x21 CSS px, 嘴角 19x22, 太阳穴 15x19, 喉咙 27x13. A
   13px-tall target is under a third of the 44px a fingertip wants and small even
   for a mouse, and Lau missed the mouth outright. The spot rectangles are
   percentages of this box and their proportions are anatomy — 嘴 has to sit
   beside 嘴角 and neither may swallow the other — so the honest lever is the
   BOX, not the percentages: grow the figure and all eleven targets grow with it,
   with every neighbour gap kept exactly as authored.
   There was room. In the same shot the prescription ends at y=318 and the body
   ran 390-710 of an 800px window, so the bench was carrying ~90px of empty
   floor under a figure that needed it. 52vh puts 嘴 at ~29x28 and 喉咙 at ~17
   tall — still not generous, but no longer a pixel hunt. fitBench() below still
   guards the fold if a window is dragged shorter than any of this. */
.c2-body {
  position: relative; aspect-ratio: 200 / 400;
  height: clamp(280px, 52vh, 440px);
  flex: 0 1 auto; min-height: 186px;
}
.c2-spotname { flex: none; }
.c2-figure { width: 100%; height: 100%; display: block; filter: drop-shadow(0 6px 0 rgba(14, 6, 24, 0.5)); }
/* The spot is the ZONE (its rect is what hit-testing reads); the ::after is what
   the player SEES, inflated to the grabbable box by --grab, which clinic2.js
   cuts per spot so it can never reach inside a neighbour. Every visible state
   below paints the ::after, so what is outlined and what is live are one shape.
   The element itself keeps no border of its own — two rings would be a lie
   about where the edge is. */
.c2-spot {
  position: absolute; --gt: 0px; --gr: 0px; --gb: 0px; --gl: 0px;
  display: flex; align-items: center; justify-content: center;
}
.c2-spot::after {
  content: ""; position: absolute;
  inset: calc(-1 * var(--gt)) calc(-1 * var(--gr)) calc(-1 * var(--gb)) calc(-1 * var(--gl));
  border-radius: 9px; border: 2.5px dashed transparent; pointer-events: none;
}
/* GOLD ON CREAM IS NOT A CONTRAST. The live zones were 2px of gold dash at 55%
   alpha, drawn on the figure — and the figure is cream (--dk-stock), which is
   the pale end of the same warm ramp the gold sits on. Lau, looking at the real
   board: "the yellow dashed circles are hard to spot on top of the lighter
   yellow body". Correct, and a target you cannot see is not a target.
   The dash keeps its gold — gold is "your turn" and that meaning is worth more
   than the contrast problem — and gets an INK KEYLINE on both sides of it, so
   what separates the marker from the body is dark against pale rather than warm
   against warm. The same keyline reads on the dark courtyard behind the figure,
   which is the other half of the surface these rectangles straddle. Full alpha
   and a hair thicker: at these sizes 55% of a 2px dash is barely ink at all. */
.c2-spot.gk-zone-live { outline: none; }
.c2-spot.gk-zone-live::after {
  border-color: var(--dk-gold, #ffc84a);
  background: rgba(255, 200, 74, 0.13);
  box-shadow: 0 0 0 1.5px rgba(36, 19, 53, 0.62), inset 0 0 0 1.5px rgba(36, 19, 53, 0.62);
}
/* the same ink keyline on every decided state, for the same reason: all four of
   these colours are being judged against a cream body, not against the page */
.c2-spot.gk-zone-hot { outline: none; }
.c2-spot.gk-zone-hot::after, .c2-spot.show::after, .c2-spot.done::after, .c2-spot.wrong::after {
  border-style: solid; border-width: 3px;
  box-shadow: 0 0 0 1.5px rgba(36, 19, 53, 0.7), inset 0 0 0 1.5px rgba(36, 19, 53, 0.7);
}
.c2-spot.gk-zone-hot::after { border-color: var(--dk-gold); background: rgba(255, 200, 74, 0.34); }
.c2-spot.show::after { border-color: var(--dk-gold); background: rgba(255, 200, 74, 0.3); }
.c2-spot.done::after { border-color: #3ee6c4; background: rgba(62, 230, 196, 0.34); }
.c2-spot.wrong::after { border-color: var(--dk-verm); background: rgba(224, 74, 58, 0.32); }
/* one label at a time, and only after a spot has been decided: it sits above
   its own spot with a nose pointing at it, never floating in the middle */
.c2-spotlab {
  position: absolute; left: 50%; bottom: 104%; transform: translateX(-50%);
  font-style: normal; font-size: var(--dk-read); font-weight: 800; white-space: nowrap;
  background: var(--dk-stock); color: var(--dk-ink); border: 2.5px solid var(--dk-ink);
  border-radius: 4px; padding: 0 6px; box-shadow: var(--dk-drop); z-index: 3;
}
.c2-spotname { min-height: 26px; color: var(--paper, #f2efe9); background: var(--dk-mat-scrim); padding: 2px 10px; border-radius: 6px; }
.c2-spotname .han { font-size: var(--dk-read); }
.c2-spotname .han.bad { color: #ff8d86; }
/* the bowl and what the 方子 says to do with it, in one column beside the body.
   The Chinese is above the object because it is the CAUSE of the placement:
   the player reads 涂在嘴角上, then their hand goes and finds 嘴角. */
.c2-handoff {
  display: flex; flex-direction: column; align-items: stretch; justify-content: center;
  gap: 10px; flex: 0 1 clamp(150px, 24vw, 250px);
}
.st-apply .c2-handoff .c2-hint { text-align: center; }
.st-apply .c2-remedy { align-self: center; }
.c2-remedy {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 14px; border-radius: 10px; cursor: grab; touch-action: none;
  background: var(--dk-stock); border: 3px solid var(--dk-ink); box-shadow: var(--dk-drop);
}
.c2-remedy .han { font-size: var(--dk-read); font-weight: 800; color: var(--dk-ink); }
.c2-remedy-art {
  width: 44px; height: 26px; border-radius: 6px 6px 20px 20px;
  background: var(--hc, #5f8f4e); border: 2.5px solid var(--dk-ink);
}
.c2-remedy.spent { opacity: 0.4; }
.c2-remedy:focus-visible { outline: 3px solid var(--dk-gold); outline-offset: 3px; }

/* ============================================================ 5. THE 医嘱
   一天三次 is three thumps of the chop; 饭后 / 睡前 / 外用 is which shelf. */
.c2-bagarea { display: flex; align-items: flex-end; gap: 16px; justify-content: center; flex-wrap: wrap; }
.c2-bag {
  position: relative; width: 168px; min-height: 116px; padding: 10px 10px 8px;
  display: flex; flex-direction: column; gap: 3px; cursor: grab; touch-action: none;
  transition: transform 0.3s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.3s ease;
  background: linear-gradient(180deg, var(--dk-stock-2), var(--dk-stock));
  border: 3px solid var(--dk-ink); border-radius: 4px 4px 8px 8px; box-shadow: var(--dk-drop);
}
.c2-bag::before {
  content: ""; position: absolute; left: 8px; right: 8px; top: -7px; height: 8px;
  background: var(--dk-stock-2); border: 3px solid var(--dk-ink); border-bottom: 0; border-radius: 4px 4px 0 0;
}
.c2-bagname { font-size: var(--dk-read); font-weight: 900; color: var(--dk-ink); }
.c2-bagline { font-size: var(--dk-read); font-weight: 700; color: var(--dk-ink-soft); }
.c2-bag.thump { animation: c2Thump 0.18s ease-out; }
@keyframes c2Thump { 45% { transform: translateY(3px) scaleY(0.965); } }
/* SHELVED IS SPENT, NOT FADED. It was opacity .55, and a fade takes the ink
   down with the paper: measured, the vermillion 次 marks read 2.52:1 and the
   dose line 3.21:1 on a bag the player is reading side by side with the
   read-back. Nothing about "put away" requires losing contrast — it is set
   down, so it loses its shadow and settles a little, and every glyph on it
   keeps the 6.1:1 it was drawn with. */
.c2-bag.shelved { transform: scale(0.94) translateY(2px); box-shadow: none; }
.c2-bag:focus-visible { outline: 3px solid var(--dk-gold); outline-offset: 3px; }
.c2-marks { display: flex; gap: 5px; flex-wrap: wrap; margin-top: auto; }
/* THE CHOP LEAVES INK, NOT VERMILLION — ROUND-6. drill-kit.css names this
   temptation by hand: "--dk-verm: vermillion: WRONG ... Nothing else — not even
   the chop". A 次 mark on the bag is a COUNT the player reads back before they
   shelve it, so painting it in the wrong-answer colour puts a state token on a
   correct readout. It is a black-ink 药戳 now — an entirely ordinary object on
   a herbalist's counter — and the marks read 12:1 on the bag instead of 5.7. */
.c2-mark-ink {
  display: grid; place-items: center; width: 30px; height: 30px; font-style: normal;
  border: 3px solid var(--dk-ink); border-radius: 4px; transform: rotate(var(--r, 0deg));
  animation: c2Ink 0.26s cubic-bezier(0.2, 1.5, 0.4, 1) both;
}
.c2-mark-ink .han { font-size: var(--dk-read); font-weight: 900; color: var(--dk-ink); }
@keyframes c2Ink { from { opacity: 0; transform: rotate(var(--r, 0deg)) scale(1.7); } }
.c2-chop {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 16px;
  background: var(--dk-stock); color: var(--dk-ink); border: 3px solid var(--dk-ink);
  border-radius: 10px; box-shadow: var(--dk-drop); cursor: pointer;
}
.c2-chop .c2-chop-art { width: 42px; height: 50px; }
.c2-chop svg { width: 100%; height: 100%; display: block; }
.c2-chop .han { font-size: var(--dk-read); font-weight: 800; }
.c2-chop i { font-style: normal; color: var(--dk-ink-soft); }
.c2-chop.press { animation: c2Press 0.16s ease-out; }
@keyframes c2Press { 50% { transform: translateY(5px); box-shadow: 0 1px 0 rgba(14, 6, 24, 0.75); } }
.c2-chop:focus-visible { outline: 3px solid var(--dk-gold); outline-offset: 3px; }
.c2-shelves { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; width: 100%; }
.c2-shelf {
  flex: 1 1 116px; max-width: 168px; min-height: 74px; padding: 8px 6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border-radius: 8px; border-bottom: 6px solid var(--dk-ink);
  background: repeating-linear-gradient(92deg, var(--c2-wood) 0 22px, #4a3625 22px 44px);
  box-shadow: var(--dk-drop);
}
.c2-shelf b.han { font-size: var(--dk-read); color: var(--paper, #f2efe9); }
.c2-shelf i { font-style: normal; color: #e8e2d4; text-align: center; }
.c2-shelf.filled { box-shadow: var(--dk-drop), inset 0 0 0 3px #3ee6c4; }
/* THE COUNTER CLEARS WHEN THE PATIENT DOES — ROUND-5.
   Measured at 1280x800: the 医嘱 bench's content ran 26px past the flex slot it
   was given, and the shelves painted straight through the first line of the
   read-back — the one moment of the round that IS the teaching, printed under
   furniture. Round 4 bought room by flattening the read-back to one line per
   item; with the training wheels on it still wraps to three and the room ran
   out again. So the BENCH gives the room, which is what a counter does when the
   order is finished: the chop goes back, the shelves you did not use go back,
   and the bag and the one shelf it belongs on stand side by side beside the
   answer key instead of on top of it. Measured after: 97px of clearance. */
.c2-bench.cleared { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 18px; }
.c2-bench.cleared .c2-chop { display: none; }
.c2-bench.cleared .c2-shelf:not(.filled) { display: none; }
.c2-bench.cleared .c2-bagarea, .c2-bench.cleared .c2-shelves { width: auto; flex: 0 0 auto; }
.c2-bench.cleared .c2-shelf { flex: 0 0 auto; min-width: 148px; }

/* ------------------------------------------------------------- THE REVEAL
   The whole 方子 read back at the end of the round. It is the LAST thing to
   paint and the only thing that arrives after the bench is already standing, so
   it has to be cheap in height: stacked three-deep per item it came to 135px,
   which is more than the 医嘱 bench had left to give and printed the read-back
   straight through the shelves. One line per item instead of three, and the row
   gets the court's full width to wrap inside. */
.minigame.clinic2 .mg-prompt { width: min(772px, 96vw); }
/* The read-back is a line of text over a painted room, so it gets its own
   material — the kit's rule that no text sits directly on the art. ROUND-5
   measured it colliding with the 医嘱 bench's own instruction line at 1280x800:
   two strings of Chinese drawn on top of each other, in the one moment of the
   round that is supposed to be the answer key. settle() now clears the stale
   instruction (the step it belonged to is over), and the scrim means the row is
   readable wherever the bench happens to end. */
.c2-revrow {
  display: flex; gap: 4px 14px; flex-wrap: wrap; align-items: baseline; justify-content: center;
  background: var(--dk-mat-scrim); border-radius: 8px; padding: 4px 12px 5px;
  width: fit-content; max-width: 100%; margin: 0 auto;
}
.c2-revlab { color: var(--paper, #f2efe9); }
.c2-rev { display: inline-flex; flex-direction: row; align-items: baseline; gap: 5px; }
.c2-rev .han { font-size: var(--dk-read); color: var(--paper, #f2efe9); margin: 0; }
.c2-rev i { font-style: normal; color: var(--haze, #a49fae); }
.c2-revrow.ok .c2-rev .han { color: #9ff2dc; }

/* ------------------------------------------------- THE CHOP IS THE LAST BEAT
   ROUND-7. When the 方子 stands down at the end of a round — see settle() for
   why: it is nobody's turn, so nothing wears gold and nothing prints a gloss
   the read-back is about to print again — the frame lost its display tier with
   it, and measured [20, 16, 14] with a 1.25 focus step. Three sizes and no
   focus is the exact failure the round-6 type pass fixed everywhere else.
   The object that IS the focus of that frame is the chop: the prescription is
   filled, and a filled 方子 in a pharmacy carries a big red stamp. So 已抓 is
   the display object for the four seconds the patient is thanking you, which
   costs no new text, no new colour and no new panel — the kit already draws it
   and already lands it from scale(2.4). */
.minigame.clinic2 .c2-slip .dk-stamp {
  font-size: var(--dk-display); font-weight: 900; padding: 3px 13px 5px;
  border-width: 3.5px; border-radius: 7px; right: 12px; bottom: 10px;
}
/* the chop needs its own band of paper: at display size and rotated 11deg its
   box is ~1.9 display-units tall, and anything less put it across the 医嘱
   row's reading (measured: it covered the last two syllables of
   fàn hòu fúyòng). A 方子 has a signature block under the rows anyway. */
.minigame.clinic2 .c2-slip.dk-docket:has(.dk-stamp) { padding-bottom: calc(var(--dk-display) * 1.95); }
/* …and stands down when the payout card arrives. The card's headline is 46px;
   a 36px chop under it is a fifth type size and a second thing claiming to be
   the focus, which is the census round 6 deleted. See finish(). */
.minigame.clinic2.c2-over .c2-slip .dk-stamp {
  font-size: var(--dk-read); padding: 4px 9px; border-width: 2.5px;
  border-radius: 5px; right: 8px; bottom: 8px;
}
.minigame.clinic2.c2-over .c2-slip.dk-docket:has(.dk-stamp) { padding-bottom: 44px; }

/* ------------------------------------------------------------------ PHONES */
@media (max-width: 900px) {
  .c2-court { width: min(560px, 100%); }
  .c2-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c2-wall { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .c2-guest { display: none; }
  .c2-guest-say.float { display: block; }
  /* prom.css floats the head over the stage, which works when a drill's first
     row is art. Here the first row is Nak's caption, and the two printed on top
     of each other — so on a phone the head joins the flow and takes its own
     space. The safety line moves onto the slip, where there is room for it. */
  .minigame.clinic2 { padding-top: 8px; }
  /* Nak reads the whole 方子 out loud, so on a phone his bubble is four lines
     of the same text the slip already carries. It keeps its reading size — it
     is the only voice on screen — but it sets tighter, because those four lines
     were the difference between the counter being on screen and being under
     the fold. */
  .minigame.clinic2 .mg-bubble.float { padding: 8px 12px; margin-bottom: 2px; }
  .minigame.clinic2 .mg-bubble .han { line-height: 1.3; }
  .minigame.clinic2 > .mg-head { position: static; transform: none; flex: none; }
  .minigame.clinic2 .mg-head > span:not(.mg-score) { display: none; }
  /* the safety framing is never absent, but it is a sentence, not a kicker: at
     the docket head's uppercase + tracking it wrapped to two lines and cost the
     wall a whole row of drawers */
  .c2-safety {
    display: block; flex: 1 1 100%; line-height: 1.2;
    text-transform: none; letter-spacing: 0; font-size: var(--dk-caption);
  }
  .c2-slip .dk-docket-hd { flex-wrap: wrap; row-gap: 0; padding-bottom: 4px; margin-bottom: 5px; }
  .c2-by { display: none; }
  .c2-slip.dk-docket { padding: 6px 9px 5px; }
  .c2-court { gap: 6px; }
  .c2-bench { gap: 6px; min-height: 0; }
  /* the drill's own name is in the head twice on a phone — once in hanzi, once
     in latin — and the latin half is what pushes it onto a second line */
  .minigame.clinic2 .mg-head { row-gap: 0; }
  /* an empty teaching line takes no height on a phone; a filled one still does */
  .minigame.clinic2 .mg-prompt { min-height: 0; }

  /* ---- THE 方子 ON A PHONE: six cells, and all six on screen -------------
     The first phone build made this a horizontal FILMSTRIP. At 375 that cut the
     药 cell in half mid-word (龙鳞草 rendered as "龙鳞草 lo…") and put the four
     cells after it entirely off the window, so the drill's central reading task
     — tell 河灯草 from 河雾根 on the slip, then find that jar on the wall — was
     played half-blind, and the player had to discover a sideways scroll to see
     the amount they were about to weigh. A prescription is a document you read
     at a GLANCE. It does not scroll.
     So: two columns, six cells, nothing clipped. The label and the value share
     a line, pinyin runs inline behind the value, the English label gloss shows
     only on the row you are actually answering (the one thing the player needs
     explained is the step they are on), and the hanzi never shrinks. */
  .c2-slip { overflow: visible; }
  .c2-rows {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px 8px; overflow: visible;
  }
  .c2-row {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px;
    min-width: 0; max-width: none; padding: 1px 4px;
    border-bottom: 1.5px dashed rgba(36, 19, 53, 0.18); border-right: 0;
  }
  /* reading size is untouched; the LEADING tightens, because a phone slip is
     a handful of short phrases and not a paragraph */
  .c2-rows .c2-val .han, .c2-rows .c2-lab .han { line-height: 1.2; }
  /* The cell you are answering takes the full width of the slip. It is the one
     thing on screen that is the focus, so it gets to be the biggest — and its
     training wheels get a 319px line instead of a 153px one, which is the
     difference between two lines and five. Everything under it moves up by
     that much, which is how the body figure and the remedy you drag onto it
     end up on the same screen. */
  .c2-row.now { grid-column: 1 / -1; }
  .c2-lab { flex: none; }
  /* The field names used to be hidden here except on the live row, which left
     药 量 法 用 医嘱 as five lone characters on a phone — R3's "never zero", six
     rows deep. They stay, at every width: they are two or three letters each,
     they ride inline on a baseline row, and they are the only thing on the slip
     that tells a beginner what the document IS. */
  .c2-lab i { display: inline; }
  /* the desktop slip reserves a display-sized line in every value cell so the
     paper does not jump under your thumb when 翻方子 turns it over. A phone slip
     is a compact list where that reserve is 11px of nothing per row, six rows
     deep, on the one drill that is already the tallest thing in the roster —
     so here the cells are as tall as what is in them. */
  .c2-val, .c2-row.now .c2-val { flex: 1 1 auto; min-width: 0; display: inline; min-height: 0; }
  .c2-fold, .c2-row.now .c2-fold { min-height: calc(var(--dk-read) * 1.2); }
  .c2-got { display: inline; }
  /* The training wheels are the tallest thing on the slip and there are six
     rows of them. On a phone they ride on the cell you are ANSWERING RIGHT NOW
     — the only cell whose meaning the player needs this second, because the
     drill walks the steps in order — plus the complaint, which is the round's
     premise and never gets focused. Everything else is hanzi, which is the
     document the last patient hands you anyway. `wheels()` still decides
     whether they exist at all; this only decides where they are.
     (These also have to out-specify `.c2-rows .c2-val i`, which was quietly
     beating the old `.c2-en { display: none }` and printing all six English
     glosses in full on the first patient.) */
  .c2-rows .c2-val i { display: none; margin-left: 5px; }
  /* 用 joins 主诉 on the always-printed list, and for the opposite reason: 主诉
     is the field nothing grades, 用 is the field that grades hardest. Its line
     is a READING, never a meaning, and it is the only thing standing between
     that row and a bare hanzi line — because that row alone has no card. */
  .c2-rows .c2-row.now .c2-val i,
  .c2-rows .c2-row[data-k="sym"] .c2-val i,
  .c2-rows .c2-row[data-k="use"] .c2-val i { display: inline; }
  .c2-rows .c2-val i.c2-en,
  .c2-rows .c2-row[data-k="sym"] .c2-val i.c2-en { display: none; }
  /* the gloss takes its own line even here. Inline it ran straight on from the
     pinyin — "…fàn hòu fúyòng three times a day, after meals" as one wrapped
     paragraph — which is two different writing systems reading as one sentence
     on the one row the player is being asked to understand. */
  .c2-rows .c2-row.now .c2-val i.c2-en { display: block; margin-left: 0; }
  .c2-counterslab { min-height: 50px; }
  /* ---- THE 药柜 ON A PHONE: fourteen drawers, all fourteen visible --------
     This used to scroll inside a 32vh box, which hid the whole fourth row —
     冰心果 / 冰纹藻 / 星砂 / 星屑粉, four of the confusable pairs the round is
     actually built on — behind a scroll a player had no reason to suspect. A
     wall you cannot take in at a glance cannot teach position, and position is
     half of what this wall is for. The drawers shrink; the LABELS do not. */
  .c2-wall { padding: 5px 5px 6px; gap: 2px; max-height: none; overflow: visible; }
  .c2-jar { padding: 1px 1px 2px; gap: 1px; }
  .c2-jar-label { padding: 0 3px; border-width: 2px; line-height: 1.05; }
  .c2-counterslab { min-height: 44px; }
  .c2-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .c2-jar-art { width: 28px; height: 34px; }
  /* ---- WHAT WRAPS ON A PHONE COSTS A WHOLE ROW ----------------------------
     Every bench here is a row of objects with flex-wrap on, and at 343px of
     usable width three of them were just over the line and wrapping — each wrap
     costing a full object's height and pushing the next bench under the fold.
     Measured at 375x812: the weigh bench came to 355px because the jar and the
     balance would not sit side by side, the station rail to 196px because five
     tiles came to 342px inside 343px, and the 医嘱 bench to 255px because the
     chop's English caption made it 182px wide. Nothing here shrinks a hanzi;
     it shrinks the pictures and lets the captions wrap instead of the rows. */
  .c2-pourjar .c2-jar-art { width: 74px; height: 90px; }
  .c2-stationrail { gap: 5px; flex-wrap: nowrap; }
  .c2-station { flex: 1 1 0; min-width: 0; padding: 4px 3px 5px; }
  .c2-station .c2-st-art { width: 42px; height: 38px; }
  .c2-station i { line-height: 1.15; }
  .c2-benchrow { flex-wrap: nowrap; gap: 8px; }
  .c2-benchrow .c2-hint { min-width: 0; }
  .c2-bag { width: 148px; min-height: 96px; }
  .c2-chop { max-width: 128px; padding: 6px 10px; }
  .c2-chop .c2-chop-art { width: 34px; height: 40px; }
  .c2-chop i { line-height: 1.15; }
  .c2-shelf { min-height: 56px; padding: 5px 4px; }
  .c2-shelf i { line-height: 1.15; }
  /* ---- THE BODY ON A PHONE ------------------------------------------------
     Side by side is now the rule at EVERY width (see THE BODY BENCH above);
     what a phone changes is only the scale of it. The figure keeps enough
     height that 嘴角 and 嘴 stay separable targets — spot sizes are percentages
     of it, and that separation IS the drill. */
  .c2-bench.st-apply { align-items: flex-start; gap: 8px; }
  /* same finding as the desktop box above: at the old 36vh the mouth was under
     20px on a phone, which is half a fingertip */
  .c2-body { height: clamp(260px, 46vh, 400px); min-height: 150px; }
  .st-apply .c2-handoff { flex: 1 1 130px; gap: 8px; }
}
@media (max-width: 420px) {
  /* four columns, not three: fourteen drawers in five rows push the counter
     you drag onto below the fold, and a drop target you cannot see is a broken
     drill. A 3-hanzi label at 20px still fits a 79px column. */
  .c2-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  /* the vessel silhouette is the third of the three cues (label, position,
     shape) and the only one that can afford to give ground — the label never
     does. Small enough to keep 四 rows and the counter on one screen, big
     enough that 罐 / 匣 / 瓶 still read apart, and it still carries the drawer
     level that 倒掉 costs you. */
  .c2-jar-art { width: 23px; height: 27px; }
  .c2-shelf { flex-basis: 46%; }
  .c2-station.big { min-width: 160px; padding: 8px 10px 10px; }
  .c2-station.big .c2-st-art { width: 104px; height: 92px; }
}

/* ---------------------------------------------------------- A SHORT STAGE
   Seams give before objects do. Nothing here changes what is on the counter or
   how big the hanzi is — it takes the padding a 900px-tall window could afford
   and a 768px-tall one cannot. */
@media (min-width: 721px) and (max-height: 820px) {
  .c2-court { gap: 8px; }
  .c2-bench { gap: 8px; }
  .c2-wall { padding: 8px 8px 9px; }
  .c2-counterslab { min-height: 72px; }
}
/* shorter still, and the drawers give too — the vessel silhouette is the third
   of the three cues (label, position, shape) and the only one that can afford
   to; the label never shrinks */
@media (min-width: 721px) and (max-height: 790px) {
  .c2-wall { gap: 5px; }
  .c2-jar-art { width: 38px; height: 46px; }
}
/* a portrait window has no cutouts and therefore no counter running behind
   anyone: the slab can be a ledge instead of a bench */
@media (min-width: 721px) and (max-aspect-ratio: 6 / 5) {
  .c2-counterslab { min-height: 64px; }
}
/* Portrait AND short together: the cutouts are gone (rule above) and their two
   speech bubbles have moved into the page flow, which spends the height the
   counter just won back — measured at 900x800, the 柜台 you drag the jar onto
   landed at y=816 in an 800px window, which is the round-2 finding all over
   again in a different window. So this band takes the phone profile's
   COMPACTION without its column counts: the drawers keep five across and the
   方子 keeps its two columns, they just stop being generous, and the training
   wheels ride on the cell you are answering plus the complaint — the phone
   rule and its reasoning, for the same reason (it is the only cell whose
   meaning the player needs this second, because the drill walks the steps in
   order). A tall portrait window — an iPad at 768x1024 — has the room and
   keeps everything. */
@media (min-width: 721px) and (max-aspect-ratio: 6 / 5) and (max-height: 900px) {
  .minigame.clinic2 .mg-bubble.float { padding: 8px 12px; margin-bottom: 2px; }
  .minigame.clinic2 .mg-bubble .han { line-height: 1.3; }
  .c2-court { gap: 6px; }
  .c2-bench { gap: 6px; }
  .c2-slip.dk-docket { padding: 6px 9px 5px; }
  .c2-rows { gap: 1px 8px; }
  .c2-rows .c2-val .han, .c2-rows .c2-lab .han { line-height: 1.2; }
  /* the anti-jump reserve goes, same reasoning as the phone band above */
  .c2-val, .c2-row.now .c2-val { min-height: 0; }
  .c2-fold, .c2-row.now .c2-fold { min-height: calc(var(--dk-read) * 1.2); }
  .c2-rows .c2-val i { display: none; }
  /* 用 keeps its reading here too — same reason as the phone band: no card on
     that row, so the printed reading is all it has. */
  .c2-rows .c2-row.now .c2-val i,
  .c2-rows .c2-row[data-k="sym"] .c2-val i,
  .c2-rows .c2-row[data-k="use"] .c2-val i { display: block; }
  .c2-rows .c2-val i.c2-en,
  .c2-rows .c2-row[data-k="sym"] .c2-val i.c2-en { display: none; }
  .c2-rows .c2-row.now .c2-val i.c2-en { display: block; }
  .c2-wall { padding: 6px 6px 7px; gap: 4px; }
  .c2-jar { padding: 2px 2px 3px; gap: 2px; }
  .c2-jar-art { width: 34px; height: 42px; }
  .c2-counterslab { min-height: 52px; }
  .c2-bag { width: 148px; min-height: 96px; }
  .c2-shelf { min-height: 62px; }
}

/* ------------------------------------------------------ REDUCED MOTION
   Motion goes; state stays. A frosted bowl is still frosted, a stamped bag
   still carries its marks, the beam still sits where the weight put it. */
@media (prefers-reduced-motion: reduce) {
  /* the tally's stand-up is CUT, not the size change it animates: a
     reduced-motion player still reads 三片 at the display step, still sees the
     empty pan sitting quiet at reading size. Motion goes, state stays. */
  .c2-tally .han.land,
  .c2-bench > *, .c2-jar.nudge, .c2-pile.land, .c2-pestle.bump, .c2-chop.press,
  .c2-bag.thump, .c2-mark-ink, .c2-guest.entering .c2-guest-art,
  .c2-guest.sick .c2-guest-art, .c2-guest.well .c2-guest-art,
  .st-prep.fx-boil.running .c2-bowl::after, .c2-pourjar.streaming::after { animation: none; }
  .c2-jar, .c2-jar-art::after, .c2-bowl-stuff i { transition: none; }
  /* the bag still ENDS UP set down and shadowless — the state stays, the
     travel to it goes */
  .c2-bag { transition: none; }
}

/* ===========================================================================
   ROUND-4: THE 方子 TURNS OVER, AND THE 秤砣 SLIDES
   ===========================================================================
   Play judging walked 找药 / 称药 / 炮制 with no Chinese at all: the slip's
   龙鳞草 matched a drawer's 龙鳞草, the pan drew three dashed slices to fill,
   and the slip's 煮 matched a station's 煮. Three reading steps, none of which
   needed reading. Two objects answer it.

   1. The row for the live step goes FACE DOWN while you work — an ink fold
      across the value column, with the text removed from the DOM, not dimmed.
      翻方子 is a HOLD: Nak turns the paper up for as long as your thumb is on
      it and puts it back the instant you let go. Unlimited and unscolded, but
      it cannot be left on while your other hand works, which is the whole
      difference between reading a prescription and copying one.
   2. The balance becomes a 杆秤: the beam is notched 一…六 in hanzi and the
      counterweight is an object you slide onto a number. That placement is the
      reading of 三片, and nothing pours until it has happened. */
.c2-slipcol { display: flex; flex-direction: column; gap: 0; width: 100%; flex: 0 0 auto; }
.c2-slipcol .c2-turn { width: auto; align-self: center; min-width: 210px; }
.c2-slipcol .c2-slip { flex: 1 1 auto; }

.c2-row.down { background: rgba(36, 19, 53, 0.07); }
/* THE FLAP CARRIES THE FIELD, ROUND-6. A folded row used to be a blank dark bar
   with the field name still printed above it, so the row said 药 twice and the
   one thing on the board the player was actually being asked for had no weight
   at all. Now the fold IS the row: Nak's crease, with 药 / 量 / 法 written on
   the back of it in the paper's own cream. It names the question and answers
   nothing — and on the focused row it is the display step, so 找药 has a
   biggest-thing-on-screen even while the answer is face down. */
.c2-row.down .c2-lab { display: none; }
.c2-fold {
  display: flex; align-items: center; justify-content: center;
  min-height: 30px; width: 82%; margin: 3px 0; padding: 1px 8px 3px;
  border-radius: 9px 6px 8px 7px; transform: rotate(-0.7deg);
  background: linear-gradient(90deg,
    rgba(36, 19, 53, 0.12), rgba(36, 19, 53, 0.60) 8%, rgba(36, 19, 53, 0.72) 56%,
    rgba(36, 19, 53, 0.50) 90%, rgba(36, 19, 53, 0.12));
}
/* .dk-docket-row.now .han in the kit paints the live row's hanzi at FULL ink so
   the gold wash never costs the lesson contrast — right for a value, wrong for
   a character written on the dark side of a fold, so the flap out-specifies it
   rather than the kit being changed for one drill. Cream on the crease measures
   6.6:1; ink on it measured 3.3. */
.c2-row.down .c2-fold .han {
  font-family: var(--han); font-size: var(--dk-read); font-weight: 900;
  line-height: var(--dk-lh-tight); color: var(--dk-stock);
  text-shadow: 0 1px 0 rgba(14, 6, 24, 0.75);
}
.c2-row.now .c2-fold { min-height: calc(var(--dk-display) * 1.15); }
.c2-row.down.now .c2-fold .han { font-size: var(--dk-display); }
.c2-slip.turned { box-shadow: var(--dk-drop-lift), 0 0 0 3px var(--dk-gold); }

/* the hold. It is paper-on-ink like every other tool on this counter: gold and
   vermillion mean 'look here now' and 'wrong', and this is neither. */
/* it hangs off the bottom of the 方子, so it is PAPER — ink on the painted
   stage is the contrast failure the house rules name by name. Same material as
   the docket above it, one shade down, so it reads as the paper's own tab. */
.c2-turn {
  display: flex; align-items: baseline; justify-content: center; gap: 8px;
  width: 100%; padding: 6px 12px 7px; cursor: pointer;
  /* 翻方子 is press-and-hold, not a tap: without this the browser reads the
     first few pixels of a thumb as a pan, fires pointercancel, and the slip
     falls back down while the finger is still on it. The kit sets this on its
     own surfaces; this hold is wired by hand in clinic2.js, so it sets its own. */
  touch-action: none;
  background: #e8dcc0; color: var(--dk-ink);
  border: 3px solid var(--dk-ink); border-top: none; border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 0 rgba(14, 6, 24, 0.55);
  transition: background 0.16s ease, transform 0.12s cubic-bezier(.2,1,.3,1);
}
.c2-turn b { font-size: var(--dk-read); font-weight: 800; line-height: 1.15; }
.c2-turn i { font-style: normal; color: var(--dk-ink-soft); }
.c2-turn:hover { background: #f0e6cd; }
.c2-turn.held {
  background: var(--dk-gold);
  transform: translateY(2px); box-shadow: 0 2px 0 rgba(14, 6, 24, 0.55);
}
.c2-turn.held i { color: var(--dk-ink); }
.c2-turn:focus-visible { outline: 3px solid var(--dk-gold); outline-offset: 3px; }
/* ICON-ONLY ACTION CONTROLS (Lau, 2026-08-09): 翻方子/倒掉/拨回/盖章/再听一遍
   all read by glyph now, no caption. Sized to match the ear icon already
   used elsewhere on this bench (c2-ear, 19px). */
.c2-turn.tool-ic svg, .c2-dump.tool-ic svg, .c2-scoop.tool-ic svg, .c2-againbtn.tool-ic svg {
  width: 20px; height: 20px; display: block;
}
.c2-turn.tool-ic { padding: 10px 12px; }
.c2-dump.tool-ic, .c2-scoop.tool-ic { justify-content: center; }

/* ---- the 砝码 ---------------------------------------------------------
   Six brass weights on a rack, carved 一 二 三 四 五 六. You pick the one the
   方子 asked for and HANG it in the left pan; the balance then reads the way a
   balance reads, and the ghost pile that appears in the right pan is the
   player's own reading of 三片 rather than the engine's answer key. */
.c2-rack {
  display: grid; justify-items: center; gap: 4px;
  padding: 7px 12px 8px; border-radius: 12px; width: fit-content; max-width: 100%;
}
.c2-racklab { display: flex; align-items: baseline; gap: 8px; color: var(--paper, #f2efe9); }
.c2-racklab b { font-size: var(--dk-read); font-weight: 800; }
.c2-racklab i { font-style: normal; color: var(--haze, #a49fae); }
.c2-rackrow { display: flex; align-items: flex-end; gap: 7px; flex-wrap: wrap; justify-content: center; }
/* 两 = 二, ROUND-5. This taught the one thing about the language the station
   turns on, and it taught it in 14px hanzi — the caption tier, which the kit
   reserves for pinyin and gloss precisely because a player cannot read hanzi
   there. Measured 14px, and hanzi a player must read has a 20px floor. It is
   two characters and an equals sign now: read size for the hanzi, caption for
   the English, and shorter than what it replaced.
   ROUND-7: and it only appears when the 方子 in front of the player actually
   says 两. On the four patients in six whose amount is not 2 it was teaching
   the difference between two characters neither of which was on screen. It
   carries the two READINGS now instead of a sentence about stamping — see the
   ONE ENGLISH LINE note in clinic2.js. */
.c2-racknote { color: var(--haze, #a49fae); text-align: center; max-width: 46ch;
  display: flex; align-items: baseline; gap: 7px; justify-content: center; flex-wrap: wrap; }
.c2-racknote > span { display: inline-flex; align-items: baseline; gap: 5px; }
.c2-racknote .c2-eq { font-size: var(--dk-label); }
.c2-racknote b { font-family: var(--han); font-weight: 800; color: var(--paper, #f2efe9);
  font-size: var(--dk-read); line-height: 1.1; }
.c2-racknote i { font-style: normal; }
/* THE 砝码, ROUND-5, TWICE OVER.
   They were cast in brass — a #c9a24a→#8d6c22 gradient — and that is two
   findings in one object. Measured: the engraved numeral, which is the entire
   reading task of this station, ran 4.48:1 (四) unlocked and 1.83:1 once the
   rack dimmed, against a 4.5:1 floor for 20px hanzi. And the hue was gold's
   near neighbour sitting one hand's width from the gold that means "drop it
   here", which is the semantic palette leaking. So they are cast IRON now:
   ink body, cream numeral, 11:1 — the numeral you have to read is the highest
   contrast thing on the bench, gold is free to mean gold again, and the rack
   loses a saturated hue it was never entitled to.

   ROUND-7, the same object, one stop of a gradient. Cast iron came out as
   #4a3a58 -> #2b1c3d, and the dark stop measured s=0.37 in HSL — over the 0.35
   line the judges' hue census calls "a colour rather than ink", so the 砝码
   rack was reported as a whole saturated bucket at 260deg on a board that was
   already over budget. Same iron, the violet pulled out of the shadow:
   s=0.26, under the line, indistinguishable at 40x36px, and the numeral's
   contrast goes UP rather than down. */
.c2-brass {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 36px; padding: 0; cursor: grab;
  background: linear-gradient(180deg, #443747, #2c2036);
  border: 2.5px solid var(--dk-ink); border-radius: 4px 4px 7px 7px;
  box-shadow: inset 0 3px 0 rgba(246, 237, 218, 0.22), 0 3px 0 rgba(14, 6, 24, 0.6);
  transition: transform 0.14s cubic-bezier(.2,1,.3,1), opacity 0.2s ease;
}
.c2-brass b { font-size: var(--dk-read); font-weight: 900; color: var(--dk-stock); line-height: 1; }
.c2-brass:hover { transform: translateY(-3px); }
.c2-brass.lifted { transform: translateY(-5px) rotate(-3deg); }
.c2-brass.gone { opacity: 0.22; pointer-events: none; box-shadow: none; }
.c2-brass:focus-visible { outline: 3px solid var(--dk-gold); outline-offset: 3px; }
.c2-brass.nudge { animation: c2Nudge 0.4s ease; }
@keyframes c2Nudge { 25% { transform: translateX(-4px); } 60% { transform: translateX(5px); } }
.c2-rack.locked .c2-brass { cursor: default; opacity: 0.74; }
.c2-rack.locked .c2-brass.gone { opacity: 0.22; }
/* the one hanging in the pan — drawn, not draggable */
.c2-weightslot { display: flex; align-items: center; justify-content: center; min-height: 36px; }
.c2-brass.hung { width: 40px; height: 34px; cursor: default; }
.dk-pan.gk-zone-live { box-shadow: 0 0 0 3px var(--dk-gold); }
.dk-pan.gk-zone-hot { box-shadow: 0 0 0 4px var(--dk-gold); background: rgba(255, 200, 74, 0.35); }
/* not yet armed, not unreadable: at .55 the herb's own label — the answer the
   player just got right — measured 2.72:1. The jar reads as inert from the
   cursor and from the hint under it, which says what to do first. */
.c2-pourjar[disabled] { opacity: 0.82; cursor: default; }

@media (prefers-reduced-motion: reduce) {
  .c2-turn, .c2-fold { transition: none; }
  .c2-armrail .c2-brass.nudge { animation: none; }
}

/* ---- 7. THE PREP TOOLS, DRAWN --------------------------------------------
   风箱 / 火钳 / 压石 / 盖子 — the four implements the verbs actually name, in
   the same paper-and-ink the 勺子 has always been. They replace the buttons the
   holds used to live on: an object you press, not a control that states a verb.
   The instruction moved to the label beside them; what the object carries is
   its own NAME, which is the same thing the spoon does. */
.c2-toolobj {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  position: relative; padding: 6px 14px 7px; border-radius: 10px;
  cursor: grab; touch-action: none;
  background: var(--dk-stock); border: 3px solid var(--dk-ink); box-shadow: var(--dk-drop);
  transition: transform 0.15s cubic-bezier(.2,1,.3,1), filter 0.15s ease, background 0.15s ease;
}
.c2-toolobj svg { width: 54px; height: 38px; display: block; }
.c2-toolobj b.han { font-size: var(--dk-read); font-weight: 800; color: var(--dk-ink); line-height: 1.1; }
/* ANTICIPATION: it lifts toward the bench under the cursor, so the relationship
   between tool and pot is visible BEFORE the player commits to the gesture. */
.c2-toolobj:hover { transform: translateY(-4px); }
.c2-toolobj:active, .c2-toolobj.on, .c2-toolobj.gk-holding {
  cursor: grabbing; transform: translateY(3px) scale(0.98);
  background: var(--dk-gold); box-shadow: 0 1px 0 rgba(14, 6, 24, 0.75);
}
.c2-toolobj:focus-visible { outline: 3px solid var(--dk-gold); outline-offset: 3px; }
/* the lid, once it is on the pot: it has been used, and the pot says so */
.c2-toolobj.spent { opacity: 0.5; transform: translateY(2px); cursor: default; }
.st-prep .c2-st-art.lidded { filter: drop-shadow(0 0 9px rgba(255, 200, 74, 0.5)); }
@media (prefers-reduced-motion: reduce) {
  .c2-toolobj { transition: none; }
}

/* ============================================================================
   ROUND 9 — THE PLAYTEST PASS
   Findings from Lau playing the drill, resolving into four kinds of change:
   BILINGUAL CHROME, TWO EARS, THE OBJECT IS THE TOOL, TAP FOR TRANSPORT — plus
   拨回, the one-unit correction. Everything below is new surface; nothing above
   it moved, so the density, type and contrast work of rounds 5-8 stands.
   ========================================================================= */

/* ---- 1. BILINGUAL CHROME -------------------------------------------------
   ROSTER RULE, Lau: "for all games, directions and error messages and notices
   should have english added." Hanzi primary, English on a supporting line
   beneath, and the English sits at --dk-label (16px) and NEVER the caption
   tier — the kit's own rule is that anything a player must read to play lives
   at the label floor, and a correction is exactly that.
     `color: inherit` on every one of them is not laziness: each host already
   has a measured foreground against its own measured background (paper on
   scrim, ink on cream), and inheriting is the only way an added line cannot
   quietly land at a contrast nobody checked. It also overrides the pinyin
   colours (.c2-turn i, .c2-slabtag i) which are tuned for a caption and are NOT
   tuned for a sentence you have to act on. */
.c2-en-line,
.minigame.clinic2 .c2-say-en {
  display: block; font-style: normal; font-weight: 700;
  font-size: var(--dk-label); line-height: 1.2; letter-spacing: 0.01em;
  color: inherit; text-transform: none;
}
/* Nak's bubble: the hanzi says it, the line under it says what to do. The
   PEDAGOGY GUARD lives in the JS, not here — no English line in this drill ever
   names a herb, a number, a body part or a shelf. */
.minigame.clinic2 .c2-say-en { margin-top: 4px; opacity: 0.92; }
/* the hint chit reads as ONE phrase on one baseline where it fits, and wraps to
   the house's stacked shape when it does not — never two competing objects */
.c2-hint { display: inline-flex; align-items: baseline; justify-content: center; gap: 8px; flex-wrap: wrap; }
.c2-hint i, .c2-slabtag i.c2-en-line, .c2-waitlab i.c2-en-line { font-style: normal; color: inherit; }
.c2-hint .c2-en-line, .c2-hint i:not(.dk-caption) { display: inline; font-size: var(--dk-label); font-weight: 700; }
.c2-slabtag { flex-wrap: wrap; }
.c2-slabtag i.c2-en-line { flex-basis: 100%; }
.c2-waitlab { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; text-align: center; }
.c2-waitlab i.c2-en-line { flex-basis: 100%; opacity: 0.94; }
/* 翻方子 / 倒掉 / 拨回: hanzi and reading on the baseline, English on its own
   line under them. Wrapping rather than stacking keeps the chit at two rows
   instead of three, which the bench's height budget cares about. */
.c2-turn { flex-wrap: wrap; }
.minigame.clinic2 .c2-turn i.c2-en-line { display: inline; flex-basis: auto; font-size: var(--dk-label); color: var(--dk-ink); opacity: 0.86; }
/* the control strip: 翻方子 and the two ears on ONE row under the paper */
.c2-slipacts { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; width: 100%; }
.minigame.clinic2 .c2-slipacts .c2-turn {
  width: auto; min-width: 0; flex: 0 1 auto;
  border-top: 3px solid var(--dk-ink); border-radius: 10px;
}
.c2-slipacts .c2-again { margin-top: 0; width: auto; }
.c2-slipcol .c2-slipacts { margin-top: 0; }
.minigame.clinic2 .c2-turn.held i.c2-en-line { color: var(--dk-ink); opacity: 1; }
.c2-dump { flex-wrap: wrap; row-gap: 0; }
.minigame.clinic2 .c2-dump i.c2-en-line { display: inline; flex-basis: auto; font-size: var(--dk-label); color: inherit; opacity: 0.9; }

/* ---- 2. 再听一遍 — TWO EARS ---------------------------------------------
   Playtest, twice: "allow the user to tap to hear Nak's recommendation again"
   and "there's no ability to replay what the patient said". ONE affordance,
   learned once, two targets — the doctor and the patient — so a player never
   has to work out which control repeats which voice. It hangs off the bottom of
   the 方子 beside 翻方子, because that column IS "how do I get that again". */
.c2-again {
  display: flex; flex-direction: row; align-items: center; justify-content: center;
  gap: 8px; margin-top: 7px; width: 100%; flex-wrap: wrap;
}
/* ONE ROW, not three. The rail is worth about 44px of a stage whose height
   budget is the tightest thing in this drill (see THE HEIGHT BUDGET at the top
   of this file), so the label sits BESIDE the two ears rather than over them. */
.c2-againlab { display: flex; flex-direction: column; align-items: flex-start; gap: 0; color: var(--paper, #f2efe9); line-height: 1.1; }
.c2-againlab .han { font-size: var(--dk-read); font-weight: 800; line-height: 1.15; }
.minigame.clinic2 .c2-againlab .c2-en-line { color: inherit; font-size: var(--dk-label); opacity: 0.92; }
.c2-againrow { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.c2-againbtn {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  padding: 5px 13px 6px; border-radius: 9px;
  background: var(--dk-stock); color: var(--dk-ink);
  border: 3px solid var(--dk-ink); box-shadow: var(--dk-drop);
  transition: transform 0.13s cubic-bezier(.2,1,.3,1), background 0.16s ease;
}
.c2-againbtn b.han { font-size: var(--dk-read); font-weight: 800; line-height: 1.1; color: var(--dk-ink); }
.c2-againbtn .c2-ear { width: 19px; height: 19px; display: block; flex: none; }
.c2-againbtn:hover:not([disabled]) { transform: translateY(-2px); background: #f0e6cd; }
.c2-againbtn:active:not([disabled]) { transform: translateY(2px); box-shadow: 0 1px 0 rgba(14, 6, 24, 0.55); }
.c2-againbtn:focus-visible { outline: 3px solid var(--dk-gold); outline-offset: 3px; }
/* nobody has spoken yet — inert, not hidden, so the affordance is learnable
   before it is needed. 0.62 on stock keeps the ink over 4.5:1. */
.c2-againbtn[disabled] { opacity: 0.62; cursor: default; box-shadow: none; }
.c2-againbtn.ping { animation: c2Ear 0.5s cubic-bezier(.2,1,.3,1); }
@keyframes c2Ear { 30% { transform: translateY(-3px) scale(1.06); } }

/* ---- 3. THE PESTLE IS THE TOOL -------------------------------------------
   "how come in clinic, user has to click a button to drag the pestle instead of
   just letting the user drag the pestle directly?" At rest it sits IN the
   mortar, leaning the way a pestle is left. On hover it nudges along its own
   axis — the direction of travel, shown before you commit. While worked it
   follows the hand (--px / --pr, set per pointermove from the JS) and the grain
   refines under it in the same frames. */
.c2-pestle {
  position: absolute; left: 58%; bottom: 58px; width: 40px; height: 92px;
  margin-left: -20px; padding: 0; background: none; border: none;
  display: flex; align-items: flex-end; justify-content: center;
  cursor: grab; touch-action: none;
  transform: translateX(var(--px, 0px)) rotate(calc(16deg + var(--pr, 0deg)));
  transform-origin: 50% 100%;
  transition: transform 0.09s linear;
}
.c2-pestle-stick {
  display: block; width: 18px; height: 78px;
  background: #c9b28a; border: 3px solid var(--dk-ink); border-radius: 8px;
  box-shadow: 0 3px 0 rgba(14, 6, 24, 0.45);
}
.c2-pestle:hover { animation: c2PestleHint 1.1s ease-in-out infinite; }
.c2-pestle.working, .c2-pestle.gk-grinding { cursor: grabbing; animation: none; transition: transform 0.05s linear; }
.c2-pestle.working .c2-pestle-stick { box-shadow: 0 2px 0 rgba(14, 6, 24, 0.6); }
.c2-pestle:focus-visible { outline: 3px solid var(--dk-gold); outline-offset: 4px; border-radius: 10px; }
.c2-pestle-stick.bump { animation: c2Pestle 0.16s ease-out; }
@keyframes c2PestleHint {
  0%, 100% { transform: translateX(-5px) rotate(11deg); }
  50% { transform: translateX(5px) rotate(21deg); }
}

/* THE ONE-SHOT CUE. It lives ON the tool, shows the hand what to do, and is
   removed from the DOM the first time that gesture succeeds — never a label
   that stays. Ink on gold, so it reads as one of the counter's own paper chits
   rather than as chrome. */
.c2-cue {
  position: absolute; z-index: 3; pointer-events: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--dk-gold); border: 3px solid var(--dk-ink);
  box-shadow: 0 2px 0 rgba(14, 6, 24, 0.5);
}
.c2-cue-hold { top: -10px; right: -8px; animation: c2CuePress 1.25s ease-in-out infinite; }
.c2-cue-tap { top: -10px; right: -8px; animation: c2CueTap 1.25s ease-in-out infinite; }
.c2-cue-grind { top: -14px; left: 50%; margin-left: -13px; animation: c2CueSwipe 1.25s ease-in-out infinite; }
.c2-cue-pour { top: -12px; right: -10px; animation: c2CuePress 1.25s ease-in-out infinite; }
@keyframes c2CuePress { 0%, 100% { transform: scale(1); opacity: 0.95; } 55% { transform: scale(0.74); opacity: 1; } }
@keyframes c2CueTap { 0%, 100% { transform: scale(1); } 40% { transform: scale(0.7); } 60% { transform: scale(1.05); } }
@keyframes c2CueSwipe { 0%, 100% { transform: translateX(-13px); } 50% { transform: translateX(13px); } }

/* THE POUR IS A HOLD, AND NOW IT SAYS SO. "It's also not intuitive that I have
   to hold down the pill bottle to add pills to the scale." The mechanic does
   not change — the amount is the skill and it stays a continuous gesture — so
   the fix is signal: the jar leans toward the pan under the cursor, tips right
   over the instant the thumb goes down, and the first-use pip retires as soon
   as one pour has started. */
.c2-pourjar:not([disabled]) { transition: transform 0.18s cubic-bezier(.2,1,.3,1); }
.c2-pourjar:not([disabled]):hover { transform: rotate(9deg) translateY(-2px); }
.c2-pourjar.pouring { transform: rotate(24deg) translateY(2px); }

/* ---- 4. TAP FOR TRANSPORT -----------------------------------------------
   "if it's simply placing something somewhere, then a simple tap should do it."
   The destinations that are a real CHOICE — the five prep benches, the four
   医嘱 shelves — become tappable objects in their own right, so the player still
   picks, they just do not haul. They read as pressable and answer a press. */
.c2-station[role="button"], .c2-shelf[role="button"] {
  cursor: pointer;
  transition: transform 0.14s cubic-bezier(.2,1,.3,1), box-shadow 0.14s ease;
}
.c2-station[role="button"]:hover, .c2-shelf[role="button"]:hover { transform: translateY(-3px); }
.c2-station[role="button"]:active, .c2-shelf[role="button"]:active { transform: translateY(2px); }
.c2-station[role="button"]:focus-visible, .c2-shelf[role="button"]:focus-visible { outline: 3px solid var(--dk-gold); outline-offset: 3px; }
/* a tap on the PAN answers by making the five destinations obvious, rather than
   by doing nothing — the old behaviour, which read as a broken control */
.c2-stationrail.asking .c2-station { animation: c2Ask 0.72s ease-in-out 2; }
@keyframes c2Ask { 30% { transform: translateY(-6px); } 60% { transform: translateY(0); } }
.c2-tray[role="button"] { cursor: pointer; transition: transform 0.14s cubic-bezier(.2,1,.3,1); }
.c2-tray[role="button"]:hover { transform: translateY(-2px); }
.c2-tray[role="button"]:focus-visible { outline: 3px solid var(--dk-gold); outline-offset: 3px; }

/* ---- 5. 拨回 — ONE UNIT BACK OFF THE PAN --------------------------------
   "there's no ability to remove a pill if user accidentally pours too many."
   A bamboo scoop on the bench beside 倒掉: an OBJECT, not an undo button. Tap
   it, or sweep it across the pan. Same paper and ink as everything else here. */
.c2-scoop {
  display: inline-flex; align-items: baseline; gap: 7px; flex-wrap: wrap;
  padding: 5px 12px 6px; border-radius: 10px; cursor: grab; touch-action: none;
  background: var(--dk-stock); color: var(--dk-ink);
  border: 3px solid var(--dk-ink); box-shadow: var(--dk-drop);
  transition: transform 0.14s cubic-bezier(.2,1,.3,1), opacity 0.18s ease;
}
.c2-scoop svg { width: 26px; height: 20px; align-self: center; flex: none; }
.c2-scoop b.han { font-size: var(--dk-read); font-weight: 800; color: var(--dk-ink); line-height: 1.1; }
.c2-scoop i.dk-caption { font-style: normal; color: var(--dk-ink-soft); }
.minigame.clinic2 .c2-scoop i.c2-en-line { display: inline; flex-basis: auto; font-size: var(--dk-label); color: var(--dk-ink); opacity: 0.9; }
.c2-scoop:hover:not(.off) { transform: translateY(-3px); }
.c2-scoop:focus-visible { outline: 3px solid var(--dk-gold); outline-offset: 3px; }
/* nothing on the pan to sweep: inert and still legible, same rule as the ears */
.c2-scoop.off { opacity: 0.62; cursor: default; box-shadow: none; }
.c2-scoop.swept { animation: c2Sweep 0.34s cubic-bezier(.2,1,.3,1); }
@keyframes c2Sweep { 40% { transform: translateX(-9px) rotate(-11deg); } 75% { transform: translateX(4px) rotate(4deg); } }

/* ---- 6. THE PATIENT LEAVES ----------------------------------------------
   "when a patient leaves and says something, the next patient comes in too
   quickly and interrupts them." The pacing is in the JS; this is the exit
   itself, so the departure is something the player SEES finish rather than a
   cutaway. Follow-through on the way out, the same weight as the entrance. */
.c2-guest.leaving .c2-guest-art { animation: c2Leave 0.52s cubic-bezier(.4, 0, .7, .4) both; }
.c2-guest.leaving .c2-mark { opacity: 0; transition: opacity 0.3s ease; }
@keyframes c2Leave {
  0% { transform: translateX(0) scale(1); opacity: 1; }
  30% { transform: translateX(6px) scale(0.99); opacity: 1; }
  100% { transform: translateX(-46px) scale(0.9); opacity: 0; }
}

/* ---- REDUCED MOTION: cut the movement, never the information --------------
   Every cue above still SAYS what it says with its animation removed — the pip
   is still on the tool, the pestle is still in the mortar, the disabled ear is
   still visibly inert. What goes is only the moving part. */
@media (prefers-reduced-motion: reduce) {
  .c2-pestle, .c2-pestle:hover, .c2-pestle-stick.bump,
  .c2-cue, .c2-cue-hold, .c2-cue-tap, .c2-cue-grind, .c2-cue-pour,
  .c2-againbtn.ping, .c2-scoop.swept, .c2-stationrail.asking .c2-station,
  .c2-guest.leaving .c2-guest-art { animation: none; }
  .c2-pestle, .c2-pourjar:not([disabled]),
  .c2-station[role="button"], .c2-shelf[role="button"], .c2-tray[role="button"],
  .c2-scoop, .c2-againbtn { transition: none; }
  .c2-guest.leaving .c2-guest-art { opacity: 0; }
}

/* ---- NARROW: the type holds, the rows wrap -------------------------------
   The house rule when English costs width is to shorten the English, never the
   type. Nothing here drops below the floor at 375. */
@media (max-width: 520px) {
  .c2-againrow { width: 100%; }
  .c2-againbtn { flex: 1 1 auto; justify-content: center; }
  .c2-scoop, .c2-dump { flex: 1 1 auto; justify-content: center; }
}

/* THE WEIGH BENCH'S FOOTER ROW STAYS ONE ROW. 拨回 joined 倒掉 and the hint on
   this row, and three objects at 1280 came to 811px against a 772px court — so
   the hint dropped to a second line and the bench grew 44px, which at 800px
   tall is the difference between the whole counter being on screen and the
   fitBench() rescue firing. The row does not wrap above phone width; the HINT
   is the item allowed to shrink (it wraps its own English under its own hanzi,
   which is the house pattern anyway) because the two chits are objects with a
   fixed shape and a sentence is not. */
@media (min-width: 521px) {
  .st-weigh .c2-benchrow { flex-wrap: nowrap; gap: 9px; }
  .st-weigh .c2-scoop, .st-weigh .c2-dump { flex: none; padding-top: 3px; padding-bottom: 4px; }
  .st-weigh .c2-hint { padding-top: 2px; padding-bottom: 2px; }
  .st-weigh .c2-hint { flex: 0 1 auto; min-width: 0; }
}

/* an empty hint is not a chip. The prep bench's instruction moved onto the
   label beside the tool, so this row's element stays (probes and layout depend
   on it) and simply stops painting a scrim over nothing. */
.c2-hint:empty { display: none; }
/* the pestle rests INSIDE the mortar, not above it: its base sits below the
   bowl's rim so the object reads as a tool in a vessel at rest. */
.c2-pestle { bottom: 46px; }

/* ======================================================== FTUE PASS (audit)
   Chrome for the guided first patient and two small affordance fixes:
   · .c2-glow — the coach's fetch assist: after three different WRONG jars are
     hovered with the walkthrough up, the right drawer breathes gold. Never
     rendered outside the tutorial (clinic2.js arms it under tutOn only).
   · .c2-spots-shown — the coach's first 用药: every zone outlines itself
     faintly from the start, so the first aimed drag has visible places to aim
     at. Quiet wash, no gold: gold stays "your turn", the decision stays real.
   · the symptom chit is a real button now (it replays the complaint) and says
     so with a cursor and the ear's own ping.
   · .c2-tut .c2-stateread — the doneness word stands up while the coach is
     teaching the window (transform only: no fifth font size). */
.c2-jar.c2-glow { animation: c2Glow 1.3s ease-in-out infinite; border-radius: 10px; }
@keyframes c2Glow {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255, 200, 74, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(255, 200, 74, 0.6); }
}
/* …and this wash was PAPER-coloured at 40% on a cream body, which is the same
   warm-on-warm failure as the gold one and worse. Ink, which is what the figure
   is drawn in, so the zones read as part of the drawing rather than a haze. */
.c2-spots-shown .c2-spot::after { border-color: rgba(36, 19, 53, 0.5); background: rgba(36, 19, 53, 0.06); }
.c2-mark { cursor: pointer; }
.c2-mark:focus-visible { outline: 3px solid var(--dk-gold); outline-offset: 2px; border-radius: 8px; }
.c2-mark.ping { animation: c2Ear 0.5s cubic-bezier(.2,1,.3,1); }
.clinic2.c2-tut .c2-stateread { transform: scale(1.14); transform-origin: center top; }
@media (prefers-reduced-motion: reduce) {
  .c2-jar.c2-glow { animation: none; box-shadow: 0 0 0 4px rgba(255, 200, 74, 0.5); }
  .c2-mark.ping { animation: none; }
}

/* ================================================ THE BLIND-JUDGE PASS (FTUE)
   Fifteen blind judges each saw ONE screenshot of ONE board and were asked what
   they would touch first. This counter scored 2/5 and the judge could not name
   a first action: "Honestly, I would sit there for a second not doing anything
   … Nothing on the screen has an obvious 'press me' glow, an arrow, or a cursor
   hint." The ring (kit .dk-live, driven from clinic2.js) is the answer to that;
   everything in this block is the rest of what they could not read, in the
   order they raised it. Nothing here shrinks the art or takes a jar off the
   wall — the same judge's eye went to the painting with pleasure, and not one
   judge on any board asked for fewer options. They asked to be told which one
   was live.

   1. THE HEAD'S SECOND COUNTER. "病人 1 /4" and the goal chip were the same
   size, the same weight, joined by a middot the judge described as "a tiny pale
   glyph … a thermometer, a person, or just a decorative divider". The chip
   answers "how do I win" and stays at full weight; the round counter is
   progress, and progress is subordinate. */
.minigame.clinic2 .mg-score .c2-pt {
  display: inline-flex; align-items: baseline; gap: 4px;
  font-size: var(--dk-label); opacity: 0.74; margin-right: 4px;
}
.minigame.clinic2 .mg-score .c2-pt .han { font-size: var(--dk-label); font-weight: 700; }

/* 2. WHOSE NAME IS ON THE PAPER. Judged: "Possibly the patient's name … but
   everything else in that panel has an English gloss and this does not." It is
   the doctor's signature; it now says so, at caption size, under the hanzi. */
.c2-by {
  margin-left: auto; display: flex; flex-direction: column; align-items: flex-end;
  line-height: 1.1; text-align: right;
}
.c2-by .han { font-family: var(--han); font-size: var(--dk-read); font-weight: 700; color: var(--dk-ink-soft); }
/* the docket head is uppercased (药方 PRESCRIPTION), which turned a four-word
   signature caption into WRITTEN BY NAK shouting off the corner of the paper */
.c2-by .c2-byen { font-style: normal; color: var(--dk-ink-soft); opacity: 0.85; text-transform: none; letter-spacing: 0; }

/* 3. 翻方子 WHILE THERE IS NOTHING TO TURN OVER. The button is shut until Nak
   folds a row (clinic2.js syncTurn) and a shut control on this counter has to
   be tellable from a live one at a glance — the paper tab goes flat, loses its
   lift and greys, so "not yet" is a state you can see rather than a click that
   does nothing. */
.c2-turn:disabled {
  cursor: default; background: #cdc2ab; color: rgba(36, 19, 53, 0.55);
  box-shadow: none; transform: none;
}
.c2-turn:disabled i, .minigame.clinic2 .c2-turn:disabled i.c2-en-line { color: rgba(36, 19, 53, 0.5); }

/* 4. THE 再听一遍 HEADING. "bare text with no button box around it, unlike the
   boxed controls either side of it … I cannot tell if it is itself clickable."
   It is the heading for the two ears and it stays text — the answer is that it
   stops competing with them for weight, and that its English now NAMES the
   button to press (clinic2.js againLab) instead of describing a replay in the
   abstract. The English stays at --dk-label: it is an instruction a player has
   to act on, and this file's own rule is that those never drop to the caption
   tier. */
.c2-againlab { opacity: 0.8; }
.minigame.clinic2 .c2-againlab .han { font-weight: 700; }

/* 5. THE CHIT ON THE PATIENT. "A small floating tab hanging off the right edge
   with three stacked wavy lines on it … None whatsoever." The symptom stays —
   it is what is wrong with them — and a small ear rides in the corner, so the
   chit reads as the thing it has been since the last audit: press to hear them
   say it again. */
.c2-mark-ear {
  position: absolute; right: -8px; bottom: -8px; width: 22px; height: 22px;
  display: grid; place-items: center; padding: 2px;
  /* CREAM, NOT GOLD. Gold on this counter means "your turn, here" and the ring
     is the only thing entitled to say it — a permanently gold badge pinned to
     the patient would be a second one that never goes out. Same paper stock as
     the chit it rides on. */
  background: var(--dk-stock); color: var(--dk-ink);
  border: 2.5px solid var(--dk-ink); border-radius: 50%; box-shadow: var(--dk-drop);
}
.c2-mark-ear svg { width: 100%; height: 100%; display: block; }

/* 6. THE WIDE BROWN BAR THAT SAYS WAIT. "It is shaped exactly like a big
   button, which makes me want to click it." While Nak is still writing, the
   counter is a SURFACE and is painted as one: no lift, no chit around the
   label, dimmed with the shut cabinet above it. The moment the drawers open it
   lights up and takes the game's own drop-slot dash, which is what a dashed
   border means everywhere else in this game — an empty place to put something.
   (A dashed BUTTON reads as inert; a dashed SLOT reads as a destination. This
   is the slot.) */
.c2-bench.pending .c2-counterslab { box-shadow: none; filter: brightness(0.66) saturate(0.7); }
.c2-bench.pending .c2-slabtag { background: none; box-shadow: none; opacity: 0.9; }
.c2-bench.st-find:not(.pending) .c2-counterslab::after {
  content: ""; position: absolute; inset: 7px; pointer-events: none;
  border: 3px dashed rgba(242, 228, 194, 0.42); border-radius: 7px;
}
/* and the cabinet itself is plainly SHUT while it is shut — one dim wall
   instead of fourteen drawers a judge read as "some faded, some bright … it
   might be an art style difference with no meaning at all" */
.c2-bench.pending .c2-wall { filter: brightness(0.72) saturate(0.55); }

/* 7. LETTING THE RING WIN. The judge's eye went to the gold cell on the 方子
   before anything else on the board — "the largest text, the only filled-in
   cell, and the highest contrast thing in the picture" — and it is information,
   not a control. The wash stays (it is how the paper tracks the step you are
   on) and comes down a little, so the one gold thing a HAND belongs on is the
   loudest gold on the frame. Contrast is untouched: the row's ink sits on the
   docket's cream either way. */
.c2-row.now { background: rgba(255, 200, 74, 0.2); }

/* the current prescription step is the heading; the other fields are notes. */
.c2-row { border-bottom-style: solid; border-bottom-color: rgba(36, 19, 53, 0.12); }
.c2-row.now { background: #e4d7b6; box-shadow: inset 3px 0 0 #6d4f06; }
.c2-row.now .c2-val .han { font-size: clamp(24px, 3.5vw, 30px); }
.c2-slip { box-shadow: none; }
.c2-hint { background: var(--dk-stock); color: var(--dk-ink); border-radius: 8px; }
/* this note also lived in the subtitle; keep it on the prescription at all widths. */
.c2-safety { display: block; }

/* Packet 07: the current instruction owns the slip; the full document is optional. */
.minigame.clinic2 { --dk-display: 1.75rem; padding-top: 8px; }
.minigame.clinic2 > .mg-head {
  position: relative; inset: auto; transform: none; width: 100%; max-width: none;
  flex: 0 0 auto; flex-wrap: wrap; align-self: stretch; min-width: 0;
}
.minigame.clinic2 .mg-head > b { flex: 1 1 100%; padding: 0 96px 0 40px; min-height: 36px; }
.minigame.clinic2 .mg-head .mg-score { flex-wrap: wrap; min-width: 0; gap: 8px; }
.minigame.clinic2 .mg-score .dk-goal { flex-wrap: wrap; white-space: normal; }
.clinic2 .c2-slip.dk-docket { background: var(--dk-stock); color: var(--dk-ink); }
.clinic2 .c2-slip .dk-docket-hd { flex-wrap: wrap; }
.clinic2 .c2-slip .c2-safety { flex-basis: 100%; text-transform: none; letter-spacing: 0; }
.clinic2 .c2-slip .c2-by { display: none; }
.clinic2 .c2-rows { grid-template-columns: 1fr; }
.clinic2 .c2-row { min-width: 0; }
.clinic2 .c2-row:not(.now):not([data-k="sym"]) { display: none; }
.clinic2 .c2-slip.expanded .c2-row, .clinic2.c2-tut .c2-row { display: flex; }
.clinic2 .c2-row .c2-lab { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }
.clinic2 .c2-row .c2-lab i { opacity: 1; color: var(--dk-ink-soft); white-space: normal; }
.clinic2 .c2-row.down .c2-lab { display: flex; }
.clinic2 .c2-row.down .c2-fold { display: none; }
.clinic2 .c2-row .c2-val { min-width: 0; overflow-wrap: anywhere; }
.clinic2 .c2-slipacts { flex-wrap: wrap; gap: 8px; }
.clinic2 .c2-slipacts button { min-height: 44px; min-width: 44px; }
.clinic2 .c2-overview { font: inherit; color: var(--dk-ink); background: var(--dk-stock); border: 1px solid var(--dk-ink-soft); border-radius: 8px; padding: 6px 10px; }
@media (max-width: 720px) {
  .clinic2 .c2-slip .dk-docket-hd { font-size: 1rem; }
  .clinic2 .c2-row .c2-val .han { font-size: 1.25rem; line-height: 1.4; }
  .clinic2 .c2-row .c2-lab .han { font-size: 1.25rem; }
  .clinic2 .c2-row .dk-caption { font-size: 1rem; }
}
body .minigame.clinic2 > .mg-head { padding-inline: 12px !important; }
.clinic2 .mg-head > b small { display: block; font-size: 1rem; }
.clinic2 .mg-head > b small { white-space: nowrap; }
.clinic2 .mg-head .mg-score { width: 100%; margin-left: 0; }
.clinic2 .c2-slip .c2-row.down .c2-fold { display: none; }
/* Drawer labels reflow at text zoom; their physical order stays unchanged. */
.clinic2 .c2-jar-label { white-space: normal; overflow-wrap: anywhere; }

.clinic2 .c2-restart { position: relative; z-index: 6; flex: none; align-self: center; margin: 8px; padding: 8px 12px; min-height: 44px; max-width: calc(100% - 16px); border: 1px solid var(--prom-ink-muted); border-radius: 8px; background: var(--prom-paper); color: var(--prom-ink); font: inherit; font-size: 1rem; }
.clinic2.c2-over .c2-restart { display: none; }
/* The restart follows the whole workbench, never its shrunken flex slot. */
.clinic2 .c2-court, .clinic2 .c2-bench { flex: 0 0 auto; }

/* Keep the terminal verdict and score in document order at enlarged text. */
.clinic2.c2-over > :is(.mg-head,.c2-court,.c2-bench) { display: none; }
.clinic2.c2-over { padding-top: 64px; }
.clinic2.c2-over .dk-goal-verdict { position: relative; inset: auto; transform: none; flex: none; margin: 0 auto 16px; }
.clinic2.c2-over .mg-finale { position: relative; inset: auto; flex: none; width: 100%; padding: 24px 12px; }
.clinic2.c2-over > .mg-prompt { display: none; }
/* Optional painted Clinic layer. The default drill remains its complete CSS/SVG
   implementation until an individual image reports a successful load. */
.clinic2 .c2-riso-asset { display:none; pointer-events:none !important; user-select:none; }
.clinic2 .c2-riso-preload { position:fixed; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); pointer-events:none; opacity:0; }
.clinic2 .c2-riso-cell { display:none; position:relative; overflow:hidden; pointer-events:none; }
.clinic2 .c2-riso-cell > .c2-riso-atlas { position:absolute; max-width:none; max-height:none; width:calc(var(--c2-cols) * 100%); height:calc(var(--c2-rows) * 100%); left:calc(var(--c2-col) * -100%); top:calc(var(--c2-row) * -100%); object-fit:fill; }
