:root{--bg:#f7f5ef;--ink:#2f3542;--muted:#747a87;--yellow:#f5c84c;--blue:#5dade2;--blue-deep:#308fca;--warning:#f39c12;--danger:#e85d5d;--line:#dedbd4;--shadow:0 15px 35px rgba(47,53,66,.09)}
*{box-sizing:border-box}html{background:var(--bg);min-height:100%}body{font-family:ui-rounded,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;background:var(--bg);color:var(--ink);margin:0;min-height:100dvh;overscroll-behavior-y:contain;overflow-x:hidden}button{font:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible,.arena:focus-visible{outline:3px solid #499bd5;outline-offset:4px}.hidden{display:none!important}.ambient{position:fixed;pointer-events:none;z-index:0;border:2px solid #d8eefa;transform:rotate(20deg);opacity:.65}.ambient-a{width:220px;height:220px;border-radius:48px;top:-100px;left:-115px}.ambient-b{width:330px;height:330px;border-radius:90px;right:-180px;bottom:-160px;background:rgba(235,244,255,.45)}.app-shell{position:relative;z-index:1;width:min(100%,500px);min-height:100dvh;margin:0 auto;display:flex;flex-direction:column;background:rgba(255,255,255,.82);box-shadow:0 0 45px rgba(47,53,66,.06)}.topbar{height:64px;display:flex;align-items:center;justify-content:space-between;padding:13px 23px;border-bottom:1px solid #eceae3}.brand-small{font-size:13px;letter-spacing:.12em;font-weight:950;display:flex;align-items:center;gap:7px}.brand-small strong{color:#398fcb}.brand-dot{color:var(--yellow);font-size:20px;-webkit-text-stroke:1.5px #343742}.top-actions{display:flex;gap:8px}.icon-btn{width:36px;height:36px;border:2px solid #dedde0;background:#fff;border-radius:12px;color:var(--ink);font-size:19px;font-weight:900}.icon-btn:hover,.pause-btn:hover{background:#f0faff}.stage{width:100%;flex:1;display:flex;flex-direction:column}.scene{width:100%;flex:1;position:relative}.menu-scene{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px 28px 10px;gap:0}.eyebrow{border-radius:99px;background:#ecf6fd;padding:8px 13px;color:#427aa6;font-size:10px;font-weight:850;letter-spacing:.13em}.pulse-dot{display:inline-block;width:7px;height:7px;background:#73bf9f;border-radius:50%;margin-right:7px;box-shadow:0 0 0 4px #d5f2e7}.menu-logo{font-weight:1000;letter-spacing:-.065em;line-height:.78;font-size:clamp(70px,20vw,102px);margin:20px auto 15px;display:flex;flex-direction:column;align-items:center;filter:drop-shadow(0 5px 0 #343743)}.menu-logo-first{color:#f7c947;-webkit-text-stroke:5px #343743;paint-order:stroke fill;text-shadow:0 4px #ffe69c}.menu-logo-second{position:relative;color:#5bb7ed;-webkit-text-stroke:5px #343743;paint-order:stroke fill;text-shadow:0 4px #bde6fb}.logo-star{position:absolute;right:-18px;top:-13px;color:#ffc647;font-size:27px;-webkit-text-stroke:2px var(--ink)}.tagline{font-size:13px;line-height:1.6;color:#7c8290;margin:0}.tagline strong{font-size:14px;color:#454b5a}.character-stage{height:205px;width:100%;position:relative;display:flex;align-items:center;justify-content:center}.decor-grid{width:205px;height:126px;border-radius:22px;transform:perspective(150px) rotateX(26deg);background:repeating-linear-gradient(to right,transparent 0,transparent 39px,#dfebf2 40px,#dfebf2 42px),repeating-linear-gradient(to bottom,#f0f5f9 0,#f0f5f9 39px,#dfebf2 40px,#dfebf2 42px);opacity:.95}.pip{position:relative;display:block;background:var(--yellow);border:3px solid var(--ink);border-radius:48% 48% 42% 42%;box-shadow:inset 5px 5px 0 rgba(255,255,255,.33);isolation:isolate}.pip-face{position:absolute;top:29%;left:20%;right:20%;height:36%;display:flex;justify-content:space-around;align-items:flex-start}.eye{width:8px;height:11px;background:var(--ink);border-radius:50%}.mouth{position:absolute;top:48%;width:15px;height:9px;background:#e1706e;border:2px solid var(--ink);border-radius:2px 2px 9px 9px}.pip-arm{position:absolute;top:54%;width:25%;height:21%;background:var(--yellow);border:3px solid var(--ink);border-radius:50%;z-index:-1}.pip-arm.left{left:-18%;transform:rotate(27deg)}.pip-arm.right{right:-18%;transform:rotate(-27deg)}.pip-leg{position:absolute;bottom:-13%;height:21%;width:26%;border:3px solid var(--ink);border-radius:50%;background:var(--ink);z-index:-1}.pip-leg.left{left:13%;transform:rotate(15deg)}.pip-leg.right{right:13%;transform:rotate(-15deg)}.mascot{position:absolute;width:90px;height:110px;top:48px;left:50%;transform:translateX(-50%);animation:bob 1.8s ease-in-out infinite}.mascot .eye{width:10px;height:14px}.mascot .mouth{width:18px;height:11px}.spark{position:absolute;color:#ffb337;font-size:30px;font-weight:900}.spark-a{left:22%;top:43px;transform:rotate(-14deg)}.spark-b{right:23%;top:53px}.spark-c{right:30%;bottom:30px;color:#87c9ed}.primary-btn{border:2px solid #2f3542;border-radius:17px;background:linear-gradient(180deg,#65c5f5,#3fabe7);box-shadow:0 5px 0 #2f3542;color:white;text-shadow:0 2px 0 rgba(0,0,0,.14);padding:15px 22px;font-size:17px;font-weight:950;letter-spacing:.045em;transition:transform .1s,box-shadow .1s;min-height:55px}.primary-btn:active{transform:translateY(4px);box-shadow:0 1px 0 #2f3542}.primary-btn:hover{filter:brightness(1.025)}.main-cta{width:min(100%,300px)}.main-cta span{font-size:15px;margin-right:7px}.menu-record{margin:20px 0 15px;background:#fff9e9;border:1px solid #f4e5b8;border-radius:17px;display:flex;align-items:center;justify-content:center;gap:14px;padding:12px 24px}.menu-record span{color:#7c6b49;font-size:11px;letter-spacing:.05em;font-weight:800}.menu-record strong{font-size:19px}.control-hint{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;color:#94989f;font-size:10px;font-weight:800;letter-spacing:.045em}.footbar{border-top:1px solid #eeece6;min-height:50px;padding:10px 18px;display:flex;align-items:center;justify-content:space-between;gap:10px}.footbar span{color:#a2a3aa;font-size:9px;font-weight:850;letter-spacing:.08em}.footbar button{border:1px solid #cce6f4;color:#428ebb;background:#eff9fd;border-radius:10px;padding:8px 10px;font-size:10px;font-weight:950;white-space:nowrap}.game-scene{padding:16px 19px 12px;display:flex;flex-direction:column;gap:12px}.hud{display:flex;align-items:center;gap:12px}.hud-stat{min-width:110px;display:flex;flex-direction:column}.hud-stat small,.result-stats small{font-size:11px;font-weight:950;letter-spacing:.1em;color:#9a9da7}.hud-stat strong{font-size:31px;letter-spacing:-.06em;line-height:1.1;font-variant-numeric:tabular-nums}.hud-wave{min-width:65px;padding:8px 14px;background:#fff0bc;border-radius:14px;text-align:center;margin-left:auto}.hud-wave strong{font-size:24px}.pause-btn{border:2px solid #d5d8de;background:#fff;border-radius:13px;width:46px;height:46px;font-weight:1000;font-size:23px;color:var(--ink)}.board-label{display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:950;letter-spacing:.1em;min-height:18px}.board-label>span:first-child{color:#e59b25}.board-best{color:#a2a4ac}.board-best b{color:var(--ink);margin-left:3px}.arena-frame{width:100%;padding:8px;border-radius:21px;background:#eae8e2;box-shadow:0 7px 0 #d7d3ca}.arena{width:100%;aspect-ratio:1;position:relative;overflow:hidden;background:#fff;border-radius:15px;touch-action:none;user-select:none;-webkit-user-select:none;outline-offset:-5px}.tile-grid{position:absolute;inset:0;display:grid;grid-template-columns:repeat(5,1fr);grid-template-rows:repeat(5,1fr);gap:4px;padding:4px}.tile{position:relative;border:2px solid #e2e4e8;border-radius:13px;background:#fff;transition:background .1s,border-color .1s;overflow:hidden}.tile::before{content:"";position:absolute;inset:0;background:#fbfdff;opacity:.25}.tile.warn{background:#fff2d8;border:2px dashed #f1a137;animation:warning .38s ease-in-out infinite alternate}.tile.active{background:#ffb3b7;border:2px solid #f04455}.tile.active::before{opacity:0}.tile .mark{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:clamp(12px,4vw,24px);font-weight:1000;pointer-events:none}.tile.warn .mark{color:#e99024}.tile.active .mark{color:#db3b49}.tile.active.drop .mark{width:50%;height:50%;inset:25%;border:2px solid #3c4657;border-radius:36%;background:linear-gradient(130deg,#9ca3ae,#5f6978);transform:rotate(20deg);color:transparent;box-shadow:2px 4px 0 rgba(0,0,0,.13)}.tile.active.laser .mark{font-size:0;height:28%;top:36%;background:#ec5767;border-top:3px solid #ffd4d9;border-bottom:3px solid #db3549;box-shadow:0 0 10px #e85d5d}.tile.active.cross .mark{font-size:0;background:linear-gradient(90deg,transparent 39%,#f14956 39%,#f14956 61%,transparent 61%),linear-gradient(0deg,transparent 39%,#f14956 39%,#f14956 61%,transparent 61%)}.player{position:absolute;--c:2;--r:2;left:calc((var(--c) + .5) * 20%);top:calc((var(--r) + .5) * 20%);transform:translate(-50%,-50%);width:12%;height:15%;z-index:3;transition:top .10s ease-out,left .10s ease-out;pointer-events:none;filter:drop-shadow(1px 4px 1px rgba(47,53,66,.14))}.player .pip-face{top:27%}.player .eye{width:5px;height:7px}.player .mouth{width:10px;height:6px;border-width:1.5px}.player .pip-arm,.player .pip-leg{border-width:2px}.player.nudge{animation:playerMove .14s ease-out}.player.hit{filter:grayscale(.6);transform:translate(-50%,-50%) rotate(60deg)}.danger-key{display:flex;justify-content:space-around;align-items:center;gap:6px;font-size:10px;color:#858995;font-weight:800}.danger-key>span{display:flex;align-items:center;gap:5px}.key-swatch{display:inline-block;width:14px;height:14px;border-radius:4px;border:2px solid #dbe0e5;background:#fff}.key-warn{border:2px dashed #eaa239;background:#fff1d2}.key-danger{border-color:#e85d5d;background:#ffafb5}.game-tip{font-size:12px;color:#7e8694;min-height:18px;text-align:center;margin:3px 0 0}.arrow-keys{display:flex;flex-direction:column;align-items:center;gap:4px}.arrow-bottom{display:flex;gap:5px}.arrow-key{border:2px solid #dce5ea;background:#f7fcff;border-radius:10px;color:#4b9bcc;width:50px;height:40px;font-size:22px;font-weight:900}.arrow-key:active{background:#d4eefa;transform:translateY(1px)}.overlay{position:absolute;inset:0;z-index:20;display:flex;align-items:center;justify-content:center;background:rgba(247,245,239,.88);padding:25px;backdrop-filter:blur(3px)}.result-box{width:100%;border:2px solid #dedfdf;border-radius:25px;background:#fff;box-shadow:var(--shadow);padding:25px 21px 22px;text-align:center}.result-box h2{font-size:27px;letter-spacing:-.04em;margin:10px 0}.result-box p{color:#8c919b;font-size:13px}.result-box .primary-btn,.result-box .secondary-btn{display:block;width:100%;margin-top:12px}.result-icon{margin:0 auto;background:#fff0bd;width:74px;height:74px;display:grid;place-items:center;border-radius:24px;font-size:40px;font-weight:1000}.secondary-btn{min-height:43px;border:2px solid #dbe0e5;border-radius:14px;background:#fff;color:#737b85;font-size:13px;font-weight:900}.oops-label{color:#ea5b6b;font-size:50px;font-weight:1000;letter-spacing:-.08em;-webkit-text-stroke:2px #343743;paint-order:stroke fill;transform:rotate(-5deg)}.over-mascot{height:75px;display:grid;place-items:center}.over-mascot .pip{width:48px;height:56px;transform:rotate(82deg);filter:grayscale(.2)}.over-mascot .pip .mouth{height:3px;background:var(--ink)}.result-stats{display:flex;background:#f9f8f4;border:1px solid #e5e3dc;border-radius:16px;padding:12px;justify-content:space-around;margin:16px 0}.result-stats>div{display:flex;flex-direction:column;gap:4px}.result-stats strong{font-size:29px;font-weight:1000}.dialog-backdrop{position:fixed;inset:0;z-index:99;background:rgba(40,48,60,.45);display:flex;align-items:center;justify-content:center;padding:20px}.dialog-card{position:relative;width:min(100%,440px);max-height:90dvh;overflow:auto;border-radius:25px;padding:26px 25px;background:white;box-shadow:0 20px 70px rgba(0,0,0,.18)}.dialog-card h2{font-size:27px;margin:6px 0 15px;letter-spacing:-.05em}.dialog-card p{line-height:1.65;font-size:13px;color:#717783}.dialog-card .primary-btn{width:100%;margin-top:8px;font-size:14px}.dialog-emoji{font-size:34px}.close-btn{position:absolute;right:15px;top:15px;width:32px;height:32px;border:0;border-radius:10px;color:#8b929a;background:#f2f4f6}.small-note{background:#faf7ef;padding:10px 12px;border-radius:12px;font-size:11px!important}@keyframes bob{0%,100%{transform:translate(-50%,0)}50%{transform:translate(-50%,-9px)}}@keyframes warning{from{background:#fff7e7}to{background:#ffe7b2}}@keyframes playerMove{0%{scale:1}50%{scale:1.1 .92}100%{scale:1}}@media (max-height:740px){.topbar{height:52px}.menu-scene{padding-top:8px}.menu-logo{font-size:clamp(65px,18vw,90px);margin:9px 0}.character-stage{height:167px}.mascot{top:20px}.menu-record{margin:15px 0 10px}.game-scene{gap:8px;padding:11px 17px 6px}.arrow-key{height:36px}.footbar{min-height:44px}}@media (min-width:700px){body{padding:24px}.app-shell{min-height:min(840px,calc(100dvh - 48px));border-radius:26px;overflow:hidden;border:1px solid #eae8e2}.stage{min-height:650px}.menu-scene{padding-bottom:35px}.game-scene{justify-content:center}.arena-frame{max-width:416px;align-self:center}.hud,.board-label,.danger-key,.game-tip{width:100%;max-width:416px;align-self:center}}@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* v0.2: full-screen gesture surface, independently animated concurrent hazards */
.game-scene{touch-action:none;overscroll-behavior:contain;user-select:none;-webkit-user-select:none}
.tile-grid{z-index:0}
#player{z-index:5;pointer-events:none}
.hazard-effects{position:absolute;inset:0;z-index:3;overflow:hidden;pointer-events:none}
.hazard-fx{position:absolute;pointer-events:none}
.fx-drop{width:20%;height:20%;transform:translate(-50%,-50%)}
.falling-rock,.roll-rock{position:absolute;width:72%;height:72%;left:14%;top:14%;border-radius:43% 58% 47% 53%;border:3px solid #41434e;background:radial-gradient(circle at 33% 27%,#b2afac 0 8%,#827e7d 21%,#696564 50%,#43434c 90%);box-shadow:inset -8px -8px 0 #292c34, inset 5px 4px 0 #c7c0b8,0 9px 8px #34323a44;opacity:0}
.falling-rock:before,.roll-rock:before{content:'';position:absolute;width:22%;height:18%;border-radius:45%;background:#49464a;top:24%;left:18%;box-shadow:14px 12px 0 #59545a}
.fx-drop.active .falling-rock{opacity:1;animation:skyfall .38s cubic-bezier(.21,.79,.4,1) both}
.impact-ring{width:28%;height:28%;border:3px solid #b69c74;position:absolute;left:36%;top:50%;border-radius:50%;opacity:0}
.fx-drop.active .impact-ring{animation:dust .4s .25s ease-out both}
.fx-laser{height:13%;width:100%;transform:translateY(-50%);display:flex;align-items:center;justify-content:space-between}
.fx-laser.vertical{height:100%;width:13%;transform:translateX(-50%);flex-direction:column}
.fx-laser .emitter{height:83%;aspect-ratio:.7;border:3px solid #333843;border-radius:6px;background:linear-gradient(90deg,#878e9e 0 25%,#484e5b 38% 72%,#9aa7bc 90%);box-shadow:0 2px 0 #1e222e;z-index:1;opacity:.8}
.fx-laser.vertical .emitter{height:auto;width:83%;aspect-ratio:1.4;transform:rotate(90deg)}
.fx-laser .laser-beam{position:absolute;left:5%;right:5%;height:5px;border-radius:10px;background:repeating-linear-gradient(90deg,#f2a1a1 0 11px,transparent 11px 19px);opacity:.9}
.fx-laser.vertical .laser-beam{top:5%;bottom:5%;left:auto;right:auto;width:5px;height:auto;background:repeating-linear-gradient(180deg,#f2a1a1 0 11px,transparent 11px 19px)}
.fx-laser.active .laser-beam{height:14px;background:#fc384b;box-shadow:0 0 0 3px #ff9da4,0 0 18px 8px #ff5b6e7a;opacity:1}
.fx-laser.vertical.active .laser-beam{width:14px;height:auto}
.fx-roll,.fx-rocket{width:20%;height:20%;transform:translate(-50%,-50%)}
.fx-roll .roll-rock{width:78%;height:78%;left:11%;top:11%;opacity:0;transform:rotate(var(--spin,0deg))}
.fx-roll.active .roll-rock{opacity:1;box-shadow:inset -8px -8px 0 #292c34,inset 5px 4px 0 #c7c0b8,0 1px 10px #37343d55}
.fx-roll .travel-line,.fx-rocket .travel-line{display:none}
.fx-rocket .rocket-body{position:absolute;inset:20%;border-radius:30% 65% 65% 30%;border:3px solid #38414a;background:linear-gradient(90deg,#b4c3db,#e1efff);box-shadow:-6px 0 0 #ffa646;display:grid;place-items:center;color:#e65e51;font-size:30px;opacity:0;transform:rotate(0)}
.fx-rocket.active .rocket-body{opacity:1}
.fx-rocket.vertical .rocket-body{transform:rotate(90deg)}
.fx-rocket.reverse .rocket-body{transform:rotate(180deg)}
.fx-rocket.vertical.reverse .rocket-body{transform:rotate(-90deg)}
@keyframes skyfall{0%{transform:translateY(-290%) scale(.56) rotate(-35deg);filter:blur(2px)}74%{transform:translateY(0) scale(1.15) rotate(10deg);filter:none}100%{transform:translateY(0) scale(1) rotate(0)}}
@keyframes dust{0%{opacity:.8;transform:scale(.2)}100%{opacity:0;transform:scale(4)}}

/* v0.3: authentic falling weight + sharp shatter; no impact scaling/bloating. */
.fx-drop{inset:0;width:100%;height:100%;transform:none}
.drop-impact{position:absolute;width:20%;height:20%;transform:translate(-50%,-50%);pointer-events:none}
.fx-drop .falling-rock{position:absolute;left:13%;top:8%;width:74%;height:74%;opacity:0;
  border-radius:42% 52% 45% 57%;transform:translateY(-450%) rotate(-19deg);
  background:linear-gradient(145deg,#a7a3a1 0 18%,#7d797a 20% 58%,#4b4a54 59% 100%);
  box-shadow:inset -6px -6px 0 #35353c,inset 5px 4px 0 #c5bdaf,0 7px 5px #3b3f4a33;
  clip-path:polygon(22% 4%,69% 4%,96% 38%,88% 80%,62% 97%,16% 90%,1% 56%)}
.fx-drop .falling-rock::before{content:'';position:absolute;width:29%;height:21%;top:25%;left:26%;background:#625d60;border-radius:45%;box-shadow:15px 18px 0 #4b494f}
.fx-drop .rock-crack{position:absolute;z-index:2;top:11%;left:45%;width:28%;height:68%;background:#363640;clip-path:polygon(39% 0,58% 0,32% 37%,74% 50%,35% 100%,22% 100%,52% 53%,14% 41%);opacity:.55}
.fx-drop.incoming .falling-rock{opacity:1;animation:rockApproach .34s cubic-bezier(.35,.08,.89,.63) both}
.fx-drop.active .falling-rock{opacity:0;animation:none}
.rock-shadow{position:absolute;left:22%;top:70%;width:56%;height:13%;border-radius:50%;background:#56525a55;opacity:0}
.fx-drop.incoming .rock-shadow{opacity:.7;animation:shadowGrow .34s ease-in both}
.fx-drop.active .rock-shadow{opacity:.30}
.rock-fragments{position:absolute;inset:0;opacity:0}
.fx-drop.active .rock-fragments{opacity:1}
.rock-fragments i{position:absolute;left:38%;top:36%;width:25%;height:24%;border:2px solid #454550;background:linear-gradient(140deg,#a7a2a1,#54515a);clip-path:polygon(18% 0,90% 19%,100% 75%,29% 100%,0 50%);opacity:0}
.fx-drop.active .rock-fragments i{animation:rockShatter .35s cubic-bezier(.16,.35,.59,1) both}
.rock-fragments i:nth-child(1){--dx:-36px;--dy:-29px;--rot:-95deg}
.rock-fragments i:nth-child(2){--dx:34px;--dy:-27px;--rot:75deg}
.rock-fragments i:nth-child(3){--dx:-44px;--dy:6px;--rot:138deg}
.rock-fragments i:nth-child(4){--dx:40px;--dy:10px;--rot:-102deg}
.rock-fragments i:nth-child(5){--dx:-19px;--dy:34px;--rot:52deg}
.rock-fragments i:nth-child(6){--dx:19px;--dy:37px;--rot:-130deg}
.fx-drop .impact-ring{position:absolute;left:33%;top:33%;width:34%;height:34%;border:3px solid #c7a77b;border-radius:50%;opacity:0}
.fx-drop.active .impact-ring{animation:impactBurst .37s ease-out both}
@keyframes rockApproach {0%{transform:translateY(-380%) rotate(-18deg);filter:blur(2px)}100%{transform:translateY(0) rotate(4deg);filter:none}}
@keyframes rockShatter {0%{opacity:1;transform:translate(0,0) rotate(0deg)}70%{opacity:1}100%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--rot))}}
@keyframes impactBurst {0%{opacity:.95;transform:scale(.25)}100%{opacity:0;transform:scale(2.7)}}
@keyframes shadowGrow {from{transform:scale(.3);opacity:.15}to{transform:scale(1);opacity:.7}}
@media (max-width:420px){.rock-fragments i:nth-child(1){--dx:-26px;--dy:-23px}.rock-fragments i:nth-child(2){--dx:24px;--dy:-21px}.rock-fragments i:nth-child(3){--dx:-30px;--dy:4px}.rock-fragments i:nth-child(4){--dx:29px;--dy:7px}.rock-fragments i:nth-child(5){--dx:-13px;--dy:26px}.rock-fragments i:nth-child(6){--dx:13px;--dy:26px}}
/* v0.4 — each falling stone in a rain event animates independently. */
.drop-impact.pending,.drop-impact.done{visibility:hidden}
.drop-impact.warning,.drop-impact.active{visibility:visible}
.drop-impact.incoming .falling-rock{opacity:1;animation:rockApproach .34s cubic-bezier(.35,.08,.89,.63) both}
.drop-impact.incoming .rock-shadow{opacity:.7;animation:shadowGrow .34s ease-in both}
.drop-impact.active .falling-rock{opacity:0;animation:none}
.drop-impact.active .rock-shadow{opacity:.30}
.drop-impact.active .rock-fragments{opacity:1}
.drop-impact.active .rock-fragments i{animation:rockShatter .35s cubic-bezier(.16,.35,.59,1) both}
.drop-impact.active .impact-ring{animation:impactBurst .37s ease-out both}
.fx-laser.warning .emitter{animation:laserChargeGlow .24s infinite alternate}
.fx-laser.active .emitter{background:linear-gradient(90deg,#aab1c2,#435060,#b0cfef);box-shadow:0 0 12px #ff6164}
.fx-roll.active .roll-rock::after{content:'';position:absolute;right:60%;bottom:-8%;width:12%;height:15%;background:#d6cec3;border-radius:50%;box-shadow:9px 8px 0 #b8b1a7,17px 12px 0 #d1c9be;opacity:.8}
.fx-rocket.active .rocket-body::before{content:'';position:absolute;top:27%;left:-53%;width:60%;height:40%;border-radius:100% 0 0 100%;background:linear-gradient(90deg,#ffce55 0%,#ff813e 50%,transparent 100%);animation:rocketFlame .12s infinite alternate}
.rocket-boom{position:absolute;width:20%;height:20%;transform:translate(-50%,-50%);pointer-events:none;z-index:3}
.rocket-boom::before{content:'';position:absolute;inset:15%;border:5px solid #ffba45;border-radius:45% 55% 40% 60%;background:#ff805444;animation:impactBurst .48s ease-out both;box-shadow:0 0 17px #ffa14d}
@keyframes laserChargeGlow{from{filter:brightness(.72)}to{filter:brightness(1.4);box-shadow:0 0 8px #f79a62}}
@keyframes rocketFlame{from{transform:scaleX(.75)}to{transform:scaleX(1.25)}}
/* Swipes work across the whole game scene, without scrolling the page. */
.game-scene{touch-action:none;overscroll-behavior:contain}
