/* V109 — tappable ghost: brief pause and localized Boo speech bubble. */
.ranch-ghost108{position:fixed!important;left:0!important;top:var(--ranch-ghost-v108-top,40%)!important;width:108px!important;height:114px!important;z-index:2147483000!important;opacity:0;pointer-events:auto!important;cursor:pointer!important;touch-action:manipulation;overflow:visible!important;filter:drop-shadow(0 6px 9px #25150ca8) drop-shadow(0 0 7px #fff8d9bd);transform:translate3d(-125px,0,0);animation:ranch-ghost-v108-fly 6.4s ease-in-out forwards!important;will-change:transform,opacity;contain:layout style;}
.ranch-ghost108 svg{width:100%;height:100%;display:block}
.ranch-ghost108-reverse{animation-name:ranch-ghost-v108-return!important}
@keyframes ranch-ghost-v108-fly{0%{transform:translate3d(-125px,8px,0) rotate(-7deg);opacity:0}13%{opacity:1}50%{transform:translate3d(calc(50vw - 56px),-16px,0) rotate(6deg);opacity:1}87%{opacity:1}100%{transform:translate3d(calc(100vw + 125px),7px,0) rotate(-4deg);opacity:0}}
@keyframes ranch-ghost-v108-return{0%{transform:translate3d(calc(100vw + 125px),8px,0) rotate(7deg);opacity:0}13%{opacity:1}50%{transform:translate3d(calc(50vw - 56px),-17px,0) rotate(-6deg);opacity:1}87%{opacity:1}100%{transform:translate3d(-125px,7px,0) rotate(4deg);opacity:0}}
@media(max-width:450px){.ranch-ghost108{width:96px!important;height:106px!important}}
@media(prefers-reduced-motion:reduce){.ranch-ghost108,.ranch-ghost108-reverse{left:auto!important;right:15px!important;transform:none!important;animation:ranch-ghost-v108-calm 6.4s ease-in-out forwards!important}}
@keyframes ranch-ghost-v108-calm{0%{opacity:0}15%,85%{opacity:1}100%{opacity:0}}

/* Bubble appears only when the visitor taps the passing ghost. */
.ranch-ghost108 .ranch-ghost109-bubble{position:absolute;left:50%;top:-39px;transform:translateX(-50%);background:#fff7de;color:#422b20;border:3px solid #65422a;border-radius:20px;padding:8px 15px;font:800 20px/1.1 system-ui,-apple-system,sans-serif;white-space:nowrap;box-shadow:0 4px 0 #8e654b55,0 5px 12px #0005;pointer-events:none!important;z-index:1;opacity:1;}
.ranch-ghost108 .ranch-ghost109-bubble:after{content:'';position:absolute;left:calc(50% - 6px);bottom:-11px;width:12px;height:12px;background:#fff7de;border-right:3px solid #65422a;border-bottom:3px solid #65422a;transform:rotate(45deg);}
.ranch-ghost108:focus-visible{outline:3px solid #f6b447;outline-offset:3px;border-radius:50%;}
