@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/fonts/plex-mono-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --paper: #f5f2eb;
  --ink: #302d28;
  --clay: #a44731;
  --blue: #344cff;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { display: grid; grid-template-rows: minmax(0, 1fr) 48px; }
main { height: 100%; min-height: 0; display: grid; place-items: center; overflow: hidden; }
svg { display: block; width: min(94vw, calc((100svh - 72px) * .9017)); height: auto; overflow: visible; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
footer { display: flex; align-items: center; justify-content: space-between; margin-inline: clamp(24px, 4vw, 70px); }
footer p { margin: 0; font: 400 9px/1.7 'IBM Plex Mono', ui-monospace, monospace; }
.footer-mark { color: var(--clay); font: 300 14px/1 system-ui, sans-serif; }
.aiming svg { cursor: none; }
.glyph, .lid { fill: var(--ink); }
.pupil, .water { fill: var(--blue); }
.ripple { fill: none; stroke: var(--paper); stroke-width: 1.6px; vector-effect: non-scaling-stroke; }
.figure { fill: none; stroke: var(--ink); stroke-linecap: round; stroke-linejoin: round; }
.figure circle { fill: var(--paper); }
.figure .eye { fill: var(--ink); stroke: none; }
.thread { fill: none; stroke: var(--ink); stroke-width: 1.1px; vector-effect: non-scaling-stroke; }
.aim { fill: none; stroke: var(--clay); stroke-width: 1.6px; stroke-linecap: round; vector-effect: non-scaling-stroke; pointer-events: none; }
.card { stroke: var(--ink); stroke-width: 1.2px; vector-effect: non-scaling-stroke; }
.card.paper { fill: var(--paper); }
.card.black { fill: var(--ink); }
.card.wrong { stroke: var(--clay); stroke-width: 2px; }
.card.wrong.black { fill: var(--clay); }
.tree { fill: none; stroke: var(--ink); stroke-linecap: round; }
.tree circle { fill: var(--paper); }
.tree .fruit { fill: var(--clay); stroke: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
