#shapes-song{position:fixed;inset:0;margin:0;width:100%;height:100dvh;max-width:none;max-height:none;border:0;padding:max(12px,env(safe-area-inset-top)) 18px max(16px,env(safe-area-inset-bottom));color:#493773;overflow:hidden;background:#a4dff6;box-sizing:border-box}#shapes-song[open]{display:flex;flex-direction:column}#shapes-song header,#shapes-song footer{position:relative;z-index:2;width:min(100%,760px);margin:0 auto;flex-shrink:0}#shapes-song header{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:18px}#shapes-song button{border:2px solid #ffffffb0;border-radius:50%;min-width:52px;min-height:52px;background:#fff4ddeb;color:#65468e;font-size:25px;cursor:pointer;box-shadow:0 4px 0 #7964a322}#shapes-song main{position:relative;z-index:1;flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-right:30px;gap:18px}.sh-art{display:flex;align-items:center;justify-content:center;width:min(100%,750px);min-height:0}.sh-friend{width:min(65vw,43dvh,360px);text-align:center;filter:drop-shadow(0 12px 6px #554f6d22)}.sh-friend svg{width:100%;height:auto;overflow:visible}.sh-friend strong{display:inline-block;font:900 clamp(24px,5vw,36px)/1.1 'Trebuchet MS',sans-serif;letter-spacing:.01em;color:#493773;background:#fff8dfed;border-radius:40px;padding:7px 18px}.sh-many{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:min(75vw,48dvh,540px)}.sh-many:has(.sh-friend:nth-child(5)){grid-template-columns:repeat(4,minmax(0,1fr));width:min(83vw,62dvh,700px)}.sh-many .sh-friend{width:100%}.sh-many .sh-friend strong{font-size:clamp(12px,2.8vw,22px);padding:4px 9px}.sh-caption{font:800 clamp(22px,4.8vw,35px)/1.3 'Trebuchet MS',sans-serif;text-align:center;max-width:720px;min-height:2.6em;margin:0;padding:9px 17px;border-radius:24px;background:#fff9e8e8;box-shadow:0 5px 0 #6b5d8512}.sh-controls{display:flex;align-items:center;gap:14px}.sh-seek{min-width:45px;flex:1;accent-color:#9660d5}.sh-status{text-align:center;font-size:14px;margin:5px 0;min-height:1em}.sh-dancer{animation:sh-dance 1.5s ease-in-out infinite;animation-delay:calc(var(--i)*-.19s);animation-play-state:paused;transform-origin:50% 85%}.sh-playing .sh-dancer{animation-play-state:running}#shapes-song[data-action=ball] .sh-dancer{animation-name:sh-ball;animation-duration:.95s}#shapes-song[data-action=heart] .sh-dancer{animation-name:sh-heart;animation-duration:1s}#shapes-song[data-action=bus] .sh-dancer{animation-name:sh-drive;animation-duration:3.5s}#shapes-song[data-action=twinkle] .sh-dancer{animation-name:sh-sparkle;animation-duration:1.3s}.sh-side{animation:sh-side 2.8s infinite;animation-delay:calc(var(--i)*.7s);animation-play-state:paused;transform-origin:center;transform-box:fill-box}.sh-playing .sh-side{animation-play-state:running}.sh-rays{transform-origin:150px 145px;animation:sh-sun 12s linear infinite;animation-play-state:paused}.sh-playing .sh-rays{animation-play-state:running}@keyframes sh-dance{0%,100%{transform:rotate(-5deg) translateY(0)}50%{transform:rotate(5deg) translateY(-12px)}}@keyframes sh-ball{0%,100%{transform:translateY(10px) scale(1.06,.94)}45%{transform:translateY(-35px) scale(.97,1.03)}}@keyframes sh-heart{50%{transform:scale(1.12)}}@keyframes sh-drive{0%,100%{transform:translateX(-12%) rotate(-2deg)}50%{transform:translateX(12%) rotate(2deg)}}@keyframes sh-sparkle{50%{transform:scale(1.07) rotate(8deg);filter:drop-shadow(0 0 18px #fff6c8)}}@keyframes sh-side{0%,25%{transform:scale(1.25);opacity:1}26%,100%{transform:scale(1);opacity:.5}}@keyframes sh-sun{to{transform:rotate(360deg)}}@media(max-height:500px){#shapes-song main{flex-direction:row;gap:12px}.sh-friend{width:36dvh}.sh-many{width:45dvh}.sh-caption{font-size:20px;max-width:40vw}.sh-many:has(.sh-friend:nth-child(5)){width:65dvh}#shapes-song button{min-height:40px;min-width:40px}.sh-friend strong{font-size:18px}}@media(prefers-reduced-motion:reduce){#shapes-song *{animation:none!important;transition:none!important}}.reduced #shapes-song *{animation:none!important}
