.box-puppet{display:none}.paper-character.roaming{width:76px;height:88px}.roaming>svg{display:none}.roaming .box-puppet{perspective:250px;pointer-events:none;display:block;position:absolute;inset:0}.puppet-rig{transform-style:preserve-3d;transform:rotateY(var(--heading,-15deg));transition:transform .2s;position:absolute;inset:0}.puppet-cube{width:42px;height:37px;transform-style:preserve-3d;position:absolute;top:30px;left:17px;transform:rotateX(-9deg)}.cube-front,.cube-side,.cube-top{background:#315f46;border-radius:4px;position:absolute;inset:0}.cube-front{background:linear-gradient(130deg,#63866a,#244f37 85%);padding:3px;transform:translateZ(10px)}.cube-side{transform-origin:100%;background:linear-gradient(100deg,#244735,#133e2b);width:20px;left:auto;transform:translateZ(-10px)rotateY(90deg)}.cube-top{transform-origin:top;background:radial-gradient(#213b2d 0 39%,#0000 42%),#68896e;height:20px;transform:translateZ(-10px)rotateX(90deg)}.puppet-paper{transform-origin:bottom;clip-path:polygon(12% 100%,0 25%,21% 31%,28% 3%,52% 10%,66% 32%,99% 20%,82% 100%);background:linear-gradient(67deg,#eeeadd 0 26%,#fffef8 30% 55%,#d4d5c8 61%,#fff 70%);width:30px;height:21px;position:absolute;bottom:100%;left:6px;transform:rotate(-6deg)}.puppet-face{background:#f6f0df;border-radius:3px;height:100%;display:block;position:relative;overflow:hidden}.puppet-face:before{content:"";background:url(/images/box-character.jpg) 19% 42.1%/685%;position:absolute;inset:67% 0 0}.puppet-eye{width:5px;height:7px;transform:translate(calc(var(--gaze-x,0px) * .32),calc(var(--gaze-y,0px) * .32));background:radial-gradient(circle at 66% 27%,#fff 0 12%,#0000 18%),#223c2d;border-radius:50%;position:absolute;top:24%}.puppet-eye.left{left:20%}.puppet-eye.right{right:20%}.puppet-mouth{background:#824e45;border-radius:1px 1px 6px 6px;width:21%;height:13%;position:absolute;top:51%;left:40%}.puppet-arm,.puppet-leg,.puppet-arm i,.puppet-leg i{transform-origin:50% 2px;background:linear-gradient(90deg,#264a36,#719178);border-radius:5px;width:5px;display:block;position:absolute}.puppet-arm{height:12px;top:40px}.puppet-arm.left{--rest:19deg;left:14px}.puppet-arm.right{--rest:-19deg;right:14px}.puppet-arm{transform:rotate(var(--rest))}.puppet-arm i,.puppet-leg i{height:9px;top:76%;left:0}.puppet-arm b,.puppet-leg b{background:radial-gradient(at 35% 25%,#fff8e9,#d4c4a6);border-radius:45%;width:9px;height:8px;position:absolute;top:65%;left:-2px}.puppet-leg{height:11px;top:65px}.puppet-leg.left{left:25px}.puppet-leg.right{right:25px}.puppet-leg b{background:radial-gradient(at 35% 10%,#66906b,#264a35 75%);width:13px;top:60%;left:-4px}.puppet-stars{color:#ac7104;width:60%;height:15px;display:none;position:absolute;top:0;left:20%}.puppet-stars i{text-shadow:0 1px #fff;font:700 15px/1 Georgia,serif;animation:1s linear infinite puppet-star;position:absolute}.puppet-stars i:nth-child(2){animation-delay:-.33s}.puppet-stars i:nth-child(3){animation-delay:-.66s}[data-dizzy=true] .puppet-stars{display:block}[data-dizzy=true] .puppet-eye{background:0 0;transform:none}[data-dizzy=true] .puppet-eye:before,[data-dizzy=true] .puppet-eye:after{content:"";background:#203626;width:2px;height:8px;position:absolute;left:2px;transform:rotate(43deg)}[data-dizzy=true] .puppet-eye:after{transform:rotate(-43deg)}[data-action=walk] .puppet-leg,[data-action=climb] .puppet-leg,[data-action=held] .puppet-leg{animation:puppet-step var(--beat,.52s) ease-in-out infinite alternate}[data-action=walk] .puppet-arm,[data-action=climb] .puppet-arm,[data-action=held] .puppet-arm{animation:puppet-reach var(--beat,.52s) ease-in-out infinite alternate}[data-action=walk] .puppet-leg i,[data-action=climb] .puppet-leg i,[data-action=held] .puppet-leg i{animation:puppet-knee var(--beat,.52s) ease-in-out infinite alternate}.puppet-rig .puppet-leg.right,.puppet-rig .puppet-leg.right i,.puppet-rig .puppet-arm.left{animation-delay:calc(-1 * var(--beat,.52s))}[data-action=held]{--beat:.13s;--reach:115deg;--stride:48deg}[data-action=held] .puppet-rig{animation:.16s ease-in-out infinite alternate puppet-wriggle}[data-action=climb]{--reach:153deg;--beat:.32s;--stride:43deg}[data-action=wave] .puppet-arm.right{animation:.36s ease-in-out 6 alternate puppet-wave}@keyframes puppet-step{0%{transform:rotate(calc(-1 * var(--stride,28deg)))}to{transform:rotate(var(--stride,28deg))}}@keyframes puppet-knee{0%{transform:rotate(8deg)}to{transform:rotate(-36deg)}}@keyframes puppet-reach{0%{transform:rotate(calc(var(--rest) - var(--reach,23deg)))}to{transform:rotate(calc(var(--rest) + var(--reach,23deg)))}}@keyframes puppet-wave{0%{transform:rotate(-120deg)}to{transform:rotate(-154deg)}}@keyframes puppet-wriggle{0%{transform:translate(-2px)rotate(-8deg)rotateY(-15deg)}to{transform:translate(2px)rotate(8deg)rotateY(15deg)}}@keyframes puppet-star{0%,to{top:5px;left:0}25%{top:0;left:43%}50%{top:5px;left:82%}75%{top:9px;left:43%}}.puppet-cube:before{content:"";transform-origin:0;background:linear-gradient(100deg,#355f44,#50785a);border-radius:3px;width:20px;position:absolute;top:0;bottom:0;left:0;transform:translateZ(-10px)rotateY(-90deg)}[data-action=guard][data-hand=right] .puppet-arm.right,[data-action=balance] .puppet-arm.right,[data-action=tiptoe] .puppet-arm.right{transform:rotate(-105deg)}[data-action=guard][data-hand=left] .puppet-arm.left,[data-action=balance] .puppet-arm.left,[data-action=tiptoe] .puppet-arm.left{transform:rotate(105deg)}[data-action=guard] .puppet-arm i,[data-action=balance] .puppet-arm i{animation:.24s ease-in-out infinite alternate puppet-stop}[data-action=guard] .puppet-arm b,[data-action=balance] .puppet-arm b{width:11px;height:10px}[data-action=guard] .puppet-mouth,[data-action=balance] .puppet-mouth,[data-action=tiptoe] .puppet-mouth{border-radius:50%;width:5px;height:5px;left:45%}[data-action=tiptoe] .puppet-leg{--stride:15deg;--beat:.27s;animation:puppet-step var(--beat) ease-in-out infinite alternate}[data-action=tiptoe] .puppet-leg.right{animation-delay:-.27s}[data-action=fallen] .puppet-rig,[data-action=stand] .puppet-rig{transform-origin:50% 78%}[data-action=fallen] .puppet-rig{transform:translateY(1px)rotate(-74deg)}[data-action=stand] .puppet-rig{animation:.55s ease-out both puppet-stand}@keyframes puppet-stop{0%{transform:rotate(-16deg)}to{transform:rotate(19deg)}}@keyframes puppet-stand{0%{transform:rotate(-74deg)}75%{transform:rotate(5deg)}to{transform:rotate(0)}}.site-companion{transform:translate(8px,calc(100dvh - 100px))}
