/* ============================================================
   innerbloom — iOS app layer
   Device frame, scaling stage, 3 navigation styles (tab bars),
   onboarding, home, and profile. Loads AFTER ds css so it wins.
   Brand stays soft pastel; rainbow only inside Rainbow Number.
   ============================================================ */

/* ---------- Page / stage ---------- */
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font-sans);
  background: #ece3df;
  background-image:
    radial-gradient(ellipse 60% 50% at 18% 8%, rgba(253,214,196,0.40), transparent 60%),
    radial-gradient(ellipse 55% 45% at 86% 4%, rgba(253,196,197,0.34), transparent 60%),
    radial-gradient(ellipse 70% 55% at 92% 96%, rgba(169,204,226,0.30), transparent 60%),
    radial-gradient(ellipse 60% 50% at 6% 96%, rgba(224,202,213,0.26), transparent 60%);
  color: var(--text-primary);
  overflow: hidden;
}
#root { position: fixed; inset: 0; }
.ib-stage {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.ib-scaler { transform-origin: center center; }

/* ---------- iPhone frame ---------- */
.ib-device {
  position: relative;
  width: 402px; height: 874px;
  border-radius: 60px;
  padding: 12px;
  background: linear-gradient(150deg, #e9d9d2, #cdb6ad 40%, #e7d6cf 70%, #c8b1a8);
  box-shadow:
    0 2px 2px rgba(255,255,255,0.6) inset,
    0 -1px 2px rgba(120,90,90,0.3) inset,
    0 40px 90px rgba(120, 80, 90, 0.40),
    0 12px 30px rgba(120, 80, 90, 0.28);
}
/* titanium rail highlight */
.ib-device::before {
  content: ""; position: absolute; inset: 3px; border-radius: 57px;
  background: linear-gradient(150deg, rgba(255,255,255,0.5), rgba(255,255,255,0) 30%, rgba(120,80,90,0.18));
  pointer-events: none; z-index: 3;
}
.ib-side-btn { position: absolute; background: #c9b4ab; border-radius: 2px; box-shadow: -1px 0 2px rgba(120,80,90,0.3) inset; }
.ib-side-btn.silent { left: -2px; top: 150px; width: 3px; height: 26px; }
.ib-side-btn.volup  { left: -2px; top: 210px; width: 3px; height: 52px; }
.ib-side-btn.voldn  { left: -2px; top: 278px; width: 3px; height: 52px; }
.ib-side-btn.power  { right: -2px; top: 240px; width: 3px; height: 84px; border-radius: 2px; box-shadow: 1px 0 2px rgba(120,80,90,0.3) inset; }

/* screen */
.ib-screen-wrap {
  position: relative;
  width: 378px; height: 850px;
  border-radius: 49px;
  overflow: hidden;
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 82% 40% at 16% 0%, rgba(253,214,196,0.50) 0%, transparent 58%),
    radial-gradient(ellipse 70% 38% at 92% 2%, rgba(253,196,197,0.42) 0%, transparent 58%),
    radial-gradient(ellipse 80% 50% at 100% 86%, rgba(169,204,226,0.40) 0%, transparent 58%),
    radial-gradient(ellipse 74% 50% at 0% 98%, rgba(224,202,213,0.34) 0%, transparent 58%);
  box-shadow: 0 0 0 7px #0d0a0c, 0 0 0 8px rgba(255,255,255,0.05);
  z-index: 1;
}

/* Dynamic Island */
.ib-island {
  position: absolute; top: 13px; left: 50%; transform: translateX(-50%);
  width: 122px; height: 35px; border-radius: 20px; background: #0a070a;
  z-index: 40; display: flex; align-items: center; justify-content: flex-end;
  padding-right: 11px; gap: 8px;
}
.ib-island::after { content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #243042, #0c0f15 70%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04); }

/* status bar (real, fixed to top of screen) */
.ib-status {
  position: absolute; top: 0; left: 0; right: 0; height: 54px; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 30px 0; pointer-events: none;
  color: var(--text-primary);
}
.ib-status .t { font-size: 15px; font-weight: 700; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.ib-status .r { display: flex; align-items: center; gap: 7px; }
.ib-status svg { display: block; }

/* home indicator */
.ib-home-ind {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 134px; height: 5px; border-radius: 3px; background: rgba(52,36,58,0.32); z-index: 50;
  pointer-events: none;
}

/* ---------- Screen scaffold (inside frame) ---------- */
.scr { position: absolute; inset: 0; display: flex; flex-direction: column; }
.scr-scroll {
  flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding-top: 54px;
}
.scr-scroll::-webkit-scrollbar { width: 0; }
.scr-scroll.pushed { padding-top: 100px; }
/* keep generated results visible even on a frozen-timeline capture */
.results-section { animation: ibSlide 0.4s var(--ease-soft) both !important; }
.scr-pad { padding: 0 20px; }
.tabpad { height: 96px; }     /* clearance for tab bar */
.flowpad { height: 28px; }

/* fade-in for screen transitions (calm) — transform-only so content is
   never hidden in a static/first-frame capture (opacity stays 1) */
.fade { animation: ibSlide 0.34s var(--ease-soft) both; }
.fade-soft { animation: ibSlideSoft 0.32s var(--ease-soft) both; }
@keyframes ibSlide { from { transform: translateY(9px); } to { transform: none; } }
@keyframes ibSlideSoft { from { transform: translateY(7px); } to { transform: none; } }

/* ---------- Generic large nav header ---------- */
.lhead { padding: 6px 20px 10px; }
.lhead .ey { font: var(--text-eyebrow); letter-spacing: 0.10em; text-transform: uppercase; color: var(--accent-coral); }
.lhead h1 { margin: 4px 0 0; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: var(--text-primary); }
.lhead .sub { margin: 6px 0 0; font-size: 14px; color: var(--text-secondary); line-height: 1.5; }

/* in-flow back header (for pushed screens) */
.phead {
  position: absolute; top: 0; left: 0; right: 0; height: 96px; z-index: 25;
  display: flex; align-items: flex-end; gap: 6px; padding: 0 14px 10px;
  background: linear-gradient(180deg, rgba(255,253,249,0.92) 40%, rgba(255,253,249,0));
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.phead .back {
  display: inline-flex; align-items: center; gap: 2px;
  background: none; border: none; cursor: pointer; padding: 6px 8px 6px 4px;
  color: var(--accent-coral); font-size: 17px; font-weight: 500; font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
.phead .back:active { opacity: 0.5; }
.phead .ptitle { flex: 1; text-align: center; font-size: 17px; font-weight: 700; color: var(--text-primary); margin-right: 44px; }
.phead.solid { background: rgba(255,253,249,0.86); border-bottom: 1px solid var(--border); }

/* ---------- Lang toggle (pill, top-right under island) ---------- */
.lang-pill {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 100px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow-sm);
}
.lang-pill button {
  border: none; background: none; cursor: pointer; font-family: inherit;
  font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 100px;
  color: var(--text-dim); transition: all 0.2s var(--ease-soft);
  -webkit-tap-highlight-color: transparent;
}
.lang-pill button.on { background: var(--accent-coral); color: #fff; box-shadow: 0 2px 8px rgba(236,151,152,0.4); }

/* ============================================================
   ENTRY CARDS (home / tools) — soft pastel
   ============================================================ */
.entry {
  display: flex; align-items: center; gap: 15px; width: 100%; text-align: left;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 15px 16px; cursor: pointer; font-family: inherit;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s var(--ease-soft), border-color 0.18s, background 0.18s;
  -webkit-tap-highlight-color: transparent;
}
.entry:active { transform: scale(0.98); background: var(--bg-card-hover); border-color: var(--border-bright); }
.entry-ic {
  width: 50px; height: 50px; border-radius: 16px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.entry-ic svg { width: 26px; height: 26px; }
.entry-ic.tools { background: linear-gradient(135deg, var(--tint-coral), var(--tint-peach)); border: 1px solid rgba(236,151,152,0.30); color: #e2867f; }
.entry-ic.med   { background: linear-gradient(135deg, var(--tint-soft-blue), rgba(224,202,213,0.20)); border: 1px solid rgba(127,168,216,0.32); color: #6f9bcf; }
.entry-ic.event { background: linear-gradient(135deg, var(--tint-peach), var(--tint-coral)); border: 1px solid rgba(253,192,130,0.40); color: #ee9a5b; }
.entry-ic.consult { background: linear-gradient(135deg, var(--tint-coral), var(--tint-soft-blue)); border: 1px solid rgba(236,151,152,0.30); color: #e58fa6; }
.entry-ic.rainbow { background: linear-gradient(135deg, var(--tint-coral), var(--tint-soft-blue)); border: 1px solid rgba(150,110,130,0.2); color: #b56f9a; }
.entry-ic.card  { background: linear-gradient(135deg, var(--tint-peach), rgba(224,202,213,0.22)); border: 1px solid rgba(253,192,130,0.3); color: #d98f6a; }
.entry-bd { flex: 1; min-width: 0; }
.entry-tt { font-size: 16px; font-weight: 700; color: var(--text-primary); }
.entry-ds { font-size: 12.5px; color: var(--text-secondary); margin-top: 2px; line-height: 1.4; }
.entry-ar { color: var(--text-dim); font-size: 22px; font-weight: 300; flex-shrink: 0; }

.stack { display: flex; flex-direction: column; gap: 12px; }
.eyebrow { font: var(--text-eyebrow); letter-spacing: 0.10em; text-transform: uppercase; color: var(--text-secondary); opacity: 0.9; }

/* ============================================================
   HOME
   ============================================================ */
.home-top { display: flex; align-items: flex-start; justify-content: space-between; padding: 4px 20px 0; }
.home-greet .hi { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-coral); }
.home-greet h1 { margin: 3px 0 0; font-size: 27px; font-weight: 800; letter-spacing: -0.02em; color: var(--text-primary); }

/* today's card — soft hero */
.today {
  margin: 0 20px; border-radius: 24px; overflow: hidden; position: relative;
  background: var(--brand-gradient);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,0.5);
}
.today-inner { padding: 20px; display: flex; gap: 16px; align-items: center; }
.today-glyph {
  width: 68px; height: 68px; border-radius: 20px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 34px;
  background: rgba(255,255,255,0.55); color: #c66b6f;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
  animation: ib-pulse-soft 5s var(--ease-soft) infinite;
}
.today-tx { flex: 1; min-width: 0; }
.today-ey { font-size: 10.5px; font-weight: 800; letter-spacing: 0.10em; text-transform: uppercase; color: rgba(52,36,58,0.6); }
.today-tt { font-size: 18px; font-weight: 800; color: #4a2f3e; margin-top: 4px; line-height: 1.25; }
.today-cta { font-size: 12.5px; font-weight: 700; color: #b15f6a; margin-top: 8px; display: inline-flex; gap: 4px; align-items: center; }

/* my numbers mini */
.nums-row { display: flex; gap: 12px; padding: 0 20px; }
.numcard {
  flex: 1; background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px;
  padding: 14px; text-align: center; box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.numcard .lab { font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.numcard.solar .lab { color: var(--gold); }
.numcard.lunar .lab { color: var(--blue); }
.numcard .big { font-size: 40px; font-weight: 900; line-height: 1; margin-top: 4px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.numcard.solar .big { background: linear-gradient(135deg,#f07820,#e82020); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.numcard.lunar .big { background: linear-gradient(135deg,#1868c8,#2838b8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.numcard .cap { font-size: 11px; color: var(--text-secondary); margin-top: 4px; }

/* consultation strip */
.consult-strip {
  display: flex; align-items: center; gap: 12px; margin: 0 20px; text-decoration: none;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 14px 16px;
  box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform 0.18s var(--ease-soft);
}
.consult-strip:active { transform: scale(0.985); }
.consult-strip .cs-ic { width: 42px; height: 42px; border-radius: 13px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--tint-coral), var(--tint-soft-blue)); color: var(--accent-coral); }
.consult-strip .cs-bd { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.consult-strip .cs-tt { font-size: 14.5px; font-weight: 700; color: var(--text-primary); }
.consult-strip .cs-ds { font-size: 12px; color: var(--text-secondary); margin-top: 1px; }
.consult-strip .entry-ar { font-size: 20px; }

.coming-soon-badge {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 20px;
  background: rgba(212, 149, 106, 0.12);
  color: var(--accent-coral);
  border: 1px solid rgba(212, 149, 106, 0.28);
  pointer-events: none;
}

/* ============================================================
   PROFILE
   ============================================================ */
.pf-hero { display: flex; flex-direction: column; align-items: center; padding: 8px 20px 4px; text-align: center; }
.pf-av {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--brand-gradient); display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 800; color: #fff; box-shadow: var(--shadow-md);
  border: 3px solid rgba(255,255,255,0.7);
}
.pf-name { font-size: 22px; font-weight: 800; color: var(--text-primary); margin-top: 12px; }
.pf-sub { font-size: 13px; color: var(--text-secondary); margin-top: 3px; }
.pf-numwrap { display: flex; gap: 12px; padding: 0 20px; }
.pf-section-t { font: var(--text-eyebrow); letter-spacing: 0.10em; text-transform: uppercase; color: var(--text-secondary); padding: 0 22px 2px; }

.pf-list { background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); margin: 0 20px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.pf-row { display: flex; align-items: center; gap: 13px; padding: 14px 16px; cursor: pointer; width: 100%; text-align: left; background: none; border: none; font-family: inherit;
  -webkit-tap-highlight-color: transparent; }
.pf-row + .pf-row { border-top: 1px solid var(--border); }
.pf-row:active { background: rgba(255,255,255,0.5); }
.pf-row .pf-ic { width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: var(--tint-coral); color: var(--accent-coral); }
.pf-row .pf-ic svg { width: 18px; height: 18px; }
.pf-row .pf-tt { flex: 1; font-size: 14.5px; font-weight: 600; color: var(--text-primary); }
.pf-row .pf-val { font-size: 13px; color: var(--text-dim); }
.pf-row .pf-ar { color: var(--text-dim); font-size: 19px; font-weight: 300; }

/* segmented lang in profile */
.seg { display: inline-flex; padding: 3px; background: rgba(150,110,130,0.10); border-radius: 100px; }
.seg button { border: none; background: none; font-family: inherit; cursor: pointer; font-size: 12.5px; font-weight: 700; padding: 5px 14px; border-radius: 100px; color: var(--text-secondary); -webkit-tap-highlight-color: transparent; transition: all 0.2s; }
.seg button.on { background: #fff; color: var(--accent-coral); box-shadow: var(--shadow-sm); }

/* saved reading card */
.saved-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-sm); display: flex; gap: 13px; align-items: center;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.saved-sym { width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; background: #2e1a28; }
.saved-bd { flex: 1; min-width: 0; }
.saved-tt { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.saved-ms { font-size: 12px; color: var(--text-secondary); margin-top: 2px; font-style: italic; line-height: 1.35; }
.saved-dt { font-size: 10.5px; color: var(--text-dim); margin-top: 5px; font-variant-numeric: tabular-nums; letter-spacing: 0.03em; text-transform: uppercase; font-weight: 700; }

/* ============================================================
   TAB BARS — 3 navigation styles
   ============================================================ */
.tabbar-wrap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 45; pointer-events: none; }
.tabbar-wrap > * { pointer-events: auto; }

/* shared item internals */
.tab-i { display: flex; flex-direction: column; align-items: center; gap: 3px; border: none; background: none; cursor: pointer; font-family: inherit;
  -webkit-tap-highlight-color: transparent; color: var(--text-dim); transition: color 0.2s var(--ease-soft); }
.tab-i svg { width: 24px; height: 24px; }
.tab-i .lb { font-size: 10px; font-weight: 600; letter-spacing: 0.01em; }
.tab-i.on { color: var(--accent-coral); }

/* STYLE A — classic frosted bar with labels */
.tabbar.A {
  display: flex; justify-content: space-around; align-items: flex-start;
  padding: 9px 8px 0; height: 84px;
  background: rgba(255,253,249,0.82);
  backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border-top: 1px solid var(--border);
}
.tabbar.A .tab-i { flex: 1; padding-top: 2px; }

/* STYLE B — floating pill, icon-forward, active label expands */
.tabbar.B {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px; padding: 7px;
  background: rgba(255,253,249,0.78);
  backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid rgba(255,255,255,0.6); border-radius: 100px;
  box-shadow: 0 10px 34px rgba(150,110,130,0.30), inset 0 1px 0 rgba(255,255,255,0.6);
}
.tabbar.B .tab-i { flex-direction: row; gap: 7px; padding: 10px; border-radius: 100px; }
.tabbar.B .tab-i .lb { font-size: 13px; font-weight: 700; max-width: 0; overflow: hidden; opacity: 0; white-space: nowrap; transition: max-width 0.32s var(--ease-soft), opacity 0.24s, padding 0.3s; }
.tabbar.B .tab-i.on { background: var(--accent-coral); color: #fff; padding: 10px 16px 10px 12px; box-shadow: 0 4px 14px rgba(236,151,152,0.45); }
.tabbar.B .tab-i.on .lb { max-width: 90px; opacity: 1; }

/* STYLE C — minimal: indicator dot, no labels, hairline top + center bloom */
.tabbar.C {
  display: flex; justify-content: space-around; align-items: center;
  height: 78px; padding: 0 14px 14px;
  background: linear-gradient(180deg, rgba(255,253,249,0) 0%, rgba(255,253,249,0.9) 38%);
}
.tabbar.C .tab-i { position: relative; padding: 10px 8px; }
.tabbar.C .tab-i .lb { display: none; }
.tabbar.C .tab-i.on::after { content: ""; position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%); width: 5px; height: 5px; border-radius: 50%; background: var(--accent-coral); }
.tabbar.C .tab-i.bloom {
  width: 56px; height: 56px; border-radius: 50%; margin-top: -22px; color: #fff;
  background: var(--brand-gradient); box-shadow: 0 8px 22px rgba(236,151,152,0.45), inset 0 1px 0 rgba(255,255,255,0.6);
  border: 3px solid var(--bg-deep); justify-content: center; padding: 0;
}
.tabbar.C .tab-i.bloom svg { width: 26px; height: 26px; }
.tabbar.C .tab-i.bloom.on::after { display: none; }

/* ============================================================
   ONBOARDING
   ============================================================ */
.ob { position: absolute; inset: 0; display: flex; flex-direction: column; z-index: 60;
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 90% 50% at 50% -6%, rgba(253,196,197,0.5), transparent 62%),
    radial-gradient(ellipse 80% 50% at 50% 105%, rgba(169,204,226,0.42), transparent 62%);
}
.ob-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 36px; text-align: center; }

/* welcome step */
.ob-icon { width: 128px; height: 128px; border-radius: 28px; object-fit: contain; box-shadow: 0 16px 48px rgba(0,0,0,0.28), 0 4px 12px rgba(0,0,0,0.14); margin-bottom: 28px; border: 2px solid rgba(255,255,255,0.35); }
.ob-brand-name { font-size: 22px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px;
  background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ob-tagline { font-size: 28px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; margin: 0;
  background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ob-sub { font-size: 15px; color: var(--text-secondary); line-height: 1.65; margin: 18px 0 0; max-width: 280px; }

/* birth + reveal steps */
.ob-step-icon { font-size: 32px; margin-bottom: 20px; }
.ob-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-coral); margin-bottom: 12px; }
.ob-title { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--text-primary); margin: 0 0 6px; line-height: 1.2; }
.ob-foot { padding: 18px 28px calc(28px + var(--safe-bottom)); display: flex; flex-direction: column; gap: 14px; align-items: center; }
.ob-dots { display: flex; gap: 7px; }
.ob-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--border-bright); transition: all 0.3s var(--ease-soft); }
.ob-dot.on { width: 22px; border-radius: 4px; background: var(--accent-coral); }

.btn-primary {
  width: 100%; height: 54px; border: none; border-radius: var(--radius-md); cursor: pointer; font-family: inherit;
  font-size: 16px; font-weight: 700; color: #fff; background: var(--accent-coral);
  box-shadow: 0 6px 20px rgba(236,151,152,0.42); transition: transform var(--dur-press) var(--ease-soft), box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-primary:active { transform: scale(0.98); box-shadow: 0 3px 12px rgba(236,151,152,0.34); }
.btn-ghost { background: none; border: none; color: var(--text-secondary); font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; padding: 6px; -webkit-tap-highlight-color: transparent; }
.btn-ghost:active { opacity: 0.5; }

/* onboarding birth input */
.ob-form { width: 100%; max-width: 320px; }
.ob-field-label { font-size: 12px; font-weight: 700; color: var(--text-secondary); text-align: left; margin-bottom: 8px; letter-spacing: 0.04em; }
.ob-date {
  display: flex; align-items: center; gap: 4px; justify-content: center;
  background: var(--bg-input); border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 14px 12px;
  transition: border-color 0.2s, background 0.2s;
}
.ob-date:focus-within { border-color: var(--accent-coral); background: var(--bg-input-focus); box-shadow: 0 0 0 3px rgba(236,151,152,0.14); }
.ob-date input { background: none; border: none; outline: none; font-family: inherit; font-size: 26px; font-weight: 800; color: var(--text-primary); text-align: center; font-variant-numeric: tabular-nums; -webkit-tap-highlight-color: transparent; }
.ob-date input::placeholder { color: var(--text-dim); font-weight: 600; }
.ob-date .yy { width: 84px; } .ob-date .mm, .ob-date .dd { width: 50px; }
.ob-date .sep { font-size: 22px; color: var(--text-dim); font-weight: 300; }

/* reveal */
.ob-reveal-num { font-size: 92px; font-weight: 900; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums;
  background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 16px rgba(236,151,152,0.4)); }
.ob-reveal-label { font-size: 19px; font-weight: 800; color: var(--text-primary); margin-top: 10px; }
.ob-reveal-tx { font-size: 14.5px; color: var(--text-secondary); line-height: 1.65; margin-top: 12px; max-width: 290px; }

/* small toast */
.toast { position: absolute; left: 50%; bottom: 110px; transform: translateX(-50%) translateY(10px); z-index: 80;
  background: rgba(52,36,58,0.92); color: #fff; font-size: 13px; font-weight: 600; padding: 10px 18px; border-radius: 100px;
  box-shadow: var(--shadow-lg); opacity: 0; transition: all 0.3s var(--ease-soft); pointer-events: none; white-space: nowrap; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
