:root {
  --bg: #f6f3ee;
  --surface: #fffdfc;
  --surface-muted: #eeeae4;
  --text: #191817;
  --text-muted: #706c67;
  --border: #ddd7cf;
  --accent: #635b9f;
  --accent-strong: #4f477f;
  --accent-soft: #e9e5f4;
  --positive: #527565;
  --positive-soft: #e2ece7;
  --caution: #a3645c;
  --caution-soft: #f3e4e1;
  --focus: #3f55b5;
  --fire: #b75d53;
  --earth: #6d7d4d;
  --air: #367f85;
  --water: #426eaa;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 20px;
  --shadow: 0 12px 30px rgba(50, 43, 34, 0.06);
  --font-sans: Arial, Helvetica, sans-serif;
  --font-serif: Iowan Old Style, Literata, Georgia, serif;
}

* { box-sizing: border-box; }
html { overflow-y: scroll; scrollbar-gutter: stable; background: var(--bg); }
body { min-width: 320px; margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans); font-size: 16px; line-height: 1.5; }
button, input, select, textarea { font: inherit; }
a { color: var(--accent-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--text); line-height: 1.12; }
h1 { font-family: var(--font-serif); font-size: clamp(32px, 4vw, 52px); font-weight: 600; }
h2 { font-family: var(--font-serif); font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; }
h3 { font-size: 18px; }
button, .button { border: 0; border-radius: var(--radius-sm); cursor: pointer; font-weight: 700; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--focus) 45%, transparent); outline-offset: 3px; }
input, select, textarea { width: 100%; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); min-height: 46px; padding: 10px 12px; }
input::placeholder, textarea::placeholder { color: #97908a; }
label { display: grid; gap: 7px; margin: 0; font-size: 14px; font-weight: 700; }

.skip-link { left: 16px; position: fixed; top: 16px; z-index: 20; background: var(--text); border-radius: 8px; color: white; padding: 8px 12px; transform: translateY(calc(-100% - 32px)); opacity: 0; pointer-events: none; }
html:not([data-skip-link-keyboard="false"]) .skip-link:focus-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.app-shell { min-height: 100dvh; }
.app-rail { display: none; }
.app-main { min-width: 0; padding: 24px 18px 104px; }
.app-content { margin: 0 auto; max-width: 720px; }
.flash { margin: 0 auto 16px; max-width: 720px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); padding: 12px 14px; }
.flash.success { border-color: var(--positive); background: var(--positive-soft); }
.flash.error { border-color: var(--caution); background: var(--caution-soft); }

.bottom-nav { position: fixed; z-index: 10; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--border); background: var(--surface); padding: 7px 8px calc(7px + env(safe-area-inset-bottom)); }
.bottom-nav > a, .mobile-more > summary, .rail-nav a { display: grid; align-items: center; justify-items: center; gap: 4px; min-height: 56px; border-radius: 10px; color: var(--text-muted); font-size: 11px; font-weight: 700; line-height: 1.15; text-align: center; text-decoration: none; }
.nav-icon { display: inline-grid; width: 26px; height: 26px; place-items: center; border-radius: 8px; color: currentColor; transition: background-color .18s ease, box-shadow .18s ease, color .18s ease; }
.nav-icon svg { width: 20px; height: 20px; overflow: visible; }
.bottom-nav > a:hover .nav-icon, .mobile-more > summary:hover .nav-icon, .rail-nav a:hover .nav-icon { color: var(--accent); }
.bottom-nav > a.is-active, .mobile-more > summary.is-active, .mobile-more[open] > summary, .rail-nav a.is-active { background: var(--accent-soft); color: var(--accent-strong); }
.bottom-nav > a.is-active .nav-icon, .mobile-more > summary.is-active .nav-icon, .mobile-more[open] > summary .nav-icon, .rail-nav a.is-active .nav-icon { background: var(--accent); box-shadow: 0 4px 10px rgba(99, 91, 159, .22); color: #fff; }
.mobile-more > summary { cursor: pointer; list-style: none; }
.mobile-more > summary::-webkit-details-marker { display: none; }
.mobile-more-panel { position: absolute; right: 12px; bottom: calc(100% + 8px); left: 12px; max-height: calc(100dvh - 120px); overflow-y: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: 0 12px 32px rgba(50, 43, 34, .16); padding: 12px; }
.mobile-more-header { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 12px; padding-left: 12px; }
.mobile-more-header h2 { margin: 0; font-family: var(--font-sans); font-size: 18px; font-weight: 700; }
.mobile-more-close { display: inline-grid; width: 44px; height: 44px; place-items: center; background: transparent; color: var(--text-muted); }
.mobile-more-close[hidden] { display: none; }
.mobile-more-links { display: grid; gap: 4px; }
.mobile-more-links a { display: flex; align-items: center; gap: 12px; min-height: 52px; border-radius: var(--radius-sm); color: var(--text); font-size: 15px; font-weight: 700; text-decoration: none; padding: 10px 12px; }
.mobile-more-links a:hover, .mobile-more-links a.is-active { background: var(--accent-soft); color: var(--accent-strong); }
.mobile-more-links a.nav-plus, .rail-nav a.nav-plus { color: var(--accent-strong); }

.eyebrow { margin: 0 0 8px; color: var(--accent-strong); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.page-header h1 { margin-bottom: 0; }
.page-intro, .muted { color: var(--text-muted); }
.panel, .card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.panel { margin: 0; padding: 20px; }
.card { padding: 16px; }
.stack { display: grid; gap: 16px; }
.section { margin-top: 32px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border-radius: var(--radius-sm); padding: 11px 16px; text-decoration: none; transition: background-color .18s ease, border-color .18s ease, transform .18s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); color: #fff; }
.btn-secondary { border: 1px solid var(--border); background: var(--surface); color: var(--text); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-strong); }
.btn-text { min-height: auto; background: transparent; color: var(--accent-strong); padding: 4px 0; }
.button { background: var(--accent); color: #fff; padding: 11px 16px; }
.button:hover { background: var(--accent-strong); color: #fff; }
.button[disabled], button[disabled] { cursor: not-allowed; opacity: .55; }
.icon-button { display: inline-grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--text); }

.empty-state, .error-state { border: 1px dashed var(--border); border-radius: var(--radius); background: var(--surface-muted); padding: 20px; text-align: center; }
.error-state { border-color: var(--caution); background: var(--caution-soft); }
.skeleton { overflow: hidden; border-radius: 8px; background: linear-gradient(90deg, var(--surface-muted), var(--surface), var(--surface-muted)); background-size: 200% 100%; animation: skeleton 1.3s ease infinite; }
@keyframes skeleton { to { background-position: -200% 0; } }

@media (min-width: 900px) {
  .app-shell { display: grid; grid-template-columns: 224px minmax(0, 1fr); }
  .app-rail { position: sticky; top: 0; display: flex; height: 100dvh; overflow-y: auto; flex-direction: column; border-right: 1px solid var(--border); background: var(--surface); padding: 28px 16px; }
  .brand { color: var(--text); font-family: var(--font-serif); font-size: 28px; font-weight: 600; text-decoration: none; }
  .brand span { color: var(--accent); }
  .brand-note { margin: 4px 0 36px; color: var(--text-muted); font-size: 13px; }
  .rail-nav { display: grid; flex-shrink: 0; gap: 6px; }
  .rail-nav a { grid-template-columns: 28px 1fr; justify-items: start; gap: 12px; padding: 0 12px; font-size: 14px; text-align: left; }
  .rail-nav-secondary { display: grid; gap: 6px; border-top: 1px solid var(--border); margin-top: 8px; padding-top: 14px; }
  .rail-footer { flex-shrink: 0; margin-top: auto; padding-top: 24px; color: var(--text-muted); font-size: 12px; }
  .bottom-nav { display: none; }
  .app-main { padding: 48px 48px 64px; }
  .app-content { max-width: 1180px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Today: one clear daily ritual, with supporting blocks kept visually secondary. */
.today-page { display: grid; gap: 24px; max-width: 720px; }
.legal-renewal-notice { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; }
.legal-renewal-notice p { margin: 0; max-width: 680px; }
.today-primary, .today-side { display: grid; gap: 24px; min-width: 0; }
.today-side { gap: 12px; }
.today-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: var(--text-muted); font-size: 14px; }
.today-top p, .today-top-actions form { margin: 0; }
.today-top time { color: var(--text); font-weight: 700; }
.today-top-actions { display: flex; align-items: center; gap: 10px; }
.trial-badge { border-radius: 999px; background: var(--accent-soft); padding: 5px 8px; color: var(--accent-strong); font-size: 12px; font-weight: 800; text-decoration: none; }
.today-top-actions .icon-button { width: 36px; height: 36px; font-size: 18px; }
.forecast-hero { padding: 4px 0 0; }
.forecast-hero h1 { max-width: 660px; margin: 0 0 16px; }
.forecast-summary { max-width: 640px; margin: 0; color: var(--text-muted); font-size: 19px; line-height: 1.55; }
.today-actions, .today-rhythm { display: grid; gap: 12px; }
.guidance-icon { display: inline-block; width: 1.35em; height: 1.35em; margin-right: .3em; vertical-align: -.28em; }
.action-pair { display: grid; gap: 12px; }
.action-card { padding: 18px; }
.action-card--do { min-height: 132px; border-color: color-mix(in srgb, var(--positive) 35%, var(--border)); background: var(--positive-soft); }
.action-card--avoid { min-height: 106px; background: var(--surface-muted); }
.action-card span { display: block; margin: 0 0 8px; color: var(--text-muted); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.action-card--do span { color: var(--positive); }
.action-card--avoid span { color: var(--caution); }
.action-card strong { display: block; font-size: 17px; line-height: 1.42; }
.action-card--do strong { font-size: 19px; }
.action-card--locked { position: relative; overflow: hidden; }
.action-card--locked > b { position: absolute; right: 14px; bottom: 14px; border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border)); border-radius: 999px; background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--accent-strong); padding: 5px 9px; font-size: 11px; line-height: 1; }
.locked-guidance-lines { display: grid; gap: 9px; margin-top: 13px; filter: blur(3px); opacity: .28; user-select: none; }
.locked-guidance-lines i { display: block; width: 88%; height: 10px; border-radius: 999px; background: currentColor; }
.locked-guidance-lines i:nth-child(2) { width: 96%; }
.locked-guidance-lines i:nth-child(3) { width: 62%; }
.guidance-lock-note { display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--border)); border-radius: var(--radius); background: color-mix(in srgb, var(--accent-soft) 38%, var(--surface)); padding: 15px 16px; }
.guidance-lock-note div { min-width: 0; }
.guidance-lock-note strong { display: block; }
.guidance-lock-note p { margin: 3px 0 0; color: var(--text-muted); font-size: 14px; line-height: 1.4; }
.guidance-lock-note .btn { flex: 0 0 auto; }
.today-primary-cta { width: 100%; font-size: 16px; }
.messenger-connection-prompt { display: grid; gap: 12px; min-width: 0; border-color: color-mix(in srgb, var(--accent) 25%, var(--border)); background: color-mix(in srgb, var(--accent-soft) 30%, var(--surface)); padding: 16px 18px; }
.messenger-connection-prompt h2 { margin: 0; font-size: 20px; }
.messenger-connection-prompt p { margin: 5px 0 0; color: var(--text-muted); font-size: 14px; }
.messenger-connection-prompt form { margin: 0; }
.messenger-connection-prompt__header { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 8px 16px; }
.messenger-connection-prompt__header > div { flex: 1 1 240px; min-width: 0; }
.messenger-invitation-list { display: grid; }
.messenger-invitation { display: grid; grid-template-columns: minmax(70px, 1fr) auto; align-items: center; gap: 8px 16px; border-top: 1px solid var(--border); padding: 12px 0; }
.messenger-invitation:last-child { padding-bottom: 0; }
.messenger-invitation__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.messenger-invitation-dismiss { min-height: 44px; padding: 8px 4px; background: transparent; color: var(--accent-strong); font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: underline; text-underline-offset: 3px; }
.messenger-invitation-dismiss:hover { color: var(--accent); }
.messenger-invitation-settings h2 { font-size: 24px; }
.messenger-invitation-settings form { display: grid; gap: 12px; }
.messenger-invitation-settings .btn { justify-self: start; }
@media (max-width: 520px) { .messenger-invitation { grid-template-columns: 1fr; }.messenger-invitation__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }.messenger-invitation__actions button { width: 100%; padding-right: 4px; padding-left: 4px; font-size: 14px; } }
.why-disclosure { overflow: hidden; padding: 0; }
.why-disclosure > summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; cursor: pointer; font-weight: 800; list-style: none; padding: 0 18px; }
.why-disclosure > summary::-webkit-details-marker, .calculation-disclosure > summary::-webkit-details-marker { display: none; }
.why-disclosure > summary::after { content: "+"; color: var(--accent-strong); font-size: 22px; font-weight: 400; }
.why-disclosure[open] > summary { border-bottom: 1px solid var(--border); }.why-disclosure[open] > summary::after { content: "−"; }
.why-content { display: grid; gap: 18px; padding: 18px; }
.why-content > p { margin: 0; color: var(--text-muted); }
.why-section { display: grid; gap: 8px; margin: 0; border-left: 2px solid var(--accent-soft); padding-left: 14px; }.why-section h2, .why-section p { margin: 0; }.why-section h2 { font-size: 21px; }.why-section > p { color: var(--text-muted); }
.calculation-disclosure { border-top: 1px solid var(--border); padding-top: 14px; }.calculation-disclosure > summary { cursor: pointer; color: var(--accent-strong); font-size: 14px; font-weight: 800; list-style: none; }.calculation-disclosure > summary::after { content: "+"; margin-left: 8px; }.calculation-disclosure[open] > summary::after { content: "−"; }.calculation-disclosure > div { display: grid; gap: 16px; margin-top: 14px; }.calculation-disclosure p { margin: 0; color: var(--text-muted); }
.why-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }.why-meta .why-meta-wide { grid-column: 1 / -1; }.why-meta div { border-top: 1px solid var(--border); padding-top: 8px; }.why-meta dt { color: var(--text-muted); font-size: 13px; }.why-meta dd { margin: 3px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.lunar-strip { display: grid; grid-template-columns: 68px minmax(0, 1fr); align-items: center; gap: 14px; border-color: color-mix(in srgb, var(--air) 28%, var(--border)); background: color-mix(in srgb, var(--air) 7%, var(--surface)); }
.moon-phase { --moon-shadow: #3b6466; position: relative; width: 64px; aspect-ratio: 1; overflow: hidden; border: 1px solid color-mix(in srgb, var(--air) 45%, var(--border)); border-radius: 50%; background: radial-gradient(circle at 34% 28%, #fffbe6 0 7%, #f7d678 42%, #d8a95c 100%); box-shadow: 0 5px 14px rgba(54, 127, 133, .18), inset -8px -8px 13px rgba(121, 79, 38, .17); }
.moon-phase::after { position: absolute; inset: 0 auto 0 0; width: 100%; border-radius: 50%; background: var(--moon-shadow); box-shadow: inset 6px 0 10px rgba(13, 43, 44, .34); content: ""; }
.moon-phase--new::after { inset: 0; }.moon-phase--waxing-crescent::after { left: -24%; }.moon-phase--first-quarter::after { left: -50%; }.moon-phase--waxing-gibbous::after { left: -74%; }.moon-phase--full::after { opacity: 0; }.moon-phase--waning-gibbous::after { left: 74%; }.moon-phase--last-quarter::after { left: 50%; }.moon-phase--waning-crescent::after { left: 24%; }
.lunar-copy { display: grid; gap: 8px; min-width: 0; }
.lunar-strip strong { display: block; margin-top: 3px; font-size: 18px; }
.lunar-strip p { margin: 0; color: var(--text-muted); }
.lunar-more-link { color: var(--accent-strong); font-size: 13px; font-weight: 800; text-decoration: none; }
.lucky-fountain { display: grid; grid-template-columns: 132px minmax(0, 1fr); grid-template-rows: minmax(88px, 1fr) 44px; min-height: 188px; align-items: center; gap: 12px 16px; border-color: color-mix(in srgb, var(--accent) 28%, var(--border)); background: linear-gradient(135deg, color-mix(in srgb, var(--accent-soft) 36%, var(--surface)), var(--surface)); overflow: hidden; }
.lucky-fountain-scene { position: relative; grid-row: 1; width: 132px; height: 132px; isolation: isolate; }
.lucky-fountain-art { position: absolute; inset: -5px -8px -7px -8px; width: 148px; max-width: none; height: 148px; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(44, 72, 72, .16)); }
.lucky-fountain-glow { position: absolute; z-index: -1; top: 31px; left: 31px; width: 59px; height: 46px; border-radius: 50%; background: rgba(255, 238, 168, .48); filter: blur(12px); opacity: .72; }
.lucky-fountain-coin, .lucky-fountain-button-coin { display: inline-block; border: 2px solid #b47e25; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff7c7 0 12%, #f7d678 42%, #d8a95c 100%); box-shadow: inset 0 0 0 2px rgba(255, 253, 252, .42), 0 2px 5px rgba(87, 63, 25, .2); }
.lucky-fountain-water { position: absolute; z-index: 1; top: 48px; left: 7px; width: 118px; height: 43px; overflow: hidden; clip-path: ellipse(50% 42% at 50% 50%); }
.lucky-fountain-coin { position: absolute; z-index: 2; top: 7px; left: 12px; width: 20px; height: 20px; opacity: 0; }
.lucky-fountain-ripple { position: absolute; top: 14px; left: 50%; width: 10px; height: 4px; border: 1px solid rgba(255, 255, 255, .92); border-radius: 50%; opacity: 0; transform: translateX(-50%); }
.lucky-fountain-copy { display: grid; align-self: center; gap: 3px; min-width: 0; }
.lucky-fountain-copy .eyebrow { margin: 0; }
.lucky-fountain-copy h2 { margin: 0; font-size: 20px; }
.lucky-fountain-title { display: grid; }
.lucky-fountain-title > span { grid-area: 1 / 1; }
.lucky-fountain-title__result { align-self: center; }
.lucky-fountain-title > .is-hidden { visibility: hidden; }
.lucky-fountain-count { display: flex; align-items: center; gap: 5px; min-height: 14px; }
.lucky-fountain-count span { width: 12px; height: 12px; border: 1px solid #b47e25; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff7c7 0 12%, #f7d678 42%, #d8a95c 100%); box-shadow: inset 0 0 0 1px rgba(255, 253, 252, .42), 0 1px 3px rgba(87, 63, 25, .18); }
.lucky-fountain-count span.is-used { opacity: .28; filter: saturate(.35); }
.lucky-fountain form, .lucky-fountain > .lucky-fountain-button { grid-column: 1 / -1; grid-row: 2; align-self: end; margin: 0; }
.lucky-fountain-button { width: 100%; min-height: 44px; gap: 8px; }
.lucky-fountain-button-coin { width: 16px; height: 16px; }
.lucky-fountain--tossed .lucky-fountain-coin { animation: lucky-coin-toss 980ms cubic-bezier(.19,.8,.28,1) both; }
.lucky-fountain--tossed .lucky-fountain-glow { animation: lucky-glow 700ms 510ms ease-out both; }
.lucky-fountain--tossed .lucky-fountain-ripple--one { animation: lucky-ripple 720ms 570ms ease-out both; }
.lucky-fountain--tossed .lucky-fountain-ripple--two { animation: lucky-ripple 720ms 660ms ease-out both; }
@keyframes lucky-coin-toss { 0% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); } 42% { opacity: 1; transform: translate(48px, 18px) rotate(300deg) scale(.94); } 74% { opacity: 1; transform: translate(42px, 54px) rotate(610deg) scale(.72); } 100% { opacity: 0; transform: translate(42px, 57px) rotate(720deg) scale(.24); } }
@keyframes lucky-ripple { from { width: 10px; height: 4px; opacity: .92; } to { width: 42px; height: 14px; opacity: 0; } }
@keyframes lucky-glow { 0% { opacity: .72; transform: scale(1); } 50% { opacity: 1; transform: scale(1.24); } 100% { opacity: .72; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .lucky-fountain--tossed .lucky-fountain-coin, .lucky-fountain--tossed .lucky-fountain-glow, .lucky-fountain--tossed .lucky-fountain-ripple { animation: none; } .lucky-fountain--tossed .lucky-fountain-coin { opacity: 0; } }
/* The check-in uses the same bordered card treatment as the surrounding Today blocks. */
.checkin-card { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 22px; }
.checkin-copy { flex: 1 1 260px; min-width: 0; }
.checkin-copy .eyebrow, .checkin-copy h2, .checkin-copy p { margin: 0; }
.checkin-copy h2 { margin-top: 4px; font-size: clamp(24px, 2.2vw, 28px); }
.checkin-copy p:last-child { max-width: 520px; margin-top: 7px; color: var(--text-muted); font-size: 14px; line-height: 1.45; }
.checkin-form { flex: 1 1 340px; display: grid; align-content: center; gap: 10px; min-width: 0; }
.checkin-options { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, .95fr) minmax(0, 1.2fr); gap: 8px; }
.checkin-options > button, .checkin-options > span { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 48px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text-muted); padding: 8px 12px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; white-space: normal; }.checkin-options button:hover, .checkin-options button:focus-visible { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-strong); }
.checkin-options > .is-selected { border-color: var(--positive); background: var(--positive-soft); color: #254d3e; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--positive) 20%, transparent); }
.checkin-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.checkin-feedback { min-height: 20px; margin: 0; font-size: 13px; }
.checkin-feedback { color: var(--positive); font-weight: 700; }
.checkin-edit-link { flex: 0 0 auto; font-size: 13px; }
.checkin-waiting { align-self: center; justify-self: end; margin: 0; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); padding: 11px 16px; color: var(--text-muted); font-size: 14px; font-weight: 700; }
.weekly-overview { display: grid; gap: 14px; padding: 16px 18px; }.weekly-overview--locked { border-color: color-mix(in srgb, var(--accent) 28%, var(--border)); background: color-mix(in srgb, var(--accent-soft) 28%, var(--surface)); }.weekly-overview-header { display: grid; gap: 4px; }.weekly-overview-header .eyebrow, .weekly-overview-header h2, .weekly-overview-header p { margin: 0; }.weekly-overview-header h2 { font-size: 22px; }.weekly-overview-header p:not(.eyebrow) { color: var(--text-muted); font-size: 14px; line-height: 1.42; }.weekly-overview-links { display: grid; border-top: 1px solid var(--border); }.weekly-overview-link { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 62px; border-top: 1px solid var(--border); color: var(--text); text-decoration: none; }.weekly-overview-link:first-child { border-top: 0; }.weekly-overview-link:hover strong { color: var(--accent-strong); }.weekly-overview-link span, .weekly-overview-link strong, .weekly-overview-link small { display: block; }.weekly-overview-link strong { font-size: 15px; }.weekly-overview-link small { margin-top: 2px; color: var(--text-muted); font-size: 13px; }.weekly-overview-link b { color: var(--accent-strong); font-size: 20px; font-weight: 500; }.weekly-overview-button { justify-self: start; }

/* Public guides are the indexable editorial surface. */
.guides-page, .guide-page { display: grid; gap: 24px; max-width: 780px; }.guide-header { display: grid; gap: 10px; }.guide-header h1 { margin: 0; }.guide-header .page-intro, .guide-intro { max-width: 680px; margin: 0; color: var(--text-muted); font-family: var(--font-serif); font-size: 20px; line-height: 1.5; }.guide-list { display: grid; gap: 12px; }.guide-card { display: grid; gap: 12px; align-items: start; }.guide-card .eyebrow { margin: 0; }.guide-card h2 { margin: 0; font-size: 26px; }.guide-card h2 a { color: var(--text); text-decoration: none; }.guide-card h2 a:hover { color: var(--accent-strong); }.guide-card p:not(.eyebrow) { margin: 0; color: var(--text-muted); }.guide-card .btn { justify-self: start; }.guide-back { font-size: 14px; font-weight: 700; }.guide-body { display: grid; gap: 24px; }.guide-body section { border-top: 1px solid var(--border); padding-top: 22px; }.guide-body h2, .guide-faq h2 { margin: 0 0 12px; font-size: 28px; }.guide-body p { max-width: 720px; margin: 0 0 12px; color: var(--text-muted); font-size: 17px; line-height: 1.6; }.guide-body p:last-child { margin-bottom: 0; }.guide-faq { display: grid; gap: 0; border-top: 1px solid var(--border); padding-top: 22px; }.guide-faq details { border-top: 1px solid var(--border); padding: 14px 0; }.guide-faq summary { cursor: pointer; font-weight: 800; }.guide-faq p { margin: 10px 0 0; color: var(--text-muted); }.guide-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border)); border-radius: var(--radius); background: var(--accent-soft); padding: 18px; }.guide-cta p { max-width: 500px; margin: 0; color: var(--text); font-weight: 600; }

/* Public share card deliberately has no account navigation. */
.share-page { display: grid; min-height: 100dvh; align-content: center; gap: 24px; max-width: 680px; margin: 0 auto; padding: 28px 18px; }.share-brand { color: var(--text); font-family: var(--font-serif); font-size: 28px; font-weight: 600; text-decoration: none; }.share-brand span { color: var(--accent); }.share-card { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); padding: 28px; }.share-card h1 { margin-bottom: 18px; }.share-advice { margin: 0; color: var(--text); font-family: var(--font-serif); font-size: clamp(23px, 5vw, 34px); line-height: 1.3; }.share-note { margin: 28px 0 0; color: var(--text-muted); font-size: 14px; }.share-link-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 20px; }.share-link-row input { min-width: 0; font-size: 14px; }

@media (min-width: 640px) { .action-pair { grid-template-columns: 1.12fr .88fr; }.today-primary-cta { width: auto; min-width: 240px; }.checkin-options > button, .checkin-options > span { font-size: 14px; } }
@media (min-width: 1280px) { .today-page { max-width: none; grid-template-columns: minmax(0, 720px) minmax(300px, 380px); column-gap: 48px; align-items: start; }.today-primary { grid-column: 1; align-content: start; }.today-side { position: sticky; top: 32px; grid-column: 2; align-self: start; }.today-side .weekly-overview-button { width: 100%; } }
@media (max-width: 639px) { .checkin-card { padding: 20px; }.checkin-waiting { justify-self: start; } }
@media (max-width: 520px) { .today-top { flex-wrap: wrap; }.today-top-actions { flex-wrap: wrap; justify-content: flex-end; margin-left: auto; }.guidance-lock-note { align-items: stretch; flex-direction: column; }.guidance-lock-note .btn { width: 100%; }.why-meta { grid-template-columns: 1fr; }.forecast-summary { font-size: 18px; }.checkin-options { gap: 5px; }.checkin-options > button, .checkin-options > span { min-height: 50px; padding: 7px 5px; font-size: 12px; } }
@media (max-width: 440px) { .share-card { padding: 22px; }.share-link-row { grid-template-columns: 1fr; }.share-link-row .btn { width: 100%; } }

/* Onboarding */

.onboarding-shell { max-width: 620px; margin: 0 auto; }.onboarding-card { display: grid; gap: 22px; padding: 24px; }.onboarding-header { display: grid; gap: 8px; }.onboarding-card h1, .onboarding-section h2 { margin: 0; }.onboarding-header .eyebrow { margin: 0; }.onboarding-copy { margin: 0; color: var(--text-muted); }.onboarding-section { display: grid; gap: 14px; border-top: 1px solid var(--border); padding-top: 20px; }.onboarding-section h2 { font-size: 22px; }.onboarding-fields { display: grid; gap: 14px; }.birth-date-input { font-variant-numeric: tabular-nums; }.onboarding-time-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }.onboarding-legal { display: grid; gap: 12px; border-top: 1px solid var(--border); padding-top: 20px; }.onboarding-documents { display: flex; flex-wrap: wrap; gap: 8px 16px; }.onboarding-documents a { color: var(--accent-strong); font-size: 14px; font-weight: 700; }.onboarding-legal label { grid-template-columns: 20px 1fr; align-items: start; font-weight: 500; }.onboarding-legal input { width: 18px; min-height: 18px; margin-top: 3px; }.onboarding-submit { justify-self: start; min-height: 50px; }.onboarding-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }.city-search-wrap { position: relative; }.city-results { position: absolute; z-index: 5; top: calc(100% + 6px); right: 0; left: 0; }.city-options { display: grid; max-height: 256px; overflow-y: auto; padding: 6px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow); }.city-option { display: grid; grid-template-columns: 1fr auto; gap: 12px; border-radius: 8px; background: transparent; color: var(--text); padding: 10px; text-align: left; }.city-option:hover, .city-option:focus-visible { background: var(--accent-soft); }.city-option small { color: var(--text-muted); }.city-status { min-height: 20px; color: var(--positive); font-size: 14px; font-weight: 700; }.field-hint { margin: 0; color: var(--text-muted); font-size: 14px; }

/* Tarot */
.tarot-card-large, .reading-mini-card { overflow: hidden; position: relative; }
.tarot-art-trigger { position: absolute; z-index: 2; inset: 0; border: 0; border-radius: inherit; background: transparent; cursor: zoom-in; padding: 0; }
.tarot-card-art, .reading-mini-art { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.tarot-card-large--reversed .tarot-card-art, .reading-mini-card--reversed .reading-mini-art { transform: rotate(180deg); }
.tarot-art-trigger:focus-visible { outline-color: #fff; outline-offset: -5px; }
.deck-header { max-width: 620px; }.deck-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }.deck-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow); }.deck-card .tarot-art-trigger--deck { position: relative; display: block; width: 100%; border-radius: 0; }.deck-card img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }.deck-card div { display: grid; gap: 3px; padding: 10px 11px 12px; }.deck-card span { color: var(--accent-strong); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }.deck-card strong { font-family: var(--font-serif); font-size: 18px; line-height: 1.15; }
.tarot-meanings-page { display: grid; gap: 32px; }.tarot-meanings-header { max-width: 760px; }.tarot-meanings-intro { display: grid; gap: 14px; max-width: 780px; padding: 22px; }.tarot-meanings-intro h2 { margin: 0 0 8px; font-size: 25px; }.tarot-meanings-intro p { margin: 0; color: var(--text-muted); line-height: 1.6; }.tarot-meanings-intro > p { border-top: 1px solid var(--border); padding-top: 14px; font-size: 14px; }.tarot-meaning-section { display: grid; gap: 16px; }.tarot-meaning-section-heading { display: grid; gap: 8px; max-width: 760px; }.tarot-meaning-section-heading .eyebrow { margin: 0 0 4px; }.tarot-meaning-section-heading h2 { margin: 0; font-size: 30px; }.tarot-meaning-section-heading > p { max-width: 560px; margin: 0; color: var(--text-muted); line-height: 1.5; }.tarot-meaning-list { display: grid; gap: 14px; }.tarot-meaning-card { display: grid; grid-template-columns: minmax(84px, 132px) minmax(0, 1fr); align-items: start; gap: 16px; padding: 12px; }.tarot-meaning-card > picture { display: block; width: 100%; aspect-ratio: 2 / 3; }.tarot-meaning-card > picture img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; border-radius: 8px; object-fit: cover; }.tarot-meaning-copy { display: grid; gap: 8px; padding: 3px 4px 4px 0; }.tarot-meaning-copy > span { color: var(--accent-strong); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }.tarot-meaning-copy h2, .tarot-meaning-copy h3 { margin: 0; font-family: var(--font-serif); font-size: 24px; line-height: 1.15; }.tarot-meaning-copy > p { margin: 0; color: var(--text-muted); line-height: 1.55; }.tarot-meaning-copy details { border-top: 1px solid var(--border); margin-top: 3px; padding-top: 10px; }.tarot-meaning-copy summary { cursor: pointer; color: var(--accent-strong); font-weight: 800; }.tarot-meaning-contexts { display: grid; gap: 10px; margin-top: 11px; }.tarot-meaning-contexts p { margin: 0; color: var(--text-muted); line-height: 1.55; }.tarot-meaning-contexts strong { color: var(--text); }.tarot-meanings-faq { max-width: 780px; }.tarot-meanings-related { display: grid; gap: 12px; max-width: 780px; }.tarot-meanings-related h2 { margin: 0; font-size: 26px; }.tarot-meanings-related .card { display: grid; gap: 7px; color: var(--text); text-decoration: none; }.tarot-meanings-related .card:hover { border-color: var(--accent); }.tarot-meanings-related strong { font-family: var(--font-serif); font-size: 21px; }.tarot-meanings-related .card > span:last-child { color: var(--accent-strong); font-weight: 800; }.tarot-meanings-cta { max-width: 780px; }
@media (max-width: 480px) { .tarot-meaning-card { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 10px; }.tarot-meaning-copy h3 { font-size: 21px; }.tarot-meaning-copy > p, .tarot-meaning-contexts p { font-size: 15px; } }
.tarot-lightbox { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; background: rgba(25, 24, 23, .7); padding: 16px; }
.tarot-lightbox__dialog { position: relative; display: grid; max-width: min(100%, 560px); max-height: calc(100dvh - 32px); justify-items: center; gap: 10px; border: 1px solid color-mix(in srgb, var(--surface) 70%, transparent); border-radius: var(--radius); background: var(--surface); box-shadow: 0 24px 60px rgba(25, 24, 23, .28); padding: 12px 12px 10px; }
.tarot-lightbox__image { display: block; width: auto; max-width: 100%; max-height: calc(100dvh - 104px); border-radius: 10px; object-fit: contain; }
.tarot-lightbox__image--reversed { transform: rotate(180deg); }
.tarot-lightbox__dialog p { margin: 0; color: var(--text-muted); font-size: 14px; font-weight: 700; text-align: center; }
.tarot-lightbox__close { position: absolute; z-index: 1; top: 20px; right: 20px; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--text); font-size: 24px; font-weight: 400; line-height: 1; }
.tarot-page, .reading-page, .profile-page, .week-page { display: grid; gap: 28px; }.tarot-header p, .reading-header p { color: var(--text-muted); }.tarot-feature { display: grid; gap: 24px; align-items: center; }.tarot-card-large { aspect-ratio: 2 / 3; max-width: 300px; min-height: 390px; border-radius: var(--radius); background: var(--accent); box-shadow: var(--shadow); }.tarot-card-large--reversed { background: #554c89; }.tarot-copy { max-width: 600px; }.tarot-copy h1 { margin-bottom: 12px; }.tarot-copy > p { color: var(--text-muted); font-size: 18px; line-height: 1.55; }.tarot-copy-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }.spread-grid { display: grid; gap: 12px; }.spread-card { display: grid; min-height: 192px; align-content: space-between; gap: 18px; padding: 20px; }.spread-card > div > span { color: var(--accent-strong); font-size: 13px; font-weight: 800; }.spread-card strong { display: block; margin-top: 8px; font-family: var(--font-serif); font-size: 26px; }.spread-card p { margin: 8px 0 0; color: var(--text-muted); }.reading-grid { display: grid; gap: 14px; }.reading-card { display: grid; grid-template-columns: 108px minmax(0, 1fr); align-items: start; gap: 18px; padding: 16px; }.reading-mini-card { min-height: 156px; border-radius: 10px; background: var(--accent); }.reading-mini-card--reversed { background: #554c89; }.reading-position { color: var(--accent-strong); font-size: 13px; font-weight: 800; }.reading-card h2 { margin: 5px 0 8px; font-size: 26px; }.reading-card p { margin: 0; color: var(--text-muted); }

/* Daily tarot card is a focused reading, not a sparse index page. */
.tarot-daily-page { max-width: 1000px; gap: 16px; padding-bottom: 24px; }
.tarot-daily-back { justify-self: start; gap: 7px; color: var(--text-muted); font-size: 14px; font-weight: 700; }
.tarot-daily-back:hover { color: var(--accent-strong); }
.tarot-daily-header { max-width: 580px; }
.tarot-daily-header p:last-child { margin: 0; color: var(--text-muted); font-size: 17px; line-height: 1.5; }
.tarot-daily-feature { display: grid; align-items: start; gap: 28px; }
.tarot-daily-art { width: min(100%, 360px); max-width: 360px; min-height: 0; margin: 0 auto; }
.tarot-daily-art-trigger::after { position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .7); border-radius: 50%; background: rgba(25, 24, 23, .62); color: #fff; content: ""; }
.tarot-daily-zoom { position: absolute; z-index: 1; right: 10px; bottom: 7px; color: #fff; font-family: var(--font-serif); font-size: 27px; line-height: 1; }
.tarot-daily-copy { max-width: 560px; }
.tarot-daily-copy > .eyebrow { margin-bottom: 10px; }
.tarot-daily-copy h1 { margin-bottom: 20px; }
.tarot-daily-interpretation { border-top: 1px solid var(--border); padding-top: 18px; }
.tarot-daily-interpretation h2 { margin: 0 0 9px; font-family: var(--font-sans); font-size: 16px; font-weight: 800; }
.tarot-daily-interpretation p { margin: 0; color: var(--text-muted); font-size: 18px; line-height: 1.6; }
.tarot-daily-actions { display: grid; gap: 10px; margin-top: 24px; }
.tarot-daily-actions .btn { width: 100%; }

/* Profile and history */
.profile-header-action { gap: 7px; border-color: var(--accent); background: var(--accent); color: #fff; box-shadow: 0 8px 18px rgba(85, 75, 145, .2); font-weight: 800; }.profile-header-action:hover { border-color: var(--accent-strong); background: var(--accent-strong); color: #fff; }.profile-header-action span { font-size: 18px; line-height: 1; }.profile-link-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--text); text-decoration: none; }.profile-link-card:hover { border-color: var(--accent); color: var(--text); }.profile-link-card strong, .profile-link-card span { display: block; }.profile-link-card span { color: var(--text-muted); font-size: 14px; }.profile-week-summary { display: grid; gap: 14px; }.profile-week-summary h2, .profile-week-summary p { margin: 0; }.profile-week-responses { color: var(--text-muted); line-height: 1.55; }.profile-week-summary details summary, .week-facts summary { cursor: pointer; color: var(--accent-strong); font-weight: 800; }.profile-week-details { margin-top: 12px; }.profile-week-details > a { display: inline-block; margin-top: 12px; font-weight: 800; }.history-section { padding: 0; overflow: clip; }.history-section > summary { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; padding: 20px 24px; list-style: none; }.history-section > summary::-webkit-details-marker { display: none; }.history-section > summary::after { color: var(--accent-strong); content: "+"; font-size: 26px; }.history-section[open] > summary::after { content: "−"; }.history-section > summary > span:first-child { display: grid; gap: 4px; min-width: 0; }.history-section > summary strong { font-family: var(--font-serif); font-size: 25px; }.history-section > summary small { color: var(--text-muted); font-size: 14px; }.history-count { margin-left: auto; color: var(--text-muted); font-weight: 800; }.history-list { display: grid; gap: 10px; border-top: 1px solid var(--border); padding: 0 24px; }.history-item { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--border); }.history-item:first-child { border-top: 0; }.history-item time, .history-item small { color: var(--text-muted); font-size: 13px; }.history-item h3 { margin: 3px 0 4px; }.history-item p { margin: 0; color: var(--text-muted); font-size: 14px; }.history-more { margin: 4px 24px 24px; }.week-summary-main { display: grid; gap: 10px; }.week-summary-main h2, .week-summary-main p { margin: 0; }.week-summary-main > p { line-height: 1.55; }.week-facts > div { margin-top: 12px; }.metric-row { display: flex; justify-content: space-between; gap: 12px; margin: 0; border-top: 1px solid var(--border); padding: 11px 0; }.settings-list { display: grid; }.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--border); padding: 14px 0; }.settings-row:first-child { border-top: 0; }.settings-row dt { color: var(--text-muted); font-size: 13px; }.settings-row dd { margin: 3px 0 0; font-weight: 700; }.danger-zone { border-color: color-mix(in srgb, var(--caution) 50%, var(--border)); }.danger-zone h2 { color: var(--caution); }.notification-form { display: grid; gap: 14px; }.notification-form fieldset { display: grid; gap: 12px; margin: 0; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; }.notification-form legend { color: var(--accent-strong); font-weight: 800; padding: 0 6px; }.toggle { display: flex; align-items: center; gap: 9px; }.toggle input { width: 18px; min-height: 18px; }

/* Check-in history */
.checkin-progress { display: grid; gap: 5px; }
.checkin-progress p { margin: 0; line-height: 1.5; }
.checkin-progress .muted { font-size: 14px; }
.checkin-day-status { display: block; font-size: 15px; }
.checkin-day-missing, .checkin-day-pending { color: var(--text-muted); font-weight: 500; }
.checkin-history-action { display: inline-block; margin-top: 5px; font-size: 14px; }

/* Unified support inbox */
.support-page { display: grid; gap: 28px; }.support-compose { display: grid; gap: 20px; }.support-compose h2, .support-compose p { margin: 0; }.support-compose form, .support-reply { display: grid; gap: 14px; }.support-compose textarea, .support-reply textarea { resize: vertical; }.form-hint { color: var(--text-muted); font-size: 13px; line-height: 1.45; }.support-history { display: grid; gap: 12px; }.section-heading h2 { margin: 0; }.support-ticket { padding: 0; overflow: clip; }.support-ticket > summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; padding: 18px 20px; list-style: none; }.support-ticket > summary::-webkit-details-marker { display: none; }.support-ticket > summary > span { display: grid; gap: 3px; }.support-ticket > summary small, .support-ticket > summary time { color: var(--text-muted); font-size: 13px; }.support-thread { display: grid; gap: 10px; border-top: 1px solid var(--border); padding: 18px 20px; }.support-message { max-width: 88%; border-radius: var(--radius-sm); background: var(--surface-muted); padding: 12px 14px; }.support-message-user { justify-self: end; background: var(--accent-soft); }.support-message header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-bottom: 6px; font-size: 12px; }.support-message time { color: var(--text-muted); }.support-message p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }.support-reply { border-top: 1px solid var(--border); padding: 18px 20px 20px; }
@media (max-width: 560px) { .support-ticket > summary { align-items: flex-start; flex-direction: column; }.support-message { max-width: 96%; }.support-compose .btn, .support-reply .btn { width: 100%; } }

@media (min-width: 720px) { .tarot-feature { grid-template-columns: minmax(0, 1fr) minmax(300px, .65fr); }.spread-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.deck-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .deck-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 720px) { .tarot-daily-feature { grid-template-columns: minmax(320px, 360px) minmax(0, 1fr); gap: clamp(40px, 6vw, 76px); }.tarot-daily-art { margin: 0; }.tarot-daily-actions { grid-template-columns: max-content max-content; }.tarot-daily-actions .btn { width: auto; } }
@media (max-width: 560px) { .onboarding-card { padding: 20px; }.onboarding-submit { width: 100%; }.reading-card { grid-template-columns: 82px minmax(0, 1fr); }.reading-mini-card { min-height: 122px; }.week-grid { grid-template-columns: 1fr; }.profile-page .page-header { align-items: stretch; flex-direction: column; }.profile-header-action { width: 100%; }.history-item { grid-template-columns: 1fr; }.tarot-daily-page { gap: 14px; padding-bottom: 112px; }.tarot-daily-header p:last-child { font-size: 16px; }.tarot-daily-art { width: min(100%, 270px); }.tarot-daily-copy h1 { margin-bottom: 16px; }.tarot-daily-interpretation p { font-size: 17px; }.tarot-daily-actions { margin-top: 20px; } }

/* Natal chart keeps one SVG coordinate system; only its presentation lives here. */
.natal-page { display: grid; gap: 24px; }.natal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }.natal-actions form { margin: 0; }.natal-recalculate { width: 46px; height: 46px; color: var(--accent-strong); font-size: 23px; }.natal-recalculate:hover { border-color: var(--accent); background: var(--accent-soft); }.natal-notice { display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid color-mix(in srgb, var(--air) 32%, var(--border)); border-radius: var(--radius); background: color-mix(in srgb, var(--air) 7%, var(--surface)); padding: 14px 16px; }.natal-notice strong, .natal-notice span { display: block; }.natal-notice span { color: var(--text-muted); font-size: 14px; }.natal-big-three { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }.natal-big-three-card { display: flex; align-items: center; gap: 10px; min-height: 82px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 14px; }.natal-big-three-card--muted { opacity: .68; }.natal-big-three-card p { margin: 0 0 3px; color: var(--text-muted); font-size: 13px; }.natal-big-three-card strong { font-size: 15px; }.natal-badge { display: inline-grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent-strong); font-size: 10px; font-weight: 800; }.natal-layout { display: grid; align-items: start; gap: 18px; }.natal-wheel-frame { min-width: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); padding: 14px; }.natal-wheel-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; color: var(--text-muted); font-size: 13px; }.natal-wheel { display: block; width: 100%; height: auto; }.wheel-rim { fill: #fffdfc; stroke: #c8c2bc; stroke-width: 2.2; }.wheel-zodiac { fill: #f8f6f1; stroke: #d8d1ca; stroke-width: 1.4; }.wheel-center { fill: #fffdfc; stroke: #ded8d1; stroke-width: 1.3; }.wheel-sign-divider { stroke: #ded8d1; stroke-width: 1.1; }.wheel-sign { dominant-baseline: middle; font-family: "Segoe UI Symbol", sans-serif; font-size: 18px; text-anchor: middle; }.wheel-house { stroke: #bfbab3; stroke-dasharray: 4 5; stroke-width: 1.1; }.wheel-house-number { dominant-baseline: middle; fill: #706c67; font-family: Arial, sans-serif; font-size: 12px; font-weight: 700; text-anchor: middle; }.wheel-axis { stroke: #635b9f; stroke-width: 2.1; }.wheel-axis-label { dominant-baseline: middle; fill: #4f477f; font-family: Arial, sans-serif; font-size: 10px; font-weight: 800; text-anchor: middle; }.wheel-aspect { fill: none; pointer-events: none; stroke-linecap: round; stroke-opacity: 1; stroke-width: 3.4; vector-effect: non-scaling-stroke; }.wheel-planet { cursor: pointer; outline: none; }.wheel-planet-halo { fill: none; stroke: #635b9f; stroke-opacity: 0; stroke-width: 2.5; }.wheel-planet-dot { fill: #fffdfc; stroke: #191817; stroke-width: 1.6; }.wheel-planet-glyph { dominant-baseline: middle; fill: #191817; font-family: "Segoe UI Symbol", sans-serif; font-size: 15px; pointer-events: none; text-anchor: middle; }.wheel-planet:focus .wheel-planet-halo, .wheel-planet--selected .wheel-planet-halo { stroke-opacity: 1; }.wheel-planet--muted { opacity: .34; }.natal-detail { min-height: 220px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 20px; }.natal-detail h2 { margin: 0 0 10px; }.natal-detail p { color: var(--text-muted); }.natal-position { font-weight: 700; }.natal-section h2, .natal-reading h2 { margin: 0; }.natal-position-grid { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }.natal-position-card { display: flex; align-items: center; gap: 10px; min-height: 64px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); padding: 10px; text-align: left; }.natal-position-card:hover, .natal-position-card--selected { border-color: var(--accent); background: var(--accent-soft); }.natal-position-card strong, .natal-position-card small { display: block; }.natal-position-card small { color: var(--text-muted); font-size: 13px; }.natal-reading { border-top: 1px solid var(--border); padding-top: 28px; }.natal-reading-intro { max-width: 720px; margin-top: 10px; color: var(--text-muted); font-size: 17px; line-height: 1.55; }.natal-reading-grid { display: grid; gap: 12px; margin-top: 18px; }.natal-reading-card h3 { margin: 0 0 8px; }.natal-reading-card p:last-child { margin: 0; color: var(--text-muted); }.natal-connections { display: grid; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 18px; }.natal-connections article { display: flex; gap: 10px; border-top: 1px solid var(--border); padding: 14px 0; }.natal-connections article:last-child { padding-bottom: 0; }.natal-connections i { display: block; width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; margin-top: 6px; }.natal-connections h3 { margin: 0 0 5px; font-size: 16px; }.natal-connections p { margin: 0; color: var(--text-muted); }
@media (min-width: 860px) { .natal-layout { grid-template-columns: minmax(0, 660px) minmax(290px, 1fr); }.natal-reading-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .natal-head { gap: 10px; }.natal-notice { align-items: flex-start; flex-direction: column; }.natal-big-three, .natal-position-grid { grid-template-columns: 1fr; }.natal-wheel-toolbar { align-items: flex-start; flex-direction: column; }.wheel-house-number { font-size: 10px; } }
[x-cloak] { display: none !important; }

/* Conversion refresh: one calm grid for the public presentation. */
.landing-body { background: var(--bg); }
.landing-page { overflow: clip; background: var(--bg); color: var(--text); }
.landing-page *, .plus-page * { min-width: 0; }
.landing-hero { position: relative; isolation: isolate; display: grid; min-height: min(780px, 100svh); overflow: hidden; padding: 22px max(24px, calc((100vw - 1080px) / 2)) 54px; }
.landing-hero-art { position: absolute; z-index: -2; inset: 0; display: block; width: 100%; height: 100%; }
.landing-hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.landing-hero-wash { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(246, 243, 238, .96) 0%, rgba(246, 243, 238, .87) 36%, rgba(246, 243, 238, .38) 56%, rgba(246, 243, 238, 0) 72%), linear-gradient(0deg, var(--bg), rgba(246, 243, 238, 0) 15%); }
.landing-header { display: flex; align-items: center; }
.landing-brand { color: var(--text); font-family: var(--font-serif); font-size: 28px; font-weight: 600; line-height: 1; text-decoration: none; }.landing-brand span { color: var(--accent); }
.landing-copy { width: min(50vw, 600px); max-width: 600px; align-self: center; margin-top: 58px; padding: 38px 0; }.landing-kicker { margin: 0 0 12px; color: var(--accent-strong); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.landing-copy h1 { margin: 0 0 18px; font-size: clamp(43px, 5vw, 70px); line-height: 1; overflow-wrap: break-word; }.landing-lede { max-width: 540px; margin: 0; color: #383531; font-family: var(--font-serif); font-size: clamp(20px, 2vw, 24px); line-height: 1.38; }.landing-actions { display: grid; width: min(100%, 500px); justify-items: stretch; gap: 9px; margin-top: 26px; }.landing-action-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }.landing-action-buttons .btn { width: 100%; min-height: 58px; padding-right: 18px; padding-left: 18px; font-size: 15px; }.landing-example-button { width: 100%; min-height: 48px; border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); background: color-mix(in srgb, var(--accent-soft) 48%, var(--surface)); color: var(--accent-strong); font-weight: 800; }.landing-example-button:hover { border-color: var(--accent); background: var(--accent-soft); }.landing-access-note { max-width: 500px; margin: 10px 0 0; color: var(--text-muted); font-size: 14px; line-height: 1.45; }
.landing-content { width: min(100% - 48px, 1080px); margin: 0 auto; }.landing-section { border-top: 1px solid var(--border); padding: clamp(58px, 7vw, 82px) 0; }.landing-section-intro { max-width: 670px; margin-bottom: 30px; }.landing-section-intro h2, .landing-access h2, .landing-final h2 { margin: 0; font-size: clamp(34px, 4vw, 50px); line-height: 1.08; overflow-wrap: break-word; }.landing-section-intro > p:not(.eyebrow), .landing-access > div:first-child > p:not(.eyebrow) { max-width: 640px; margin: 12px 0 0; color: var(--text-muted); font-size: 18px; line-height: 1.55; }
.landing-concern-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }.landing-concern-list article { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 24px 24px 24px 0; }.landing-concern-list article + article { border-left: 1px solid var(--border); padding-left: 24px; }.landing-concern-list span { color: var(--accent-strong); font-size: 12px; font-weight: 800; }.landing-concern-list h3, .landing-concern-list p { margin: 0; }.landing-concern-list h3 { font-size: 21px; }.landing-concern-list p { margin-top: 7px; color: var(--text-muted); line-height: 1.5; }
.landing-example { padding-right: clamp(0px, 3vw, 30px); padding-left: clamp(0px, 3vw, 30px); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--accent-soft) 23%, var(--bg)); }.landing-day-demo { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr); gap: 16px; margin-bottom: 16px; }.landing-demo-forecast, .landing-demo-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 26px; overflow-wrap: break-word; }.landing-demo-forecast h3, .landing-demo-card h3, .landing-demo-forecast p, .landing-demo-card p { margin: 0; }.landing-demo-forecast h3, .landing-demo-card h3 { margin: 7px 0 10px; font-size: 28px; }.landing-demo-forecast > p, .landing-demo-card-copy > p { color: var(--text-muted); font-size: 17px; line-height: 1.55; }.landing-demo-guidance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }.landing-demo-guidance > div { display: grid; align-content: start; gap: 7px; min-height: 144px; border-radius: var(--radius-sm); padding: 16px; }.landing-demo-guidance span, .landing-demo-focus span, .landing-demo-card-prompt span { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }.landing-demo-guidance strong, .landing-demo-focus strong, .landing-demo-card-prompt strong { line-height: 1.42; }.landing-demo-do { border: 1px solid color-mix(in srgb, var(--positive) 32%, var(--border)); background: var(--positive-soft); }.landing-demo-do span { color: var(--positive); }.landing-demo-avoid { border: 1px solid color-mix(in srgb, var(--caution) 25%, var(--border)); background: var(--caution-soft); }.landing-demo-avoid span { color: var(--caution); }.landing-demo-focus { display: grid; gap: 5px; margin-top: 14px; border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--accent-soft) 35%, var(--surface)); padding: 14px 16px; }.landing-demo-focus span, .landing-demo-card-prompt span { color: var(--accent-strong); }.landing-demo-focus p { color: var(--text-muted); font-size: 14px; line-height: 1.45; }.landing-demo-card { display: grid; grid-template-columns: 132px minmax(0, 1fr); align-items: start; gap: 20px; }.landing-demo-card img { display: block; width: 100%; border-radius: 9px; }.landing-demo-card-prompt { display: grid; gap: 6px; margin-top: 18px; border-top: 1px solid var(--border); padding-top: 16px; }.landing-demo-checkin { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 20px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, .36); padding: 20px 22px; }.landing-demo-checkin h3, .landing-demo-checkin p { margin: 0; }.landing-demo-checkin h3 { margin-top: 4px; font-size: 22px; }.landing-demo-checkin > div:first-child > p:last-child { margin-top: 5px; color: var(--text-muted); font-size: 14px; }.landing-demo-responses { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 7px; }.landing-demo-responses span { border: 1px solid var(--border); border-radius: 999px; background: var(--surface); padding: 8px 11px; color: var(--text-muted); font-size: 12px; font-weight: 700; }
/* Keep the landing-page check-in consistent with the product card. */
.landing-demo-checkin { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.landing-how { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); gap: clamp(40px, 8vw, 90px); }.landing-start { margin-top: 28px; border-top: 1px solid var(--border); padding-top: 18px; }.landing-start ol { display: grid; gap: 9px; margin: 10px 0; padding: 0; list-style: none; }.landing-start li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; line-height: 1.4; }.landing-start li span { display: grid; width: 20px; height: 20px; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--accent-strong); font-size: 11px; font-weight: 800; }.landing-start > p:last-child { margin: 10px 0 0; color: var(--text-muted); font-size: 14px; line-height: 1.45; }.landing-rhythm { display: grid; margin: 0; padding: 0; list-style: none; }.landing-rhythm li { display: grid; gap: 5px; border-top: 1px solid var(--border); padding: 20px 0; }.landing-rhythm li:last-child { border-bottom: 1px solid var(--border); }.landing-rhythm span { color: var(--accent-strong); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }.landing-rhythm strong { font-family: var(--font-serif); font-size: 23px; line-height: 1.25; }.landing-rhythm p { margin: 0; color: var(--text-muted); line-height: 1.45; }
.landing-access { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .82fr); align-items: center; gap: clamp(36px, 8vw, 90px); }.landing-plus-summary { border-left: 3px solid var(--accent); padding: 8px 0 8px 24px; }.landing-plus-summary h3, .landing-plus-summary p { margin: 0; }.landing-plus-summary h3 { font-family: var(--font-serif); font-size: 28px; line-height: 1.18; }.landing-plus-summary > p:not(.eyebrow) { margin: 10px 0 14px; color: var(--text-muted); line-height: 1.5; }.landing-plus-summary .landing-plus-terms { font-size: 14px; }.landing-access-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }.landing-plus-summary .landing-access-actions a:not(.btn) { color: var(--accent-strong); font-weight: 800; text-decoration: none; }
.landing-faq { max-width: 820px; }.landing-faq-list { display: grid; border-top: 1px solid var(--border); }.landing-faq-list details { border-bottom: 1px solid var(--border); }.landing-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 62px; cursor: pointer; font-weight: 800; list-style: none; }.landing-faq-list summary::-webkit-details-marker { display: none; }.landing-faq-list summary::after { flex: 0 0 auto; color: var(--accent-strong); content: "+"; font-size: 24px; font-weight: 400; }.landing-faq-list details[open] summary::after { content: "−"; }.landing-faq-list p { max-width: 700px; margin: 0 0 18px; color: var(--text-muted); line-height: 1.55; }
.landing-final { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 34px; border-radius: var(--radius-lg); background: var(--accent-soft); padding: clamp(28px, 5vw, 50px); }.landing-final h2 { max-width: 650px; }.landing-final-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); flex: 0 1 420px; gap: 10px; }.landing-final-actions .btn { width: 100%; min-height: 56px; }.landing-footer { padding: 34px 0 44px; }.landing-footer nav { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 18px; }.landing-footer a { color: var(--accent-strong); font-weight: 700; }.landing-footer p { max-width: 700px; margin: 8px 0; color: var(--text-muted); font-size: 14px; line-height: 1.5; }
.auth-body { min-height: 100dvh; background: var(--bg); }.auth-page { min-height: 100dvh; padding: 22px max(20px, calc((100vw - 1120px) / 2)) 50px; }.auth-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }.auth-header-link { color: var(--accent-strong); font-size: 14px; font-weight: 700; text-decoration: none; }.auth-layout { display: grid; max-width: 1000px; margin: clamp(36px, 9vh, 96px) auto 0; }.auth-intro { display: none; }.auth-content { min-width: 0; }.auth-card { margin: 0 auto; }.auth-progress { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; overflow: hidden; color: var(--text-muted); font-size: 11px; font-weight: 800; white-space: nowrap; }.auth-progress li { display: flex; align-items: center; gap: 8px; }.auth-progress li:not(:last-child)::after { width: 18px; height: 1px; background: var(--border); content: ""; }.auth-progress .is-active { color: var(--accent-strong); }.auth-card .auth-progress { margin-bottom: 4px; }
.forecast-hero h1 { font-size: clamp(36px, 4.7vw, 58px); line-height: 1.02; }
@media (min-width: 720px) { .auth-layout { grid-template-columns: minmax(0, .8fr) minmax(380px, .7fr); align-items: center; gap: clamp(48px, 10vw, 120px); }.auth-intro { display: grid; gap: 15px; max-width: 280px; }.auth-intro img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }.auth-intro p { margin: 0; color: var(--text-muted); font-family: var(--font-serif); font-size: 21px; line-height: 1.3; } }
@media (max-width: 719px) { .landing-hero { display: block; min-height: 760px; padding: 20px 20px 38px; }.landing-hero-art { height: 520px; }.landing-hero-art img { object-position: center 28%; }.landing-hero-wash { bottom: auto; height: 520px; background: linear-gradient(180deg, rgba(246, 243, 238, .12) 0%, rgba(246, 243, 238, 0) 35%, rgba(246, 243, 238, .92) 78%, var(--bg) 100%); }.landing-copy { width: 100%; max-width: none; margin-top: 320px; padding: 0; }.landing-copy h1 { font-size: clamp(39px, 10.5vw, 52px); }.landing-lede { font-size: 20px; }.landing-content { width: min(100% - 40px, 1080px); }.landing-concern-list, .landing-day-demo, .landing-how, .landing-access, .landing-demo-guidance { grid-template-columns: 1fr; }.landing-concern-list article { padding: 20px 0; }.landing-concern-list article + article { border-top: 1px solid var(--border); border-left: 0; padding-left: 0; }.landing-example { margin-right: -8px; margin-left: -8px; padding-right: 18px; padding-left: 18px; }.landing-demo-card { grid-template-columns: 90px minmax(0, 1fr); gap: 14px; padding: 16px; }.landing-demo-forecast { padding: 18px; }.landing-demo-guidance > div { min-height: 0; }.landing-demo-forecast h3, .landing-demo-card h3 { font-size: 24px; }.landing-demo-checkin { align-items: stretch; flex-direction: column; }.landing-demo-responses { flex: 0 1 auto; }.landing-how { gap: 4px; }.landing-access { gap: 30px; }.landing-plus-summary { padding-left: 18px; }.landing-final { align-items: stretch; flex-direction: column; }.landing-final-actions { width: 100%; flex: 0 0 auto; }.landing-final .btn { width: 100%; }.scenario-banner { align-items: stretch; flex-direction: column; }.scenario-banner .btn { width: 100%; }.auth-progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; font-size: 9px; line-height: 1.15; white-space: normal; }.auth-progress li { min-width: 0; }.auth-progress li:not(:last-child)::after { display: none; } }

@media (min-width: 720px) and (max-width: 1100px) {
  .landing-hero-art img { object-position: 80% center; }
  .landing-hero-wash { background: linear-gradient(90deg, rgba(246, 243, 238, .96) 0%, rgba(246, 243, 238, .92) 42%, rgba(246, 243, 238, .6) 60%, rgba(246, 243, 238, 0) 85%), linear-gradient(0deg, var(--bg), rgba(246, 243, 238, 0) 15%); }
}

/* Public SEO tools */
.public-tool-body { background: var(--bg); }
.public-header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 30px; width: min(100% - 48px, 1120px); margin: 0 auto; border-bottom: 1px solid var(--border); padding: 20px 0; }
.public-header nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.public-header nav a { color: var(--text-muted); font-size: 14px; font-weight: 700; text-decoration: none; }
.public-header nav a:hover { color: var(--accent-strong); }
.public-header-action { min-height: 42px; padding: 9px 16px; }
.public-tool-page { width: min(100% - 48px, 1080px); margin: 0 auto; padding: clamp(42px, 6vw, 76px) 0 80px; }
.public-footer { display: grid; grid-template-columns: auto minmax(240px, 1fr) auto; align-items: start; gap: 28px; width: min(100% - 48px, 1080px); margin: 0 auto; border-top: 1px solid var(--border); padding: 30px 0 42px; }
.public-footer p { max-width: 560px; margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.5; }
.public-footer nav { display: grid; gap: 7px; }
.public-footer nav a { color: var(--accent-strong); font-size: 13px; font-weight: 700; }
.seo-tool { display: grid; gap: clamp(44px, 7vw, 76px); }
.seo-tool-hero { display: flex; align-items: end; justify-content: space-between; gap: 36px; }
.seo-tool-hero > div { max-width: 760px; }
.seo-tool-hero .eyebrow, .seo-tool-hero h1, .seo-tool-hero p { margin: 0; }
.seo-tool-hero h1 { margin-top: 8px; font-size: clamp(42px, 6vw, 72px); line-height: 1.02; }
.seo-tool-hero > div > p:last-child { max-width: 690px; margin-top: 16px; color: var(--text-muted); font-family: var(--font-serif); font-size: clamp(19px, 2.4vw, 24px); line-height: 1.42; }
.seo-tool-hero form .btn { min-width: 190px; min-height: 54px; }
.seo-daily-result { display: grid; grid-template-columns: minmax(180px, 280px) minmax(0, 1fr); gap: clamp(24px, 5vw, 58px); align-items: center; padding: clamp(20px, 4vw, 38px); }
.seo-card-art { overflow: hidden; border-radius: calc(var(--radius) - 4px); background: var(--accent-soft); }
.seo-card-art img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.seo-card-art.is-reversed img { transform: rotate(180deg); }
.seo-result-copy { display: grid; justify-items: start; gap: 12px; }
.seo-result-copy .eyebrow, .seo-result-copy h2, .seo-result-copy p { margin: 0; }
.seo-result-copy h2 { font-size: clamp(34px, 5vw, 54px); }
.seo-result-copy > p:not(.eyebrow) { color: var(--text-muted); font-size: 18px; line-height: 1.6; }
.seo-result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.seo-tool-section { display: grid; grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr); gap: clamp(28px, 7vw, 80px); border-top: 1px solid var(--border); padding-top: 34px; }
.seo-tool-section .eyebrow, .seo-tool-section h2 { margin: 0; }
.seo-tool-section h2, .seo-tool-related h2, .seo-spread-picker h2, .seo-natal-reading > h2 { margin-top: 7px; font-size: clamp(30px, 4vw, 42px); line-height: 1.1; }
.seo-prose { display: grid; gap: 14px; }
.seo-prose p { margin: 0; color: var(--text-muted); font-size: 17px; line-height: 1.65; }
.seo-tool-related, .seo-tool-faq { max-width: 880px; }
.seo-tool-related h2 { margin: 0 0 18px; }
.seo-tool-related > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.seo-tool-related .card { display: grid; gap: 10px; color: var(--text); text-decoration: none; }
.seo-tool-related .card:hover { border-color: var(--accent); }
.seo-tool-related strong { font-family: var(--font-serif); font-size: 22px; line-height: 1.2; }
.seo-tool-related span { color: var(--accent-strong); font-size: 13px; font-weight: 800; }
.seo-breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px 9px; margin-bottom: -28px; color: var(--text-muted); font-size: 13px; }
.seo-breadcrumbs a { color: var(--accent-strong); font-weight: 700; }
.seo-tool-faq { padding-top: 0; }
.seo-natal-form { display: grid; gap: 18px; padding: clamp(20px, 4vw, 34px); }
.seo-natal-fields { display: grid; grid-template-columns: 1fr .7fr .8fr 1.4fr; align-items: start; gap: 14px; }
.seo-natal-city { display: grid; }
.seo-natal-city .city-status { margin: 0; }
.seo-natal-form > .btn { justify-self: start; min-height: 52px; }
.seo-form-privacy { margin: -4px 0 0; color: var(--text-muted); font-size: 12px; }
.seo-form-privacy a { color: var(--accent-strong); }
.seo-natal-result { display: grid; gap: 28px; scroll-margin-top: 20px; }
.seo-natal-result > header h2, .seo-natal-result > header p { margin: 0; }
.seo-natal-result > header h2 { margin-top: 5px; font-size: clamp(32px, 5vw, 48px); }
.seo-natal-result > header > p:last-child { margin-top: 8px; color: var(--text-muted); }
.seo-natal-overview { display: grid; grid-template-columns: minmax(300px, .9fr) minmax(280px, 1.1fr); align-items: center; gap: clamp(24px, 5vw, 58px); }
.seo-natal-overview .natal-wheel-frame { max-width: 520px; }
.seo-natal-big-three { display: grid; gap: 10px; }
.seo-natal-big-three article { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 13px; padding: 16px; }
.seo-natal-big-three article > span { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent-strong); font-weight: 800; }
.seo-natal-big-three small, .seo-natal-big-three strong { display: block; }
.seo-natal-big-three small { margin-bottom: 3px; color: var(--text-muted); }
.seo-natal-big-three strong { font-family: var(--font-serif); font-size: 21px; }
.seo-natal-big-three .is-muted { opacity: .72; }
.seo-natal-reading > h2 { margin: 0; }
.seo-natal-reading > p { max-width: 780px; color: var(--text-muted); font-size: 17px; line-height: 1.6; }
.seo-natal-reading > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.seo-natal-reading article h3, .seo-natal-reading article p { margin: 0; }
.seo-natal-reading article h3 { margin: 5px 0 10px; font-size: 23px; }
.seo-natal-reading article p:last-child { color: var(--text-muted); line-height: 1.55; }
.seo-spread-picker { display: grid; gap: 18px; }
.seo-tool-section-heading .eyebrow, .seo-tool-section-heading h2 { margin: 0; }
.seo-spread-result { display: grid; gap: 22px; }
.seo-spread-result > header h2, .seo-spread-result > header p { margin: 0; }
.seo-spread-result > header h2 { margin: 5px 0 9px; font-size: clamp(34px, 5vw, 52px); }
.seo-spread-result > header > p:last-child { max-width: 680px; color: var(--text-muted); font-size: 17px; line-height: 1.55; }
.seo-spread-cards { display: grid; gap: 14px; }
.seo-spread-cards article { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; padding: 14px; }
.seo-spread-cards article h3, .seo-spread-cards article p { margin: 0; }
.seo-spread-cards article h3 { margin: 4px 0; font-size: 25px; }
.seo-spread-cards article small { color: var(--text-muted); }
.seo-spread-cards article div > p:last-child { margin-top: 10px; color: var(--text-muted); line-height: 1.55; }
.landing-tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.landing-tool-grid .card { display: grid; gap: 8px; color: var(--text); text-decoration: none; }
.landing-tool-grid .card:hover { border-color: var(--accent); }
.landing-tool-grid span { color: var(--accent-strong); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.landing-tool-grid strong { font-family: var(--font-serif); font-size: 25px; }
.landing-tool-grid p { margin: 0; color: var(--text-muted); }
.landing-tool-grid i { margin-top: 8px; color: var(--accent-strong); font-size: 13px; font-style: normal; font-weight: 800; }
.lunar-now { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(250px, .72fr); align-items: center; gap: clamp(22px, 4vw, 42px); padding: clamp(22px, 4vw, 38px); border-color: color-mix(in srgb, var(--air) 35%, var(--border)); background: linear-gradient(135deg, color-mix(in srgb, var(--air) 10%, var(--surface)), var(--surface)); }
.lunar-now-moon, .lunar-detail-moon { width: clamp(112px, 14vw, 154px); }
.lunar-now-copy { display: grid; gap: 8px; }
.lunar-now-copy .eyebrow, .lunar-now-copy h2, .lunar-now-copy p { margin: 0; }
.lunar-now-copy h2 { font-size: clamp(34px, 5vw, 52px); }
.lunar-now-copy p { color: var(--text-muted); line-height: 1.55; }
.lunar-now-copy .lunar-now-summary { color: var(--text); font-weight: 750; }
.lunar-events { display: grid; gap: 16px; margin: 0; }
.lunar-events div { border-top: 1px solid var(--border); padding-top: 11px; }
.lunar-events dt { color: var(--text-muted); font-size: 12px; font-weight: 700; }
.lunar-events dd { margin: 4px 0 0; font-family: var(--font-serif); font-size: 20px; font-weight: 700; }
.lunar-section-heading { max-width: 720px; }
.lunar-section-heading .eyebrow, .lunar-section-heading h2, .lunar-section-heading p { margin: 0; }
.lunar-section-heading h2 { margin-top: 7px; font-size: clamp(30px, 4vw, 42px); }
.lunar-section-heading > p:last-child { margin-top: 10px; color: var(--text-muted); }
.lunar-phase-library { display: grid; gap: 20px; }
.lunar-phase-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lunar-phase-card { display: grid; grid-template-columns: 66px minmax(0, 1fr); align-items: center; gap: 16px; color: var(--text); text-decoration: none; }
.lunar-phase-card > span:last-child { display: grid; gap: 6px; }
.lunar-phase-card strong { font-family: var(--font-serif); font-size: 24px; }
.lunar-phase-card small { color: var(--text-muted); line-height: 1.45; }
.lunar-phase-card i { color: var(--accent-strong); font-size: 13px; font-style: normal; font-weight: 800; }
.lunar-detail-hero { align-items: center; }
.lunar-detail-moon { flex: 0 0 auto; }
.lunar-questions { display: grid; gap: 12px; max-width: 880px; padding: clamp(22px, 4vw, 36px); }
.lunar-questions .eyebrow, .lunar-questions h2, .lunar-questions p { margin: 0; }
.lunar-questions h2 { font-size: clamp(30px, 4vw, 42px); }
.lunar-questions ol { display: grid; gap: 10px; margin: 8px 0; padding: 0; list-style: none; }
.lunar-questions li { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: center; gap: 11px; font-size: 17px; }
.lunar-questions li span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); font-weight: 800; }
.lunar-questions > p:last-child { color: var(--text-muted); line-height: 1.55; }

@media (max-width: 900px) {
  .public-header { grid-template-columns: auto auto; }
  .public-header nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
  .public-header-action { justify-self: end; }
  .seo-natal-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-tool-related > div, .seo-natal-reading > div { grid-template-columns: 1fr 1fr; }
  .landing-tool-grid { grid-template-columns: 1fr 1fr; }
  .lunar-now { grid-template-columns: auto minmax(0, 1fr); }
  .lunar-events { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 719px) {
  .public-header, .public-tool-page, .public-footer { width: min(100% - 36px, 1080px); }
  .public-header { gap: 16px; padding: 17px 0; }
  .public-header nav { flex-wrap: nowrap; margin-right: -18px; margin-left: -18px; overflow-x: auto; padding: 2px 18px 7px; scrollbar-width: none; }
  .public-header nav a { flex: 0 0 auto; }
  .public-header-action { min-height: 38px; padding: 7px 12px; font-size: 12px; }
  .public-tool-page { padding-top: 36px; }
  .public-footer { grid-template-columns: 1fr; gap: 14px; }
  .public-footer nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
  .seo-tool { gap: 48px; }
  .seo-tool-hero { align-items: stretch; flex-direction: column; gap: 22px; }
  .seo-tool-hero h1 { font-size: clamp(39px, 11vw, 52px); }
  .seo-tool-hero form .btn { width: 100%; }
  .seo-daily-result, .seo-tool-section, .seo-natal-overview { grid-template-columns: 1fr; }
  .seo-daily-result { padding: 16px; }
  .seo-daily-result .seo-card-art { width: min(72%, 250px); justify-self: center; }
  .seo-result-actions, .seo-result-actions .btn { width: 100%; }
  .seo-natal-fields, .seo-tool-related > div, .seo-natal-reading > div, .landing-tool-grid { grid-template-columns: 1fr; }
  .lunar-now { grid-template-columns: 1fr; justify-items: start; }
  .lunar-events, .lunar-phase-grid { grid-template-columns: 1fr; }
  .lunar-detail-hero { align-items: flex-start; }
  .seo-natal-form > .btn { width: 100%; }
  .seo-natal-overview .natal-wheel-frame { width: 100%; }
  .seo-spread-cards article { grid-template-columns: 86px minmax(0, 1fr); gap: 13px; padding: 10px; }
  .seo-spread-cards article h3 { font-size: 21px; }
}
@media (max-width: 360px) { .auth-progress { font-size: 0; }.auth-progress li { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid var(--border); border-radius: 50%; }.auth-progress li::before { color: var(--text-muted); font-size: 11px; font-weight: 800; }.auth-progress li:nth-child(1)::before { content: "1"; }.auth-progress li:nth-child(2)::before { content: "2"; }.auth-progress li:nth-child(3)::before { content: "3"; }.auth-progress li:nth-child(4)::before { content: "4"; }.auth-progress li.is-active { border-color: var(--accent); background: var(--accent-soft); }.auth-progress li.is-active::before { color: var(--accent-strong); } }

/* Public editorial library */
.article-breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; }
.arcana-header { grid-template-columns: minmax(120px, 200px) minmax(0, 1fr); align-items: center; gap: 28px; }
.arcana-illustration { width: 100%; height: auto; border-radius: 14px; }
.arcana-picture { display: block; width: 100%; aspect-ratio: 2 / 3; }
.arcana-header h1 { font-size: clamp(30px, 4vw, 44px); overflow-wrap: anywhere; }
.article-byline { color: var(--text-muted); font-size: 13px; margin-bottom: 0; }
.article-contents { display: grid; gap: 10px; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; background: var(--surface); }
.article-contents a { width: fit-content; }
.guide-body section { scroll-margin-top: 24px; }
.article-note { border-left: 3px solid var(--accent); padding-left: 16px; color: var(--text-muted); line-height: 1.6; }
.article-related > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.article-related a { display: block; font-weight: 700; text-decoration: none; }
.arcana-detail-link { grid-column: 1 / -1; font-weight: 800; }
.minor-suit-hubs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.minor-suit-hub { display: grid; gap: 18px; align-content: start; }
.minor-suit-hub-copy { display: grid; gap: 8px; }
.minor-suit-hub-copy .eyebrow, .minor-suit-hub-copy h2, .minor-suit-hub-copy p { margin: 0; }
.minor-suit-hub-copy h2 { font-size: 30px; }
.minor-suit-hub-copy h2 a, .tarot-meaning-section-heading h2 a, .tarot-meaning-copy h2 a, .tarot-meaning-copy h3 a { color: inherit; text-decoration: none; }
.minor-suit-hub-copy h2 a:hover, .tarot-meaning-section-heading h2 a:hover, .tarot-meaning-copy h2 a:hover, .tarot-meaning-copy h3 a:hover { color: var(--accent-strong); }
.minor-suit-hub-copy p { color: var(--text-muted); line-height: 1.55; }
.minor-card-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 14px; border-top: 1px solid var(--border); padding-top: 15px; }
.minor-card-links a { font-size: 14px; }
.suit-card-contents { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.suit-card-contents strong { grid-column: 1 / -1; }
.tarot-suit-page .tarot-meaning-copy h2 { margin: 0; font-family: var(--font-serif); font-size: 25px; line-height: 1.15; }
.tarot-suit-page .tarot-meaning-card { scroll-margin-top: 24px; }
@media (max-width: 560px) {
  .arcana-header { grid-template-columns: 1fr; gap: 20px; }
  .arcana-picture { max-width: 180px; justify-self: center; }
  .article-related > div { grid-template-columns: 1fr; }
  .guide-cta .btn { width: 100%; }
  .minor-suit-hubs, .suit-card-contents { grid-template-columns: 1fr; }
  .minor-card-links { grid-template-columns: 1fr; }
}

/* Email login uses the same compact panel language as the profile. */
.account-access { display: grid; gap: 14px; border-color: color-mix(in srgb, var(--accent) 34%, var(--border)); background: color-mix(in srgb, var(--accent-soft) 48%, var(--surface)); }
.account-access h2 { margin: 0; font-size: 27px; }
.account-access .eyebrow { margin-bottom: 6px; }
.account-access__copy { max-width: 650px; margin: 0; color: var(--text-muted); }
.account-access__actions { display: flex; flex-wrap: wrap; gap: 10px; }.account-access__actions form { margin: 0; }
.email-inline-form { display: grid; gap: 10px; max-width: 520px; }
.email-auth-page { display: grid; gap: 16px; max-width: 540px; margin: 32px auto; }
.email-auth-page h1, .email-auth-page .page-intro { margin: 0; }
.max-connect-command { display: block; overflow-wrap: anywhere; user-select: all; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px; background: var(--surface); color: var(--text); }
.link-button { appearance: none; border: 0; border-bottom: 1px solid currentColor; padding: 0; color: inherit; background: transparent; font: inherit; cursor: pointer; }
.email-auth-form { display: grid; gap: 14px; }
.email-auth-form .btn { width: 100%; }

.reading-synthesis { display: grid; gap: 14px; border-color: color-mix(in srgb, var(--accent) 34%, var(--border)); background: color-mix(in srgb, var(--accent-soft) 34%, var(--surface)); }
.reading-synthesis h2 { margin: 0; font-size: 28px; }
.reading-synthesis__intro { max-width: 760px; margin: 0; color: var(--text-muted); font-size: 17px; }
.reading-details { border-top: 1px solid var(--border); padding-top: 4px; }.reading-details summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; color: var(--text); cursor: pointer; font-family: var(--font-serif); font-size: 22px; font-weight: 600; line-height: 1.15; list-style: none; }.reading-details summary::-webkit-details-marker { display: none; }.reading-details summary::after { width: 28px; height: 28px; flex: 0 0 28px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent-strong); content: "+"; font-family: Arial, sans-serif; font-size: 21px; font-weight: 400; line-height: 25px; text-align: center; }.reading-details[open] summary::after { content: "-"; }.reading-details[open] summary { border-bottom: 1px solid var(--border); color: var(--accent-strong); }.reading-synthesis__sections { display: grid; gap: 0; }
.reading-synthesis__sections article { border-top: 1px solid var(--border); padding: 14px 0; }
.reading-synthesis__sections article:last-child { padding-bottom: 0; }
.reading-synthesis__sections h3 { margin: 0 0 6px; font-size: 16px; }
.reading-synthesis__sections p { max-width: 800px; margin: 0; color: var(--text-muted); }
.reading-practice { display: grid; gap: 12px; border-top: 1px solid var(--border); padding-top: 16px; }
.reading-practice h3 { margin: 0; font-size: 18px; }
.reading-practice__cards { display: grid; gap: 12px; }
.reading-practice__card { display: grid; gap: 8px; min-width: 0; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); padding: 16px; overflow-wrap: anywhere; }
.reading-practice__card h4 { margin: 0; color: var(--accent-strong); font-size: 16px; font-weight: 700; line-height: 1.35; }
.reading-practice__card p { margin: 0; color: var(--text); font-size: 16px; line-height: 1.5; }
.reading-practice__card .reading-practice__source { color: var(--text-muted); font-size: 14px; }
.history-reading-link { display: block; color: inherit; text-decoration: none; }.history-reading-link:hover h3 { color: var(--accent-strong); }.history-reading-link h3::after { content: " →"; color: var(--accent-strong); }

/* Subscription and contextual access prompts */
.plus-page { display: grid; gap: 28px; width: 100%; max-width: 880px; margin: 0 auto; }
.plus-header { max-width: 720px; margin-bottom: 0; }.plus-header h1 { overflow-wrap: break-word; }
.plus-status { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 14px 0; }.plus-status p, .plus-status .eyebrow { margin: 0; }.plus-status strong { display: block; margin-top: 3px; font-family: var(--font-serif); font-size: 22px; }.plus-status > p { color: var(--text-muted); font-size: 14px; }
.plus-offer { display: grid; gap: 24px; border-color: color-mix(in srgb, var(--accent) 44%, var(--border)); background: color-mix(in srgb, var(--accent-soft) 26%, var(--surface)); padding: clamp(24px, 4vw, 38px); }.plus-offer-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }.plus-offer-heading h2, .plus-offer-heading p { margin: 0; }.plus-offer-heading h2 { margin-top: 5px; font-size: clamp(36px, 5vw, 50px); }.plus-offer-heading > p { color: var(--accent-strong); font-weight: 800; }.plus-feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; padding: 0; list-style: none; }.plus-feature-list li { display: grid; gap: 4px; border-top: 1px solid var(--border); padding: 15px 0; }.plus-feature-list span { color: var(--text-muted); line-height: 1.45; }.plus-offer-action { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }.plus-offer-action form, .plus-offer-action p { margin: 0; }.plus-note { color: var(--accent-strong); font-weight: 700; }
.plus-free { display: grid; grid-template-columns: minmax(180px, .55fr) minmax(0, 1.45fr); gap: 24px; border-bottom: 1px solid var(--border); padding: 0 2px 24px; }.plus-free p { margin: 0; color: var(--text-muted); line-height: 1.5; }
.plus-benefits { display: grid; gap: 22px; }.plus-section-heading h2, .plus-section-heading p { margin: 0; }.plus-section-heading h2 { margin-top: 5px; font-size: clamp(32px, 4vw, 42px); }.plus-benefit-list { display: grid; }.plus-benefit-list article { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 24px; border-top: 1px solid var(--border); padding: 20px 0; }.plus-benefit-list article:last-child { border-bottom: 1px solid var(--border); }.plus-benefit-list > article > span { color: var(--accent-strong); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }.plus-benefit-list h3, .plus-benefit-list p { margin: 0; }.plus-benefit-list h3 { font-size: 20px; }.plus-benefit-list p { margin-top: 5px; color: var(--text-muted); line-height: 1.5; }.plus-example { display: grid; gap: 7px; border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--accent-soft) 18%, var(--surface)); padding: 17px 20px; }.plus-example p { margin: 0; color: var(--text-muted); line-height: 1.5; }.plus-example .eyebrow { color: var(--accent-strong); }
.fountain-offer { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.fountain-offer h2 { margin: 0; }
.fountain-offer p:not(.eyebrow) { margin: 0; color: var(--text-muted); }
.fountain-offer .fountain-offer-price { margin-top: 5px; color: var(--accent-strong); font-size: 15px; font-weight: 800; }
.fountain-offer .fountain-offer-price + p { margin-top: 8px; }
.premium-prompt { display: grid; gap: 10px; border-color: color-mix(in srgb, var(--accent) 38%, var(--border)); background: color-mix(in srgb, var(--accent-soft) 45%, var(--surface)); }
.premium-prompt h2, .premium-prompt p { margin: 0; }
.premium-prompt p { color: var(--text-muted); }
.premium-prompt .btn { justify-self: start; }
.rail-footer a { color: var(--accent-strong); font-weight: 800; text-decoration: none; }
.referral-page { display: grid; gap: 18px; width: 100%; max-width: 720px; margin: 0 auto; padding: clamp(20px, 4vw, 34px); }
.referral-page h1, .referral-page p { margin: 0; }
.referral-page label { display: grid; gap: 8px; font-weight: 700; }
.referral-page input { box-sizing: border-box; width: 100%; min-width: 0; }
.referral-page .btn { justify-self: start; }
@media (max-width: 600px) { .plus-status, .plus-offer-heading, .fountain-offer { align-items: stretch; flex-direction: column; }.plus-feature-list, .plus-free { grid-template-columns: 1fr; }.plus-free { gap: 8px; }.plus-benefit-list article { grid-template-columns: 1fr; gap: 7px; }.plus-offer-action .btn, .fountain-offer .btn { width: 100%; }.plus-example { padding-right: 16px; padding-left: 16px; } }
.analytics-notice[hidden] { display: none; }
.site-footer { margin-top: 36px; border-top: 1px solid var(--border); padding-top: 22px; }
.document-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; line-height: 1.5; }
.document-links a { display: inline-flex; align-items: center; min-height: 36px; color: var(--text-muted); }
.document-links a:hover { color: var(--accent-strong); }
.auth-page > .site-footer { max-width: 1000px; margin-right: auto; margin-left: auto; }
.legal-page { display: grid; gap: 24px; }
.legal-page .page-header { margin-bottom: 0; }
.legal-page h1 { overflow-wrap: break-word; }
.legal-document { display: grid; gap: 24px; overflow-wrap: anywhere; }
.legal-document h2 { margin-bottom: 12px; font-size: 24px; }
.legal-document p { margin-bottom: 0; line-height: 1.65; }
.legal-related { margin-bottom: 0; color: var(--text-muted); font-size: 14px; }
.contacts-card { display: grid; gap: 14px; padding: clamp(20px, 4vw, 30px); }
.contacts-card h2, .contacts-card p { margin-bottom: 0; }
.contact-methods { display: grid; justify-items: start; gap: 2px; }
.contact-methods a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.merchant-details { margin: 0; border-top: 1px solid var(--border); }
.merchant-details > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; border-bottom: 1px solid var(--border); padding: 16px 0; }
.merchant-details dt { color: var(--text-muted); font-size: 14px; }
.merchant-details dd { margin: 0; overflow-wrap: anywhere; }
.plus-fulfillment { border-top: 1px solid var(--border); padding-top: 24px; }
.plus-fulfillment h2 { font-size: 26px; }
.plus-fulfillment p { color: var(--text-muted); }
.plus-fulfillment p:last-child { margin-bottom: 0; font-size: 14px; }
@media (max-width: 600px) { .merchant-details > div { grid-template-columns: 1fr; gap: 6px; }.document-links { gap: 4px 16px; }.legal-document h2 { font-size: 22px; } }
#analytics-privacy-off[hidden] { display: none; }
.auth-legal-note { margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.5; }
.analytics-notice { position: fixed; z-index: 1000; right: 18px; bottom: 18px; left: 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; max-width: 960px; margin: 0 auto; padding: 14px 18px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: 0 14px 48px rgba(30, 25, 45, .18); }
.analytics-notice p { max-width: 590px; margin: 0; font-size: 14px; line-height: 1.45; }
.field-error { margin: 0; color: var(--caution); font-size: 14px; font-weight: 500; }
.onboarding-card [aria-invalid="true"] { border-color: var(--caution); }
.analytics-notice-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.analytics-notice-actions .btn { min-height: 42px; padding: 9px 13px; font-size: 13px; }
@media (max-width: 720px) { .analytics-notice { bottom: 76px; flex-direction: column; align-items: stretch; }.analytics-notice-actions { flex-wrap: wrap; }.analytics-notice-actions .btn { flex: 1 1 150px; } }

.checkout-page { max-width: 820px; margin-inline: auto; }
.checkout-price { font-size: clamp(28px, 5vw, 40px); white-space: nowrap; }
.checkout-form { display: grid; gap: 20px; }
.checkout-consent { display: flex; align-items: flex-start; gap: 12px; line-height: 1.5; }
.checkout-consent input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent-strong); }
.checkout-period, .checkout-notice { padding: 18px; border-radius: 16px; background: var(--accent-soft); }
.checkout-period p, .checkout-notice p { margin: 8px 0 0; }
@media (max-width: 600px) { .checkout-form .btn, .checkout-page .plus-offer-action { width: 100%; }.checkout-page .plus-offer-heading { align-items: flex-start; } }

/* Editorial library: compact browsing, with the existing warm palette. */
.library-page { display: grid; gap: 18px; max-width: 1060px; margin: 0 auto; }
.library-header { display: grid; gap: 6px; }
.library-header .eyebrow { margin: 0; font-size: 11px; letter-spacing: .1em; }
.library-header h1 { margin: 0; font-size: clamp(34px, 4vw, 46px); line-height: 1.1; font-weight: 500; }
.library-header > p:last-child { margin: 0; color: var(--text-muted); font-size: 16px; }
.library-search { display: flex; align-items: center; gap: 10px; min-width: 0; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 5px 5px 5px 15px; }
.library-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.library-search > span { display: flex; width: 21px; flex: 0 0 21px; color: var(--text-muted); }
.library-search svg { width: 100%; }
.library-search input[type=search] { min-width: 0; width: 100%; border: 0; border-radius: 0; background: transparent; padding: 8px 0; box-shadow: none; font-size: 15px; }
.library-search input[type=search]:focus-visible { outline: none; }
.library-search button { min-height: 40px; background: var(--accent-soft); color: var(--accent-strong); padding: 8px 17px; border-radius: 8px; }
.catalog-results { display: grid; gap: 26px; }
.catalog-results[aria-busy=true] { opacity: .65; }
.catalog-error { margin: 0; color: var(--caution); font-size: 14px; }
.library-topics { display: flex; flex-wrap: wrap; gap: 7px; }
.library-topics a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border: 1px solid var(--border); border-radius: 100px; padding: 8px 17px; color: var(--text-muted); font-size: 14px; text-decoration: none; }
.library-topics a:hover { color: var(--accent-strong); border-color: var(--accent); }
.library-topics a[aria-current=true] { background: var(--accent-strong); border-color: var(--accent-strong); color: white; }
.library-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.library-shortcut { display: flex; gap: 14px; align-items: center; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--text); padding: 16px; text-decoration: none; }
.library-shortcut:hover { border-color: var(--accent); }
.shortcut-icon { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-strong); }
.shortcut-icon svg { width: 33px; height: 33px; }
.library-shortcut strong, .library-shortcut small { display: block; }
.library-shortcut strong { font-size: 16px; font-weight: 600; }
.library-shortcut small { margin-top: 3px; color: var(--text-muted); font-size: 13px; }
.library-shortcut b { margin-left: auto; color: var(--accent-strong); font-size: 20px; font-weight: 400; }
.library-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.library-section-heading h2 { margin: 0; font-size: 25px; font-weight: 500; }
.library-section-heading > span { color: var(--text-muted); font-size: 12px; white-space: nowrap; }
.library-starter-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.library-starter-list a { display: flex; align-items: center; gap: 12px; color: var(--text); padding: 16px 14px; text-decoration: none; }
.library-starter-list a + a { border-left: 1px solid var(--border); }
.library-starter-list a:hover { color: var(--accent-strong); background: var(--accent-soft); }
.library-starter-list a > span { color: var(--accent); font-family: var(--font-serif); font-size: 24px; }
.library-starter-list strong { font-size: 14px; line-height: 1.4; font-weight: 600; }
.library-starter-list b { margin-left: auto; color: var(--accent); font-weight: 400; }
.library-grid { display: grid; gap: 14px; }
.library-entry { display: grid; grid-template-columns: 106px minmax(0, 1fr); gap: 20px; min-height: 190px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); padding: 16px; color: var(--text); text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease; }
.library-entry:hover { color: var(--text); border-color: var(--accent); box-shadow: var(--shadow); }
.library-entry:hover .library-entry-copy > strong { color: var(--accent-strong); }
.library-entry-art { display: grid; align-self: center; place-items: center; height: 154px; overflow: hidden; border-radius: 10px; background: #f1ebe2; color: #a3895d; }
.library-entry-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.library-entry-art picture { display: block; width: 100%; height: 100%; }
.library-entry-art > svg { width: 100%; height: 100%; }
.library-entry--natal .library-entry-art { background: #eeebf5; color: #8473a6; }
.library-entry--moon .library-entry-art { background: #e9eef0; color: #6c828f; }
.library-entry-copy { display: flex; flex-direction: column; justify-content: center; gap: 9px; min-width: 0; }
.library-entry-meta { color: var(--text-muted); font-size: 11px; line-height: 1.4; }
.library-entry-copy > strong { font-family: var(--font-serif); font-size: 24px; font-weight: 500; line-height: 1.16; }
.library-entry-description { color: var(--text-muted); font-size: 14px; line-height: 1.5; }
.library-entry-link { color: var(--accent-strong); font-size: 12px; margin-top: auto; padding-top: 3px; }
.library-entry-link > span { margin-left: 5px; }
.library-moon { width: 64px; height: 64px; border-radius: 50%; background: #fdfbf3; box-shadow: 0 0 0 9px #dce3e7, 0 0 0 10px #bbcbd3; }
.library-moon.new { background: #758594; }
.library-moon.first-quarter { background: linear-gradient(90deg, #758594 50%, #fdfbf3 50%); }
.library-moon.last-quarter { background: linear-gradient(90deg, #fdfbf3 50%, #758594 50%); }
.library-card-results { margin-top: 24px; }
.library-card-results h3 { margin: 0 0 14px; font-size: 22px; font-weight: 500; }
.library-empty { border: 1px dashed var(--border); border-radius: 16px; padding: 28px; text-align: center; }
.library-empty h3 { margin: 0 0 8px; font-size: 24px; }
.library-empty p { margin: 0 0 14px; color: var(--text-muted); font-size: 15px; }
.guide-page--editorial .guide-header h1 { font-size: clamp(30px, 4vw, 40px); line-height: 1.15; }
.guide-page--editorial .guide-intro { font-family: var(--font-sans); font-size: 17px; }
.guide-page--editorial .article-contents { gap: 8px; padding: 16px; }
.guide-page--editorial .article-contents a { font-size: 14px; }
@media (min-width: 1100px) { .library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .library-page { gap: 14px; }
  .library-header > p:last-child { font-size: 14px; max-width: 330px; }
  .catalog-results { gap: 22px; }
  .library-topics { gap: 5px; }
  .library-topics a { font-size: 12px; padding: 8px 12px; }
  .library-shortcuts { gap: 8px; }
  .library-shortcut { align-items: flex-start; gap: 8px; padding: 12px; }
  .shortcut-icon { flex-basis: 28px; width: 28px; height: 32px; background: transparent; }
  .shortcut-icon svg { width: 28px; height: 28px; }
  .library-shortcut strong { font-size: 13px; line-height: 1.3; }
  .library-shortcut small { font-size: 11px; line-height: 1.4; }
  .library-shortcut b { display: none; }
  .library-section-heading h2 { font-size: 23px; }
  .library-section-heading > span { font-size: 11px; }
  .library-starter-list { grid-template-columns: 1fr; }
  .library-starter-list a { min-height: 46px; gap: 12px; padding: 8px 4px; }
  .library-starter-list a + a { border-left: 0; border-top: 1px solid var(--border); }
  .library-starter-list a > span { font-size: 20px; }
  .library-starter-list strong { font-size: 13px; }
  .library-entry { grid-template-columns: 78px minmax(0, 1fr); gap: 14px; min-height: 160px; padding: 12px; }
  .library-entry-art { height: 117px; }
  .library-entry-copy { gap: 7px; }
  .library-entry-copy > strong { font-size: 22px; }
  .library-entry-meta { font-size: 10px; }
  .library-entry-description { font-size: 12px; }
  .library-moon { width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) { .library-entry { transition: none; } }
.library-search .sr-only, .library-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.tarot-catalog { gap: 18px; max-width: 1060px; margin: 0 auto; }
.tarot-catalog .library-header h1 { font-size: clamp(32px, 4vw, 42px); margin: 0 0 6px; }
.tarot-catalog .library-header .eyebrow { margin-bottom: 6px; }
.tarot-catalog-help { font-size: 14px; color: var(--text-muted); }
.tarot-catalog-help summary { cursor: pointer; color: var(--accent-strong); }
.tarot-catalog-help p { max-width: 740px; margin: 12px 0 0; }
.tarot-catalog .catalog-results { gap: 20px; }
.tarot-catalog-count { margin: 0; color: var(--text-muted); font-size: 12px; }
.tarot-catalog .tarot-meaning-section-heading { display: flex; align-items: baseline; justify-content: space-between; max-width: none; gap: 16px; }
.tarot-catalog .tarot-meaning-section-heading h2 { font-size: 25px; }
.tarot-catalog .tarot-meaning-section-heading .eyebrow { display: none; }
.tarot-catalog .tarot-meaning-section-heading > p { font-size: 13px; max-width: 340px; }
.tarot-catalog .tarot-meaning-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tarot-catalog .tarot-meaning-card { grid-template-columns: 1fr; gap: 12px; padding: 14px; align-content: start; }
.tarot-catalog-picture { display: block; width: 100%; max-width: 180px; justify-self: center; }
.tarot-catalog .tarot-meaning-card > picture { max-width: 180px; justify-self: center; }
.tarot-catalog-picture picture, .tarot-catalog-picture img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; border-radius: 8px; }
.tarot-catalog .tarot-meaning-copy { padding: 0; gap: 7px; }
.tarot-catalog .tarot-meaning-copy h3 { font-size: 22px; }
.tarot-catalog .tarot-meaning-copy p { font-size: 12px; line-height: 1.5; }
.tarot-catalog .arcana-detail-link { font-size: 12px; margin-top: 3px; }
.tarot-catalog-hubs { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; }
@media (min-width: 1200px) { .tarot-catalog .tarot-meaning-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .tarot-catalog .tarot-meaning-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tarot-catalog .tarot-meaning-card { padding: 10px; }
  .tarot-catalog .tarot-meaning-copy h3 { font-size: 20px; }
  .tarot-catalog .tarot-meaning-section-heading { display: block; }
  .tarot-catalog .tarot-meaning-section-heading > p { margin-top: 5px; font-size: 12px; }
}
.tarot-catalog .library-header p:not(.eyebrow) { margin: 0; color: var(--text-muted); font-size: 16px; }
@media (max-width: 360px) {
  .library-topics a { padding: 8px 10px; font-size: 11px; }
  .library-shortcut small { display: none; }
  .library-section-heading h2 { font-size: 21px; }
}

/* Private comparison of two natal charts. */
.synastry-page { display: grid; gap: 26px; }
.synastry-back { justify-self: start; color: var(--text-muted); font-size: 14px; }
.synastry-hero { display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.synastry-hero h1 { margin: 7px 0 12px; font-size: clamp(36px, 5vw, 56px); }
.synastry-hero .page-intro { max-width: 630px; margin: 0; }
.synastry-symbol { flex: 0 0 180px; width: 180px; stroke: var(--accent); stroke-width: 1.4; }
.synastry-symbol circle:last-child { fill: var(--accent-soft); }
.synastry-input, .synastry-form { display: grid; gap: 22px; }
.synastry-form > .flash { width: 100%; max-width: none; margin: 0; }
.synastry-pair { display: grid; grid-template-columns: minmax(230px, .85fr) 56px minmax(0, 1.5fr); align-items: stretch; }
.synastry-own, .synastry-other { padding: clamp(22px, 3vw, 32px); min-width: 0; }
.synastry-own { display: flex; flex-direction: column; background: linear-gradient(145deg, var(--positive-soft), var(--surface)); border-color: color-mix(in srgb, var(--positive) 25%, var(--border)); }
.synastry-card-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 22px; }
.synastry-person-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 50%; font-size: 12px; color: var(--text-muted); }
.synastry-own .synastry-person-mark { border-color: color-mix(in srgb, var(--positive) 30%, transparent); color: var(--positive); }
.synastry-ready { padding: 5px 10px; border-radius: 20px; background: var(--surface); color: var(--positive); font-size: 12px; font-weight: 700; }
.synastry-ready-compact { display: none; }
.synastry-optional-note { color: var(--text-muted); font-size: 12px; }
.synastry-own h2, .synastry-other header h2 { margin: 0 0 8px; font-size: 30px; }
.synastry-own-caption, .synastry-other header > p { margin: 0; color: var(--text-muted); font-size: 14px; }
.synastry-birth-summary { display: grid; gap: 22px; margin: 30px 0; }
.synastry-birth-summary dt { margin-bottom: 4px; color: var(--text-muted); font-size: 12px; }
.synastry-birth-summary dd { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.synastry-birth-summary small { display: block; margin-top: 4px; color: var(--text-muted); font-size: 12px; }
.synastry-own-edit { display: flex; align-items: center; gap: 12px; align-self: start; color: var(--positive); font-size: 13px; }
.synastry-own-orbits { margin: auto auto 0; padding-top: 24px; max-width: 160px; width: 100%; stroke: var(--positive); stroke-width: 1; opacity: .3; }
.synastry-pair-link { display: grid; place-items: center; }
.synastry-pair-link svg { width: 52px; stroke: var(--accent); stroke-width: 1.3; }
.synastry-pair-link circle:last-child { fill: var(--accent); }
.synastry-other { display: grid; gap: 26px; }
.synastry-fields { display: grid; gap: 22px; min-width: 0; }
.synastry-fields label { display: grid; gap: 8px; margin: 0; }
.synastry-fields .field-hint { font-weight: 400; }
.synastry-fields input { width: 100%; min-width: 0; box-sizing: border-box; min-height: 50px; }
.synastry-city { position: relative; min-width: 0; }
.synastry-city > .field-hint { margin-top: 8px; }
.synastry-city-results { position: absolute; z-index: 4; top: 80px; right: 0; left: 0; display: grid; max-height: 260px; overflow-y: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow); }
.synastry-city-results button { border: 0; border-top: 1px solid var(--border); background: transparent; color: var(--text); text-align: left; padding: 12px; line-height: 1.45; cursor: pointer; }
.synastry-city-results button:first-child { border-top: 0; }
.synastry-city-results button:hover, .synastry-city-results button:focus-visible { background: var(--accent-soft); }
.synastry-time { border: 0; margin: 0; padding: 0; min-width: 0; }
.synastry-time legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.synastry-time-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface-muted); }
.synastry-time-choices label { position: relative; cursor: pointer; }
.synastry-time-choices input { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; opacity: 0; }
.synastry-time-choices span { display: grid; place-items: center; min-height: 42px; padding: 8px 4px; border: 1px solid transparent; border-radius: 8px; color: var(--text-muted); font-size: 14px; font-weight: 500; }
.synastry-time-choices input:checked + span { border-color: var(--border); background: var(--surface); color: var(--accent-strong); box-shadow: 0 2px 5px rgba(50, 43, 34, .05); font-weight: 700; }
.synastry-time-choices input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--focus) 45%, transparent); outline-offset: 1px; }
.synastry-time > .field-hint { margin-top: 10px; }
.synastry-clock { display: grid; gap: 8px; margin-top: 16px; max-width: 240px; }
.synastry-clock[hidden] { display: none; }
.synastry-submit-area { display: grid; gap: 12px; padding-top: 6px; }
.synastry-submit { display: flex; justify-content: space-between; width: 100%; min-height: 52px; gap: 12px; text-align: left; }
.synastry-submit > [aria-hidden] { font-size: 20px; }
.synastry-privacy { margin: 0; color: var(--text-muted); font-size: 12px; line-height: 1.6; }
#synastry-form-status { margin: 0; }
#synastry-form-status:empty { display: none; }
.synastry-guide { padding: 0 4px; }
.synastry-result-promise { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 14px; color: var(--text-muted); font-size: 13px; }
.synastry-result-promise > span { color: var(--text); }
.synastry-guide-details { display: flex; flex-wrap: wrap; align-items: start; gap: 12px 28px; }
.synastry-guide details { flex: 1 1 280px; font-size: 13px; }
.synastry-guide summary { width: fit-content; color: var(--accent-strong); cursor: pointer; padding: 4px 0; }
.synastry-guide details p { margin: 12px 0 0; color: var(--text-muted); line-height: 1.65; }
.synastry-report { display: grid; gap: 22px; scroll-margin-top: 24px; }
.synastry-overview { border: 1px solid var(--border); background: var(--accent-soft); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); }
.synastry-overview h2 { margin: 7px 0 16px; font-size: 34px; }
.synastry-overview > p:not(.eyebrow) { max-width: 800px; line-height: 1.65; }
.synastry-overview p:last-child { margin-bottom: 0; }
.synastry-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0 16px; }
.synastry-highlight { min-width: 0; border: 1px solid var(--border); border-radius: 12px; padding: 16px; background: var(--surface); }
.synastry-highlight > p { margin: 12px 0 0; color: var(--text-muted); font-size: 13px; line-height: 1.55; }
.synastry-kind { display: inline-flex; align-items: center; gap: 7px; border-radius: 20px; padding: 5px 9px; font-size: 11px; line-height: 1.4; font-weight: 700; }
.synastry-kind::before { content: ""; flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.synastry-kind--support { background: var(--positive-soft); color: #365b49; }
.synastry-kind--tension { background: var(--caution-soft); color: #88483f; }
.synastry-kind--attention { background: var(--accent-soft); color: var(--accent-strong); }
.synastry-overview .synastry-label-hint { font-size: 12px; color: var(--text-muted); }
.synastry-accuracy { border-top: 1px solid var(--border); padding-top: 16px; font-size: 14px; color: var(--text-muted); }
.synastry-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.synastry-section { padding: 24px; }
.synastry-section > h3 { margin: 8px 0 20px; font-size: 25px; }
.synastry-section:last-child { grid-column: 1 / -1; }
.synastry-finding + .synastry-finding { border-top: 1px solid var(--border); padding-top: 18px; margin-top: 20px; }
.synastry-finding h4 { margin: 12px 0 10px; font-size: 16px; font-family: var(--font-sans); }
.synastry-finding > p { line-height: 1.65; }
.synastry-finding .synastry-direction { margin: -3px 0 12px; color: var(--text-muted); font-size: 12px; line-height: 1.55; }
.synastry-practical { border-left: 2px solid var(--border); padding: 2px 0 2px 12px; margin: 16px 0 10px; }
.synastry-practical strong { font-size: 12px; color: var(--accent-strong); }
.synastry-practical p { margin: 5px 0 0; font-size: 13px; line-height: 1.6; color: var(--text-muted); }
.synastry-no-contact strong { font-size: 14px; color: var(--text-muted); }
.synastry-no-contact p { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.synastry-finding details { font-size: 13px; }
.synastry-finding summary { color: var(--accent-strong); cursor: pointer; padding: 6px 0; }
.synastry-finding details p { margin-bottom: 6px; }
.synastry-finding details small { color: var(--text-muted); }
.synastry-tips { padding: 12px 8px; max-width: 800px; }
.synastry-tips h3 { margin: 8px 0 20px; font-size: 28px; }
.synastry-tips ol { padding-left: 24px; }
.synastry-tips li { padding-left: 6px; margin-bottom: 16px; line-height: 1.65; }
.synastry-practice-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 10px; }
.synastry-practice-theme { color: var(--text-muted); font-size: 12px; }
.synastry-tips h4 { margin: 0 0 10px; font-size: 17px; }
.synastry-tips li > p { margin: 0 0 10px; }
.synastry-tips li > a { font-size: 12px; }
.synastry-finding { scroll-margin-top: 24px; }
.synastry-tips li::marker { color: var(--accent-strong); font-weight: 700; }
.synastry-footnote { color: var(--text-muted); font-size: 13px; line-height: 1.6; }

/* Choose a spread by the question, with a preview of its real positions. */
.tarot-choices-page { display: grid; gap: 24px; }
.tarot-choices-header { max-width: 800px; }
.tarot-choices-header h1 { margin: 6px 0 14px; font-size: clamp(30px, 3.5vw, 44px); }
.tarot-choices-header > p:last-child { margin: 0; max-width: 590px; color: var(--text-muted); line-height: 1.6; }
.tarot-choices-grid { display: grid; gap: 14px; }
.tarot-choice { --choice-ink: var(--accent-strong); --choice-tint: var(--accent-soft); display: grid; grid-template-rows: auto auto 1fr auto; gap: 16px; min-width: 0; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); transition: border-color .18s ease, box-shadow .18s ease; }
.tarot-choice:hover, .tarot-choice:focus-within { border-color: var(--choice-ink); box-shadow: var(--shadow); }
.tarot-choice--featured { border-color: #b8aed7; background: linear-gradient(135deg, #f0ebf8, var(--surface) 75%); }
.tarot-choice--relationship { --choice-ink: #79576c; --choice-tint: #efe5eb; }
.tarot-choice--work { --choice-ink: #526b5a; --choice-tint: #e6eee7; }
.tarot-choice--timeline { --choice-ink: #596c88; --choice-tint: #e7edf4; }
.tarot-choice-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; font-size: 11px; line-height: 1.4; }
.tarot-choice-meta > span:first-child { color: var(--choice-ink); font-weight: 700; }
.tarot-choice-meta > span:last-child { border-radius: 20px; padding: 4px 9px; color: var(--text-muted); background: rgba(255, 255, 255, .65); border: 1px solid var(--border); white-space: nowrap; }
.tarot-choice-copy h2 { margin: 0 0 8px; font-size: clamp(23px, 2.3vw, 28px); line-height: 1.15; }
.tarot-choice-copy p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.5; }
.tarot-choice-layout { display: flex; align-items: start; gap: 12px; margin: 0; padding: 2px 0; list-style: none; }
.tarot-choice-layout li { position: relative; display: grid; justify-items: center; gap: 7px; flex: 1; min-width: 0; text-align: center; }
.tarot-choice-layout li:not(:last-child)::after { content: "→"; position: absolute; right: -11px; top: 18px; color: var(--border); font-size: 14px; }
.tarot-choice-back { display: block; width: 38px; height: 53px; border: 1px solid var(--choice-ink); border-radius: 6px; color: var(--choice-ink); background: var(--choice-tint); box-shadow: 0 3px 6px rgba(50, 43, 34, .06); }
.tarot-choice-back svg { display: block; width: 100%; height: 100%; stroke: currentColor; stroke-width: .7; }
.tarot-choice-position { max-width: 120px; font-size: 11px; line-height: 1.35; color: var(--text-muted); overflow-wrap: anywhere; }
.tarot-choice-action { display: grid; gap: 7px; }
.tarot-choice-action .btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 46px; text-align: left; font-size: 13px; }
.tarot-choice-action .btn-secondary { border-color: var(--border); background: transparent; }
.tarot-choice-action .btn-secondary:hover { border-color: var(--choice-ink); color: var(--choice-ink); background: var(--choice-tint); }
.tarot-choices-saved { display: flex; align-items: start; gap: 9px; margin: 0; color: var(--text-muted); font-size: 12px; line-height: 1.6; }
.tarot-choices-saved svg { flex: 0 0 16px; width: 16px; height: 20px; stroke: currentColor; stroke-width: 1.5; }
@media (min-width: 720px) { .tarot-choices-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) {
  .tarot-choices-page { gap: 20px; }
  .tarot-choice { padding: 17px; gap: 13px; }
  .tarot-choice-copy h2 { font-size: 23px; }
  .tarot-choice-back { width: 30px; height: 42px; }
  .tarot-choice-layout { gap: 10px; }
  .tarot-choice-layout li:not(:last-child)::after { top: 12px; right: -10px; }
}
@media (max-width: 359px) {
  .tarot-choice { padding: 16px 12px; }
  .tarot-choice-layout { gap: 4px; }
  .tarot-choice-position { font-size: 10px; }
  .tarot-choice-layout li:not(:last-child)::after { right: -7px; }
}
@media (prefers-reduced-motion: reduce) { .tarot-choice { transition: none; } }

/* Saved spread: the cards lead, followed by their positions and practical use. */
.spread-reading-page { gap: 28px; }
.spread-reading-header h1 { margin: 8px 0 10px; font-size: clamp(30px, 3.5vw, 44px); }
.spread-reading-header > p:last-child { margin: 0; color: var(--text-muted); }
.spread-reading-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 24px; font-size: 12px; }
.spread-reading-toolbar a { text-decoration: none; }
.spread-saved { display: inline-flex; align-items: center; gap: 6px; color: var(--positive); }
.spread-reading-header > .eyebrow { margin: 0; }
.spread-table { padding: 24px; border: 1px solid #ded8e7; border-radius: var(--radius-lg); background: linear-gradient(160deg, #f0ebf6, #faf8f5 65%); }
.spread-table-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 22px; }
.spread-table-heading h2 { margin: 0; font-family: var(--font-sans); font-size: 16px; font-weight: 700; }
.spread-table-heading p { margin: 0; color: var(--text-muted); font-size: 12px; }
.spread-table-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.spread-table-cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.spread-table-card { min-width: 0; display: grid; align-content: start; gap: 12px; margin: 0; text-align: center; }
.spread-table-position { min-height: 32px; display: flex; align-items: baseline; justify-content: center; gap: 6px; color: var(--accent-strong); font-size: 12px; font-weight: 700; line-height: 1.35; }
.spread-table-position > span { font-size: 10px; font-weight: 400; opacity: .7; }
.spread-art { position: relative; display: block; width: min(100%, 160px); aspect-ratio: 2 / 3; margin: 0 auto; border-radius: 10px; background: var(--accent-soft); box-shadow: 0 8px 18px rgba(50, 43, 34, .14); color: var(--accent-strong); transition: transform .18s ease; }
a.spread-art:hover { transform: translateY(-3px); }
.spread-art .tarot-card-picture, .spread-art img { display: block; width: 100%; height: 100%; border-radius: inherit; }
.spread-art img { object-fit: cover; }
.spread-art--reversed .tarot-card-picture { transform: rotate(180deg); }
.spread-art--placeholder { display: grid; place-items: center; font-size: 50px; border: 1px solid var(--accent); }
.spread-art-zoom { position: absolute; right: 7px; bottom: 7px; display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: var(--surface); color: var(--accent-strong); font-size: 18px; line-height: 1; box-shadow: var(--shadow); }
.spread-table-card figcaption { display: grid; justify-items: center; gap: 6px; }
.spread-table-card figcaption > a { color: var(--text); text-decoration: none; font-size: 14px; font-weight: 700; line-height: 1.35; }
.spread-table-card figcaption > a:hover { color: var(--accent-strong); text-decoration: underline; }
.spread-reversed { display: inline-block; padding: 3px 7px; border-radius: 20px; background: var(--surface-muted); color: var(--text-muted); font-size: 10px; font-weight: 400; line-height: 1.3; vertical-align: middle; }
.spread-overview { padding: 22px 24px; border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; background: var(--surface); }
.spread-overview h2 { margin: 6px 0 12px; font-size: 26px; }
.spread-overview-text { max-width: 780px; margin: 0; line-height: 1.7; }
.spread-overview-sources { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 14px; font-size: 11px; }
.spread-overview-sources > span { color: var(--text-muted); }
.spread-section-heading h2 { margin: 0; font-size: 28px; }
.spread-section-heading p { margin: 9px 0 0; color: var(--text-muted); font-size: 14px; }
.spread-positions-list { display: grid; gap: 12px; margin-top: 18px; }
.spread-position { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: start; gap: 16px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); scroll-margin-top: 24px; }
.spread-position:target { border-color: var(--accent); }
.spread-position-number { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #d5cdea; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); font-size: 12px; }
.spread-position h3 { margin: 3px 0 7px; font-family: var(--font-serif); font-size: 25px; font-weight: 600; }
.spread-position-card-name { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; color: var(--accent-strong); font-size: 13px; font-weight: 700; }
.spread-position-meaning { max-width: 750px; margin: 0; line-height: 1.7; }
.spread-position-framing { margin: 0 0 10px; color: var(--text-muted); font-size: 12px; }
.spread-position-details { margin-top: 14px; font-size: 14px; }
.spread-position-details summary, .spread-pattern summary { color: var(--accent-strong); cursor: pointer; min-height: 28px; }
.spread-position-details > div { max-width: 750px; padding-top: 10px; color: var(--text-muted); line-height: 1.7; }
.spread-pattern { margin-top: 16px; font-size: 13px; }
.spread-pattern p { margin: 10px 0 0; color: var(--text-muted); }
.spread-practice-grid { display: grid; gap: 14px; margin-top: 18px; }
.spread-practice-card { display: grid; align-content: start; gap: 14px; min-width: 0; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); }
.spread-practice-card--step { border-color: #d3ded4; background: #edf2ec; }
.spread-practice-card--resource { background: #f3f1f7; }
.spread-practice-card--caution { border-color: #e3d3cd; background: #f7eeea; }
.spread-practice-card--step > .eyebrow { color: var(--positive); }
.spread-practice-card--caution > .eyebrow { color: #8a5646; }
.spread-practice-text { margin: 0; font-size: 17px; line-height: 1.6; }
.spread-practice-source { margin: 0; color: var(--text-muted); font-size: 12px; line-height: 1.5; }
.spread-practice-reason { margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.6; }
.spread-practice-sources { display: flex; flex-wrap: wrap; gap: 8px 16px; padding-top: 4px; }
.spread-practice-sources a { font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.spread-practice-card > a { justify-self: start; font-size: 12px; }
.spread-reading-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 8px; }
.spread-reading-actions .btn { gap: 16px; font-size: 13px; }
.spread-modal-open { overflow: hidden; }
.spread-lightbox { width: min(calc(100% - 32px), 530px); max-height: calc(100dvh - 32px); padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: 0 20px 80px rgba(25, 24, 23, .25); }
.spread-lightbox[open] { display: grid; justify-items: center; gap: 12px; }
.spread-lightbox::backdrop { background: rgba(25, 24, 23, .75); }
.spread-lightbox img { display: block; max-width: 100%; max-height: calc(100dvh - 112px); width: auto; border-radius: 9px; object-fit: contain; }
.spread-lightbox img.is-reversed { transform: rotate(180deg); }
.spread-lightbox > p { margin: 0; font-size: 13px; line-height: 1.4; text-align: center; }
.spread-lightbox form { margin: 0; }
.spread-lightbox-close { position: absolute; z-index: 1; top: 24px; right: 24px; width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); font-size: 24px; font-weight: 400; line-height: 1; }
@media (min-width: 720px) { .spread-practice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .spread-practice-card--step { grid-column: 1 / -1; } }
@media (max-width: 719px) {
  .spread-table { padding: 18px 14px; }
  .spread-table-heading { margin-bottom: 18px; }
  .spread-table-cards, .spread-table-cards--three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
  .spread-table-cards--three > :last-child { grid-column: 1 / -1; width: calc(50% - 9px); justify-self: center; }
  .spread-art { max-width: 140px; }
  .spread-table-position { min-height: 28px; font-size: 11px; }
  .spread-table-card figcaption > a { font-size: 13px; }
  .spread-overview { padding: 18px; }
  .spread-overview h2 { font-size: 24px; }
  .spread-position { grid-template-columns: 28px minmax(0, 1fr); padding: 18px 14px; gap: 10px; }
  .spread-position-number { width: 28px; height: 28px; font-size: 10px; }
  .spread-position h3 { margin-top: 1px; font-size: 23px; }
  .spread-practice-card { padding: 18px; }
  .spread-reading-actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { .spread-art { transition: none; } a.spread-art:hover { transform: none; } }
.synastry-report[hidden], .synastry-city-results[hidden] { display: none; }
@media (max-width: 1000px) { .synastry-pair { grid-template-columns: minmax(200px, .8fr) 42px minmax(0, 1.4fr); } .synastry-pair-link svg { width: 38px; } .synastry-symbol { flex-basis: 130px; width: 130px; } }
@media (max-width: 700px) { .synastry-pair, .synastry-highlights { grid-template-columns: 1fr; gap: 16px; } .synastry-pair-link, .synastry-own-orbits { display: none; } .synastry-own { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 20px; } .synastry-own .synastry-card-heading { grid-column: 2; grid-row: 1; margin: 0; } .synastry-own .synastry-person-mark { display: none; } .synastry-own h2 { grid-column: 1; grid-row: 1; margin: 0; font-size: 24px; align-self: center; } .synastry-own-caption { grid-column: 1 / -1; margin-top: 8px; } .synastry-ready { padding: 4px 7px; font-size: 11px; } .synastry-ready-full { display: none; } .synastry-ready-compact { display: inline; } .synastry-birth-summary { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0; } .synastry-birth-summary > div:nth-child(2) { grid-column: 1 / -1; grid-row: 2; } .synastry-birth-summary dd { font-size: 15px; } .synastry-birth-summary dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .synastry-birth-summary small { display: inline; margin-left: 6px; } .synastry-own-edit { grid-column: 1 / -1; } }
@media (max-width: 560px) { .synastry-page { gap: 22px; } .synastry-symbol { display: none; } .synastry-sections { grid-template-columns: 1fr; } .synastry-section:last-child { grid-column: auto; } .synastry-section { padding: 20px; } .synastry-overview h2 { font-size: 30px; } .synastry-time-choices span { font-size: 13px; } }

/* Make the two-chart feature visible before users reach the natal wheel. */
.compatibility-entry { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; align-items: center; gap: 24px; border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border)); border-radius: var(--radius-lg); background: linear-gradient(110deg, var(--accent-soft), var(--surface)); padding: 26px; }
.compatibility-entry-art { display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%; background: color-mix(in srgb, var(--surface) 65%, transparent); }
.compatibility-entry-art svg { display: block; width: 94px; stroke: var(--accent); stroke-width: 1.8; }
.compatibility-entry-art circle:nth-child(3), .compatibility-entry-art circle:nth-child(4) { fill: var(--accent); }
.compatibility-entry-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.compatibility-entry-heading .eyebrow { margin: 0; }
.compatibility-entry-badge { display: inline-flex; border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--border)); border-radius: 30px; background: var(--surface); color: var(--accent-strong); padding: 3px 9px; font-size: 11px; font-weight: 700; }
.compatibility-entry-copy { min-width: 0; }
.compatibility-entry-copy h2 { margin: 8px 0 9px; font-size: 32px; line-height: 1.15; }
.compatibility-entry-copy > p { max-width: 600px; margin: 0; line-height: 1.55; }
.compatibility-entry-copy .compatibility-entry-hint { margin-top: 10px; color: var(--text-muted); font-size: 13px; }
.compatibility-entry-action { display: grid; gap: 10px; justify-items: start; }
.compatibility-entry-action .btn { gap: 12px; min-height: 48px; white-space: nowrap; }
.compatibility-entry-action small { max-width: 215px; color: var(--text-muted); font-size: 12px; line-height: 1.45; }
.compatibility-entry--compact { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 22px; border-radius: var(--radius); }
.compatibility-entry--compact .compatibility-entry-art { display: none; }
.compatibility-entry--compact .compatibility-entry-heading { justify-content: space-between; }
.compatibility-entry--compact .eyebrow { font-size: 10px; }
.compatibility-entry--compact .compatibility-entry-copy h2 { font-size: 27px; }
.compatibility-entry--compact .compatibility-entry-copy > p { font-size: 14px; color: var(--text-muted); }
.compatibility-entry--compact .compatibility-entry-action { justify-items: stretch; }
.compatibility-entry--compact .compatibility-entry-action .btn { width: 100%; box-sizing: border-box; }
.compatibility-entry--compact .compatibility-entry-action small { max-width: none; }
@media (max-width: 1199px) {
  .compatibility-entry:not(.compatibility-entry--compact) { grid-template-columns: 90px minmax(0, 1fr); gap: 16px 22px; }
  .compatibility-entry:not(.compatibility-entry--compact) .compatibility-entry-art { width: 90px; height: 90px; }
  .compatibility-entry:not(.compatibility-entry--compact) .compatibility-entry-art svg { width: 80px; }
  .compatibility-entry:not(.compatibility-entry--compact) .compatibility-entry-action { grid-column: 2; }
  .compatibility-entry-action small { max-width: none; }
}
@media (max-width: 560px) {
  .compatibility-entry:not(.compatibility-entry--compact) { grid-template-columns: minmax(0, 1fr); padding: 22px; gap: 18px; }
  .compatibility-entry:not(.compatibility-entry--compact) .compatibility-entry-art { display: none; }
  .compatibility-entry:not(.compatibility-entry--compact) .compatibility-entry-action { grid-column: 1; justify-items: stretch; }
  .compatibility-entry-copy h2 { font-size: 30px; }
  .compatibility-entry-action .btn { width: 100%; box-sizing: border-box; white-space: normal; }
}
