/* =====================================================================
   Letstick — "Pro" design system.
   Built on the 21st.dev component "Sneaker Product Page Hero" (Kedhareswer
   Naidu, MIT): its light product stage, tint wash, giant word, floating
   product with floor shadow + reflection + light sweep, black block buttons.
   The .snp-* rules below are taken from that component and adapted to two
   portrait bottles on a phone screen.
   ===================================================================== */
:root {
  --color-foreground: #0F0F12;
  --color-background: #FFFFFF;
  --color-muted-foreground: #6E6E73;
  --care: #F2C27B;     /* Premium Hair Care Mist (amber bottle) */
  --hold: #A8D3F4;     /* Hydrating Hair Fixing Mist (ice-blue bottle) */
  --paper: color-mix(in oklab, var(--color-foreground) 4%, var(--color-background));
  --font: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif;
  --safe-t: env(safe-area-inset-top);
  --safe-b: env(safe-area-inset-bottom);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--paper); color: var(--color-foreground); overflow: hidden; }
body { font-family: var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
[hidden] { display: none !important; }

.app { position: relative; height: 100%; max-width: 520px; margin: 0 auto; overflow: hidden; container-type: inline-size; }

/* ---------- top bar ---------- */
.topbar { position: absolute; z-index: 20; top: 0; left: 0; right: 0; height: calc(60px + var(--safe-t)); padding: var(--safe-t) 16px 0;
  display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.topbar > * { pointer-events: auto; }
.topbar__logo { position: absolute; left: 50%; top: calc(var(--safe-t) + 20px); translate: -50% 0; height: 19px; width: auto; }
.cc, .mute { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--color-background); box-shadow: 0 0 0 1px color-mix(in oklab, var(--color-foreground) 10%, transparent); font-weight: 600; font-size: .9rem; }
.cc[aria-pressed="true"] { background: var(--color-foreground); color: var(--color-background); }
.mute svg { width: 18px; height: 18px; fill: currentColor; }
.mute .mute__off { display: none; } .mute[aria-pressed="true"] .mute__on { display: none; } .mute[aria-pressed="true"] .mute__off { display: inline; }
.cc { order: 2; } .mute { order: 1; }
/* speaking: three fine bars under the wordmark */
.voice-orb { position: absolute; left: 50%; top: calc(var(--safe-t) + 44px); translate: -50% 0; display: flex; gap: 3px; height: 10px; align-items: center; opacity: 0; transition: opacity .3s; }
.voice-orb i { width: 2px; height: 10px; border-radius: 1px; background: var(--color-foreground); transform: scaleY(.3); }
.voice-orb i:nth-child(n+4) { display: none; }
body.is-speaking .voice-orb { opacity: .7; }
body.is-speaking .voice-orb i { animation: proBar 1s ease-in-out infinite; }
.voice-orb i:nth-child(2) { animation-delay: .15s !important; } .voice-orb i:nth-child(3) { animation-delay: .3s !important; }
@keyframes proBar { 50% { transform: scaleY(1); } }

/* ---------- screens ---------- */
.screen { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  padding: calc(64px + var(--safe-t)) 20px calc(20px + var(--safe-b));
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s .5s; }
.screen.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s; }

/* ---------- component styles (from Sneaker Product Page Hero) ---------- */
.snp-bg { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .8s ease; pointer-events: none;
  background: radial-gradient(85% 34% at calc(50% + var(--mx, 0%)) calc(30% + var(--my, 0%)), color-mix(in oklab, var(--t) 46%, transparent), transparent 72%),
    color-mix(in oklab, var(--t) 15%, var(--paper)); }
.snp-bg[data-on="true"] { opacity: 1; }
.snp-eyebrow { margin: 0; font-size: 13px; color: var(--color-muted-foreground); }
.snp-title { margin: 6px 0 0; font-size: 34px; line-height: 1.15; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
.snp-desc { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: var(--color-muted-foreground); }
.snp-stage { position: relative; flex: 1; min-height: 0; }
.snp-word { position: absolute; left: 50%; top: 2%; translate: -50% 0; font-family: "Inter", var(--font); font-size: 31cqw; line-height: 1; font-weight: 800; letter-spacing: -.05em;
  white-space: nowrap; color: color-mix(in oklab, var(--t) 46%, transparent); pointer-events: none; user-select: none; }
.snp-float, .snp-tilt, .snp-reflects { position: absolute; inset: 0; }
.snp-tilt { transform-style: preserve-3d; }
.snp-reflects { pointer-events: none; }
.snp-shoe { position: absolute; left: 50%; bottom: 14%; height: 80%; width: auto; max-width: none; translate: -50% 0;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .14)); }
.snp-shoe.snp-reflect { bottom: auto; top: 86%; transform: scaleY(-1); transform-origin: 50% 0; height: 80%; filter: blur(.6px);
  -webkit-mask-image: linear-gradient(to top, transparent 70%, #000 100%); mask-image: linear-gradient(to top, transparent 70%, #000 100%); }
.snp-shoe.snp-sheen { display: block; pointer-events: none; filter: none; aspect-ratio: var(--ar, .73);
  background: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, .6) 50%, transparent 60%) 130% 0/300% 100% no-repeat;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.snp-floor { position: absolute; left: 24%; right: 24%; bottom: 11%; height: 22px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .22), transparent); filter: blur(4px); }
.snp-label { display: block; font-size: 12px; color: var(--color-muted-foreground); letter-spacing: .02em; }
.snp-swatches { display: flex; gap: 14px; margin-top: 10px; }
.snp-swatch { width: 34px; height: 34px; border-radius: 50%; background: var(--sw);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-foreground) 22%, transparent); transition: box-shadow .3s, transform .2s; }
.snp-swatch:active { transform: scale(.92); }
.snp-swatch[aria-pressed="true"] { box-shadow: inset 0 0 0 3px var(--sw), inset 0 0 0 6px var(--color-background), inset 0 0 0 20cqw var(--sw); }
.snp-cta { position: relative; display: grid; place-items: center; height: 56px; padding: 0 24px; overflow: hidden;
  background: var(--color-foreground); color: var(--color-background); font-weight: 600; font-size: 16px; letter-spacing: .01em; white-space: nowrap;
  transition: transform .15s, background .35s, color .35s; }
.snp-cta:active { transform: scale(.97); }
.snp-cta--ghost { background: var(--color-background); color: var(--color-foreground); box-shadow: inset 0 0 0 1.5px var(--color-foreground); }

/* ---------- 0. first screen ---------- */
.screen--splash { padding-top: calc(60px + var(--safe-t)); }
.screen--splash .snp-stage { margin: 0 -20px; }
.pro-copy { position: relative; z-index: 1; }
.pro-pick { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 18px; }
.pro-pick__name { font-size: 13px; color: var(--color-muted-foreground); }
.pro-pick__name b { display: block; color: var(--color-foreground); font-weight: 600; font-size: 15px; }
#startBtn { width: 100%; margin-top: 16px; }
.splash__hint { margin: 10px 0 0; text-align: center; font-size: 12px; color: var(--color-muted-foreground); transition: opacity .4s; }
body.is-welcoming .splash__hint { opacity: 0; }
/* greeting playing: locked, fills with the voice */
#startBtn.is-locked { background: color-mix(in oklab, var(--color-foreground) 10%, var(--color-background)); color: var(--color-foreground); cursor: default; isolation: isolate; }
#startBtn.is-locked::after { content: ""; position: absolute; inset: 0; z-index: -1; transform-origin: right center; transform: scaleX(var(--fill, 0));
  background: color-mix(in oklab, var(--color-foreground) 18%, transparent); }
#startBtn.is-next { animation: proPop .5s var(--ease); }
@keyframes proPop { 50% { transform: scale(1.03); } }
.screen--splash .collab, .screen--splash .splash__title:not(.snp-title), .screen--splash .splash__sub { display: none; }

/* ---------- 1. quiz ---------- */
.screen--quiz { justify-content: flex-end; gap: 14px; }
.quiz__dots { position: absolute; top: calc(var(--safe-t) + 68px); left: 20px; right: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.quiz__dots i { height: 3px; background: color-mix(in oklab, var(--color-foreground) 12%, transparent); position: relative; overflow: hidden; }
.quiz__dots i::after { content: ""; position: absolute; inset: 0; background: var(--color-foreground); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.quiz__dots i.is-on::after { transform: scaleX(1); }
.quiz__q { margin: 0 0 6px; font-size: 32px; line-height: 1.18; font-weight: 600; letter-spacing: -.01em; }
.quiz__opts { display: flex; flex-direction: column; gap: 8px; }
.quiz__opt { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 10px 16px; text-align: start;
  background: var(--color-background); box-shadow: 0 0 0 1px color-mix(in oklab, var(--color-foreground) 9%, transparent);
  font-size: 17px; font-weight: 500; transition: background .25s, color .25s, transform .2s, box-shadow .25s; position: relative; }
.quiz__opt::after { content: ""; margin-inline-start: auto; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--color-foreground) 35%, transparent); transition: box-shadow .25s; }
.quiz__opt:active { transform: scale(.985); }
.quiz__opt.is-picked { background: var(--color-foreground); color: var(--color-background); }
.quiz__opt.is-picked::after { box-shadow: inset 0 0 0 6px var(--color-background); }
.quiz__swatch { order: -1; flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px color-mix(in oklab, var(--color-foreground) 10%, transparent); }
.screen--quiz.is-active .quiz__opt { animation: proIn .5s var(--ease) both; }
.screen--quiz.is-active .quiz__opt:nth-child(2) { animation-delay: .05s; } .screen--quiz.is-active .quiz__opt:nth-child(3) { animation-delay: .1s; } .screen--quiz.is-active .quiz__opt:nth-child(4) { animation-delay: .15s; }
@keyframes proIn { from { opacity: 0; transform: translateY(10px); } }
.quiz__skip { align-self: center; padding: 8px 12px; font-size: 13px; color: var(--color-muted-foreground); text-decoration: underline; text-underline-offset: 3px; }

/* captions only when she turns them on */
.caption { display: none; }
body.has-cc .caption { display: flex; position: absolute; z-index: 15; left: 16px; right: 16px; bottom: calc(16px + var(--safe-b)); padding: 12px 16px;
  background: var(--color-foreground); color: var(--color-background); font-size: 15px; }
.caption__wave { display: none; } .caption__text { margin: 0; }
.xp-dust { display: none; }

@media (prefers-reduced-motion: reduce) { .screen, .snp-root * { transition: none !important; animation: none !important; } }

/* quiz: the step number, huge and tinted, in the same voice as the word behind the bottle */
.screen--quiz { background: radial-gradient(90% 40% at 70% 22%, color-mix(in oklab, var(--care) 30%, transparent), transparent 72%), color-mix(in oklab, var(--care) 8%, var(--paper)); }
.screen--quiz::before { content: "01"; position: absolute; top: calc(var(--safe-t) + 92px); inset-inline-start: 14px; z-index: -1;
  font-family: "Inter", var(--font); font-weight: 800; font-size: 46cqw; line-height: .9; letter-spacing: -.05em;
  color: color-mix(in oklab, var(--care) 42%, transparent); pointer-events: none; }
.screen--quiz:has(.quiz__dots i:nth-child(2).is-on)::before { content: "02"; }
.screen--quiz:has(.quiz__dots i:nth-child(3).is-on)::before { content: "03"; }

/* ---------- glass surfaces ---------- */
.pro-glass { border-radius: 22px; background: rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 0 0 1px rgba(15, 15, 18, .06), 0 18px 40px -24px rgba(0, 0, 0, .3); }

/* ---------- 2. choose: orbit picker (from "Dish Orbit Carousel") ---------- */
.screen--choose { align-items: center; gap: 0; --accent: #E9C9A4;
  background: radial-gradient(90% 46% at 50% 30%, color-mix(in oklab, var(--accent) 40%, transparent), transparent 72%), color-mix(in oklab, var(--accent) 10%, var(--paper));
  transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s .5s, background 1s ease; }
.screen--choose #chooseTitle { order: -2; margin: 0; font-size: 13px; font-weight: 500; color: var(--color-muted-foreground); }
.screen--choose .swipe-hint, .screen--choose #modelGrid, .screen--choose #choiceList { display: none !important; }
.orb-arc { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: .6; overflow: visible; }
.orb-stage { position: relative; width: 100%; display: flex; justify-content: center; margin-top: 30px; touch-action: pan-y; }
.orb-plates { position: relative; width: min(70vw, 40svh); aspect-ratio: 1; }
.orb-orbit { position: absolute; inset: 0; transform-origin: 50% -150%; visibility: hidden; will-change: transform; }
.orb-orbit img { width: 100%; height: 100%; max-width: none; border-radius: 50%; object-fit: cover; user-select: none; -webkit-user-drag: none;
  box-shadow: 0 0 0 6px #fff, 0 26px 44px -18px rgba(0, 0, 0, .38), 0 4px 8px rgba(0, 0, 0, .08); }
.orb-pager { position: absolute; inset-inline-start: 6px; top: 50%; translate: 0 -50%; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.orb-dot { width: 14px; height: 10px; display: grid; place-items: center; transition: height .45s cubic-bezier(.3, .7, .2, 1); }
.orb-dot i { display: block; width: 3px; height: 3px; border-radius: 3px; background: var(--color-foreground); opacity: .4; transition: height .45s cubic-bezier(.3, .7, .2, 1), opacity .3s; }
.orb-dot[aria-current] { height: 26px; } .orb-dot[aria-current] i { height: 22px; opacity: .9; }
.orb-head { position: relative; width: 100%; height: 126px; margin-top: 20px; }
.orb-hd { position: absolute; inset: 0; visibility: hidden; text-align: center; }
.orb-eye { margin: 0 0 4px; font-size: 13px; font-weight: 600; color: var(--color-muted-foreground); }
.orb-t1, .orb-t2 { display: block; white-space: nowrap; line-height: 1; margin: 0; }
.orb-t1 { font-weight: 200; font-size: 34px; margin-top: 4px; }
.orb-t2 { font-weight: 700; font-size: 62px; letter-spacing: -.02em; margin-top: 2px; color: color-mix(in oklab, var(--color-foreground) 88%, transparent); }
.orb-card { width: 100%; margin-top: auto; padding: 16px; }
.orb-bodies { display: grid; } .orb-body { grid-area: 1 / 1; visibility: hidden; }
.orb-desc { margin: 0; font-size: 15px; line-height: 1.55; min-height: 46px; }
.orb-acts { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.orb-go { flex: 1; }
.orb-arrow { flex: none; width: 56px; height: 56px; display: grid; place-items: center; background: var(--color-background); box-shadow: inset 0 0 0 1px rgba(15, 15, 18, .12); transition: transform .15s; }
.orb-arrow:active { transform: scale(.94); }
.orb-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }


/* =====================================================================
   Carried over from the previous layers (behaviour-bound pieces), recoloured
   for the light system: gesture overlay, scratch card, bag moment, holo.
   ===================================================================== */
:root { --ivory: #FFFFFF; --butter: #F2C27B; --gold: #C9A45C; --espresso: #0F0F12; --latin: "Inter", var(--font); }
/* ---------- hands-on stage overlay ---------- */
.mirror.is-gesture { touch-action: none; cursor: crosshair; -webkit-user-select: none; user-select: none; }
.mirror.is-gesture .ingr { pointer-events: none; }
.g-ui { position: absolute; inset: 0; z-index: 7; pointer-events: none; overflow: hidden; --fx: 50%; --fy: 40%; }

/* instruction pill: three or four words, only while a gesture is expected */
.g-pill {
  position: absolute; left: 50%; top: calc(env(safe-area-inset-top) + 74px); translate: -50% -8px;
  display: flex; align-items: center; gap: 9px; white-space: nowrap;
  padding: 9px 16px 9px 14px; border-radius: 999px;
  background: rgba(18, 13, 10, .62); border: 1px solid rgba(242, 220, 142, .35); color: var(--ivory);
  font-weight: 600; font-size: .95rem; box-shadow: 0 14px 30px rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; transition: opacity .35s, translate .5s cubic-bezier(.2, .8, .2, 1);
}
.g-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--butter); box-shadow: 0 0 0 0 rgba(242, 220, 142, .6); animation: gDot 1.6s ease-out infinite; }
@keyframes gDot { 70% { box-shadow: 0 0 0 9px rgba(242, 220, 142, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 220, 142, 0); } }
.g-ui[data-mode]:not([data-mode=""]) .g-pill { opacity: 1; translate: -50% 0; }
.g-ui.is-touching .g-pill { opacity: .35; }

/* progress along the photo's lower edge */
.g-bar { position: absolute; left: 22px; right: 22px; bottom: 10px; height: 3px; border-radius: 2px; background: rgba(246, 238, 225, .18); opacity: 0; transition: opacity .3s; }
.g-bar i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--butter), #FFF6D6);
  transform: scaleX(0); transform-origin: right center; transition: transform .25s ease-out; box-shadow: 0 0 12px rgba(242, 220, 142, .6); }
.g-ui[data-mode]:not([data-mode=""]) .g-bar { opacity: 1; }

/* the tool rides on the finger */
.g-tool { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .2s; will-change: transform; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .5)); }
.g-tool--amber, .g-tool--blue { height: 118px; width: auto; transform: translate(calc(var(--fx) + 4px), calc(var(--fy) - 126px)) rotate(-24deg); transform-origin: 20% 10%; }
.g-tool--blue { height: 104px; }
.g-tool--comb { width: 128px; height: 36px; fill: var(--ivory); transform: translate(calc(var(--fx) - 64px), calc(var(--fy) - 14px)); }
.g-ui[data-mode="spray-amber"].is-touching .g-tool--amber,
.g-ui[data-mode="spray-blue"].is-touching .g-tool--blue,
.g-ui[data-mode="comb"].is-touching .g-tool--comb { opacity: 1; }
.g-ui[data-mode="spray-amber"].is-touching .g-tool--amber,
.g-ui[data-mode="spray-blue"].is-touching .g-tool--blue { animation: gPump .7s ease-in-out infinite; }
@keyframes gPump { 50% { filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .5)) brightness(1.08); } }

/* hold ring around the finger */
.g-ring { position: absolute; left: 0; top: 0; width: 104px; height: 104px; opacity: 0; transition: opacity .2s;
  transform: translate(calc(var(--fx) - 52px), calc(var(--fy) - 52px)) rotate(-90deg); }
.g-ring circle { fill: none; }
.g-ring__track { stroke: rgba(246, 238, 225, .28); stroke-width: 4; }
.g-ring__fill { stroke: var(--butter); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 6px rgba(242, 220, 142, .8)); }
.g-ui[data-mode="hold"].is-touching .g-ring { opacity: 1; }

/* ghost finger shows the move when she hesitates */
.g-hand { position: absolute; left: 0; top: 0; width: 46px; height: 46px; margin: -23px 0 0 -23px; opacity: 0; transition: opacity .4s; }
.g-hand i { position: absolute; inset: 0; border-radius: 50%; background: rgba(255, 255, 255, .55); border: 2px solid #fff;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .18), 0 8px 18px rgba(0, 0, 0, .35); }
.g-ui.is-idle:not(.is-touching)[data-mode]:not([data-mode=""]) .g-hand { opacity: 1; }
.g-ui[data-mode^="spray"] .g-hand { animation: gRub 2.4s ease-in-out infinite; }
.g-ui[data-mode="comb"] .g-hand { animation: gComb 1.6s cubic-bezier(.5, 0, .3, 1) infinite; }
.g-ui[data-mode="hold"] .g-hand { left: 50%; top: 38%; animation: gPress 1.6s ease-in-out infinite; }
@keyframes gRub { 0% { left: 30%; top: 26%; } 25% { left: 70%; top: 32%; } 50% { left: 34%; top: 42%; } 75% { left: 68%; top: 50%; } 100% { left: 30%; top: 26%; } }
@keyframes gComb { 0% { left: 58%; top: 16%; opacity: 0; } 15% { opacity: 1; } 80% { left: 58%; top: 70%; opacity: 1; } 100% { left: 58%; top: 74%; opacity: 0; } }
@keyframes gPress { 0%, 100% { transform: scale(1); } 40% { transform: scale(.78); } }

/* a band of light runs down the photo when a step lands */
.g-sweep { position: absolute; left: 0; right: 0; top: 0; height: 38%; transform: translateY(-110%); mix-blend-mode: screen;
  background: linear-gradient(180deg, transparent, rgba(255, 244, 214, .38) 50%, transparent); }
.g-sweep.is-on { animation: gSweep 1.1s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes gSweep { to { transform: translateY(300%); } }

@media (prefers-reduced-motion: reduce) {
  .g-hand, .g-pill__dot, .g-tool { animation: none !important; }
  .g-sweep.is-on { animation: none; }
}

.scratch { position: relative; width: min(86%, 360px); aspect-ratio: 1.58; perspective: 1000px; }
.scratch__card {
  position: absolute; inset: 0; border-radius: 22px; overflow: hidden; transform-style: preserve-3d;
  transform: rotateY(var(--tilt-x, 0deg)) rotateX(var(--tilt-y, 0deg));
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(242, 220, 142, .35);
}
.screen--reward.is-active .scratch__card { animation: cardIn 1.1s cubic-bezier(.2, .9, .2, 1) .35s both, float 5s ease-in-out 1.5s infinite; }
@keyframes cardIn { from { opacity: 0; transform: translateY(40px) rotateX(38deg) scale(.9); } }
@keyframes float { 50% { translate: 0 -6px; } }

.scratch__inside {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: radial-gradient(120% 120% at 30% 0%, #FFF8EA, #F1E4CC); color: var(--espresso);
}
.scratch__logo { height: 18px; width: auto; opacity: .85; margin-bottom: 4px; }
.scratch__label { font-size: .9rem; color: #7A5A22; }
.scratch__code { font-family: var(--latin); font-weight: 600; font-size: 2.6rem; letter-spacing: .1em; direction: ltr; line-height: 1.1; }
.scratch__note { font-size: .8rem; opacity: .6; }
.scratch__foil { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; transition: opacity .7s ease; }
/* a sheen sweeps across the foil until she starts scratching */
.scratch__card::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 45%; left: -60%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-18deg);
  animation: foilSheen 3.2s ease-in-out infinite 1.6s;
}
@keyframes foilSheen { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.scratch__hint {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; pointer-events: none; white-space: nowrap;
  padding: 8px 16px; border-radius: 999px; font-weight: 600; color: #5C4114;
  background: rgba(255, 248, 230, .55); border: 1px solid rgba(255, 255, 255, .7);
  animation: hintPulse 1.8s ease-in-out infinite; transition: opacity .3s;
}
.scratch__hint.is-gone { opacity: 0; animation: none; }
@keyframes hintPulse { 50% { transform: scale(1.05); } }
.scratch.is-revealed .scratch__foil { opacity: 0; pointer-events: none; }
.scratch.is-revealed .scratch__card::after { animation: none; display: none; }
.scratch.is-revealed .scratch__code { animation: codePop .7s cubic-bezier(.2, 1.4, .3, 1) both; }
@keyframes codePop { from { transform: scale(.8); opacity: .3; } }
.burst { position: absolute; inset: -60% -30%; width: 160%; height: 220%; pointer-events: none; z-index: 3; }

.reward__reveal { margin-top: 8px; border: 0; background: none; color: var(--ivory-dim); text-decoration: underline; font-size: .9rem; cursor: pointer; padding: 8px; }
.reward__actions { display: flex; gap: 10px; width: min(86%, 360px); margin-top: 10px; animation: riseIn .6s cubic-bezier(.2, .8, .2, 1) both; }
.reward__actions .btn { flex: 1; }
.reward__actions[hidden] { display: none !important; }


/* ---------- buy: the bottles drop into the Letstick bag ---------- */
.xp-bag { position: fixed; inset: 0; z-index: 60; pointer-events: none; display: grid; place-items: center; }
.xp-bag__veil { position: absolute; inset: 0; background: radial-gradient(90% 70% at 50% 60%, rgba(42, 28, 18, .92), rgba(18, 13, 10, .97)); opacity: 0; transition: opacity .45s; }
.xp-bag.is-on .xp-bag__veil { opacity: 1; }
.xp-bag__bag { position: absolute; left: 50%; bottom: 14%; width: min(64vw, 300px); height: auto; translate: -50% 0; z-index: 2;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); opacity: 0; transform: translateY(60px) scale(.9);
  transition: opacity .45s, transform .7s cubic-bezier(.2, 1.3, .3, 1); }
.xp-bag.is-on .xp-bag__bag { opacity: 1; transform: none; }
.xp-bag.is-in .xp-bag__bag { animation: xpBagBump .55s cubic-bezier(.3, 1.6, .4, 1); }
@keyframes xpBagBump { 35% { transform: scale(1.04, .93); } 70% { transform: scale(.98, 1.03); } }
.xp-bag__bottle { position: absolute; left: 50%; top: 14%; height: min(30vh, 260px); width: auto; z-index: 1;
  --dx: calc((var(--i) - (var(--n) - 1) / 2) * 34%);
  translate: calc(-50% + var(--dx)) 0;
  filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .5)); opacity: 0; transform: translateY(-40px) rotate(calc((var(--i) - .5) * 10deg));
  transition: opacity .4s calc(var(--i) * .08s), transform .6s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * .08s); }
.xp-bag__bottle--blue { height: min(26vh, 225px); }
.xp-bag.is-on .xp-bag__bottle { opacity: 1; transform: translateY(0) rotate(calc((var(--i) - .5) * 6deg)); }
.xp-bag.is-drop .xp-bag__bottle { transform: translateY(46vh) rotate(calc((var(--i) - .5) * -8deg)) scale(.62);
  transition: transform .62s cubic-bezier(.55, 0, .75, .4) calc(var(--i) * .1s), opacity .2s .5s; }
.xp-bag.is-in .xp-bag__bottle { opacity: 0; }
.xp-bag__note { position: absolute; left: 0; right: 0; bottom: calc(5% + env(safe-area-inset-bottom)); margin: 0; z-index: 3; text-align: center;
  color: var(--ivory); font-size: 1rem; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s; }
.xp-bag__note b { color: var(--butter); font-family: var(--latin); letter-spacing: .08em; }
.xp-bag.is-in .xp-bag__note { opacity: 1; transform: none; }

/* ---------- gift: holographic finish ---------- */
.scratch.is-holo .scratch__card { animation: xpFlip .9s cubic-bezier(.2, .8, .2, 1), float 5s ease-in-out 1s infinite !important; }
@keyframes xpFlip { from { transform: rotateY(-180deg) scale(.92); } }
.scratch__inside::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; mix-blend-mode: overlay;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 214, 140, .55) 34%, rgba(170, 215, 255, .45) 44%, rgba(255, 175, 215, .4) 54%, rgba(255, 236, 170, .5) 62%, transparent 76%) 0 0 / 260% 100%; }
.scratch.is-holo .scratch__inside::after { opacity: 1; animation: xpHolo 4.5s ease-in-out infinite alternate; }
@keyframes xpHolo { from { background-position: 100% 0; } to { background-position: 0% 0; } }


/* =====================================================================
   Buttons used by app.js screens: same block style as the component CTA
   ===================================================================== */
.btn { position: relative; display: grid; place-items: center; min-height: 56px; padding: 0 22px; font-weight: 600; font-size: 16px; white-space: nowrap; transition: transform .15s, background .3s, color .3s; }
.btn:active { transform: scale(.97); }
.btn--ink { background: var(--color-foreground); color: var(--color-background); }
.btn--ghost { background: var(--color-background); color: var(--color-foreground); box-shadow: inset 0 0 0 1.5px var(--color-foreground); }
.btn--small { min-height: 44px; font-size: 14px; }
.row { display: flex; gap: 10px; width: 100%; }
.row .btn { flex: 1; }
.screen__title { margin: 0; font-size: 30px; line-height: 1.15; font-weight: 600; letter-spacing: -.01em; }

/* tint wash that follows the routine: amber while caring, ice while setting */
.screen--stage, .screen--result { --t: #E7DED3; }
body[data-tone="amber"] .screen--stage { --t: var(--care); }
body[data-tone="blue"] .screen--stage, body[data-tone="blue"] .screen--result { --t: var(--hold); }
.screen--stage, .screen--result, .screen--reward {
  background: radial-gradient(90% 40% at 50% 26%, color-mix(in oklab, var(--t) 38%, transparent), transparent 72%), color-mix(in oklab, var(--t) 12%, var(--paper));
  transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s .5s, background 1s ease; }

/* ---------- 3. stage ---------- */
.screen--stage { padding: calc(60px + var(--safe-t)) 16px calc(12px + var(--safe-b)); }
.mirror { position: relative; flex: 1; min-height: 0; border-radius: 28px; overflow: hidden; background: #E9E3DA;
  box-shadow: 0 34px 60px -34px rgba(0, 0, 0, .5), 0 0 0 1px rgba(15, 15, 18, .06); }
.mirror__glass { position: absolute; inset: 0; }
.mirror__video, .mirror__out, .mirror__model, .fx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.mirror__video { object-fit: cover; display: none; }
.mirror__out { display: none; }
.mirror.is-camera:not(.no-seg) .mirror__out { display: block; }
.mirror.is-camera .mirror__model { display: none; }
.mirror__model svg { width: 100%; height: 100%; }
.fx-canvas { pointer-events: none; }
.fx-shine, .fx-comb, .fx-hold, .flash, .countdown { display: none; }
.mirror__loading { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; background: rgba(255, 255, 255, .8); font-weight: 500; }
.chips { position: absolute; z-index: 5; left: 12px; right: 12px; bottom: 12px; margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.chips li { padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; background: rgba(255, 255, 255, .8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 6px 16px -8px rgba(0, 0, 0, .35); animation: proIn .5s var(--ease) both; }
.chips li::before { content: "\2713  "; font-weight: 700; }
.ingr { position: absolute; z-index: 6; top: 12px; left: 12px; right: 12px; display: flex; justify-content: center; pointer-events: none; }
.ingr__card { display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 10px; border-radius: 18px; text-align: start;
  background: rgba(255, 255, 255, .88); box-shadow: inset 0 1px 0 #fff, 0 12px 26px -14px rgba(0, 0, 0, .4); animation: proIn .5s var(--ease) both; }
.ingr__card.is-out { animation: proOut .4s var(--ease) forwards; }
@keyframes proOut { to { opacity: 0; transform: translateY(-8px); } }
.ingr__dot { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 1.05rem; background: color-mix(in oklab, var(--care) 50%, #fff); }
.ingr__dot--blue { background: color-mix(in oklab, var(--hold) 60%, #fff); }
.ingr__name { display: block; font-weight: 600; font-size: 14px; }
.ingr__what { display: block; font-size: 12px; color: var(--color-muted-foreground); }
.caption-slot { display: none; }
.shelf { display: flex; gap: 8px; margin-top: 12px; padding: 8px; border-radius: 24px; background: rgba(255, 255, 255, .62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 0 0 1px rgba(15, 15, 18, .06), 0 18px 40px -24px rgba(0, 0, 0, .3); }
.product { flex: 1; display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 18px; text-align: start; background: rgba(255, 255, 255, .5); transition: box-shadow .3s, background .3s, opacity .3s, transform .2s; }
.product:active { transform: scale(.97); }
.product img { height: 62px; width: auto; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .14)); }
.product__name { font-size: 14px; font-weight: 600; line-height: 1.25; }
.product__step { order: -1; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: rgba(15, 15, 18, .07); }
.product.is-ready { background: #fff; box-shadow: inset 0 0 0 1.5px var(--color-foreground), 0 10px 22px -14px rgba(0, 0, 0, .45); }
.product.is-ready .product__step { background: var(--color-foreground); color: #fff; }
.product.is-nudge { animation: proNudge .6s var(--ease) 2; }
@keyframes proNudge { 50% { transform: translateY(-4px); } }
.product.is-done { opacity: .55; }
.product.is-done .product__step { background: #15803d; color: #fff; }
.product:disabled { opacity: .4; }
.stage__next { margin-top: 12px; }
.disclaimer { margin: 8px 0 0; text-align: center; font-size: 11px; color: var(--color-muted-foreground); }
.shutter, #noHairRow { display: none; }

/* ---------- 4. result ---------- */
.screen--result { padding: calc(60px + var(--safe-t)) 16px calc(16px + var(--safe-b)); gap: 12px; }
.compare { --pos: 50%; position: relative; flex: 1; min-height: 0; border-radius: 28px; overflow: hidden; touch-action: pan-y; user-select: none; background: #E9E3DA;
  box-shadow: 0 34px 60px -34px rgba(0, 0, 0, .5), 0 0 0 1px rgba(15, 15, 18, .06); }
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare__handle { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--pos); width: 2px; translate: -50% 0; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .25); pointer-events: none; }
.compare__handle span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; translate: -50% -50%; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.compare__handle span::before, .compare__handle span::after { content: ""; position: absolute; top: 50%; translate: 0 -50%; border: 6px solid transparent; }
.compare__handle span::before { left: 8px; border-right-color: var(--color-foreground); }
.compare__handle span::after { right: 8px; border-left-color: var(--color-foreground); }
.compare__tag { position: absolute; z-index: 2; top: 12px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .84); pointer-events: none; }
.compare__tag--before { right: 12px; } .compare__tag--after { left: 12px; }
.compare__range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare__hint { margin: 0; text-align: center; font-size: 13px; color: var(--color-muted-foreground); }

/* ---------- 5. reward ---------- */
.screen--reward { --t: #E8C98E; align-items: center; justify-content: center; text-align: center; gap: 12px; }
.reward-glow { display: none; }
.reward__kicker { margin: 0; font-size: 13px; font-weight: 600; color: var(--color-muted-foreground); }
.reward__title { font-size: 32px; margin: 0 0 6px; }
.scratch__inside { background: radial-gradient(120% 120% at 30% 0%, #FFFFFF, #F4EEE4) !important; }
.reward__reveal { margin-top: 6px; padding: 8px; font-size: 13px; color: var(--color-muted-foreground); text-decoration: underline; text-underline-offset: 3px; }
.reward__actions { display: flex; gap: 10px; width: min(86%, 360px); margin-top: 8px; }
.reward__actions .btn { flex: 1; }

/* ---------- 6. buy: product stage + glass option list ---------- */
.screen--cta { padding: calc(56px + var(--safe-t)) 20px calc(16px + var(--safe-b)); }
.cta-stage { flex: 1; margin: 0 -20px; min-height: 0; }
.cta-stage .snp-word { font-size: 30cqw; top: 0; }
.cta-duo { display: flex; align-items: flex-end; width: auto; height: 80%; }
.cta-duo img { height: 100%; width: auto; max-width: none; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .14)); }
.cta-duo img + img { height: 86%; margin-inline-start: -30%; }
.cta-panel { position: relative; z-index: 1; }
.cta-title { font-family: "Inter", var(--font); font-size: 28px; direction: ltr; text-align: right; }
.cta-opts { margin-top: 12px; padding: 6px; display: flex; flex-direction: column; gap: 4px; }
.cta-opt { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; text-align: start; transition: background .25s, color .25s; }
.cta-opt span { flex: 1; display: flex; flex-direction: column; }
.cta-opt b { font-size: 15px; font-weight: 600; }
.cta-opt small { font-size: 12px; color: var(--color-muted-foreground); transition: color .25s; }
.cta-opt em { font-style: normal; font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; direction: ltr; }
.cta-opt::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(15, 15, 18, .35); transition: box-shadow .25s; }
.cta-opt[aria-checked="true"] { background: var(--color-foreground); color: #fff; }
.cta-opt[aria-checked="true"] small { color: rgba(255, 255, 255, .7); }
.cta-opt[aria-checked="true"]::before { box-shadow: inset 0 0 0 5px #fff; }
.cta-price { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; }
.cta-now { font-size: 15px; font-weight: 500; }
.cta-now b { display: inline-block; font-size: 30px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.cta-was { font-size: 14px; color: var(--color-muted-foreground); }
.offer__code { margin: 4px 0 0; font-size: 13px; color: var(--color-muted-foreground); }
.offer__code b { color: var(--color-foreground); font-family: "Inter", var(--font); letter-spacing: .04em; }
.cta-buy { width: 100%; margin-top: 12px; }
.scratch, .scratch * { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.screen--cta { overflow-y: auto; overscroll-behavior: contain; }
.cta-stage { flex: 1 0 min(34svh, 300px); }
.screen--cta .routine { margin-top: 10px; padding: 12px 14px; border-radius: 20px; text-align: start;
  background: rgba(255, 255, 255, .62); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 0 0 1px rgba(15, 15, 18, .06); }
.screen--cta .routine__title { margin: 0 0 4px; font-size: 13px; font-weight: 600; }
.screen--cta .routine__steps { margin: 0; padding-inline-start: 18px; font-size: 12.5px; line-height: 1.55; color: var(--color-muted-foreground); }

/* =====================================================================
   0. first screen, v2: real mist from the nozzle, a glass formula switch
   sitting on the stage, and the greeting as a voice note
   ===================================================================== */
.screen--splash .snp-stage { overflow: hidden; }
.screen--splash .snp-shoe { bottom: 25%; height: 66%; }
.screen--splash .snp-shoe.snp-reflect { bottom: auto; top: 75%; height: 66%; }
.screen--splash .snp-floor { bottom: 22.5%; }
.screen--splash .snp-word { top: 4%; }
.pro-mist { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.pro-spray { position: absolute; z-index: 3; left: 32%; right: 32%; top: 6%; bottom: 24%; border-radius: 40px; -webkit-tap-highlight-color: transparent; cursor: pointer; }
.pro-spray:focus-visible { outline: 2px solid var(--color-foreground); outline-offset: 4px; }
.pro-tapchip { position: absolute; z-index: 3; top: 44%; left: calc(50% + 58px); display: flex; align-items: center; gap: 7px; padding: 6px 11px 6px 9px;
  border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; pointer-events: none;
  background: rgba(255, 255, 255, .72); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(15, 15, 18, .06), 0 10px 22px -14px rgba(0, 0, 0, .4);
  animation: proIn .6s var(--ease) 1.6s both; transition: opacity .4s, transform .4s; }
.pro-tapchip::before { content: ""; order: 2; width: 7px; height: 7px; border-radius: 50%; background: var(--color-foreground); animation: proPing 1.6s ease-out infinite; }
@keyframes proPing { 0% { box-shadow: 0 0 0 0 rgba(15, 15, 18, .35); } 80%, 100% { box-shadow: 0 0 0 8px rgba(15, 15, 18, 0); } }
.screen--splash.has-sprayed .pro-tapchip { opacity: 0; transform: translateX(-6px); }

.pro-switch { position: absolute; z-index: 4; left: 20px; right: 20px; bottom: 12px; display: flex; gap: 4px; padding: 5px; border-radius: 24px;
  background: rgba(255, 255, 255, .46); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 1px rgba(15, 15, 18, .06), 0 18px 36px -22px rgba(0, 0, 0, .35);
  animation: proIn .7s var(--ease) .5s both; }
.pro-switch::before { content: ""; position: absolute; top: 5px; bottom: 5px; right: 5px; width: calc(50% - 7px); border-radius: 19px; background: #fff;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .3), 0 0 0 1px rgba(15, 15, 18, .04); transition: transform .55s cubic-bezier(.3, 1.4, .5, 1); }
.pro-switch[data-i="1"]::before { transform: translateX(calc(-100% - 4px)); }
.pro-switch__opt { position: relative; flex: 1; display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 19px; text-align: start; color: var(--color-muted-foreground); transition: color .3s; -webkit-tap-highlight-color: transparent; }
.pro-switch__opt[aria-checked="true"] { color: var(--color-foreground); }
.pro-switch__opt img { flex: none; width: 34px; height: 46px; object-fit: cover; object-position: 50% 0; transform: scale(1.9); transform-origin: 50% 30%;
  -webkit-mask-image: radial-gradient(closest-side, #000 75%, transparent); mask-image: radial-gradient(closest-side, #000 75%, transparent); }
.pro-switch__opt span { display: flex; flex-direction: column; line-height: 1.25; }
.pro-switch__opt b { font-size: 14px; font-weight: 600; }
.pro-switch__opt small { font-size: 11.5px; opacity: .75; }
.pro-switch__opt:focus-visible { outline: 2px solid var(--color-foreground); outline-offset: -2px; }

.screen--splash .snp-title { font-size: 40px; line-height: 1.1; font-weight: 700; letter-spacing: -.015em; }
.screen--splash .snp-title span { display: inline-block; animation: proWord .9s cubic-bezier(.2, .8, .2, 1) both; }
.screen--splash .snp-title span:nth-child(2) { animation-delay: .12s; }
@keyframes proWord { from { opacity: 0; transform: translateY(45%) rotate(2deg); } }
.screen--splash .snp-eyebrow { animation: proIn .6s var(--ease) both; }

.vnote { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 9px 14px 9px 9px; border-radius: 24px; cursor: pointer; -webkit-tap-highlight-color: transparent;
  background: rgba(255, 255, 255, .62); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(15, 15, 18, .06), 0 18px 36px -24px rgba(0, 0, 0, .35);
  animation: proIn .7s var(--ease) .3s both; transition: transform .15s; }
.vnote:active { transform: scale(.985); }
.vnote__play { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--color-foreground); color: #fff; transition: background .4s; }
.vnote__play::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--color-foreground); opacity: 0; animation: proRing 2s ease-out infinite; }
@keyframes proRing { 0% { opacity: .5; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.25); } }
.vnote.is-playing .vnote__play::after, .vnote.is-done .vnote__play::after { animation: none; }
.vnote__play svg { width: 20px; height: 20px; fill: currentColor; }
.vnote__bars, .vnote__tick { display: none; }
.vnote.is-playing .vnote__tri, .vnote.is-done .vnote__tri { display: none; }
.vnote.is-playing .vnote__bars { display: inline; }
.vnote.is-done .vnote__tick { display: inline; }
.vnote__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.vnote__from { font-size: 12.5px; font-weight: 500; color: var(--color-muted-foreground); }
.vnote__wave { display: flex; align-items: center; gap: 2px; height: 24px; }
.vnote__wave i { flex: 1; height: calc(var(--h) * 100%); min-height: 3px; border-radius: 2px; background: rgba(15, 15, 18, .16); transition: background .25s; }
.vnote__wave i.is-on { background: var(--color-foreground); }
.vnote.is-playing .vnote__wave i.is-head { animation: proBar .5s ease-in-out infinite; }
.vnote__time { flex: none; font-size: 12px; font-weight: 500; color: var(--color-muted-foreground); font-variant-numeric: tabular-nums; direction: ltr; }
.screen--splash #startBtn { margin-top: 12px; }
.screen--splash .snp-cta { animation: proIn .7s var(--ease) .45s both; }
#startBtn.is-locked::after { display: none; }
@media (max-height: 700px) {
  .screen--splash .snp-title { font-size: 32px; }
  .vnote { margin-top: 10px; }
  .splash__hint { display: none; }
}
.pro-switch__opt img { width: auto; height: 46px; object-fit: contain; transform: none; -webkit-mask-image: none; mask-image: none; margin-inline-start: 4px;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .14)); }
.screen--splash .pro-copy { margin-top: 4px; }
/* live waveform: bars are scaled from JS every frame (scaleY, not height: smooth on iPhone) */
.vnote__wave { height: 30px; touch-action: none; }
.vnote__wave i { height: calc(var(--h) * 62%); transform-origin: 50% 50%; will-change: transform; animation: none !important; }
.vnote__wave i { height: calc((.3 + var(--h) * .7) * 60%); }

/* voice note, v3: replay, live words, glow and ring that follow the voice */
.vnote { position: relative; isolation: isolate; }
.vnote::before { content: ""; position: absolute; inset: -14px; z-index: -1; border-radius: 38px; pointer-events: none;
  background: radial-gradient(55% 75% at 88% 50%, color-mix(in oklab, var(--care) 75%, transparent), transparent 72%);
  opacity: calc(var(--lvl, 0) * 1.1); transform: scale(calc(.97 + var(--lvl, 0) * .05)); }
body[data-tone="blue"] .vnote::before { background: radial-gradient(55% 75% at 88% 50%, color-mix(in oklab, var(--hold) 80%, transparent), transparent 72%); }
.vnote__play::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: color-mix(in oklab, var(--care) 55%, transparent);
  z-index: -1; transform: scale(calc(1 + var(--lvl, 0) * .55)); opacity: calc(.2 + var(--lvl, 0)); }
.vnote__play { isolation: auto; }
.vnote__again { display: none; }
.vnote.is-replay .vnote__tick { display: none; }
.vnote.is-replay .vnote__again { display: inline; animation: proSpinIn .5s var(--ease); transform-origin: 12px 12px; }
@keyframes proSpinIn { from { opacity: 0; transform: rotate(-120deg); } }
.vnote.is-replay .vnote__from { font-size: 0; }
.vnote.is-replay .vnote__from::after { content: "اسمعيها مرة ثانية"; font-size: 12.5px; }

.vnote__say { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease), margin .45s var(--ease); }
.vnote.is-playing .vnote__say { grid-template-rows: 1fr; margin-top: 2px; }
.vnote__line { min-height: 0; overflow: hidden; font-size: 14.5px; font-weight: 600; line-height: 1.5; white-space: nowrap; text-overflow: ellipsis; }
.vnote__line b { font-weight: inherit; color: rgba(15, 15, 18, .22); transition: color .25s; }
.vnote__line b.is-said { color: var(--color-foreground); }
.vnote__line.is-in b { display: inline-block; animation: proWordIn .45s var(--ease) both; }
.vnote__line.is-in b:nth-child(2) { animation-delay: .04s; } .vnote__line.is-in b:nth-child(3) { animation-delay: .08s; }
.vnote__line.is-in b:nth-child(4) { animation-delay: .12s; } .vnote__line.is-in b:nth-child(5) { animation-delay: .16s; }
@keyframes proWordIn { from { opacity: 0; transform: translateY(8px); } }

/* =====================================================================
   1. quiz, v2: photo-led diagnosis (quiz.js)
   ===================================================================== */
.screen--quiz { justify-content: flex-start; gap: 12px; padding-top: calc(var(--safe-t) + 84px); padding-bottom: calc(10px + var(--safe-b)); }
.screen--quiz::before { display: none; }
.quiz__dots i { height: 4px; border-radius: 2px; }
.qz-stage { position: relative; flex: 1 1 auto; min-height: 150px; border-radius: 28px; overflow: hidden; background: #E9E3DA;
  box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .55), 0 0 0 1px rgba(15, 15, 18, .06); animation: proIn .6s var(--ease) both; }
.qz-frame { position: absolute; inset: 0; overflow: hidden; }
.qz-ph { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform-origin: 0 0;
  opacity: 0; transition: opacity .55s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.qz-ph.is-on { opacity: 1; }
.qz-mist { position: absolute; inset: -20%; pointer-events: none; opacity: 0;
  background: radial-gradient(40% 35% at 50% 50%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 70%); }
.qz-mist.is-on { animation: qzMist 1s ease-out both; }
@keyframes qzMist { 0% { opacity: 0; transform: scale(.4) translateY(10%); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.4) translateY(-6%); } }
.qz-lens { position: absolute; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; pointer-events: none; display: grid; place-items: center;
  box-shadow: 0 0 0 2px #fff, 0 0 0 7px rgba(255, 255, 255, .28), 0 10px 30px rgba(0, 0, 0, .25); opacity: 0; transform: scale(.6);
  transition: opacity .35s, transform .5s cubic-bezier(.3, 1.5, .5, 1), left .9s cubic-bezier(.2, .8, .2, 1), top .9s cubic-bezier(.2, .8, .2, 1); }
.qz-lens.is-on { opacity: 1; transform: scale(1); }
.qz-lens svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .45s .25s ease; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .35)); }
.qz-lens.is-done svg { stroke-dashoffset: 0; }
.qz-lens.is-done { background: rgba(21, 128, 61, .35); }
.qz-step { position: absolute; top: 12px; right: 12px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(255, 255, 255, .86); box-shadow: inset 0 1px 0 #fff, 0 6px 16px -8px rgba(0, 0, 0, .35); }
.qz-chip { position: absolute; left: 50%; bottom: 14px; display: flex; align-items: center; gap: 8px; max-width: calc(100% - 28px); padding: 9px 15px 9px 13px;
  border-radius: 999px; white-space: nowrap; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, .9);
  box-shadow: inset 0 1px 0 #fff, 0 12px 26px -12px rgba(0, 0, 0, .45); opacity: 0; transform: translate(-50%, 12px) scale(.96); pointer-events: none;
  transition: opacity .35s, transform .5s cubic-bezier(.3, 1.4, .5, 1); }
.qz-chip.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.qz-chip i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--color-foreground); }
.qz-chip[data-tone="amber"] i { background: #D89A46; box-shadow: 0 0 0 4px color-mix(in oklab, var(--care) 45%, transparent); }
.qz-chip[data-tone="blue"] i { background: #5B9BD5; box-shadow: 0 0 0 4px color-mix(in oklab, var(--hold) 55%, transparent); }
.qz-week { position: absolute; left: 14px; right: 14px; top: 50%; translate: 0 -60%; padding: 14px 14px 16px; border-radius: 22px; text-align: center;
  background: rgba(255, 255, 255, .88); box-shadow: inset 0 1px 0 #fff, 0 20px 40px -22px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .4s, transform .5s var(--ease); }
.screen--quiz[data-q="2"] .qz-week { opacity: 1; transform: none; }
.qz-week__t { margin: 0 0 10px; font-size: 12px; font-weight: 600; color: var(--color-muted-foreground); }
.qz-week__d { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.qz-week__d i { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; font-style: normal; font-size: 13px; font-weight: 600;
  background: rgba(15, 15, 18, .06); color: var(--color-muted-foreground); transition: background .3s, color .3s, transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.qz-week__d i.is-on { background: var(--color-foreground); color: #fff; transform: scale(1.12); }

.quiz__q { font-size: 26px; margin: 2px 0 0; }
.quiz__q.is-in { animation: proIn .5s var(--ease) both; }
.quiz__opts { gap: 7px; }
.quiz__opts.is-three { gap: 7px; }
.quiz__opt { position: relative; overflow: hidden; min-height: 56px; padding: 6px 14px 6px 6px; gap: 12px; border-radius: 18px; font-size: 16px; font-weight: 500;
  background: rgba(255, 255, 255, .82); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(15, 15, 18, .06), 0 10px 24px -18px rgba(0, 0, 0, .35); transition: transform .15s, background .3s, color .3s; }
.quiz__opt::before { content: ""; position: absolute; left: var(--rx, 50%); top: var(--ry, 50%); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: rgba(15, 15, 18, .1); transform: scale(0); opacity: 0; pointer-events: none; }
.quiz__opt.is-ripple::before { animation: qzRipple .6s ease-out; }
@keyframes qzRipple { 0% { transform: scale(0); opacity: 1; } 100% { transform: scale(60); opacity: 0; } }
.quiz__opt.is-picked { background: var(--color-foreground); color: #fff; transform: scale(1.015); }
.quiz__opt.is-picked::after { box-shadow: inset 0 0 0 6px #fff; }
.qz-thumb, .quiz__opt .quiz__swatch { order: -1; flex: none; width: 44px; height: 44px; border-radius: 14px; object-fit: cover; box-shadow: 0 0 0 1px rgba(15, 15, 18, .08); }
.qz-thumb--mix { display: flex; overflow: hidden; }
.qz-thumb--mix img { flex: 1; min-width: 0; height: 100%; object-fit: cover; }
.qz-thumb--days { display: grid; place-items: center; align-content: center; line-height: 1; font-family: "Inter", var(--font); font-size: 18px; font-weight: 800;
  background: color-mix(in oklab, var(--hold) 45%, #fff); color: var(--color-foreground); }
.qz-thumb--days small { font-family: var(--font); font-size: 10px; font-weight: 600; margin-top: 2px; }
.quiz__opt.is-picked .qz-thumb--days { background: #fff; }
.quiz__skip { padding: 4px 12px; }
@media (max-height: 700px) {
  .screen--quiz { gap: 9px; padding-top: calc(var(--safe-t) + 78px); }
  .quiz__q { font-size: 22px; }
  .quiz__opt { min-height: 50px; }
  .qz-thumb, .quiz__opt .quiz__swatch { width: 38px; height: 38px; border-radius: 12px; }
}
.qz-week { top: auto; bottom: 14px; translate: none; padding: 12px 12px 14px; }
.screen--quiz[data-q="2"] .qz-chip { bottom: auto; top: 54px; }

/* =====================================================================
   2. picker, v2: hold for the after look, drag on the orbit, glass rail
   ===================================================================== */
.screen--choose { padding-top: calc(var(--safe-t) + 64px); padding-bottom: calc(12px + var(--safe-b));
  background: radial-gradient(80% 42% at 50% 30%, color-mix(in oklab, var(--accent) 42%, transparent), transparent 72%), var(--paper);
  transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s .5s, background .9s ease; }
.screen--choose #chooseTitle { font-size: 22px; font-weight: 700; color: var(--color-foreground); letter-spacing: -.01em; }
.orb-arc { opacity: .55; }
.orb-stage { margin-top: 26px; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.orb-plates { width: min(72vw, 38svh); }
.orb-orbit { transform-origin: 50% -150%; }
.orb-orbit img { position: absolute; inset: 0; }
.orb-orbit .orb-after { opacity: 0; box-shadow: none; }
.orb-ring { position: absolute; inset: -9px; width: calc(100% + 18px); height: calc(100% + 18px); transform: rotate(-90deg); pointer-events: none; overflow: visible; }
.orb-ring circle { fill: none; stroke: color-mix(in oklab, var(--accent) 70%, #8a5a20); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.orb-badge { position: absolute; top: 4%; inset-inline-end: -4%; z-index: 3; padding: 7px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap;
  background: #fff; box-shadow: 0 0 0 1px rgba(15, 15, 18, .06), 0 10px 24px -10px rgba(0, 0, 0, .35), 0 0 0 6px color-mix(in oklab, var(--accent) 35%, transparent);
  animation: orbBadge 2.4s ease-in-out infinite; }
@keyframes orbBadge { 50% { box-shadow: 0 0 0 1px rgba(15, 15, 18, .06), 0 10px 24px -10px rgba(0, 0, 0, .35), 0 0 0 11px color-mix(in oklab, var(--accent) 12%, transparent); } }
.orb-after-tag { position: absolute; left: 50%; bottom: -6px; z-index: 3; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap;
  background: var(--color-foreground); color: #fff; opacity: 0; transform: translate(-50%, 8px) scale(.9); pointer-events: none;
  transition: opacity .3s, transform .45s cubic-bezier(.3, 1.5, .5, 1); }
.screen--choose.is-after .orb-after-tag { opacity: 1; transform: translate(-50%, 0) scale(1); }
.screen--choose.is-holding .orb-badge { opacity: 0; }
.orb-hint { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 12.5px; font-weight: 500; color: var(--color-muted-foreground); transition: opacity .4s; }
.orb-hint i { width: 8px; height: 8px; border-radius: 50%; background: var(--color-foreground); animation: proPing 1.6s ease-out infinite; }
.orb-hint.is-used { opacity: 0; }
.orb-head { height: 104px; margin-top: 6px; }
.orb-t1 { font-size: 26px; }
.orb-t2 { font-size: 56px; line-height: 1.3; padding-bottom: 6px; margin-top: -4px; }
.orb-pager { display: none; }
.orb-rail { display: flex; gap: 8px; max-width: 100%; margin-top: 4px; padding: 6px; border-radius: 999px; overflow-x: auto; scrollbar-width: none;
  background: rgba(255, 255, 255, .62); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 1px rgba(15, 15, 18, .06), 0 14px 30px -20px rgba(0, 0, 0, .35); }
.orb-rail::-webkit-scrollbar { display: none; }
.orb-thumb { flex: none; width: 40px; height: 40px; border-radius: 50%; padding: 0; overflow: hidden; opacity: .55; transform: scale(.88);
  transition: opacity .3s, transform .45s cubic-bezier(.3, 1.5, .5, 1), box-shadow .3s; }
.orb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.orb-thumb[aria-current] { opacity: 1; transform: scale(1); box-shadow: 0 0 0 2px #fff, 0 0 0 4px color-mix(in oklab, var(--accent) 80%, #8a5a20); }
.orb-card { margin-top: auto; padding: 14px; }
.orb-desc { min-height: 0; font-size: 14.5px; }
.orb-go { width: 100%; margin-top: 12px; }
.orb-acts { display: none; }
@media (max-height: 700px) {
  .orb-stage { margin-top: 14px; }
  .orb-plates { width: min(64vw, 33svh); }
  .orb-hint { margin-top: 12px; }
  .orb-head { height: 86px; }
  .orb-t1 { font-size: 22px; } .orb-t2 { font-size: 44px; }
  .orb-thumb { width: 34px; height: 34px; }
}
.orb-ring { opacity: 0; transition: opacity .2s; }
.screen--choose.is-holding .orb-ring { opacity: 1; }
.orb-plates { width: min(80vw, 42svh); }
.orb-stage { margin-top: 34px; }
.orb-hint { margin-top: 22px; }
.orb-head { height: 116px; margin-top: 8px; }
.orb-t2 { font-size: 62px; }
.screen--choose.is-dragging .orb-badge { opacity: 0; transition: opacity .15s; }
@media (max-height: 700px) {
  .screen--choose { padding-top: calc(var(--safe-t) + 58px); }
  .screen--choose #chooseTitle { font-size: 19px; }
  .orb-stage { margin-top: 18px; }
  .orb-plates { width: min(62vw, 31svh); }
  .orb-hint { margin-top: 12px; font-size: 12px; }
  .orb-head { height: 82px; margin-top: 2px; }
  .orb-t1 { font-size: 20px; } .orb-t2 { font-size: 42px; }
  .orb-thumb { width: 32px; height: 32px; }
  .orb-card { padding: 12px; } .orb-desc { font-size: 13.5px; } .orb-go { margin-top: 10px; height: 50px; }
}
@media (max-height: 700px) { .orb-plates { width: min(66vw, 35svh); } .orb-stage { margin-top: 22px; } }

/* quiz Q2: hair-type triptych + strand card */
.qz-tri { position: absolute; inset: 0; z-index: 1; display: flex; gap: 3px; background: #fff; opacity: 0; visibility: hidden; transition: opacity .45s, visibility 0s .45s; }
.screen--quiz[data-q="1"] .qz-tri { opacity: 1; visibility: visible; transition: opacity .45s; }
.qz-pan { position: relative; flex: 1 1 0; min-width: 0; padding: 0; overflow: hidden; -webkit-tap-highlight-color: transparent;
  transition: flex-grow .8s cubic-bezier(.2, .8, .2, 1); }
.qz-pan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transition: transform .8s cubic-bezier(.2, .8, .2, 1), opacity .6s; }
.qz-pan .qz-pan__after { opacity: 0; }
.qz-pan span { position: absolute; left: 50%; bottom: 74px; translate: -50% 0; padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap;
  background: rgba(255, 255, 255, .9); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .35); transition: opacity .3s, transform .45s cubic-bezier(.3, 1.4, .5, 1); }
.qz-tri[data-focus]:not([data-focus=""]) .qz-pan:not(.is-focus) span { opacity: 0; transform: scale(.9); }
.qz-tri[data-focus]:not([data-focus=""]) .qz-pan:not(.is-focus) img { transform: scale(1.08); }
.qz-pan.is-focus { flex-grow: 4.5; }
.qz-pan.is-focus img { transform: scale(1.02); }
.qz-tri[data-focus="picked"] .qz-pan.is-picked { flex-grow: 60; }
.qz-pan.is-picked .qz-pan__after { opacity: 1; }
.qz-pan.is-picked span { opacity: 0; }
.qz-strand { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 20px;
  background: rgba(255, 255, 255, .92); box-shadow: inset 0 1px 0 #fff, 0 16px 34px -18px rgba(0, 0, 0, .45);
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .4s, transform .5s var(--ease); }
.screen--quiz[data-q="1"] .qz-strand { opacity: 1; transform: none; }
.screen--quiz[data-q="1"] .qz-chip { opacity: 0 !important; }
.qz-strand svg { flex: none; width: 96px; height: 26px; overflow: visible; }
.qz-strand path { fill: none; stroke: var(--color-foreground); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.qz-strand path.is-draw { animation: qzDraw .9s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes qzDraw { from { stroke-dashoffset: 1; } }
.qz-strand.is-mix svg { opacity: .25; }
.qz-strand span { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.qz-strand b { font-size: 15px; font-weight: 700; }
.qz-strand small { font-size: 12px; color: var(--color-muted-foreground); }
.qz-strand.is-picked { background: var(--color-foreground); color: #fff; }
.qz-strand.is-picked small { color: rgba(255, 255, 255, .7); }
.qz-strand.is-picked path { stroke: color-mix(in oklab, var(--care) 85%, #fff); }
.screen--quiz[data-q="1"] .qz-step { z-index: 3; }
@media (max-height: 700px) { .qz-pan span { bottom: 66px; font-size: 12px; } .qz-strand { padding: 8px 12px; } .qz-strand svg { width: 76px; } }
.qz-tri[data-focus="picked"] { gap: 0; }
.qz-tri[data-focus="picked"] .qz-pan:not(.is-picked) { flex-grow: 0.0001; }

/* quiz Q3: compact glass week strip + mini weeks on the answers */
.qz-week { left: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 8px; padding: 10px 12px 12px; border-radius: 20px; }
.qz-week__t { margin: 0; font-size: 13px; font-weight: 700; color: var(--color-foreground); text-align: start; font-variant-numeric: tabular-nums; }
.qz-week__d { display: flex; justify-content: space-between; gap: 4px; }
.qz-week__d i { position: relative; flex: none; width: 34px; height: 34px; aspect-ratio: auto; font-size: 12.5px; }
.qz-week__d i.is-on { animation: qzDay .45s cubic-bezier(.3, 1.6, .5, 1); }
.qz-week__d i.is-on::after { content: ""; position: absolute; top: -2px; right: -2px; width: 9px; height: 9px; border-radius: 50%; background: #5B9BD5; box-shadow: 0 0 0 2px #fff; }
@keyframes qzDay { 0% { transform: scale(.6); } 60% { transform: scale(1.22); } 100% { transform: scale(1.12); } }
.screen--quiz[data-q="2"] .qz-chip { top: 54px; bottom: auto; }
.qz-thumb--days { display: flex; flex-direction: column; gap: 3px; padding: 4px 0; background: color-mix(in oklab, var(--hold) 40%, #fff); }
.qz-thumb--days b { font-family: "Inter", var(--font); font-size: 16px; line-height: 1; }
.qz-thumb--days > span { display: grid; grid-template-columns: repeat(4, 5px); gap: 2px; justify-content: center; }
.qz-thumb--days i { width: 5px; height: 5px; border-radius: 50%; background: rgba(15, 15, 18, .18); }
.qz-thumb--days i.on { background: var(--color-foreground); }
.quiz__opt.is-picked .qz-thumb--days i.on { background: #5B9BD5; }
@media (max-height: 700px) { .qz-week__d i { width: 30px; height: 30px; font-size: 11.5px; } .qz-week { padding: 8px 10px 10px; gap: 6px; } }

/* =====================================================================
   3. routine stage, v2 (stage.js): step tracker, before peek, bottle dock
   ===================================================================== */
.screen--stage { padding-top: calc(var(--safe-t) + 60px); gap: 10px; }
.st-track { display: flex; gap: 8px; }
.st-step { position: relative; flex: 1; display: flex; align-items: center; gap: 8px; padding: 7px 12px 11px 8px; border-radius: 16px; overflow: hidden;
  background: rgba(255, 255, 255, .62); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 1px rgba(15, 15, 18, .05); opacity: .55; transition: opacity .4s, background .4s, box-shadow .4s; }
.st-step img { flex: none; height: 32px; width: auto; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .15)); }
.st-step span { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.st-step b { font-size: 13.5px; font-weight: 700; }
.st-step small { font-size: 11.5px; color: var(--color-muted-foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-bar { position: absolute; left: 10px; right: 10px; bottom: 5px; height: 3px; border-radius: 2px; background: rgba(15, 15, 18, .08); overflow: hidden; }
.st-bar u { position: absolute; inset: 0; border-radius: inherit; transform-origin: right center; transform: scaleX(0); transition: transform .25s linear; }
.st-step[data-k="amber"] .st-bar u { background: linear-gradient(270deg, #E2A24C, var(--care)); }
.st-step[data-k="blue"] .st-bar u { background: linear-gradient(270deg, #5B9BD5, var(--hold)); }
.st-step[data-state="ready"], .st-step[data-state="active"] { opacity: 1; background: #fff; box-shadow: inset 0 1px 0 #fff, 0 0 0 1.5px var(--color-foreground), 0 12px 24px -16px rgba(0, 0, 0, .4); }
.st-step[data-state="done"] { opacity: 1; }
.st-step[data-state="done"] small { color: #15803d; font-weight: 600; }

/* instruction pill: white glass, readable */
.g-pill { background: rgba(255, 255, 255, .92) !important; color: var(--color-foreground) !important; font-weight: 700; font-size: 14px;
  box-shadow: inset 0 1px 0 #fff, 0 12px 28px -14px rgba(0, 0, 0, .45) !important; border: 0 !important; }
.g-pill__dot { background: #E2A24C; }
body[data-tone="blue"] .g-pill__dot { background: #5B9BD5; }

/* before peek */
.st-peek { position: absolute; z-index: 8; left: 12px; bottom: 60px; width: 60px; height: 60px; padding: 0; border-radius: 50%; overflow: visible;
  box-shadow: 0 0 0 3px #fff, 0 10px 24px -8px rgba(0, 0, 0, .5); opacity: 0; transform: scale(.6); pointer-events: none;
  transition: opacity .35s, transform .45s cubic-bezier(.3, 1.5, .5, 1); -webkit-touch-callout: none; user-select: none; touch-action: none; }
.st-peek.is-on { opacity: 1; transform: none; pointer-events: auto; }
.st-peek canvas { width: 100%; height: 100%; border-radius: 50%; display: block; }
.st-peek span { position: absolute; left: 50%; bottom: -9px; translate: -50% 0; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--color-foreground); color: #fff; white-space: nowrap; }
.st-peek:active { transform: scale(.94); }
.st-before { position: absolute; inset: 0; z-index: 7; width: 100%; height: 100%; opacity: 0; pointer-events: none; transition: opacity .25s; border-radius: inherit; }
.mirror.is-peeking .st-before { opacity: 1; }
.mirror.is-peeking .st-peek span { background: #fff; color: var(--color-foreground); }

/* chips: glass with a colour dot */
.chips li { background: rgba(255, 255, 255, .92); font-weight: 600; animation: stChip .55s cubic-bezier(.3, 1.5, .5, 1) both; }
.chips li:nth-child(2) { animation-delay: .08s; } .chips li:nth-child(3) { animation-delay: .16s; } .chips li:nth-child(4) { animation-delay: .24s; }
.chips li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-inline-end: 6px; border-radius: 50%; background: #E2A24C; vertical-align: 1px; }
body[data-tone="blue"] .chips li::before { background: #5B9BD5; }
@keyframes stChip { from { opacity: 0; transform: translateY(10px) scale(.9); } }

/* bottle dock */
.shelf { padding: 6px; gap: 6px; border-radius: 26px; overflow: visible; margin-top: 4px; }
.product { position: relative; min-height: 66px; padding: 8px 12px 8px 8px; border-radius: 20px; overflow: visible; align-items: center; }
.product img { height: 74px; margin-top: -26px; align-self: flex-end; transition: transform .45s cubic-bezier(.3, 1.5, .5, 1); }
.product > span:not(.product__step) { display: flex; flex-direction: column; }
.product__name { font-size: 15px; }
.product__state { position: absolute; inset-inline-start: 82px; bottom: 9px; font-size: 11.5px; font-weight: 600; color: var(--color-muted-foreground); }
.product__name { margin-bottom: 12px; }
.product--amber { background: color-mix(in oklab, var(--care) 22%, #fff); }
.product--blue { background: color-mix(in oklab, var(--hold) 26%, #fff); }
.product.is-ready { box-shadow: inset 0 0 0 2px var(--color-foreground), 0 14px 28px -16px rgba(0, 0, 0, .5); animation: stReady 1.8s ease-in-out infinite; }
.product.is-ready img { transform: translateY(-4px) rotate(-4deg); }
.product.is-ready .product__state { color: var(--color-foreground); }
@keyframes stReady { 50% { box-shadow: inset 0 0 0 2px var(--color-foreground), 0 0 0 6px color-mix(in oklab, var(--care) 45%, transparent), 0 14px 28px -16px rgba(0, 0, 0, .5); } }
.product--blue.is-ready { animation-name: stReadyB; }
@keyframes stReadyB { 50% { box-shadow: inset 0 0 0 2px var(--color-foreground), 0 0 0 6px color-mix(in oklab, var(--hold) 55%, transparent), 0 14px 28px -16px rgba(0, 0, 0, .5); } }
.product.is-spraying { background: #fff; box-shadow: inset 0 0 0 2px var(--color-foreground); }
.product.is-spraying img { transform: translateY(-8px) rotate(-10deg); }
.product.is-done { opacity: .75; }
.product.is-done .product__state { color: #15803d; }
.product:disabled { opacity: .5; }
@media (max-height: 700px) {
  .st-step { padding: 5px 10px 9px 6px; } .st-step img { height: 26px; } .st-step small { font-size: 10.5px; }
  .product img { height: 62px; margin-top: -20px; } .product { min-height: 58px; }
  .st-peek { width: 52px; height: 52px; bottom: 56px; }
}
.product { display: grid; grid-template-columns: auto auto 1fr; grid-template-rows: 1fr auto; column-gap: 10px; align-items: end; padding: 8px 12px 9px 10px; text-align: start; }
.product__step { grid-row: 1 / 3; grid-column: 1; align-self: center; order: 0; }
.product img { grid-row: 1 / 3; grid-column: 2; height: 70px; width: auto; margin-top: -24px; }
.product__name { grid-column: 3; grid-row: 1; margin: 0; white-space: nowrap; font-size: 15px; align-self: end; }
.product__state { position: static; grid-column: 3; grid-row: 2; white-space: nowrap; }
@media (max-height: 700px) { .product img { height: 58px; margin-top: -18px; } .product__name { font-size: 14px; } }
.st-peek { bottom: auto; top: 66px; left: 12px; }
@media (max-height: 700px) { .st-peek { bottom: auto; top: 58px; } }

/* =====================================================================
   4. before / after, v2 (result.js)
   ===================================================================== */
.screen--result { gap: 10px; }
.screen--result .screen__title { font-size: 28px; }
.rs-switch { position: relative; display: flex; gap: 4px; padding: 4px; border-radius: 999px; align-self: center;
  background: rgba(255, 255, 255, .7); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(15, 15, 18, .06), 0 10px 24px -16px rgba(0, 0, 0, .35); }
.rs-switch button { min-width: 78px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--color-muted-foreground); transition: background .3s, color .3s; }
.rs-switch button[aria-checked="true"] { background: var(--color-foreground); color: #fff; }
.compare__handle { width: 3px; }
.compare__handle span { width: 52px; height: 52px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .45), 0 8px 22px rgba(0, 0, 0, .3); }
.compare__tag { font-size: 13px; padding: 6px 13px; }
.compare__tag--after { background: var(--color-foreground); color: #fff; }
.rs-pin { position: absolute; z-index: 2; translate: -50% -50%; display: flex; align-items: center; gap: 6px; padding: 6px 11px 6px 8px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; white-space: nowrap; pointer-events: none; background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .45); opacity: 0; transform: scale(.7); transition: opacity .3s, transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.rs-pin i { width: 8px; height: 8px; border-radius: 50%; background: #E2A24C; box-shadow: 0 0 0 4px color-mix(in oklab, var(--care) 45%, transparent); }
.rs-pin[data-y="70"] i { background: #5B9BD5; box-shadow: 0 0 0 4px color-mix(in oklab, var(--hold) 55%, transparent); }
.rs-pin.is-on { opacity: 1; transform: scale(1); }
.rs-pin.is-on[data-y="44"] { transition-delay: .08s; } .rs-pin.is-on[data-y="70"] { transition-delay: .16s; }
.rs-shine { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); background-size: 260% 100%; }
.rs-shine.is-on { animation: rsShine 1.6s ease-in-out both; }
@keyframes rsShine { 0% { opacity: 0; background-position: 100% 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; background-position: 0 0; } }
.compare__hint { transition: opacity .4s, height .4s; }
.compare__hint.is-used { opacity: 0; height: 0; margin: -5px 0; overflow: hidden; }
.rs-made { display: flex; align-items: center; gap: 6px; padding: 8px 14px 8px 10px; border-radius: 18px; background: rgba(255, 255, 255, .7);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(15, 15, 18, .05); }
.rs-made img { height: 40px; width: auto; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .15)); }
.rs-made img + img { margin-inline-start: -8px; height: 36px; }
.rs-made span { display: flex; flex-direction: column; margin-inline-start: 6px; line-height: 1.3; }
.rs-made small { font-size: 11.5px; color: var(--color-muted-foreground); }
.rs-made b { font-size: 14px; font-weight: 700; }
@media (max-height: 700px) {
  .screen--result .screen__title { font-size: 22px; }
  .rs-switch button { min-width: 66px; padding: 6px 10px; font-size: 13px; }
  .rs-made { padding: 6px 12px 6px 8px; } .rs-made img { height: 32px; } .rs-made img + img { height: 29px; }
}

/* =====================================================================
   5. gift, v2 (reward.js): the card comes out of the Letstick bag
   ===================================================================== */
.screen--reward { background: radial-gradient(70% 40% at 50% 46%, color-mix(in oklab, var(--care) 45%, transparent), transparent 72%), var(--paper); }
.screen--reward .reward__title { font-size: 32px; }
.rw-bag { position: absolute; left: 50%; top: 50%; z-index: 4; width: 62%; padding: 0; translate: -50% -46%; -webkit-tap-highlight-color: transparent;
  opacity: 0; pointer-events: none; transition: opacity .5s, transform .7s cubic-bezier(.5, 0, .2, 1); }
.rw-bag img { display: block; width: 100%; height: auto; filter: drop-shadow(0 26px 30px rgba(80, 55, 10, .35)); }
.rw-bag__tap { position: absolute; left: 50%; bottom: -34px; translate: -50% 0; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  font-size: 13.5px; font-weight: 700; white-space: nowrap; background: #fff; color: var(--color-foreground); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .4); }
.rw-bag__tap i { width: 8px; height: 8px; border-radius: 50%; background: var(--color-foreground); animation: proPing 1.6s ease-out infinite; }
.screen--reward.is-bagged .rw-bag { opacity: 1; pointer-events: auto; animation: rwBob 2.6s ease-in-out infinite; }
@keyframes rwBob { 50% { transform: translateY(-8px) rotate(-1.5deg); } }
.screen--reward.is-opening .rw-bag { animation: rwShake .6s ease-in-out; }
@keyframes rwShake { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-7deg) scale(1.03); } 40% { transform: rotate(6deg); } 60% { transform: rotate(-4deg); } 80% { transform: rotate(3deg); } }
.screen--reward.is-open .rw-bag { opacity: 0; transform: translateY(46%) scale(.82); pointer-events: none; animation: none; }
.screen--reward.is-bagged .scratch__card { animation: none; opacity: 0; transform: translateY(30%) scale(.5); }
.screen--reward.is-open .scratch__card { animation: rwRise .85s cubic-bezier(.2, 1.25, .35, 1) both, float 5s ease-in-out 1.2s infinite; }
@keyframes rwRise { from { opacity: 0; transform: translateY(30%) scale(.5) rotate(-6deg); } 40% { opacity: 1; } to { opacity: 1; transform: none; } }
.screen--reward.is-bagged .reward__reveal, .screen--reward.is-bagged .rw-meter { opacity: 0; pointer-events: none; }
.screen--reward.is-bagged .reward__title { opacity: .9; }
.rw-dust { position: absolute; left: 0; top: 0; z-index: 3; width: 100%; height: 160%; pointer-events: none; }
.rw-meter { width: min(86%, 360px); display: flex; align-items: center; gap: 10px; margin-top: 12px; transition: opacity .4s; opacity: 0; }
.rw-meter.is-on { opacity: 1; }
.rw-meter i { position: relative; flex: 1; height: 6px; border-radius: 3px; background: linear-gradient(270deg, #B8893E, #F3DC97); transform-origin: right center; transform: scaleX(0);
  transition: transform .3s ease; box-shadow: 0 0 0 1px rgba(15, 15, 18, .04); }
.rw-meter::before { content: ""; position: absolute; }
.rw-meter span { flex: none; min-width: 84px; font-size: 12.5px; font-weight: 600; color: var(--color-muted-foreground); text-align: end; }
.rw-meter.is-done span { color: #15803d; }
.scratch.is-revealed .scratch__code { cursor: pointer; }
.scratch__code.is-copied { animation: rwCopied .6s ease; }
@keyframes rwCopied { 30% { transform: scale(1.08); color: #15803d; } }
@media (max-height: 700px) { .screen--reward .reward__title { font-size: 26px; } .rw-bag { width: 54%; } }

/* gift: the code always fits the card, styled as a coupon */
.scratch { container-type: inline-size; }
.scratch__inside { padding: 0 6%; }
.scratch__code { font-size: min(2.4rem, 9.6cqw); letter-spacing: .05em; padding: .18em .5em; margin: 4px 0 2px; max-width: 100%; white-space: nowrap;
  border: 1.5px dashed color-mix(in oklab, #B8893E 70%, transparent); border-radius: 12px; background: rgba(255, 255, 255, .55); }
.scratch.is-revealed .scratch__code::after { content: ""; }

/* =====================================================================
   6. buy page, v2: ingredient chips, best-value badge, code chip,
   how to use, trust strip, glass buy bar fixed at the bottom
   ===================================================================== */
.screen--cta { padding-bottom: 0; }
.cta-stage { flex: 0 0 min(36svh, 300px); }
.cta-ingr { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.cta-chip { position: absolute; display: flex; align-items: center; gap: 6px; padding: 6px 11px 6px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap;
  background: rgba(255, 255, 255, .88); box-shadow: inset 0 1px 0 #fff, 0 10px 22px -12px rgba(0, 0, 0, .4); animation: ctaChip .6s cubic-bezier(.3, 1.5, .5, 1) both, ctaBob 4s ease-in-out 1s infinite; }
.cta-chip i { width: 8px; height: 8px; border-radius: 50%; background: #E2A24C; }
.cta-chip[data-tone="blue"] i { background: #5B9BD5; }
@keyframes ctaChip { from { opacity: 0; transform: translateY(10px) scale(.85); } }
@keyframes ctaBob { 50% { translate: 0 -4px; } }
.cta-opt b { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cta-best { font-style: normal; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
  background: linear-gradient(90deg, #F3DC97, #E9B46C); color: #3b2a0c; }
.cta-opt[aria-checked="true"] .cta-best { background: #fff; color: var(--color-foreground); }
.cta-code { display: flex; align-items: center; gap: 10px; width: 100%; margin: 12px 0 0; padding: 10px 14px; border-radius: 16px; text-align: start;
  border: 1.5px dashed color-mix(in oklab, #B8893E 70%, transparent); background: color-mix(in oklab, var(--care) 14%, #fff); color: var(--color-foreground); }
.cta-code span { font-size: 12.5px; color: var(--color-muted-foreground); }
.cta-code b { flex: 1; font-family: "Inter", var(--font); font-size: 17px; letter-spacing: .06em; direction: ltr; text-align: start; }
.cta-code i { font-style: normal; font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--color-foreground); color: #fff; }
.cta-code.is-copied i { background: #15803d; }
.screen--cta .routine { margin-top: 12px; }
.cta-how { margin-top: 16px; text-align: start; }
.cta-how h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.cta-how__body { display: flex; flex-direction: column; gap: 8px; }
.cta-how__p { padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(15, 15, 18, .05); }
.cta-how__p p { margin: 0 0 6px; font-size: 13.5px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.cta-how__p p::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #E2A24C; }
.cta-how__p[data-tone="hold"] p::before { background: #5B9BD5; }
.cta-how__p ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 6px; }
.cta-how__p li { counter-increment: s; display: flex; gap: 8px; align-items: baseline; font-size: 13px; line-height: 1.5; color: color-mix(in oklab, var(--color-foreground) 80%, transparent); }
.cta-how__p li::before { content: counter(s); flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700;
  background: rgba(15, 15, 18, .07); color: var(--color-foreground); font-family: "Inter", var(--font); }
.cta-trust { margin: 14px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cta-trust li { padding: 10px 6px; border-radius: 14px; text-align: center; background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px rgba(15, 15, 18, .05); }
.cta-trust b { display: block; font-size: 12.5px; font-weight: 700; }
.cta-trust small { display: block; font-size: 10.5px; color: var(--color-muted-foreground); margin-top: 2px; }
.cta-panel { padding-bottom: 18px; }
.cta-bar { position: sticky; bottom: 0; z-index: 5; margin: 0 -20px; padding: 10px 20px calc(10px + var(--safe-b)); display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 -1px 0 rgba(15, 15, 18, .06), 0 -16px 30px -24px rgba(0, 0, 0, .4); }
.cta-bar .cta-price { margin: 0; flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.15; }
.cta-bar .cta-now b { font-size: 24px; }
.cta-bar .cta-was { font-size: 12px; }
.cta-bar .cta-buy { flex: 1; width: auto; margin: 0; height: 52px; }
@media (max-height: 700px) { .cta-stage { flex-basis: 30svh; } .cta-chip { font-size: 11.5px; padding: 5px 9px 5px 7px; } }

/* =====================================================================
   0. first screen, v3: a photographed set (two lights) + real bottles
   ===================================================================== */
.pro-scene { position: absolute; z-index: -2; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.pro-scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.pro-scene img.is-on { opacity: 1; }
/* soft light over the lower half so the words read cleanly on the floor */
.screen--splash::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 56%, rgba(252, 250, 247, .55) 70%, rgba(252, 250, 247, .82) 86%, rgba(252, 250, 247, .9) 100%); }
.screen--splash .snp-word { color: #fff; opacity: .5; mix-blend-mode: soft-light; }
.screen--splash .snp-shoe:not(.snp-sheen) { filter: drop-shadow(0 18px 14px rgba(60, 40, 10, .28)) drop-shadow(0 3px 3px rgba(60, 40, 10, .25)); }
/* a contact shadow on the plinth top instead of a reflection */
.screen--splash .snp-floor { left: 36%; right: 36%; height: 16px; bottom: calc(25% - 7px); background: radial-gradient(closest-side, rgba(40, 25, 5, .45), rgba(40, 25, 5, 0)); filter: blur(2px); }
.screen--splash .snp-shoe { bottom: 25%; height: 60%; }
.screen--splash .pro-switch { background: rgba(255, 255, 255, .55); }
.screen--splash .pro-tapchip { background: rgba(255, 255, 255, .86); }
.screen--splash .snp-word { opacity: .38; }

/* =====================================================================
   0. first screen, v4: one photographed shot per formula (bottle on its
   plinth, the word carved in the wall); the switch sits under the photo
   ===================================================================== */
.screen--splash { background: #EBDDCB; transition: background .9s ease; }
.screen--splash:has(.pro-switch[data-i="1"]) { background: #DCE5EC; }
.screen--splash .snp-float, .screen--splash .snp-word, .screen--splash .snp-floor { display: none; }
.screen--splash .pro-scene img { -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%); mask-image: linear-gradient(to bottom, #000 80%, transparent 100%); }
.screen--splash::before { background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, .28) 78%, rgba(255, 255, 255, .45) 100%); }
.screen--splash .pro-switch { position: relative; left: auto; right: auto; bottom: auto; margin: 0 0 14px; animation: proIn .7s var(--ease) .5s both;
  background: rgba(255, 255, 255, .62); }
.screen--splash .snp-eyebrow, .screen--splash .splash__hint { display: none; }
.screen--splash .snp-title { margin-top: 0; }
.screen--splash .pro-spray { right: auto; bottom: auto; }
.screen--splash .pro-tapchip { translate: 0 -50%; }
/* the carved word is the brand moment here: the small logo steps aside on this screen */
body:has(#s-splash.is-active) .topbar__logo { opacity: 0; }
.topbar__logo { transition: opacity .5s; }
.pro-scene img.pro-scene__open { opacity: 0; transition: opacity .16s ease; }
.pro-scene img.pro-scene__open.is-on { opacity: 1; }
.screen--splash > .pro-mist { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.screen--splash .pro-copy { z-index: 2; }

/* the "Aa" captions toggle is removed from the interface (owner's request); app.js keeps working without it */
#ccBtn { display: none !important; }
