/* PagePop WOW pop (M9): Pop the operator dock. Scoped under html.wow; motion only under prefers-reduced-motion:no-preference. */
html.wow .wow-pop{--s:64px;position:fixed;inset-inline-start:14px;bottom:18px;width:var(--s);height:var(--s);z-index:60;
 font-family:inherit;direction:rtl;pointer-events:none}
/* the root box is only a positioning frame: it never catches taps, only the visible dock and offer do */
html.wow .wow-pop.in:not(.is-hidden) .wow-dock{pointer-events:auto}
@media (max-width:860px){
 html.wow .wow-pop{--s:56px}
 html.wow .wow-say.wow-say--line{max-width:min(210px,calc(100vw - 150px));font-size:14px;padding:9px 13px}
 html.wow .wow-say--line .wow-say-t{font-size:14px}
 html.wow .wow-pop.wow-pop--mb{transform:translate3d(0,calc(-68px - env(safe-area-inset-bottom,0px)),0)}
}

/* the dock */
html.wow .wow-dock{position:absolute;inset:0;pointer-events:none;width:var(--s);height:var(--s);padding:0;margin:0;border:0;border-radius:50%;
 cursor:pointer;color:inherit;font:inherit;-webkit-tap-highlight-color:transparent;
 background:radial-gradient(circle at 50% 30%,#2b2470 0%,#1a1d45 48%,#11152e 78%);
 box-shadow:0 0 0 1px rgba(191,174,244,.55) inset,0 0 0 4px rgba(8,11,22,.55),0 16px 34px -12px rgba(123,47,255,.85),0 0 26px -6px rgba(67,97,238,.55)}
html.wow .wow-dock:focus{outline:none}
html.wow .wow-dock:focus-visible{outline:3px solid #BFAEF4;outline-offset:4px}
html.wow .wow-dock-ring{position:absolute;inset:-1px;border-radius:50%;pointer-events:none;
 background:conic-gradient(from 0deg,rgba(191,174,244,0) 0deg,rgba(191,174,244,.9) 60deg,rgba(123,47,255,.0) 130deg,rgba(67,97,238,.8) 230deg,rgba(191,174,244,0) 300deg);
 -webkit-mask:radial-gradient(circle,transparent calc(50% - 2px),#000 calc(50% - 1.5px));
 mask:radial-gradient(circle,transparent calc(50% - 2px),#000 calc(50% - 1.5px));opacity:.75}
/* Pop stands in the dock: the body is cut by the circle, the head rises out of it */
html.wow .wow-dock-fig{position:absolute;left:-12px;right:-12px;bottom:0;height:calc(var(--s) * 1.42);pointer-events:none;
 --cut:radial-gradient(circle calc(var(--s) / 2) at 50% calc(100% - var(--s) / 2),#000 97%,transparent 100%);
 --top:linear-gradient(90deg,transparent 4%,#000 30%,#000 70%,transparent 96%) 0 0/100% calc(100% - var(--s) * .6) no-repeat;
 -webkit-mask:var(--cut),var(--top);mask:var(--cut),var(--top)}
html.wow .wow-dock-fig img{position:absolute;bottom:0;left:50%;width:auto;max-width:none;height:100%;
 opacity:0;transform:translate3d(-50%,9%,0);filter:drop-shadow(0 4px 8px rgba(8,11,22,.55))}
html.wow .wow-dock-fig img.on{opacity:1}

/* bubbles */
html.wow .wow-say{position:absolute;bottom:calc(100% + var(--s) * .5 + 8px);inset-inline-start:0;
 width:max-content;max-width:min(300px,calc(100vw - 100px));box-sizing:border-box;
 padding:11px 15px;border-radius:16px 16px 16px 16px;border-end-start-radius:6px;
 background:#11152e;border:1px solid rgba(191,174,244,.6);color:#f4eef9;font-size:15px;line-height:1.5;text-align:start;
 box-shadow:0 18px 40px -16px rgba(0,0,0,.8),0 0 0 4px rgba(123,47,255,.10);
 opacity:0;visibility:hidden;pointer-events:none;transform-origin:100% 100%}
html.wow .wow-say.on{opacity:1;visibility:visible;pointer-events:auto}
html.wow .wow-say--line.on{pointer-events:none}
html.wow .wow-say::after{content:"";position:absolute;bottom:-6px;inset-inline-start:calc(var(--s) / 2 - 6px);width:10px;height:10px;
 background:#11152e;border:1px solid rgba(191,174,244,.6);border-top:0;border-left:0;transform:rotate(45deg);border-bottom-right-radius:2px}
/* beside the dock instead of above it, when the space above holds copy */
html.wow .wow-say--line.wow-say--side{bottom:calc(var(--s) / 2 - 22px);inset-inline-start:calc(100% + 16px);border-end-start-radius:16px}
html.wow .wow-say--side::after{bottom:15px;inset-inline-start:-6px;border:1px solid rgba(191,174,244,.6);border-bottom:0;border-left:0;border-radius:0 2px 0 0}
html.wow .wow-say-t{margin:0;font-size:15px;line-height:1.5;color:#f4eef9}
html.wow .wow-say--offer{padding:14px 16px 14px;min-width:min(250px,calc(100vw - 100px))}
html.wow .wow-say--offer .wow-say-t{font-weight:600}
html.wow .wow-say-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px}
html.wow .wow-say-row button{font:inherit;font-size:14.4px;line-height:1.2;min-height:40px;padding:9px 15px;border-radius:999px;cursor:pointer;border:0}
html.wow .wow-say-yes{background:linear-gradient(140deg,#BFAEF4,#9C86F0);color:#150d2a;font-weight:700;
 box-shadow:0 10px 22px -12px rgba(156,134,240,.95)}
html.wow .wow-say-no{background:transparent;color:#a7adcc;box-shadow:0 0 0 1px rgba(167,173,204,.35) inset}
html.wow .wow-say-row button:focus{outline:none}
html.wow .wow-say-row button:focus-visible{outline:3px solid #BFAEF4;outline-offset:3px}
html.wow .wow-say-no:hover{color:#f4eef9}

/* typing dots before a line lands */
html.wow .wow-dots{display:none;gap:4px;align-items:center;height:22px;padding:0 2px}
html.wow .wow-dots i{width:6px;height:6px;border-radius:50%;background:#BFAEF4;opacity:.35}
html.wow .wow-say.typing .wow-dots{display:inline-flex}
html.wow .wow-say.typing .wow-say-t{display:none}

/* hidden states: before entrance, over #lead, while typing in a field, keyboard open, modal open */
/* tucked: while the dock would sit on copy it slides to the screen edge, a sliver of Pop peeking out; focus brings it back */
html.wow .wow-pop.wow-pop--tuck{opacity:.5;scale:.82} /* 08.11.2026: stays on screen, just steps back, instead of sliding off the edge */
html.wow .wow-pop.wow-pop--tuck:focus-within,html.wow .wow-pop.wow-pop--tuck:hover{opacity:1;scale:1}
html.wow .wow-pop.wow-pop--tuck .wow-dock-fig{animation:none}
html.wow .wow-pop:not(.in) .wow-dock,html.wow .wow-pop.is-hidden .wow-dock{opacity:0;visibility:hidden;pointer-events:none}
html.wow .wow-pop.is-hidden .wow-say,html.wow .wow-pop--a11y .wow-say{opacity:0;visibility:hidden;pointer-events:none}

@media print{html.wow .wow-pop{display:none}}

@media (prefers-reduced-motion:no-preference){
 html.wow:not(.wow-rm) .wow-pop{transition:transform .35s cubic-bezier(.2,.7,.3,1),translate .45s cubic-bezier(.2,.7,.3,1),opacity .35s ease,scale .45s cubic-bezier(.2,.7,.3,1)}
 html.wow:not(.wow-rm) .wow-dock{transition:opacity .35s ease,transform .5s cubic-bezier(.3,1.5,.5,1),visibility 0s}
 html.wow:not(.wow-rm) .wow-pop:not(.in) .wow-dock,html.wow:not(.wow-rm) .wow-pop.is-hidden .wow-dock{transform:translate3d(0,22px,0) scale(.55);
  transition:opacity .25s ease,transform .3s ease,visibility 0s .3s}
 html.wow:not(.wow-rm) .wow-dock:hover{transform:translate3d(0,-2px,0) scale(1.06)}
 html.wow:not(.wow-rm) .wow-dock:active{transform:scale(.95)}
 html.wow:not(.wow-rm) .wow-dock-ring{animation:wow-pop-spin 7s linear infinite}
 html.wow:not(.wow-rm) .wow-dock-fig img{transition:opacity .4s ease}
 html.wow:not(.wow-rm) .wow-dock-fig{animation:wow-pop-bob 3.6s ease-in-out infinite}
 html.wow:not(.wow-rm) .wow-dock.wow-nod .wow-dock-fig{animation:wow-pop-nod .7s cubic-bezier(.3,1.4,.5,1)}
 html.wow:not(.wow-rm) .wow-say{transform:translate3d(0,10px,0) scale(.92);
  transition:opacity .22s ease,transform .22s ease,visibility 0s .22s}
 html.wow:not(.wow-rm) .wow-say.on{transform:none;transition:opacity .3s ease,transform .45s cubic-bezier(.3,1.45,.5,1),visibility 0s}
 html.wow:not(.wow-rm) .wow-dots i{animation:wow-pop-dot 1s ease-in-out infinite}
 html.wow:not(.wow-rm) .wow-dots i:nth-child(2){animation-delay:.15s}
 html.wow:not(.wow-rm) .wow-dots i:nth-child(3){animation-delay:.3s}
}
html.wow.wow-lite .wow-dock-ring{animation:none}
@keyframes wow-pop-spin{to{transform:rotate(360deg)}}
@keyframes wow-pop-bob{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-3px,0)}}
@keyframes wow-pop-nod{0%{transform:none}35%{transform:translate3d(0,-6px,0) rotate(-6deg)}70%{transform:translate3d(0,-2px,0) rotate(3deg)}100%{transform:none}}
@keyframes wow-pop-dot{0%,100%{opacity:.3;transform:translate3d(0,0,0)}50%{opacity:1;transform:translate3d(0,-3px,0)}}
