/* Small, independent movements. The hit areas themselves never fly away. */
.hero-art[data-hero-scene]{isolation:isolate}
.hero-art .butterfly{display:grid;place-items:center;border:0;background:transparent;padding:0;transform:none;animation:none;overflow:visible;touch-action:manipulation;outline-offset:4px}
.hero-art .hero-butterfly{width:72px;height:72px;left:-33px;top:21px}
.hero-art .hero-butterfly-small{width:48px;height:48px;right:-32px;top:205px}
.butterfly-flight{display:block;width:54px;height:54px;pointer-events:none;transform:rotate(-14deg)}
.hero-butterfly-small .butterfly-flight{width:30px;height:30px;transform:rotate(18deg)}
.hero-art .butterfly svg{width:100%;height:100%;overflow:visible}
.butterfly .wing{transform-box:view-box;transform-origin:36px 36px}
.butterfly .butterfly-body{opacity:.8}
.hero-art .butterfly::after{content:'';position:absolute;inset:9px;border-radius:50%;background:currentColor;opacity:0;filter:blur(11px);z-index:-1;transition:opacity .55s ease}
.hero-art .butterfly:focus-visible{outline:2px solid var(--purple);border-radius:50%}
.hero-art .butterfly:focus-visible::after{opacity:.13}
.hero-art .stamp{display:block;padding:0;border:0;outline:0;background:transparent;transform:none;overflow:visible;touch-action:manipulation;z-index:5}
.stamp-drift{display:block;position:relative;width:100%;height:100%;border-radius:50%;background:#f8e5d4;box-shadow:0 0 0 6px #f8e5d4,0 7px 22px #a2783810;transform:rotate(10deg);pointer-events:none}
.stamp-drift::before{content:'';position:absolute;inset:0;border:1px dashed #c79067;border-radius:50%;pointer-events:none}
.stamp-face{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;transition:opacity .48s ease,transform .7s cubic-bezier(.22,.61,.36,1);backface-visibility:hidden}
.stamp-face-front{opacity:1;transform:translateY(0)}
.stamp-face-back{opacity:0;transform:translateY(4px);gap:3px}
.stamp-face-back svg{width:20px;height:20px;stroke-width:1.6}
.stamp.is-greeted .stamp-face-front{opacity:0;transform:translateY(-3px)}
.stamp.is-greeted .stamp-face-back{opacity:1;transform:translateY(0)}
.hero-art .stamp:focus-visible{outline:2px solid var(--purple-dark);outline-offset:12px;border-radius:50%}
.hero-motion-controls{position:absolute;left:0;right:0;bottom:-54px;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;color:var(--muted)}
.hero-play-hint{font-size:10px;line-height:1.5;margin:0;max-width:225px}
.hero-motion-toggle{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:6px 2px 6px 9px;font-size:10px;color:var(--purple-dark);white-space:nowrap;border-radius:7px}
.hero-motion-toggle svg{width:13px;height:13px}
.hero-motion-toggle .motion-play{display:none}
.hero-motion-toggle[aria-pressed="true"] .motion-pause{display:none}
.hero-motion-toggle[aria-pressed="true"] .motion-play{display:block}
.hero-motion-toggle:disabled .motion-play{display:none}
.hero-motion-toggle:disabled{color:var(--muted);opacity:.9}
.hero-reaction{position:absolute;left:50%;bottom:125px;width:max-content;max-width:85%;border:1px solid #fff9f3;background:#fffaf5f5;color:var(--purple-dark);padding:12px 17px;border-radius:15px;box-shadow:0 5px 24px #4d335210;text-align:center;font-size:12px;line-height:1.6;font-weight:600;opacity:0;transform:translate(-50%,5px);transition:opacity .4s ease,transform .6s cubic-bezier(.22,.61,.36,1);pointer-events:none;z-index:6}
.has-reaction .hero-reaction{opacity:1;transform:translate(-50%,0)}
.hero-particles{position:absolute;inset:-12px -12px 0;overflow:hidden;pointer-events:none;z-index:7;border-radius:40px}
.hero-particle{position:absolute;left:12px;top:12px;display:block;width:17px;height:17px;opacity:0;pointer-events:none}
.hero-particle svg{width:100%;height:100%}
.hero-art[data-motion="running"] .butterfly-flight,.hero-art[data-motion="running"] .stamp-drift{will-change:transform}
.hero-art[data-motion="paused"] .stamp-face,.hero-art[data-motion="reduced"] .stamp-face,.hero-art[data-motion="idle"] .stamp-face,.hero-art[data-motion="paused"] .hero-reaction,.hero-art[data-motion="reduced"] .hero-reaction,.hero-art[data-motion="idle"] .hero-reaction{transition:none}
@media(hover:hover) and (pointer:fine){.hero-art .butterfly:hover::after{opacity:.13}.hero-motion-toggle:hover{color:var(--orange)}.hero-art .stamp:hover .stamp-drift{box-shadow:0 0 0 6px #f8e5d4,0 9px 24px #a278381c}}
@media(max-width:1180px){.hero-motion-controls{bottom:-52px}.hero-play-hint{max-width:205px}}
@media(max-width:960px){.hero-art .hero-butterfly{width:64px;height:64px;left:-28px;top:20px}.hero-butterfly .butterfly-flight{width:43px;height:43px}.hero-play-hint{max-width:175px;font-size:9px}.hero-motion-toggle{font-size:9px}.stamp-face-back svg{width:17px;height:17px}}
@media(max-width:760px){.hero-art .hero-butterfly{width:68px;height:68px;left:-21px;top:26px}.hero-butterfly .butterfly-flight{width:50px;height:50px}.hero-art .hero-butterfly-small{width:44px;height:44px;right:-36px;top:202px}.hero-butterfly-small .butterfly-flight{width:28px;height:28px}.hero-motion-controls{bottom:-54px;gap:8px}.hero-play-hint{font-size:9px;max-width:190px}.hero-motion-toggle{font-size:10px}.hero-reaction{bottom:112px;padding:10px 13px;font-size:11px;max-width:90%;border-radius:12px}.hero-particles{inset:-10px -8px 0}.hero-particle{left:8px;top:10px;width:15px;height:15px}.stamp-face-back svg{width:17px;height:17px}}
@media(prefers-reduced-motion:reduce){.hero-art .butterfly::after,.stamp-face,.hero-reaction{transition:none!important}.hero-art[data-hero-scene] *{animation:none!important}}

.hero-art[data-motion="paused"] .butterfly::after,.hero-art[data-motion="reduced"] .butterfly::after,.hero-art[data-motion="idle"] .butterfly::after{transition:none}
