/* Large cutout boards and bursts adapted from the supplied gameplay recording. */
.board-space{padding-right:0}.board-footer{min-height:41px;justify-content:center;padding-right:0}
.animal-grid.shaped{gap:1px;padding:5px;filter:drop-shadow(0 5px 9px #012d5960)}
.animal-grid.shaped .animal-tile{border-radius:6px;background:linear-gradient(145deg,#e8faf6f2,#c6e7e9f0);box-shadow:inset 0 1px 0 #fff,0 2px 0 #397b8e66}
.animal-grid.shaped .animal-tile:before{border:1px solid #77bac755;border-radius:6px}
.animal-grid.shaped .animal-tile:nth-child(even){background:linear-gradient(145deg,#d5f0eaf5,#b7dbdef2)}
.animal-grid.shaped .fusion-piece:not(.bonus-piece){filter:url('#sprite-clean') drop-shadow(0 3px 2px #21596666)}
.animal-tile.exploding{z-index:4}.animal-tile.exploding .fusion-piece{animation:arcade-piece-pop .24s ease-in forwards}
@keyframes arcade-piece-pop{0%{scale:1;opacity:1}25%{scale:1.16;filter:brightness(1.8)}100%{scale:.15;opacity:0}}
.game-shell.impact .grid-area{animation:arcade-impact .36s ease-out}
@keyframes arcade-impact{0%,100%{translate:0 0}18%{translate:-3px 3px}38%{translate:4px -2px}62%{translate:-2px 1px}}
.level-message{top:44%;background:transparent;border:0;box-shadow:none;color:#fff091;font-size:clamp(19px,3.5vw,35px);text-shadow:0 3px 0 #99510f,0 0 8px #413721;z-index:125}
.bonus-born{z-index:6}.bonus-born:after{content:'';position:absolute;inset:-15%;pointer-events:none;border:3px solid #fff59d;border-radius:50%;animation:bonus-birth-ring .5s ease-out forwards}
@keyframes bonus-birth-ring{from{scale:.3;opacity:1}to{scale:1.5;opacity:0}}
.objective-list{display:flex;align-items:center;gap:10px}.objective-item{display:flex;align-items:center;gap:4px;font-weight:900;color:#fff9c3;white-space:nowrap}.objective-icon{position:relative;display:block;width:27px;height:27px}.objective-icon .fusion-piece{inset:0;width:100%;height:100%}.objective-ice{display:block;width:25px;height:25px;border-radius:7px;background:linear-gradient(135deg,#ffffff,#7bd9ffc0);border:2px solid #dcffff;box-shadow:inset 0 0 4px white}.objective-item.completed{color:#9affb4}
.ice-sheet{position:absolute;inset:4%;pointer-events:none;border:2px solid #c5f8ffb0;border-radius:12%;background:linear-gradient(135deg,#d6ffff77,transparent 45%,#62caff55);box-shadow:inset 0 0 12px #ceffff77;z-index:5}
.ice-sheet:before,.ice-sheet:after{content:'';position:absolute;inset:12%;border-top:1px solid #f0ffff99;rotate:-35deg;clip-path:polygon(0 0,100% 0,100% 40%,0 100%)}
.ice-sheet[data-hp="1"]{background:linear-gradient(140deg,#cfffff33,transparent 60%);border-style:dashed}.ice-sheet[data-hp="1"]:after{inset:15%;border:2px solid #edffffcc;border-left:0;border-bottom:0;rotate:25deg;clip-path:polygon(0 0,100% 0,100% 100%,75% 60%,40% 100%,30% 30%)}
.ice-hit{animation:ice-crack .25s ease-out}@keyframes ice-crack{40%{filter:brightness(1.7);scale:1.08}100%{scale:1}}
@media(max-width:620px){.board-footer{min-height:41px;padding-right:0}.animal-grid.shaped{gap:1px;padding:3px}.status-bar{gap:8px}.objective-list{gap:5px}.objective-icon{width:22px;height:22px}.objective-item{font-size:11px}.objective-ice{width:20px;height:20px}}
@media(prefers-reduced-motion:reduce){.animal-tile.exploding .fusion-piece,.game-shell.impact .grid-area,.bonus-born:after,.ice-hit{animation:none}.animal-tile.exploding .fusion-piece{opacity:0}}
.magnet-fusion-layer{position:fixed;inset:0;z-index:119;pointer-events:none}.magnet-fusion-shade{position:absolute;inset:0;background:#071027;opacity:0}.fusion-hidden{visibility:hidden}.fusion-magnet{filter:drop-shadow(0 0 15px #fff3a5);z-index:121}.magnet-fusion-core{position:absolute;border-radius:50%;pointer-events:none;background:radial-gradient(circle,#fff 0 8%,#fff9c8 15%,#fff29b99 28%,#89ffff66 43%,#bb74ff30 60%,transparent 72%);box-shadow:0 0 55px #ffed9950;transform:translate(-50%,-50%);opacity:0}.magnet-fusion-core:before,.magnet-fusion-core:after{content:'';position:absolute;inset:15%;border-radius:50%;border:5px solid #fff5b8;box-shadow:0 0 22px #fff3ac;transform:rotateX(65deg) rotateZ(25deg)}.magnet-fusion-core:after{transform:rotateY(65deg) rotateZ(-25deg);border-color:#bfffff}
.game-shell.fusion-impact .grid-area{animation:magnetic-impact .55s ease-out}@keyframes magnetic-impact{0%,100%{transform:translate(0) scale(1)}12%{transform:translate(-6px,4px) scale(1.025)}30%{transform:translate(6px,-4px) scale(1.015)}52%{transform:translate(-3px,2px) scale(1.006)}75%{transform:translate(2px,-1px) scale(1)}}
.magnet-fusion-core{box-shadow:0 0 70px #ffed9970}.magnet-fusion-core:before{border-width:7px}.magnet-fusion-core:after{border-width:6px}
@media(prefers-reduced-motion:reduce){.game-shell.fusion-impact .grid-area{animation:none}}
.bonus-fusion-layer .magnet-fusion-core{background:radial-gradient(circle,#fff 0 7%,#fff9d9 14%,#9dfcff90 29%,#3ed3ff35 45%,transparent 68%);box-shadow:none}.bonus-fusion-layer .magnet-fusion-core:before,.bonus-fusion-layer .magnet-fusion-core:after{display:none}.bonus-fusion-layer .fusion-magnet{filter:drop-shadow(0 0 7px #bffaff) drop-shadow(0 4px 6px #063d6880)}.bonus-fusion-ribbon{position:absolute;border-radius:50%;background:conic-gradient(from 0deg,transparent 0deg 95deg,#83edff35 120deg,#bfffff 170deg,#fff 180deg,transparent 181deg 275deg,#ffdf7635 300deg,#fff1b5 350deg,#fff 360deg);mask:radial-gradient(circle,transparent 54%,#000 58% 65%,transparent 70%);filter:drop-shadow(0 0 6px #82f1ff);opacity:0;pointer-events:none}
.magnet-fusion-core{background:radial-gradient(circle,#fff 0 10%,#fff6c7 18%,#ffd65d99 30%,#ffba3e44 47%,transparent 72%);box-shadow:none}.magnet-fusion-core:before,.magnet-fusion-core:after{display:none}.bonus-fusion-layer .magnet-fusion-core{background:radial-gradient(circle,#fff 0 9%,#fff6c7 18%,#ffdf7580 35%,#ffb93628 50%,transparent 70%)}
.bonus-bomb{background-image:none!important}.bomb-body{inset:0;background:url('/fusion-bonus-sprites-v2.png') 0 0/200% 200% no-repeat;clip-path:polygon(0 0,55% 0,55% 27%,68% 31%,72% 36%,100% 36%,100% 100%,0 100%)}
.bomb-live-fuse{position:absolute;inset:0;width:100%;height:100%;overflow:visible;fill:none}.bomb-fuse-char{stroke:#432713;stroke-width:5;stroke-linecap:round}.bomb-fuse-rope{stroke:#ffb546;stroke-width:4;stroke-linecap:round;stroke-dasharray:100;animation:bomb-rope-smolder 6s ease-in-out infinite}.bomb-fuse-ember{offset-path:path('M78 20Q66 12 61 25');offset-rotate:0deg;offset-distance:0%;animation:bomb-ember-smolder 6s ease-in-out infinite}.bomb-fire-halo{fill:#ffbd3830;filter:drop-shadow(0 0 2px #ff8318)}.bomb-fire{fill:#ffba28;animation:bomb-fire-flicker .18s ease-in-out infinite alternate;transform-origin:0 2px}.bomb-fire-sparks{stroke:#fff3a8;stroke-width:.7;animation:bomb-spark-flicker .31s ease-out infinite alternate}
.animal-grid:not([aria-busy=true]) .bonus-bomb{animation:bomb-idle-rock 3.2s ease-in-out infinite;animation-delay:var(--idle-delay,0s);transform-origin:50% 76%}
@keyframes bomb-idle-rock{0%,100%{transform:translateY(-2%) rotate(-2deg)}50%{transform:translateY(-3%) rotate(2deg)}}
@keyframes bomb-rope-smolder{0%,100%{stroke-dashoffset:0}65%{stroke-dashoffset:24}}
@keyframes bomb-ember-smolder{0%,100%{offset-distance:0%}65%{offset-distance:24%}}
@keyframes bomb-fire-flicker{from{transform:scale(.8,1);opacity:.8}to{transform:scale(1.15,.88);opacity:1}}
@keyframes bomb-spark-flicker{from{opacity:.2;transform:scale(.8)}to{opacity:1;transform:scale(1.2)}}
.animal-tile.fuse-lit .bomb-fuse-rope{animation:bomb-fuse-burn .65s linear forwards!important;animation-play-state:running!important}.animal-tile.fuse-lit .bomb-fuse-ember{animation:bomb-ember-burn .65s linear forwards!important;animation-play-state:running!important}.animal-tile.fuse-lit .bomb-fire,.animal-tile.fuse-lit .bomb-fire-sparks{animation-play-state:running!important}
@keyframes bomb-fuse-burn{to{stroke-dashoffset:100}}@keyframes bomb-ember-burn{to{offset-distance:100%}}
@media(prefers-reduced-motion:reduce){.bonus-bomb,.bomb-fuse-rope,.bomb-fuse-ember,.bomb-fire,.bomb-fire-sparks{animation:none!important}}
.bomb-fuse-ember{offset-path:none!important;animation:none!important}.animal-tile.fuse-lit .bomb-fuse-ember{animation:none!important}
@media(prefers-reduced-motion:reduce){.bomb-fuse-ember{display:none}}
.bomb-fire-halo{fill:#ffb02e88;filter:drop-shadow(0 0 4px #ff7b18)}.bomb-fire{filter:drop-shadow(0 0 2px #fff09c);transform-box:fill-box}.bomb-fire-sparks{stroke:#fff8c9;stroke-width:1.15;filter:drop-shadow(0 0 1px #ff9f24)}.bomb-flying-spark{fill:#fff7b4;filter:drop-shadow(0 0 1.4px #ff8c16)}
.animal-tile.fuse-lit .bomb-fire-halo{fill:#ffbd36bb}.animal-tile.fuse-lit .bomb-fire-sparks{stroke-width:1.7}
.bomb-fire-halo{rx:12px;ry:10px;fill:#ffbd38aa}.bomb-fire-sparks{stroke-width:1.8}.bomb-fire{scale:1.35}.bomb-flying-spark{filter:drop-shadow(0 0 2px #ff971e)}
/* The bottom edge of the bomb above the rocket leaks into this atlas cell. */
.bonus-row,.bonus-vertical{clip-path:inset(9% 0 0)}
