.mc{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}
.mc-board{position:relative;flex:1;min-height:0;width:100%;max-width:340px;display:flex;align-items:center;justify-content:center;container-type:size}
/* svg and tap layer share one box so taps land on the cup that is drawn */
.mc-svg,.mc-hits{width:min(100cqw,calc(100cqh * 320 / 420));height:auto;aspect-ratio:320/420}
.mc-svg{display:block}
.mc-frame{fill:color-mix(in srgb,var(--game) 7%,rgba(255,255,255,.5));stroke:var(--pencil);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.mc-arrows{fill:none;stroke:var(--pencil-2);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;opacity:.75}
.mc-cup{fill:rgba(255,255,255,.65);stroke:var(--ink);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:fill var(--dur-fast),stroke-width var(--dur-fast)}
.mc-pit.p1 .mc-cup{stroke:var(--red)}
.mc-store .mc-cup{fill:color-mix(in srgb,var(--game) 11%,rgba(255,255,255,.6));stroke-width:2.6}
.mc-pit.mc-source .mc-cup{fill:color-mix(in srgb,var(--game) 22%,transparent)}
.mc-pit.mc-drop .mc-cup{fill:color-mix(in srgb,var(--game) 28%,rgba(255,255,255,.7));stroke-width:3}
.mc-count{font-family:var(--font-hand);font-size:16px;font-weight:700;text-anchor:middle;fill:var(--ink);pointer-events:none}
.mc-count.p1{fill:var(--red)}
.mc-store-count{font-family:var(--font-title);font-size:26px;font-weight:700;text-anchor:middle;fill:var(--ink);pointer-events:none}
.mc-store-count.p1{fill:var(--red)}
.mc-pebble-fill{fill:color-mix(in srgb,var(--game) 36%,var(--paper));stroke:var(--ink);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.mc-pit.p1 .mc-pebble-fill{fill:color-mix(in srgb,var(--game-2) 28%,var(--paper));stroke:var(--red)}
.mc-pebble-line{fill:none;stroke:var(--ink);stroke-width:1.1;stroke-linecap:round;opacity:.55}
.mc-pit.p1 .mc-pebble-line{stroke:var(--red)}
.mc-pebble.pop{animation:mc-pop 190ms var(--ease-pop) both}
.mc-hits{position:absolute;inset:0;margin:auto}
.mc-hit{position:absolute;appearance:none;border:0;background:transparent;border-radius:999px;padding:0;touch-action:manipulation;transition:background var(--dur-fast)}
.mc-hit[aria-disabled="false"]{cursor:pointer}
.mc-hit[aria-disabled="false"]:is(:active,:focus-visible){background:color-mix(in srgb,var(--game) 18%,transparent)}
.mc-hit:focus-visible{outline:2px dashed var(--game);outline-offset:1px}
@media (hover:hover){
  .mc-hit[aria-disabled="false"]:hover{background:color-mix(in srgb,var(--game) 14%,transparent)}
}
.mc-hint{text-align:center;flex:none}
@keyframes mc-pop{from{opacity:0;transform:scale(.2)}to{opacity:1}}
