/* One 950ms slam, then a 2000ms rest. Each pose clips its own source bounds. */
.bear-win-sprite {
  display: none;
  position: absolute;
  top: 6%;
  left: 6%;
  width: 88%;
  height: 88%;
  overflow: hidden;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.25));
  pointer-events: none;
}
.cell.sym-BEAR:has(.bear-win-sprite) .symbol-img.win-anim-bear,
.reels.line-replay .cell.sym-BEAR.line-current:has(.bear-win-sprite) .symbol-img {
  visibility: hidden;
  animation: none;
}
.cell.sym-BEAR .symbol-img.win-anim-bear + .bear-win-sprite,
.reels.line-replay .cell.sym-BEAR.line-current .bear-win-sprite {
  display: block;
}
.cell.sym-BEAR .symbol-img.win-anim-bear + .bear-win-sprite .bear-sprite-frames,
.reels.line-replay .cell.sym-BEAR.line-current .bear-sprite-frames {
  transform-box: fill-box;
  transform-origin: 0 0;
  animation: bear-slam-frames 2950ms step-end infinite;
}
/* Frames 6 and 8 are omitted: drawn streaks and a neighboring glove fragment. */
@keyframes bear-slam-frames {
  0% { transform: translate(0%, 0%); clip-path: polygon(0.558214% 1.036683%, 25.039872% 1.036683%, 25.039872% 24.800638%, 0.558214% 24.800638%); }
  3.389831% { transform: translate(-25%, 0%); clip-path: polygon(25.518341% 1.036683%, 50% 1.036683%, 50% 24.800638%, 25.518341% 24.800638%); }
  5.932204% { transform: translate(-50%, 0%); clip-path: polygon(50.558214% 0.717703%, 74.720893% 0.717703%, 74.720893% 24.242424%, 50.558214% 24.242424%); }
  8.474577% { transform: translate(-75%, 0%); clip-path: polygon(75.279107% 0.637959%, 99.760766% 0.637959%, 99.760766% 23.8437%, 75.279107% 23.8437%); }
  11.016949% { transform: translate(0%, -25%); clip-path: polygon(0.637959% 25.119617%, 25.039872% 25.119617%, 25.039872% 46.889952%, 0.637959% 46.889952%); }
  13.559322% { transform: translate(-50%, -25%); clip-path: polygon(50.398724% 30.781499%, 74.960128% 30.781499%, 74.960128% 49.521531%, 50.398724% 49.521531%); }
  16.271186% { transform: translate(0%, -50%); clip-path: polygon(0.079745% 55.023923%, 25.039872% 55.023923%, 25.039872% 74.720893%, 0.079745% 74.720893%); }
  18.644068% { transform: translate(-25%, -50%); clip-path: polygon(25.119617% 55.023923%, 50% 55.023923%, 50% 74.720893%, 25.119617% 74.720893%); }
  21.186441% { transform: translate(-50%, -50%); clip-path: polygon(50.478469% 53.508772%, 74.960128% 53.508772%, 74.960128% 74.880383%, 50.478469% 74.880383%); }
  23.728814% { transform: translate(-75%, -50%); clip-path: polygon(76.236045% 52.472089%, 99.760766% 52.472089%, 99.760766% 74.800638%, 76.236045% 74.800638%); }
  26.271187% { transform: translate(0%, -75%); clip-path: polygon(0.478469% 76.076555%, 25.039872% 76.076555%, 25.039872% 99.760766%, 0.478469% 99.760766%); }
  28.813560% { transform: translate(-25%, -75%); clip-path: polygon(25.518341% 76.076555%, 50% 76.076555%, 50% 99.760766%, 25.518341% 99.760766%); }
  30.508475% { transform: translate(-50%, -75%); clip-path: polygon(50.558214% 76.076555%, 74.960128% 76.076555%, 74.960128% 99.760766%, 50.558214% 99.760766%); }
  31.355932% { transform: translate(-75%, -75%); clip-path: polygon(75.518341% 76.076555%, 100% 76.076555%, 100% 99.760766%, 75.518341% 99.760766%); }
  32.203390% { transform: translate(0%, 0%); clip-path: polygon(0.558214% 1.036683%, 25.039872% 1.036683%, 25.039872% 24.800638%, 0.558214% 24.800638%); }
  100% { transform: translate(0%, 0%); clip-path: polygon(0.558214% 1.036683%, 25.039872% 1.036683%, 25.039872% 24.800638%, 0.558214% 24.800638%); }
}
@media (prefers-reduced-motion: reduce) {
  .cell.sym-BEAR .bear-win-sprite { display: none !important; }
  .bear-sprite-frames { animation: none !important; }
  .cell.sym-BEAR:has(.bear-win-sprite) .symbol-img { visibility: visible !important; animation: none !important; }
}
