.catscale{--tilt:clamp(-12deg, (var(--kg) - 6) * 6deg, 12deg);-webkit-user-select:none;user-select:none;flex-wrap:wrap;justify-content:center;gap:.5rem;max-width:20rem;margin:0 auto;font-family:Shantell Sans,sans-serif;display:flex}.catscale .scale{aspect-ratio:240/180;background:url(/examples/ink/computed-name-scale.svg) 50%/contain no-repeat;width:100%;position:relative;container-type:inline-size}.catscale i{background:50%/contain no-repeat;transition:rotate .8s cubic-bezier(.3,1.4,.5,1),translate .8s cubic-bezier(.3,1.4,.5,1);position:absolute}.catscale .beam{aspect-ratio:168/12;width:70%;rotate:var(--tilt);background-image:url(/examples/ink/computed-name-scale-beam.svg);top:18.9%;left:15%}.catscale .cat,.catscale .pan{aspect-ratio:60/70;width:30%;top:20.9%}.catscale .cat{translate:0 calc(sin(var(--tilt)) * -33.3cqw);background-image:url(/examples/ink/computed-name-scale-cat.svg);left:1.7%}.catscale .cat:after{content:"";opacity:clamp(0, var(--kg) - 6, 1);background:url(/examples/ink/computed-name-scale-up.svg) 50%/contain no-repeat;position:absolute;inset:0}.catscale .pan{translate:0 calc(sin(var(--tilt)) * 33.3cqw);background-image:url(/examples/ink/computed-name-scale-pan.svg);left:68.3%}.catscale .pan:after{content:"";width:40%;height:calc(min(var(--kg), 9) * 8.57%);background:url(/examples/ink/computed-name-scale-weights.svg) bottom/100% no-repeat;position:absolute;bottom:17.1%;left:30%}.catscale p{text-align:center;width:100%;margin:0}.catscale button{color:inherit;font:inherit;cursor:pointer;background:0 0;border:2px solid;border-radius:6px;padding:.4em .8em}.catscale button:focus-visible{outline-offset:2px;outline:2px dashed}@media (prefers-reduced-motion:reduce){.catscale i{transition:none}}
