/* ===== Lunara — design system (Figma "Lunara – Design System & Screens") =====
   New visual language applied to the existing app. Class names are unchanged;
   only the look is new. Phase accent is read from --lunara-phase (JS sets it). */

@font-face { font-family: "Fraunces"; src: url("../assets/fraunces-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../assets/fraunces-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/inter-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
/* Fraunces variable (600–700) for display weights — latin + latin-ext so ő/ű render */
@font-face { font-family: "Fraunces"; src: url("../assets/fraunces-v-latin.woff2") format("woff2"); font-weight: 600 700; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Fraunces"; src: url("../assets/fraunces-v-ext.woff2") format("woff2"); font-weight: 600 700; font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
/* Inter 700 for data values */
@font-face { font-family: "Inter"; src: url("../assets/inter-700.woff2") format("woff2"); font-weight: 700; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; src: url("../assets/inter-700-ext.woff2") format("woff2"); font-weight: 700; font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  /* base */
  --bg: #0f0f1e;                 /* near-black */
  --bg-2: #1a1b2e;               /* deep indigo */
  --line: #2a2b3e;              /* border / divider */
  /* text (never pure white) */
  --ink: #f5f3ed;
  --lavender: #e8e6f0;
  --muted: rgba(232, 230, 240, 0.7);   /* WCAG AA: emelt a sötét vásznon */
  --faint: rgba(232, 230, 240, 0.55);
  --moon-lit: #e8e6f0;
  /* gold — premium moments, play button, rank-1, primary CTA only */
  --gold: #f0c97a;
  --gold-muted: #d4af7a;
  /* phase accent — JS sets this per phase (planting/building/receiving/embodying) */
  --lunara-phase: #5a8fb5;
  /* derived, phase-tinted */
  --accent: var(--lunara-phase);
  --surface: var(--bg-2);
  --surface-tint: color-mix(in srgb, var(--lunara-phase) 12%, transparent);
  --glow-moon: 0 0 48px 4px rgba(240, 201, 122, 0.26);
  /* geometry (radius ceiling 12px, pills excepted) */
  --r: 12px; --r-sm: 10px; --pill: 999px;
  --ease: cubic-bezier(0.33, 0, 0.15, 1);
  --nav-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  font-family: "Inter", -apple-system, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6; letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .serif { font-family: "Fraunces", Georgia, serif; font-weight: 600; letter-spacing: -0.01em; line-height: 1.12; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: none; box-shadow: 0 0 0 1px rgba(240,201,122,0.5), 0 0 16px rgba(240,201,122,0.22); border-radius: var(--r-sm); }

/* canvas: deep indigo → near black, with a restrained phase-tinted glow */
.sky { position: fixed; inset: 0; z-index: -2; background:
  radial-gradient(115% 80% at 80% -10%, color-mix(in srgb, var(--lunara-phase) 26%, transparent), transparent 55%),
  linear-gradient(180deg, #1a1b2e 0%, #0f0f1e 60%);
  transition: background 1.4s var(--ease); }
.stars { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.7;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 22%, #fff8, transparent 50%),
    radial-gradient(1px 1px at 62% 12%, #fff6, transparent 50%),
    radial-gradient(1.3px 1.3px at 82% 42%, #fff9, transparent 50%),
    radial-gradient(1px 1px at 32% 62%, #fff5, transparent 50%),
    radial-gradient(1px 1px at 92% 78%, #fff7, transparent 50%),
    radial-gradient(1.2px 1.2px at 48% 88%, #fff6, transparent 50%),
    radial-gradient(1px 1px at 22% 92%, #fff5, transparent 50%);
  animation: twinkle 8s ease-in-out infinite; }
@keyframes twinkle { 0%,100% { opacity: 0.5; } 50% { opacity: 0.85; } }

/* app shell */
#app { max-width: 480px; margin: 0 auto; min-height: 100vh; padding: 0 16px calc(var(--nav-h) + 28px); position: relative; }
.view { padding-top: calc(env(safe-area-inset-top) + 26px); animation: viewIn 0.5s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.stagger > * { animation: viewIn 0.55s var(--ease) both; }
.stagger > *:nth-child(1){animation-delay:.03s} .stagger > *:nth-child(2){animation-delay:.09s}
.stagger > *:nth-child(3){animation-delay:.15s} .stagger > *:nth-child(4){animation-delay:.21s}
.stagger > *:nth-child(5){animation-delay:.27s} .stagger > *:nth-child(6){animation-delay:.33s}
.stagger > *:nth-child(7){animation-delay:.39s} .stagger > *:nth-child(8){animation-delay:.45s}

/* top bar */
.topbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 2px 0 24px; }
.brand { font-family: "Fraunces", serif; font-weight: 600; font-size: 1.7rem; letter-spacing: -0.01em; color: var(--ink); }
.brand b { color: var(--lavender); font-weight: 500; }
.topbar .date { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.02em; }

/* hero */
.hero { text-align: center; margin-bottom: 24px; }
.hero .eyebrow { color: var(--faint); font-size: 0.69rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }
.hero .quality { font-family: "Fraunces", serif; font-weight: 700; font-size: 2rem; line-height: 1.1; margin: 12px 0 10px; color: var(--accent); }
.hero .quality em { font-style: italic; color: var(--accent); }
.hero .sub { color: var(--muted); font-size: 0.95rem; max-width: 32ch; margin: 0 auto; }

/* moon (SVG built in JS) — the gold glow breathes behind it */
.moon-wrap { display: flex; justify-content: center; margin: 8px 0 24px; position: relative; }
.moon-wrap svg { border-radius: 50%; box-shadow: var(--glow-moon); animation: moonglow 6s var(--ease) infinite; }
@keyframes moonglow { 0%,100% { box-shadow: 0 0 42px 3px rgba(240,201,122,0.20); } 50% { box-shadow: 0 0 52px 5px rgba(240,201,122,0.30); } }

/* cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; margin-bottom: 14px; }
.card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.card .why { color: var(--muted); font-size: 0.92rem; line-height: 1.65; }
.label { color: var(--faint); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }

/* stat grid */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
@media (max-width: 400px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 13px 14px; }
.stat .k { color: var(--faint); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.stat .v { font-size: 1rem; font-weight: 700; margin-top: 5px; color: var(--ink); }
.stat .v.warn { color: var(--gold); } .stat .v.ok { color: var(--accent); }
.glyph { font-size: 0.95em; opacity: 0.9; }

/* cycle wheel */
.cycle { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.cycle svg { flex: 0 0 auto; }
.cycle .info { flex: 1 1 200px; min-width: 190px; }
.cycle .mode-title { font-family: "Fraunces", serif; font-weight: 600; font-size: 1.25rem; color: var(--accent); margin-bottom: 6px; }
.cycle .mode-why { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

/* pills / chips */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--pill);
  border: 1px solid var(--line); font-size: 0.78rem; color: var(--muted); }
.badge { font-size: 0.68rem; padding: 4px 11px; border-radius: var(--pill); border: 1px solid var(--line); white-space: nowrap; font-weight: 500; }
.badge.good { color: var(--accent); border-color: color-mix(in srgb, var(--lunara-phase) 45%, transparent); }
.badge.neutral { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 40%, transparent); }
.badge.wait { color: var(--faint); }

/* affirmation */
.affirm { text-align: center; background: linear-gradient(180deg, var(--surface-tint), transparent);
  border: 1px solid color-mix(in srgb, var(--lunara-phase) 30%, transparent); }
.affirm .text { font-family: "Fraunces", serif; font-style: italic; font-weight: 500; font-size: 1.4rem; color: var(--lavender); line-height: 1.4; margin: 10px 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--gold); color: var(--bg); font-weight: 600; padding: 14px 22px; border-radius: var(--pill);
  width: 100%; transition: transform 0.15s var(--ease), filter 0.15s; }
.btn:active { transform: scale(0.98); } .btn:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--lavender); border: 1px solid var(--line); }
.btn.ghost:hover { filter: none; border-color: color-mix(in srgb, var(--lunara-phase) 50%, var(--line)); }
.btn.gold { background: var(--gold); color: var(--bg); }

/* actions list */
.action { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 10px; background: var(--surface); }
.action-head { width: 100%; display: flex; align-items: center; gap: 11px; padding: 15px; text-align: left; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.dot.good { background: var(--accent); box-shadow: 0 0 8px color-mix(in srgb, var(--lunara-phase) 55%, transparent); }
.dot.neutral { background: var(--gold); } .dot.wait { background: var(--faint); }
.action-head .l { flex: 1; font-size: 0.95rem; color: var(--ink); }
.chev { color: var(--muted); transition: transform 0.25s var(--ease); }
.action.open .chev { transform: rotate(180deg); }
.action-body { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
.action.open .action-body { max-height: 640px; }
.action-body .inner { padding: 0 15px 15px; }

/* windows */
.window { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--line);
  border-radius: var(--r); padding: 12px 14px; margin-bottom: 8px; }
.window.voc { opacity: 0.5; }
.window .when { font-weight: 600; font-size: 0.9rem; color: var(--ink); } .window .reasons { color: var(--faint); font-size: 0.76rem; }
.window .score { color: var(--gold); font-weight: 700; }

/* bottom nav */
.nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; height: var(--nav-h);
  display: flex; justify-content: center; padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, var(--bg) 45%); }
.nav-inner { display: flex; gap: 2px; background: color-mix(in srgb, var(--bg-2) 82%, transparent); backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: var(--pill); padding: 5px; max-width: 460px; width: 100%; }
.nav button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 4px;
  border-radius: var(--pill); color: var(--faint); font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; transition: color 0.2s; }
.nav button .ic { font-size: 1.15rem; line-height: 1; }
.nav button.active { color: var(--accent); }
.nav button.active .ic { color: var(--accent); }

/* meditation overlay */
.overlay { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center;
  padding: 22px; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(14px); animation: viewIn 0.4s var(--ease); }
.overlay[hidden] { display: none; }
.player { position: relative; text-align: center; max-width: 400px; width: 100%; }
.player .close { position: absolute; top: -6px; right: 0; color: var(--muted); font-size: 1.2rem; padding: 6px; }
.player .title { font-family: "Fraunces", serif; font-weight: 600; font-size: 1.35rem; color: var(--accent); margin-bottom: 28px; }
.breath { width: 172px; height: 172px; border-radius: 50%; margin: 0 auto 28px; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle, color-mix(in srgb, var(--lunara-phase) 40%, transparent), transparent 70%);
  border: 1px solid color-mix(in srgb, var(--lunara-phase) 55%, transparent);
  box-shadow: 0 0 60px color-mix(in srgb, var(--lunara-phase) 30%, transparent); transform: scale(0.66); }
.breath.breathing { animation: breathe 10s ease-in-out infinite; } .breath.paused { animation-play-state: paused; }
.breath span { font-size: 0.9rem; letter-spacing: 0.05em; color: var(--lavender); }
@keyframes breathe { 0% { transform: scale(0.66); } 40% { transform: scale(1); } 100% { transform: scale(0.66); } }
.player .step { min-height: 68px; font-size: 1.05rem; line-height: 1.55; margin-bottom: 18px; color: var(--lavender); }
.dots { display: flex; gap: 6px; justify-content: center; margin-bottom: 22px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.dots i.on { background: var(--accent); }
.pctrl { display: flex; gap: 10px; justify-content: center; }
.pctrl button { border: 1px solid var(--line); border-radius: var(--pill); padding: 10px 20px; font-size: 0.9rem; color: var(--lavender); }
.pctrl button.on { color: var(--accent); border-color: color-mix(in srgb, var(--lunara-phase) 45%, var(--line)); }

/* onboarding */
.ob { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 20px calc(var(--nav-h)); }
.ob .step-n { color: var(--faint); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }
.ob h1 { font-size: 2rem; font-weight: 700; margin: 12px 0 6px; }
.ob p.lead { color: var(--muted); margin-bottom: 26px; }
.field { margin-bottom: 16px; }
.field label { display: block; color: var(--faint); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; margin-bottom: 8px; }
.field input, .field select { width: 100%; background: var(--bg); border: 1px solid var(--line); color: var(--ink);
  border-radius: var(--r-sm); padding: 14px; font: inherit; }
.field input:focus, .field select:focus { outline: none; border-color: color-mix(in srgb, var(--lunara-phase) 55%, var(--line)); }
.toggle-row { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.88rem; margin: 4px 0 18px; }
.results-list { list-style: none; }
.city-opt { padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 6px; cursor: pointer; }
.city-opt:hover { border-color: color-mix(in srgb, var(--lunara-phase) 50%, var(--line)); }
.city-opt small { color: var(--faint); }

/* journal */
.journal-entry { border-left: 2px solid var(--accent); padding: 4px 0 4px 14px; margin-bottom: 16px; }
.journal-entry .meta { color: var(--faint); font-size: 0.74rem; }
.journal-entry .body { font-family: "Fraunces", serif; font-style: italic; color: var(--lavender); margin-top: 4px; line-height: 1.5; }
textarea { width: 100%; min-height: 90px; background: var(--bg); border: 1px solid var(--line); color: var(--ink);
  border-radius: var(--r-sm); padding: 14px; font: inherit; resize: vertical; }
textarea:focus { outline: none; border-color: color-mix(in srgb, var(--lunara-phase) 55%, var(--line)); }

.center { text-align: center; } .muted { color: var(--muted); } .mt { margin-top: 14px; } .small { font-size: 0.84rem; }
.divider { height: 1px; background: var(--line); margin: 20px 0; border: none; }
.sov { font-style: italic; color: var(--faint); font-size: 0.86rem; text-align: center; line-height: 1.7; }

/* small button + control rows */
.btn.sm { width: auto; padding: 10px 16px; font-size: 0.86rem; font-weight: 500; }
.aff-ctrl { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* language switch */
.tb-right { display: flex; align-items: center; gap: 12px; }
.lang-switch { border: 1px solid var(--line); border-radius: var(--pill); padding: 5px 11px; font-size: 0.64rem; font-weight: 600; letter-spacing: 0.1em; color: var(--muted); transition: color 0.2s, border-color 0.2s; }
.lang-switch:hover { color: var(--ink); border-color: color-mix(in srgb, var(--lunara-phase) 50%, var(--line)); }
.ob-lang { position: absolute; top: 22px; right: 20px; }

/* phase-shift banner (Home) */
.shift-card { position: relative; border-radius: var(--r); padding: 18px 20px; margin-bottom: 20px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--lunara-phase) 18%, transparent), color-mix(in srgb, var(--lunara-phase) 5%, transparent));
  border: 1px solid color-mix(in srgb, var(--lunara-phase) 32%, transparent);
  border-left: 3px solid var(--lunara-phase); }
.shift-x { position: absolute; top: 8px; right: 10px; color: var(--muted); font-size: 1rem; padding: 6px; line-height: 1; }
.shift-x:hover { color: var(--ink); }
.shift-eyebrow { color: var(--faint); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; padding-right: 20px; }
.shift-title { font-family: "Fraunces", serif; font-weight: 600; font-size: 1.3rem; color: var(--accent); margin: 8px 0 5px; }
.shift-body { color: var(--muted); font-size: 0.9rem; margin-bottom: 12px; }

/* phase reminder toggle (cycle card) */
.notify-toggle { display: flex; align-items: center; gap: 8px; width: 100%; justify-content: center;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  color: var(--faint); font-size: 0.82rem; letter-spacing: 0.02em; transition: color 0.2s; }
.notify-toggle b { color: var(--muted); font-weight: 600; }
.notify-toggle:hover { color: var(--muted); }
.notify-toggle.on { color: var(--accent); } .notify-toggle.on b { color: var(--accent); }
.notify-toggle .nt-ic { font-size: 0.95rem; }

/* ===== self-voice studio ===== */
.studio { position: relative; text-align: center; max-width: 420px; width: 100%; padding: 6px 2px; }
.studio .close { position: absolute; top: -4px; right: 2px; color: var(--muted); font-size: 1.2rem; padding: 6px; z-index: 2; }
.st-eyebrow { color: var(--faint); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }
.st-title { font-family: "Fraunces", serif; font-weight: 700; font-size: 1.85rem; line-height: 1.14; margin: 12px 0 14px; color: var(--ink); }
.st-lead { color: var(--muted); font-size: 0.92rem; max-width: 34ch; margin: 0 auto 8px; line-height: 1.6; }
.st-lead b { color: var(--lavender); font-weight: 500; }
.st-choice { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.st-opt { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; transition: border-color 0.18s, transform 0.15s var(--ease); }
.st-opt:hover { border-color: color-mix(in srgb, var(--lunara-phase) 50%, var(--line)); } .st-opt:active { transform: scale(0.985); }
.st-opt-h { display: flex; justify-content: space-between; align-items: baseline; font-family: "Fraunces", serif; font-weight: 600; font-size: 1.15rem; color: var(--accent); }
.st-min { font-family: "Inter", sans-serif; font-size: 0.72rem; color: var(--faint); letter-spacing: 0.04em; }
.st-opt-s { color: var(--muted); font-size: 0.85rem; margin-top: 5px; }
.st-later { display: block; margin: 20px auto 0; color: var(--muted); font-size: 0.86rem; padding: 8px 14px; }
.st-later:hover { color: var(--ink); }

.st-mic { font-size: 3rem; margin: 10px 0; }
.st-mic-wrap { display: flex; justify-content: center; margin: 22px 0 14px; }
.st-recbtn { width: 88px; height: 88px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--lunara-phase) 45%, transparent);
  background: radial-gradient(circle, color-mix(in srgb, var(--lunara-phase) 26%, transparent), transparent 72%);
  display: flex; align-items: center; justify-content: center; transition: transform 0.15s var(--ease), box-shadow 0.3s; }
.st-recbtn:active { transform: scale(0.94); }
.st-recdot { width: 30px; height: 30px; border-radius: 50%; background: var(--gold); transition: all 0.25s var(--ease); }
.st-recbtn.recording { border-color: var(--gold); box-shadow: 0 0 0 0 #f0c97a66; animation: recpulse 1.6s ease-out infinite; }
.st-recbtn.recording .st-recdot { width: 26px; height: 26px; border-radius: 7px; }
@keyframes recpulse { 0% { box-shadow: 0 0 0 0 #f0c97a55; } 100% { box-shadow: 0 0 0 22px #f0c97a00; } }
.st-line { font-family: "Fraunces", serif; font-weight: 500; font-size: 1.28rem; line-height: 1.45; color: var(--lavender); margin: 6px auto 4px; max-width: 30ch; min-height: 82px; }
.st-status { color: var(--muted); font-size: 0.85rem; min-height: 22px; }
.st-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 18px; min-height: 40px; }
.st-dots { display: flex; gap: 5px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.st-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background 0.2s; }
.st-dots i.on { background: var(--accent); transform: scale(1.3); } .st-dots i.done { background: color-mix(in srgb, var(--lunara-phase) 60%, transparent); }

/* ===== manifestation loop (intentions + rhythm) ===== */
.streak-chip { display: flex; align-items: center; gap: 7px; width: fit-content; margin: 0 auto 20px;
  padding: 6px 14px; border-radius: var(--pill); border: 1px solid var(--line);
  color: var(--muted); font-size: 0.72rem; letter-spacing: 0.06em; }
.sc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lunara-phase); box-shadow: 0 0 8px color-mix(in srgb, var(--lunara-phase) 60%, transparent); }
.streak-chip.cycle { color: var(--gold-muted); border-color: color-mix(in srgb, var(--gold) 36%, transparent); }
.streak-chip.cycle .sc-dot { background: var(--gold); box-shadow: 0 0 8px color-mix(in srgb, var(--gold) 55%, transparent); }
.seed-age { color: var(--faint); font-size: 0.74rem; margin-top: 6px; letter-spacing: 0.02em; }

.intention { border: 1px solid color-mix(in srgb, var(--lunara-phase) 26%, var(--line)); }
.intention-text { font-family: "Fraunces", serif; font-style: italic; font-weight: 500; font-size: 1.25rem; line-height: 1.45; color: var(--lavender); }
.intention-close { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }

.manifest-list { display: flex; flex-direction: column; gap: 10px; }
.manifest-item { border: 1px solid var(--line); border-left: 2px solid var(--line); border-radius: var(--r); padding: 13px 15px; background: var(--surface); }
.manifest-item.growing { border-left-color: var(--lunara-phase); }
.manifest-item.embodied { border-left-color: var(--gold); }
.manifest-item.released { opacity: 0.55; }
.mi-head { display: flex; align-items: center; gap: 8px; }
.mi-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.mi-dot.growing { background: var(--lunara-phase); }
.mi-dot.embodied { background: var(--gold); box-shadow: 0 0 8px color-mix(in srgb, var(--gold) 55%, transparent); }
.mi-status { font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); font-weight: 500; }
.manifest-item.embodied .mi-status { color: var(--gold-muted); }
.mi-text { font-family: "Fraunces", serif; font-style: italic; color: var(--lavender); margin: 6px 0 4px; line-height: 1.45; }
.mi-meta { color: var(--faint); font-size: 0.72rem; }

.celebrate-card { border-left: 3px solid var(--gold);
  background: linear-gradient(150deg, color-mix(in srgb, var(--gold) 16%, transparent), color-mix(in srgb, var(--gold) 4%, transparent)); }
.celebrate-card .shift-eyebrow { color: var(--gold-muted); }
.celebrate-card .shift-title { color: var(--gold); }

/* ===== Lunara+ (paywall + upsell) ===== */
.plus { max-width: 400px; }
.plus-gate { margin: 14px 0 4px; padding: 10px 14px; border-radius: var(--r); font-size: 0.85rem; color: var(--gold-muted);
  background: color-mix(in srgb, var(--gold) 10%, transparent); border: 1px solid color-mix(in srgb, var(--gold) 26%, transparent); }
.plus-feats { list-style: none; text-align: left; margin: 22px auto; max-width: 34ch; display: flex; flex-direction: column; gap: 14px; }
.plus-feats li { position: relative; padding-left: 30px; color: var(--lavender); font-size: 0.95rem; line-height: 1.5; }
.plus-feats li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--gold); }
.plus-feats li b { color: var(--ink); font-weight: 600; }
.plus-price { font-family: "Fraunces", serif; font-weight: 600; font-size: 1.15rem; color: var(--ink); margin: 8px 0 16px; }
.plus-badge { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 8px; border-radius: var(--pill);
  font-family: "Inter", sans-serif; font-size: 0.6rem; letter-spacing: 0.06em; font-weight: 600; text-transform: none;
  color: var(--gold); border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); }
.plus-inline { display: block; width: fit-content; margin: 2px auto 14px; padding: 8px 14px; border-radius: var(--pill);
  border: 1px solid color-mix(in srgb, var(--gold) 30%, var(--line)); color: var(--gold-muted); font-size: 0.8rem; }
.plus-entry { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 100%; margin: 8px 0 20px;
  padding: 16px; border-radius: var(--r); text-align: center;
  background: linear-gradient(150deg, color-mix(in srgb, var(--gold) 12%, transparent), transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 26%, transparent); transition: border-color 0.2s; }
.plus-entry:hover { border-color: color-mix(in srgb, var(--gold) 45%, transparent); }
.pe-mark { color: var(--gold); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.pe-sub { font-family: "Fraunces", serif; font-weight: 600; font-size: 1.15rem; color: var(--lavender); }

/* ===== personalization (natal signature + today-for-you) ===== */
.natal-card, .today-you { border-color: color-mix(in srgb, var(--lunara-phase) 24%, var(--line)); }
.natal-card .why, .today-you .why { color: var(--lavender); }
.today-you .label { color: var(--accent); }
.ob-signature { font-family: "Fraunces", serif; font-style: italic; font-weight: 500; font-size: 1.15rem; line-height: 1.5;
  color: var(--accent); max-width: 32ch; margin: 6px auto 22px; }

/* ===== moon ritual moments (new moon / full moon) ===== */
.ritual-card { border-radius: var(--r); padding: 20px 22px; margin-bottom: 22px; text-align: center;
  background: linear-gradient(150deg, color-mix(in srgb, var(--lunara-phase) 22%, transparent), color-mix(in srgb, var(--lunara-phase) 6%, transparent));
  border: 1px solid color-mix(in srgb, var(--lunara-phase) 36%, transparent);
  box-shadow: 0 0 44px color-mix(in srgb, var(--lunara-phase) 16%, transparent); }
.ritual-card .shift-title { color: var(--accent); font-size: 1.35rem; margin: 0 0 8px; }
.ritual-card .shift-body { color: var(--lavender); font-size: 0.92rem; line-height: 1.6; margin: 0; }
.ritual-echo { font-family: "Fraunces", serif; font-style: italic; font-weight: 500; color: var(--accent); margin-top: 14px; line-height: 1.5; }

/* ===== time capsule (intention in your own voice) ===== */
.cap-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 8px 14px;
  border-radius: var(--pill); border: 1px solid var(--line); color: var(--muted); font-size: 0.8rem;
  transition: color 0.2s, border-color 0.2s; }
.cap-btn:hover { color: var(--lavender); border-color: color-mix(in srgb, var(--lunara-phase) 45%, var(--line)); }
.cap-btn.cap-play { color: var(--accent); border-color: color-mix(in srgb, var(--lunara-phase) 35%, var(--line)); }

/* ===== icon system + mini moons ===== */
.ic-svg { vertical-align: -3px; flex: 0 0 auto; }
.st-mic .ic-svg { color: var(--accent); }
.pm svg { vertical-align: -3px; }
.ritual-moon { display: flex; justify-content: center; margin-bottom: 10px; }
.seed-age .ic-svg { color: var(--lunara-phase); vertical-align: -2px; }

/* ===== honest voice-model note + patterns + install chip ===== */
.st-model { font-size: 0.8rem; color: var(--faint); margin-top: 10px; }
.pat-list { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 9px; }
.pat-list li { position: relative; padding-left: 18px; color: var(--lavender); font-size: 0.92rem; }
.pat-list li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 6px; height: 6px; border-radius: 50%; background: var(--lunara-phase); opacity: 0.7; }
.install-chip { display: flex; align-items: center; gap: 8px; width: fit-content; margin: 0 auto 18px; padding: 9px 16px;
  border-radius: var(--pill); border: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; transition: color 0.2s, border-color 0.2s; }
.install-chip:hover { color: var(--lavender); border-color: color-mix(in srgb, var(--lunara-phase) 45%, var(--line)); }

/* ===== moon calendar ===== */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-month { font-family: "Fraunces", serif; font-weight: 600; font-size: 1.2rem; color: var(--ink); text-transform: capitalize; }
.cal-nav { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); color: var(--muted);
  font-size: 1.25rem; line-height: 1; display: grid; place-items: center; transition: color 0.2s, border-color 0.2s; }
.cal-nav:hover { color: var(--ink); border-color: color-mix(in srgb, var(--lunara-phase) 50%, var(--line)); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-wd { margin-bottom: 6px; }
.cal-wdc { text-align: center; font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.cal-day { position: relative; min-height: 56px; border: 1px solid transparent; border-radius: var(--r-sm);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 5px 0 6px; }
.cal-day.empty { visibility: hidden; }
.cal-day .cal-num { font-size: 0.64rem; color: var(--faint); line-height: 1; }
.cal-day.today { border-color: var(--lunara-phase); }
.cal-day.today .cal-num { color: var(--ink); font-weight: 600; }
.cal-day.sel { background: var(--surface); border-color: color-mix(in srgb, var(--lunara-phase) 50%, var(--line)); }
.cal-day.ev { border-color: color-mix(in srgb, var(--gold) 34%, transparent); }
.cal-marks { display: flex; gap: 3px; height: 4px; }
.cal-marks i { width: 4px; height: 4px; border-radius: 50%; }
.m-seed { background: var(--lunara-phase); }
.m-harv { background: var(--gold); }
.cal-legend { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 14px 0 4px; font-size: 0.7rem; color: var(--faint); }
.cal-legend .lg { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.cal-legend .m-ev { background: var(--gold-muted); }
.cal-detail { margin-top: 12px; }
.cal-detail-row { display: flex; gap: 14px; align-items: center; margin-top: 10px; }
.cal-detail-row svg { flex: 0 0 auto; }
.cal-detail-phase { font-weight: 600; color: var(--ink); margin-bottom: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, .stars, .breath.breathing, .moon-wrap svg { animation: none !important; }
  .view, .stagger > * { animation: none !important; }
}
