.door-closeup.penguin-performance{width:min(96vw,710px,calc(100dvh - 150px));max-height:97dvh}
.penguin-performance .door-closeup-panel{padding:clamp(.55rem,2vw,.9rem)}
.penguin-performance .penguin-closeup{container-type:inline-size}
.penguin-performance .painted-penguin{left:48%;bottom:-1%;width:94%}
.penguin-performance[open] .painted-penguin{animation:penguin-arrive .43s cubic-bezier(.19,.85,.31,1.15) both}
.penguin-performance .penguin-placard{left:86%;bottom:12%;z-index:5}
.penguin-flap-window{position:absolute;inset:0;overflow:hidden;visibility:hidden;pointer-events:none}
.penguin-performance .penguin-flap-strip{width:200%;max-width:none;object-fit:fill}
.penguin-reveal-light{position:absolute;inset:0;pointer-events:none;opacity:0;background:radial-gradient(ellipse at 50% 60%,#fff7c4b0,transparent 70%)}

.penguin-performance .door-performing .painted-penguin{animation:penguin-perform 1.98s ease-in-out both}
.penguin-performance .door-performing .penguin-placard{animation:penguin-number-flight .94s linear both}
.penguin-performance .door-performing .has-flap-frames .penguin-rest-pose{animation:penguin-flap-rest .96s .82s}
.penguin-performance .door-performing .has-flap-frames .penguin-flap-window{animation:penguin-flap-show .96s .82s}
.penguin-performance .door-performing .penguin-flap-strip{animation:penguin-flap-frames .24s .82s steps(1,end) 4}
.penguin-performance .door-performing .penguin-reveal-light{animation:penguin-reveal-light .36s 1.79s ease-out both}

@keyframes penguin-arrive{
  from{opacity:0;transform:scale(.48) translateY(22%)}
  to{opacity:1;transform:none}
}
@keyframes penguin-perform{
  0%,100%{transform:none}
  11%{transform:translate(1cqw,1cqw) rotate(8deg) scale(.97,1.02)}
  26%{transform:translate(-4cqw,-3cqw) rotate(-8deg)}
  38%,50%,62%,74%{transform:translateY(-2cqw) rotate(-2deg)}
  44%,56%,68%,80%{transform:translateY(-.4cqw) rotate(2deg)}
}
@keyframes penguin-number-flight{
  0%{transform:none}
  23%{transform:translate(3cqw,4cqw) rotate(22deg)}
  43%{transform:translate(-20cqw,-43cqw) rotate(-62deg)}
  64%{transform:translate(-49cqw,-63cqw) rotate(-157deg)}
  88%{opacity:1;transform:translate(-77cqw,-53cqw) rotate(-265deg)}
  100%{opacity:0;transform:translate(-100cqw,-41cqw) rotate(-345deg)}
}
@keyframes penguin-flap-rest{from,to{visibility:hidden}}
@keyframes penguin-flap-show{from,to{visibility:visible}}
@keyframes penguin-flap-frames{0%{transform:none}48%{transform:translateX(-50%)}}
@keyframes penguin-reveal-light{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){
  .penguin-performance[open] .painted-penguin{animation:none}
}
