/* Eurekion Website Orb (live) on /orb/ only. Fixed right, never travels. */
@media (min-width:701px){
 body.has-orb main .wrap,body.has-orb .footer .wrap{width:auto;max-width:1240px;margin-left:max(48px,calc((100% - 1240px)/2));margin-right:max(116px,calc((100% - 1240px)/2))}
}
@media (max-width:700px){
 body.has-orb main .wrap,body.has-orb .footer .wrap{width:auto;margin-left:18px;margin-right:60px}
}
body.has-orb .chat-launch{display:none!important}
.eo{position:fixed;right:24px;bottom:28px;z-index:60;display:flex;flex-direction:column;align-items:flex-end;gap:12px;pointer-events:none}
.eo>*{pointer-events:auto}
.eo-btn{width:72px;height:72px;border-radius:50%;border:0;padding:0;background:radial-gradient(circle at 35% 30%,#2a5a92,#0b1d33 70%);box-shadow:0 10px 30px rgba(9,27,46,.35),0 0 0 1px rgba(255,210,122,.35);cursor:pointer;display:grid;place-items:center;opacity:0;transform:scale(.6);transition:opacity .35s ease,transform .35s cubic-bezier(.2,1.4,.4,1)}
.eo.in .eo-btn{opacity:1;transform:none}
.eo-btn:focus-visible,.eo-x:focus-visible,.eo-close:focus-visible,.eo-send:focus-visible,.eo-chip:focus-visible{outline:3px solid #ffd27a;outline-offset:3px}
.eo-btn .eo-svg{width:84%;height:84%}
.eo-bubble{position:relative;max-width:230px;background:#fff;color:#0b0f17;border-radius:16px 16px 4px 16px;padding:12px 34px 12px 14px;font-size:14.5px;line-height:1.4;box-shadow:0 12px 30px rgba(9,27,46,.22);border:1px solid #e4dfd6}
.eo-bubble[hidden]{display:none}
.eo-bubble button.eo-open-link{all:unset;cursor:pointer;font-weight:600;color:#0b0f17}
.eo-x{position:absolute;top:6px;right:6px;width:28px;height:28px;border-radius:50%;border:0;background:#f1ede6;color:#0b0f17;font-size:16px;line-height:1;cursor:pointer}
.eo-panel{position:fixed;right:24px;bottom:112px;width:min(380px,calc(100vw - 32px));height:min(560px,calc(100vh - 150px));background:#fff;border-radius:22px;box-shadow:0 24px 70px rgba(9,27,46,.35);display:flex;flex-direction:column;overflow:hidden;z-index:61}
.eo-panel[hidden]{display:none}
.eo-head{display:flex;align-items:center;gap:10px;padding:14px 14px 14px 18px;background:#0b1d33;color:#fff}
.eo-head .eo-svg{width:38px;height:38px}
.eo-head h2{font-size:16px;margin:0;font-family:inherit;color:#fff;flex:1}
.eo-head p{margin:2px 0 0;font-size:12.5px;color:rgba(255,255,255,.75);font-weight:400}
.eo-close{border:1px solid rgba(255,255,255,.35);background:none;color:#fff;border-radius:999px;padding:7px 12px;font:inherit;font-size:14px;cursor:pointer}
.eo-log{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;background:#f6f3ee}
.eo-m{max-width:88%;padding:10px 13px;border-radius:14px;font-size:15px;line-height:1.5;white-space:pre-wrap;color:#0b0f17}
.eo-m.a{background:#fff;border:1px solid #e4dfd6;align-self:flex-start;border-bottom-left-radius:4px}
.eo-m.u{background:#0b1d33;color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.eo-m.t{color:#3d4452;background:none;border:0;font-style:italic}
.eo-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 16px 10px;background:#f6f3ee}
.eo-chip{border:1px solid #d9d4cb;background:#fff;border-radius:999px;padding:7px 11px;font:inherit;font-size:13.5px;color:#0b0f17;cursor:pointer}
.eo-form{display:flex;gap:8px;padding:12px;border-top:1px solid #e4dfd6;background:#fff}
.eo-form input{flex:1;min-width:0;border:1px solid #c9c2b6;border-radius:12px;padding:11px 12px;font:inherit;font-size:16px;color:#0b0f17}
.eo-send{border:0;border-radius:12px;padding:0 16px;background:linear-gradient(92deg,#ffb347,#ff6a1a);color:#120a02;font:inherit;font-weight:700;cursor:pointer}
.eo-foot{margin:0;padding:0 14px 10px;font-size:12.5px;color:#3d4452;background:#fff}
.eo-foot a{color:#0b1d33}
@media (max-width:700px){
 .eo{right:10px;bottom:max(12px,env(safe-area-inset-bottom));gap:8px}
 .eo-btn{width:44px;height:44px}
 .eo-bubble{max-width:200px;font-size:14px}
 .eo-panel{right:8px;left:8px;width:auto;bottom:max(64px,calc(env(safe-area-inset-bottom) + 64px));height:min(70vh,520px)}
}
@media (prefers-reduced-motion:reduce){.eo-btn{transition:none;transform:none}}
.eo .sr-only,.eo-panel .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* life: blink (eyes only) + breathing glow; the Orb never moves */
.eo-btn .eo-eye{transform-box:fill-box;transform-origin:center;transition:transform .07s ease-in}
.eo-btn.blink .eo-eye{transform:scaleY(.08)}
.eo.in .eo-btn{animation:eo-breathe 4.2s ease-in-out infinite}
@keyframes eo-breathe{0%,100%{box-shadow:0 10px 30px rgba(9,27,46,.35),0 0 0 1px rgba(255,210,122,.35),0 0 0 0 rgba(255,190,90,0)}50%{box-shadow:0 10px 30px rgba(9,27,46,.35),0 0 0 1px rgba(255,210,122,.55),0 0 22px 4px rgba(255,190,90,.38)}}
.eo-btn .eo-core{animation:eo-core 4.2s ease-in-out infinite}
@keyframes eo-core{0%,100%{opacity:.82}50%{opacity:1}}
@media (prefers-reduced-motion:reduce){.eo.in .eo-btn,.eo-btn .eo-core{animation:none}.eo-btn .eo-eye{transition:transform .25s ease}}
