/* AISearch Global chat character "Anona". Scoped to .scm-* and .sc-root.scm-on, so it changes nothing unless chat-mascot.js mounted.
   Palette is the canonical one (CLAUDE.md): sage #DDEFE9, mint #BEE2D9, deep teal #047A76, cream #F6F3EE, ink #0B0D0E.
   Only transform and opacity are animated. The button never moves; only the decorative children do.
   BODY VALUES (.scm-orb, .scm-sheen, .scm-eye size and colour, .scm-shadow) are the approved ones, unchanged.
   DEPTH LAYERS (.scm-rear, .scm-shade, .scm-contact) are the only additions; add class scm-flat to the wrapper to hide them. */
.sc-root.scm-on{--scm-size:52px;--scm-ease:cubic-bezier(.22,.61,.36,1);
  bottom:calc(max(20px,env(safe-area-inset-bottom,0px)) + var(--scm-lift,0px))}

/* The Ask Anona tab: black with sage capitals (Viv, 9 Nov 2026). The × that closes Anona sits inside this tab at its right end, never on her. Space Grotesk regular (not bold). */
/* Launcher button: no fill, no border; the label chip carries the glass surface (house button style). Beats the old sage pill + glow. */
.sc-root .sc-launch.scm-launch{display:flex;flex-direction:row-reverse;align-items:center;gap:10px;min-height:44px;padding:0;margin:0;
  background:transparent;border:0;border-radius:0;box-shadow:none;animation:none;color:#0b0d0e;cursor:pointer;
  font:500 15px/1.2 "DM Sans",system-ui,sans-serif;-webkit-tap-highlight-color:transparent;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}   /* touch-action:none so a finger can carry her without scrolling the page */
.sc-root .sc-launch.scm-launch:hover{background:transparent;box-shadow:none}

.scm-label{display:block;padding:.62rem 2.7rem .62rem 1rem;white-space:nowrap;color:#DDEFE9;background:#0B0D0E;text-transform:uppercase;letter-spacing:.1em;font:400 13px/1.2 "Space Grotesk",system-ui,sans-serif;letter-spacing:.1em;
  border-radius:0;
  box-shadow:0 1px 2px rgba(11,13,14,.06),0 16px 32px -14px rgba(11,13,14,.22);transition:background-color .2s ease}
.sc-root .sc-launch.scm-launch:hover .scm-label{background:#1c2022}
/* site-chat.css sets weight 500 !important on everything inside the launcher; the tab text is regular weight (Viv, 9 Nov 2026). */
.sc-root .sc-launch .scm-label{font-weight:400!important}
.scm-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Focus ring readable on cream and on dark sections: white band, ink ring, white band. */
.sc-root .sc-launch.scm-launch:focus-visible{outline:2px solid #0b0d0e;outline-offset:3px;box-shadow:0 0 0 7px #fff}

/* ---- The character. .scm-orb-wrap is the fixed box (pointer maths use it). Only its children move. ---- */
.scm-orb-wrap{position:relative;display:block;flex:none;width:var(--scm-size);height:var(--scm-size);pointer-events:none}
/* .scm-hop lifts the body only and .scm-roll turns the face only (both driven by the roamer). The ground shadow (.scm-shadow, .scm-contact) and the
   shading never move with them, so the shadow stays on the floor while she hops and does not spin while she rolls. */
.scm-hop,.scm-roll{position:absolute;inset:0;display:block}
.scm-tilt{position:absolute;inset:0;transform:rotate(var(--scm-tilt,0deg));transform-origin:50% 60%;transition:transform 320ms var(--scm-ease);will-change:transform}

/* Approved body (unchanged colour values). */
.scm-orb{position:absolute;inset:0;border-radius:50%;overflow:hidden;
  background:
    radial-gradient(ellipse 88% 50% at 50% 104%,rgba(190,226,217,.98) 0,rgba(190,226,217,0) 74%),
    radial-gradient(circle at 50% 26%,#3b938e 0,#4aa39b 44%,#7cc2b6 76%,#bee2d9 100%);
  box-shadow:inset 0 0 0 1px rgba(246,243,238,.34),inset 0 -6px 9px -4px rgba(221,239,233,.85),inset 0 5px 7px -5px rgba(246,243,238,.4),0 0 9px rgba(10,186,181,.14)}
.scm-sheen{position:absolute;left:18%;top:6%;width:64%;height:30%;border-radius:50%;pointer-events:none;
  background:linear-gradient(180deg,rgba(246,243,238,.4) 0,rgba(246,243,238,0) 100%)}
.scm-shadow{position:absolute;left:14%;right:14%;bottom:-6px;height:9px;pointer-events:none;
  background:radial-gradient(ellipse at 50% 50%,rgba(11,13,14,.2) 0,rgba(11,13,14,0) 70%)}

/* NEW depth layers (the only visual addition). Light comes from the top left, so the far side is the lower right. Restrained on purpose:
   no outline, no halo, no blur filter, nothing that changes the silhouette or touches the eyes. */
.scm-rear{position:absolute;left:10%;right:-4%;top:14%;bottom:-6%;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle at 46% 44%,rgba(11,13,14,.15) 0,rgba(11,13,14,.09) 55%,rgba(11,13,14,0) 74%)}
.scm-shade{position:absolute;inset:0;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle at 32% 28%,rgba(4,122,118,0) 56%,rgba(4,122,118,.24) 100%)}
.scm-contact{position:absolute;left:22%;right:22%;bottom:-3px;height:5px;pointer-events:none;
  background:radial-gradient(ellipse at 50% 50%,rgba(11,13,14,.34) 0,rgba(11,13,14,0) 72%)}
.scm-orb-wrap.scm-flat .scm-rear,.scm-orb-wrap.scm-flat .scm-shade,.scm-orb-wrap.scm-flat .scm-contact{display:none}

/* Eyes: two plain white vertical ovals, each concern on its own element so transforms never collide.
   .scm-gaze moves the pair, .scm-stretch makes the pair a little taller while waiting, .scm-eye squashes for a blink. */
.scm-gaze{position:absolute;left:0;right:0;top:calc(var(--scm-size)*.31);display:flex;justify-content:center;
  transform:translate(var(--scm-ex,0px),var(--scm-ey,0px));transition:transform 320ms var(--scm-ease)}
/* While typing, the eyes follow each keystroke quickly so the reading scan is clearly visible. */
.scm-orb-wrap[data-expression="typing"] .scm-gaze{transition-duration:130ms}
.scm-orb-wrap[data-expression="typing"] .scm-tilt{transition-duration:160ms}
.scm-stretch{--scm-sy:1;display:flex;gap:calc(var(--scm-size)*.17);transform:scaleY(var(--scm-sy));transform-origin:50% 50%;transition:transform 220ms var(--scm-ease)}
.scm-stretch[data-attentive="1"]{--scm-sy:1.12}
.scm-eye{display:block;width:calc(var(--scm-size)*.072);height:calc(var(--scm-size)*.2);border-radius:999px;background:#fff;
  transform-origin:50% 50%;transition:transform 70ms ease-in-out}
.scm-stretch[data-blink="1"] .scm-eye{transform:scaleY(.12)}

/* Same character in the panel header (decorative, not a control). Smaller, so the header keeps its height.
   The header band is charcoal (brand ink #0B0D0E) with a soft shadow onto the conversation and a light, muted mint glow (#BEE2D9, low alpha) that radiates
   from the character. Only this band changes; the rest of the panel is untouched. */
.sc-root.scm-on .sc-head.scm-head{justify-content:flex-start;position:relative;z-index:1;
  background:radial-gradient(circle at calc(1.15rem + 20px) 50%,rgba(190,226,217,.15) 0,rgba(190,226,217,.05) 30px,rgba(190,226,217,0) 100px),#0B0D0E;
  box-shadow:0 10px 18px -8px rgba(11,13,14,.55),0 2px 4px rgba(11,13,14,.25)}
.sc-root.scm-on .sc-head.scm-head .sc-title{color:#fff}
.sc-root.scm-on .sc-head.scm-head .sc-sub{color:#fff;opacity:.72}
.sc-root.scm-on .sc-head.scm-head .sc-close{color:#fff}
.sc-root.scm-on .sc-head.scm-head .sc-close:hover{color:#BEE2D9}
.scm-in-head .scm-orb{box-shadow:inset 0 0 0 1px rgba(246,243,238,.34),inset 0 -6px 9px -4px rgba(221,239,233,.85),inset 0 5px 7px -5px rgba(246,243,238,.4),0 0 9px rgba(10,186,181,.14),0 0 10px rgba(190,226,217,.22),0 5px 9px rgba(0,0,0,.55)}
.sc-root.scm-on .sc-head.scm-head .sc-title{flex:1 1 auto;min-width:0}
.scm-orb-wrap.scm-in-head{--scm-size:40px;--scm-ease:cubic-bezier(.22,.61,.36,1)}

/* Roamer: Anona on the cookie banner. Decorative only, never takes a click. While she is out, the launcher keeps its label and click area. */
.scm-roamer{position:fixed;left:0;z-index:9998;pointer-events:none;width:var(--scm-size);height:var(--scm-size);--scm-ease:cubic-bezier(.22,.61,.36,1)}
.scm-roamer>span,.scm-roamer>span>span{display:block;width:var(--scm-size);height:var(--scm-size)}
.scm-launch.scm-away .scm-orb-wrap{visibility:hidden}
/* Open flight: the same character, above the panel, from the launcher spot up to the header. Decorative only. The ground shadow fades as she leaves the floor. */
.scm-flyer{position:fixed;left:0;top:0;z-index:9998;pointer-events:none;width:var(--scm-size);height:var(--scm-size);transform-origin:0 0;--scm-ease:cubic-bezier(.22,.61,.36,1)}
.scm-flyer>span{display:block;width:var(--scm-size);height:var(--scm-size)}
.scm-flyer .scm-shadow,.scm-flyer .scm-contact{transition:opacity 160ms ease}
.scm-flyer.scm-air .scm-shadow,.scm-flyer.scm-air .scm-contact{opacity:0}
@media (prefers-reduced-motion:reduce){.scm-flyer{display:none}}
@media (prefers-reduced-motion:reduce){.scm-roamer{display:none}.scm-launch.scm-away .scm-orb-wrap{visibility:visible}}

/* Phones: slightly smaller character, tighter chip. The label stays unless the screen is extremely narrow. */
@media (max-width:520px){
  /* Phones: the tab sits flush in the bottom right corner and she sleeps beside it on the same row (not stacked above it), so the pair covers as little of the page as possible, never a button above the fold. */
  .sc-root.scm-on{--scm-size:46px;right:0;bottom:calc(max(20px,env(safe-area-inset-bottom,0px) + 12px) + var(--scm-lift,0px))}
  .scm-label{padding:.36rem 2.3rem .36rem .62rem;font-size:11.5px!important;letter-spacing:.09em!important}
  .scm-launch.scm-asleep .scm-orb-wrap{position:relative;left:auto;top:auto}
  /* The panel is fixed full width on phones. While the cookie banner is up, seat it above the banner so the banner never covers it. */
  .sc-root.scm-on:has(.sc-panel:not([hidden])) .sc-panel{bottom:calc(max(12px,env(safe-area-inset-bottom,0px)) + var(--scm-lift,0px));
    max-height:calc(100vh - max(12px,env(safe-area-inset-bottom,0px)) - var(--scm-lift,0px) - 12px);
    max-height:calc(100dvh - max(12px,env(safe-area-inset-bottom,0px)) - var(--scm-lift,0px) - 12px)}
}
@media (min-width:521px){
  /* The panel sits on the root; the root is already lifted by the banner, so only the height cap needs the lift. */
  .sc-root.scm-on .sc-panel{max-height:min(600px,calc(100vh - var(--scm-lift,0px) - 40px));max-height:min(600px,calc(100dvh - var(--scm-lift,0px) - 40px))}
}
/* Under 340px the label collapses visually but stays in the accessibility tree, so the button is still named "Chat with us". */
@media (max-width:339px){
  .scm-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;box-shadow:none}
}

/* ---- Additions: opening scene on the homepage search card, panel play, and the thinking animation. Existing rules above are untouched.
   Only palette colours already used in this file: cream #F6F3EE, deep teal #047A76, ink #0B0D0E, mint #BEE2D9. ---- */
/* Perch: Anona sitting on the homepage search card (page coordinates, so she scrolls with it). Clicking her opens the chat. */
.scm-perch{position:absolute;z-index:700;width:var(--scm-size);height:var(--scm-size);cursor:pointer;--scm-ease:cubic-bezier(.22,.61,.36,1)}
.scm-perch>span{display:block;width:var(--scm-size);height:var(--scm-size)}
@media (prefers-reduced-motion:reduce){.scm-perch{display:none}}

/* Thinking (a question was sent and the answer is on its way): she works it out with her face and body, no extra shapes. A 3.2s loop of the eyes
   glancing up and to the left, then up and to the right, then down with a squint, while she tilts to match and bobs a little. The state
   machine own blink and wider eyes carry on. It stops the moment the answer or an error arrives. Uses the individual translate / rotate / scale
   properties so it composes with the gaze, tilt and eye height that already drive those elements. */
@keyframes scm-think-gaze{0%,16%{translate:-3.2px -3px}30%,52%{translate:3.2px -3px}66%,88%{translate:0 2px}100%{translate:-3.2px -3px}}
@keyframes scm-think-tilt{0%,16%{rotate:-5deg}30%,52%{rotate:5deg}66%,88%{rotate:0deg}100%{rotate:-5deg}}
@keyframes scm-think-squint{0%,60%{scale:1 1}70%,86%{scale:1 .7}100%{scale:1 1}}
@keyframes scm-think-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-2.5px)}}
.scm-orb-wrap[data-expression="pending"] .scm-gaze{animation:scm-think-gaze 3.2s ease-in-out infinite}
.scm-orb-wrap[data-expression="pending"] .scm-tilt{animation:scm-think-tilt 3.2s ease-in-out infinite}
.scm-orb-wrap[data-expression="pending"] .scm-stretch{animation:scm-think-squint 3.2s ease-in-out infinite}
.scm-orb-wrap[data-expression="pending"] .scm-hop{animation:scm-think-bob 1.6s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){
  .scm-orb-wrap .scm-gaze,.scm-orb-wrap .scm-tilt,.scm-orb-wrap .scm-stretch,.scm-orb-wrap .scm-hop{animation:none!important}
}

/* Reduced motion: a still character. JS also forces the neutral state; this removes any easing that remains. */
@media (prefers-reduced-motion:reduce){
  .scm-tilt,.scm-gaze,.scm-stretch,.scm-eye,.scm-label{transition:none}
  .scm-tilt{will-change:auto}
}

/* ---- Faces. The round white eyes stay the default. Eyebrows (.scm-brow) are hidden until a face needs them. Faces are chosen by data-expression:
   hover (brows lift), pending (one brow up), happy (smiling eyes), angry (slanted eyes, brows down, a little shake), surprised, worried, sleepy,
   asleep (closed eyes, z's, slow breathing). Brows and eyes use transform / translate / scale / opacity only. S below is --scm-size. ---- */
.scm-brows{position:absolute;left:0;right:0;top:calc(var(--scm-size)*-.1);display:flex;justify-content:center;gap:calc(var(--scm-size)*.092);pointer-events:none}
.scm-brow{--by:0px;--bd:0;--sgn:1;display:block;width:calc(var(--scm-size)*.15);height:calc(var(--scm-size)*.04);border-radius:999px;background:#fff;box-shadow:0 0 0 .6px rgba(4,122,118,.4);opacity:0;
  transform:translateY(var(--by)) rotate(calc(var(--bd)*var(--sgn)*1deg));transform-origin:50% 50%;transition:transform 180ms var(--scm-ease),opacity 140ms ease}
.scm-brow:last-child{--sgn:-1}
.scm-eye{box-sizing:border-box}

.scm-orb-wrap[data-expression="hover"] .scm-brow{opacity:1;--by:-2px}
.scm-orb-wrap[data-expression="pending"] .scm-brow{opacity:.85;--by:-1px}
.scm-orb-wrap[data-expression="pending"] .scm-brow:first-child{--by:-3px;--bd:-8}

.scm-orb-wrap[data-expression="happy"] .scm-eye{width:calc(var(--scm-size)*.17);height:calc(var(--scm-size)*.11);background:transparent;
  border:calc(var(--scm-size)*.05) solid #fff;border-bottom:0;border-radius:999px 999px 0 0;translate:0 calc(var(--scm-size)*.04)}
.scm-orb-wrap[data-expression="happy"] .scm-brow{opacity:1;--by:-3px}

.scm-orb-wrap[data-expression="angry"] .scm-eye{width:calc(var(--scm-size)*.09);height:calc(var(--scm-size)*.17);translate:0 calc(var(--scm-size)*.02)}
.scm-orb-wrap[data-expression="angry"] .scm-eye:first-child{clip-path:polygon(0 0,100% 42%,100% 100%,0 100%)}
.scm-orb-wrap[data-expression="angry"] .scm-eye:last-child{clip-path:polygon(0 42%,100% 0,100% 100%,0 100%)}
.scm-orb-wrap[data-expression="angry"] .scm-brow{opacity:1;--by:2px;--bd:26}
@keyframes scm-grr{0%,100%{translate:0 0}25%{translate:-1.5px 0}75%{translate:1.5px 0}}
.scm-orb-wrap[data-expression="angry"] .scm-hop{animation:scm-grr .16s linear 5}

.scm-orb-wrap[data-expression="surprised"] .scm-eye{scale:1.15 1.28}
.scm-orb-wrap[data-expression="surprised"] .scm-brow{opacity:1;--by:-5px}

.scm-orb-wrap[data-expression="worried"] .scm-eye{scale:1 1.06}
.scm-orb-wrap[data-expression="worried"] .scm-brow{opacity:.9;--by:-2px;--bd:-20}

.scm-orb-wrap[data-expression="sleepy"] .scm-eye{scale:1 .5;translate:0 calc(var(--scm-size)*.03)}
.scm-orb-wrap[data-expression="sleepy"] .scm-brow{opacity:.55;--by:2px}

.scm-orb-wrap[data-expression="asleep"] .scm-eye{width:calc(var(--scm-size)*.15);height:calc(var(--scm-size)*.08);background:transparent;
  border:calc(var(--scm-size)*.045) solid #fff;border-top:0;border-radius:0 0 999px 999px;translate:0 calc(var(--scm-size)*.07)}
.scm-orb-wrap[data-expression="asleep"] .scm-tilt{rotate:-6deg}
@keyframes scm-breathe{0%,100%{scale:1 1}50%{scale:1.025 .972}}
.scm-orb-wrap[data-expression="asleep"] .scm-hop{transform-origin:50% 100%;animation:scm-breathe 4s ease-in-out infinite}

/* Little z's drift up from her while she sleeps. */
.scm-zzz{position:absolute;left:64%;top:-2%;width:0;height:0;pointer-events:none;display:none}
.scm-orb-wrap[data-expression="asleep"] .scm-zzz{display:block}
@keyframes scm-zz{0%{opacity:0;transform:translate(0,0) scale(.6)}25%{opacity:.9}100%{opacity:0;transform:translate(11px,-24px) scale(1.1)}}
.scm-z{position:absolute;left:0;top:0;font-family:"DM Sans",system-ui,sans-serif;font-weight:500;font-size:calc(var(--scm-size)*.26);line-height:1;color:#047A76;opacity:0;animation:scm-zz 3.6s ease-in infinite}
.scm-z::before{content:"z"}
.scm-z:nth-child(2){animation-delay:1.2s}
.scm-z:nth-child(3){animation-delay:2.4s}

/* Asleep on the Ask Anona tab: the launcher's own copy is lifted out of the row and sits on top of the tab, centred. Hover and click still work on her. */
.sc-root .sc-launch.scm-launch.scm-asleep{position:relative}
.scm-launch.scm-asleep .scm-orb-wrap{position:absolute;left:var(--scm-zx,0px);top:var(--scm-zy,-48px);pointer-events:auto;cursor:pointer}

/* The small × on the corner of the Ask Anona tab (JS places it): closes Anona, who goes to sleep on the tab. Always visible until she sleeps. Plain glass, no border. */
.scm-nap{position:absolute;left:0;top:0;z-index:2;width:22px;height:22px;padding:0;margin:0;border:0;border-radius:0;
  background:transparent;color:#DDEFE9;font:400 20px/22px "Space Grotesk",system-ui,sans-serif;text-align:center;cursor:pointer;
  box-shadow:none;opacity:1;transition:background-color .16s ease}
.scm-nap:hover{background:rgba(221,239,233,.18)}
.scm-nap::before{content:"";position:absolute;inset:-11px}
.scm-nap[hidden]{display:none}
.scm-nap:focus-visible{outline:2px solid #DDEFE9;outline-offset:-3px}

@media (prefers-reduced-motion:reduce){
  .scm-orb-wrap .scm-hop{animation:none!important}
  .scm-brow,.scm-nap{transition:none}
  .scm-z{animation:none;opacity:.85}
  .scm-z:nth-child(2){transform:translate(8px,-13px) scale(.85)}
  .scm-z:nth-child(3){transform:translate(14px,-27px) scale(1)}
}

/* While she rolls along the search card she is positioned in page coordinates (like the perch), so the path stays tied to the card. */
.scm-flyer.scm-pinned{position:absolute;z-index:700}
/* ---- More faces (10 Nov 2026): wink, love, excited, thinking, dizzy. Same rules as above: transform, translate, scale, opacity and clip only; white on the teal body. ---- */
/* wink: one smiling arc, one open eye, the winking side brow lifts */
.scm-orb-wrap[data-expression="wink"] .scm-eye:last-child{width:calc(var(--scm-size)*.17);height:calc(var(--scm-size)*.11);background:transparent;border:calc(var(--scm-size)*.05) solid #fff;border-bottom:0;border-radius:999px 999px 0 0;translate:0 calc(var(--scm-size)*.04)}
.scm-orb-wrap[data-expression="wink"] .scm-brow{opacity:1;--by:-3px}
.scm-orb-wrap[data-expression="wink"] .scm-brow:last-child{--by:-5px;--bd:-10}
/* love: heart eyes that beat softly */
.scm-orb-wrap[data-expression="love"] .scm-eye{position:relative;width:calc(var(--scm-size)*.2);height:calc(var(--scm-size)*.19);background:transparent;overflow:visible;clip-path:none;border:0}
.scm-orb-wrap[data-expression="love"] .scm-eye::before,.scm-orb-wrap[data-expression="love"] .scm-eye::after{content:"";position:absolute;top:8%;width:50%;height:80%;background:#fff;border-radius:999px 999px 0 0}
.scm-orb-wrap[data-expression="love"] .scm-eye::before{left:50%;transform:rotate(-45deg);transform-origin:0 100%}
.scm-orb-wrap[data-expression="love"] .scm-eye::after{left:0;transform:rotate(45deg);transform-origin:100% 100%}
.scm-orb-wrap[data-expression="love"] .scm-brow{opacity:1;--by:-4px}
@keyframes scm-beat{0%,100%{scale:1}30%{scale:1.14}60%{scale:.98}}
.scm-orb-wrap[data-expression="love"] .scm-stretch{animation:scm-beat .9s ease-in-out 3}
/* excited: wide eyes, brows high, three little bounces */
.scm-orb-wrap[data-expression="excited"] .scm-eye{scale:1.2 1.32}
.scm-orb-wrap[data-expression="excited"] .scm-brow{opacity:1;--by:-6px}
@keyframes scm-bounce{0%,100%{translate:0 0}40%{translate:0 -4px}70%{translate:0 0}85%{translate:0 -1.5px}}
.scm-orb-wrap[data-expression="excited"] .scm-hop{animation:scm-bounce .5s ease-out 3}
/* thinking: eyes drift up and to the side, one brow raised, a slow tilt (the gaze itself is set in the controller) */
.scm-orb-wrap[data-expression="thinking"] .scm-eye{scale:1 .92}
.scm-orb-wrap[data-expression="thinking"] .scm-brow{opacity:.9;--by:-1px}
.scm-orb-wrap[data-expression="thinking"] .scm-brow:first-child{--by:-5px;--bd:-14}
/* dizzy: spinning ring eyes and a wobble */
@keyframes scm-spin{to{rotate:360deg}}
@keyframes scm-wobble{0%,100%{rotate:-5deg}50%{rotate:5deg}}
.scm-orb-wrap[data-expression="dizzy"] .scm-eye{width:calc(var(--scm-size)*.2);height:calc(var(--scm-size)*.2);background:transparent;border:calc(var(--scm-size)*.045) solid #fff;border-top-color:transparent;border-radius:50%;animation:scm-spin .55s linear infinite}
.scm-orb-wrap[data-expression="dizzy"] .scm-eye:last-child{animation-direction:reverse}
.scm-orb-wrap[data-expression="dizzy"] .scm-brow{opacity:.8;--by:-2px}
.scm-orb-wrap[data-expression="dizzy"] .scm-tilt{animation:scm-wobble .45s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){.scm-orb-wrap[data-expression="dizzy"] .scm-eye,.scm-orb-wrap[data-expression="love"] .scm-stretch,.scm-orb-wrap[data-expression="excited"] .scm-hop,.scm-orb-wrap[data-expression="dizzy"] .scm-tilt{animation:none}}

/* "Leaving chat :)" note beside Anona as she hops out of the chat header (12 Nov 2026). Same look as the Ask Anona tab: flat ink, mint text, sharp edges, padded. Decorative only. */
.scm-leave{position:fixed;left:0;top:0;z-index:9998;pointer-events:none;padding:.3rem .6rem;background:#0B0D0E;color:#DDEFE9;font:400 12px/1.2 "Space Grotesk",system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;opacity:0;transform:translateY(3px);transition:opacity .25s ease,transform .25s ease}
.scm-leave.scm-leave-on{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.scm-leave{display:none}}
/* Nudge (21 Nov 2026): a short offer beside her tab. Pale mint button surface, ink text, sharp corners; the small corner underneath points at her. */
.scm-nudge{--scm-tail:28px;position:fixed;right:20px;bottom:90px;z-index:901;display:flex;align-items:stretch;max-width:min(350px,calc(100vw - 24px));background:#BEE2D9;color:#0B0D0E;border-radius:0;box-shadow:0 2px 6px rgba(11,13,14,.12),0 6px 16px rgba(11,13,14,.1);opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .15s ease-in,transform .15s ease-in}
.scm-nudge.scm-nudge-on{opacity:1;transform:none;pointer-events:auto;transition:opacity .28s cubic-bezier(.2,0,0,1),transform .28s cubic-bezier(.2,0,0,1)}
.scm-nudge::after{content:"";position:absolute;right:var(--scm-tail);bottom:-6px;width:12px;height:12px;background:#BEE2D9;transform:rotate(45deg);pointer-events:none}
html body .scm-nudge .scm-nudge-go,html body .scm-nudge .scm-nudge-x{position:relative;z-index:1;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;color:#0B0D0E;cursor:pointer;-webkit-appearance:none;appearance:none;text-transform:none;letter-spacing:0;min-width:0;transform:none}
html body .scm-nudge .scm-nudge-go{flex:1 1 auto;padding:.85rem .35rem .85rem 1.1rem;text-align:left;text-wrap:balance;font:500 15px/1.4 "DM Sans",system-ui,sans-serif}
html body .scm-nudge .scm-nudge-go:hover{text-decoration:underline;text-underline-offset:3px}
html body .scm-nudge .scm-nudge-x{flex:none;width:44px;min-height:44px;padding:0;font:400 20px/1 "DM Sans",system-ui,sans-serif}
html body .scm-nudge .scm-nudge-x:hover{background:rgba(11,13,14,.08)}
html body .scm-nudge button:focus-visible{outline:2px solid #047A76;outline-offset:-3px}
@media (prefers-reduced-motion:reduce){.scm-nudge,.scm-nudge.scm-nudge-on{transform:none;transition:opacity .15s linear}}
/* Magnifying glass while she watches the visitor type (21 Nov 2026). Cream ring and handle so it reads on both the teal orb and the dark chat header.
   The outer layer follows the eye scan; the inner layer does the enter (rises in from the lower right, 280ms) and a shorter exit (150ms). */
.scm-lens{position:absolute;left:calc(50% - var(--scm-size)*.29);top:calc(var(--scm-size)*.12);width:calc(var(--scm-size)*.58);height:calc(var(--scm-size)*.58);pointer-events:none;transform:translate(var(--scm-ex,0px),var(--scm-ey,0px));transition:transform 130ms var(--scm-ease,ease-out)}
.scm-lens-glass{position:absolute;inset:0;display:block;box-sizing:border-box;border-radius:50%;border:max(2px,calc(var(--scm-size)*.05)) solid #F6F3EE;background:radial-gradient(circle at 34% 30%,rgba(255,255,255,.34) 0,rgba(255,255,255,.1) 55%,rgba(255,255,255,.04) 100%);box-shadow:0 1px 2px rgba(11,13,14,.4),inset 0 0 0 1px rgba(11,13,14,.12);opacity:0;transform:translate(calc(var(--scm-size)*.2),calc(var(--scm-size)*.2)) scale(.6);transform-origin:100% 100%;transition:opacity .15s ease-in,transform .15s ease-in}
.scm-lens-glass::after{content:"";position:absolute;left:50%;top:50%;width:max(3px,calc(var(--scm-size)*.085));height:calc(var(--scm-size)*.34);margin-left:calc(max(3px,calc(var(--scm-size)*.085))*-.5);background:#F6F3EE;border-radius:999px;box-shadow:0 1px 2px rgba(11,13,14,.4);transform-origin:50% 0;transform:rotate(-45deg) translateY(calc(var(--scm-size)*.27))}
.scm-orb-wrap[data-expression="typing"] .scm-lens-glass{opacity:1;transform:none;transition:opacity .28s cubic-bezier(.2,0,0,1),transform .28s cubic-bezier(.2,0,0,1)}
@media (prefers-reduced-motion:reduce){.scm-lens{display:none}}
