/* Æther, Iris direction. Colour follows the real time of day where you are. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/fraunces-latin-full-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("/fonts/fraunces-latin-full-italic.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/fonts/figtree-latin-wght-normal.woff2") format("woff2"); }
:root {
  --plum: #1C1230;
  --lilac: #B8A4FF;
  --mint: #9EE6D4;
  --apricot: #FFB89A;
  --pearl: #F7F2FB;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", -apple-system, "Segoe UI", sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

body[data-phase="night"] {
  --bg-top: #120a24; --bg-bottom: #2b1b4c; --glow: rgba(184, 164, 255, .26);
  --ink: #F7F2FB; --ink-soft: rgba(247, 242, 251, .76); --ink-faint: rgba(247, 242, 251, .58);
  --surface: rgba(255, 255, 255, .07); --surface-strong: rgba(30, 19, 52, .9); --line: rgba(247, 242, 251, .14);
  --accent: #B8A4FF; --accent-ink: #1C1230; --heavy: #7d8cc4; --golden: #FFB89A;
}
body[data-phase="dusk"] {
  --bg-top: #33245e; --bg-bottom: #e09a8c; --glow: rgba(255, 184, 154, .35);
  --ink: #FFF7F2; --ink-soft: rgba(255, 247, 242, .78); --ink-faint: rgba(255, 247, 242, .55);
  --surface: rgba(255, 255, 255, .13); --surface-strong: rgba(45, 29, 78, .92); --line: rgba(255, 247, 242, .2);
  --accent: #FFB89A; --accent-ink: #1C1230; --heavy: #8f9ad6; --golden: #FFD2A8;
  --card-ground: #4a2f6e;
}
body[data-phase="dawn"] {
  --bg-top: #f6eefb; --bg-bottom: #ffcfba; --glow: rgba(255, 184, 154, .45);
  --ink: #1C1230; --ink-soft: rgba(28, 18, 48, .76); --ink-faint: rgba(28, 18, 48, .6);
  --surface: rgba(28, 18, 48, .06); --surface-strong: rgba(255, 249, 252, .94); --line: rgba(28, 18, 48, .13);
  --accent: #6A52D1; --accent-ink: #ffffff; --heavy: #6070b0; --golden: #e5835f;
}
body[data-phase="day"] {
  --bg-top: #f7f2fb; --bg-bottom: #e4dcff; --glow: rgba(158, 230, 212, .45);
  --ink: #1C1230; --ink-soft: rgba(28, 18, 48, .76); --ink-faint: rgba(28, 18, 48, .6);
  --surface: rgba(28, 18, 48, .06); --surface-strong: rgba(255, 252, 255, .95); --line: rgba(28, 18, 48, .13);
  --accent: #6A52D1; --accent-ink: #ffffff; --heavy: #6070b0; --golden: #e5835f;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--sans); color: var(--ink); background: var(--bg-top);
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none; transition: color .8s var(--ease);
}
button { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
[hidden] { display: none !important; }

.sky-bg {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 42% at 50% 30%, var(--glow), transparent 70%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  transition: background 1.2s var(--ease);
}
.mood-tint {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(80% 60% at 50% 35%, var(--tint, transparent), transparent 75%);
  transition: opacity .6s var(--ease);
}

/* The home screen always fits the visible area: 100svh excludes Safari's toolbars. */
#app {
  height: 100vh; height: 100svh; display: flex; flex-direction: column; overflow: hidden;
  padding: calc(var(--safe-top) + 6px) 20px calc(var(--safe-bottom) + 14px);
  max-width: 560px; margin: 0 auto;
}

.topbar { display: flex; align-items: center; justify-content: space-between; height: 48px; }
.wordmark { font-family: var(--serif); font-style: italic; font-variation-settings: "SOFT" 100, "opsz" 36; font-size: 21px; letter-spacing: .01em; color: var(--ink-soft); }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface);
  display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.icon-btn svg { width: 20px; height: 20px; fill: var(--ink); stroke: var(--ink); }

.sphere-wrap { position: relative; flex: 1 1 auto; min-height: 140px; max-height: 470px; margin: 0 -20px; }
/* The sphere's canvas covers the whole screen behind the content; the sphere is drawn inside .sphere-wrap's box. */
#sky { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: -1; touch-action: pan-y; pointer-events: auto; }
#app { pointer-events: none; }
#app > * { pointer-events: auto; }
#app > .sphere-wrap { pointer-events: none; }
.sphere-wrap .pill-hint { pointer-events: auto; }
body.reading-mode #sky { pointer-events: none; }
.pill-hint {
  z-index: 5; touch-action: manipulation; -webkit-user-select: none; user-select: none;
  position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft);
  padding: 9px 16px; border-radius: 999px; font-size: 13px; cursor: pointer;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); white-space: nowrap;
}

.forecast { flex: 0 0 auto; padding: 2px 4px 6px; }
.dateline { margin: 0 0 10px; font-size: 13px; color: var(--ink-faint); }
.condition { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.cond-icon svg { width: 22px; height: 22px; display: block; }
.forecast-text {
  font-family: var(--serif); font-weight: 380; font-variation-settings: "SOFT" 100, "opsz" 60;
  font-size: clamp(22px, 6vw, 29px); line-height: 1.26; margin: 0 0 18px; letter-spacing: -.005em;
  text-wrap: pretty;
}
.dials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dial { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 12px 10px 11px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.dial svg { width: 44px; height: 26px; overflow: visible; }
.dial-name { font-size: 12px; color: var(--ink-faint); }
.dial-word { font-size: 13.5px; font-weight: 600; }

.home-foot { flex: 0 0 auto; padding-top: 14px; }
.primary {
  width: 100%; border: 0; border-radius: 999px; padding: 17px 22px; font-size: 17px; font-weight: 600;
  background: var(--accent); color: var(--accent-ink); cursor: pointer;
  box-shadow: 0 10px 30px -12px var(--accent); transition: transform .15s var(--ease);
}
.primary:active { transform: scale(.98); }
.ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 13px 20px; font-size: 15px; font-weight: 500; cursor: pointer; }
.tip-line { text-align: center; font-size: 12.5px; color: var(--ink-faint); margin: 14px 8px 0; line-height: 1.45; }
.tip-link { color: var(--ink-soft); text-underline-offset: 3px; }

/* Onboarding */
.onboard {
  position: fixed; inset: 0; z-index: 30; display: flex; align-items: flex-end;
  padding: calc(var(--safe-top) + 24px) 24px calc(var(--safe-bottom) + 24px);
  background: linear-gradient(180deg, transparent 0%, rgba(18, 10, 36, .35) 40%, rgba(18, 10, 36, .92) 100%);
}
body[data-phase="dawn"] .onboard, body[data-phase="day"] .onboard { background: linear-gradient(180deg, transparent 0%, rgba(247, 242, 251, .4) 40%, rgba(247, 242, 251, .95) 100%); }
.ob-step { width: 100%; max-width: 520px; margin: 0 auto; animation: rise .7s var(--ease) both; }
.ob-brand { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink-soft); margin: 0 0 6px; font-variation-settings: "SOFT" 100; }
.ob-step h2 { font-family: var(--serif); font-weight: 400; font-variation-settings: "SOFT" 100, "opsz" 80; font-size: clamp(30px, 8.5vw, 40px); line-height: 1.1; margin: 0 0 14px; letter-spacing: -.01em; }
.ob-sub { color: var(--ink-soft); font-size: 16px; line-height: 1.55; margin: 0 0 26px; }
.field { display: block; border: 0; padding: 0; margin: 0 0 14px; }
.field > span, .field legend { display: block; font-size: 13px; color: var(--ink-faint); margin-bottom: 6px; padding: 0; }
.field input[type="date"], .field input[type="time"], .field input[type="text"] {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px; min-height: 52px;
  -webkit-appearance: none; appearance: none; color-scheme: dark;
}
body[data-phase="dawn"] .field input, body[data-phase="day"] .field input { color-scheme: light; }
.check { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--ink-soft); margin: 4px 0 10px; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }
.hint { font-size: 13.5px; color: var(--ink-faint); line-height: 1.5; margin: 0 0 20px; }
.reveal-kicker { color: var(--ink-faint); font-size: 14px; margin: 0 0 8px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft);
  border-radius: 999px; padding: 9px 14px; font-size: 14.5px; cursor: pointer; transition: all .2s var(--ease);
}
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg-top); border-color: var(--ink); }

/* Sheet */
.scrim { position: fixed; inset: 0; z-index: 50; background: rgba(10, 6, 20, .38); animation: fade .3s both; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 51; max-height: 88vh; max-height: 86svh; overflow: hidden;
  display: flex; flex-direction: column; margin: 0 auto; max-width: 600px;
  background: var(--surface-strong); color: var(--ink);
  border-radius: 28px 28px 0 0; border: 1px solid var(--line); border-bottom: 0;
  backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2);
  animation: sheetIn .45s var(--ease) both;
}
.sheet-head { position: relative; z-index: 3; flex: 0 0 auto; height: 52px; touch-action: none; }
.grabber { width: 38px; height: 5px; border-radius: 3px; background: var(--line); margin: 9px auto 0; }
.sheet-close { position: absolute; top: 8px; right: 12px; width: 40px; height: 40px; z-index: 4; }
.sheet-close svg { width: 16px; height: 16px; }
.sheet-body { position: relative; z-index: 1; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 22px calc(var(--safe-bottom) + 24px); }
.sheet-body:has(+ .sheet-foot:not([hidden])) { padding-bottom: 12px; }
.sheet-foot { position: relative; z-index: 2; flex: 0 0 auto; padding: 12px 22px calc(var(--safe-bottom) + 16px); border-top: 1px solid var(--line); }
.sheet h2 { font-family: var(--serif); font-weight: 420; font-variation-settings: "SOFT" 100, "opsz" 72; font-size: 28px; line-height: 1.15; margin: 0 44px 14px 0; }
.sheet h3 { font-size: 13.5px; font-weight: 600; color: var(--ink-faint); margin: 24px 0 8px; }
.sheet p { line-height: 1.58; font-size: 16px; margin: 0 0 10px; }

/* Check-in */
.feel-word { font-family: var(--serif); font-size: 22px; font-variation-settings: "SOFT" 100; margin: 4px 0 12px; min-height: 30px; }
.feel-range { width: 100%; -webkit-appearance: none; appearance: none; height: 44px; background: transparent; margin: 0 0 18px; }
.feel-range::-webkit-slider-runnable-track { height: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--heavy), #b4a6e6 50%, var(--golden)); }
.feel-range::-moz-range-track { height: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--heavy), #b4a6e6 50%, var(--golden)); }
.feel-range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -10px; border-radius: 50%; background: var(--pearl); border: 3px solid var(--ink); box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.feel-range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--pearl); border: 3px solid var(--ink); }
.ends { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-faint); margin: -16px 2px 18px; }
textarea {
  width: 100%; min-height: 96px; resize: vertical; font: inherit; font-size: 16px; line-height: 1.5;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin: 16px 0 6px;
}
textarea::placeholder, input::placeholder { color: var(--ink-faint); }
.privacy-note { font-size: 12.5px; color: var(--ink-faint); margin: 0 0 18px !important; }

/* Reading */
.reading .quote { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--ink-soft); border-left: 2px solid var(--accent); padding-left: 12px; margin: 0 0 16px; }
.reading .why p { margin-bottom: 8px; }
.reading .theme-line { font-family: var(--serif); font-size: 18px; font-variation-settings: "SOFT" 100; line-height: 1.45; }
.crowd { display: flex; align-items: baseline; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; margin: 6px 0 10px; }
.crowd strong { font-family: var(--serif); font-size: 30px; font-weight: 420; }
.crowd span { font-size: 14.5px; color: var(--ink-soft); line-height: 1.4; }
.crowd em { display: block; font-style: normal; font-size: 12px; color: var(--ink-faint); margin-top: 3px; }
.echo { font-family: var(--serif); font-size: 18px; line-height: 1.5; font-variation-settings: "SOFT" 100; }
.echo cite { display: block; font-family: var(--sans); font-style: normal; font-size: 13px; color: var(--ink-faint); margin-top: 6px; }
.closing { font-size: 16px; }
.actions { display: grid; gap: 10px; margin-top: 22px; }
.actions .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bottled { text-align: center; font-family: var(--serif); font-size: 18px; color: var(--ink-soft); margin: 10px 0 0; animation: rise .6s var(--ease) both; }

/* Journal */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 10px; }
.cal-head strong { font-family: var(--serif); font-weight: 420; font-size: 20px; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button { width: 38px; height: 38px; }
.cal-nav svg { width: 16px; height: 16px; fill: none; stroke-width: 2; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal .dow { font-size: 11.5px; color: var(--ink-faint); padding-bottom: 4px; }
.cal button { aspect-ratio: 1; border: 0; background: transparent; border-radius: 12px; display: grid; place-items: center; position: relative; font-size: 13px; color: var(--ink-faint); cursor: pointer; padding: 0; }
.cal button.has { color: var(--ink); }
.cal button .dot { position: absolute; inset: 18%; border-radius: 50%; opacity: .9; }
.cal button .num { position: relative; z-index: 1; font-weight: 500; }
.cal button.today { box-shadow: inset 0 0 0 1px var(--line); }
.cal button.star .dot { box-shadow: 0 0 14px 2px var(--golden); }
.legend { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-faint); margin: 14px 0 4px; }
.legend .bar { flex: 1; height: 6px; border-radius: 4px; background: linear-gradient(90deg, var(--heavy), #b4a6e6, var(--golden)); }
.entry { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; margin-top: 12px; }
.entry .when { font-size: 12.5px; color: var(--ink-faint); margin-bottom: 4px; }
.entry .h { font-family: var(--serif); font-size: 18px; line-height: 1.35; margin-bottom: 6px; }
.empty { color: var(--ink-faint); font-size: 15px; }
.linkrow { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* Menu */
.menu-list { display: grid; gap: 8px; }
.menu-item { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 15px 16px; font-size: 16px; cursor: pointer; }
.menu-item svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.menu-item small { display: block; color: var(--ink-faint); font-size: 13px; margin-top: 2px; }
.credits { font-size: 13px !important; color: var(--ink-faint); margin-top: 18px !important; line-height: 1.55 !important; }

/* Install sheet */
.install-steps { display: grid; gap: 12px; margin: 6px 0 20px; }
.install-step { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; }
.install-step .badge { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); flex: 0 0 auto; }
.install-step .badge svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.install-step p { margin: 0 !important; font-size: 15.5px !important; }
.install-icon { width: 76px; height: 76px; border-radius: 18px; display: block; margin: 4px 0 14px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); }

/* Ritual */
.ritual {
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: radial-gradient(60% 45% at 50% 42%, rgba(184, 164, 255, .28), transparent 70%), #120a24; color: #F7F2FB;
  animation: fade .5s both; padding: 24px;
}
.breath-orb {
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff, #B8A4FF 40%, #9EE6D4 70%, transparent 72%);
  box-shadow: 0 0 80px 20px rgba(184, 164, 255, .45); transform: scale(.7);
}
.breath-word { font-family: var(--serif); font-size: 30px; font-variation-settings: "SOFT" 100; margin: 26px 0 0; }
.breath-sub { color: rgba(247, 242, 251, .6); font-size: 14px; margin: 0 0 18px; }
.ritual .ghost { color: #F7F2FB; border-color: rgba(247, 242, 251, .25); }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--safe-bottom) + 96px); transform: translateX(-50%); z-index: 80;
  background: var(--ink); color: var(--bg-top); padding: 12px 18px; border-radius: 14px; font-size: 14.5px; max-width: calc(100% - 40px);
  box-shadow: 0 10px 30px rgba(0,0,0,.25); animation: rise .35s var(--ease) both;
}

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.toast { animation-name: toastIn; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheetIn { from { transform: translateY(100%); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body.onboarding .forecast, body.onboarding .home-foot, body.onboarding .topbar { visibility: hidden; }
body.onboarding .sphere-wrap { flex: 0 0 auto; height: 48svh; }

body.onboarding .pill-hint { display: none !important; }

/* Compact screens: keep everything visible */
@media (max-height: 720px) {
  .forecast-text { font-size: 20px; margin-bottom: 12px; }
  .dial { padding: 8px 6px; gap: 4px; }
  .dial svg { height: 20px; }
  .dateline { margin-bottom: 6px; }
  .condition { margin-bottom: 6px; }
  .primary { padding: 14px 20px; }
  .tip-btn { margin-top: 10px; padding: 9px 14px 9px 10px; }
  .tip-btn small { display: none; }
}

/* Check-in */
.chips-label { font-size: 13.5px !important; color: var(--ink-faint); margin: 0 0 10px !important; }
.chips.small { gap: 7px; }
.chips.small .chip { padding: 7px 12px; font-size: 14px; }
.small-btn { padding: 8px 14px; font-size: 14px; margin-top: 8px; }

/* ---------- Reading stage: text sits over the sphere, everything on one screen ---------- */
.stage {
  position: fixed; inset: 0; z-index: 45; height: 100vh; height: 100svh; overflow: hidden;
  --scrim: 45svh;
  animation: fade .45s both;
}
/* Soft backdrop that starts just above the text, so the sphere shows above and faintly behind it. */
.stage::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 0, transparent var(--scrim), color-mix(in srgb, var(--card-ground, var(--bg-bottom)) 80%, transparent) calc(var(--scrim) + 120px), color-mix(in srgb, var(--card-ground, var(--bg-bottom)) 94%, transparent) 100%);
  transition: --scrim .6s;
}
@property --scrim { syntax: "<length>"; inherits: true; initial-value: 0px; }
body.reading-mode .topbar, body.reading-mode .forecast, body.reading-mode .home-foot, body.reading-mode .legal-rail { visibility: hidden; }
body.reading-mode .sphere-wrap {
  position: fixed; left: 0; right: 0; margin: 0;
  top: calc(var(--safe-top) + 40px); height: 50svh; max-height: none;
}
body.reading-mode .pill-hint { display: none !important; }
.stage-top {
  position: absolute; z-index: 48; left: 0; right: 0; top: 0;
  padding: calc(var(--safe-top) + 10px) 16px 0; display: flex; align-items: center; gap: 12px;
}
.bars { flex: 1; display: flex; gap: 5px; }
.bars span { flex: 1; height: 3px; border-radius: 2px; background: var(--line); transition: background .4s; }
.bars span.done, .bars span.on { background: var(--ink); }
.stage-close { width: 38px; height: 38px; flex: 0 0 auto; }
.stage-close svg { width: 16px; height: 16px; }

.consult { position: absolute; z-index: 47; left: 0; right: 0; bottom: 0; top: 52svh; }
.consult { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 0 28px calc(var(--safe-bottom) + 40px); text-align: center; cursor: pointer; }
.consult-step { font-family: var(--serif); font-variation-settings: "SOFT" 100, "opsz" 48; font-size: 23px; line-height: 1.3; margin: 0; min-height: 60px; text-shadow: 0 1px 18px var(--bg-top); }
.consult-step.in { animation: stepIn .55s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; filter: blur(6px); transform: translateY(8px); } to { opacity: 1; filter: none; transform: none; } }
.consult-track { width: min(240px, 60vw); height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.consult-track span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--lilac), var(--mint), var(--apricot)); transition: width .9s var(--ease); }
.consult-skip { font-size: 12.5px; color: var(--ink-faint); margin: 6px 0 0; }

.cards { position: absolute; z-index: 47; inset: 0; overflow: hidden; touch-action: pan-y; cursor: pointer; }
/* Cards fade in place rather than sliding: tap to continue. */
.card { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s linear .5s; }
.card.active { opacity: 1; visibility: visible; transition: opacity .5s var(--ease) .1s, visibility 0s; }
.card-inner {
  height: 100%; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--safe-top) + 26svh) 26px calc(var(--safe-bottom) + 86px); max-width: 560px; margin: 0 auto;
}
.card-close .card-inner, .card-open .card-inner { padding-bottom: calc(var(--safe-bottom) + 24px); }
.card-content { text-shadow: 0 1px 14px color-mix(in srgb, var(--bg-bottom) 70%, transparent); }
.aspect-line { font-size: 14.5px; line-height: 1.5; color: var(--ink); margin: 0 0 12px; padding: 9px 13px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-shadow: none; }

/* Next-card arrow on every card after the first */
.next-hint {
  position: absolute; z-index: 49; right: 20px; bottom: calc(var(--safe-bottom) + 20px);
  width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer;
  background: var(--surface-strong); color: var(--ink); display: grid; place-items: center;
  box-shadow: 0 10px 26px -10px var(--accent);
  animation: nextNudge 1.8s ease-in-out infinite;
}
.next-hint svg { width: 24px; height: 24px; stroke: currentColor; }
.next-hint::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: nextRing 1.8s ease-out infinite; }
@keyframes nextNudge { 0%, 100% { transform: translateX(0); } 40% { transform: translateX(6px); } 60% { transform: translateX(-2px); } }
@keyframes nextRing { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.45); } }

/* The big swipe prompt on the first card */
.tap-big {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  margin: 10px 0 0; padding: 18px 22px; border-radius: 24px; cursor: pointer; text-align: left;
  font: inherit; font-family: var(--serif); font-variation-settings: "SOFT" 100, "opsz" 48; font-size: 23px; line-height: 1.15;
  color: var(--accent-ink); background: var(--accent); border: 0; text-shadow: none;
  box-shadow: 0 16px 40px -14px var(--accent);
}
.chevs { display: flex; font-family: var(--sans); font-size: 34px; line-height: 1; letter-spacing: -6px; }
.chevs i { font-style: normal; opacity: .25; animation: chevWave 1.4s ease-in-out infinite; }
.chevs i:nth-child(2) { animation-delay: .18s; }
.chevs i:nth-child(3) { animation-delay: .36s; }
@keyframes chevWave { 0%, 100% { opacity: .25; transform: translateX(0); } 40% { opacity: 1; transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .next-hint, .next-hint::after, .chevs i { animation: none !important; } .chevs i { opacity: 1; } }
.card .rv { opacity: 0; transform: translateY(16px); filter: blur(5px); transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease); transition-delay: calc(var(--d, 0) * 110ms + 250ms); }
.card.active .rv { opacity: 1; transform: none; filter: none; }
.kicker { font-size: 11.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft); margin: 10px 0 10px; }
.card-title { font-family: var(--serif); font-weight: 400; font-variation-settings: "SOFT" 100, "opsz" 72; font-size: clamp(25px, 7vw, 32px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -.01em; text-wrap: balance; }
.card-title.big { font-size: clamp(30px, 8.6vw, 40px); }
.card .lead { font-family: var(--serif); font-variation-settings: "SOFT" 100, "opsz" 30; font-size: 19px; line-height: 1.42; margin: 0 0 12px; text-wrap: pretty; }
.card .body { font-size: 15px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 10px; text-wrap: pretty; }
.card .quote { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink-soft); border-left: 2px solid var(--accent); padding-left: 12px; margin: 0 0 16px; }
.card .condition { margin: 4px 0 18px; }
.timing { font-size: 13.5px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; margin: 6px 0 0; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.glyphs { display: flex; align-items: center; gap: 16px; font-size: 40px; line-height: 1; margin: 6px 0 14px; font-family: "Apple Symbols", "Segoe UI Symbol", "Noto Sans Symbols", serif; }
.glyphs .asp { font-size: 26px; color: var(--accent); }
.moon-row { display: flex; align-items: center; gap: 16px; margin: 4px 0 14px; font-size: 15px; font-weight: 600; }
.moon-row small { font-weight: 400; color: var(--ink-faint); }
.moon-svg { width: 64px; height: 64px; }
.moon-dark { fill: var(--surface); stroke: var(--line); }
.moon-lit { fill: var(--pearl); filter: drop-shadow(0 0 6px rgba(247, 242, 251, .6)); }
body[data-phase="day"] .moon-lit, body[data-phase="dawn"] .moon-lit { fill: #fff; stroke: var(--line); }
.crowd-big { display: grid; gap: 4px; margin: 4px 0 16px; }
.crowd-big strong { font-family: var(--serif); font-weight: 380; font-size: 64px; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.crowd-big span { font-size: 17px; }
.crowd-big em { font-style: normal; font-size: 12px; color: var(--ink-faint); }
.kp-row { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; margin: 0 0 14px; font-size: 14.5px; line-height: 1.4; }
.gauge { width: 74px; height: 42px; flex: 0 0 auto; }
.gauge-track, .gauge-fill { fill: none; stroke-width: 7; stroke-linecap: round; }
.gauge-track { stroke: var(--line); }
.gauge-fill { stroke: var(--accent); transition: stroke-dashoffset 1.6s var(--ease) .6s; }
.card.active .gauge-fill { stroke-dashoffset: var(--off) !important; }
.echo-big { font-family: var(--serif); font-variation-settings: "SOFT" 100, "opsz" 72; font-size: clamp(23px, 6.6vw, 29px); line-height: 1.32; margin: 6px 0 14px; padding: 0; text-wrap: pretty; }
.cite { font-size: 14px; color: var(--ink-faint); }
.card-actions { display: grid; gap: 10px; margin-top: 18px; }
.card-actions .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.card-actions .ghost { padding: 13px 12px; }
.card .tip-line { margin-top: 16px; }
@media (max-height: 720px) {
  .card-inner { padding-top: calc(var(--safe-top) + 20svh); }
  .card-title.big { font-size: 28px; }
  .crowd-big strong { font-size: 48px; }
}

/* ---------- Opening animation ---------- */
.intro { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; pointer-events: none; }
.intro-word {
  font-family: var(--serif); font-style: italic; font-weight: 380; font-variation-settings: "SOFT" 100, "opsz" 144;
  font-size: clamp(76px, 25vw, 132px); line-height: 1; letter-spacing: .005em; color: var(--ink);
  text-shadow: 0 0 40px var(--glow); will-change: transform, opacity, filter;
  animation: introWord 1.1s var(--ease) .25s both;
}
.intro-tag { font-size: 15px; color: var(--ink-soft); letter-spacing: .01em; animation: introTag .9s var(--ease) .75s both; }
@keyframes introWord { from { opacity: 0; filter: blur(14px); transform: scale(1.12); letter-spacing: .12em; } to { opacity: 1; filter: none; transform: none; } }
@keyframes introTag { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.intro.leaving .intro-tag { animation: introTagOut .35s ease-in forwards; }
@keyframes introTagOut { to { opacity: 0; transform: translateY(6px); } }
body.intro-wait #sky { opacity: 0; }
#sky { transition: opacity .25s; }
body.introing .topbar .wordmark, body.introing .ob-brand { visibility: hidden; }
body.introing .topbar .icon-btn, body.introing .forecast, body.introing .home-foot { opacity: 0; transform: translateY(10px); pointer-events: none; }
body.introing .onboard { opacity: 0; pointer-events: none; }
body.introing .onboard .ob-step > :not(.ob-brand) { opacity: 0; }
.onboard .ob-step > * { transition: opacity .7s var(--ease); }
.topbar .icon-btn, .forecast, .home-foot { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.onboard { transition: opacity .6s var(--ease); }
body:not(.introing) .forecast { transition-delay: .08s; }
body:not(.introing) .home-foot { transition-delay: .18s; }
body.introing .ob-step { animation: none; }

/* ---------- Start reading button: pulse and sparkles ---------- */
.cta { position: relative; overflow: visible; isolation: isolate; animation: ctaPulse 2.8s ease-in-out infinite; }
.cta-label { position: relative; z-index: 2; }
.cta::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 48%, rgba(255, 255, 255, 0) 62%);
  background-size: 260% 100%; background-position: 120% 0; mix-blend-mode: soft-light;
  animation: ctaShine 3.6s ease-in-out infinite 1.2s;
}
.cta::after {
  content: ""; position: absolute; inset: -3px; border-radius: inherit; z-index: -1; pointer-events: none;
  background: conic-gradient(from var(--spin, 0deg), var(--lilac), var(--mint), var(--apricot), #f7c8e8, var(--lilac));
  filter: blur(10px); opacity: .55; animation: ctaRing 6s linear infinite;
}
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes ctaRing { to { --spin: 360deg; } }
@keyframes ctaPulse { 0%, 100% { transform: scale(1); box-shadow: 0 10px 30px -12px var(--accent); } 50% { transform: scale(1.025); box-shadow: 0 14px 44px -10px var(--accent); } }
@keyframes ctaShine { 0% { background-position: 120% 0; } 45%, 100% { background-position: -40% 0; } }
.sparkles { position: absolute; inset: -14px -8px; z-index: 3; pointer-events: none; }
.sparkles i {
  position: absolute; width: 12px; height: 12px; opacity: 0;
  background: #fff; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, .9));
  animation: twinkle 2.6s ease-in-out infinite;
}
body[data-phase="day"] .sparkles i, body[data-phase="dawn"] .sparkles i { background: #ffd2a8; filter: drop-shadow(0 0 3px rgba(255, 184, 154, .9)); }
.sparkles i:nth-child(1) { left: 6%; top: 8%; animation-delay: 0s; }
.sparkles i:nth-child(2) { left: 22%; bottom: 2%; width: 8px; height: 8px; animation-delay: .7s; }
.sparkles i:nth-child(3) { left: 41%; top: 0; width: 9px; height: 9px; animation-delay: 1.5s; }
.sparkles i:nth-child(4) { left: 60%; bottom: 0; animation-delay: .35s; }
.sparkles i:nth-child(5) { left: 78%; top: 4%; width: 8px; height: 8px; animation-delay: 1.1s; }
.sparkles i:nth-child(6) { right: 3%; top: 40%; width: 10px; height: 10px; animation-delay: 1.9s; }
.sparkles i:nth-child(7) { left: 1%; top: 46%; width: 7px; height: 7px; animation-delay: 2.2s; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.2) rotate(0deg); } 18% { opacity: 1; transform: scale(1) rotate(45deg); } 36% { opacity: 0; transform: scale(.3) rotate(90deg); } }
@media (prefers-reduced-motion: reduce) { .cta, .cta::before, .cta::after, .sparkles i { animation: none !important; } .sparkles { display: none; } }

/* ---------- Tip button: warm, bold, the clear second choice after Start reading ---------- */
.tip-btn {
  position: relative; display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 12px;
  padding: 11px 16px 11px 11px; border: 0; border-radius: 22px; cursor: pointer; text-align: left;
  color: #2a1230;
  background: linear-gradient(115deg, #FFC9A6 0%, #FFAFA0 38%, #F7A6CF 72%, #E6B4FF 100%);
  background-size: 160% 100%;
  box-shadow: 0 12px 30px -14px rgba(255, 150, 140, .9), inset 0 1px 0 rgba(255, 255, 255, .55);
  animation: tipFlow 7s ease-in-out infinite;
  transition: transform .15s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.tip-btn:active { transform: scale(.98); }
@keyframes tipFlow { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.tip-heart {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px rgba(255, 255, 255, .6), 0 4px 12px -4px rgba(214, 70, 110, .6);
}
.tip-heart svg { width: 20px; height: 20px; fill: #E0457B; animation: heartbeat 1.6s ease-in-out infinite; transform-origin: center; }
@keyframes heartbeat { 0%, 60%, 100% { transform: scale(1); } 15% { transform: scale(1.22); } 30% { transform: scale(.96); } 45% { transform: scale(1.12); } }
.tip-text { flex: 1 1 auto; display: grid; gap: 1px; min-width: 0; }
.tip-text b { font-size: 15.5px; font-weight: 650; letter-spacing: .005em; }
.tip-text small { font-size: 12.5px; color: rgba(42, 18, 48, .72); line-height: 1.3; }
.tip-arrow { flex: 0 0 auto; font-size: 26px; line-height: 1; color: rgba(42, 18, 48, .55); margin-right: 2px; }
.card-tip { margin-top: 16px; }
@media (prefers-reduced-motion: reduce) { .tip-btn, .tip-heart svg { animation: none !important; } }

/* Legal links: a slim vertical rail on the right edge, beside the sphere */
.legal-rail {
  position: absolute; right: 2px; top: 50%; transform: translateY(-50%); z-index: 3; pointer-events: auto;
  writing-mode: vertical-rl; display: flex; align-items: center; gap: 8px;
  font-size: 11.5px; letter-spacing: .04em; color: var(--ink-faint);
}
.legal-rail a { color: var(--ink-faint); text-decoration: none; padding: 10px 6px; }
.legal-rail a:active { color: var(--ink); }
body.introing .legal-rail, body.onboarding .legal-rail { opacity: 0; pointer-events: none; }
.legal-rail { transition: opacity .7s var(--ease) .3s; }
.ob-legal { font-size: 12.5px; color: var(--ink-faint); text-align: center; margin: 14px 0 0; line-height: 1.5; }
.ob-legal a { color: var(--ink-soft); text-underline-offset: 2px; }

/* ---------- Home: one human headline, one kind line, astrology in small print ---------- */
.pill-hint { display: none !important; }
.forecast { padding-bottom: 4px; }
.dateline { margin: 0 0 8px; }
.forecast-text { font-size: clamp(27px, 7.6vw, 34px); line-height: 1.16; letter-spacing: -.012em; margin: 0 0 12px; text-wrap: balance; }
.forecast-support { font-family: var(--serif); font-style: italic; font-variation-settings: "SOFT" 100, "opsz" 24; font-size: 18px; line-height: 1.45; color: var(--ink-soft); margin: 0 0 14px; text-wrap: pretty; }
.forecast-tech { font-size: 12.5px; line-height: 1.5; color: var(--ink-faint); margin: 0; }
@media (max-height: 720px) {
  .forecast-text { font-size: 24px; margin-bottom: 8px; }
  .forecast-support { font-size: 16px; margin-bottom: 8px; }
}

/* ---------- Reading cards: plain headline, timing pill, kind lead, then the astrology in small print ---------- */
.pill { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 6px 12px; margin: 0 0 14px; text-shadow: none; }
.tech { margin: 6px 0 0; padding: 10px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-shadow: none; }
.tech-name { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink); margin: 0; min-height: 28px; cursor: pointer; list-style: none; }
.tech-name::-webkit-details-marker { display: none; }
.tech-name > span:not(.tech-glyphs):not(.tech-more) { flex: 1 1 auto; min-width: 0; }
.tech-more { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 400; font-size: 15px; line-height: 1; color: var(--ink-soft); transition: transform .25s var(--ease); }
.tech[open] .tech-more { transform: rotate(45deg); }
.tech[open] .tech-text { margin-top: 8px; }
.tech-glyphs { display: inline-flex; gap: 6px; font-size: 18px; font-family: "Apple Symbols", "Segoe UI Symbol", "Noto Sans Symbols", serif; font-weight: 400; }
.tech-glyphs .asp { color: var(--accent); font-size: 14px; align-self: center; }
.tech-text { font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); margin: 0; }
.moon-row { display: flex; align-items: center; gap: 14px; margin: 0 0 12px; }
.moon-row .card-title { margin: 0; }
.moon-row .moon-svg { flex: 0 0 auto; width: 58px; height: 58px; }
.crowd-big span { font-size: 17px; margin-bottom: 4px; }

/* Final card: one line to carry with you, and a big Share button */
.closing-line {
  font-family: var(--serif); font-style: italic; font-weight: 380; font-variation-settings: "SOFT" 100, "opsz" 96;
  font-size: clamp(28px, 8vw, 38px); line-height: 1.22; letter-spacing: -.01em; margin: 4px 0 12px; padding: 0; text-wrap: balance;
}
.card-close .cite { margin: 0 0 6px; }
.card-close .cite i { font-style: italic; }
.share-btn { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 18px; padding: 18px 22px; }
.share-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.text-btn { background: none; border: 0; color: var(--ink-soft); font-size: 14.5px; text-decoration: underline; text-underline-offset: 3px; padding: 8px; cursor: pointer; }
.ghost[disabled] { opacity: .6; }

/* Birthplace suggestions */
.place-list { list-style: none; margin: -6px 0 12px; padding: 6px; border-radius: 16px; background: var(--surface-strong); border: 1px solid var(--line); max-height: 40svh; overflow-y: auto; box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .5); }
.place-list li { display: flex; flex-direction: column; gap: 2px; padding: 11px 12px; border-radius: 11px; cursor: pointer; }
.place-list li:active, .place-list li:hover { background: var(--surface); }
.place-list b { font-weight: 600; font-size: 16px; }
.place-list span { font-size: 13px; color: var(--ink-faint); }

/* Weather on the first card */
.weather-line { font-size: 15px; line-height: 1.45; color: var(--ink-soft, var(--ink)); opacity: .9; margin: 4px 0 18px; }
.weather-line .pill { margin: 0 6px 6px 0; font-size: 12px; padding: 4px 10px; vertical-align: 1px; }

/* Care card: gentle, never in the way */
.care-help { margin: 6px 0 14px; padding: 16px; border-radius: 18px; background: color-mix(in srgb, var(--ink) 8%, transparent); border: 1px solid var(--line); }
.care-help p { margin: 0 0 12px; font-size: 15px; line-height: 1.45; }
.care-help .care-btn { display: flex; justify-content: center; align-items: center; text-decoration: none; width: 100%; min-height: 48px; }
.care-help small { display: block; margin-top: 8px; font-size: 12.5px; opacity: .75; text-align: center; }
.care-skip { font-size: 13px; opacity: .65; margin: 0; }

/* Reduced motion: no pulsing, sparkles or long fades */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.card [tabindex="-1"]:focus { outline: none; }
a.menu-item { text-decoration: none; color: inherit; }

.icon-btn svg.line-icon { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card-actions .row .ghost { flex: 1; min-width: 0; line-height: 1.2; }
.card-actions .row > :only-child { grid-column: 1 / -1; }

/* ---------- Personal thread on transit cards ---------- */
.thread { font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.45; color: var(--ink-soft); margin: -2px 0 16px; padding-left: 12px; border-left: 2px solid color-mix(in srgb, var(--accent) 55%, transparent); }

/* ---------- A question to sit with ---------- */
.card-title.question { font-style: italic; }
.lead.soft { color: var(--ink-soft); font-size: 16px; }
.release-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: auto; padding: 13px 22px; }
.release-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-reflect .card-actions { align-items: flex-start; }

/* ---------- Letting go ---------- */
.release {
  position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center;
  padding: calc(var(--safe-top, 0px) + 24px) max(22px, env(safe-area-inset-right)) calc(var(--safe-bottom, 0px) + 24px) max(22px, env(safe-area-inset-left));
  background: radial-gradient(70% 50% at 50% 30%, rgba(184, 164, 255, .22), transparent 70%), rgba(14, 8, 30, .78);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #F7F2FB; animation: fade .4s both;
}
.release-inner { width: 100%; max-width: 420px; display: flex; flex-direction: column; }
.release-inner > div { display: flex; flex-direction: column; gap: 14px; }
.release .kicker { color: rgba(247, 242, 251, .65); margin: 0; }
.release-title { font-family: var(--serif); font-weight: 400; font-variation-settings: "SOFT" 100, "opsz" 72; font-size: 32px; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
.release textarea { width: 100%; min-height: 128px; resize: none; border-radius: 18px; border: 1px solid rgba(247, 242, 251, .2); background: rgba(255, 255, 255, .07); color: #F7F2FB; padding: 16px; font: 400 17px/1.5 var(--sans); }
.release textarea::placeholder { color: rgba(247, 242, 251, .45); }
.release textarea:focus { outline: none; border-color: rgba(184, 164, 255, .7); }
.release-note { margin: 0; font-size: 14px; color: rgba(247, 242, 251, .65); }
.release .text-btn { align-self: center; color: rgba(247, 242, 251, .7); }
.release .ghost { color: #F7F2FB; border-color: rgba(247, 242, 251, .25); }
.release-words { min-height: 128px; font: 400 22px/1.5 var(--serif); text-align: center; padding: 16px 0; }
.release-words span { display: inline-block; white-space: pre; will-change: transform, opacity, filter; }
.release.done #releaseAfter { animation: fade .8s both; text-align: center; align-items: center; }

/* ---------- Did your last reading feel true? ---------- */
.resonance { margin: 0 0 18px; padding: 14px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.resonance p { margin: 0 0 10px; font-size: 15px; color: var(--ink-soft); }
.res-row { display: flex; gap: 8px; flex-wrap: wrap; }
.res-row button { flex: 1 1 auto; min-height: 40px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: 500 14.5px var(--sans); padding: 8px 12px; cursor: pointer; }
.res-row button:active { background: var(--surface); }
.resonance .res-thanks { margin: 0; color: var(--ink); }
