.stage.chimp{cursor:default;touch-action:none;flex-direction:column;justify-content:flex-start;align-items:center;gap:14px;height:auto;padding:20px 24px 22px;display:flex}.chimp:is([data-phase=idle],[data-phase=play]){background:var(--grape);color:var(--on-pastel)}.chimp[data-phase=over],.chimp[data-phase=complete]{background:var(--st-result);color:var(--st-result-ink)}.chimp:is([data-phase=idle],[data-phase=play]) :is(.status,.count,.strikes){color:var(--on-pastel)}.chimp:is([data-phase=over],[data-phase=complete]) :is(.status,.count,.strikes){color:var(--st-result-sub)}.chimp .topbar{width:100%;max-width:420px;font-family:var(--font-display);justify-content:space-between;align-items:center;gap:12px;font-size:16px;font-weight:600;display:flex}.chimp .strikes{align-items:center;gap:8px;display:inline-flex}.chimp .marks{gap:5px;display:inline-flex}.chimp .strikes-word{margin-right:2px}.chimp .marks svg{width:26px;height:26px;display:block}.chimp .marks .dot{fill:#fff;stroke:#1b1b1f;stroke-width:2px}.chimp .marks .x{stroke:none}.chimp [data-mark=on] .dot{fill:#e8432e}.chimp [data-mark=on] .x{stroke:#fff;stroke-width:2.2px}.chimp .grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;width:100%;max-width:420px;display:grid}.chimp .cell{aspect-ratio:1;color:#1b1b1f;min-width:44px;min-height:44px;font-family:var(--font-display);font-variant-numeric:tabular-nums;cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;background:#fff;border:3px solid #1b1b1f;border-radius:12px;padding:0;font-size:28px;font-weight:700;line-height:1;box-shadow:3px 3px #1b1b1f}.chimp .cell:active{transform:translate(2px,2px);box-shadow:1px 1px #1b1b1f}.chimp .cell[data-state=num]{background:var(--yellow)}.chimp .cell[data-state=done]{background:var(--green);box-shadow:none;position:relative;transform:translate(3px,3px)}.chimp .cell[data-state=done]:after{content:"";border-bottom:4px solid #1b1b1f;border-right:4px solid #1b1b1f;width:28%;height:50%;position:absolute;top:46%;left:50%;transform:translate(-50%,-50%)rotate(45deg)}.chimp .cell:focus-visible{outline-offset:3px;outline:3px solid #1b1b1f}.chimp .status{text-align:center;max-width:420px;min-height:1.4em;font-size:16px;font-weight:700;line-height:1.4}.chimp[data-phase=play] .status{color:#1b1b1f;min-height:0;font-family:var(--font-display);background:#fff;border:3px solid #1b1b1f;border-radius:999px;padding:6px 20px;font-size:22px;font-weight:600}.chimp .eg{color:#1b1b1f;max-width:100%;height:auto;display:block}.chimp .eg rect{fill:#fff;stroke:#1b1b1f;stroke-width:3px}.chimp .eg rect.n{fill:var(--yellow)}.chimp .eg text{font-family:var(--font-display);fill:#1b1b1f;font-size:24px;font-weight:700}.chimp .eg text.cap{font-family:var(--font-display);font-size:15px;font-weight:600}.chimp .eg .arrow{fill:none;stroke:#1b1b1f;stroke-width:4px;stroke-linecap:round;stroke-linejoin:round}.chimp:is([data-phase=over],[data-phase=complete]) .eg{display:none}.chimp .overlay{z-index:1;border-radius:inherit;text-align:center;background:var(--grape);color:var(--on-pastel);flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:24px;display:flex;position:absolute;inset:0}.chimp[data-phase=play] .overlay{display:none}.chimp:is([data-phase=over],[data-phase=complete]) .overlay{background:var(--st-result);color:var(--st-result-ink)}.chimp .overlay .title{font-size:56px}.chimp .overlay .sub{color:var(--on-pastel2)}.chimp:is([data-phase=over],[data-phase=complete]) .overlay .sub{color:var(--st-result-sub)}.chimp .overlay .cue svg{display:none}.chimp[data-phase=over] .overlay .cue svg{display:block}.chimp .startb{border:var(--bw) solid #1b1b1f;border-radius:var(--r-btn);background:var(--yellow);color:#1b1b1f;min-width:160px;min-height:56px;box-shadow:var(--sh-sm);font-family:var(--font-display);cursor:pointer;margin-top:6px;padding:0 28px;font-size:22px;font-weight:700}.chimp .startb:active{transform:translate(3px,3px);box-shadow:0 0 #1b1b1f}.chimp .startb:focus-visible{outline:3px solid var(--accent);outline-offset:4px}@media (width<=1000px){.chimp .overlay .title{font-size:44px}}@media (width<=760px){.chimp[data-phase=play] .status{padding:5px 16px;font-size:19px}.stage.chimp{gap:10px;padding:56px 10px 16px}.chimp .grid{gap:6px}.chimp .cell{border-radius:10px;font-size:24px;box-shadow:2px 2px #1b1b1f}.chimp .topbar{white-space:nowrap;font-size:14px}.chimp .marks svg{width:22px;height:22px}.chimp .status{font-size:15px}.chimp .overlay .title{font-size:38px}.chimp .overlay{padding-top:56px}}.how .sources{color:var(--ink2);flex-direction:column;gap:8px;margin:0;padding-left:1.6em;font-size:14px;line-height:1.45;list-style:decimal;display:flex}.how .sources a{overflow-wrap:anywhere}
