/* 3D Olaf mascot, bottom-left */
.om-mascot { position: fixed; left: 18px; bottom: 18px; z-index: 9990; font-family: var(--om-font, Inter, -apple-system, sans-serif); transition: bottom .4s cubic-bezier(.22, .8, .25, 1), opacity .3s ease, transform .4s cubic-bezier(.22, .8, .25, 1); }
.om-mascot.is-hidden { opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; }
/* stay clear of the cookie banner */
body:has(.cookie-banner.show) .om-mascot { bottom: 150px; }
.om-mascot-btn { position: relative; display: block; width: 104px; height: 112px; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.om-mascot-btn:focus-visible { outline: none; }
.om-mascot-btn:focus-visible .om-mascot-disc { box-shadow: 0 0 0 3px var(--om-blue, #1e5eff), 0 10px 30px rgba(10, 10, 11, .16); }
.om-mascot-disc { position: absolute; left: 12px; right: 12px; bottom: 6px; height: 80px; border-radius: 50%; background: radial-gradient(120% 120% at 30% 20%, #fff 0%, #eef2f8 60%, #e3e9f2 100%); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(10, 10, 11, .06), 0 10px 30px rgba(10, 10, 11, .14); transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s ease; }
.om-mascot:hover .om-mascot-disc, .om-mascot.is-open .om-mascot-disc { transform: scale(1.06); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(30, 94, 255, .25), 0 14px 36px rgba(30, 94, 255, .18); }
.om-mascot-img { position: absolute; left: 22px; bottom: 16px; width: 60px; height: 60px; border-radius: 50%; object-fit: cover; transition: opacity .5s ease; }
.om-mascot-canvas { position: absolute; left: -8px; bottom: 2px; width: 120px; height: 120px; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.om-mascot.is-3d .om-mascot-canvas { opacity: 1; }
.om-mascot.is-3d .om-mascot-img { opacity: 0; }
.om-mascot-dot { position: absolute; right: 18px; bottom: 16px; width: 14px; height: 14px; border-radius: 50%; background: var(--om-live, #00e09a); box-shadow: 0 0 0 3px #fff; }
.om-mascot-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(0, 224, 154, .55); animation: om-mascot-ping 2.4s ease-out infinite; }
@keyframes om-mascot-ping { 0% { transform: scale(.6); opacity: 1; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

.om-mascot-pop { position: absolute; left: 6px; bottom: calc(100% + 6px); width: 324px; padding: 18px 18px 16px; border-radius: 22px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(10, 10, 11, .08), 0 24px 60px rgba(10, 10, 11, .18); transform-origin: 30px 100%; animation: om-mascot-in .35s cubic-bezier(.34, 1.56, .64, 1); }
.om-mascot-pop[hidden] { display: none; }
.om-mascot-pop::after { content: ""; position: absolute; left: 40px; bottom: -7px; width: 14px; height: 14px; background: rgba(255, 255, 255, .94); transform: rotate(45deg); box-shadow: 1px 1px 0 rgba(10, 10, 11, .06); }
@keyframes om-mascot-in { from { opacity: 0; transform: translateY(8px) scale(.92); } to { opacity: 1; transform: none; } }
.om-mascot-x { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(10, 10, 11, .05); color: rgba(10, 10, 11, .55); font-size: 18px; line-height: 1; cursor: pointer; }
.om-mascot-x:hover { background: rgba(10, 10, 11, .1); color: #0a0a0b; }
.om-mascot-hi { margin: 0 0 4px !important; padding-right: 26px; color: #0a0a0b !important; font: 650 17px/1.25 var(--om-font, Inter, sans-serif) !important; letter-spacing: -.01em; }
.om-mascot-text { margin: 0 0 14px !important; color: rgba(10, 10, 11, .6) !important; font: 400 14px/1.5 var(--om-font, Inter, sans-serif) !important; }
.om-mascot-cta, .om-mascot-ig { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; font: 600 14px/1 var(--om-font, Inter, sans-serif); text-decoration: none !important; transition: transform .25s cubic-bezier(.22, .8, .25, 1), box-shadow .25s ease, background .25s ease; }
.om-mascot-cta { background: var(--om-blue, #1e5eff); color: #fff !important; box-shadow: 0 6px 16px rgba(30, 94, 255, .24); }
.om-mascot-cta:hover { background: var(--om-blue-hover, #3a73ff); transform: translateY(-1px); }
.om-mascot-ig { margin-top: 8px; background: #fff; color: #0a0a0b !important; box-shadow: 0 0 0 1px rgba(10, 10, 11, .14); }
.om-mascot-ig:hover { box-shadow: 0 0 0 1px #0a0a0b; transform: translateY(-1px); }
.om-mascot-ig svg { width: 18px; height: 18px; }

@media (max-width: 760px) {
    /* smaller on phones so it never covers content */
    .om-mascot { left: 8px; bottom: 8px; }
    .om-mascot-btn { width: 66px; height: 72px; }
    .om-mascot-disc { left: 8px; right: 8px; bottom: 5px; height: 50px; }
    .om-mascot-img { left: 14px; bottom: 11px; width: 38px; height: 38px; }
    .om-mascot-canvas { left: -5px; bottom: 2px; width: 76px; height: 76px; }
    .om-mascot-dot { right: 10px; bottom: 8px; width: 10px; height: 10px; box-shadow: 0 0 0 2px #fff; }
    .om-mascot-pop { left: 2px; width: min(324px, calc(100vw - 16px)); }
    .om-mascot-pop::after { left: 26px; }
    /* on phones the cookie banner covers the corner: wait until it is closed */
    body:has(.cookie-banner.show) .om-mascot { opacity: 0; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
    .om-mascot-dot::after { animation: none; }
    .om-mascot-pop { animation: none; }
}
@media print { .om-mascot { display: none; } }
