/* ─────────────────────────────────────────────────────────────────
   Get Lost — hand-made universe base
   A tactile storybook ritual for finding time.
   ─────────────────────────────────────────────────────────────── */

:root {
  /* Background palette: ink, night paper, moss wash. */
  --bg-0:        #0c0b09;
  --bg-1:        #151911;
  --bg-2:        #242619;
  --paper:       #171611;
  --paper-warm:  #231c14;
  --paper-edge:  rgba(244, 224, 188, 0.18);
  --ink:         #050505;

  /* Foreground type. */
  --fg:          #f7eddc;          /* warm page-white */
  --fg-soft:     rgba(247, 237, 220, 0.78);
  --fg-mute:     rgba(247, 237, 220, 0.59);
  --fg-faint:    rgba(247, 237, 220, 0.38);

  /* Glass / borders. */
  --line:        rgba(244, 224, 188, 0.13);
  --line-strong: rgba(244, 224, 188, 0.25);
  --ink-line:    rgba(21, 16, 10, 0.72);
  --glass:       rgba(21, 22, 15, 0.66);
  --glass-2:     rgba(35, 29, 20, 0.78);

  /* Celestial washes. */
  --bloom-warm:  oklch(0.84 0.13 66);    /* candle amber */
  --bloom-glow:  oklch(0.76 0.12 44);    /* soft clay peach */
  --bloom-deep:  oklch(0.45 0.07 34);    /* umber shadow */
  --moss:        oklch(0.52 0.055 145);  /* muted field green */
  --wash-blue:   oklch(0.46 0.05 220);
  --wash-plum:   oklch(0.38 0.045 330);

  /* Geometry. */
  --r-panel:     8px;
  --r-input:     6px;
  --r-chip:      999px;

  /* Storybook surface effects. */
  --paper-shadow: 0 18px 50px rgba(0, 0, 0, 0.32), 0 1px 0 rgba(255,255,255,0.045) inset;
  --ink-shadow: 0 0 0 1px var(--ink-line), 2px 3px 0 rgba(0,0,0,0.22);
  --soft-wash: radial-gradient(120% 95% at 18% 12%, rgba(245, 187, 104, 0.08), transparent 46%),
               radial-gradient(95% 80% at 84% 24%, rgba(96, 135, 134, 0.08), transparent 54%),
               radial-gradient(90% 80% at 46% 100%, rgba(92, 69, 102, 0.11), transparent 60%);

  /* Sizing. */
  --bloom-size:  min(46vh, 380px);

  --ease:        cubic-bezier(0.22, 0.61, 0.36, 1);

  --font: "Montserrat", "Avenir Next", "Avenir", "Helvetica Neue", Helvetica, system-ui, sans-serif;
  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-0);
  color: var(--fg);
  font-family: var(--font);
  font-weight: 400;
  font-feature-settings: "ss01", "kern";
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
}
body[data-state="complete"] {
  --bloom-size: min(30vh, 230px);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
body::before {
  background:
    linear-gradient(115deg, rgba(255,255,255,0.025), transparent 28%, rgba(0,0,0,0.14) 73%, transparent),
    repeating-linear-gradient(96deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(3deg, rgba(0,0,0,0.08) 0 1px, transparent 1px 9px);
  opacity: 0.52;
  mix-blend-mode: soft-light;
}
body::after {
  background-image:
    radial-gradient(circle at 12% 22%, rgba(246, 205, 137, 0.13) 0 1px, transparent 1.8px),
    radial-gradient(circle at 72% 18%, rgba(180, 205, 184, 0.10) 0 1px, transparent 1.7px),
    radial-gradient(circle at 36% 82%, rgba(236, 165, 118, 0.10) 0 1px, transparent 1.7px);
  background-size: 59px 67px, 83px 79px, 71px 91px;
  opacity: 0.22;
}

button { font: inherit; color: inherit; background: transparent; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
a { color: inherit; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── Ambience ─── */

.ambience {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    var(--soft-wash),
    linear-gradient(180deg, #17130f 0%, var(--bg-0) 58%, #050605 100%);
}
.ambience::before,
.ambience::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ambience::before {
  background:
    radial-gradient(42% 32% at 50% 48%, rgba(255, 202, 122, calc(0.22 * var(--ambient-warmth))) 0%, rgba(255, 202, 122, calc(0.06 * var(--ambient-warmth))) 34%, transparent 68%),
    radial-gradient(92% 82% at 50% 38%, transparent 0 36%, rgba(43, 47, 67, calc(0.5 * var(--sky-dim))) 70%, rgba(9, 10, 15, calc(0.74 * var(--sky-dim))) 100%),
    linear-gradient(180deg, rgba(18, 24, 38, calc(0.22 * var(--sky-dim))) 0%, rgba(55, 39, 58, calc(0.24 * var(--sky-dim))) 68%, rgba(9, 10, 13, calc(0.36 * var(--sky-dim))) 100%);
  opacity: 1;
  mix-blend-mode: multiply;
}
.ambience::after {
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(39, 45, 68, calc(0.28 * var(--sky-dim))) 52%, transparent 70%),
    radial-gradient(circle at 24% 18%, rgba(255, 241, 188, calc(0.22 * var(--eclipse-totality))) 0 1px, transparent 1.8px),
    radial-gradient(circle at 76% 30%, rgba(255, 225, 175, calc(0.16 * var(--eclipse-totality))) 0 1px, transparent 1.8px);
  background-size: auto, 180px 180px, 230px 230px;
  opacity: calc(0.08 + 0.84 * var(--sky-dim));
  mix-blend-mode: screen;
}
.ambience__layer { position: absolute; inset: -10%; will-change: transform; }

.ambience__layer--moss {
  background:
    radial-gradient(70% 58% at 14% 18%, oklch(0.30 0.035 145 / 0.72) 0%, transparent 62%),
    radial-gradient(70% 68% at 86% 80%, oklch(0.25 0.035 190 / 0.58) 0%, transparent 66%),
    linear-gradient(112deg, transparent 0 42%, rgba(255,255,255,0.018) 43% 44%, transparent 45% 100%);
  animation: drift-a 58s linear infinite;
  filter: blur(10px);
}
.ambience__layer--warm {
  background:
    radial-gradient(44% 32% at 48% 54%, oklch(0.43 0.07 60 / 0.72) 0%, transparent 67%),
    radial-gradient(34% 26% at 32% 72%, oklch(0.36 0.06 38 / 0.62) 0%, transparent 70%),
    radial-gradient(28% 20% at 74% 30%, oklch(0.45 0.045 225 / 0.26) 0%, transparent 75%);
  mix-blend-mode: screen;
  opacity: 0.54;
  animation: drift-b 82s linear infinite;
  filter: blur(24px);
}
.ambience__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(110% 82% at 50% 24%, transparent 0%, rgba(0,0,0,0.34) 70%, rgba(0,0,0,0.67) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.12), transparent 20% 80%, rgba(0,0,0,0.14));
}
.ambience__grain {
  position: absolute; inset: 0;
  opacity: 0.13;
  mix-blend-mode: overlay;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.74' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.98  0 0 0 0 0.91  0 0 0 0 0.78  0 0 0 0.62 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    repeating-linear-gradient(88deg, transparent 0 14px, rgba(255,255,255,0.035) 15px, transparent 17px);
}

@keyframes drift-a {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(-3%, 2%, 0) scale(1.04); }
  100% { transform: translate3d(0,0,0) scale(1); }
}
@keyframes drift-b {
  0%   { transform: translate3d(0,0,0) scale(1.02); }
  50%  { transform: translate3d(4%, -3%, 0) scale(1.08); }
  100% { transform: translate3d(0,0,0) scale(1.02); }
}

/* When the ritual is active, the ambience warms up. */
body[data-state="active"] .ambience__layer--warm { opacity: calc(0.32 + 0.63 * var(--ambient-warmth)); }
body[data-state="active"] .ambience__layer--moss {
  opacity: calc(0.7 + 0.26 * var(--ambient-warmth));
  filter: blur(calc(10px + 8px * var(--sky-dim))) saturate(calc(1 - 0.22 * var(--sky-dim)));
}
body[data-state="active"] .ambience__veil {
  background:
    radial-gradient(90% 68% at 50% 24%, transparent 0%, rgba(18, 21, 34, calc(0.3 + 0.46 * var(--sky-dim))) 68%, rgba(4, 5, 9, calc(0.58 + 0.3 * var(--sky-dim))) 100%),
    radial-gradient(64% 52% at 50% 43%, transparent 0 30%, rgba(17, 15, 24, calc(0.22 * var(--sky-dim))) 72%, rgba(3, 4, 7, calc(0.42 * var(--sky-dim))) 100%),
    linear-gradient(90deg, rgba(0,0,0, calc(0.14 + 0.26 * var(--sky-dim))), transparent 20% 80%, rgba(0,0,0, calc(0.16 + 0.26 * var(--sky-dim))));
}
body[data-state="complete"] .ambience__layer--warm { opacity: 0.85; }

/* ─── Top bar ─── */

.topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 18px clamp(16px, 4vw, 36px);
  border-bottom: 1px solid var(--paper-edge);
  background:
    linear-gradient(180deg, rgba(30, 24, 17, 0.68), rgba(13, 12, 9, 0.16)),
    linear-gradient(92deg, rgba(255,255,255,0.025), transparent 34% 66%, rgba(255,255,255,0.018));
  backdrop-filter: blur(7px) saturate(0.92);
  -webkit-backdrop-filter: blur(7px) saturate(0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}
.brand__mark {
  display: inline-flex;
  color: var(--bloom-warm);
  filter: drop-shadow(1px 1px 0 rgba(0,0,0,0.55));
}
.brand__mark svg { display: block; }

.topnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
}
.topnav__link {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-soft);
  padding: 8px 10px;
  border-radius: var(--r-input);
  border: 1px solid transparent;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.topnav__link:hover {
  color: var(--fg);
  background: rgba(244,224,188,0.045);
  border-color: rgba(244,224,188,0.08);
}
.topnav__count {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: var(--r-chip);
  background: rgba(255,255,255,0.08);
  font-size: 10px;
  color: var(--fg);
  letter-spacing: 0;
}

/* ─── Stage ─── */

.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(20px, 4vh, 44px) clamp(16px, 4vw, 36px) clamp(40px, 8vh, 80px);
  gap: clamp(14px, 2.5vh, 28px);
}
body[data-state="complete"] .stage {
  padding-top: clamp(12px, 2vh, 22px);
  gap: 12px;
}

/* ─── Title block ─── */

.title { text-align: center; max-width: 560px; }
.title__word {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 300;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  margin: 0 0 8px;
  text-indent: 0.42em; /* compensate tracking */
  color: var(--fg);
  text-shadow: 1px 1px 0 rgba(0,0,0,0.72);
}
.title__sub {
  margin: 0;
  font-size: 14px;
  color: var(--fg-soft);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-wrap: pretty;
}

/* ─── Central eclipse visual ─── */
:root {
  --eclipse-shimmer-duration: 14s;
  --eclipse-ripple-duration: 19s;
  --eclipse-ripple-opacity: 0.34;
  --eclipse-caustic-opacity: 0.22;
  --eclipse-corona-blur: 0px;
  --eclipse-complete-pulse-duration: 2.8s;
  --eclipse: 0;
  --eclipse-totality: 0;
  --sky-dim: 0;
  --ambient-warmth: 1;
}

.console {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  width: 100%;
}
body[data-state="complete"] .console {
  gap: 12px;
}

.bloom {
  position: relative;
  width: var(--bloom-size);
  height: var(--bloom-size);
  display: grid;
  place-items: center;
  filter:
    drop-shadow(0 18px 40px rgba(0,0,0,0.42))
    drop-shadow(1px 1px 0 rgba(248,226,181,0.08));
}

.bloom__svg {
  width: 100%;
  height: 100%;
  display: block;
  /* Progress is driven by JS via this var (0–100). */
  --p: 0;
  /* Eclipse is driven by JS; 0 = open sun, 1 = aligned. */
  --eclipse: 0;
  /* Openness is driven by JS; 0 = quiet/dim, 1 = fully revealed. */
  --open: 0;
  --eclipse-totality: 0;
  --sky-dim: 0;
  --ambient-warmth: 1;
}

.bloom__light {
  transform-origin: center;
  transform-box: fill-box;
  opacity: calc((0.44 + (1 - var(--eclipse)) * 0.36) * (0.68 + var(--ambient-warmth) * 0.32));
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  pointer-events: none;
  mix-blend-mode: screen;
}
.bloom__sun-wash {
  transform-origin: center;
  transform-box: fill-box;
  transform: scale(calc(0.9 + (1 - var(--eclipse)) * 0.14 - var(--sky-dim) * 0.06));
  opacity: calc((0.18 + (1 - var(--eclipse)) * 0.42) * (0.45 + var(--ambient-warmth) * 0.55));
  animation: eclipse-warmth-breathe var(--eclipse-shimmer-duration) ease-in-out infinite;
}
.bloom__ripple {
  fill: none;
  stroke: url(#eclipseRippleInk);
  stroke-linecap: round;
  stroke-width: 2.4;
  transform-origin: center;
  transform-box: fill-box;
  opacity: calc(var(--eclipse-ripple-opacity) * (1 - var(--eclipse)));
  filter: blur(0.18px);
  animation: eclipse-ripple-drift var(--eclipse-ripple-duration) ease-in-out infinite;
}
.bloom__ripple--b {
  stroke-width: 1.8;
  opacity: calc((var(--eclipse-ripple-opacity) - 0.1) * (1 - var(--eclipse)));
  animation-duration: calc(var(--eclipse-ripple-duration) * 1.18);
  animation-delay: -4s;
}
.bloom__ripple--c {
  stroke-width: 1.2;
  opacity: calc((var(--eclipse-ripple-opacity) - 0.17) * (1 - var(--eclipse)));
  animation-duration: calc(var(--eclipse-ripple-duration) * 0.86);
  animation-delay: -9s;
}
.bloom__caustic {
  fill: none;
  stroke: oklch(0.98 0.08 88 / 0.44);
  stroke-width: 1.4;
  stroke-linecap: round;
  opacity: calc(var(--eclipse-caustic-opacity) * (1 - var(--eclipse)));
  transform-origin: center;
  transform-box: fill-box;
  filter: blur(0.24px);
  animation: eclipse-caustic-glide calc(var(--eclipse-ripple-duration) * 1.35) ease-in-out infinite;
}
.bloom__caustic--b {
  stroke: oklch(0.84 0.11 68 / 0.32);
  animation-delay: -7s;
}
body[data-state="waiting"] .bloom__light,
body[data-state="compose"] .bloom__light {
  opacity: 0.74;
}
body[data-state="active"] .bloom__light {
  opacity: calc((0.18 + (1 - var(--eclipse)) * 0.5) * (0.48 + var(--ambient-warmth) * 0.52));
}
body[data-state="complete"] .bloom__light {
  opacity: 0.34;
  animation: eclipse-complete-pulse var(--eclipse-complete-pulse-duration) ease-out 1;
}

.bloom__halo {
  transform-origin: center;
  transform-box: fill-box;
  transform: scale(calc(0.94 + 0.05 * var(--eclipse) - 0.035 * var(--sky-dim)));
  opacity: calc(0.08 + 0.25 * var(--eclipse) + 0.2 * var(--eclipse-totality));
  transition: transform 1.2s var(--ease), opacity 1.2s var(--ease);
  mix-blend-mode: screen;
  filter: blur(var(--eclipse-corona-blur));
}

.bloom__sun {
  transform-origin: center;
  transform-box: fill-box;
  transform: scale(1);
  opacity: calc(0.72 + 0.28 * var(--open));
  transition: transform 1.2s var(--ease), opacity 1.2s var(--ease);
  filter: drop-shadow(0 0 18px oklch(0.82 0.12 65 / 0.52));
  animation: solar-breathe 7s ease-in-out infinite;
}
.bloom__moon {
  transition: filter 0.4s linear;
}
body[data-state="active"] .bloom__moon,
body[data-state="complete"] .bloom__moon {
  filter:
    saturate(calc(0.78 - 0.08 * var(--sky-dim)))
    brightness(calc(0.78 - 0.08 * var(--sky-dim)))
    drop-shadow(0 0 8px rgba(0,0,0,0.2));
}
@keyframes solar-breathe {
  0%, 100% { filter: brightness(1.0); }
  50%      { filter: brightness(1.12); }
}
@keyframes eclipse-warmth-breathe {
  0%, 100% { transform: scale(calc(0.94 + (1 - var(--eclipse)) * 0.1)) rotate(-1deg); opacity: calc(0.2 + (1 - var(--eclipse)) * 0.38); }
  48%      { transform: scale(calc(0.98 + (1 - var(--eclipse)) * 0.13)) rotate(1.1deg); opacity: calc(0.25 + (1 - var(--eclipse)) * 0.46); }
}
@keyframes eclipse-ripple-drift {
  0%, 100% { transform: translate(-3px, -1px) rotate(-4deg) scaleX(0.96); }
  45%      { transform: translate(3px, 1px) rotate(3deg) scaleX(1.04); }
  70%      { transform: translate(0, -2px) rotate(0deg) scaleX(1); }
}
@keyframes eclipse-caustic-glide {
  0%, 100% { transform: translateX(-4px) rotate(-1.2deg); }
  50%      { transform: translateX(5px) rotate(1.4deg); }
}
@keyframes eclipse-complete-pulse {
  0%   { transform: scale(0.96); opacity: 0.22; }
  38%  { transform: scale(1.04); opacity: 0.44; }
  100% { transform: scale(1); opacity: 0.34; }
}

/* Progress ring — only visible during active/complete. */
.bloom__progress-track,
.bloom__progress {
  fill: none;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: center;
  transform-box: fill-box;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.bloom__progress-track { stroke: rgba(255,255,255,0.06); stroke-width: 1.2; }
.bloom__progress {
  stroke: var(--bloom-warm);
  stroke-width: 1.6;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--p));
  transition: stroke-dashoffset 0.4s linear, opacity 0.6s var(--ease);
  filter: drop-shadow(0 0 6px oklch(0.78 0.12 60 / 0.5));
}
body[data-state="active"] .bloom__progress-track,
body[data-state="active"] .bloom__progress,
body[data-state="complete"] .bloom__progress-track,
body[data-state="complete"] .bloom__progress { opacity: 0; }

/* ─── Eclipse readout (timer / label inside the visual) ─── */

.bloom__readout {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 100%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  text-align: center;
}
.bloom__readout-time {
  display: block;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-size: clamp(28px, 4.6vw, 44px);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--fg);
  opacity: 0;
  transform: none;
  transition: opacity 0.5s var(--ease);
}
.bloom__readout-label {
  display: none;
}
body[data-state="active"] .bloom__readout-time,
body[data-state="complete"] .bloom__readout-time {
  color: oklch(0.96 0.03 84);
  opacity: 1;
  -webkit-text-stroke: 0.8px rgba(28, 26, 22, 0.82);
  text-shadow:
    0 1px 0 rgba(28, 26, 22, 0.86),
    0 0 7px rgba(28, 26, 22, 0.72),
    0 0 18px rgba(251, 242, 221, 0.46);
}
body[data-state="active"] .bloom__readout-label,
body[data-state="complete"] .bloom__readout-label { opacity: 0; }

body[data-state="complete"] .bloom__progress { stroke: oklch(0.86 0.08 75); }

/* ─── Controls ─── */

.controls {
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 32px);
}

.ctl {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.006) 46%),
    var(--glass);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.3s var(--ease);
}
.ctl:hover {
  background:
    linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.01) 46%),
    var(--glass-2);
  border-color: rgba(244,224,188,0.35);
}
.ctl:active { transform: scale(0.97); }
.ctl:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.6), 0 0 0 3px var(--bloom-warm);
}

.ctl--secondary {
  width: 44px; height: 44px; border-radius: 999px;
}
.ctl--secondary svg { opacity: 0.88; }

.ctl--primary {
  width: 72px; height: 72px; border-radius: 999px;
  border-color: rgba(244,224,188,0.38);
  background:
    radial-gradient(circle at 46% 36%, rgba(255,243,207,0.15), rgba(255,255,255,0.02) 68%),
    linear-gradient(145deg, rgba(50, 39, 27, 0.84), rgba(11, 11, 8, 0.76));
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.045) inset,
    2px 2px 0 rgba(0,0,0,0.26),
    0 12px 36px rgba(0,0,0,0.35);
}
.ctl--primary:hover {
  border-color: rgba(244,224,188,0.55);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 14px 44px rgba(0,0,0,0.45),
    0 0 32px oklch(0.78 0.12 60 / 0.35);
}
.ctl__ring {
  position: absolute; inset: -1px; border-radius: inherit;
  border: 1px solid transparent;
  background: conic-gradient(from 0deg, transparent 0deg, oklch(0.82 0.13 60 / 0.6) 60deg, transparent 120deg);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
  opacity: 0;
  animation: ring-spin 6s linear infinite;
}
body[data-state="active"] .ctl__ring { opacity: 1; }
@keyframes ring-spin { to { transform: rotate(360deg); } }

.ctl__play, .ctl__stop {
  position: absolute;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.ctl__stop { opacity: 0; transform: scale(0.6); }
body[data-state="active"] .ctl__play { opacity: 0; transform: scale(0.6); }
body[data-state="active"] .ctl__stop { opacity: 1; transform: scale(1); }
.ctl__label {
  display: none;
  pointer-events: none;
}
body[data-state="compose"][data-mode="monk"] .ctl__label {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  display: block;
  width: max-content;
  max-width: min(28ch, 78vw);
  transform: translateX(-50%);
  color: var(--fg-soft);
  font-size: 11px;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(28, 26, 22, 0.16);
}
body[data-state="active"] .ctl__label,
body[data-state="complete"] .ctl__label {
  display: none;
}

/* Tooltip on copy button. */
.ctl__tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, 2px);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-mute);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.ctl:hover .ctl__tooltip,
.ctl:focus-visible .ctl__tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ─── Status line ─── */

.status {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-mute);
  min-height: 1em;
  text-align: center;
  transition: color 0.3s var(--ease);
}
body[data-state="active"] .status { color: var(--bloom-warm); }
body[data-state="complete"] .status { color: oklch(0.86 0.08 80); }

/* ─── Setup panel: mode + names + duration ─── */

.setup {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  width: 100%;
  max-width: min(78vw, 960px);
  padding: clamp(22px, 3vw, 34px) clamp(26px, 4vw, 38px);
  border: 1px solid var(--paper-edge);
  border-radius: var(--r-panel);
  background:
    linear-gradient(178deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01) 46%, rgba(0,0,0,0.12)),
    radial-gradient(120% 95% at 0% 0%, rgba(241, 190, 120, 0.055), transparent 56%),
    oklch(0.16 0.018 85 / 0.78);
  box-shadow: var(--paper-shadow), 2px 3px 0 rgba(0,0,0,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.setup__row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 32px);
}
.setup__row--names {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(22px, 3vw, 44px);
  transition: opacity 0.28s var(--ease), filter 0.28s var(--ease), transform 0.28s var(--ease);
}
.setup__row--duration {
  align-items: center;
}
.setup__field {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.setup__label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.setup__row--names .setup__label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bloom-warm);
  box-shadow: 0 0 16px oklch(0.82 0.12 65 / 0.46);
}
.setup__label--rail {
  align-self: center;
}
.setup__input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(244,224,188,0.18);
  padding: 2px 0 12px;
  width: 100%;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s var(--ease);
}
.setup__input::placeholder { color: var(--fg-faint); }
.setup__input:focus { border-color: var(--bloom-warm); }
.setup__input:disabled {
  cursor: default;
}

.setup__line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244,224,188,0.22), transparent);
}
.setup__line--soft {
  margin-top: -4px;
}
.setup__verb {
  align-self: end;
  padding-bottom: 18px;
  color: var(--fg-faint);
  font-size: 11px;
  letter-spacing: 0.32em;
  line-height: 1;
  text-transform: uppercase;
}
.setup[data-mode="monk"] .setup__row--names {
  opacity: 0.28;
  filter: blur(0.2px);
  transform: translateY(-2px);
  pointer-events: none;
}
.setup[data-mode="monk"] .setup__row--names .setup__label::before {
  opacity: 0;
}
.setup[data-mode="monk"] .setup__verb {
  opacity: 0;
}

.durations {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}
.duration {
  min-height: 48px;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-soft);
  padding: 12px 18px;
  border-radius: var(--r-chip);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.012);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.duration:hover { color: var(--fg); border-color: rgba(244,224,188,0.30); }
.duration[aria-checked="true"] {
  color: var(--bg-0);
  background: var(--bloom-warm);
  border-color: var(--bloom-warm);
  box-shadow: 1px 2px 0 rgba(0,0,0,0.24);
}

.setup__share {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  min-width: 0;
}
.setup__share-button {
  display: grid;
  align-items: center;
  justify-items: start;
  gap: 0;
  min-height: 74px;
  padding: 20px 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-input);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.004)),
    rgba(0,0,0,0.06);
  color: var(--fg-soft);
  text-align: left;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}
.setup__share-button strong {
  color: var(--fg);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  letter-spacing: 0.08em;
}
.setup__share-button span {
  display: none;
  color: var(--fg-mute);
  font-size: clamp(13px, 1.45vw, 17px);
  font-weight: 300;
  letter-spacing: 0.04em;
}
.setup__share-button:hover {
  border-color: rgba(244,224,188,0.34);
  transform: none;
}
.setup__share-button.is-selected {
  border-color: var(--bloom-warm);
  color: var(--bg-0);
  background: var(--bloom-warm);
}
.setup__share-button.is-selected strong,
.setup__share-button.is-selected span {
  color: var(--bg-0);
}
.setup__share-button--quiet {
  opacity: 0.74;
}
.setup__share-button--quiet strong {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--fg-soft);
}
.setup__share-button--quiet.is-selected {
  opacity: 1;
}
.setup__body-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-top: -4px;
  padding: 14px 16px;
  min-height: 68px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background:
    linear-gradient(92deg, rgba(244,224,188,0.035), transparent 58%),
    rgba(0,0,0,0.075);
  transition: border-color 0.28s var(--ease), background 0.28s var(--ease), opacity 0.28s var(--ease);
}
.setup[data-mode="body"] .setup__body-cta {
  border-color: oklch(0.82 0.12 65 / 0.24);
  background: oklch(0.82 0.12 65 / 0.055);
}
.setup[data-mode="monk"] .setup__body-cta {
  opacity: 0.72;
}
.setup[data-mode="monk"] .setup__body-cta .btn {
  opacity: 0;
  pointer-events: none;
}
.setup__body-cta span {
  color: var(--fg-mute);
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.setup__body-cta .btn {
  white-space: nowrap;
  transition: opacity 0.28s var(--ease), filter 0.28s var(--ease), background 0.28s var(--ease), color 0.28s var(--ease);
}
.setup__body-cta .btn:disabled {
  opacity: 0.42;
  filter: saturate(0.3);
  cursor: default;
  pointer-events: none;
}

/* Hide setup during active/complete and on invitee received state. */
body[data-state="active"] [data-setup],
body[data-state="complete"] [data-setup],
body[data-state="received"] [data-setup],
body[data-state="waiting"] [data-setup] {
  display: none;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  position: absolute;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
}

/* ─── Status tiles ─── */

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 580px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
body[data-state="active"] .tiles,
body[data-state="complete"] .tiles {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
body[data-state="active"][data-mode="body"] .tiles {
  display: none !important;
}
body[data-state="complete"] .tiles {
  display: none;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid var(--paper-edge);
  border-radius: var(--r-panel);
  background:
    linear-gradient(165deg, rgba(255,255,255,0.035), rgba(255,255,255,0.004)),
    rgba(18, 19, 13, 0.62);
  box-shadow: 1px 2px 0 rgba(0,0,0,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.tile__top { display: flex; align-items: center; gap: 8px; }
.tile__dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--fg-faint);
  box-shadow: 0 0 0 0 currentColor;
  transition: background 0.3s var(--ease), box-shadow 0.6s var(--ease);
}
.tile[data-active="true"] .tile__dot {
  background: var(--bloom-warm);
  box-shadow: 0 0 12px oklch(0.82 0.13 65 / 0.7);
}
.tile__name {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.tile__state {
  font-size: 13px;
  color: var(--fg-soft);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.tile[data-active="true"] .tile__state { color: var(--fg); }

/* ─── Lock screen / Live Activity preview ─── */

.live-preview {
  display: none;
  width: min(100%, 560px);
  grid-template-columns: 74px minmax(0, 1fr) 34px;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 24px;
  background: rgba(70, 68, 62, 0.42);
  box-shadow: 0 22px 70px rgba(0,0,0,0.34);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
body[data-state="active"] .live-preview {
  display: none;
}
.live-preview[hidden] {
  display: none !important;
}
.live-preview__orb {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: oklch(0.9 0.08 95);
  color: var(--moss);
}
.live-preview__orb svg {
  width: 52px;
  height: 52px;
}
.live-preview__orb ellipse {
  fill: currentColor;
  fill-opacity: 0.22;
  stroke: currentColor;
  stroke-opacity: 0.5;
  stroke-width: 0.7;
}
.live-preview__orb circle {
  fill: currentColor;
}
.live-preview__copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}
.live-preview__copy strong {
  color: #fff;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 400;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.live-preview__copy span {
  color: rgba(255,255,255,0.68);
  font-size: 15px;
}
.live-preview__bar {
  overflow: hidden;
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.24);
}
.live-preview__bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: rgba(255,255,255,0.64);
  transition: width 0.4s linear;
}
.live-preview__close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.72);
  font-size: 26px;
  line-height: 1;
}
.live-preview__foot {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.56);
  font-size: 13px;
  text-align: center;
}

/* ─── Invitee + complete cards ─── */

.invite-card {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  max-width: 500px;
  padding: 20px 24px;
  border: 1px solid var(--paper-edge);
  border-radius: var(--r-panel);
  background:
    linear-gradient(178deg, rgba(255,255,255,0.045), rgba(255,255,255,0.008)),
    var(--glass);
  box-shadow: var(--paper-shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
body[data-role="invitee"][data-state="received"] [data-invite-card] { display: flex; }
body[data-state="complete"] [data-complete-card] { display: flex; }
body[data-state="complete"].is-celebrating [data-complete-card] { display: none; }
body[data-state="complete"].is-dedicating [data-complete-card] { display: none; }
body[data-state="complete"] .invite-card--complete {
  margin-top: -6px;
  width: min(100%, 520px);
}

.invite-card__eyebrow {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bloom-warm);
}
.invite-card__line {
  margin: 0;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--fg);
  text-wrap: balance;
}
.invite-card__sub {
  margin: 0;
  font-size: 13px;
  color: var(--fg-soft);
  text-wrap: pretty;
  max-width: 36ch;
}
.invite-card__sub:empty {
  display: none;
}
.invite-card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.invite-card__trust {
  width: 100%;
  max-width: 42ch;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
  color: var(--ink-soft, rgba(28, 26, 22, 0.78));
  font-size: 12.5px;
  line-height: 1.48;
}
.invite-card__trust li {
  position: relative;
  padding-left: 18px;
}
.invite-card__trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bloom-warm);
  opacity: 0.95;
}
.invite-card__next {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.invite-card__next[hidden] {
  display: none !important;
}
body[data-invite-disposition="deferred"] [data-action="defer"] {
  display: none !important;
}

.next-ritual {
  width: 100%;
  display: grid;
  gap: 14px;
  margin-top: 4px;
}
.next-ritual__label {
  margin: 0;
  color: var(--fg);
  font-size: 14px;
  line-height: 1.4;
  text-wrap: balance;
}
.next-ritual__hint {
  margin: -6px auto 0;
  max-width: 34ch;
  color: var(--fg-soft);
  font-size: 11px;
  line-height: 1.45;
  text-wrap: pretty;
}
.next-ritual__choices {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
.next-ritual__choices button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: rgba(255,255,255,0.03);
  color: var(--fg-soft);
  padding: 9px 10px;
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.next-ritual__choices button:hover,
.next-ritual__choices button.is-selected {
  color: var(--bg-0);
  border-color: var(--bloom-warm);
  background: var(--bloom-warm);
}
.signup-reminder {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: rgba(255,255,255,0.03);
}
.signup-reminder[hidden] {
  display: none;
}
.signup-reminder__label,
.signup-reminder__fine {
  color: var(--fg-soft);
  font-size: 10px;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
}
.signup-reminder__row {
  display: flex;
  gap: 8px;
}
.signup-reminder__schedule {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.signup-reminder__schedule label {
  display: grid;
  gap: 5px;
  text-align: left;
}
.signup-reminder__schedule span {
  color: var(--fg-mute);
  font-size: 9px;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}
.signup-reminder__row input,
.signup-reminder__schedule input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: rgba(0,0,0,0.18);
  color: var(--fg);
  padding: 10px 12px;
  outline: none;
  color-scheme: dark;
}
.signup-reminder__row input:focus,
.signup-reminder__schedule input:focus {
  border-color: var(--bloom-warm);
}
.signup-reminder__fine {
  margin: 0;
  color: var(--fg-mute);
}
.next-ritual__saved {
  margin: 0;
  padding: 11px 12px;
  border: 1px solid oklch(0.82 0.12 65 / 0.34);
  border-radius: var(--r-input);
  background: oklch(0.82 0.12 65 / 0.09);
  color: var(--bloom-warm);
  font-size: 10px;
  letter-spacing: 0.2em;
  line-height: 1.35;
  text-transform: uppercase;
}
.next-ritual__saved[hidden] {
  display: none;
}

.celestial-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.celestial-modal[hidden] {
  display: none;
}
body.is-celebrating .celestial-modal {
  display: flex;
}
.celestial-modal__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 36%, oklch(0.82 0.12 var(--unlock-h, 65) / 0.14), transparent 32%),
    rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.celestial-modal__card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(100%, 430px);
  padding: clamp(28px, 7vw, 46px) clamp(24px, 7vw, 42px) 28px;
  border: 1px solid oklch(0.82 0.12 65 / 0.28);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 18%, oklch(0.82 0.12 var(--unlock-h, 65) / 0.18), transparent 40%),
    linear-gradient(180deg, oklch(0.97 0.012 92), oklch(0.91 0.012 92));
  color: oklch(0.16 0.018 150);
  text-align: center;
  box-shadow: 0 28px 90px rgba(0,0,0,0.48);
  animation: sheet-up 0.34s var(--ease);
}
.celestial-modal__body {
  width: 138px;
  height: 138px;
  display: grid;
  place-items: center;
  margin-bottom: 2px;
}
.celestial-modal__body svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.celestial-modal__orbit {
  fill: none;
  stroke: oklch(0.42 0.06 70 / 0.32);
  stroke-width: 1.2;
}
.celestial-modal__orbit--shared,
.celestial-modal__companion {
  display: none;
}
body.is-shared-unlock .celestial-modal__card {
  background:
    radial-gradient(circle at 34% 22%, oklch(0.72 0.08 150 / 0.20), transparent 42%),
    radial-gradient(circle at 64% 24%, oklch(0.82 0.12 65 / 0.18), transparent 40%),
    linear-gradient(180deg, oklch(0.96 0.014 92), oklch(0.89 0.015 105));
}
body.is-shared-unlock .celestial-modal__orbit--shared {
  display: block;
  stroke: oklch(0.62 0.07 150 / 0.48);
  stroke-dasharray: 6 6;
}
body.is-shared-unlock .celestial-modal__companion {
  display: block;
  fill: oklch(0.62 0.08 150);
  filter: drop-shadow(0 0 12px oklch(0.62 0.08 150 / 0.36));
}
body.is-shared-unlock .celestial-modal__planet {
  filter:
    drop-shadow(0 12px 18px oklch(0.2 0.04 40 / 0.24))
    drop-shadow(0 0 20px oklch(0.62 0.08 150 / 0.28));
}
.celestial-modal__planet {
  filter:
    hue-rotate(calc((var(--unlock-h, 64) - 64) * 1deg))
    drop-shadow(0 12px 18px oklch(0.2 0.04 40 / 0.24));
}
.celestial-modal__moon {
  fill: oklch(0.72 0.08 78);
}
.celestial-modal__spark {
  fill: oklch(0.82 0.12 65);
  opacity: 0.92;
}
.celestial-modal__eyebrow {
  margin: 0;
  color: oklch(0.48 0.05 90);
  font-size: 10px;
  letter-spacing: 0.22em;
  line-height: 1.35;
  text-transform: uppercase;
}
.celestial-modal h2 {
  margin: 0;
  color: oklch(0.14 0.018 150);
  font-size: clamp(25px, 7vw, 36px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.1;
  text-wrap: balance;
}
.celestial-modal p[data-celestial-copy] {
  margin: 0 0 12px;
  max-width: 30ch;
  color: oklch(0.32 0.03 140);
  font-size: 15px;
  line-height: 1.45;
  text-wrap: balance;
}
.celestial-modal__ok {
  width: 100%;
  min-height: 54px;
  border-radius: 16px;
  background: oklch(0.39 0.08 176);
  color: white;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.celestial-modal__ok:hover {
  background: oklch(0.34 0.075 176);
}

.dedication-modal {
  position: fixed;
  inset: 0;
  z-index: 72;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.dedication-modal[hidden] { display: none; }
body.is-dedicating .dedication-modal { display: flex; }
.dedication-modal__card {
  position: relative;
  display: grid;
  gap: 14px;
  width: min(100%, 440px);
  padding: clamp(26px, 6vw, 40px);
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 0%, oklch(0.82 0.12 65 / 0.13), transparent 42%),
    rgba(8, 14, 12, 0.94);
  color: var(--fg);
  text-align: center;
  box-shadow: 0 28px 90px rgba(0,0,0,0.5);
}
.dedication-modal__card h2 {
  margin: 0;
  font-size: clamp(25px, 7vw, 34px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.12;
  text-wrap: balance;
}
.dedication-modal__card p {
  margin: 0;
  color: var(--fg-soft);
  font-size: 13px;
  line-height: 1.5;
  text-wrap: balance;
}
.dedication-modal__input {
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: rgba(255,255,255,0.035);
  color: var(--fg);
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  outline: none;
}
.dedication-modal__input:focus {
  border-color: var(--bloom-warm);
}
.dedication-modal__card .btn:disabled {
  opacity: 0.42;
  filter: saturate(0.4);
}
.dedication-modal__link {
  justify-self: center;
  color: var(--fg-mute);
  font-size: 12px;
  letter-spacing: 0.1em;
}
.dedication-modal__confirm {
  padding: 10px 12px;
  border: 1px solid oklch(0.82 0.12 65 / 0.25);
  border-radius: var(--r-input);
  background: oklch(0.82 0.12 65 / 0.08);
  color: var(--bloom-warm) !important;
}

.onboarding {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  min-height: 100vh;
  min-height: 100dvh;
  padding: max(22px, env(safe-area-inset-top)) clamp(18px, 5vw, 54px) max(24px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 50% 48%, oklch(0.82 0.12 65 / 0.16), transparent 30%),
    linear-gradient(180deg, oklch(0.09 0.014 160), oklch(0.14 0.02 154));
  color: var(--fg);
}
.onboarding[hidden] { display: none; }
body.is-onboarding {
  overflow: hidden;
}
body.is-onboarding .topbar,
body.is-onboarding .stage,
body.is-onboarding .drawer,
body.is-onboarding .feedback-float,
body.is-onboarding .universe-page {
  display: none !important;
}
.onboarding__chrome {
  display: grid;
  grid-template-columns: 44px 1fr 52px;
  align-items: center;
  gap: 14px;
}
.onboarding__back,
.onboarding__skip {
  color: var(--fg-soft);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.onboarding__back {
  font-size: 42px;
  line-height: 1;
  text-align: left;
}
.onboarding__back[hidden] { visibility: hidden; display: block; }
.onboarding__progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.onboarding__progress i {
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
}
.onboarding__progress i.is-active {
  background: oklch(0.82 0.12 65);
  box-shadow: 0 0 18px oklch(0.82 0.12 65 / 0.26);
}
.onboarding__slides {
  display: grid;
  place-items: center;
  min-height: 0;
}
.onboarding__slide {
  display: none;
  justify-items: center;
  gap: clamp(20px, 5vh, 48px);
  width: min(100%, 850px);
  text-align: center;
}
.onboarding__slide.is-active {
  display: grid;
  animation: fadein 0.28s var(--ease);
}
.onboarding__slide h1 {
  margin: 0;
  max-width: 11ch;
  color: var(--fg);
  font-size: clamp(34px, 8vw, 72px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.12;
  text-wrap: balance;
}
.onboarding__slide p {
  margin: 0;
  max-width: 34ch;
  color: var(--fg-soft);
  font-size: clamp(14px, 3vw, 18px);
  line-height: 1.5;
  text-wrap: balance;
}
.onboarding__textlink {
  margin-top: -12px;
  color: var(--bloom-warm);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}
.onboarding__visual {
  position: relative;
  width: min(44vh, 320px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.onboarding__visual::after {
  content: "";
  position: absolute;
  bottom: 6%;
  width: 78%;
  height: 18%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, oklch(0.45 0.08 60), oklch(0.22 0.04 45));
  filter: blur(0.2px);
}
.onboarding__visual--drag {
  touch-action: none;
  isolation: isolate;
}
.onboarding__visual--drag::after {
  opacity: 0.34;
}
.onboarding-eclipse__sun,
.onboarding-eclipse__moon {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 46%;
  height: 46%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.onboarding-eclipse__sun {
  background:
    radial-gradient(circle at 38% 34%, oklch(0.98 0.12 84), oklch(0.78 0.15 64) 52%, oklch(0.48 0.11 38) 78%, transparent 100%);
  box-shadow: 0 0 78px oklch(0.82 0.12 65 / 0.38);
}
.onboarding-drag-cue {
  position: absolute;
  left: 50%;
  top: 45%;
  z-index: 3;
  width: 46%;
  height: 46%;
  border: 2px solid oklch(0.9 0.13 72 / 0.72);
  border-radius: 50%;
  background: radial-gradient(circle, transparent 62%, oklch(0.9 0.13 72 / 0.12) 64%, transparent 74%);
  opacity: 0.82;
  transform: translate(calc(-50% - 78px), -50%) scale(0.9);
  pointer-events: none;
  animation: drag-cue 1.8s var(--ease) infinite;
  box-shadow: 0 0 18px oklch(0.82 0.12 65 / 0.46);
}
.onboarding-drag-cue::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed oklch(0.9 0.13 72 / 0.42);
}
.onboarding-drag-cue::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 50%, transparent 56%, oklch(0.9 0.13 72 / 0.16) 58%, transparent 70%);
  opacity: 0.72;
}
.onboarding__visual--drag.is-complete .onboarding-drag-cue {
  opacity: 0;
  animation: none;
}
@keyframes drag-cue {
  0%, 100% { transform: translate(calc(-50% - 78px), -50%) scale(0.86); opacity: 0.28; }
  48% { transform: translate(-50%, -50%) scale(1); opacity: 0.88; }
}
.onboarding-eclipse__moon {
  --drag-x: -78px;
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at 36% 30%, oklch(0.14 0.02 170), oklch(0.035 0.008 155) 72%);
  cursor: grab;
  transform: translate(calc(-50% + var(--drag-x)), -50%);
  box-shadow: 0 18px 48px rgba(0,0,0,0.42);
  transition: box-shadow 0.24s var(--ease), transform 0.12s linear;
}
.onboarding-eclipse__moon:active {
  cursor: grabbing;
}
.onboarding-eclipse__moon.is-aligned {
  box-shadow:
    0 0 0 1px oklch(0.82 0.12 65 / 0.28),
    0 0 64px oklch(0.82 0.12 65 / 0.34);
}
.onboarding__visual--drag.is-complete .onboarding-eclipse__sun {
  box-shadow:
    0 0 0 1px oklch(0.82 0.12 65 / 0.22),
    0 0 86px oklch(0.82 0.12 65 / 0.46);
}
.onboarding__visual--awakening {
  width: min(44vh, 320px);
  overflow: visible;
}
.onboarding__visual--awakening::after {
  animation: awakening-shadow 7s var(--ease) infinite;
}
.onboarding-world {
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(96,96,92,0.28), transparent 46%),
    radial-gradient(circle at 50% 50%, oklch(0.82 0.12 65 / 0), transparent 62%);
  filter: saturate(0.05);
  animation: world-awaken 7s var(--ease) infinite;
}
.awakening-phone {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 34%;
  height: 56%;
  padding: 7px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  background: linear-gradient(180deg, #242624, #0e1110);
  box-shadow: 0 22px 46px rgba(0,0,0,0.46);
  transform: translate(-50%, -50%);
  animation: phone-recede 7s var(--ease) infinite;
}
.awakening-feed {
  position: absolute;
  inset: 9px;
  display: grid;
  gap: 7px;
  align-content: start;
  padding: 12px 9px;
  border-radius: 14px;
  background: linear-gradient(180deg, #343735, #161918);
  overflow: hidden;
}
.awakening-feed i {
  display: block;
  height: 22px;
  border-radius: 8px;
  background: linear-gradient(90deg, #555, #3b3d3c);
  opacity: 0.72;
  animation: feed-scroll 1.15s linear infinite;
}
.awakening-feed i:nth-child(2) { animation-delay: -0.3s; }
.awakening-feed i:nth-child(3) { animation-delay: -0.6s; }
.awakening-feed i:nth-child(4) { animation-delay: -0.9s; }
.awakening-notice {
  position: absolute;
  left: 50%;
  top: 22%;
  width: 108%;
  padding: 9px 10px;
  border: 1px solid oklch(0.82 0.12 65 / 0.46);
  border-radius: 14px;
  background: rgba(245,236,218,0.92);
  color: oklch(0.13 0.02 150);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translate(-50%, -42%) scale(0.84);
  opacity: 0;
  animation: notice-arrive 7s var(--ease) infinite;
}
.awakening-star,
.awakening-planet,
.awakening-shooting,
.awakening-constellation {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.awakening-star {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: oklch(0.96 0.06 92);
  box-shadow: 0 0 18px currentColor;
  animation: stars-render 7s var(--ease) infinite, star-twinkle 1.8s ease-in-out infinite;
}
.awakening-star--one { left: 18%; top: 21%; animation-delay: 0s, 0.1s; }
.awakening-star--two { right: 20%; top: 29%; width: 5px; height: 5px; animation-delay: 0.1s, 0.5s; }
.awakening-star--three { left: 27%; bottom: 20%; width: 6px; height: 6px; animation-delay: 0.2s, 0.9s; }
.awakening-planet {
  border-radius: 50%;
  animation: planets-render 7s var(--ease) infinite;
}
.awakening-planet--amber {
  right: 14%;
  bottom: 20%;
  width: 25%;
  height: 25%;
  background: radial-gradient(circle at 35% 28%, oklch(0.98 0.12 84), oklch(0.66 0.15 52), oklch(0.22 0.05 40));
  box-shadow: 0 0 46px oklch(0.82 0.12 65 / 0.45);
}
.awakening-planet--green {
  left: 11%;
  top: 42%;
  width: 15%;
  height: 15%;
  background: radial-gradient(circle at 35% 30%, oklch(0.86 0.12 142), oklch(0.4 0.09 156));
  box-shadow: 0 0 32px oklch(0.68 0.1 145 / 0.4);
}
.awakening-planet--blue {
  right: 23%;
  top: 12%;
  width: 12%;
  height: 12%;
  background: radial-gradient(circle at 38% 34%, oklch(0.84 0.09 218), oklch(0.32 0.08 230));
  box-shadow: 0 0 28px oklch(0.68 0.08 220 / 0.36);
}
.awakening-constellation {
  left: 23%;
  top: 22%;
  width: 42%;
  height: 28%;
  background:
    radial-gradient(circle at 0 55%, oklch(0.92 0.04 92) 0 2px, transparent 3px),
    radial-gradient(circle at 34% 18%, oklch(0.92 0.04 92) 0 2px, transparent 3px),
    radial-gradient(circle at 76% 44%, oklch(0.92 0.04 92) 0 2px, transparent 3px),
    linear-gradient(24deg, transparent 0 33%, oklch(0.92 0.04 92 / 0.36) 34% 35%, transparent 36%),
    linear-gradient(160deg, transparent 0 47%, oklch(0.92 0.04 92 / 0.32) 48% 49%, transparent 50%);
  animation: stars-render 7s var(--ease) infinite;
}
.awakening-shooting {
  width: 34%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, oklch(0.95 0.08 92), transparent);
  box-shadow: 0 0 16px oklch(0.82 0.12 65 / 0.52);
}
.awakening-shooting--one {
  left: 52%;
  top: 28%;
  transform: rotate(-22deg);
  animation: shooting-one 7s ease-in-out infinite;
}
.awakening-shooting--two {
  left: 18%;
  top: 68%;
  transform: rotate(-18deg);
  animation: shooting-two 7s ease-in-out infinite;
}
@keyframes feed-scroll {
  from { transform: translateY(-8px); }
  to { transform: translateY(20px); }
}
@keyframes notice-arrive {
  0%, 16% { opacity: 0; transform: translate(-50%, -42%) scale(0.84); }
  24%, 38% { opacity: 1; transform: translate(-50%, -52%) scale(1); }
  46%, 100% { opacity: 0; transform: translate(-50%, -62%) scale(0.96); }
}
@keyframes phone-recede {
  0%, 38% { opacity: 1; transform: translate(-50%, -50%) scale(1); filter: grayscale(1); }
  56%, 100% { opacity: 0.18; transform: translate(-50%, -48%) scale(0.62); filter: grayscale(0.5); }
}
@keyframes world-awaken {
  0%, 38% {
    filter: saturate(0.05);
    background:
      radial-gradient(circle at 50% 50%, rgba(96,96,92,0.28), transparent 46%),
      radial-gradient(circle at 50% 50%, oklch(0.82 0.12 65 / 0), transparent 62%);
  }
  60%, 100% {
    filter: saturate(1);
    background:
      radial-gradient(circle at 50% 50%, oklch(0.82 0.12 65 / 0.18), transparent 35%),
      radial-gradient(circle at 26% 28%, oklch(0.68 0.1 145 / 0.14), transparent 24%),
      radial-gradient(circle at 72% 34%, oklch(0.64 0.08 220 / 0.16), transparent 22%);
  }
}
@keyframes stars-render {
  0%, 44% { opacity: 0; transform: scale(0.7); }
  62%, 100% { opacity: 1; transform: scale(1); }
}
@keyframes planets-render {
  0%, 46% { opacity: 0; transform: translateY(12px) scale(0.72); }
  66%, 100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes star-twinkle {
  0%, 100% { filter: brightness(0.8); }
  50% { filter: brightness(1.55); }
}
@keyframes shooting-one {
  0%, 58% { opacity: 0; transform: translate(-36px, 26px) rotate(-22deg); }
  66% { opacity: 1; }
  78%, 100% { opacity: 0; transform: translate(18px, -8px) rotate(-22deg); }
}
@keyframes shooting-two {
  0%, 68% { opacity: 0; transform: translate(-18px, 18px) rotate(-18deg); }
  76% { opacity: 0.9; }
  88%, 100% { opacity: 0; transform: translate(42px, -12px) rotate(-18deg); }
}
@keyframes awakening-shadow {
  0%, 42% { opacity: 0.18; transform: translateX(-50%) scaleX(0.72); }
  64%, 100% { opacity: 0.42; transform: translateX(-50%) scaleX(1.08); }
}
.orb,
.mini-eclipse,
.mini-ring,
.broken-orbit,
.onboarding__visual--universe span {
  position: absolute;
  border-radius: 50%;
}
.orb--warm {
  width: 48%;
  height: 48%;
  background: radial-gradient(circle at 38% 34%, oklch(0.97 0.12 82), oklch(0.74 0.13 54), transparent 72%);
  box-shadow: 0 0 70px oklch(0.82 0.12 65 / 0.32);
}
.orb--shade {
  width: 48%;
  height: 48%;
  transform: translateX(-45%);
  background: oklch(0.04 0.006 150);
}
.mini-eclipse {
  width: 54%;
  height: 54%;
  background: radial-gradient(circle at 50% 50%, oklch(0.9 0.1 80), oklch(0.58 0.1 50), transparent 68%);
}
.mini-ring {
  width: 70%;
  height: 70%;
  border: 1px solid oklch(0.82 0.12 65 / 0.5);
}
.broken-orbit {
  width: 60%;
  height: 60%;
  border: 1px solid oklch(0.82 0.08 70 / 0.42);
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(-24deg);
}
.onboarding__visual--universe span:nth-child(1) {
  width: 48%;
  height: 48%;
  background: radial-gradient(circle at 35% 30%, oklch(0.96 0.1 76), oklch(0.52 0.11 44));
}
.onboarding__visual--universe span:nth-child(2) {
  width: 20%;
  height: 20%;
  transform: translate(90%, -86%);
  background: oklch(0.76 0.08 85);
}
.onboarding__visual--universe span:nth-child(3) {
  width: 12%;
  height: 12%;
  transform: translate(-132%, -35%);
  background: oklch(0.86 0.08 110);
  box-shadow: 0 0 36px currentColor;
}
.onboarding__next {
  justify-self: center;
  width: min(100%, 520px);
  min-height: 62px;
  border-radius: 22px;
  background: oklch(0.39 0.08 176);
  color: white;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.onboarding__next:disabled {
  opacity: 0.46;
  filter: saturate(0.4);
  cursor: default;
}

/* Storybook onboarding: cream-paper first impression, scoped to the modal. */
.onboarding {
  overflow: hidden;
  gap: clamp(12px, 2.5vh, 24px);
  background:
    radial-gradient(circle at 18% 18%, oklch(0.93 0.08 82 / 0.56), transparent 24%),
    radial-gradient(circle at 82% 24%, oklch(0.75 0.12 155 / 0.2), transparent 24%),
    radial-gradient(circle at 52% 82%, oklch(0.73 0.09 218 / 0.12), transparent 32%),
    var(--paper, #f3dfb8);
  color: var(--ink, #2a2118);
}
.onboarding::before,
.onboarding::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.onboarding::before {
  opacity: 0.4;
  background:
    linear-gradient(105deg, transparent 0 46%, oklch(0.35 0.04 70 / 0.07) 47% 48%, transparent 49%),
    radial-gradient(circle at 20% 80%, oklch(0.32 0.04 55 / 0.08), transparent 18%),
    repeating-linear-gradient(96deg, oklch(1 0 0 / 0.08) 0 1px, transparent 1px 8px);
  mix-blend-mode: multiply;
}
.onboarding::after {
  inset: 14px;
  border: 1px solid oklch(0.35 0.04 70 / 0.16);
  border-radius: 30px;
}
.onboarding__chrome,
.onboarding__slides,
.onboarding__next {
  position: relative;
  z-index: 1;
}
.onboarding__chrome {
  grid-template-columns: 48px minmax(0, 1fr) 64px;
}
.onboarding__back,
.onboarding__skip {
  color: oklch(0.31 0.04 62 / 0.76);
}
.onboarding__progress {
  grid-template-columns: repeat(3, 1fr);
  max-width: 520px;
  justify-self: center;
  width: 100%;
}
.onboarding__progress i {
  height: 8px;
  background: oklch(0.4 0.04 70 / 0.18);
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.26);
}
.onboarding__progress i.is-active {
  background: linear-gradient(90deg, oklch(0.74 0.13 61), oklch(0.84 0.11 82));
  box-shadow: 0 4px 14px oklch(0.52 0.08 52 / 0.16);
}
.onboarding__slide {
  gap: clamp(12px, 3vh, 28px);
  width: min(100%, 760px);
  min-height: 0;
  padding-inline: clamp(4px, 2vw, 16px);
}
.onboarding__eyebrow {
  order: -1;
  color: oklch(0.44 0.07 74 / 0.78) !important;
  font-family: Montserrat, sans-serif;
  font-size: clamp(11px, 1.8vw, 13px) !important;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.3 !important;
  text-transform: uppercase;
}
.onboarding__slide h1 {
  max-width: 12ch;
  color: oklch(0.19 0.035 62);
  font-family: Fraunces, serif;
  font-size: clamp(44px, 8vw, 86px);
  font-weight: 400;
  line-height: 0.95;
  text-shadow: 0 1px 0 oklch(1 0 0 / 0.34);
}
.onboarding__slide p:not(.onboarding__eyebrow) {
  color: oklch(0.31 0.035 60 / 0.82);
  font-size: clamp(16px, 2.4vw, 21px);
  line-height: 1.42;
}
.onboarding__visual {
  width: min(37vh, 330px);
  max-width: 74vw;
  filter: drop-shadow(0 22px 28px oklch(0.24 0.04 50 / 0.16));
}
.onboarding__visual::after {
  background: radial-gradient(ellipse at center, oklch(0.36 0.07 62 / 0.22), transparent 70%);
  filter: blur(4px);
}
.onboarding__visual--choose,
.onboarding__visual--universe {
  isolation: isolate;
}
.story-orbit,
.story-person,
.story-thread,
.story-sunlet,
.story-star,
.story-screen,
.story-body,
.story-constellation {
  position: absolute;
  pointer-events: none;
}
.story-orbit {
  inset: 16%;
  border: 1.5px solid oklch(0.33 0.04 67 / 0.34);
  border-radius: 48% 52% 50% 46%;
  transform: rotate(-12deg);
}
.story-orbit--wide {
  inset: 9% 6% 20%;
  border-style: dashed;
}
.story-person {
  bottom: 27%;
  width: 11%;
  height: 30%;
}
.story-person::before,
.story-person::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.story-person::before {
  top: 0;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: oklch(0.18 0.035 65);
}
.story-person::after {
  bottom: 0;
  width: 70%;
  height: 70%;
  border-radius: 999px 999px 12px 12px;
  background: oklch(0.22 0.04 62);
}
.story-person--you { left: 33%; }
.story-person--them { right: 33%; transform: scale(0.92); opacity: 0.86; }
.story-thread {
  left: 39%;
  top: 51%;
  width: 22%;
  height: 1px;
  background: oklch(0.64 0.1 62 / 0.68);
  transform: rotate(-4deg);
}
.story-thread::before,
.story-thread::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: oklch(0.78 0.13 68);
}
.story-thread::before { left: -2px; }
.story-thread::after { right: -2px; }
.story-sunlet {
  left: 50%;
  top: 22%;
  width: 30%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 38% 30%, oklch(0.95 0.1 84), oklch(0.74 0.14 62) 58%, oklch(0.52 0.08 46));
  box-shadow: 0 0 38px oklch(0.72 0.12 66 / 0.34);
}
.story-star {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: oklch(0.38 0.08 125);
  box-shadow: 0 0 0 6px oklch(0.38 0.08 125 / 0.09);
}
.story-star--one { left: 22%; top: 26%; }
.story-star--two { right: 22%; bottom: 31%; width: 6px; height: 6px; background: oklch(0.46 0.08 220); }
.onboarding-eclipse__sun,
.onboarding-eclipse__moon {
  top: 42%;
  width: 45%;
  height: 45%;
}
.onboarding-eclipse__sun {
  background:
    radial-gradient(circle at 38% 34%, oklch(0.97 0.12 84), oklch(0.76 0.14 62) 54%, oklch(0.54 0.1 44) 78%, transparent 100%);
  box-shadow: 0 0 66px oklch(0.72 0.12 64 / 0.34);
}
.onboarding-eclipse__moon {
  --drag-x: -58px;
  border: 1px solid oklch(0.24 0.04 58 / 0.18);
  background:
    radial-gradient(circle at 36% 31%, oklch(0.78 0.08 53), oklch(0.53 0.08 46) 54%, oklch(0.28 0.05 48) 100%);
  box-shadow: 0 18px 38px oklch(0.22 0.04 50 / 0.26);
}
.onboarding-eclipse__moon::before,
.onboarding-eclipse__moon::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: oklch(0.26 0.04 46 / 0.28);
}
.onboarding-eclipse__moon::before {
  left: 26%;
  top: 28%;
  width: 12%;
  height: 12%;
}
.onboarding-eclipse__moon::after {
  right: 24%;
  bottom: 24%;
  width: 16%;
  height: 16%;
}
.onboarding-drag-cue {
  top: 42%;
  width: 45%;
  height: 45%;
  border-color: oklch(0.42 0.08 70 / 0.4);
  background: none;
  box-shadow: none;
  animation: story-align-cue 2.4s var(--ease) infinite;
}
.onboarding-drag-cue::before {
  border-color: oklch(0.42 0.08 70 / 0.28);
}
.onboarding-drag-cue::after {
  inset: auto;
  left: 92%;
  top: 50%;
  width: 48%;
  height: 1px;
  border-radius: 0;
  background: linear-gradient(90deg, oklch(0.44 0.08 70 / 0.45), transparent);
  transform: translateY(-50%);
}
@keyframes story-align-cue {
  0%, 100% { transform: translate(calc(-50% - 58px), -50%) scale(0.92); opacity: 0.4; }
  50% { transform: translate(-50%, -50%) scale(1); opacity: 0.78; }
}
.story-screen {
  bottom: 20%;
  width: 23%;
  height: 10%;
  border: 1px solid oklch(0.28 0.04 65 / 0.18);
  border-radius: 12px;
  background: oklch(0.95 0.035 86 / 0.6);
  transform: rotate(-9deg);
}
.story-screen--one { left: 17%; }
.story-screen--two { right: 17%; transform: rotate(8deg); }
.story-body--sun {
  left: 23%;
  top: 29%;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, oklch(0.96 0.11 80), oklch(0.67 0.13 55), oklch(0.38 0.06 43));
}
.story-body--moon {
  right: 20%;
  top: 24%;
  width: 25%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, oklch(0.78 0.08 52), oklch(0.42 0.06 46));
}
.story-body--tiny {
  left: 50%;
  bottom: 25%;
  width: 12%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: oklch(0.52 0.1 148);
  box-shadow: 0 0 0 8px oklch(0.52 0.1 148 / 0.1);
}
.story-constellation {
  left: 24%;
  top: 18%;
  width: 48%;
  height: 44%;
  background:
    radial-gradient(circle at 8% 68%, oklch(0.24 0.05 62) 0 2px, transparent 3px),
    radial-gradient(circle at 46% 20%, oklch(0.24 0.05 62) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 58%, oklch(0.24 0.05 62) 0 2px, transparent 3px),
    linear-gradient(35deg, transparent 0 44%, oklch(0.24 0.05 62 / 0.26) 45% 46%, transparent 47%),
    linear-gradient(145deg, transparent 0 48%, oklch(0.24 0.05 62 / 0.24) 49% 50%, transparent 51%);
}
.onboarding__next {
  min-height: 58px;
  border: 1px solid oklch(0.3 0.05 60 / 0.18);
  border-radius: 999px;
  background: oklch(0.81 0.13 67);
  color: oklch(0.17 0.035 62);
  box-shadow: 0 12px 28px oklch(0.36 0.06 48 / 0.18);
}
@media (max-width: 560px) {
  .onboarding {
    padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
    gap: 10px;
  }
  .onboarding::after {
    inset: 8px;
    border-radius: 22px;
  }
  .onboarding__chrome {
    grid-template-columns: 34px 1fr 48px;
    gap: 10px;
  }
  .onboarding__progress {
    gap: 8px;
  }
  .onboarding__slide {
    gap: 14px;
  }
  .onboarding__slide h1 {
    max-width: 10ch;
    font-size: clamp(42px, 15vw, 60px);
  }
  .onboarding__slide p:not(.onboarding__eyebrow) {
    max-width: 28ch;
    font-size: 16px;
  }
  .onboarding__visual {
    width: min(32vh, 255px);
  }
  .onboarding__next {
    min-height: 54px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .onboarding-drag-cue,
  .onboarding__slide.is-active,
  .onboarding__visual--awakening::after,
  .onboarding-world,
  .awakening-phone,
  .awakening-feed i,
  .awakening-notice,
  .awakening-star,
  .awakening-planet,
  .awakening-shooting,
  .awakening-constellation {
    animation: none !important;
  }
}

.universe-page {
  position: fixed;
  inset: 0;
  z-index: 65;
  overflow: hidden;
  color: var(--fg);
  background:
    radial-gradient(circle at 45% 45%, oklch(0.82 0.12 65 / 0.12), transparent 28%),
    radial-gradient(circle at 70% 20%, oklch(0.42 0.08 176 / 0.18), transparent 28%),
    #020504;
}
.universe-page[hidden] { display: none; }
.universe-page__stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.55) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255,190,112,0.28) 0 1px, transparent 1.5px);
  background-size: 120px 120px, 190px 190px;
  background-position: 0 0, 44px 70px;
}
.universe-page__header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: start;
  gap: 18px;
  padding: clamp(22px, 4vw, 56px);
}
.universe-page__close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--fg-soft);
  font-size: 28px;
  justify-self: end;
}
.universe-page__eyebrow {
  margin: 0 0 8px;
  color: var(--bloom-warm);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.universe-page h2 {
  margin: 0;
  font-size: clamp(26px, 6vw, 56px);
  font-weight: 300;
  letter-spacing: 0.02em;
}
.universe-body {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 1;
  width: var(--s);
  height: var(--s);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 0;
}
.universe-body span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, oklch(0.96 0.1 var(--h)), oklch(0.52 0.12 var(--h)) 58%, oklch(0.18 0.04 var(--h)));
  box-shadow: 0 0 calc(var(--s) * 0.75) oklch(0.82 0.12 var(--h) / 0.28);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.universe-body--moon span {
  background:
    radial-gradient(circle at 62% 62%, oklch(0.22 0.035 var(--h) / 0.46) 0 10%, transparent 11%),
    radial-gradient(circle at 38% 32%, oklch(0.94 0.08 var(--h)), oklch(0.46 0.08 var(--h)) 62%, oklch(0.13 0.03 var(--h)));
}
.universe-body--ringed::after {
  content: "";
  position: absolute;
  inset: 34% -18%;
  border: 1px solid oklch(0.8 0.08 var(--h) / 0.56);
  border-radius: 50%;
  transform: rotate(-17deg);
  pointer-events: none;
}
.universe-body--dusk span {
  background:
    linear-gradient(105deg, rgba(0,0,0,0.42) 0 44%, transparent 45%),
    radial-gradient(circle at 34% 28%, oklch(0.96 0.1 var(--h)), oklch(0.52 0.12 var(--h)) 58%, oklch(0.18 0.04 var(--h)));
}
.universe-body--bright span {
  box-shadow:
    0 0 calc(var(--s) * 0.75) oklch(0.82 0.12 var(--h) / 0.42),
    inset 0 0 calc(var(--s) * 0.22) oklch(0.98 0.08 var(--h) / 0.32);
}
.universe-body--shared::before {
  content: "";
  position: absolute;
  inset: -12%;
  border: 1px solid oklch(0.62 0.08 150 / 0.5);
  border-radius: 50%;
  transform: rotate(-18deg) scaleX(1.18);
  pointer-events: none;
}
.universe-body--shared i {
  position: absolute;
  right: -4px;
  bottom: 8%;
  width: calc(var(--s) * 0.22);
  height: calc(var(--s) * 0.22);
  border-radius: 50%;
  background: oklch(0.62 0.08 150);
  box-shadow: 0 0 calc(var(--s) * 0.36) oklch(0.62 0.08 150 / 0.42);
  pointer-events: none;
}
.universe-body--star span {
  clip-path: polygon(50% 0, 61% 36%, 98% 36%, 68% 57%, 79% 92%, 50% 70%, 21% 92%, 32% 57%, 2% 36%, 39% 36%);
}
.universe-body.is-active span,
.universe-body:hover span {
  transform: scale(1.14);
  box-shadow: 0 0 calc(var(--s) * 1.15) oklch(0.82 0.12 var(--h) / 0.48);
}
.universe-inspector {
  position: absolute;
  z-index: 3;
  right: clamp(16px, 4vw, 42px);
  bottom: clamp(16px, 4vw, 42px);
  width: min(390px, calc(100vw - 32px));
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-panel);
  background: rgba(7, 12, 10, 0.76);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.universe-inspector__eyebrow {
  margin: 0 0 8px;
  color: var(--bloom-warm);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.universe-inspector h3 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 400;
}
.universe-inspector p {
  margin: 0 0 14px;
  color: var(--fg-soft);
  font-size: 13px;
  line-height: 1.5;
}
.universe-inspector dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
}
.universe-inspector div {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
}
.universe-inspector dt {
  color: var(--fg-mute);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.universe-inspector dd {
  margin: 0;
  color: var(--fg);
  font-size: 13px;
}

.btn {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: var(--r-chip);
  border: 1px solid transparent;
  box-shadow: 1px 2px 0 rgba(0,0,0,0.20);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.98); box-shadow: 0 1px 0 rgba(0,0,0,0.20); }
.btn--solid {
  background: var(--bloom-warm);
  color: var(--bg-0);
  border-color: rgba(21,16,10,0.18);
}
.btn--solid:hover { background: oklch(0.88 0.13 70); }
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--fg-soft);
}
.btn--ghost:hover { color: var(--fg); border-color: rgba(244,224,188,0.35); }

/* When the invite card is visible, the bloom controls dim back. */
body[data-state="complete"] .console {
  /* Keep visible but de-emphasize the play button. */
}
body[data-role="invitee"][data-state="received"] .console {
  display: none;
}

/* Hide certain things in invitee/received: setup is hidden (above). */
body[data-role="invitee"][data-state="received"] [data-action="copy"],
body[data-state="complete"] [data-action="copy"] {
  visibility: hidden;
}

body[data-state="waiting"] [data-action="copy"] {
  visibility: hidden;
}

body[data-state="waiting"] .controls {
  display: none;
}

.waiting-room {
  display: none;
  width: min(100%, 620px);
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid var(--paper-edge);
  border-radius: var(--r-panel);
  text-align: center;
  gap: 16px;
  flex-direction: column;
  align-items: center;
  background:
    linear-gradient(155deg, rgba(255,255,255,0.18), rgba(255,255,255,0.03)),
    var(--paper);
  color: var(--ink);
}

body[data-state="waiting"] .waiting-room {
  display: flex;
}

.waiting-room__eyebrow,
.waiting-room__sub {
  margin: 0;
  color: var(--fg-mute);
}

.waiting-room__eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.waiting-room__title {
  margin: 0;
  font-size: clamp(24px, 5vw, 42px);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.waiting-room__sub {
  max-width: 38rem;
  color: var(--ink-soft, rgba(28, 26, 22, 0.72));
  font-size: 15px;
  line-height: 1.5;
}

.waiting-room__states {
  display: grid;
  justify-items: center;
  gap: 5px;
  margin-top: 2px;
}

.waiting-room__states[hidden] {
  display: none !important;
}

.waiting-pill {
  border: 0;
  border-radius: 0;
  padding: 0;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink-muted);
  background: transparent;
  box-shadow: none;
  cursor: default;
  pointer-events: none;
  text-align: center;
}

.waiting-pill[data-ready="true"] {
  color: var(--ink);
  border-color: transparent;
  background: transparent;
}

.waiting-room__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.waiting-room__actions .btn[hidden] {
  display: none !important;
}

.waiting-room__confirm {
  min-height: 1.3em;
  margin: -2px 0 0;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.waiting-room__confirm[hidden] {
  display: block;
  visibility: hidden;
}

body[data-state="waiting"] .tiles,
body[data-state="waiting"] .s3-figs,
body[data-state="active"] .s3-figs {
  display: none !important;
}

body.is-session-fullscreen {
  min-height: 100vh;
  min-height: 100dvh;
  background: #000;
}
body.is-universe-open {
  overflow: hidden;
}
body.is-session-fullscreen[data-state="active"] .topbar,
body.is-session-fullscreen[data-state="active"] .title,
body.is-session-fullscreen[data-state="active"] .setup,
body.is-session-fullscreen[data-state="active"] .tiles,
body.is-session-fullscreen[data-state="active"] .live-preview,
body.is-session-fullscreen[data-state="active"] .footline,
body.is-session-fullscreen[data-state="active"] .feedback-float,
body.is-session-fullscreen[data-state="active"] .demo {
  display: none !important;
}
body.is-session-fullscreen[data-state="active"] .stage {
  min-height: 100vh;
  min-height: 100dvh;
  justify-content: center;
  padding: clamp(18px, 4vh, 44px);
}
body.is-session-fullscreen[data-state="active"] .console {
  gap: clamp(18px, 4vh, 36px);
}
body.is-session-fullscreen[data-state="active"] {
  --bloom-size: min(72vh, 620px);
}

/* ─── Footline ─── */

.footline {
  display: flex;
  justify-content: center;
  padding: 12px;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

/* ─── Drawers ─── */

.drawer {
  position: fixed; inset: 0; z-index: 200;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.drawer[hidden] { display: none; }
.drawer__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(100% 76% at 50% 10%, rgba(100, 75, 48, 0.18), transparent 60%),
    rgba(0,0,0,0.58);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadein 0.3s var(--ease);
}
.drawer__sheet {
  position: relative;
  width: min(100%, 560px);
  max-height: min(86dvh, 720px);
  margin: 0 12px 12px;
  padding: 22px clamp(18px, 4vw, 28px) 26px;
  background:
    linear-gradient(180deg, rgba(34, 29, 20, 0.94), rgba(13, 16, 11, 0.94)),
    var(--soft-wash);
  border: 1px solid var(--paper-edge);
  border-radius: var(--r-panel);
  box-shadow: var(--paper-shadow);
  overflow: auto;
  animation: sheet-up 0.32s var(--ease);
}
.drawer--page {
  align-items: stretch;
  overflow: hidden;
}
.drawer--page .drawer__scrim {
  background: var(--paper, #f4ead3);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.drawer--page .drawer__sheet {
  width: 100%;
  height: 100dvh;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: clamp(22px, 4vw, 56px);
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(247, 238, 216, 0.98), rgba(238, 224, 190, 0.98)),
    var(--soft-wash),
    radial-gradient(circle at 50% 0%, oklch(0.82 0.12 65 / 0.10), transparent 30%),
    linear-gradient(180deg, #f6ecd5, #e9d8b1 68%);
  overflow: auto;
  animation: none;
}
.drawer--page .drawer__header,
.drawer--page .lost-time-page,
.drawer--page .time-shift,
.drawer--page .time-reclaim__intro,
.drawer--page .time-reclaim,
.drawer--page .together-proof,
.drawer--page .together-summary,
.drawer--page .identity-close,
.drawer--page .bouquet,
.drawer--page .account-form {
  width: min(100%, 1120px);
  margin-inline: auto;
}
.drawer--page .drawer__title {
  color: var(--fg);
  font-size: clamp(26px, 5vw, 56px);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.02;
}
.drawer--page .drawer__close {
  position: sticky;
  top: 0;
  justify-self: end;
}
.drawer--page .account-form {
  max-width: 560px;
  margin-top: clamp(22px, 5vw, 64px);
}
.drawer--page .bouquet {
  margin-top: clamp(22px, 5vw, 64px);
}
.how-page__eyebrow {
  margin: 0 0 12px;
  color: var(--fg-faint);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.drawer--page .time-reclaim__intro {
  max-width: 58ch;
  margin-top: clamp(34px, 6vw, 70px);
  margin-bottom: 22px;
  font-size: clamp(16px, 2vw, 22px);
}
.drawer--page .time-reclaim {
  gap: 18px;
  margin-bottom: clamp(28px, 5vw, 60px);
}
.drawer--page .time-card {
  min-height: clamp(120px, 17vh, 190px);
  padding: clamp(18px, 3vw, 34px);
}
.drawer--page .time-card__copy strong {
  font-size: clamp(42px, 8vw, 86px);
}
.drawer--page .time-card--year {
  min-height: clamp(260px, 36vh, 420px);
}
.drawer--page .drawer__note {
  font-size: clamp(14px, 1.7vw, 18px);
  line-height: 1.55;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheet-up { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.drawer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.drawer__title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-wrap: balance;
}
.drawer__close {
  font-size: 22px;
  line-height: 1;
  color: var(--fg-soft);
  padding: 4px 8px;
  border-radius: var(--r-input);
}
.drawer__close:hover { color: var(--fg); background: rgba(255,255,255,0.05); }
.drawer__note {
  margin: 18px 0 0;
  font-size: 12px;
  color: var(--fg-mute);
  text-wrap: pretty;
}
.drawer__note a { color: var(--bloom-warm); text-decoration: none; border-bottom: 1px solid currentColor; }

.lost-time-page {
  display: grid;
  gap: 22px;
  margin-top: clamp(28px, 5vw, 58px);
}
.lost-time-page__intro,
.lost-time-page__why {
  margin: 0;
  max-width: 54ch;
  color: var(--fg-soft);
  font-size: 18px;
  line-height: 1.55;
  text-wrap: pretty;
}
.lost-time-page__why {
  max-width: 48ch;
  color: var(--fg);
}
.lost-time-model {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.lost-time-card {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-height: 260px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background:
    radial-gradient(circle at 16% 12%, oklch(0.82 0.12 65 / 0.14), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.014));
}
.lost-time-card::before {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: var(--dot-size, 26px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: var(--bloom-warm);
  box-shadow:
    0 0 0 10px oklch(0.82 0.12 65 / 0.08),
    0 0 30px oklch(0.82 0.12 65 / 0.2);
  opacity: 0.38;
  pointer-events: none;
}
.lost-time-card--month::before {
  --dot-size: 64px;
  background:
    radial-gradient(circle, var(--bloom-warm) 0 34%, transparent 38%) 0 0 / 16px 16px;
  border-radius: 0;
  box-shadow: none;
}
.lost-time-card--year::before {
  --dot-size: 94px;
  background:
    radial-gradient(circle, var(--bloom-warm) 0 32%, transparent 37%) 0 0 / 11px 11px;
  border-radius: 0;
  box-shadow: none;
}
.lost-time-card > * {
  position: relative;
  z-index: 1;
}
.lost-time-card > span {
  color: var(--fg-faint);
  font-size: 10px;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}
.lost-time-card strong {
  align-self: end;
  color: var(--fg);
  font-size: 58px;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}
.lost-time-card p {
  margin: 0;
  max-width: 23ch;
  color: var(--fg-soft);
  font-size: 14px;
  line-height: 1.45;
}
.lost-time-page__source {
  margin: 6px 0 0;
  max-width: 74ch;
  color: var(--fg-mute);
  font-size: 12px;
  line-height: 1.5;
  text-wrap: pretty;
}

.time-shift {
  display: grid;
  gap: 14px;
  margin-top: clamp(26px, 5vw, 58px);
}
.shift-card {
  display: grid;
  gap: 8px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background:
    radial-gradient(circle at 12% 0%, rgba(255,255,255,0.045), transparent 34%),
    linear-gradient(180deg, #101915, #08100d);
}
.shift-card__label,
.together-proof__head p,
.together-proof__bars > p {
  margin: 0;
  color: var(--fg-faint);
  font-size: 10px;
  letter-spacing: 0.24em;
  line-height: 1.4;
  text-transform: uppercase;
}
.shift-card strong {
  color: var(--fg);
  font-size: clamp(58px, 11vw, 124px);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.shift-card > span {
  color: var(--fg-mute);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.shift-card p {
  margin: 6px 0 0;
  max-width: 34ch;
  color: var(--fg-soft);
  font-size: clamp(14px, 1.7vw, 18px);
  line-height: 1.45;
}
.shift-divider {
  display: grid;
  grid-template-columns: minmax(24px, 1fr) auto minmax(24px, 1fr);
  align-items: center;
  gap: 14px;
  color: var(--fg-faint);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-align: center;
  text-transform: uppercase;
}
.shift-divider span {
  height: 1px;
  background: var(--line);
}
.shift-divider em {
  font-style: normal;
}
.shift-card--after {
  border-color: oklch(0.82 0.12 65 / 0.38);
  background:
    radial-gradient(circle at 16% 0%, oklch(0.82 0.12 65 / 0.13), transparent 34%),
    linear-gradient(180deg, #1b1710, #0a0d0a);
}
.shift-card--after .shift-card__label,
.shift-card--after strong,
.shift-card__stats b {
  color: var(--bloom-warm);
}
.shift-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.shift-card__stats div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid oklch(0.82 0.12 65 / 0.24);
  border-radius: var(--r-input);
  background: rgba(255,255,255,0.025);
}
.shift-card__stats b {
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 400;
  line-height: 1;
}
.shift-card__stats small,
.shift-card__source {
  color: var(--fg-mute);
  font-size: 11px;
  line-height: 1.35;
}
.shift-card .shift-card__source {
  margin-top: 12px;
  max-width: none;
  font-size: 11px;
}
.shift-card__source a {
  color: var(--bloom-warm);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.how {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.how li {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: baseline;
  gap: 14px;
}
.how__n {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--bloom-warm);
}
.how__t {
  font-size: 14px;
  color: var(--fg-soft);
  text-wrap: pretty;
  font-weight: 300;
}

.time-reclaim__intro {
  margin: 0 0 16px;
  max-width: 44ch;
  color: var(--fg-soft);
  font-size: 13px;
  line-height: 1.5;
  text-wrap: pretty;
}
.time-reclaim {
  display: grid;
  gap: 12px;
}
.time-card {
  display: grid;
  grid-template-columns: minmax(112px, 1fr) minmax(120px, 0.7fr);
  align-items: center;
  gap: 18px;
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
}
.time-card:nth-child(2) {
  margin-left: 20px;
}
.time-card:nth-child(3) {
  margin-left: 44px;
}
.time-card--year {
  min-height: 190px;
  grid-template-columns: minmax(220px, 1fr) minmax(150px, 0.62fr);
  margin-left: 0;
  padding: 20px;
  border-color: oklch(0.82 0.12 65 / 0.34);
  background:
    radial-gradient(circle at 22% 46%, oklch(0.82 0.12 65 / 0.10), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
}
.time-dots {
  width: 100%;
  max-width: 260px;
  aspect-ratio: calc(var(--cols) / var(--rows));
  background-image: radial-gradient(circle, var(--bloom-warm) 0 38%, transparent 42%);
  background-size: calc(100% / var(--cols)) calc(100% / var(--rows));
  background-position: center;
  filter: drop-shadow(0 0 10px oklch(0.82 0.12 65 / 0.18));
}
.time-card--day .time-dots {
  width: 28px;
}
.time-card--week .time-dots {
  max-width: 210px;
}
.time-card--month .time-dots {
  max-width: 260px;
}
.time-card--year .time-dots {
  max-width: 330px;
  opacity: 0.92;
}
.time-card--year .time-card__copy strong {
  color: var(--bloom-warm);
}
.time-card__copy {
  display: grid;
  justify-items: start;
  gap: 4px;
}
.time-card__copy strong {
  color: var(--fg);
  font-size: clamp(22px, 5vw, 42px);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.time-card__copy span {
  color: var(--fg-mute);
  font-size: 10px;
  letter-spacing: 0.2em;
  line-height: 1.35;
  text-transform: uppercase;
}
.time-card__copy em {
  max-width: 18ch;
  color: var(--fg-soft);
  font-size: clamp(16px, 2.4vw, 24px);
  font-style: italic;
  line-height: 1.25;
}

.together-proof {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  margin-top: clamp(28px, 5vw, 58px);
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid oklch(0.68 0.09 145 / 0.34);
  border-radius: var(--r-panel);
  background:
    radial-gradient(circle at 12% 10%, oklch(0.62 0.08 150 / 0.16), transparent 32%),
    linear-gradient(180deg, oklch(0.15 0.035 148 / 0.76), rgba(255,255,255,0.012));
}
.together-proof__head {
  display: grid;
  gap: 10px;
}
.together-proof__head p {
  color: oklch(0.78 0.1 145);
}
.together-proof__head h4 {
  margin: 0;
  max-width: 17ch;
  color: var(--fg);
  font-size: clamp(28px, 5vw, 58px);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.05;
}
.together-proof__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.together-proof__stats article {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid oklch(0.68 0.09 145 / 0.25);
  border-radius: var(--r-input);
  background: oklch(0.18 0.035 150 / 0.36);
}
.together-proof__stats strong {
  color: oklch(0.78 0.1 145);
  font-size: clamp(48px, 8vw, 92px);
  font-weight: 300;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.together-proof__stats p {
  margin: 0;
  color: var(--fg-soft);
  font-size: clamp(14px, 1.7vw, 18px);
  line-height: 1.45;
}
.together-proof__stats small,
.together-proof__bars small {
  color: var(--fg-soft);
  opacity: 0.58;
  font-size: 11px;
  line-height: 1.35;
}
.together-proof__quote {
  margin: 0;
  padding: 4px 0 4px clamp(18px, 3vw, 28px);
  border-left: 2px solid oklch(0.68 0.09 145 / 0.62);
}
.together-proof__quote p {
  margin: 0 0 8px;
  max-width: 42ch;
  color: var(--fg);
  font-size: clamp(18px, 2.6vw, 30px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.3;
}
.together-proof__quote cite {
  color: var(--fg-mute);
  font-size: 12px;
  font-style: normal;
}
.together-proof__bars {
  display: grid;
  gap: 14px;
}
.bar-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) minmax(140px, 1fr) auto;
  align-items: center;
  gap: 12px;
}
.bar-row span,
.bar-row strong {
  color: var(--fg-soft);
  font-size: 12px;
}
.bar-row strong {
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.bar-row i {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  overflow: hidden;
}
.bar-row b {
  display: block;
  width: var(--bar);
  height: 100%;
  border-radius: inherit;
  background: oklch(0.62 0.08 150 / 0.72);
}
.bar-row--together b {
  background: oklch(0.78 0.1 145);
}
.together-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.together-summary article {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid oklch(0.68 0.09 145 / 0.25);
  border-radius: var(--r-input);
  background: oklch(0.18 0.035 150 / 0.24);
}
.together-summary strong {
  color: oklch(0.78 0.1 145);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 300;
  line-height: 1;
}
.together-summary span {
  color: var(--fg-mute);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.identity-close {
  margin-top: clamp(28px, 5vw, 58px);
  margin-bottom: 0;
  color: var(--fg-mute);
  font-size: clamp(15px, 1.8vw, 20px);
  line-height: 1.55;
  text-align: center;
  text-wrap: pretty;
}

/* ─── Bouquet ─── */

.bouquet {
  display: block;
}
.bouquet__empty {
  margin: 0;
  font-size: 13px;
  color: var(--fg-mute);
  text-align: center;
  padding: 24px 12px;
  border: 1px dashed var(--line);
  border-radius: var(--r-input);
}
.saved-ledger {
  display: grid;
  gap: 16px;
}
.saved-hero {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid oklch(0.82 0.12 65 / 0.32);
  border-radius: var(--r-panel);
  background:
    radial-gradient(circle at 20% 20%, oklch(0.82 0.12 65 / 0.14), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
}
.saved-hero__eyebrow,
.saved-people h4,
.saved-history h4 {
  margin: 0;
  color: var(--fg-mute);
  font-size: 10px;
  letter-spacing: 0.24em;
  line-height: 1.35;
  text-transform: uppercase;
}
.saved-hero strong {
  color: var(--fg);
  font-size: clamp(42px, 12vw, 76px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.saved-hero span:last-child {
  color: var(--fg-soft);
  font-size: 13px;
  line-height: 1.45;
}
.saved-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.saved-metrics article {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: rgba(255,255,255,0.02);
}
.saved-metrics strong {
  color: var(--bloom-warm);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.saved-metrics span,
.saved-person span {
  color: var(--fg-mute);
  font-size: 10px;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
}
.saved-people,
.saved-history {
  display: grid;
  gap: 10px;
}
.saved-person {
  display: grid;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: rgba(255,255,255,0.018);
}
.saved-person div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.saved-person strong {
  color: var(--fg);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.saved-person i {
  display: block;
  width: var(--w);
  height: 5px;
  border-radius: 999px;
  background: var(--bloom-warm);
  box-shadow: 0 0 18px oklch(0.82 0.12 65 / 0.24);
}
.bouquet__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.bouquet__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: rgba(255,255,255,0.02);
}
.bouquet__item svg { width: 48px; height: 48px; align-self: center; color: var(--bloom-warm); }
.bouquet__item .who {
  font-size: 13px; color: var(--fg);
  letter-spacing: 0.02em;
  text-align: center;
  text-wrap: balance;
}
.bouquet__item .when {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-mute);
  text-align: center;
}

.saved-panel {
  display: grid;
  gap: 18px;
}
.saved-panel--empty {
  gap: 14px;
}
.saved-panel__hero {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 12px;
  min-height: 270px;
  padding: clamp(24px, 7vw, 46px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background:
    radial-gradient(circle at 50% 38%, oklch(0.82 0.12 65 / 0.16), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012));
}
.saved-panel__aurora {
  position: absolute;
  inset: auto -16% -42% -16%;
  z-index: -1;
  height: 82%;
  background:
    radial-gradient(42% 68% at 36% 44%, oklch(0.74 0.13 50 / 0.34), transparent 70%),
    radial-gradient(46% 62% at 68% 48%, oklch(0.55 0.06 150 / 0.18), transparent 72%);
  filter: blur(24px);
  opacity: 0.76;
}
.saved-panel__eyebrow {
  margin: 0;
  color: var(--fg-mute);
  font-size: 10px;
  letter-spacing: 0.28em;
  line-height: 1.35;
  text-transform: uppercase;
}
.saved-panel__number {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-top: 8px;
}
.saved-panel__num {
  font-family: var(--serif);
  color: var(--fg);
  font-size: clamp(82px, 22vw, 156px);
  font-weight: 300;
  line-height: 0.78;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.saved-panel__unit {
  margin-bottom: 9px;
  color: var(--fg-soft);
  font-family: var(--serif);
  font-size: clamp(28px, 8vw, 56px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: 0;
}
.saved-panel__translation {
  max-width: 30rem;
  margin: 6px 0 0;
  color: var(--fg-soft);
  font-size: 14px;
  line-height: 1.65;
  text-wrap: pretty;
}
.saved-panel__translation em {
  color: var(--bloom-warm);
  font-style: normal;
}
.saved-panel__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
}
.saved-panel__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg-soft);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.18);
}
.saved-panel__meta i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bloom-warm);
  box-shadow: 0 0 14px oklch(0.82 0.12 65 / 0.7);
}
.saved-hoard,
.saved-ledger-grid article,
.saved-presence,
.saved-moments,
.saved-horizon {
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: rgba(255,255,255,0.018);
}
.saved-hoard {
  display: grid;
  gap: 14px;
  padding: 18px;
}
.saved-hoard__head,
.saved-presence__head,
.saved-moments__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.saved-hoard h4,
.saved-presence h4,
.saved-moments h4 {
  margin: 0;
  color: var(--fg);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.saved-hoard__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 10px;
  color: var(--fg-mute);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.saved-hoard__legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.saved-hoard__legend i,
.saved-bead {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.saved-hoard__legend i.shared,
.saved-bead--shared {
  fill: var(--bloom-warm);
  background: var(--bloom-warm);
  filter: drop-shadow(0 0 10px oklch(0.82 0.12 65 / 0.5));
}
.saved-hoard__legend i.solo,
.saved-bead--solo {
  fill: oklch(0.62 0.06 150);
  background: oklch(0.62 0.06 150);
}
.saved-hoard__beads {
  width: 100%;
  overflow-x: auto;
  padding-block: 4px 2px;
}
.saved-hoard__svg {
  display: block;
  width: max(100%, 420px);
  min-height: 92px;
}
.saved-hoard__string {
  fill: none;
  stroke: rgba(241, 236, 226, 0.16);
  stroke-width: 1.1;
}
.saved-hoard__caption,
.saved-presence__head span {
  margin: 0;
  color: var(--fg-mute);
  font-size: 11px;
  line-height: 1.55;
}
.saved-ledger-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.saved-ledger-grid article {
  display: grid;
  gap: 8px;
  padding: 16px;
}
.saved-ledger-grid span {
  color: var(--fg-mute);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.saved-ledger-grid strong {
  display: grid;
  gap: 4px;
  color: var(--bloom-warm);
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.saved-ledger-grid em {
  color: var(--fg-mute);
  font-family: var(--font);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.18em;
  line-height: 1.25;
  text-transform: uppercase;
}
.saved-ledger-grid p {
  margin: 0;
  color: var(--fg-soft);
  font-size: 12px;
  line-height: 1.5;
}
.saved-panel__solo-note {
  margin: -4px 2px 0;
  color: var(--fg-mute);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}
.saved-panel--simple {
  display: block;
}
.found-time {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  min-height: min(620px, 72vh);
  padding: clamp(22px, 5vw, 48px);
  border: 1px solid color-mix(in oklch, var(--line), var(--bloom-warm) 24%);
  border-radius: var(--r-panel);
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 8%, color-mix(in oklch, var(--bloom-warm), transparent 74%), transparent 38%),
    radial-gradient(circle at 82% 28%, rgba(255,255,255,0.055), transparent 32%),
    rgba(255,255,255,0.024);
}
.found-time::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: -1;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: calc(var(--r-panel) - 6px);
  pointer-events: none;
}
.found-time__glow {
  position: absolute;
  inset: auto -18% -26% 36%;
  z-index: -1;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(closest-side, color-mix(in oklch, var(--bloom-warm), transparent 62%), transparent);
  opacity: 0.62;
  pointer-events: none;
}
.found-time__eyebrow,
.found-split__card span,
.found-note {
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.found-time__eyebrow {
  margin: 0;
  color: var(--fg-mute);
  font-size: 11px;
}
.found-time__amount {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: clamp(10px, 2vw, 18px);
}
.found-time__num {
  color: var(--fg);
  font-family: var(--serif);
  font-size: clamp(82px, 18vw, 168px);
  font-weight: 300;
  line-height: 0.82;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.found-time__unit {
  max-width: 11ch;
  margin-bottom: clamp(6px, 1vw, 14px);
  color: var(--fg-soft);
  font-family: var(--serif);
  font-size: clamp(26px, 5vw, 52px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: 0;
}
.found-time__support {
  max-width: 38rem;
  margin: 0;
  color: var(--fg-soft);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
  text-wrap: pretty;
}
.found-split {
  display: grid;
  gap: 16px;
  max-width: 760px;
}
.found-split__bar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(12px, var(--shared)) minmax(12px, var(--solo));
  height: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0,0,0,0.16);
}
.found-split__bar i {
  min-width: 0;
}
.found-split__bar-shared {
  background:
    linear-gradient(90deg, color-mix(in oklch, var(--bloom-warm), white 18%), color-mix(in oklch, var(--bloom-warm), var(--paper-rose) 22%));
}
.found-split__bar-solo {
  background:
    repeating-linear-gradient(-18deg, rgba(255,255,255,0.12) 0 7px, transparent 7px 14px),
    color-mix(in oklch, var(--paper-sage), var(--paper-ink) 24%);
}
.found-split__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.found-split__card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: calc(var(--r-panel) - 6px);
  background: rgba(0,0,0,0.12);
}
.found-split__card span {
  color: var(--fg-mute);
  font-size: 10px;
}
.found-split__card strong {
  color: var(--fg);
  font-family: var(--serif);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: 0;
}
.found-split__card--shared {
  border-color: color-mix(in oklch, var(--line), var(--bloom-warm) 36%);
}
.found-time__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.found-note {
  margin: 0;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg-soft);
  background: rgba(0,0,0,0.12);
  font-size: 10px;
  line-height: 1.45;
}
.found-note--streak {
  color: color-mix(in oklch, var(--fg-soft), var(--bloom-warm) 24%);
}
.saved-presence,
.saved-moments {
  display: grid;
  gap: 12px;
  padding: 18px;
}
.saved-strand {
  display: grid;
  grid-template-columns: minmax(120px, 0.82fr) minmax(110px, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.saved-strand__who {
  display: grid;
  gap: 4px;
}
.saved-strand__name {
  color: var(--fg);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.03em;
}
.saved-strand__note {
  color: var(--fg-mute);
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}
.saved-strand__viz {
  width: min(100%, var(--strand-w));
  min-width: 110px;
}
.saved-strand__svg {
  display: block;
  width: 100%;
  height: 40px;
}
.saved-strand__line {
  fill: none;
  stroke: var(--bloom-warm);
  stroke-linecap: round;
  stroke-width: 3;
  filter: drop-shadow(0 0 12px oklch(0.82 0.12 65 / 0.34));
}
.saved-strand__line--ghost {
  stroke: rgba(241, 236, 226, 0.12);
  stroke-width: 6;
  filter: none;
}
.saved-strand__time {
  color: var(--fg);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0;
  white-space: nowrap;
}
.saved-moments__see {
  color: var(--bloom-warm);
  font-size: 10px;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
}
.saved-moments__list {
  display: grid;
  gap: 10px;
}
.saved-moment {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: rgba(0,0,0,0.12);
}
.saved-moment svg {
  width: 38px;
  height: 38px;
  color: var(--bloom-warm);
}
.saved-moment p {
  margin: 0;
  color: var(--fg);
  font-size: 12px;
  line-height: 1.45;
}
.saved-moment span {
  display: block;
  margin-top: 4px;
  color: var(--fg-mute);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.saved-moment strong {
  color: var(--bloom-warm);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0;
  text-align: right;
}
.saved-moment small {
  color: var(--fg-mute);
  font-family: var(--font);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.saved-horizon {
  display: grid;
  gap: 12px;
  padding: 20px;
  overflow: hidden;
}
.saved-horizon p {
  max-width: 32rem;
  margin: 0;
  color: var(--fg-soft);
  font-size: 13px;
  line-height: 1.6;
}
.saved-horizon strong {
  color: var(--fg);
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 0;
}
.saved-horizon i {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, oklch(0.82 0.12 65 / 0.72), transparent);
}
.saved-horizon span {
  color: var(--fg-mute);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ─── Feedback ─── */

.feedback {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feedback__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 14px;
  border-radius: var(--r-chip);
  border: 1px solid var(--line-strong);
  color: var(--fg-soft);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.chip:hover span { color: var(--fg); border-color: rgba(255,255,255,0.32); }
.chip input:checked + span {
  color: var(--bg-0);
  background: var(--bloom-warm);
  border-color: var(--bloom-warm);
}
.chip input:focus-visible + span {
  box-shadow: 0 0 0 2px rgba(0,0,0,0.6), 0 0 0 3px var(--bloom-warm);
}

.feedback__note {
  width: 100%;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  padding: 10px 12px;
  font-size: 13px;
  resize: vertical;
  outline: none;
  font-family: inherit;
}
.feedback__note:focus { border-color: var(--bloom-warm); }

.feedback__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.feedback__thanks {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bloom-warm);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.feedback__thanks.is-on { opacity: 1; }

.feedback-float {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-chip);
  background: rgba(10,16,13,0.7);
  color: var(--fg-soft);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.feedback-float:hover {
  color: var(--fg);
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-1px);
}
body:has(.drawer--page:not([hidden])) .feedback-float {
  display: none;
}
body:has(.drawer--page:not([hidden])) .toast {
  display: none;
}

/* ─── Account ─── */

.account-form {
  display: grid;
  gap: 18px;
  color: var(--paper-ink, #211814);
}
.account-form__lede {
  display: grid;
  gap: 6px;
}
.account-form__eyebrow,
.account-form__section-title {
  margin: 0;
  color: var(--ink-muted, rgba(41, 35, 25, 0.62));
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.account-form__intro {
  margin: 0 0 2px;
  color: var(--paper-ink, #211814);
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}
.account-form__copy,
.account-form__fine {
  margin: 0;
  color: var(--ink-soft, rgba(41, 35, 25, 0.78));
  font-size: 14px;
  line-height: 1.55;
  text-wrap: pretty;
}
.account-form__fine {
  color: var(--ink-muted, rgba(41, 35, 25, 0.62));
  font-size: 12px;
}
.account-form__tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.account-form__tab {
  min-height: 48px;
  border: 1px solid rgba(41, 35, 25, 0.22);
  border-radius: var(--r-input);
  color: var(--ink-soft, rgba(41, 35, 25, 0.78));
  background: rgba(255, 248, 232, 0.54);
  font: inherit;
}
.account-form__tab.is-active {
  border-color: color-mix(in oklab, var(--bloom-warm), black 10%);
  background: var(--bloom-warm);
  color: var(--ink);
}
.account-form__panel {
  display: grid;
  gap: 14px;
}
.account-form__panel[hidden] {
  display: none !important;
}
.account-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.account-form__field {
  display: grid;
  gap: 7px;
}
.account-form__field span {
  color: var(--ink-muted, rgba(41, 35, 25, 0.62));
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.account-form__input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(41, 35, 25, 0.24);
  border-radius: var(--r-input);
  background: rgba(255, 248, 232, 0.7);
  color: var(--paper-ink, #211814);
  font: inherit;
  font-size: 16px;
  outline: none;
}
.account-form__input:focus {
  border-color: var(--bloom-warm);
  box-shadow: 0 0 0 3px oklch(0.82 0.12 65 / 0.12);
}
.account-form__status {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid oklch(0.62 0.08 150 / 0.34);
  border-radius: var(--r-input);
  background: rgba(255, 248, 232, 0.74);
  color: var(--paper-ink, #211814);
  font-size: 12px;
  line-height: 1.5;
}
.account-form__status[data-kind="success"] {
  border-color: color-mix(in oklab, var(--sage), white 20%);
  background: color-mix(in oklab, var(--sage), transparent 78%);
  color: var(--paper-ink, #211814);
}
.account-form__status[data-kind="warn"] {
  border-color: color-mix(in oklab, var(--terracotta), white 18%);
  background: color-mix(in oklab, var(--terracotta), transparent 84%);
  color: var(--paper-ink, #211814);
}
.account-form__status--inline {
  width: 100%;
  margin-top: 4px;
}
.account-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.account-form__text-action {
  color: var(--ink-soft, rgba(41, 35, 25, 0.78));
  border-bottom: 1px solid color-mix(in oklab, currentColor, transparent 50%);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.account-form__text-action--danger {
  color: color-mix(in oklab, var(--terracotta), var(--ink) 20%);
}
.account-form__signout {
  justify-self: center;
  color: var(--ink-muted, rgba(41, 35, 25, 0.62));
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.account-form__signout:hover {
  color: var(--paper-ink, #211814);
}
.account-signed-in,
.account-section,
.account-profile {
  display: grid;
  gap: 14px;
}
.account-section {
  padding: 16px;
  border: 1px solid rgba(41, 35, 25, 0.18);
  border-radius: var(--r-card);
  background: rgba(255, 248, 232, 0.56);
}
.account-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid rgba(41, 35, 25, 0.18);
  border-radius: 999px;
  color: var(--ink-soft, rgba(41, 35, 25, 0.78));
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.account-badge[data-state="verified"] {
  border-color: color-mix(in oklab, var(--sage), white 16%);
  color: color-mix(in oklab, var(--sage), var(--ink) 34%);
}

@media (max-width: 640px) {
  .account-form__grid,
  .account-form__tabs {
    grid-template-columns: 1fr;
  }
  .account-form__intro {
    font-size: 32px;
  }
}

/* ─── Toast ─── */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 8px);
  background: rgba(10,16,13,0.94);
  border: 1px solid var(--line-strong);
  color: var(--fg);
  padding: 10px 16px;
  border-radius: var(--r-chip);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  pointer-events: none;
  z-index: 80;
}
.toast.is-on {
  opacity: 1; transform: translate(-50%, 0);
}

/* ─── Demo affordance ─── */

.demo {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.demo[hidden] {
  display: none !important;
}
.demo__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-soft);
  background: rgba(10,16,13,0.7);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-chip);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.demo__toggle:hover { color: var(--fg); border-color: rgba(255,255,255,0.28); }

.demo__panel {
  padding: 12px 14px;
  background: rgba(10,16,13,0.92);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-panel);
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 240px;
}
.demo__panel[hidden] { display: none; }
.demo__title {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.demo__row { display: flex; flex-wrap: wrap; gap: 4px; }
.demo__row button {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: var(--r-chip);
  border: 1px solid var(--line);
  color: var(--fg-soft);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.demo__row button:hover { color: var(--fg); border-color: rgba(255,255,255,0.28); }
.demo__row button.is-on {
  color: var(--bg-0); background: var(--bloom-warm); border-color: var(--bloom-warm);
}
.demo__hint {
  margin: 0;
  font-size: 10px;
  color: var(--fg-faint);
  text-wrap: pretty;
}

/* ─── Mobile (≤ 640px) ─── */

@media (max-width: 640px) {
  :root { --bloom-size: min(60vw, 320px); }

  .topbar { padding: 14px 16px; }
  .topnav { gap: 0; }
  .topnav__link { padding: 6px 8px; font-size: 11px; letter-spacing: 0.12em; }
  /* Hide the wordmark on tiniest screens to keep nav from wrapping. */
  .brand__word { display: none; }

  .stage { gap: 18px; padding: 24px 14px 40px; }

  .controls { gap: 22px; }
  .ctl--primary { width: 64px; height: 64px; }
  .ctl--secondary { width: 40px; height: 40px; }
  body[data-state="compose"][data-mode="monk"] .ctl--primary {
    width: auto;
    min-width: min(100%, 230px);
    height: 52px;
    gap: 10px;
    padding: 0 20px;
    border-radius: var(--r-chip);
  }
  body[data-state="compose"][data-mode="monk"] .ctl__play {
    position: static;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    transform: none;
  }
  body[data-state="compose"][data-mode="monk"] .ctl__label {
    position: static;
    display: inline-block;
    width: auto;
    max-width: none;
    transform: none;
    color: var(--fg);
    font-size: 11px;
    letter-spacing: 0.16em;
    white-space: nowrap;
  }

  .setup {
    max-width: 100%;
    gap: 14px;
    padding: 18px 16px;
  }
  .setup__row,
  .setup__row--names,
  .setup__row--duration {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .setup__field {
    gap: 10px;
  }
  .setup__input {
    max-width: none;
    font-size: 18px;
  }
  .setup__verb {
    align-self: center;
    justify-self: center;
    padding: 0;
    font-size: 10px;
  }
  .durations {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .duration {
    min-height: 42px;
    padding: 10px 8px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }
  .setup__share {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .setup__share-button {
    width: 100%;
    min-height: 74px;
    padding: 16px 18px;
  }
  .setup__body-cta,
  .setup[data-mode="body"] .setup__body-cta {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .setup__body-cta .btn {
    width: 100%;
  }

  body[data-role="invitee"][data-state="received"] .stage {
    min-height: calc(100svh - 62px);
    justify-content: center;
    gap: 12px;
    padding: 12px 14px 20px;
  }
  body[data-role="invitee"][data-state="received"] .title {
    display: none;
  }
  body[data-role="invitee"][data-state="received"] .invite-card {
    width: min(100%, 360px);
    gap: 10px;
    padding: 16px 16px;
  }
  body[data-role="invitee"][data-state="received"] .wax-seal {
    width: 58px;
    height: 58px;
    margin-top: -18px;
  }
  body[data-role="invitee"][data-state="received"] .invite-card__line {
    font-size: 22px;
    line-height: 1.08;
  }
  body[data-role="invitee"][data-state="received"] .invite-card__sub {
    font-size: 12px;
    line-height: 1.36;
  }
  body[data-role="invitee"][data-state="received"] .invite-card__trust {
    gap: 7px;
    font-size: 12px;
    line-height: 1.42;
  }
  body[data-role="invitee"][data-state="received"] .invite-card__actions,
  body[data-role="invitee"][data-state="received"] .invite-card__next {
    width: 100%;
    gap: 8px;
  }
  body[data-role="invitee"][data-state="received"] .invite-card__actions .btn,
  body[data-role="invitee"][data-state="received"] .invite-card__next .btn {
    flex: 1 1 140px;
    min-height: 42px;
    padding: 12px 14px;
    font-size: 10px;
  }

  .tiles { grid-template-columns: 1fr; }

  .live-preview {
    grid-template-columns: 64px minmax(0, 1fr) 32px;
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
  }
  .live-preview__orb {
    width: 62px;
    height: 62px;
  }
  .live-preview__copy span {
    font-size: 13px;
  }

  .lost-time-page {
    margin-top: 22px;
    gap: 18px;
  }
  .lost-time-page__intro,
  .lost-time-page__why {
    font-size: 16px;
  }
  .lost-time-model {
    grid-template-columns: 1fr;
  }
  .lost-time-card {
    min-height: 154px;
    padding: 18px;
  }
  .lost-time-card strong {
    font-size: 42px;
  }
  .lost-time-card::before {
    right: 14px;
    bottom: 14px;
    opacity: 0.22;
  }
  .lost-time-card--month::before {
    --dot-size: 46px;
  }
  .lost-time-card--year::before {
    --dot-size: 54px;
  }

  .shift-card__stats,
  .together-proof__stats,
  .together-summary {
    grid-template-columns: 1fr;
  }
  .bar-row {
    grid-template-columns: 1fr auto;
  }
  .bar-row i {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .saved-metrics {
    grid-template-columns: 1fr;
  }
  .saved-person div {
    display: grid;
    gap: 4px;
  }
  .saved-panel__hero {
    min-height: 230px;
    padding: 24px;
  }
  .saved-panel__number {
    display: grid;
    gap: 6px;
  }
  .saved-panel__unit {
    margin-bottom: 0;
  }
  .saved-hoard__head,
  .saved-presence__head,
  .saved-moments__head {
    align-items: start;
    flex-direction: column;
  }
  .saved-hoard__legend {
    justify-content: start;
  }
  .saved-ledger-grid {
    grid-template-columns: 1fr;
  }
  .found-time {
    min-height: auto;
    padding: 22px;
  }
  .found-time__amount {
    display: grid;
    gap: 8px;
  }
  .found-time__num {
    font-size: clamp(70px, 23vw, 104px);
  }
  .found-time__unit {
    max-width: none;
    margin-bottom: 0;
  }
  .found-split__cards {
    grid-template-columns: 1fr;
  }
  .found-time__notes {
    display: grid;
  }
  .found-note {
    border-radius: 18px;
  }
  .saved-strand {
    grid-template-columns: 1fr auto;
  }
  .saved-strand__viz {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }
  .saved-moment {
    grid-template-columns: 42px 1fr;
  }
  .saved-moment strong {
    grid-column: 2;
    text-align: left;
  }
  .bouquet__grid {
    grid-template-columns: 1fr;
  }
  .time-reclaim__intro {
    max-width: none;
  }
  .time-card,
  .time-card--year {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    margin-left: 0;
    padding: 14px;
  }
  .time-card__copy {
    justify-items: start;
  }
  .time-card__copy strong {
    font-size: 30px;
  }
  .time-card--day .time-dots {
    width: 24px;
  }
  .time-card--week .time-dots,
  .time-card--month .time-dots {
    max-width: 230px;
  }
  .time-card--year .time-dots {
    max-width: min(100%, 300px);
  }
  .onboarding__chrome {
    grid-template-columns: 34px 1fr 44px;
    gap: 10px;
  }
  .onboarding__progress {
    gap: 7px;
  }
  .onboarding__slide h1 {
    max-width: 10ch;
  }
  .universe-page__header {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .universe-page__header .btn {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }
  .universe-page__close {
    grid-column: 2;
    grid-row: 1;
  }
  .universe-inspector {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
  }
  .universe-inspector dl {
    grid-template-columns: 1fr;
  }

  .next-ritual__choices {
    grid-template-columns: 1fr;
  }
  .signup-reminder__schedule {
    grid-template-columns: 1fr;
  }
  .signup-reminder__row {
    flex-direction: column;
  }

  .feedback-float {
    position: static;
    width: max-content;
    max-width: calc(100vw - 24px);
    margin: 18px auto 0;
  }
  .demo { bottom: 12px; right: 12px; }
  .demo__panel { max-width: calc(100vw - 24px); }
}

@media (max-width: 430px) {
  :root { --bloom-size: min(68vw, 280px); }

  .topbar {
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
  }
  .brand {
    display: none;
  }
  .topnav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
    gap: 4px;
  }
  .topnav__link {
    min-width: 0;
    padding: 7px 2px;
    font-size: 9px;
    line-height: 1.25;
    letter-spacing: 0.055em;
    text-align: center;
    white-space: normal;
  }
  .stage {
    padding: 18px 12px 34px;
    gap: 14px;
  }
  .title__word {
    font-size: 28px;
    letter-spacing: 0.32em;
    text-indent: 0.32em;
  }
  .title__sub {
    max-width: 30ch;
    margin-inline: auto;
    font-size: 13px;
    line-height: 1.45;
  }
  .durations {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .duration {
    padding: 9px 7px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }
  .demo {
    display: none;
  }
}

/* Reduced motion. */
@media (prefers-reduced-motion: reduce) {
  .ambience__layer--moss,
  .ambience__layer--warm,
  .bloom__sun,
  .bloom__sun-wash,
  .bloom__ripple,
  .bloom__caustic,
  body[data-state="complete"] .bloom__light,
  .ctl__ring { animation: none !important; }
  * { transition-duration: 0.01ms !important; }
}
