/* Shared action shell. Game detail is restricted to .mv-high; wire is independently drawn. */
.mv-inner{height:844px!important;padding:0!important;display:block!important;background:#fff;color:#35465d;position:relative;overflow:hidden;font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;isolation:isolate}
.mv-inner *{box-sizing:border-box}
.mv-inner button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.mv-inner button:disabled{cursor:default}
.mv-inner button:focus-visible,.mv-demo-root [role="button"]:focus-visible{outline:3px solid #477aaf;outline-offset:3px}
.mv-inner svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mv-hud{position:relative;margin:28px 24px 0;height:70px;z-index:3}
.mv-count{position:absolute;left:0;top:0;min-width:48px;color:#4c6e97;transform-origin:50% 60%}
.mv-count>span{display:block;font-size:12px;color:#586f89;margin-bottom:4px}
.mv-count strong{display:block;font-size:31px;line-height:1.15;font-weight:500;font-variant-numeric:tabular-nums}
.mv-time{position:absolute;top:22px;left:50%;transform:translateX(-50%);text-align:center}
.mv-time strong{font-size:27px;line-height:1;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:.4px;color:#3d5878;white-space:nowrap}
.mv-hud>[data-mv="pause"],.mv-sound{position:absolute;top:17px;right:0;width:38px;height:38px;border:0;border-radius:50%;display:grid;place-items:center;background:#edf3f8;color:#597b9d;padding:0}
.mv-sound{right:46px;width:32px;height:38px;background:transparent}
.mv-sound svg{width:21px;height:21px}
.mv-sound[aria-pressed="true"]{color:#356d9d;background:#edf3f8}
.mv-instruction{position:relative;z-index:2;text-align:center;margin:10px 18px 0!important;font-size:14px;font-weight:500;line-height:1.8;color:#455f7b;white-space:normal}
.mv-rule-key{position:relative;z-index:2;display:flex;justify-content:center;gap:28px;margin:8px 0 0!important;font-size:11px;color:#587285;line-height:1.5}
.mv-safe-key{color:#46769c}.mv-bomb-key{color:#925966}
.mv-board{position:absolute;left:21px;right:21px;top:256px;height:432px;display:grid;grid-template-columns:repeat(3,110px);grid-template-rows:repeat(3,144px);gap:0 9px;isolation:isolate;z-index:2}
.mv-hole{position:relative;display:block;width:110px;height:137px;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible}
.mv-hole-back{position:absolute;left:7px;top:101px;width:96px;height:28px;border-radius:50%;background:#bbc6bf;box-shadow:inset 0 5px 8px #536f6440}
/* At width 110, the blue PNG's real alpha floor is 107.7, plus the 8 px placement = 115.7. Front lip at 113 hides its feet. */
.mv-mole-mask{position:absolute;left:0;top:-26px;width:110px;height:141px;overflow:hidden;border-radius:0 0 45% 45% / 0 0 7% 7%;pointer-events:none}
.mv-mole-rise{position:absolute;left:0;top:34px;width:110px;height:114.29px;transform:translateY(148px);visibility:hidden}
.mv-mole-rise img{display:block;width:110px;height:114.29px;max-width:none!important;object-fit:contain;transform-origin:50% 86%;pointer-events:none}
.mv-hole.is-active .mv-mole-rise{visibility:visible;transform:translateY(0);animation:mv-emerge 220ms cubic-bezier(.16,1,.3,1) both}
.mv-hole-front{position:absolute;left:7px;top:101px;width:96px;height:28px;border:1px solid #a3b4aa;border-radius:50%;background:#dce7df;clip-path:inset(44% 0 0);pointer-events:none;z-index:2}
.mv-high{background:#fbfdff}
.mv-high:before{content:'';position:absolute;z-index:-1;inset:155px 0 0;background:linear-gradient(#fbfdff 0%,#fbfdff00 16%),url("assets/mole-garden.png") center bottom/cover no-repeat;background-color:#e6efe8;pointer-events:none}
.mv-high .mv-hole-back{background:linear-gradient(180deg,#546f62 0,#71867a 40%,#a0b9a2 95%);border:3px solid #b3ccaf;box-shadow:inset 0 6px 8px #32483e60,0 4px 5px #617b6540;transform:rotate(-2deg)}
.mv-high .mv-hole:nth-child(3n) .mv-hole-back,.mv-high .mv-hole:nth-child(3n) .mv-hole-front{transform:rotate(2deg)}
.mv-high .mv-hole-front{background:linear-gradient(180deg,#bad1b0 40%,#a6c3a1 65%,#c0d5b8);border:3px solid #c0d3b1;box-shadow:0 3px 4px #66806528;transform:rotate(-2deg)}
.mv-high .mv-hole:after{content:'';position:absolute;left:15px;top:124px;width:80px;height:8px;z-index:-1;background:#64836520;filter:blur(3px);border-radius:50%;pointer-events:none}
.mv-ready{position:absolute;z-index:3;top:195px;left:0;right:0;text-align:center;pointer-events:none;color:#5b7ea2}
.mv-ready strong{display:inline-grid;place-items:center;width:44px;height:44px;font-size:31px;font-weight:500;line-height:1.2;background:#fff9;border-radius:50%}
.mv-settle{position:absolute;z-index:3;left:50px;right:50px;top:740px;text-align:center;color:#496b65;pointer-events:none}
.mv-inner .mv-settle h3{font-size:18px;margin:0;font-weight:500}.mv-inner .mv-settle p{font-size:12px;margin:5px 0 0;color:#617b78}
/* One authored 620 ms hit: strike, squash/rebound, ink-like particles, then count collection. */
.mv-hammer{position:absolute;right:-10px;top:-28px;width:96px;height:96px;pointer-events:none;z-index:8;transform-origin:76% 82%;animation:mv-hammer 620ms cubic-bezier(.16,1,.3,1) both}
.mv-hammer img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 3px #45697730)}
.mv-hammer svg{width:100%;height:100%;stroke:none}
.mv-hole.is-hit .mv-mole-rise img{animation:mv-squish 620ms cubic-bezier(.16,1,.3,1) both}
.mv-hit-glow{position:absolute;left:9px;top:47px;width:93px;height:68px;border-radius:50%;background:radial-gradient(ellipse,#e0f5db80 0,#bedccc55 44%,transparent 71%);pointer-events:none;z-index:3;animation:mv-glow 620ms ease-out both}
.mv-impact-ring{position:absolute;left:15px;top:68px;width:80px;height:36px;border:3px solid #e6f6db;border-radius:50%;pointer-events:none;z-index:5;animation:mv-impact 620ms cubic-bezier(.16,1,.3,1) both}
.mv-burst,.mv-explosion{position:absolute;inset:0;pointer-events:none;z-index:6}
.mv-burst i,.mv-explosion i{position:absolute;left:54px;top:76px;width:7px;height:4px;border-radius:60% 40% 50% 50%;background:#d4e9bf;--x:-37px;--y:-23px;--r:-30deg;animation:mv-burst 620ms cubic-bezier(.16,1,.3,1) both}
.mv-burst i:nth-child(2),.mv-explosion i:nth-child(2){--x:-24px;--y:-44px;--r:48deg}
.mv-burst i:nth-child(3),.mv-explosion i:nth-child(3){--x:2px;--y:-52px;--r:11deg}
.mv-burst i:nth-child(4),.mv-explosion i:nth-child(4){--x:30px;--y:-41px;--r:73deg}
.mv-burst i:nth-child(5),.mv-explosion i:nth-child(5){--x:42px;--y:-13px;--r:24deg}
.mv-burst i:nth-child(6),.mv-explosion i:nth-child(6){--x:29px;--y:10px;--r:-63deg}
.mv-burst i:nth-child(7),.mv-explosion i:nth-child(7){--x:0px;--y:17px;--r:81deg}
.mv-burst i:nth-child(8),.mv-explosion i:nth-child(8){--x:-30px;--y:12px;--r:34deg}
.mv-burst i:nth-child(2n){background:#89b1cd;width:5px;height:7px}.mv-burst i:nth-child(3n){background:#eef8e5;width:4px;height:4px}
.mv-hit-label{position:absolute;left:18px;top:17px;padding:0 4px;z-index:7;font-size:22px;font-weight:600;color:#477795;text-shadow:0 1px 2px #fff;pointer-events:none;animation:mv-hit-label 620ms cubic-bezier(.16,1,.3,1) both}
.mv-count-fly{position:absolute;min-width:24px;text-align:center;font-size:20px;font-weight:600;color:#477795;text-shadow:0 1px 2px #fff;z-index:8;pointer-events:none}
.mv-count.is-counting{animation:mv-count-receive 360ms cubic-bezier(.16,1,.3,1) both}
/* The error stays local to this hole, and resolves before the next target. */
.mv-hole.is-wrong{animation:mv-hole-shake 480ms ease-out both}
.mv-hole.is-wrong .mv-mole-rise img{animation:mv-fright 620ms cubic-bezier(.16,1,.3,1) both}
.mv-bomb-flash{position:absolute;left:23px;top:4px;width:65px;height:65px;border-radius:50%;background:radial-gradient(#fff6ce 0,#f3c19ab0 32%,#d2939144 55%,transparent 71%);z-index:5;pointer-events:none;animation:mv-bomb-flash 620ms cubic-bezier(.16,1,.3,1) both}
.mv-explosion i{top:34px;background:#bc8a85;width:8px;height:6px;animation-name:mv-explosion}
.mv-explosion i:nth-child(2n){background:#e9ba94;width:5px;height:9px}.mv-explosion i:nth-child(3n){background:#8b7778;width:5px;height:5px}
.mv-wrong-mark{position:absolute;right:1px;top:50px;display:grid;place-items:center;width:29px;height:29px;border:1px solid #d6a5a3;border-radius:50%;background:#fff5f0;color:#a25b65;z-index:7;pointer-events:none;animation:mv-error-mark 620ms ease-out both}
.mv-wrong-mark svg{width:20px;height:20px;stroke-width:2.5}
.mv-shade{position:absolute;inset:0;background:#445b744d;z-index:10;display:grid;place-items:center;padding:30px}
.mv-dialog{width:100%;padding:27px 24px;background:#fff;border-radius:16px;box-shadow:0 16px 40px #354d6420;text-align:center}
.mv-inner .mv-dialog h3{margin:0;font-size:21px;font-weight:500}.mv-inner .mv-dialog p{font-size:13px;color:#657a91;margin:12px 0 22px}
.mv-dialog [data-mv]{display:block;width:100%;background:#eff3f8;border:0;border-radius:12px;padding:13px;margin-top:10px;font-size:14px}
.mv-dialog .mv-primary{background:#6087b5;color:#fff}
/* Wire fidelity keeps the same states, not a desaturated garden. */
.mv-wire{color:#353a31;background:#fff}
.mv-wire .mv-count,.mv-wire .mv-count>span,.mv-wire .mv-time strong,.mv-wire .mv-instruction,.mv-wire .mv-rule-key,.mv-wire .mv-rule-key span{color:#444}
.mv-wire .mv-hud>[data-mv="pause"],.mv-wire .mv-sound{background:#fff;border:1px solid #8c9384;border-radius:0;color:#444}
.mv-wire .mv-board{border:1px dashed #b0b7aa;left:15px;right:15px;padding:6px;top:250px;height:444px;grid-template-columns:repeat(3,110px);gap:0 9px}
.mv-wire .mv-hole-back{background:#e5e7e2;box-shadow:none;border:1px solid #888f81}
.mv-wire .mv-hole-front{background:#fff;border-color:#888f81;box-shadow:none}
.mv-wire .mv-mole-rise img{filter:none}
.mv-wire .mv-hammer,.mv-wire .mv-hit-glow,.mv-wire .mv-impact-ring,.mv-wire .mv-burst,.mv-wire .mv-explosion,.mv-wire .mv-bomb-flash{display:none}
.mv-wire .mv-hole.is-hit .mv-mole-rise img,.mv-wire .mv-hole.is-wrong,.mv-wire .mv-hole.is-wrong .mv-mole-rise img{animation:none}
.mv-wire .mv-hit-label{font-size:16px;color:#353a31;animation:none;background:#fff;border:1px solid #899080;text-shadow:none;top:26px;left:7px}
.mv-wire .mv-wrong-mark{border-radius:0;background:#fff;border-color:#899080;color:#444;animation:none}
.mv-wire .mv-ready strong{border:1px solid #929989;border-radius:0;background:white;color:#444}
.mv-wire .mv-dialog{border:1px solid #626b58;border-radius:0;box-shadow:none}
.mv-wire .mv-dialog [data-mv]{border:1px solid #8b9382;border-radius:0;background:#fff;color:#353a31}.mv-wire .mv-dialog .mv-primary{background:#353a31;color:#fff}
.mv-wire .mv-settle{color:#444}
/* Keep surrounding shared screens and their scroll contract. */
.mv-demo-root .phone{pointer-events:auto;width:390px;height:844px;margin:auto}.mv-demo-root .phone-inner{transform:none!important}.mv-demo-root{max-width:100%;position:relative}
.mv-demo-root .h-action-list.mv-scroll-cards,.mv-demo-root .wire-cards.mv-scroll-cards{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#a8bbcf transparent;mask-image:none}
.mv-demo-root [role="button"]{cursor:pointer}.mv-existing-note{font-size:12px;text-align:center;color:#4f627b}.mv-existing-note a{color:#4b76a9;text-underline-offset:3px}
.mv-existing-note button{margin-left:8px;background:transparent;color:#4b76a9;border:0;text-decoration:underline;text-underline-offset:3px;padding:4px;font:inherit;cursor:pointer}
.mv-performance{font-size:13px!important;color:#526b87!important;margin-top:12px!important}.mv-demo-root ::selection{background:#d2e3f5;color:#294967}
@keyframes mv-emerge{from{transform:translateY(148px)}to{transform:translateY(0)}}
@keyframes mv-squish{0%,12%{transform:scale(1)}25%{transform:translateY(7px) scale(1.16,.7)}45%{transform:translateY(-2px) scale(.94,1.08)}72%,100%{transform:scale(1)}}
@keyframes mv-hammer{0%{transform:rotate(-35deg) translate(16px,-17px);opacity:0}10%{opacity:1}25%{transform:rotate(11deg) translate(-7px,14px);opacity:1}41%{transform:rotate(-14deg) translate(8px,-5px);opacity:1}76%,100%{transform:rotate(-22deg) translate(10px,-15px);opacity:0}}
@keyframes mv-glow{0%,13%{opacity:0;transform:scale(.55)}26%{opacity:1;transform:scale(1)}80%,100%{opacity:0;transform:scale(1.25)}}
@keyframes mv-impact{0%,16%{opacity:0;transform:scale(.45)}27%{opacity:1;transform:scale(.85)}80%,100%{opacity:0;transform:scale(1.35)}}
@keyframes mv-burst{0%,16%{opacity:0;transform:translate(0,0) scale(.5)}25%{opacity:1}80%,100%{opacity:0;transform:translate(var(--x),var(--y)) rotate(var(--r)) scale(.4)}}
@keyframes mv-hit-label{0%,16%{opacity:0;transform:translateY(5px) scale(.8)}30%{opacity:1;transform:translateY(-6px) scale(1.05)}75%,100%{opacity:0;transform:translateY(-28px) scale(.95)}}
@keyframes mv-count-receive{0%{transform:scale(1);color:#4c6e97}25%{transform:scale(1.18);color:#316b9c}100%{transform:scale(1);color:#4c6e97}}
@keyframes mv-hole-shake{0%,100%{transform:translateX(0)}18%,46%{transform:translateX(-4px) rotate(-1deg)}32%,60%{transform:translateX(4px) rotate(1deg)}78%{transform:translateX(-2px)}}
@keyframes mv-fright{0%{transform:scale(1)}22%{transform:translateY(-8px) scale(.95,1.08)}44%{transform:translateY(3px) scale(1.05,.93)}100%{transform:scale(1)}}
@keyframes mv-bomb-flash{0%{opacity:0;transform:scale(.45)}17%{opacity:1;transform:scale(1.25)}70%,100%{opacity:0;transform:scale(1.55)}}
@keyframes mv-explosion{0%{opacity:0;transform:translate(0,0) scale(.4)}17%{opacity:1}74%,100%{opacity:0;transform:translate(var(--x),var(--y)) rotate(var(--r)) scale(.4)}}
@keyframes mv-error-mark{0%{opacity:0;transform:scale(.7)}24%,70%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.9)}}
@media(max-width:450px){.mv-demo-root .phone{width:312px;height:675px}.mv-demo-root .phone-inner{transform:scale(.8)!important}}
@media(max-width:355px){.mv-demo-root .phone{width:273px;height:591px}.mv-demo-root .phone-inner{transform:scale(.7)!important}}
@media(prefers-reduced-motion:reduce){.mv-inner *{animation:none!important}.mv-hole.is-active .mv-mole-rise{transform:translateY(0)}.mv-burst,.mv-explosion,.mv-impact-ring,.mv-hit-glow,.mv-bomb-flash,.mv-count-fly{display:none}.mv-hammer{opacity:1;transform:rotate(8deg) translate(-5px,8px)}.mv-hit-label,.mv-wrong-mark{opacity:1;transform:none}.mv-count.is-counting{color:#316b9c}}
/* The final garden contains no painted holes; only these nine live holes appear. */
.mv-high:before{background-size:100% 100%,cover;background-position:center,center bottom}
/* A wire image slot names colour and state instead of reusing the high-fidelity illustration. */
.mv-wire .mv-mole-rise img{opacity:0}
.mv-wire .mv-mole-rise:after{content:'蓝色地鼠';position:absolute;left:20px;top:34px;width:70px;height:75px;border:1px solid #7f9bb5;background:white;color:#395a78;display:grid;place-items:center;padding:5px;font-size:12px;line-height:1.5;text-align:center}
.mv-wire .mv-hole:has(img[src*="red"]) .mv-mole-rise:after{content:'红色炸弹';border-color:#b08b8d;color:#875c62}
.mv-wire .mv-hole.is-hit .mv-mole-rise:after{content:'已命中';border-width:2px}
.mv-wire .mv-hole.is-wrong .mv-mole-rise:after{content:'误打炸弹';border-width:2px}
/* The flow diagram is a representative state; only the independent live practice plays through. */
.mv-inner[data-live="false"] .mv-mole-rise,.mv-inner[data-live="false"] .mv-mole-rise img,.mv-inner[data-live="false"] .mv-hole{animation:none!important}
.mv-high[data-live="false"] .mv-hammer{animation:none!important;opacity:1;transform:rotate(11deg) translate(-7px,14px)}
.mv-high[data-live="false"] .mv-impact-ring{animation:none!important;opacity:.75;transform:scale(1.05)}
.mv-high[data-live="false"] .mv-hit-glow{animation:none!important;opacity:.6;transform:scale(1)}
.mv-high[data-live="false"] .mv-burst i,.mv-high[data-live="false"] .mv-explosion i{animation:none!important;opacity:.9;transform:translate(var(--x),var(--y)) rotate(var(--r)) scale(.8)}
.mv-high[data-live="false"] .mv-hit-label{animation:none!important;opacity:1;transform:translateY(-9px)}
.mv-high[data-live="false"] .mv-bomb-flash{animation:none!important;opacity:.65;transform:scale(1.08)}
.mv-inner[data-live="false"] .mv-wrong-mark{animation:none!important;opacity:1;transform:none}
/* Withdraw through the same mask rather than disappearing above the lip. */
.mv-hole.is-missed .mv-mole-rise{animation:mv-retreat 180ms cubic-bezier(.4,0,.7,.3) both}
.mv-hole.is-hit .mv-mole-rise,.mv-hole.is-wrong .mv-mole-rise{animation:mv-feedback-exit 620ms cubic-bezier(.4,0,.7,.3) both}
@keyframes mv-retreat{from{transform:translateY(0)}to{transform:translateY(148px)}}
@keyframes mv-feedback-exit{0%,73%{transform:translateY(0)}100%{transform:translateY(148px)}}

/* Final asset calibration: match red body width, while keeping alpha feet on the same lip. */
.mv-high .mv-mole-rise img[src$="mole-red-bomb.png"]{position:relative;width:127px;height:131.95px;left:-8.5px;top:-17px}
.mv-hit-label{left:-10px;top:22px}
.mv-wire .mv-hit-label{left:7px;top:26px}
.mv-wire .mv-count strong,.mv-wire .mv-time strong,.mv-wire .mv-instruction{color:#444}
.mv-wire .mv-hole.is-wrong:has(img) .mv-mole-rise:after{content:'误打炸弹'}

/* Shared exit control; play geometry and both presentation modes are retained. */
.mv-hud>[data-mv="pause"]{left:0;right:auto;font-size:14px}.mv-count{left:54px}.mv-sound{right:0}.mv-title{font:600 22px/1.4 Inter,"Microsoft YaHei",sans-serif;text-align:center;margin:0 18px 6px!important}.mv-dialog p{font-size:14px;line-height:1.7;margin:10px 0 18px}
