/* Candy light, a soft shatter, then the real server-driven tumble. */
#board .tile.scatter-focus{overflow:visible;z-index:5}
#board .tile.scatter-focus>.piece{opacity:0}
#board .scatter-mark.scatter-arriving{animation:scatterCandyArrival .54s cubic-bezier(.25,.7,.3,1) both;z-index:5}
#board .scatter-mark.scatter-landed img{animation:scatterCandyLand .3s ease-out both}
#board .scatter-mark.lamb-win{animation:scatterCandyWin .72s ease-in-out infinite}
#board .scatter-mark.lamb-win img{animation:none;filter:drop-shadow(0 0 5px #ffe697)}
.scatter-suspense{left:50%;transform:translateX(-50%);width:min(64%,210px);padding:8px 12px;border-radius:18px;font-size:14px;line-height:1.15;background:#482156ed;border:1px solid #ffe4a5;box-shadow:0 3px 12px #210b4870;pointer-events:none}
.scatter-suspense b{font-size:11px}
.scatter-wait{border:2px solid #ffe393;border-radius:22%;background:radial-gradient(#ffcf7580,#833a8c50);color:#fff5b6;box-shadow:0 0 12px #ffcf75a0}
.scatter-celebration-halo{position:absolute;inset:3%;border:3px solid #ffefab;border-radius:50%;box-shadow:0 0 24px #ffc5de,inset 0 0 24px #ffedb9;pointer-events:none;z-index:9;animation:scatterCandyHalo 1.05s ease-out both}
#bonusModal .bonus-board.bonus-matches-visible .bonus-tile:not(.hit):not(.bonus-multiplier):not(.bonus-lamb) .bonus-symbol{opacity:.66;filter:saturate(.82)}
#bonusModal .bonus-tile.hit{background:radial-gradient(at 50% 35%,#af70a5,#682771);box-shadow:inset 0 0 0 2px #affaff,0 0 7px #a5eeff88;border-color:#fff0b0;z-index:3}
#bonusModal .bonus-tile.hit:not(.burst) .bonus-symbol{animation:candyMatchGleam .65s ease-out both}
.bonus-hit-glint{position:absolute;inset:0;border-radius:inherit;overflow:hidden;pointer-events:none;z-index:4}
.bonus-hit-glint::after{content:"";position:absolute;inset:-40%;background:linear-gradient(115deg,transparent 38%,#fffac385 50%,transparent 62%);animation:candySheen .6s ease-out both}
#bonusModal .bonus-tile.burst{background:radial-gradient(#ffdf9c50,#662c7350);box-shadow:inset 0 0 0 1px #ffe49570}
#bonusModal .bonus-tile.burst .bonus-symbol{animation:candyLightShatter .6s ease-in both}
#bonusModal .bonus-tile.burst .bonus-hit-glint{display:none}
.candy-burst-particles{position:absolute;inset:0;pointer-events:none;z-index:7;overflow:visible}
.candy-burst-particles::before{content:"";position:absolute;inset:24%;border:2px solid #fff5ba;border-radius:50%;box-shadow:0 0 8px #ffaedf;animation:candyBurstRing .52s ease-out both}
.candy-shard{position:absolute;top:50%;left:50%;width:clamp(3px,.8vw,6px);height:clamp(3px,.8vw,6px);background:var(--shard-color);border-radius:35%;box-shadow:0 0 4px var(--shard-color);animation:candyShardFly .6s ease-out both}
.candy-shard.star{border-radius:0;clip-path:polygon(50% 0,62% 35%,100% 50%,62% 65%,50% 100%,38% 65%,0 50%,38% 35%);width:9px;height:9px}
#bonusModal .bonus-scatter-landed .bonus-symbol{animation:scatterCandyLand .3s ease-out both}
@keyframes scatterCandyArrival{0%{opacity:0;transform:translateY(calc(-1 * var(--scatter-travel))) scale(.8) rotate(-7deg)}20%{opacity:1}80%{transform:translateY(3px) scale(1.06) rotate(2deg)}100%{opacity:1;transform:none}}
@keyframes scatterCandyLand{0%{transform:scale(1.08);filter:brightness(1.5) drop-shadow(0 0 7px #ffe7a1)}100%{transform:none;filter:none}}
@keyframes scatterCandyWin{0%,100%{transform:scale(1)}45%{transform:scale(1.1) rotate(-3deg)}70%{transform:scale(1.04) rotate(2deg)}}
@keyframes scatterCandyHalo{0%{transform:scale(.28);opacity:0}22%{opacity:.8}100%{transform:scale(1.18);opacity:0}}
@keyframes candyMatchGleam{0%{filter:brightness(1);transform:scale(1)}45%{filter:brightness(1.4) saturate(1.2);transform:scale(1.06)}100%{filter:brightness(1.14);transform:scale(1)}}
@keyframes candySheen{from{transform:translateX(-80%)}to{transform:translateX(80%)}}
@keyframes candyLightShatter{0%{opacity:1;transform:scale(1);filter:brightness(1.15)}22%{opacity:1;transform:scale(1.12);filter:brightness(2) saturate(.4) drop-shadow(0 0 5px #fff1a1)}45%{opacity:.25;transform:scale(.55);filter:brightness(2.2)}68%,100%{opacity:0;transform:scale(.08);filter:brightness(1)}}
@keyframes candyBurstRing{0%{opacity:0;transform:scale(.2)}25%{opacity:.85}100%{opacity:0;transform:scale(2.1)}}
@keyframes candyShardFly{0%{opacity:0;transform:translate(-50%,-50%) scale(.3)}18%{opacity:1}100%{opacity:0;transform:translate(calc(-50% + var(--shard-x)),calc(-50% + var(--shard-y))) rotate(var(--shard-rotate)) scale(.25)}}
.app-shell.reduced-fx #board .scatter-mark,.app-shell.reduced-fx #board .scatter-mark img,.app-shell.reduced-fx #bonusModal .bonus-tile.hit .bonus-symbol{animation:none!important;transform:none!important}
.app-shell.reduced-fx #bonusModal .bonus-tile.burst .bonus-symbol{opacity:0!important}
.app-shell.reduced-fx .candy-burst-particles,.app-shell.reduced-fx .bonus-hit-glint,.app-shell.reduced-fx .scatter-celebration-halo{display:none}
@media(prefers-reduced-motion:reduce){#board .scatter-mark,#board .scatter-mark img,#bonusModal .bonus-tile.hit .bonus-symbol{animation:none!important;transform:none!important}#bonusModal .bonus-tile.burst .bonus-symbol{opacity:0!important}.candy-burst-particles,.bonus-hit-glint,.scatter-celebration-halo{display:none}}
