/* Larry's runtime styles (shared by the lab and the game). The host element gets `.larry-host`; its
   width decides Larry's size (the figure box fills it, aspect-ratio set by larry.js). */
.larry-host { position: relative; overflow: visible; }
/* the floating icon above the open palm: bobs vertically, glows, sits above every face layer */
.larry-float { position: absolute; width: 320px; height: 320px; margin: -160px 0 0 -160px; z-index: 9; display: none; pointer-events: none;
  filter: drop-shadow(0 0 18px rgba(253, 230, 138, .75)) drop-shadow(0 30px 24px rgba(0, 0, 0, .45)); }
.larry-float.show { display: block; animation: larryFloatIn .35s cubic-bezier(.2, 1, .3, 1) both, larryFloatBob 2.2s ease-in-out .35s infinite; }
.larry-float img { display: block; width: 100%; height: 100%; object-fit: contain; }
@keyframes larryFloatBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-30px); } }
@keyframes larryFloatIn { from { opacity: 0; transform: translateY(40px) scale(.6); } to { opacity: 1; transform: none; } }
/* pose change: a quick squash-and-stretch bounce of the whole rig, pivoting on the feet (larry.js adds
   .is-bouncing on every pose swap) */
.larry-rig { transform-origin: 50% 99%; }
.larry-rig.is-bouncing { animation: larryBounce .6s ease-in-out both; }
@keyframes larryBounce {
  0% { transform: none; }
  30% { transform: scale(1.018, .978); }
  62% { transform: scale(.992, 1.01) translateY(-5px); }
  100% { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .larry-rig.is-bouncing { animation: none; } }
