/* (FINAL-FIX2 perf) 9 selector lists in this file whose last compound was a bare :is(...) are written out one selector per alternative, so Blink buckets each by its own class / id / tag instead of testing every element on every style recalc. Each alternative is padded with :not(#zz-) / :not(.zz-) / :not(zz-) so its specificity is what the :is() gave (the most specific alternative); one that cannot be padded down is a class / type more specific only where no rule anywhere could tell the difference (checked against every stylesheet and the DOM), otherwise it stays in a :is() with a never-matching alternative of the full specificity. Same elements, same cascade. */
/* Persistent chrome · Liquid Glass (Phase 7a). The surfaces come from css/ux/glass.css (flat glass: no backdrop-filter on any of these) and the --lg-* tokens in css/tokens.css,
   so back, tally, guest chip, altimeter, orb, ring buttons, sun dial and the sample flag all change material together (Dusk and Night = dark glass, Day = bright glass, 700ms crossfade).
   js/ux/chrome.js adds press feedback (scale .96), the badge odometer and the shortlist flight. This file loads after market.css. */

body {
  --ch-h: max(44px, 2.8rem);
}

/* ---------- the capsules: back, tally buttons, guest ---------- */
body #back { left: calc(var(--pad) + var(--safe-l)); top: calc(var(--pad) + var(--safe-t)); height: var(--ch-h); min-width: var(--ch-h); gap: .3rem; padding: 0 1.15rem 0 .7rem; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; font: 600 max(.94rem, 14px)/1 var(--sans); letter-spacing: -.01em; transition: opacity 200ms var(--ease-out), visibility 200ms var(--ease-out); }
body #back span { font: inherit; color: inherit; white-space: nowrap; }
body #back svg { width: 1.2rem; height: 1.2rem; stroke-width: 2.2; }
body #back.off { opacity: 0; visibility: hidden; pointer-events: none; }

body #guest { top: calc(var(--pad) + var(--safe-t)); right: calc(var(--pad) + var(--safe-r)); height: var(--ch-h); max-width: 16rem; gap: .65rem; padding: 0 1.15rem 0 .28rem; border-radius: var(--r-pill);
  transition: opacity 200ms var(--ease-out), visibility 200ms var(--ease-out); }
body #guest .g-av { width: calc(var(--ch-h) - .6rem); height: calc(var(--ch-h) - .6rem); background: var(--lg-prom); color: var(--lg-prom-fg); box-shadow: inset 0 1px 0 #fff, 0 2px 8px -2px rgba(0, 0, 0, .45);
  font: 600 max(.95rem, 14px)/1 var(--sans); }
body #guest .g-txt { gap: .12rem; }
body #guest .g-txt b { font: 600 max(.92rem, 14px)/1.1 var(--sans); letter-spacing: -.01em; color: var(--lg-fg); }
body #guest .g-txt small { font: 500 max(.74rem, 12px)/1.1 var(--sans); letter-spacing: .01em; color: var(--lg-fg3); opacity: 1; }

body #tally { top: calc(var(--pad) + var(--safe-t)); right: calc(var(--pad) + var(--safe-r) + var(--guest-w, 12.5rem) + .6rem); gap: .5rem; }
body #tally button { gap: .45rem; height: var(--ch-h); min-width: var(--ch-h); padding: 0; justify-content: center; border-radius: var(--r-pill); font: 600 max(.85rem, 13px)/1 var(--sans); }
body #tally button svg { width: 1.2rem; height: 1.2rem; stroke-width: 1.8; transition: fill 320ms var(--ease-out), stroke 320ms var(--ease-out); }
body #tally [data-ask] { width: var(--ch-h); padding: 0; }
body #tally [data-ask] svg { width: 1.3rem; height: 1.3rem; stroke-width: 2; }
/* count 0: three round icon buttons. Count above 0: the number appears; the word joins it only on wide screens. */
body #tally button b, body #tally button span { display: none; }
body #tally button.has { padding: 0 .65rem 0 .85rem; }
body #tally button.has b { display: inline-block; --bd: max(1.45rem, 22px); min-width: var(--bd); height: var(--bd); padding: 0 .35rem; overflow: hidden; border-radius: var(--r-pill); text-align: center;
  background: var(--lg-prom); color: var(--lg-prom-fg); box-shadow: inset 0 1px 0 #fff; font: 600 max(.76rem, 12px)/var(--bd) var(--sans); font-variant-numeric: tabular-nums; }
body #tally b u, body #tally b s { display: block; height: var(--bd); line-height: var(--bd); text-decoration: none; }
body #tally [data-tally="fav"].has svg { fill: currentColor; stroke: currentColor; }
@media (min-width: 1500px) { body #tally button.has span { display: inline; white-space: nowrap; } }

/* ---------- the level slider (#alt, 17 October, Phase 3): a compact capsule at the left edge ----------
   A strip of 44px rows (01 Century ... 11 Summary) slides behind a fixed lens at the screen's middle. js/app.js paintAlt writes --shift on the strip and --cy on
   the lens (.alt-cur), and the two cancel, so the lens holds still while rows pass through it; per row --lo (opacity), --ls (the label's scale: 15px at the lens,
   12px a row away), --sx / --sy (the tick). At rest: the current level and one neighbour each way. Touched, hovered or scrolled (.exp): two each way, and one
   light plate with a lens band (a tint: no backdrop-filter, no glow). Only transform, scale and opacity move. Paper levels use ink. */
body { --alt-c: #fff; --alt-ts: 0 1px 2px rgba(0, 0, 0, .55); --alt-plate: var(--sl-plate); --alt-band: var(--act-bg); --alt-band-line: var(--act-line); }
/* (21 October) the level's altimeter colours go on their only readers (#alt, and #place's TV distance line), not on body: a custom property changed on body
   restyles every element of the page (~2,200 on Site -> Area) */
body:is([data-level="home"], [data-level="choose"], [data-level="walk"], [data-level="price"], [data-level="summary"]) #alt, body:is([data-level="home"], [data-level="choose"], [data-level="walk"], [data-level="price"], [data-level="summary"]) #place { --alt-c: #16161b; --alt-ts: none; --alt-plate: var(--sl-plate-day); --alt-band: var(--act-bg-day); --alt-band-line: var(--act-line-day); }
body:is([data-level="tower"], [data-level="site"]) #alt, body:is([data-level="tower"], [data-level="site"]) #place { --alt-ts: 0 1px 2px rgba(0, 0, 0, .7); }
body #alt { position: fixed; z-index: 7; display: flex; flex-direction: column; transform: translateY(calc(-50% + var(--shift, 0px))); pointer-events: none; touch-action: none; -webkit-user-select: none; user-select: none;
  --alt-w: 44px; --alt-p: max(44px, 2.75rem); --alt-h: calc(11 * var(--alt-p)); --alt-fs: var(--t-slider-fs); --alt-plate-w: calc(40px + 10rem);
  left: calc(var(--pad) + var(--safe-l)); top: 50%; width: var(--alt-w); height: var(--alt-h); max-height: none; overflow: visible; gap: 0; align-items: stretch; background: none; border: 0; box-shadow: none; }
body #alt::before, body #alt::after { content: none; }
body #alt > button { position: relative; display: block; flex: none; padding: 0; overflow: visible; pointer-events: none; width: var(--alt-w); height: var(--alt-p); min-height: var(--alt-p); border-radius: 0; background: none; color: var(--alt-c); cursor: pointer; }
body #alt > button.vis { pointer-events: auto; }
body #alt > button::after, body #alt .alt-gap { display: none; }
/* the tick: at most 16 x 2px, scaled from its left edge */
body #alt > button i { position: absolute; left: 0; top: 50%; width: 16px; height: 2px; margin-top: -1px; border: 0; border-radius: 1px; background: var(--alt-c); box-shadow: none; transform-origin: 0 50%; transform: scale(var(--sx, .375), var(--sy, .5)); opacity: var(--lo, 0); transition: transform var(--sl-move) var(--ease-out), opacity var(--sl-move) var(--ease-out); }
body #alt > button i::after { content: none; }
/* the name: set at the lens size and scaled to .8 one row away, so a row grows into the lens as it passes */
body #alt > button span { position: absolute; left: 26px; top: 50%; translate: 0 -50%; scale: var(--ls, .8); transform-origin: 0 50%; box-sizing: content-box; margin: 0; padding: calc((var(--alt-p) - var(--alt-fs)) / 2) 14px calc((var(--alt-p) - var(--alt-fs)) / 2) 0;
  max-width: 10rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 var(--alt-fs)/1 var(--sans); letter-spacing: -.01em; color: var(--alt-c); text-shadow: var(--alt-ts); opacity: var(--lo, 0); pointer-events: none;
  transition: scale var(--sl-move) var(--ease-out), opacity var(--sl-move) var(--ease-out); }
body #alt > button span em { font: inherit; font-weight: 500; font-style: normal; opacity: .6; margin-right: .4em; font-variant-numeric: tabular-nums; }
body #alt > button.vis span { pointer-events: auto; cursor: pointer; }
body #alt > button:focus-visible { outline: none; }
body #alt > button:focus-visible span { opacity: 1; outline: 2px solid currentColor; outline-offset: -6px; border-radius: 8px; }
/* the lens: the box that holds the current level's place at the middle; its ::before is the plate, its ::after the lens band */
body #alt .alt-cur { position: absolute; left: 26px; top: 0; white-space: nowrap; pointer-events: none; transform: translateY(calc(var(--cy, 0px) - var(--alt-fs) * .6)); transition: transform var(--sl-move) var(--ease-out); }
body #alt .alt-cur > b { display: flex; align-items: baseline; gap: .4em; visibility: hidden; font: 600 var(--alt-fs)/1.2 var(--sans); }   /* the current name, unseen: it keeps the lens its width (js/ux/labels.js and the Tower fit read it) */
body #alt .alt-cur > b em { font: inherit; font-style: normal; }
body #alt .alt-cur::before, body #alt .alt-cur::after { content: ""; position: absolute; pointer-events: none; opacity: 0; transition: opacity 160ms var(--ease-out); }
body #alt .alt-cur::before { z-index: -2; left: -36px; width: var(--alt-plate-w); top: calc(var(--alt-fs) * .6 - var(--alt-p) * 2.5); height: calc(var(--alt-p) * 5); border-radius: 22px; background: var(--alt-plate);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); }
body #alt .alt-cur::after { z-index: -1; left: -32px; width: calc(var(--alt-plate-w) - 8px); top: calc(var(--alt-fs) * .6 - 18px); height: 36px; border-radius: 12px; background: var(--alt-band); box-shadow: var(--alt-band-line); }
/* (21 October) only the band behind the current row shows: the plate (::before, the square around the slider) is not wanted, at rest or while dragged */
body #alt.exp .alt-cur::after, body:is([data-level="site"], [data-level="tower"]) #alt .alt-cur::after { opacity: 1; }
body #alt:is(.drag, .glide) .alt-cur, body #alt:is(.drag, .glide) > button i, body #alt:is(.drag, .glide) > button span { transition: none; }
/* (18 October) portrait Site and Tower: the plate and band show only while the slider is touched. Always on, the plate covered a tower flag (Delta, 54x23) on the
   narrow aerial; at rest the rows read on their firmer shadow (--alt-ts above), as on the map levels */
@media (orientation: portrait) { body:is([data-level="site"], [data-level="tower"]) #alt:not(.exp) .alt-cur::before, body:is([data-level="site"], [data-level="tower"]) #alt:not(.exp) .alt-cur::after { opacity: 0; } }
/* portrait with a bottom sheet: the slider lifts so its rows end above the strip over the sheet */
@media (orientation: portrait) { html.ux-sheet body #alt { translate: 0 min(0px, calc(50dvh - var(--ux-sheet, 0px) - 7rem - var(--alt-p) * 2.5)); } }
/* idle: the slider rests at 45% */
body.clean #ui > #alt { opacity: .45; visibility: visible; }
body.cine #ui > #alt { opacity: 0; visibility: hidden; pointer-events: none; }   /* E2E L2: inside the letterbox the slider is gone */

/* ---------- the orb: a glass disc, the Mirai logo in white ---------- */
body #orb .core { border: 0; border-radius: 50%; background-color: var(--lg-tint); background-image: var(--lg-sheen); color: var(--lg-fg); box-shadow: var(--lg-hi), var(--lg-shade), 0 18px 36px -14px rgba(0, 0, 0, .7), 0 0 0 5px rgba(255, 255, 255, .06);
  transition: transform var(--dur-base) var(--ease-spring); }
body #orb .core .logo { position: relative; z-index: 1; display: block; width: 68%; aspect-ratio: 150 / 80; background: var(--lg-fg);
  -webkit-mask: url("../../assets/brand/Century_Mirai_logo.svg") center / contain no-repeat; mask: url("../../assets/brand/Century_Mirai_logo.svg") center / contain no-repeat; }
/* the outer ring is still: the Mirai hero's breathing ring is the only looping animation on screen */
body #orb .core i { border: 1px solid rgba(255, 255, 255, .32); animation: none; }
body:is([data-level="home"], [data-level="choose"], [data-level="walk"], [data-level="price"], [data-level="summary"]) #orb .core i { border-color: rgba(22, 22, 27, .22); }
/* the action line: plain inline items (icon + label on one line), right-aligned to the orb, no containers. Legibility comes from a soft text shadow and an eased soft shade (no edges), no backdrop blur. */
body #orb .ring .ring-row { position: absolute; right: calc(2.8rem + .9rem); top: -22px; display: flex; flex-direction: row-reverse; align-items: center; gap: 28px; height: 44px; padding: 0; white-space: nowrap; }
body #orb .ring .ring-row::before { content: ""; position: absolute; left: -120px; right: -90px; top: -40px; bottom: -40px; pointer-events: none; z-index: -1; background: rgba(0, 0, 0, .12);
  -webkit-mask-image: linear-gradient(90deg, var(--soft-sym)), linear-gradient(180deg, var(--soft-sym)); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, var(--soft-sym)), linear-gradient(180deg, var(--soft-sym)); mask-composite: intersect; }
body #orb .ring .ring-row > button.ri { position: relative; right: auto; top: auto; translate: none; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; min-height: 44px; padding: 0 2px; border: 0; border-radius: 0; background: none; box-shadow: none;
  font: 500 15px/1 var(--sans); letter-spacing: -.01em; color: rgba(255, 255, 255, .8); text-shadow: 0 1px 8px rgba(0, 0, 0, .55); cursor: pointer; }
body #orb .ring .ring-row > button.ri::before { content: ""; position: absolute; inset: 4px -10px; border-radius: 999px; background: rgba(255, 255, 255, .14); opacity: 0; transition: opacity 120ms var(--ease-out); pointer-events: none; }
body #orb .ring .ring-row > button.ri::after { content: none; }
body #orb .ring .ring-row > button.ri:hover::before, body #orb .ring .ring-row > button.ri:active::before { opacity: 1; }
body #orb .ring .ri svg { position: relative; width: 20px; height: 20px; padding: 0; border-radius: 0; background: none; stroke-width: 1.7; color: #fff; filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .5)); }
body #orb .ring .ri span { position: relative; }
body #orb .ring .ri.pri { color: #fff; font-weight: 600; }
body #orb .ring .ri.pri span { padding-bottom: 3px; border-bottom: 2px solid #fff; }
body #orb .ring .ri.on { color: #fff; }
body:is([data-level="home"], [data-level="choose"], [data-level="walk"], [data-level="price"], [data-level="summary"]) #orb .ring .ring-row > button.ri { color: rgba(22, 22, 27, .8); text-shadow: 0 0 8px rgba(255, 255, 255, .8); }
body:is([data-level="home"], [data-level="choose"], [data-level="walk"], [data-level="price"], [data-level="summary"]) #orb .ring .ri svg { color: #16161b; filter: none; }
body:is([data-level="home"], [data-level="choose"], [data-level="walk"], [data-level="price"], [data-level="summary"]) #orb .ring .ring-row::before { background: rgba(255, 255, 255, .5); }
body:is([data-level="home"], [data-level="choose"], [data-level="walk"], [data-level="price"], [data-level="summary"]) #orb .ring .ri.pri { color: #16161b; }
body:is([data-level="home"], [data-level="choose"], [data-level="walk"], [data-level="price"], [data-level="summary"]) #orb .ring .ri.pri span { border-bottom-color: #16161b; }
/* the orb: the logo turns into a × while the bar is open; the sun dial steps aside (showroom.css) */
body #orb .core .orbx { position: absolute; width: 1.5rem; height: 1.5rem; stroke-width: 2.2; color: var(--lg-fg); opacity: 0; transform: rotate(-60deg) scale(.7); transition: opacity var(--dur-quick) var(--ease-out), transform var(--dur-base) var(--ease-spring); z-index: 1; }
body #orb.open .core .orbx { opacity: 1; transform: none; }
body #orb.open .core .logo { opacity: 0; transform: rotate(60deg) scale(.7); }
body #orb .core .logo { transition: opacity var(--dur-quick) var(--ease-out), transform var(--dur-base) var(--ease-spring); }
body.ring-open #ctx, body.ring-open #lv-tower .step, body.ring-open #lv-tower .vbtn, body.ring-open #lv-tower .lift-acts, body.ring-open #lv-tower .tw-cta, body.ring-open #lv-home .hm-cta, body.ring-open #lv-home .fl-cta { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 160ms var(--ease-out), visibility 160ms; }
/* the sun dial: a glass arc, white detents, a white thumb */
body #orb .dial-track { stroke: var(--lg-fg); stroke-opacity: .2; stroke-width: 7; }
body #orb .dial-fill { stroke: #fff; stroke-width: 3; }
body.glass-day #orb .dial-fill { stroke: var(--lg-fg); }
body #orb .det { pointer-events: auto; cursor: pointer; }
body #orb .det-hit { fill: transparent; }
body #orb .det-dot { fill: var(--lg-tint); stroke: var(--lg-fg); stroke-opacity: .35; stroke-width: 1; }
body #orb .det-ic { fill: none; stroke: var(--lg-fg); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
body #orb.open .dial .det, body #orb:not(.has-sun) .dial .det { pointer-events: none; }
body #orb .sun { background: var(--lg-prom); color: var(--lg-prom-fg); box-shadow: inset 0 1px 0 #fff, 0 0 0 5px rgba(255, 255, 255, .2), 0 0 22px rgba(255, 255, 255, .45), var(--e1); }
body #orb .sun::after { opacity: 0; padding: .32rem .75rem; border-radius: var(--r-pill); background-color: var(--lg-tint); background-image: var(--lg-sheen); color: var(--lg-fg); box-shadow: var(--lg-hi), var(--lg-shadow-s); text-shadow: none;
  font: 600 max(.72rem, 12px)/1 var(--sans); letter-spacing: .08em; pointer-events: none; transition: opacity 160ms var(--ease-out); }
body #orb .sun.drag::after { opacity: 1; }

/* ---------- the sample-content flag: one small glass tag in the bottom-left safe area ---------- */
body #sampleflag { left: calc(var(--pad) + var(--safe-l)); right: auto; top: auto; bottom: calc(.6rem + var(--safe-b)); translate: 0 0; padding: .3rem .7rem; border-radius: var(--r-pill);
  color: var(--lg-fg2); font: 600 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
body.cine #sampleflag { top: auto; bottom: calc(8dvh + .5rem); }

/* ---------- the moment bar (presenter) ---------- */
body #mbar { color: var(--lg-fg); font: 600 max(12px, .88rem)/1.2 var(--sans); letter-spacing: -.01em; }
body #mbar small { color: var(--lg-fg3); } body #mbar button { background: var(--lg-field-hi); }
body #mbar .mb-p i { background: var(--lg-field-hi); } body #mbar .mb-p i.done, body #mbar .mb-p i.cur { background: var(--lg-fg); box-shadow: none; }
body #mbar .mb-p i.cur { background: linear-gradient(90deg, var(--lg-fg) 50%, var(--lg-field-hi) 50%); }

/* ---------- idle: the chrome fades in a 600ms stagger, edges first, and returns in 200ms (opacity only) ---------- */
body #ui > :where([id]):not(#mbar) { transition: opacity 200ms var(--ease-out), visibility 200ms var(--ease-out); }
body.clean #ui > :where([id]):not(#mbar) { transition: opacity 480ms cubic-bezier(.22, 1, .36, 1) var(--wd, 0ms), visibility 480ms cubic-bezier(.22, 1, .36, 1) var(--wd, 0ms); }
body #ui > #tally { --wd: 90ms; } body #ui > #ctx { --wd: 120ms; } body #ui > #cta { --wd: 160ms; }
body #sampleflag { transition: opacity 480ms var(--ease-out); }

/* ---------- shortlist flight, compare tick ---------- */
.ch-fx { position: fixed; z-index: 9999; width: 0; height: 0; pointer-events: none; }
.ch-fx i { position: absolute; left: 0; top: 0; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #cfd1d8); box-shadow: 0 0 6px rgba(255, 255, 255, .8); }
.ch-ghost { position: absolute; left: 0; top: 0; width: 28px; height: 28px; display: block; will-change: transform; }
.ch-ghost svg { width: 100%; height: 100%; fill: #fff; stroke: #cfd1d8; stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .45)); }
.ch-morph { animation: ch-morph 336ms var(--ease-out) both; }
.ch-morph path { stroke-dasharray: 24; animation: ch-draw 304ms var(--ease-out) both; }
@keyframes ch-morph { 0% { scale: .5; rotate: -28deg; } 60% { scale: 1.25; } 100% { scale: 1; rotate: 0deg; } }
@keyframes ch-draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }

/* ---------- portrait ---------- */
@media (orientation: portrait) and (max-width: 700px) {
  body #guest { padding: 0 .28rem; }
  body #alt { --alt-p: max(44px, 2.4rem); }
}
@media (prefers-reduced-motion: reduce) {
  .ch-morph, .ch-morph path { animation: none; }
  body #alt > button span, body #alt > button i, body #alt .alt-cur, body #alt .alt-cur::before, body #alt .alt-cur::after { transition: none; }
}

/* too narrow for labels: icon-only (the label stays as the aria-label and tooltip) */
body #orb .ring .ring-row.icons > button.ri span { display: none; }
body #orb .ring .ring-row.icons { gap: 18px; }
body #orb .ring .ring-row { max-width: calc(100vw - var(--safe-l) - var(--safe-r) - 8rem); overflow: hidden; }
/* floor navigation: one capsule, same family as the guest chip. Labels sit on the straight middle, clear of the ends. */
body[data-level="home"] #orb .ring .ring-row {
  top: 0; translate: 0 -50%; height: auto; min-height: 44px; padding: .55rem 1.35rem;
  border-radius: var(--r-pill); background: rgba(255, 255, 255, .72); overflow: visible;
}
body[data-level="home"] #orb .ring .ring-row::before { content: none; }
/* the action line owns the bottom band while it is open: the Choose tray and the Walk / Summary action bars step aside (opacity only, 160ms) */
body.ring-open .cx-tray:not(#zz-), body.ring-open :is(#lv-summary .sh, #lv-price .px-act, #lv-walk .wk-act) { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 160ms var(--ease-out), visibility 160ms; }

/* ---- motion hygiene (the audit) ----
   1. While the camera flies or a place hands over to another, the blurred glass over the map is flat: a live backdrop blur re-samples every frame and is the one thing that makes a flight stutter.
      The tint stays, so only the blur is dropped, and it returns the moment the screen is still.
   2. Layers that animate are promoted for the move only (js/app.js), never left promoted.
   3. Text and layout never animate; only transform and opacity do. */
body.is-moving .gm-call, body.is-moving .gf-row, body.is-moving .sd-bar, body.is-moving .sd-chip, body.is-moving .gf-all, body.is-moving .gf-r, body.swapping .gf-row:not(#zz-):not(zz-), body.swapping .sd-bar:not(#zz-):not(zz-), body.swapping .sd-chip:not(#zz-):not(zz-), body.swapping .gf-all:not(#zz-):not(zz-), body.swapping .gf-r:not(#zz-):not(zz-), body.swapping #back:not(zz-), body.swapping #guest:not(zz-), body.swapping #mbar:not(zz-), body.swapping #cta:not(zz-), body.swapping :is(.gm-call, #tally button) { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
/* every fade and slide in the interface shares one curve and a soft tail */
[role="button"], .pill, :is(button, a, .zz-) { transition-timing-function: var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  /* the pointer: a button answers with a soft brightness lift, eased in and out, never a jump */
  #back:not(zz-), #cta:not(zz-), #tally button, #guest:not(zz-), :is(.pill, .gf-all, .gf-r, .sd-cur, .sd-chip, .chap-play, .hm-tabs button, .wk-go, #zz-:not(zz-)) { transition: filter var(--dur-quick) var(--ease-out), background-color var(--dur-quick) var(--ease-out), box-shadow var(--dur-quick) var(--ease-out), color var(--dur-quick) var(--ease-out), opacity var(--dur-quick) var(--ease-out), transform var(--dur-press) var(--ease-out); }
  .pill:not(#zz-):not(zz-):hover, #back:not(zz-):hover, #tally button:hover, #guest:not(zz-):hover, .gf-all:not(#zz-):not(zz-):hover, .gf-r:not(#zz-):not(zz-):hover, .sd-cur:not(#zz-):not(zz-):hover, .sd-chip:not(#zz-):not(zz-):hover, .chap-play:not(#zz-):not(zz-):hover, .wk-go:not(#zz-):not(zz-):hover { filter: brightness(1.1); }
}

/* the light/dark token crossfade (900ms, ten inherited colours on <body>) re-styles the whole tree every frame; during a hand-over the pages are hidden behind the wipe or fade, so it flips instantly */
body.swapping, body.swapping .lg-dark { transition: none !important; }
/* the Walk beacon and dashed route only animate while the interface is showing (they kept a style recalc running 60 times a second) */
body.clean #lv-walk .wk-here i, body.clean #lv-walk .rt-cur { animation-play-state: paused; }
