/* HeyStray additions (new.heystray.com test): ideas 2, 6, 7. Palette unchanged: teal #009688, amber accent. */
.hsx-rel{position:relative!important}
.hsx-ring{position:absolute;inset:-4px;border-radius:14px;box-shadow:0 0 0 4px #009688,0 0 28px 6px rgba(0,150,136,.5);pointer-events:none;z-index:5;animation:hsx-glow 2.6s ease-in-out infinite}
@keyframes hsx-glow{0%,100%{box-shadow:0 0 0 4px #009688,0 0 18px 3px rgba(0,150,136,.3)}50%{box-shadow:0 0 0 4px #009688,0 0 32px 9px rgba(0,150,136,.65)}}
.hsx-badge{position:absolute;left:50%;bottom:56px;transform:translateX(-50%) scale(1);background:#009688;color:#fff;border-radius:999px;padding:9px 14px;font:800 14px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;letter-spacing:.04em;white-space:nowrap;display:flex;align-items:center;gap:6px;box-shadow:0 4px 14px rgba(0,0,0,.28);z-index:6;pointer-events:none}
.hsx-badge svg{width:18px;height:18px}
.hsx-on .hsx-badge{animation:hsx-pop .7s cubic-bezier(.2,1.6,.4,1) both}
@keyframes hsx-pop{0%{transform:translateX(-50%) scale(.2);opacity:0}100%{transform:translateX(-50%) scale(1);opacity:1}}
.hsx-conf{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:4;border-radius:12px}
.hsx-conf i{position:absolute;top:-12px;width:7px;height:11px;border-radius:2px;opacity:0}
.hsx-on .hsx-conf i{animation:hsx-fall 2.4s ease-in both}
@keyframes hsx-fall{0%{transform:translateY(0) rotate(0);opacity:1}100%{transform:translateY(250px) rotate(540deg);opacity:0}}
.hsx-heart{position:absolute;pointer-events:none;z-index:6;opacity:0}
.hsx-on .hsx-heart{animation:hsx-up 2.6s ease-out infinite}
@keyframes hsx-up{0%{transform:translateY(0) scale(.6);opacity:0}15%{opacity:1}100%{transform:translateY(-70px) scale(1.1);opacity:0}}
.hsx-bub{position:absolute;z-index:6;background:#fff;color:#222;border-radius:18px;padding:9px 14px;font:700 15px/1.15 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;box-shadow:0 6px 16px rgba(0,0,0,.25);white-space:nowrap;pointer-events:none;opacity:0;transform:scale(.6);transform-origin:bottom left}
.hsx-bub:after{content:"";position:absolute;bottom:-9px;left:22px;border-left:9px solid transparent;border-right:9px solid transparent;border-top:11px solid #fff}
.hsx-bub.r{transform-origin:bottom right}.hsx-bub.r:after{left:auto;right:22px}
.hsx-bub.warm{background:#009688;color:#fff}.hsx-bub.warm:after{border-top-color:#009688}
.hsx-on .hsx-bub{animation:hsx-bpop .5s cubic-bezier(.2,1.5,.4,1) both}
@keyframes hsx-bpop{to{opacity:1;transform:scale(1)}}
.hsx-line{position:absolute;left:0;right:0;pointer-events:none;z-index:7}
.hsx-line .seg{stroke-dasharray:1;stroke-dashoffset:1}
.hsx-on .hsx-line .seg{animation:hsx-draw 1.4s ease-out .3s both}
@keyframes hsx-draw{to{stroke-dashoffset:0}}
.hsx-line .dots{opacity:0}.hsx-on .hsx-line .dots{animation:hsx-fade .6s ease-out 1.4s both}
@keyframes hsx-fade{to{opacity:1}}
.hsx-tag{position:absolute;left:0;right:0;text-align:center;font:700 13px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;letter-spacing:.06em;color:#009688;pointer-events:none}
@media (max-width:600px){.hsx-badge{font-size:11px;padding:7px 10px;bottom:42px}.hsx-badge svg{width:14px;height:14px}.hsx-bub{font-size:12px;padding:6px 10px}.hsx-tag{font-size:11px}}
@media (prefers-reduced-motion:reduce){.hsx-ring,.hsx-on .hsx-badge,.hsx-on .hsx-conf i,.hsx-on .hsx-heart,.hsx-on .hsx-bub,.hsx-on .hsx-line .seg,.hsx-on .hsx-line .dots{animation:none!important}.hsx-bub,.hsx-line .dots{opacity:1;transform:none}.hsx-line .seg{stroke-dashoffset:0}.hsx-conf,.hsx-heart{display:none}.hsx-badge{transform:translateX(-50%)}}
