/* (11 November, cue v6: in the tools) The closed button is the Cue globe alone (30 px, no label, no fill of its own), the LAST item inside the showroom's tools pill (#tally); js/cue/cue.js appends it there. The pill lays it out, fades it and hides it, so the v5 capsule, its classes (off, quiet, light, solo, back, lbl-in, open's z-index and opacity) and its dodge are gone.
   The island grows out of that seat, covers the pill whole and ends at the guest chip's right edge; its plate fades in as it leaves the seat and out as it comes home (opacity is written by the frame loop, see plateA in js/cue/cue.js).
   (11 November, cue v5: a seated capsule and a compact island) The button was a black capsule "Ask Cue" in the top row (no backdrop-filter, it costs nothing). A tap opens the ISLAND: the capsule grows in place into a compact black glass plate (.ci) with the same one orb in it;
   the full page below (version 4's stage, unchanged) shows only after Expand (.fs on #cue-ov), and Shrink brings the island back (.is). Classes on #cue-ov: is (island), fs (full page), ci-on (the island's contents are in), gone (the plate has dissolved). Island rules are at the end of this file; the full page's parts are hidden and untouchable unless .fs.
   (11 November, cue v4: one orb, real glass, large type) Cue: the assistant's button and its moment, rebuilt from scratch (js/cue/cue.js, js/cue/cue-orb.js).
   The button: the owner's Cue globe (js/cue/cue-logo.js, vector) at the top centre, on the row of Back and the guest chip, where no pin, card, side bar or knob ever sits.
   It breathes, its glow breathes with it, and a sheen of light crosses its glass every 7 s. Compositor only. When Cue opens, THE SAME GLOBE lifts off (the live orb takes over at the mark's exact rect and the mark hides
   in the same frame) and glides to the stage; when it closes the orb flies home and the mark shows in the frame the canvas hides. There is never a second globe.
   The moment: a veil of dark frosted glass over the showroom, an aurora of the logo's colours spilling from the orb, and Liquid Glass pieces (ask bar, chips, answer card, close button) with a bright top rim,
   a faint lower rim and a deep soft shadow. What the frame loop paints (orb, stack, light) is in js/cue/cue.js; everything else is CSS transitions keyed on #cue-ov[data-state] and a few classes.
   No GSAP here: the showroom's tempo speeds GSAP and the Web Animations API up, CSS transitions and Cue's own springs run at wall-clock speed.
   Hidden on the lounge TV (?tv=1: no touch there), between guests (attract) and while a story plays (its bar takes the top centre). */

/* ---------- the button: (11 November, cue v6) the Cue globe, the last seat of the tools pill ---------- */
#cue, #cue-ov { --cue-spring: var(--mc-spring, cubic-bezier(.29, .40, .14, 1));   /* the showroom's critically damped spring, played over 520 to 640 ms */
  --cue-pop: linear(0 0%, 0.026 4%, 0.093 8%, 0.186 13%, 0.293 17%, 0.404 21%, 0.512 25%, 0.614 29%, 0.705 33%, 0.785 38%, 0.853 42%, 0.908 46%, 0.952 50%, 0.986 54%, 1.01 58%, 1.027 63%, 1.038 67%, 1.044 71%, 1.046 75%, 1.045 79%, 1.042 83%, 1.038 88%, 1.033 92%, 1.028 96%, 1 100%);   /* an under-damped spring, damping ratio .7, about 560 ms */
  --cue-out: cubic-bezier(.4, 0, 1, 1); }
@supports not (transition-timing-function: linear(0, 1)) { #cue, #cue-ov { --cue-pop: cubic-bezier(.3, 1.4, .5, 1); } }

/* (11 November, cue v6) #cue is the last child of #tally. It takes the pill's own button box (--ch-h square: 44 px; the pill's rules in css/ux/mf-chrome.css already make every #tally button transparent, edgeless and shadowless, and the pill gives it its :active highlight) and holds the globe in the middle.
   The pill pads its content 2 px each side, so the globe would sit 9 px from its right edge but 7 px from its top and bottom: margin-right -2px makes the end concentric (measured, js: seat 1027-1071, globe 1034-1064, pill 849-1071). css/ux/chrome.css hides spans and restyles svgs inside #tally buttons (specificity 1,0,3 and 1,0,2): the rules below carry #cue and a class, so they win. */
#cue { position: relative; flex: none; box-sizing: border-box; width: var(--ch-h, 44px); height: var(--ch-h, 44px); min-width: var(--ch-h, 44px); margin: 0 -2px 0 0; padding: 0; border: 0; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  font-family: var(--sans, -apple-system, system-ui, sans-serif); -webkit-font-smoothing: antialiased; }
#cue:focus-visible { outline: 2px solid rgba(110, 90, 240, .85); outline-offset: -4px; border-radius: 50%; }   /* inside the seat, round: the pill clips nothing, but a ring outside a 44 px seat would touch its neighbour */
#cue .cue-pose { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; height: 100%; border-radius: 50%; scale: 1; transition: scale .56s var(--cue-pop); }
#cue.pressed .cue-pose { scale: .94; transition: scale .08s ease-out; }   /* the press: quick in, a spring out (the pill's own :active highlight plays with it; its feel engine never sees the tap, js/cue/cue.js stops it) */
#cue.open .cue-pose { scale: 1; transition: none; }
#cue.settle .cue-pose { animation: cue-settle .6s var(--cue-spring); }   /* the soft settle when the orb has come home */
@keyframes cue-settle { 0% { transform: scale(1.03); } 100% { transform: none; } }

#cue .cue-mark { position: relative; display: block; flex: none; width: calc(var(--ch-h, 44px) - 14px); height: calc(var(--ch-h, 44px) - 14px); border-radius: 50%; }   /* no breathing, no glow; (11 November, cue v6, round 2) 30 px in a 44 px seat, and 7 px from the pill's edge on every screen: the seat is 47.5 px on a 1366 px tablet */
#cue.open .cue-mark { visibility: hidden; }   /* the orb took the globe: one globe only (the seat stays in the pill, empty, while Cue is open) */
#cue .cue-mark > i { position: absolute; inset: 0; border-radius: 50%; display: block; }
#cue .cue-mark svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transition: none; filter: drop-shadow(0 1px 2px rgba(20, 10, 100, .3)); }   /* one soft shadow under the globe */
/* a slow sheen of light across the glass, every 7 s (a transform on a clipped layer: compositor only) */
#cue .cue-mark .cm-sheen { inset: 4%; overflow: hidden; }
#cue .cue-mark .cm-sheen::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 45%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, 0));
  transform: translateX(-140%) skewX(-18deg); animation: cue-sheen-btn 7s cubic-bezier(.45, 0, .2, 1) infinite 2s; }
#cue.open .cue-mark .cm-sheen::before { animation-play-state: paused; }
@keyframes cue-sheen-btn { 0%, 78% { transform: translateX(-140%) skewX(-18deg); } 100% { transform: translateX(300%) skewX(-18deg); } }
html.tv #cue, html.tv #cue-ov { display: none !important; }

/* ---------- the moment: the stage ---------- */
#cue-ov { --cg-fill: linear-gradient(180deg, rgba(255, 255, 255, .17) 0%, rgba(255, 255, 255, .07) 100%);
  --cg-card: linear-gradient(180deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, .09) 100%);
  --cg-rim: inset 0 1px 0 0 rgba(255, 255, 255, .42), inset 0 0 0 1px rgba(255, 255, 255, .09), inset 0 -8px 12px -8px rgba(255, 255, 255, .08);
  --cg-shadow: 0 1.6rem 3.2rem -1.2rem rgba(0, 0, 0, .6), 0 .25rem .9rem rgba(0, 0, 0, .22);
  --cue-d: 136px;
  position: fixed; inset: 0; z-index: 9000; visibility: hidden; contain: strict; overflow: hidden; color: #fff; font-family: var(--sans, -apple-system, system-ui, sans-serif);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-font-smoothing: antialiased; outline: none; }
#cue-ov.on { visibility: visible; }   /* laid out once and kept, invisible and untouchable while closed: opening costs no layout on the tap's frame */
#cue-ov:not(.on) *, #cue-ov:not(.on) *::before, #cue-ov:not(.on) *::after { animation-play-state: paused !important; }
#cue-ov.warm { pointer-events: none; }   /* the idle pre-warm: two frames at 1.5% opacity, nothing to tap */
#cue-ov.warm .cv-veil, #cue-ov.warm .cv-aura, #cue-ov.warm .cs-bar, #cue-ov.warm .cv-x, #cue-ov.warm .ci { opacity: .015; }
#cue-ov.warm .cv-veil, #cue-ov.warm .cv-aura, #cue-ov.warm .cv-x, #cue-ov.warm .cv-sh { visibility: visible; }
#cue-ov.warm .cs-bar { transform: none; filter: none; }
#cue-ov.nt *, #cue-ov.nt *::before, #cue-ov.nt *::after { transition: none !important; }   /* put away: everything snaps to its hidden look without a transition */
#cue-ov button { font-family: inherit; -webkit-appearance: none; appearance: none; touch-action: manipulation; }
#cue-ov :focus-visible { outline: 2px solid rgba(255, 255, 255, .85); outline-offset: 2px; }

/* the veil: the showroom falls back behind dark frosted glass. It only ever animates opacity (never the blur radius). */
#cue-ov .cv-veil { position: absolute; inset: 0; opacity: 0; visibility: hidden; background: rgba(8, 9, 13, .6); -webkit-backdrop-filter: blur(28px) saturate(1.15) brightness(.8); backdrop-filter: blur(28px) saturate(1.15) brightness(.8);
  transition: opacity .42s ease-out, visibility 0s linear .42s; }
#cue-ov.light .cv-veil { background: rgba(8, 9, 13, .74); -webkit-backdrop-filter: blur(28px) saturate(1.1) brightness(.42); backdrop-filter: blur(28px) saturate(1.1) brightness(.42); }   /* the same deep, neutral, slightly cool dark on every level */   /* the paper pages need a deeper tint, or they turn a flat grey */
#cue-ov.shown .cv-veil { opacity: 1; visibility: visible; transition: opacity .42s ease-out, visibility 0s linear 0s; }   /* (11 November, cue v5) hidden outright (no blur to pay for) unless the full page is showing */
#cue-ov.closing .cv-veil { opacity: 0; transition: opacity .38s ease-in-out; }
#cue-ov .cv-veil::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 75% at 50% 30%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, .34) 100%); }   /* a soft vignette: darker towards the corners */
#cue-ov .cv-veil::after { content: ""; position: absolute; inset: 0; background: var(--cue-noise, none) 0 0 / 64px 64px; opacity: .02; }   /* a 2% noise tile so the gradients never band */
#cue-ov.lite .cv-veil { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(9, 10, 14, .8); }
#cue-ov.lite.light .cv-veil { background: rgba(9, 10, 14, .88); }

/* the aurora: five soft blobs of the logo's colours, centred on the orb (the frame loop moves, scales and fades the group). Light spilling from the orb onto frosted glass. */
#cue-ov .cv-aura { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; pointer-events: none; visibility: hidden; transition: visibility 0s linear .8s; }
#cue-ov.on.fs .cv-aura { visibility: visible; transition: none; }
#cue-ov.on .cv-aura { will-change: transform, opacity; }
#cue-ov .cv-aura i { position: absolute; display: block; border-radius: 50%; pointer-events: none; width: calc(var(--cue-d) * var(--w)); height: calc(var(--cue-d) * var(--w));
  left: calc(var(--cue-d) * (var(--x) - var(--w) / 2)); top: calc(var(--cue-d) * (var(--y) - var(--w) / 2)); will-change: transform; }
#cue-ov .cv-aura i::before, #cue-ov .cv-aura i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; transition: opacity .7s ease; }
#cue-ov .cv-aura i::before { background: radial-gradient(closest-side, rgba(var(--c), .5), rgba(var(--c), .16) 46%, rgba(var(--c), 0) 72%); }
#cue-ov .cv-aura i::after { background: radial-gradient(closest-side, rgba(150, 158, 178, .4), rgba(150, 158, 178, .12) 46%, rgba(150, 158, 178, 0) 72%); opacity: 0; }
#cue-ov.err .cv-aura i::before { opacity: 0; } #cue-ov.err .cv-aura i::after { opacity: 1; }
#cue-ov .a1 { --c: 24, 232, 255; --w: 3; --x: -.38; --y: -.32; animation: cue-d1 11s ease-in-out infinite alternate; }
#cue-ov .a2 { --c: 10, 120, 255; --w: 3.2; --x: -.34; --y: .3; animation: cue-d2 13s ease-in-out infinite alternate; }
#cue-ov .a3 { --c: 122, 44, 248; --w: 3; --x: .36; --y: -.34; animation: cue-d3 9s ease-in-out infinite alternate; }
#cue-ov .a4 { --c: 242, 94, 212; --w: 2.8; --x: .48; --y: .06; animation: cue-d4 12s ease-in-out infinite alternate; }
#cue-ov .a5 { --c: 255, 140, 150; opacity: .32; --w: 2.6; --x: .04; --y: .5; animation: cue-d5 14s ease-in-out infinite alternate; }
#cue-ov.lite .a3, #cue-ov.lite .a4, #cue-ov.lite .a5 { display: none; }   /* lite: two blobs */
@keyframes cue-d1 { from { transform: translate3d(-4%, -3%, 0) scale(.96); } to { transform: translate3d(5%, 4%, 0) scale(1.06); } }
@keyframes cue-d2 { from { transform: translate3d(4%, 3%, 0) scale(1.04); } to { transform: translate3d(-5%, -4%, 0) scale(.95); } }
@keyframes cue-d3 { from { transform: translate3d(3%, -4%, 0) scale(.95); } to { transform: translate3d(-4%, 5%, 0) scale(1.07); } }
@keyframes cue-d4 { from { transform: translate3d(-4%, 3%, 0) scale(1.05); } to { transform: translate3d(4%, -3%, 0) scale(.94); } }
@keyframes cue-d5 { from { transform: translate3d(3%, 2%, 0) scale(.97); } to { transform: translate3d(-3%, -5%, 0) scale(1.06); } }

/* the wake ring: one soft, wide band of light that grows from the orb (never a hard line); the two keyframes alternate so a new one restarts without a reflow */
#cue-ov .cv-ring { position: absolute; left: calc(var(--x, 0px) - var(--sz, 0px) / 2); top: calc(var(--y, 0px) - var(--sz, 0px) / 2); width: var(--sz, 0px); height: var(--sz, 0px); border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0) 54%, rgba(255, 255, 255, .2) 62%, rgba(255, 255, 255, 0) 72%); }
#cue-ov .cv-ring[data-r="a"] { animation: cue-ring-a 1.1s cubic-bezier(.2, .7, .2, 1) both; }
#cue-ov .cv-ring[data-r="b"] { animation: cue-ring-b 1.1s cubic-bezier(.2, .7, .2, 1) both; }
#cue-ov .cv-ring[data-s="s"][data-r="a"] { animation-name: cue-ring-sa; animation-duration: .7s; }
#cue-ov .cv-ring[data-s="s"][data-r="b"] { animation-name: cue-ring-sb; animation-duration: .7s; }
@keyframes cue-ring-a { from { transform: scale(.4); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
@keyframes cue-ring-b { from { transform: scale(.4); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
@keyframes cue-ring-sa { from { transform: scale(.5); opacity: .7; } to { transform: scale(2.2); opacity: 0; } }
@keyframes cue-ring-sb { from { transform: scale(.5); opacity: .7; } to { transform: scale(2.2); opacity: 0; } }

/* the orb: one canvas (or, with no WebGL, the vector globe in the same box), moved and scaled by one transform write per frame */
#cue-ov .cv-orb { position: absolute; left: 0; top: 0; width: 326px; height: 326px; transform-origin: 50% 50%; pointer-events: none; transition: opacity .2s ease; }
#cue-ov.on .cv-orb { will-change: transform; }
#cue-ov .cv-orb canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
#cue-ov .cv-orb-css { position: absolute; inset: 0; display: none; place-items: center; pointer-events: none; }
#cue-ov.nogl .cv-orb canvas { display: none; } #cue-ov.nogl .cv-orb-css { display: grid; }
#cue-ov .cv-orb-css svg { width: calc(100% * var(--k, .4)); height: auto; display: block; filter: drop-shadow(0 .5rem .9rem rgba(40, 20, 160, .4)); animation: cue-orb-breathe 5s ease-in-out infinite; transition: filter .8s ease; }
#cue-ov[data-state="think"] .cv-orb-css svg { animation: cue-orb-turn 2.4s linear infinite; }
#cue-ov.err .cv-orb-css svg { filter: grayscale(.95) brightness(.9) drop-shadow(0 .5rem .9rem rgba(0, 0, 0, .4)); }
@keyframes cue-orb-breathe { 0%, 100% { transform: scale(.985); } 50% { transform: scale(1.025); } }
@keyframes cue-orb-turn { to { transform: rotate(360deg); } }
#cue-ov .cv-hit { position: absolute; left: 50%; top: 50%; width: calc(100% * var(--k, .4) * .92); height: calc(100% * var(--k, .4) * .92); translate: -50% -50%; border-radius: 50%; border: 0; padding: 0; background: none;
  pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
#cue-ov .cv-hit:focus-visible { outline-offset: 6px; }
#cue-ov.rm .cv-orb { opacity: 0; }
#cue-ov.rm.shown .cv-orb, #cue-ov.rm.ci-on .cv-orb { opacity: 1; }
#cue-ov.rm.closing .cv-orb, #cue-ov.rm-out .cv-orb { opacity: 0; }

/* the close button: a 44 px glass circle with a thin cross, top right */
#cue-ov .cv-x, #cue-ov .cv-sh { position: absolute; top: max(24px, calc(1.6rem + var(--safe-t, 0px))); right: max(24px, 1.6rem); width: max(44px, 2.9rem); height: max(44px, 2.9rem); border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center;
  color: rgba(255, 255, 255, .92); background: var(--cg-fill); box-shadow: var(--cg-rim), var(--cg-shadow); cursor: pointer; opacity: 0; scale: .9; visibility: hidden; transition: opacity .3s ease, scale .56s var(--cue-pop), background .12s, visibility 0s linear .3s; }
#cue-ov .cv-sh { right: calc(max(24px, 1.6rem) + max(44px, 2.9rem) + 12px); }   /* (11 November, cue v5) Back to compact: the same glass, immediately left of Close */
#cue-ov .cv-x svg, #cue-ov .cv-sh svg { width: 46%; height: 46%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; display: block; }
#cue-ov.on.fs .cv-x, #cue-ov.on.fs .cv-sh { visibility: visible; transition: opacity .3s ease, scale .56s var(--cue-pop), background .12s, visibility 0s linear 0s; }
#cue-ov.shown .cv-x, #cue-ov.shown .cv-sh { opacity: 1; scale: 1; }
#cue-ov.on.fs.fresh .cv-x, #cue-ov.on.fs.fresh .cv-sh { transition-delay: .3s, .3s, 0s, 0s; }
#cue-ov.closing .cv-x, #cue-ov.closing .cv-sh { opacity: 0; scale: .9; transition: opacity .18s var(--cue-out), scale .18s var(--cue-out); transition-delay: 0s; }
#cue-ov .cv-x.pressed, #cue-ov .cv-sh.pressed { scale: .92; transition: scale .08s ease-out, background .08s; background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .16)); }

/* ---------- the stack: text and glass under the orb (the frame loop moves it with the orb) ---------- */
#cue-ov .cs { position: absolute; left: 50%; top: 0; translate: -50% 0; width: min(45rem, calc(100vw - 4rem)); display: flex; flex-direction: column; transform-origin: 50% 0;
  transition: opacity .25s ease, filter .25s ease, scale .25s ease; }
#cue-ov.on .cs { will-change: transform; }
#cue-ov.closing .cs { opacity: 0; filter: blur(6px); scale: .98; transition: opacity .18s var(--cue-out), filter .18s var(--cue-out), scale .18s var(--cue-out); }

/* the headline and the question share one cell and cross-fade through a blur; the cell's height is a spring in the frame loop */
#cue-ov .cs-top { position: relative; margin-bottom: 1.5rem; }
#cue-ov .cs-h, #cue-ov .cs-q { position: absolute; left: 0; right: 0; top: 0; margin: 0; text-align: center; text-wrap: balance; opacity: 0; filter: blur(6px); transition: opacity .3s ease, filter .3s ease; }
#cue-ov .cs-h { font-size: max(26px, 2.15rem); line-height: 1.2; font-weight: 500; letter-spacing: -.022em; color: rgba(255, 255, 255, .96); }
#cue-ov .cs-h .w { display: inline-block; opacity: 0; filter: blur(6px); transform: translateY(4px); transition: opacity .5s ease var(--dl, 0ms), filter .5s ease var(--dl, 0ms), transform .6s var(--cue-spring) var(--dl, 0ms); }
#cue-ov .cs-h .w.in { opacity: 1; filter: none; transform: none; --dl: calc(var(--d0, 0ms) + var(--i, 0) * 45ms); }
#cue-ov .cs-q { font-size: max(20px, 1.6rem); line-height: 1.3; font-weight: 500; letter-spacing: -.015em; color: rgba(255, 255, 255, .8); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#cue-ov[data-view="ask"] .cs-h, #cue-ov[data-view="think"] .cs-q, #cue-ov[data-view="answer"] .cs-q, #cue-ov[data-view="error"] .cs-q { opacity: 1; filter: none; }
/* thinking, for the eye: a band of light sweeps across the question's letters */
#cue-ov .cs-q.shimmer { color: transparent; background: linear-gradient(100deg, rgba(255, 255, 255, .5) 35%, #fff 50%, rgba(255, 255, 255, .5) 65%) 100% 0 / 280% 100% no-repeat; -webkit-background-clip: text; background-clip: text; animation: cue-shimmer 1.6s linear infinite; }
@keyframes cue-shimmer { to { background-position: 0 0; } }
#cue-ov .cs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; }

/* the answer card (glass, a touch more solid): its height is a spring in the frame loop and follows the streamed text; the bar below glides with it */
#cue-ov .cs-cw { position: relative; height: 0; --gap: 1.1rem; }
#cue-ov .cs-card { position: absolute; left: 0; right: 0; top: 0; bottom: var(--gap); border-radius: 2rem; background: var(--cg-card); box-shadow: var(--cg-rim), var(--cg-shadow);
  opacity: 0; transform: translateY(16px) scale(.95); transform-origin: 50% 0; filter: blur(10px); pointer-events: none;
  transition: opacity .28s ease, transform .6s var(--cue-spring), filter .45s ease; }
#cue-ov .cs-card.on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
#cue-ov .cs-scroll { position: absolute; inset: 0; padding: 1.85rem 2.1rem 1.6rem; overflow: hidden; border-radius: inherit; -webkit-user-select: text; user-select: text; }
#cue-ov .cs-card.capped .cs-scroll { overflow-y: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 1.7rem, #000 calc(100% - 1.7rem), transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 1.7rem, #000 calc(100% - 1.7rem), transparent 100%); }
#cue-ov .cs-card.capped .cs-scroll::-webkit-scrollbar { display: none; }
#cue-ov .cs-a { font-size: max(18px, 1.47rem); line-height: 1.5; font-weight: 450; letter-spacing: -.011em; color: rgba(255, 255, 255, .95); text-wrap: pretty; }
#cue-ov .cs-a .w { display: inline-block; animation: cue-word .42s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--j, 0) * 30ms); }
@keyframes cue-word { from { opacity: 0; transform: translateY(4px); filter: blur(6px); } }
@keyframes cue-word-lite { from { opacity: 0; transform: translateY(4px); } }
#cue-ov.lite .cs-a .w { animation-name: cue-word-lite; }
#cue-ov .cs-a .e-t { display: block; font-size: max(18px, 1.47rem); font-weight: 600; letter-spacing: -.015em; margin-bottom: .4rem; }
#cue-ov .cs-a .e-x { display: block; font-size: max(16px, 1.2rem); line-height: 1.45; color: rgba(255, 255, 255, .78); font-weight: 450; }
#cue-ov .cs-foot { display: flex; align-items: center; min-height: 1.4rem; margin-top: 1rem; }
#cue-ov .cs-tag { font-size: max(12px, .8rem); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .45); font-weight: 500; opacity: 0; transition: opacity .4s ease; }
#cue-ov.done .cs-tag { opacity: 1; }
#cue-ov.err .cs-tag { display: none; }
#cue-ov .cs-btns { margin-left: auto; display: flex; gap: .65rem; opacity: 0; transition: opacity .4s ease .1s; }
#cue-ov.err.done .cs-btns { opacity: 1; }
#cue-ov .cs-btns button { height: max(44px, 3rem); padding: 0 1.45rem; border: 0; border-radius: 999px; font-size: max(15px, 1.1rem); font-weight: 500; letter-spacing: -.01em; color: rgba(255, 255, 255, .92); cursor: pointer;
  background: var(--cg-fill); box-shadow: var(--cg-rim); scale: 1; transition: scale .56s var(--cue-pop), background .12s; }
#cue-ov .cs-btns button.primary { background: #fff; color: #101218; box-shadow: 0 .4rem 1rem rgba(0, 0, 0, .25); font-weight: 600; }
#cue-ov .cs-btns button.pressed { scale: .96; transition: scale .08s ease-out; }
#cue-ov .cs-btns button:not(.primary).pressed { background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .16)); }

/* glass pieces carry a faint spill of the orb's colour along their top edge (the frame loop writes its opacity from the voice) */
#cue-ov .cs-spill { position: absolute; left: 1px; right: 1px; top: 1px; bottom: 1px; border-radius: inherit; pointer-events: none; opacity: .1;
  background: radial-gradient(ellipse 52% 95% at 20% 0, rgba(24, 232, 255, .6), rgba(24, 232, 255, 0) 72%), radial-gradient(ellipse 52% 95% at 80% 0, rgba(242, 94, 212, .55), rgba(242, 94, 212, 0) 72%); }
#cue-ov .cs-card .cs-spill { bottom: auto; height: 7rem; border-radius: 2rem 2rem 0 0; }

/* the ask bar: a pill of glass. Its living rim of colour turns while Cue listens or the field has focus */
@property --cue-a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
#cue-ov .cs-bar { position: relative; display: flex; align-items: center; height: max(60px, 4.25rem); margin: 0; padding: 0 .6rem 0 1.7rem; border-radius: 999px; background: var(--cg-fill); box-shadow: var(--cg-rim), var(--cg-shadow);
  opacity: 0; transform: translateY(1.6rem) scale(.96); filter: blur(8px); scale: 1; transition: opacity .45s ease, transform .56s var(--cue-spring), filter .45s ease, scale .56s var(--cue-pop); }
#cue-ov.shown .cs-bar { opacity: 1; transform: none; filter: none; }
#cue-ov.fresh .cs-bar { transition-delay: .33s, .33s, .33s, 0s; }
#cue-ov .cs-bar.focus { scale: 1.015; }
#cue-ov .cs-bar.dim { opacity: .45; pointer-events: none; }
#cue-ov .cs-bar::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; opacity: 0; transition: opacity .4s ease;
  background: conic-gradient(from var(--cue-a), #18E8FF, #0A78FF, #7A2CF8, #F25ED4, #FFA2B0, #FFE28A, #18E8FF);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask-composite: exclude;
  animation: cue-rim 6s linear infinite paused; }
#cue-ov .cs-glow { position: absolute; inset: -3px; border-radius: inherit; pointer-events: none; opacity: 0; z-index: -1; filter: blur(14px); transition: opacity .4s ease; }   /* the same ring, blurred, as a glow */
#cue-ov .cs-glow::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 5px; background: conic-gradient(from var(--cue-a), #18E8FF, #0A78FF, #7A2CF8, #F25ED4, #FFA2B0, #FFE28A, #18E8FF);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask-composite: exclude; animation: cue-rim 6s linear infinite paused; }
#cue-ov .cs-bar.glow::before { opacity: 1; animation-play-state: running; }
#cue-ov .cs-bar.glow .cs-glow { opacity: .5; } #cue-ov .cs-bar.glow .cs-glow::before { animation-play-state: running; }
@keyframes cue-rim { to { --cue-a: 360deg; } }
#cue-ov .cs-bar input { position: relative; flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; padding: 0; margin: 0; color: #fff; caret-color: #fff; border-radius: 0;
  font-family: inherit; font-size: max(17px, 1.3rem); font-weight: 450; letter-spacing: -.01em; -webkit-user-select: text; user-select: text; -webkit-appearance: none; appearance: none; }
#cue-ov .cs-bar input::placeholder { color: rgba(255, 255, 255, .5); opacity: 1; }
#cue-ov .cs-bar input:disabled { opacity: 1; -webkit-text-fill-color: currentColor; }
#cue-ov .cs-bar.nudge[data-k="a"] { animation: cue-nudge-a .36s ease-out; } #cue-ov .cs-bar.nudge[data-k="b"] { animation: cue-nudge-b .36s ease-out; }
@keyframes cue-nudge-a { 0%, 100% { translate: 0; } 20% { translate: -6px; } 45% { translate: 6px; } 70% { translate: -4px; } 88% { translate: 2px; } }
@keyframes cue-nudge-b { 0%, 100% { translate: 0; } 20% { translate: -6px; } 45% { translate: 6px; } 70% { translate: -4px; } 88% { translate: 2px; } }
/* the round action: a mic on glass; with text it morphs into Send (the mic shrinks and fades, an arrow grows and turns from -45 degrees, the disc fills white); five bars follow the voice while listening */
#cue-ov .cs-act { position: relative; flex: none; width: max(44px, 3rem); height: max(44px, 3rem); border: 0; border-radius: 50%; padding: 0; margin: 0; color: #fff; cursor: pointer;
  background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .09)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 0 0 1px rgba(255, 255, 255, .08); scale: 1;
  transition: background-color .22s ease, color .22s ease, scale .56s var(--cue-pop); }
#cue-ov .cs-act > span { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .22s ease, transform .34s var(--cue-pop); }
#cue-ov .cs-act svg { width: 46%; height: 46%; display: block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#cue-ov .ac-send { opacity: 0; transform: scale(.6) rotate(-45deg); }
#cue-ov .ac-bars { opacity: 0; transform: scale(.7); display: flex !important; gap: 3px; align-items: center; justify-content: center; }
#cue-ov .ac-bars i { display: block; width: 3px; height: 1.2rem; border-radius: 2px; background: #fff; transform: scaleY(.2); }
#cue-ov.listening .ac-mic { opacity: 0; transform: scale(.6); }
#cue-ov.listening .ac-bars { opacity: 1; transform: none; }
#cue-ov .cs-bar.has-text .ac-mic, #cue-ov .cs-bar.has-text .ac-bars { opacity: 0; transform: scale(.6); }
#cue-ov .cs-bar.has-text .ac-send { opacity: 1; transform: none; }
#cue-ov .cs-bar.has-text .cs-act { background: #fff; color: #101218; }
#cue-ov .cs-act.pressed { scale: .92; transition: scale .08s ease-out, background-color .22s ease, color .22s ease; }

/* the suggestion chips: glass capsules that arrive 50 ms apart; a press dents them and a spring brings them back */
#cue-ov .cs-chips { display: flex; flex-direction: column; align-items: center; align-self: center; width: min(58rem, calc(100vw - 4rem)); gap: .65rem; margin-top: 1.1rem; opacity: 0; visibility: hidden; transition: opacity .14s ease, visibility 0s linear .14s; }
#cue-ov.on.fs .cs-chips.on { opacity: 1; visibility: visible; transition-delay: 0s; }   /* (11 November, round 2) a descendant may only be visible under an open overlay: a child's visibility: visible shows through a hidden parent */
#cue-ov .cs-chips .row { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; }
#cue-ov .cs-chips button { height: max(44px, 3.05rem); padding: 0 1.35rem; border: 0; border-radius: 999px; font-size: max(15px, 1.1rem); font-weight: 500; letter-spacing: -.01em; color: rgba(255, 255, 255, .88); cursor: pointer;
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .05)); box-shadow: var(--cg-rim), var(--cg-shadow); opacity: 0; transform: translateY(14px) scale(.94); scale: 1;
  transition: opacity .4s ease var(--dl, 0ms), transform .6s var(--cue-spring) var(--dl, 0ms), scale .56s var(--cue-pop), background-color .15s; }
#cue-ov .cs-chips button.in { opacity: 1; transform: none; --dl: calc(var(--d0, 0ms) + var(--i, 0) * 50ms); }
#cue-ov .cs-chips button.pressed { scale: .96; background: linear-gradient(180deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .17)); transition: opacity .4s ease var(--dl, 0ms), transform .6s var(--cue-spring) var(--dl, 0ms), scale .08s ease-out; }
#cue-ov .cs-chips button.picked { background: rgba(255, 255, 255, .26); color: #fff; }
#cue-ov .cs-chips.picking button:not(.picked) { opacity: 0; --dl: 0ms; transition: opacity .12s ease, transform .6s var(--cue-spring), scale .56s var(--cue-pop); }
#cue-ov .cs-note { margin: .9rem 0 0; min-height: 1.5rem; text-align: center; font-size: max(14px, .95rem); line-height: 1.4; color: rgba(255, 255, 255, .55); }
#cue-ov .cs-note span { display: inline-block; opacity: 0; transition: opacity .25s ease; }
#cue-ov .cs-note span.on { opacity: 1; }

/* lite mode (weak tablets): the veil has no backdrop blur, so the glass pieces carry their own small one; no blur in word reveals */
#cue-ov.lite .cs-bar, #cue-ov.lite .cs-chips button, #cue-ov.lite .cs-card, #cue-ov.lite .cv-x { -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
#cue-ov.lite .cs-h .w { filter: none; }
#cue-ov.lite .cs-bar, #cue-ov.lite .cs-card { filter: none; }

/* reduced motion: no travel, no rises, no blur, no stagger (opacity only, 200 ms), the aurora is still, the wake ring is off, the living rim is static */
@media (prefers-reduced-motion: reduce) {
  #cue-ov .cs-bar, #cue-ov .cs-card, #cue-ov .cs-chips button, #cue-ov .cs-h .w, #cue-ov .cv-x { transform: none !important; filter: none !important; transition: opacity .2s linear !important; transition-delay: 0s !important; }
  #cue-ov .cs-h, #cue-ov .cs-q { filter: none; }
  #cue-ov .cs-a .w { animation: cue-word-rm .2s linear backwards; animation-delay: 0s; }
  #cue-ov .cv-aura i, #cue-ov .cs-bar::before, #cue-ov .cs-glow::before, #cue-ov .cv-orb-css svg, #cue-ov .cs-q.shimmer { animation: none; }
  #cue-ov .cv-ring { display: none; }
  #cue .cue-pose, #cue.settle .cue-pose { animation: none; transition: none; }
  #cue .cue-mark .cm-sheen::before { animation: none; }   /* (11 November, cue v6) the seat's sheen rests too */
}
@keyframes cue-word-rm { from { opacity: 0; } }

/* ---------- (11 November, cue v5) the full page only shows, and only takes taps, in the full size; the island's parts only in the island ---------- */
#cue-ov:not(.fs) .cs { opacity: 0; filter: blur(6px); scale: .98; visibility: hidden; pointer-events: none; transition: opacity .18s var(--cue-out), filter .18s var(--cue-out), scale .18s var(--cue-out), visibility 0s linear .2s; }
#cue-ov:not(.fs) .cs * { pointer-events: none; }

/* ---------- (11 November, cue v5) the island: a compact black glass plate that grows out of the seat ((11 November, cue v6) it was the capsule) ----------
   The plate's rect (a transform, a width, a height and a radius) is written by the frame loop from springs; its parts have fixed widths of their own (--ci-w), so nothing re-flows while it grows.
   Everything the plate holds is clipped to it (overflow hidden), including the wake ring. */
#cue-ov .cv-dim { position: absolute; inset: 0; background: rgba(8, 9, 13, .16); opacity: 0; visibility: hidden; transition: opacity .24s ease-out, visibility 0s linear .24s; }   /* one plain dim layer, no filter: Cue has the floor, the showroom stays readable */
#cue-ov.on.is.ci-on .cv-dim { opacity: 1; visibility: visible; transition: opacity .24s ease-out, visibility 0s linear 0s; }
#cue-ov .ci { position: absolute; left: 0; top: 0; width: var(--ci-w, 580px); height: 114px; box-sizing: border-box; border-radius: 30px; overflow: hidden; visibility: hidden; pointer-events: none; transform-origin: 50% 0; color: #fff;
  background: rgba(15, 16, 21, .92); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10), inset 0 1px 0 rgba(255, 255, 255, .16), 0 8px 22px -10px rgba(0, 0, 0, .5);   /* it starts as the seat (v6: at opacity 0, written by the frame loop) with the near-black fill, rim, top light and shadow */
  -webkit-backdrop-filter: blur(26px) saturate(1.5); backdrop-filter: blur(26px) saturate(1.5);
  transition: background-color .3s ease, box-shadow .3s ease, opacity .22s ease, scale .22s ease, visibility 0s linear .3s; }
#cue-ov.on.is .ci { visibility: visible; pointer-events: auto; transition: background-color .3s ease, box-shadow .3s ease, opacity 0s, scale .22s ease, visibility 0s linear 0s; }   /* (11 November, cue v6) the plate's opacity is written every frame while it grows from or tucks into the seat (plateA): a transition would lag it */
#cue-ov.rm.on.is .ci { transition: opacity .2s linear, visibility 0s linear 0s; }   /* reduced motion: the CSS fades it in place */
#cue-ov.closing .ci { pointer-events: none; }   /* (11 November, cue v6) the seat lies under the overlay: while the plate is on its way home a tap there must reach the overlay (it reopens), not a field of the island */
#cue-ov.on.is.ci-on .ci { background: rgba(15, 16, 21, .78); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10), inset 0 1px 0 rgba(255, 255, 255, .16), 0 24px 60px -18px rgba(0, 0, 0, .6), 0 6px 18px -8px rgba(0, 0, 0, .35); }
#cue-ov.gone .ci { opacity: 0; scale: .98; pointer-events: none; }   /* Expand: the plate dissolves while the full page comes in */
#cue-ov.lite .ci { -webkit-backdrop-filter: none; backdrop-filter: none; }
#cue-ov.lite.on.is.ci-on .ci { background: rgba(15, 16, 21, .94); }
/* the living rim: the logo's colours round the whole plate, about 25% at rest, full strength while Cue listens or the field has focus (the animation only runs while it shows); grey in the error state */
#cue-ov .ci::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; opacity: 0; transition: opacity .4s ease;
  background: conic-gradient(from var(--cue-a), #18E8FF, #0A78FF, #7A2CF8, #F25ED4, #FFA2B0, #FFE28A, #18E8FF);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask-composite: exclude;
  animation: cue-rim 6s linear infinite paused; }
#cue-ov.ci-on .ci::before { opacity: .25; }
#cue-ov.ci-on .ci.glow::before { opacity: 1; animation-play-state: running; }
#cue-ov.err .ci::before { background: conic-gradient(from var(--cue-a), #8d93a1, #c9ced8, #8d93a1, #aab0bd, #8d93a1); }
#cue-ov.err.ci-on .ci.glow::before { opacity: .7; }
/* the wake ring leaves the orb's slot once on open, clipped to the plate */
#cue-ov .ci-ring { position: absolute; left: -18px; top: -18px; width: 100px; height: 100px; border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0) 54%, rgba(255, 255, 255, .2) 62%, rgba(255, 255, 255, 0) 72%); }
#cue-ov .ci-ring[data-r="a"] { animation: cue-ring-a 1.1s cubic-bezier(.2, .7, .2, 1) both; }
#cue-ov .ci-ring[data-r="b"] { animation: cue-ring-b 1.1s cubic-bezier(.2, .7, .2, 1) both; }
#cue-ov .ci-ring[data-s="s"][data-r="a"] { animation-name: cue-ring-sa; animation-duration: .7s; }
#cue-ov .ci-ring[data-s="s"][data-r="b"] { animation-name: cue-ring-sb; animation-duration: .7s; }

/* row A: the bar. The orb's slot (48 px, 8 px in), the field, the mic or send, Expand, Close */
#cue-ov .ci-bar { position: absolute; left: 0; top: 0; width: var(--ci-w, 580px); height: 64px; margin: 0; padding: 0 8px; box-sizing: border-box; display: flex; align-items: center; }
#cue-ov .ci-slot { flex: none; display: block; width: 48px; height: 48px; margin-right: 10px; }
#cue-ov .ci-in { position: relative; flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; padding: 0; margin: 0; color: #fff; caret-color: #fff; border-radius: 0; -webkit-text-fill-color: currentColor;
  font-family: inherit; font-size: 17px; font-weight: 450; letter-spacing: -.01em; -webkit-user-select: text; user-select: text; -webkit-appearance: none; appearance: none; }
#cue-ov .ci-in::placeholder { color: rgba(255, 255, 255, .5); opacity: 1; }
#cue-ov .ci-in:disabled { opacity: 1; -webkit-text-fill-color: currentColor; }
#cue-ov .ci-act, #cue-ov .ci-xp, #cue-ov .ci-x { position: relative; flex: none; border: 0; border-radius: 50%; padding: 0; margin: 0; color: #fff; cursor: pointer; scale: 1; display: block; }
#cue-ov .ci-act { width: 40px; height: 40px; margin-left: 6px; background: rgba(255, 255, 255, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(255, 255, 255, .06); }
#cue-ov .ci-xp, #cue-ov .ci-x { width: 36px; height: 36px; margin-left: 4px; color: rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
#cue-ov .ci-act::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; }   /* 44 px to touch */
#cue-ov .ci-xp::after, #cue-ov .ci-x::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; }
#cue-ov .ci-xp svg, #cue-ov .ci-x svg { position: absolute; left: 50%; top: 50%; width: 17px; height: 17px; translate: -50% -50%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; display: block; }
#cue-ov .ci-act > span { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .22s ease, transform .34s var(--cue-pop); }
#cue-ov .ci-act svg { width: 46%; height: 46%; display: block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#cue-ov .ci-act .ac-bars i { height: 15px; }
#cue-ov .ci-bar.has-text .ac-mic, #cue-ov .ci-bar.has-text .ac-bars { opacity: 0; transform: scale(.6); }
#cue-ov .ci-bar.has-text .ac-send { opacity: 1; transform: none; }
#cue-ov .ci-bar.has-text .ci-act { background: #fff; color: #101218; }
/* the bar's parts arrive 60 to 140 ms after the plate starts to grow: opacity and a 6 px rise, 25 ms apart */
#cue-ov .ci-in { opacity: 0; transform: translateY(6px); transition: opacity .11s ease, transform .11s ease; }
#cue-ov .ci-act { opacity: 0; transform: translateY(6px); transition: opacity .11s ease, transform .11s ease, background-color .22s ease, color .22s ease, scale .56s var(--cue-pop); }
#cue-ov .ci-xp, #cue-ov .ci-x { opacity: 0; transform: translateY(6px); transition: opacity .11s ease, transform .11s ease, background-color .15s ease, scale .56s var(--cue-pop); }
#cue-ov.ci-on .ci-in { opacity: 1; transform: none; transition: opacity .28s ease 300ms, transform .5s var(--cue-spring) 300ms; }   /* (round 2) the field's text waits for the orb to reach its slot: it was drawn under the orb while that was still larger and travelling */
#cue-ov.ci-on .ci-act { opacity: 1; transform: none; transition: opacity .3s ease 110ms, transform .5s var(--cue-spring) 110ms, background-color .22s ease, color .22s ease, scale .56s var(--cue-pop); }
#cue-ov.ci-on .ci-xp { opacity: 1; transform: none; transition: opacity .3s ease 135ms, transform .5s var(--cue-spring) 135ms, background-color .15s ease, scale .56s var(--cue-pop); }
#cue-ov.ci-on .ci-x { opacity: 1; transform: none; transition: opacity .3s ease 160ms, transform .5s var(--cue-spring) 160ms, background-color .15s ease, scale .56s var(--cue-pop); }
#cue-ov.ci-on .ci-bar.dim .ci-in, #cue-ov.ci-on .ci-bar.dim .ci-act { opacity: .45; pointer-events: none; }
#cue-ov .ci-act.pressed, #cue-ov .ci-xp.pressed, #cue-ov .ci-x.pressed { scale: .92; transition: scale .08s ease-out, opacity .3s ease, transform .5s var(--cue-spring), background-color .22s ease, color .22s ease; }
#cue-ov .ci-xp.pressed, #cue-ov .ci-x.pressed { background: rgba(255, 255, 255, .18); }
#cue-ov .ci-bar.nudge[data-k="a"] { animation: cue-nudge-a .36s ease-out; } #cue-ov .ci-bar.nudge[data-k="b"] { animation: cue-nudge-b .36s ease-out; }

/* the suggestions: one row of chips under the bar, never wrapping; the script shows as many as fit whole */
#cue-ov .ci-chips, #cue-ov .ci-more { display: flex; align-items: center; gap: 8px; height: 44px; overflow: hidden; }
#cue-ov .ci-chips { position: absolute; left: 14px; top: 60px; width: calc(var(--ci-w, 580px) - 28px); opacity: 0; transition: opacity .14s ease; }
#cue-ov.ci-on .ci-chips.on { opacity: 1; }
#cue-ov .ci-chips button, #cue-ov .ci-more button { position: relative; flex: none; max-width: 100%; height: 36px; padding: 0 14px; border: 0; border-radius: 999px; font-size: 14.5px; font-weight: 500; letter-spacing: -.01em; color: rgba(255, 255, 255, .88); cursor: pointer; white-space: nowrap;
  background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), inset 0 1px 0 rgba(255, 255, 255, .09); opacity: 0; transform: translateY(6px); filter: blur(6px); scale: 1;
  transition: opacity .4s ease var(--dl, 0ms), transform .5s var(--cue-spring) var(--dl, 0ms), filter .4s ease var(--dl, 0ms), scale .56s var(--cue-pop), background-color .15s; }
#cue-ov .ci-chips button::after, #cue-ov .ci-more button::after { content: ""; position: absolute; inset: -4px 0; }   /* 44 px to touch */
#cue-ov .ci-chips button[hidden], #cue-ov .ci-more button[hidden] { display: none; }
#cue-ov .ci-chips button.in, #cue-ov .ci-more button.in { opacity: 1; transform: none; filter: none; --dl: calc(var(--d0, 0ms) + var(--i, 0) * 40ms); }
#cue-ov .ci-chips button.pressed, #cue-ov .ci-more button.pressed { scale: .96; background: rgba(255, 255, 255, .2); transition: opacity .4s ease var(--dl, 0ms), transform .5s var(--cue-spring) var(--dl, 0ms), filter .4s ease var(--dl, 0ms), scale .08s ease-out; }
#cue-ov .ci-chips button.picked, #cue-ov .ci-more button.picked { background: rgba(255, 255, 255, .24); color: #fff; }
#cue-ov .ci-chips.picking button:not(.picked), #cue-ov .ci-more.picking button:not(.picked) { opacity: 0; --dl: 0ms; transition: opacity .12s ease, transform .5s var(--cue-spring), filter .4s ease, scale .56s var(--cue-pop); }
#cue-ov.lite .ci-chips button, #cue-ov.lite .ci-more button { filter: none; }
#cue-ov .ci-note { position: absolute; left: 22px; right: 22px; bottom: 8px; margin: 0; font-size: 13.5px; line-height: 18px; color: rgba(255, 255, 255, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#cue-ov .ci-note span { display: inline-block; opacity: 0; transition: opacity .25s ease; }
#cue-ov .ci-note span.on { opacity: 1; }

/* the body: the question, the answer, its tag, the follow-ups, the error's buttons. At most min(46vh, 380px) tall; past that it scrolls inside with a soft fade at its foot */
#cue-ov .ci-body { position: absolute; left: 0; top: 64px; width: var(--ci-w, 580px); max-height: var(--ci-bmax, 380px); box-sizing: border-box; padding: 2px 22px 18px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  opacity: 0; transition: opacity .2s ease; -webkit-user-select: text; user-select: text; }
#cue-ov .ci-body::-webkit-scrollbar { display: none; }
#cue-ov.ci-on[data-view="think"] .ci-body, #cue-ov.ci-on[data-view="answer"] .ci-body, #cue-ov.ci-on[data-view="error"] .ci-body { opacity: 1; transition: opacity .25s ease .1s; }   /* the delay keeps it from crossing the full page's card while Shrink is fading that out */
#cue-ov[data-view="ask"] .ci-body { pointer-events: none; }
#cue-ov .ci-body.capped { -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 28px), transparent 100%); }
#cue-ov .ci-q { margin: 0; font-size: 15px; line-height: 1.35; font-weight: 450; letter-spacing: -.005em; color: rgba(255, 255, 255, .62); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#cue-ov .ci-q:empty, #cue-ov .ci-a:empty, #cue-ov .ci-tag:empty, #cue-ov .ci-more:empty, #cue-ov .ci-btns:empty { display: none; }
#cue-ov .ci-q.shimmer { color: transparent; background: linear-gradient(100deg, rgba(255, 255, 255, .5) 35%, #fff 50%, rgba(255, 255, 255, .5) 65%) 100% 0 / 280% 100% no-repeat; -webkit-background-clip: text; background-clip: text; animation: cue-shimmer 1.6s linear infinite; }
#cue-ov .ci-a { margin: 8px 0 0; font-size: 17px; line-height: 1.45; font-weight: 450; letter-spacing: -.011em; color: rgba(255, 255, 255, .96); text-wrap: pretty; }
#cue-ov .ci-a .w { display: inline-block; animation: cue-word .42s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--j, 0) * 30ms); }
#cue-ov.lite .ci-a .w { animation-name: cue-word-lite; }
#cue-ov .ci-a .e-t { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 4px; }
#cue-ov .ci-a .e-x { display: block; font-size: 15px; line-height: 1.4; color: rgba(255, 255, 255, .78); font-weight: 450; }
#cue-ov .ci-tag { display: block; margin-top: 12px; font-size: 11px; line-height: 14px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .42); font-weight: 500; opacity: 0; transition: opacity .4s ease; }
#cue-ov.done .ci-tag { opacity: 1; }
#cue-ov.err .ci-tag { display: none; }
#cue-ov .ci-more { margin-top: 8px; }
#cue-ov .ci-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
#cue-ov .ci-btns button { position: relative; height: 40px; padding: 0 18px; border: 0; border-radius: 999px; font-size: 15px; font-weight: 500; letter-spacing: -.01em; color: rgba(255, 255, 255, .92); cursor: pointer; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); scale: 1; transition: scale .56s var(--cue-pop), background-color .12s; }
#cue-ov .ci-btns button::after { content: ""; position: absolute; inset: -2px 0; }
#cue-ov .ci-btns button.primary { background: #fff; color: #101218; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); font-weight: 600; }
#cue-ov .ci-btns button.pressed { scale: .96; transition: scale .08s ease-out; }
#cue-ov .ci-btns button:not(.primary).pressed { background: rgba(255, 255, 255, .22); }

/* reduced motion: the plate fades in and out in place (no growing), the island's parts fade only, no ring, a still rim */
#cue-ov.rm .ci { opacity: 0; transition: opacity .2s linear; }
#cue-ov.rm.on.is.ci-on .ci { opacity: 1; }
#cue-ov.rm.gone .ci { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  #cue-ov .ci-in, #cue-ov .ci-act, #cue-ov .ci-xp, #cue-ov .ci-x, #cue-ov .ci-chips button, #cue-ov .ci-more button { transform: none !important; filter: none !important; transition: opacity .2s linear !important; transition-delay: 0s !important; }
  #cue-ov .ci-a .w { animation: cue-word-rm .2s linear backwards; animation-delay: 0s; }
  #cue-ov .ci::before, #cue-ov .ci-q.shimmer { animation: none; }
  #cue-ov .ci-ring { display: none; }
}
#cue-ov.light .ci { background: #16161b; }
#cue-ov.light.on.is.ci-on .ci { background: rgba(22, 22, 27, .9); }   /* over the paper pages a .78 fill turns slate grey: a little more black keeps it the capsule's colour */
#cue-ov.lite.light.on.is.ci-on .ci { background: rgba(22, 22, 27, .95); }

/* ---------- (12 November, cue v7: the bottom strip) the button in the strip, and the island turned over: it grows UP out of the bottom-left ----------
   Version 6's #tally rules above stay for a page with no strip. #cuebar #cue: (round 2) the 56 x 34 touch box is centred on the 28 px seat (js/cue/cue.js adds .bot to #cue-ov when the button is in the strip); it lies wholly inside the 34 px strip; the globe is 28 px. */
#cuebar #cue { position: absolute; inset: 0; left: 0; top: 0; width: 44px; height: 44px; min-width: 44px; min-height: 44px; margin: 0; border-radius: 50%; pointer-events: auto;
  background: var(--cue-disc); box-shadow: var(--cue-ring); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  transition: background-color .22s var(--ease-out, ease-out), box-shadow .22s var(--ease-out, ease-out); }   /* (15 November, v1, fix 5) the 44 px round button at the bottom left: a see-through disc of the sun button's family (css/cue/cuebar.css has the colours per page) */
#cuebar #cue .cue-mark { width: 30px; height: 30px; opacity: var(--cue-g, .68); filter: saturate(var(--cue-gs, .78)); transition: opacity .22s var(--ease-out, ease-out), filter .22s var(--ease-out, ease-out); }   /* the globe at rest: faded, a little desaturated */
#cuebar #cue .cue-pose { border-radius: 50%; }
#cuebar #cue:focus-visible { outline: 2px solid rgba(110, 90, 240, .9); outline-offset: 2px; border-radius: 50%; }
#cuebar #cue .cue-mark svg { filter: drop-shadow(0 1px 1.5px rgba(20, 10, 100, .28)); }
/* the idle quieting (body.clean): the disc's fill goes (its hairline ring and the globe stay, so it is still findable) */
body.clean #cuebar #cue:not(:is(.open, [aria-expanded="true"], :focus-visible)) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
/* up to full: hover (a real pointer only), keyboard focus, the press, and while the panel is open: a solid disc, the globe at full opacity and colour (the 220 ms ease above; reduced motion: a plain 0.01 ms swap is fine, nothing moves) */
#cuebar #cue:is(:focus-visible, .pressed, .open, [aria-expanded="true"]) { background: var(--cue-disc-on); box-shadow: var(--cue-ring-on); }
#cuebar #cue:is(:focus-visible, .pressed, .open, [aria-expanded="true"]) .cue-mark { opacity: 1; filter: none; }
@media (hover: hover) {
  body.clean #cuebar #cue:hover, #cuebar #cue:hover { background: var(--cue-disc-on); box-shadow: var(--cue-ring-on); }
  body.clean #cuebar #cue:hover .cue-mark, #cuebar #cue:hover .cue-mark { opacity: 1; filter: none; }
}
@media (prefers-reduced-motion: reduce) { #cuebar #cue, #cuebar #cue .cue-mark { transition: background-color .01ms, box-shadow .01ms, opacity .01ms, filter .01ms; } }
/* the plate: its top is painted as (bottom edge - height) by the frame loop, so the bottom edge is fixed. The ask row sits on the bottom edge; the suggestion chips stand on it; the note is just above the row (above the chips in the ask view: the chips come first there);
   the body hangs from the plate's top edge (it rises with it) and reaches down to the row, with a mirrored padding. The shadow falls upward, the screen's foot is below */
#cue-ov.bot .ci { transform-origin: 50% 100%; }
#cue-ov.bot .ci-bar { top: auto; bottom: 0; }
#cue-ov.bot .ci-chips { top: auto; bottom: 60px; }
#cue-ov.bot .ci-body { top: 0; padding: 18px 22px 2px; }
#cue-ov.bot .ci-body.capped { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent 100%); }
#cue-ov.bot .ci-note { top: auto; bottom: 68px; }
#cue-ov.bot[data-view="ask"] .ci-note { bottom: 106px; }
#cue-ov.bot .ci-ring { top: auto; bottom: -18px; }
#cue-ov.bot .ci { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10), inset 0 1px 0 rgba(255, 255, 255, .16), 0 -8px 22px -10px rgba(0, 0, 0, .5); }
#cue-ov.bot.on.is.ci-on .ci { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10), inset 0 1px 0 rgba(255, 255, 255, .16), 0 -24px 60px -18px rgba(0, 0, 0, .6), 0 -6px 18px -8px rgba(0, 0, 0, .35); }
/* reduced motion in the strip: the plate and the orb fade where they stand (the showroom's global reduced-motion rule makes every plain transition 0.01 ms, so these say !important, as the island's own parts do above) */
#cue-ov.bot.rm .ci, #cue-ov.bot.rm.on.is .ci { transition: opacity .2s linear !important; }
#cue-ov.bot.rm .cv-orb { transition: opacity .2s linear !important; }
