.marquee-stage{position:relative;margin-top:2px}.marquee-stage .marquee{margin-top:0}.library{position:relative}.shelf-friends{position:absolute;inset:0;z-index:3;pointer-events:none}.shelf-friends.above{z-index:7}.bar-friends{position:relative;height:clamp(20px,calc(10svh - 30px),56px);z-index:3;pointer-events:none}.friend{position:absolute;left:0;bottom:0;width:15px;height:18px;padding:0;margin:0;border:0;background:none;z-index:2;pointer-events:auto;cursor:pointer;will-change:transform;-webkit-tap-highlight-color:transparent}.friend:after{content:"";position:absolute;inset:-20px -18px -4px}.friend-body{position:relative;z-index:1;display:block;width:15px;height:18px;transform-origin:50% 100%;transition:transform .2s cubic-bezier(.5,0,.8,.2)}.friend-art{display:block}.friend .legs-b{visibility:hidden}.friend.run .friend-body{animation:friend-hop .32s steps(1) infinite}.friend.run .legs-a{animation:friend-legs .32s steps(1) infinite}.friend.run .legs-b{animation:friend-legs-b .32s steps(1) infinite}.friend.down .friend-body{animation:none;transform:translateY(-7px) rotate(calc(var(--tip, 1) * 90deg))}.friend.down .legs-a{animation:none}.friend .eyes-shut{visibility:hidden}.friend.sit .friend-body{transform:translateY(1.5px) scaleY(.92)}.friend.sit :is(.legs-a,.legs-b){visibility:hidden}.friend.sleep .eyes-shut{visibility:visible}.friend.sleep .friend-body{animation:friend-breathe 2.4s ease-in-out infinite}.friend-z{position:absolute;bottom:14px;pointer-events:none;font-weight:800;font-size:8px;line-height:1;color:var(--ink-text, #171717);animation:friend-z 1.6s ease-out forwards}.friend-say{--bx: -50%;position:absolute;bottom:calc(100% + 5px);left:50%;transform:translate(var(--bx)) scale(.6);transform-origin:50% 100%;opacity:0;pointer-events:none;white-space:nowrap;background:#fffdf6;color:#171717;border:2px solid #171717;border-radius:10px;padding:1px 6px;font-weight:800;font-size:11px;line-height:1.25;transition:opacity .12s,transform .16s}.friend-say:after{content:"";position:absolute;left:calc(50% - 4px);bottom:-6px;width:6px;height:6px;background:inherit;border:solid #171717;border-width:0 2px 2px 0;transform:rotate(45deg)}.friend.edge-l .friend-say{--bx: -4px}.friend.edge-l .friend-say:after{left:5px}.friend.edge-r .friend-say{--bx: calc(-100% + 12px) }.friend.edge-r .friend-say:after{left:auto;right:8px}.friend.saying .friend-say{opacity:1;transform:translate(var(--bx)) scale(1)}.friend.down .friend-say{bottom:16px}.friend-spark{position:absolute;bottom:12px;width:7px;height:7px;margin-left:-3.5px;pointer-events:none;background:linear-gradient(#f5bc19,#f5bc19) center / 3px 100% no-repeat,linear-gradient(#f5bc19,#f5bc19) center / 100% 3px no-repeat;animation:friend-spark .6s ease-out forwards}.toy{position:absolute;left:0;bottom:0;z-index:1;pointer-events:none;will-change:transform}.toy-ball{width:6px;height:6px;box-sizing:border-box;border-radius:50%;background:#f4a9c8;border:1px solid #0C0E11}.toy-block{width:6px;height:6px;box-sizing:border-box;background:#8dc4f2;border:1px solid #0C0E11}.toy-star{width:7px;height:7px;background:linear-gradient(#f5bc19,#f5bc19) center / 3px 100% no-repeat,linear-gradient(#f5bc19,#f5bc19) center / 100% 3px no-repeat}.toy-stick{width:12px;height:4px;box-sizing:border-box;border-radius:2px;background:#b07a45;border:1px solid #0C0E11}.toy-leaf{width:7px;height:5px;box-sizing:border-box;border-radius:0 100%;background:#7cc46b;border:1px solid #0C0E11}.toy-ring{width:7px;height:7px;box-sizing:border-box;border-radius:50%;border:2px solid #F59E42;outline:1px solid #0C0E11}.toy-cup{width:6px;height:7px;box-sizing:border-box;border-radius:0 0 2px 2px;background:#fffdf6;border:1px solid #0C0E11}.toy-gone{opacity:0;transition:opacity .3s}.toy.hat svg{display:block}.toy.hat.worn{left:50%;bottom:calc(100% - 1.5px);transform:translate(-50%)}.toy.hat.worn:after{inset:-10px -4px 0}.friend.hatted .friend-say{bottom:calc(100% + 15px)}.hat-blades{transform-box:fill-box;transform-origin:center}:is(.friend.run,.friend.tumble,.friend.held) .hat-blades{animation:hat-prop .16s steps(1) infinite}@keyframes hat-prop{50%{transform:scaleX(-1)}}.friend,.toy{touch-action:none}.toy{pointer-events:auto;cursor:grab}.toy:after{content:"";position:absolute;inset:-12px -10px -3px}.friend.held{cursor:grabbing}.friend.held .friend-body{transform-origin:50% 0;animation:friend-dangle .5s ease-in-out infinite}.friend.held .legs-a{animation:friend-legs .2s steps(1) infinite}.friend.held .legs-b{animation:friend-legs-b .2s steps(1) infinite}.friend.tumble .friend-body{transform-origin:50% 55%;animation:friend-tumble .45s linear infinite}@keyframes friend-tumble{to{transform:rotate(calc(var(--spin, 1) * 360deg))}}@keyframes friend-dangle{0%,to{transform:rotate(-8deg)}50%{transform:rotate(8deg)}}@keyframes friend-hop{0%{transform:translateY(0)}50%{transform:translateY(-1.5px)}}@keyframes friend-legs{0%{visibility:visible}50%{visibility:hidden}}@keyframes friend-legs-b{0%{visibility:hidden}50%{visibility:visible}}@keyframes friend-breathe{0%,to{transform:translateY(1.5px) scaleY(.92)}50%{transform:translateY(1.5px) scaleY(.86)}}@keyframes friend-z{0%{transform:translate(0) scale(.7);opacity:.9}to{transform:translate(5px,-12px) scale(1.2);opacity:0}}@keyframes friend-spark{0%{transform:scale(.4);opacity:1}to{transform:translateY(-6px) scale(1.4);opacity:0}}:root[data-theme=dark] .friend-say{background:var(--aes-color-card-background);color:var(--aes-color-text);border-color:var(--aes-color-frame-line)}:root[data-theme=dark] .friend-say:after{border-color:var(--aes-color-frame-line)}@media(max-width:759px)and (max-height:600px){.home .marquee-stage{display:none}}
