@property --wind{syntax:"<number>";inherits:true;initial-value:0}.striker-hold{-webkit-user-select:none;user-select:none;gap:.4rem;max-width:18rem;margin:0 auto;font-family:Shantell Sans,sans-serif;display:grid;container-type:inline-size}.striker-hold .tower{aspect-ratio:160/260;background:url(/examples/ink/computed-striker-tower.svg) 50%/contain no-repeat;margin-bottom:-3cqw;position:relative}.striker-hold .tower:before{content:"HERO!\a Strong\a Not bad\a Wimp";text-align:center;white-space:pre;width:32.5%;font-size:.8rem;font-weight:700;line-height:27.8cqw;position:absolute;top:12.3cqw;left:52.5%}.striker-hold .tower:after{content:"";aspect-ratio:40/32;transform-origin:50% 10%;background:url(/examples/ink/computed-name-striker-bell.svg) 50%/contain no-repeat;width:25%;position:absolute;top:1.5%;left:25%}.striker-hold i{--top:calc(13.1% + var(--at) * 0.685%);--rise:calc(.2s + sqrt(var(--at)) * 55ms);background:50%/contain no-repeat;position:absolute;bottom:13.1%}.striker-hold .puck{aspect-ratio:20/12;width:12.5%;animation:fly calc(var(--rise) * 2) both;background-image:url(/examples/ink/computed-name-striker-puck.svg);left:31.25%}@keyframes fly{0%{animation-timing-function:linear(0, .19, .36, .51, .64, .75, .84, .91, .96, .99, 1)}50%{bottom:var(--top);animation-timing-function:linear(0, .04 15%, .16 30%, .36 45%, .64 60%, 1 75%, .93 83%, 1 90%, .985 95%, 1)}}.striker-hold [data-odd]{animation-name:fly-again}@keyframes fly-again{0%{animation-timing-function:linear(0, .19, .36, .51, .64, .75, .84, .91, .96, .99, 1)}50%{bottom:var(--top);animation-timing-function:linear(0, .04 15%, .16 30%, .36 45%, .64 60%, 1 75%, .93 83%, 1 90%, .985 95%, 1)}}.striker-hold .flag{left:3.75%;bottom:var(--top);aspect-ratio:44/26;width:27.5%;transition:bottom .3s var(--rise) cubic-bezier(.3, 1.5, .5, 1);counter-reset:best var(--at);background-image:url(/examples/ink/computed-striker-flag.svg);margin-bottom:-8.125%}.striker-hold .flag:after{content:counter(best);color:#2d2a24;place-items:center;font-size:.8rem;font-style:normal;font-weight:700;display:grid;position:absolute;inset:0 45% 0 8%}.striker-hold b{font-size:1.2rem;animation:.4s cubic-bezier(.3,1.6,.5,1) .75s both pop;position:absolute;top:0;left:52%;rotate:8deg}@keyframes pop{0%{opacity:0;scale:.3}}.striker-hold .tower:has(b):after{animation:.15s ease-in-out .75s 4 alternate ring}@keyframes ring{0%{rotate:-9deg}to{rotate:9deg}}.striker-hold button{color:inherit;font:inherit;touch-action:none;-webkit-touch-callout:none;cursor:grab;background:url(/examples/ink/computed-striker-hold.svg) top/100% no-repeat;border:2px solid;border-radius:10px;padding:44cqw 0 .4rem;font-size:.8rem;font-weight:700;position:relative}.striker-hold button:active{cursor:grabbing}.striker-hold button:focus-visible{outline-offset:2px;outline:2px dashed}.striker-hold button:before{content:"";aspect-ratio:100/28;transform-origin:8%;width:62.5cqw;rotate:calc(var(--wind) * -40deg);background:url(/examples/ink/computed-striker-mallet.svg) 50%/contain no-repeat;position:absolute;top:16.25cqw;left:1.25cqw}.striker-hold button:after{content:"";aspect-ratio:16/46;width:10cqw;clip-path:inset(calc((1 - var(--wind)) * 100%) 0 0);background:url(/examples/ink/computed-striker-fill.svg) 50%/contain no-repeat;position:absolute;top:4.375cqw;left:80cqw}.striker-hold p{text-align:center;margin:0;font-weight:700}@media (prefers-reduced-motion:reduce){.striker-hold .puck{bottom:var(--top);animation:none}.striker-hold *{transition:none}}
