/* Astro Engine · Observatory, bare shell (ASTRO_OBSERVATORY_UI=site). Pages without a site navigation that link the
   site's foundation stylesheet: welcome, the landing page (/lp/...), best-AI, shared charts and their embed, quiz,
   rectification, chemistry, the e-mail and sign-in pages, horoscope unavailable, and the 404/500 pages. Loaded by
   api/observatory_ui.py only on those pages, after observatory.css (shared tokens, type, focus, reduced motion).
   Every selector is scoped to body.obs and :where(.obs-bare), in both themes: the daylight values come from the
   tokens in observatory.css and the [data-theme="light"] rules at the end of this file.
   These pages share one stylesheet but not their markup, so class names that several of them reuse are keyed to
   each page's own ids or structure: .card (welcome #card, shared chart #chart-card, the sign-in error and e-mail
   cards), .cta (best-AI .listicle, shared chart), .footer (welcome, shared chart). Copy, ids and classes are
   untouched; inline styles are overridden with !important only where a page writes them inline. */

/* ---------- shell: field, local tokens, legacy names ---------- */
:where(:root) body.obs:where(.obs-bare) {
  /* one glow sized to the viewport, never tiled: sized to the root box, short documents showed seams or a hard edge */
  background: radial-gradient(1100px 620px at 82% -12%, rgba(90, 150, 220, .10), transparent 62%) 0 0 / 100% 100vh no-repeat, var(--o-night);
  color: var(--o-ink); color-scheme: dark;
  /* local tokens (night values here; daylight values in the daylight section) */
  --o-bare-label: #d3dbe8;
  --o-bare-tint: rgba(174, 217, 255, .07);
  --o-bare-tint-2: rgba(174, 217, 255, .12);
  --o-bare-ice-line: rgba(174, 217, 255, .45);
  --o-bare-panel-light: radial-gradient(70% 60% at 100% 0%, rgba(174, 217, 255, .07), transparent 70%);
  --o-bare-panel-shadow: 0 40px 80px -48px rgba(0, 0, 0, .9);
  --o-bare-menu-shadow: 0 18px 40px -18px rgba(0, 0, 0, .85);
  --o-bare-action-shadow: 0 10px 30px -12px rgba(174, 217, 255, .55);
  --o-bare-err-bg: rgba(255, 120, 100, .08);
  --o-bare-err-line: rgba(255, 150, 130, .35);
  --o-bare-ok-bg: rgba(174, 217, 255, .07);
  --o-bare-ok-line: rgba(174, 217, 255, .35);
  --o-bare-lamp-line: rgba(243, 200, 139, .4);
  --o-bare-overlay: rgba(6, 10, 18, .93);
  --o-bare-bar: rgba(10, 16, 27, .97);
  --o-bare-paper-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 40px 80px -36px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 0, 0, .2);
  --o-bare-paper: radial-gradient(120% 70% at 0% 0%, rgba(255, 236, 205, .55), rgba(255, 236, 205, 0) 60%), linear-gradient(180deg, #f7f2e9, #f2ebdf);
  --o-bare-wordmark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26' fill='none' stroke='%23c0dfff' stroke-width='1'%3E%3Ccircle cx='13' cy='13' r='8'/%3E%3Cellipse cx='13' cy='13' rx='12.2' ry='4.4' transform='rotate(-36 13 13)'/%3E%3C/svg%3E");
  --o-bare-toggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4ebff' stroke-width='1.3' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4.2'/%3E%3Cpath d='M12 2.5v2.6M12 18.9v2.6M2.5 12h2.6M18.9 12h2.6M5.3 5.3l1.8 1.8M16.9 16.9l1.8 1.8M5.3 18.7l1.8-1.8M16.9 7.1l1.8-1.8'/%3E%3C/svg%3E");
  --o-bare-g-sun: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4ebff' stroke-width='1.2'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Ccircle cx='12' cy='12' r='1.6' fill='%23d4ebff'/%3E%3C/svg%3E");
  --o-bare-g-wheel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4ebff' stroke-width='1.2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5.5'/%3E%3Cpath d='M12 3v3.5M12 17.5V21M3 12h3.5M17.5 12H21'/%3E%3C/svg%3E");
  --o-bare-g-page: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4ebff' stroke-width='1.2' stroke-linejoin='round'%3E%3Cpath d='M6 3h8.5L19 7.5V21H6z'/%3E%3Cpath d='M14.5 3v4.5H19M9 12h7M9 15.5h7'/%3E%3C/svg%3E");
  /* legacy names these pages use that the shared remap does not cover (same meanings, Observatory values) */
  --glass: var(--o-night-2); --glass-vivid: var(--o-night-3); --glass-border: var(--o-line-2); --card-bg: var(--o-night-2);
  --deep-space: var(--o-night-2); --bg: var(--o-night); --bg-alt: var(--o-night-2); --surface-hover: var(--o-bare-tint);
  --border-active: var(--o-bare-ice-line); --gold-light: var(--o-ice-2); --gold-text: var(--o-ice); --purple-bright: var(--o-ice-2);
  --cyan-dim: var(--o-ice-2); --teal: var(--o-ice); --rose: var(--o-error); --success: var(--o-ice); --error: var(--o-error);
  --text-faint: var(--o-faint); --gradient-primary: linear-gradient(var(--o-ice), var(--o-ice));
  --gradient-gold: linear-gradient(var(--o-ice), var(--o-ice)); --gradient-accent: linear-gradient(var(--o-ice), var(--o-ice));
  --shadow-glow: none; --transition: 160ms cubic-bezier(.2, .7, .2, 1);
}
/* No starfields in the Observatory (the shared layer hides .bg-stars; these pages name theirs differently). */
:where(:root) body.obs:where(.obs-bare) :is(.stars-bg, .stars) { display: none; }
/* Entrance animations start their content at opacity 0; the shared reduced-motion rule removes animations, which left
   that content invisible. Show it in every case (only the approved signature motions remain). */
:where(:root) body.obs:where(.obs-bare) .fade-up { animation: none; opacity: 1; }
:where(:root) body.obs:where(.obs-bare) :is(.sparkle, .btn-gold .shine, .btn-unlock .shine) { animation: none; }
:where(:root) body.obs:where(.obs-bare) :is(.btn-gold, .btn-unlock) .shine { display: none; }
:where(:root) body.obs:where(.obs-bare) ::placeholder { color: var(--o-faint); opacity: 1; }
/* Zodiac and other symbols: a text face first, so they draw as glyphs in the page's ink, not as colour emoji tiles. */
:where(:root) body.obs:where(.obs-bare) :is(.lp-bt-glyph, .sign-glyph, .cat-icon) {
  font-family: "Apple Symbols", "Segoe UI Symbol", "Noto Sans Symbols 2", "Noto Sans Symbols", "DejaVu Sans", sans-serif; font-variant-emoji: text;
}
:where(:root) body.obs:where(.obs-bare) :is(.also-sign, .alt-rising) {
  font-family: var(--o-sans), "Apple Symbols", "Segoe UI Symbol", "Noto Sans Symbols 2", "Noto Sans Symbols", sans-serif; font-variant-emoji: text;
}
/* Reading surfaces (paper, the same in both themes): shell tokens resolve to paper inks inside them. */
/* both themes */
:where(:root) body.obs:where(.obs-bare) :is(.lp-free-pdf, .listicle, .rect-section, .why-section, .paywall-card, .quiz-cta, .chem-cta), :where(:root) body.obs:where(.obs-bare) #card .steps, :where(:root) body.obs:where(.obs-bare) #card .upsell-card {
  --gold: #1d4b80; --gold-bright: #163d69; --gold-dim: #161b27; --cyan: #1d4b80; --purple: #1d4b80; --purple-bright: #163d69;
  --teal: #1d4b80; --text: #1f2533; --text-dim: #4b5467; --muted: #4b5467; --text-muted: #4b5467; --text-faint: #5b657c;
  --border: #d8cebb; --surface: rgba(22, 27, 39, .07); --error: #8f2d1f; --rose: #8f2d1f; --ae-focus: #1d4b80;
}

/* ---------- shared pieces: wordmark, primary and outline actions, inputs, menus, errors ---------- */
/* The wordmark: hairline orbit glyph and tracked capitals (the brand wordmark is the one tracked-capitals exception). */
:where(:root) body.obs:where(.obs-bare) :is(.quiz-logo, .chem-logo, .rect-logo, .logo-link) {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font: 600 .8rem/1 var(--o-sans-header);
  letter-spacing: .16em; text-transform: uppercase; color: var(--o-ink); opacity: 1; text-decoration: none;
}
:where(:root) body.obs:where(.obs-bare) :is(.quiz-logo, .chem-logo, .rect-logo, .logo-link)::before {
  content: ""; flex: none; width: 26px; height: 26px; background: var(--o-bare-wordmark) center / contain no-repeat;
}
:where(:root) body.obs:where(.obs-bare) :is(.quiz-logo, .chem-logo, .rect-logo, .logo-link):hover { color: var(--o-ink); opacity: 1; text-decoration: underline; text-underline-offset: .3em; }
:where(:root) body.obs:where(.obs-bare) .rect-logo { display: flex; width: max-content; margin-inline: auto; }
/* Primary action on night: the ice pill. */
:where(:root) body.obs:where(.obs-bare) :is(.btn-gold, .btn-cta-primary, .lp-cta-btn, .btn-home, .skip-link), :where(:root) body.obs:where(.obs-bare) .btn-step.next, :where(:root) body.obs:where(.obs-bare) .chem-capture .btn-capture, :where(:root) body.obs:where(.obs-bare) #card .dd-cta, :where(:root) body.obs:where(.obs-bare) #chart-card .cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px;
  border: 0; border-radius: 999px; background: var(--o-ice); color: var(--o-on-ice); font: 600 1rem/1.3 var(--o-sans);
  letter-spacing: 0; text-transform: none; text-decoration: none; box-shadow: var(--o-bare-action-shadow); transform: none;
  cursor: pointer; transition: background 160ms var(--o-ease);
}
:where(:root) body.obs:where(.obs-bare) :is(.btn-gold, .btn-cta-primary, .lp-cta-btn, .btn-home):hover, :where(:root) body.obs:where(.obs-bare) .btn-step.next:hover, :where(:root) body.obs:where(.obs-bare) .chem-capture .btn-capture:hover, :where(:root) body.obs:where(.obs-bare) #card .dd-cta:hover, :where(:root) body.obs:where(.obs-bare) #chart-card .cta:hover {
  background: var(--o-ice-2); color: var(--o-on-ice); opacity: 1; transform: none; box-shadow: var(--o-bare-action-shadow);
}
:where(:root) body.obs:where(.obs-bare) :is(.btn-gold, .btn-cta-primary, .lp-cta-btn, .btn-home):disabled, :where(:root) body.obs:where(.obs-bare) .btn-step.next:disabled, :where(:root) body.obs:where(.obs-bare) .chem-capture .btn-capture:disabled, :where(:root) body.obs:where(.obs-bare) #card .dd-cta:disabled, :where(:root) body.obs:where(.obs-bare) #chart-card .cta:disabled {
  opacity: .55; cursor: not-allowed; box-shadow: none; transform: none;
}
/* Outline actions. */
:where(:root) body.obs:where(.obs-bare) :is(.btn-cta-secondary, .share-btn, .chemistry-link, .lp-action-btn-secondary, .btn-retry), :where(:root) body.obs:where(.obs-bare) .btn-step.back, :where(:root) body.obs:where(.obs-bare) #card .secondary-cta, :where(:root) body.obs:where(.obs-bare) #card #dd-fold-choices button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px;
  border: 1px solid var(--o-control); border-radius: 999px; background: transparent; color: var(--o-ink);
  font: 500 .9375rem/1.3 var(--o-sans); letter-spacing: 0; text-decoration: none; box-shadow: none; transform: none; cursor: pointer;
}
:where(:root) body.obs:where(.obs-bare) :is(.btn-cta-secondary, .share-btn, .chemistry-link, .lp-action-btn-secondary, .btn-retry):hover, :where(:root) body.obs:where(.obs-bare) .btn-step.back:hover, :where(:root) body.obs:where(.obs-bare) #card .secondary-cta:hover, :where(:root) body.obs:where(.obs-bare) #card #dd-fold-choices button:hover {
  border-color: var(--o-ice); background: var(--o-bare-tint); color: var(--o-ink); transform: none; box-shadow: none;
}
:where(:root) body.obs:where(.obs-bare) :is(.share-btn, .chemistry-link) svg { color: var(--o-ice-2); }
/* Text links that act as buttons: ice, underlined, 44 px tall. */
:where(:root) body.obs:where(.obs-bare) :is(.try-another, .view-compat), :where(:root) body.obs:where(.obs-bare) #card .dd-manual-toggle {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--o-ice); font: 500 .9375rem var(--o-sans);
  text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; transform: none;
}
:where(:root) body.obs:where(.obs-bare) :is(.try-another, .view-compat):hover, :where(:root) body.obs:where(.obs-bare) #card .dd-manual-toggle:hover { color: var(--o-ice-2); transform: none; }
/* Text fields: foundation.css gives the field and its 3 px focus ring from the shared --ae tokens; size and shape here. */
:where(:root) body.obs:where(.obs-bare) :is(.quiz-card, .chem-card, .form-card, .chem-capture, .lp-form-card, #card .dd-form, body > div.card) :is(input, select):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) {
  min-height: 48px; border-radius: 10px; font-size: max(1rem, 16px);
}
:where(:root) body.obs:where(.obs-bare) :is(.quiz-card, .chem-card, .form-card, .chem-capture, .lp-form-card, #card .dd-form) :is(input, select):focus {
  border-color: var(--o-ice); box-shadow: 0 0 0 3px var(--o-bare-tint-2);
}
:where(:root) body.obs:where(.obs-bare) :is(.quiz-card, .chem-card, .form-group, .lp-field, #card .dd-form) label {
  color: var(--o-bare-label); font: 500 .9375rem var(--o-sans); letter-spacing: 0; text-transform: none;
}
:where(:root) body.obs:where(.obs-bare) input:is([type="checkbox"], [type="radio"]) { accent-color: var(--o-ice); }
/* City search menus. */
:where(:root) body.obs:where(.obs-bare) :is(.city-suggestions), :where(:root) body.obs:where(.obs-bare) #card .dd-suggest {
  background: var(--o-night-3); border: 1px solid var(--o-line-2); border-radius: 10px; box-shadow: var(--o-bare-menu-shadow);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
:where(:root) body.obs:where(.obs-bare) .city-suggestions .sug-item, :where(:root) body.obs:where(.obs-bare) #card .dd-suggest-item {
  display: flex; align-items: center; min-height: 44px; padding: 10px 14px; color: var(--o-ink); font-size: .9375rem;
  border-bottom: 1px solid var(--o-line); background: transparent;
}
:where(:root) body.obs:where(.obs-bare) .city-suggestions .sug-item:is(:hover, :focus), :where(:root) body.obs:where(.obs-bare) #card .dd-suggest-item:is(:hover, :focus) { background: var(--o-bare-tint-2); color: var(--o-ink); }
/* Errors: tinted panel, a rule and words (never colour alone). */
:where(:root) body.obs:where(.obs-bare) :is(.error-msg), :where(:root) body.obs:where(.obs-bare) #card .dd-error, :where(:root) body.obs:where(.obs-bare) .chem-capture .capture-feedback.error {
  background: var(--o-bare-err-bg); border: 1px solid var(--o-bare-err-line); border-radius: 10px; color: var(--o-error);
  font-size: .9375rem; line-height: 1.5;
}
:where(:root) body.obs:where(.obs-bare) .chem-capture .capture-feedback.success {
  background: var(--o-bare-ok-bg); border: 1px solid var(--o-bare-ok-line); border-radius: 10px; color: var(--o-ink);
}
/* Instrument panels on night (forms and calculated results). */
:where(:root) body.obs:where(.obs-bare) :is(.quiz-card, .chem-card, .form-card, .main-match, .time-reveal, .chem-capture, .lp-form-card, .lp-result) {
  background: var(--o-bare-panel-light), var(--o-night-2); border: 1px solid var(--o-line-2); border-radius: 16px;
  box-shadow: var(--o-bare-panel-shadow); -webkit-backdrop-filter: none; backdrop-filter: none;
}
:where(:root) body.obs:where(.obs-bare) :is(.quiz-card, .chem-card, .form-card, .main-match, .time-reveal, .chem-capture, .lp-form-card):hover { border-color: var(--o-line-2); }
:where(:root) body.obs:where(.obs-bare) :is(.main-match, .time-reveal, .paywall-card)::before { content: none; }
/* Reading surfaces: paper under the lamp. */
:where(:root) body.obs:where(.obs-bare) :is(.lp-free-pdf, .listicle, .rect-section, .why-section, .paywall-card, .quiz-cta, .chem-cta), :where(:root) body.obs:where(.obs-bare) #card .steps, :where(:root) body.obs:where(.obs-bare) #card .upsell-card {
  background: var(--o-bare-paper); color: #1f2533; border: 0; border-radius: 3px; box-shadow: var(--o-bare-paper-shadow);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
:where(:root) body.obs:where(.obs-bare) :is(.lp-free-pdf, .listicle, .rect-section, .why-section, .paywall-card, .quiz-cta, .chem-cta) :is(h1, h2, h3), :where(:root) body.obs:where(.obs-bare) #card .steps :is(h1, h2, h3), :where(:root) body.obs:where(.obs-bare) #card .upsell-card :is(h1, h2, h3) { color: var(--o-paper-ink); }
:where(:root) body.obs:where(.obs-bare) :is(.lp-free-pdf, .listicle, .rect-section, .why-section, .paywall-card, .quiz-cta, .chem-cta) a:not([class]), :where(:root) body.obs:where(.obs-bare) #card .steps a:not([class]), :where(:root) body.obs:where(.obs-bare) #card .upsell-card a:not([class]) { color: var(--o-paper-accent); }
/* The ink pill: the primary action on paper. */
:where(:root) body.obs:where(.obs-bare) :is(.btn-unlock, .btn-cta-inline), :where(:root) body.obs:where(.obs-bare) #card .upsell-btn, :where(:root) body.obs:where(.obs-bare) .lp-action-btn:not(.lp-action-btn-secondary), :where(:root) body.obs:where(.obs-bare) .listicle .cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px;
  border: 0; border-radius: 999px; background: var(--o-paper-ink); color: var(--o-paper); font: 600 1rem/1.3 var(--o-sans);
  letter-spacing: 0; text-decoration: none; box-shadow: none; transform: none; opacity: 1; cursor: pointer;
}
:where(:root) body.obs:where(.obs-bare) :is(.btn-unlock, .btn-cta-inline):hover, :where(:root) body.obs:where(.obs-bare) #card .upsell-btn:hover, :where(:root) body.obs:where(.obs-bare) .lp-action-btn:not(.lp-action-btn-secondary):hover, :where(:root) body.obs:where(.obs-bare) .listicle .cta:hover {
  background: var(--o-paper-accent); color: var(--o-paper); transform: none; box-shadow: none; opacity: 1;
}
:where(:root) body.obs:where(.obs-bare) :is(.btn-unlock, .lp-action-btn):disabled, :where(:root) body.obs:where(.obs-bare) #card .upsell-btn:disabled { opacity: .55; cursor: not-allowed; }
:where(:root) body.obs:where(.obs-bare) :is(.listicle, .lp-free-pdf, .paywall-card, .quiz-cta, .chem-cta) :focus-visible, :where(:root) body.obs:where(.obs-bare) #card .steps :focus-visible, :where(:root) body.obs:where(.obs-bare) #card .upsell-card :focus-visible { outline-color: var(--o-paper-accent); }
/* Hairline chips (badges): sentence case, quiet ink. */
:where(:root) body.obs:where(.obs-bare) :is(.celeb-badge, .rect-badge, .result-badge, .strongest-aspect, .result-rising-badge, .lp-badge) {
  background: transparent; border: 1px solid var(--o-control); border-radius: 999px; color: var(--o-muted);
  font: 500 .875rem/1.35 var(--o-sans); letter-spacing: 0; text-transform: none; box-shadow: none;
}
:where(:root) body.obs:where(.obs-bare) :is(.celeb-badge, .rect-badge, .result-badge) :is(svg, .sparkle) { color: var(--o-ice-2); }
/* Quiet notes and fine print (13 px floor). */
:where(:root) body.obs:where(.obs-bare) :is(.privacy-note, .trust-line, .form-hint, .events-counter, .capture-fineprint, .paywall-secure) { color: var(--o-faint); font-size: .8125rem; }
:where(:root) body.obs:where(.obs-bare) .trust-line .ephemeris-badge { color: var(--o-faint); opacity: 1; font-size: .8125rem; }
:where(:root) body.obs:where(.obs-bare) .trust-line .ephemeris-badge svg { color: var(--o-ice-2); }
:where(:root) body.obs:where(.obs-bare) .rect-disclaimer { background: transparent; border: 1px solid var(--o-line-2); border-radius: 10px; color: var(--o-faint); font-size: .8125rem; }
/* Loading overlay: night glass, the Sun (lamp) and a calculated body (ice) on one hairline orbit. */
:where(:root) body.obs:where(.obs-bare) .loading-overlay { background: var(--o-bare-overlay); -webkit-backdrop-filter: none; backdrop-filter: none; }
:where(:root) body.obs:where(.obs-bare) .loading-text { color: var(--o-ivory); font-family: var(--o-serif); font-weight: 400; font-size: 1.4rem; }
:where(:root) body.obs:where(.obs-bare) .loading-subtext { color: var(--o-muted); font-size: .9375rem; }
:where(:root) body.obs:where(.obs-bare) .orbit-loader .ring { border: 1px solid var(--o-line-2); }
:where(:root) body.obs:where(.obs-bare) .orbit-loader .planet { background: var(--o-lamp); box-shadow: none; }
:where(:root) body.obs:where(.obs-bare) .orbit-loader .planet:nth-child(3) { background: var(--o-ice); }
:where(:root) body.obs:where(.obs-bare) .loading-progress { background: var(--o-line); }
:where(:root) body.obs:where(.obs-bare) .loading-progress .bar { background: var(--o-ice); }

/* ---------- welcome (/welcome): confirmation, report confirmation, Long Reading capture and status ----------
   Today a light paper page with the shared token names inverted; here an instrument panel on night whose step list
   and offer are paper. Keyed to stable ids (#card, #view-*, #dd-*) and classes only: another team edits its copy. */
:where(:root) body.obs:where(.obs-bare) #card {
  max-width: 560px; padding: 44px 36px; background: var(--o-bare-panel-light), var(--o-night-2); color: var(--o-ink);
  border: 1px solid var(--o-line-2); border-radius: 16px; box-shadow: var(--o-bare-panel-shadow);
}
:where(:root) body.obs:where(.obs-bare) #card .stamp {
  width: 60px; height: 60px; margin-bottom: 22px; background: var(--o-bare-tint); border: 1px solid var(--o-bare-ice-line);
  color: var(--o-ice); font: 400 26px/1 var(--o-sans); box-shadow: none;
}
/* an empty stamp (statuses other than sent) carries the orbit glyph instead of an empty disc */
:where(:root) body.obs:where(.obs-bare) #card .stamp:empty { background: var(--o-bare-wordmark) center / 30px no-repeat, var(--o-bare-tint); }
:where(:root) body.obs:where(.obs-bare) #card h1 {
  font-family: var(--o-serif); font-weight: 400; color: var(--o-ivory); font-size: clamp(2rem, 1.7rem + 1.2vw, 2.5rem);
  line-height: 1.12; text-wrap: balance; margin-bottom: 14px;
}
:where(:root) body.obs:where(.obs-bare) #card .lede { color: var(--o-muted); font-size: 1.0625rem; line-height: 1.6; }
/* a hidden pill must stay hidden: the page's display rule outranked the hidden attribute (an empty pill showed) */
:where(:root) body.obs:where(.obs-bare) #card .email-pill[hidden] { display: none; }
:where(:root) body.obs:where(.obs-bare) #card .email-pill {
  background: transparent; border: 1px solid var(--o-control); color: var(--o-ink); font: 500 .9375rem var(--o-sans);
  font-variant-numeric: tabular-nums; padding: 8px 16px;
}
:where(:root) body.obs:where(.obs-bare) #card .steps { padding: 20px 24px 20px 22px; margin: 26px 0; text-align: left; }
:where(:root) body.obs:where(.obs-bare) #card .steps li { color: #1f2533; font-size: 1rem; line-height: 1.6; }
:where(:root) body.obs:where(.obs-bare) #card .steps li::marker { color: var(--o-paper-muted); font-variant-numeric: tabular-nums; }
:where(:root) body.obs:where(.obs-bare) #card .steps li strong { color: var(--o-paper-ink); font-weight: 600; }
:where(:root) body.obs:where(.obs-bare) #card .help { color: var(--o-muted); font-size: .875rem; line-height: 1.6; }
:where(:root) body.obs:where(.obs-bare) #card .help a { color: var(--o-ice); text-underline-offset: .22em; }
:where(:root) body.obs:where(.obs-bare) #card .footer { color: var(--o-faint); font-size: .8125rem; }
:where(:root) body.obs:where(.obs-bare) #card .secondary-cta { margin-top: 12px; }
:where(:root) body.obs:where(.obs-bare) #card .dd-eyebrow {
  background: transparent; border: 1px solid var(--o-bare-lamp-line); color: var(--o-lamp); border-radius: 999px;
  font: 500 .875rem/1.4 var(--o-sans); letter-spacing: 0; text-transform: none; padding: 4px 14px; margin-bottom: 16px;
}
/* Long Reading birth-data form */
:where(:root) body.obs:where(.obs-bare) #card .dd-form label { margin-top: 16px; margin-bottom: 6px; }
:where(:root) body.obs:where(.obs-bare) #card .dd-form .dd-time-choice { min-height: 44px; margin-top: 8px; color: var(--o-bare-label); font-weight: 400; }
:where(:root) body.obs:where(.obs-bare) #card .dd-form .dd-time-choice input { width: 20px; height: 20px; flex: none; }
:where(:root) body.obs:where(.obs-bare) #card .dd-form .hint { color: var(--o-faint); font-size: .8125rem; font-style: normal; line-height: 1.5; }
:where(:root) body.obs:where(.obs-bare) #card .dd-status { color: var(--o-faint); font-size: .8125rem; }
:where(:root) body.obs:where(.obs-bare) #card .dd-status.searching, :where(:root) body.obs:where(.obs-bare) #card .dd-status.found { color: var(--o-ice); }
:where(:root) body.obs:where(.obs-bare) #card .dd-status.error { color: var(--o-error); }
:where(:root) body.obs:where(.obs-bare) #card .dd-manual-toggle { background: none; border: 0; padding: 0; margin-top: 4px; font-size: .875rem; border-radius: 4px; }
:where(:root) body.obs:where(.obs-bare) #card #dd-fold-choices { color: var(--o-muted); font-size: .875rem; }
:where(:root) body.obs:where(.obs-bare) #card #dd-fold-choices button { width: 100%; margin-top: 8px; border-radius: 12px; font-size: .875rem; }
:where(:root) body.obs:where(.obs-bare) #card .dd-cta { width: 100%; margin-top: 24px; }
:where(:root) body.obs:where(.obs-bare) #card .dd-form fieldset:disabled :is(input, label) { opacity: .6; }
:where(:root) body.obs:where(.obs-bare) #card .dd-error { padding: 12px 14px; }
/* report confirmation: the offer is paper, its action the ink pill */
:where(:root) body.obs:where(.obs-bare) #card .upsell-card { padding: 24px 22px; margin-top: 28px; }
:where(:root) body.obs:where(.obs-bare) #card .upsell-eyebrow {
  background: transparent; border: 1px solid var(--o-paper-rule); color: var(--o-paper-muted); border-radius: 999px;
  font: 500 .8125rem/1.4 var(--o-sans); letter-spacing: 0; text-transform: none; padding: 3px 12px;
}
:where(:root) body.obs:where(.obs-bare) #card .upsell-title { font-family: var(--o-serif); font-weight: 400; font-size: 1.5rem; line-height: 1.2; color: var(--o-paper-ink); }
:where(:root) body.obs:where(.obs-bare) #card .upsell-body { color: #1f2533; font-size: .9375rem; line-height: 1.62; }
:where(:root) body.obs:where(.obs-bare) #card .upsell-btn { width: 100%; }
:where(:root) body.obs:where(.obs-bare) #card .upsell-strike { color: inherit; opacity: .78; font-weight: 500; }
:where(:root) body.obs:where(.obs-bare) #card .upsell-skip {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--o-paper-muted); font-size: .875rem;
  text-decoration: underline; text-underline-offset: .22em;
}
:where(:root) body.obs:where(.obs-bare) #card .upsell-skip:hover { color: var(--o-paper-ink); }

/* ---------- landing page (/lp/birth-chart-free) ---------- */
:where(:root) body.obs:where(.obs-bare) .lp-container { max-width: 720px; }
:where(:root) body.obs:where(.obs-bare) .trust-strip { color: var(--o-faint); font-size: .875rem; letter-spacing: 0; text-transform: none; }
:where(:root) body.obs:where(.obs-bare) .trust-strip span { color: var(--o-ink); }
:where(:root) body.obs:where(.obs-bare) .lp-badge { padding: 5px 14px; }
:where(:root) body.obs:where(.obs-bare) .lp-h1 {
  font-family: var(--o-serif); font-weight: 400; color: var(--o-ivory); font-size: clamp(2.25rem, 1.7rem + 2.4vw, 3.2rem);
  line-height: 1.08; text-wrap: balance;
}
:where(:root) body.obs:where(.obs-bare) .lp-subtitle { color: var(--o-muted); font-size: 1.0625rem; }
:where(:root) body.obs:where(.obs-bare) .lp-form-card { padding: 28px 24px; }
:where(:root) body.obs:where(.obs-bare) .lp-form-title { font: 400 1.5rem/1.2 var(--o-serif); color: var(--o-ivory); }
:where(:root) body.obs:where(.obs-bare) .lp-cta-btn { width: 100%; margin-top: 10px; font-size: 1.0625rem; }
:where(:root) body.obs:where(.obs-bare) .lp-no-signup { color: var(--o-muted); font-size: .875rem; }
:where(:root) body.obs:where(.obs-bare) .lp-no-signup span { color: var(--o-ice); }
/* three facts as a hairline index, with hairline glyphs instead of emoji */
:where(:root) body.obs:where(.obs-bare) .lp-features { gap: 1px; background: var(--o-line); border: 1px solid var(--o-line); border-radius: 12px; overflow: hidden; }
:where(:root) body.obs:where(.obs-bare) .lp-feature { background: var(--o-night-2); padding: 18px 12px; }
:where(:root) body.obs:where(.obs-bare) .lp-feature-icon { font-size: 0; height: 26px; margin-bottom: 8px; background: var(--o-bare-g-sun) center / 26px no-repeat; }
:where(:root) body.obs:where(.obs-bare) .lp-feature:nth-child(2) .lp-feature-icon { background-image: var(--o-bare-g-wheel); }
:where(:root) body.obs:where(.obs-bare) .lp-feature:nth-child(3) .lp-feature-icon { background-image: var(--o-bare-g-page); }
:where(:root) body.obs:where(.obs-bare) .lp-feature-text { color: var(--o-muted); font-size: .875rem; line-height: 1.45; }
:where(:root) body.obs:where(.obs-bare) .lp-result { padding: 32px 24px; }
:where(:root) body.obs:where(.obs-bare) .lp-result.visible { animation: none; }
:where(:root) body.obs:where(.obs-bare) .lp-result-title { font: 400 clamp(1.8rem, 1.5rem + 1vw, 2.3rem)/1.15 var(--o-serif); color: var(--o-ivory); }
:where(:root) body.obs:where(.obs-bare) .lp-big-three { gap: 1px; background: var(--o-line); border: 1px solid var(--o-line); border-radius: 12px; overflow: hidden; }
:where(:root) body.obs:where(.obs-bare) .lp-bt-card { background: var(--o-night-2); border: 0; border-radius: 0; }
/* the labels arrive as capitals from the script (SUN, MOON, RISING): shown in sentence case */
:where(:root) body.obs:where(.obs-bare) .lp-bt-label { color: var(--o-muted); font-size: .875rem; letter-spacing: 0; text-transform: lowercase; }
:where(:root) body.obs:where(.obs-bare) .lp-bt-label::first-letter { text-transform: uppercase; }
:where(:root) body.obs:where(.obs-bare) .lp-bt-glyph { color: var(--o-ice-2); }
:where(:root) body.obs:where(.obs-bare) .lp-bt-sign { color: var(--o-ink); font-weight: 600; }
:where(:root) body.obs:where(.obs-bare) .lp-result-text { color: var(--o-muted); font-style: normal; font-size: 1rem; }
:where(:root) body.obs:where(.obs-bare) .lp-free-pdf { padding: 26px 22px; }
:where(:root) body.obs:where(.obs-bare) .lp-free-pdf h3 { font-size: 1.6rem; }
:where(:root) body.obs:where(.obs-bare) .lp-free-pdf p { color: #1f2533; font-size: .9375rem; }
:where(:root) body.obs:where(.obs-bare) .lp-free-pdf p[style] { font-size: .875rem !important; } /* inline 12.5 px */
:where(:root) body.obs:where(.obs-bare) .lp-free-pdf p[style] a[style] { color: var(--o-paper-accent) !important; } /* inline gold */
:where(:root) body.obs:where(.obs-bare) .lp-status-msg { color: var(--o-paper-muted); font-size: .875rem; }
:where(:root) body.obs:where(.obs-bare) .lp-status-msg.error { color: var(--o-error-paper); }
:where(:root) body.obs:where(.obs-bare) .lp-status-msg.success { color: var(--o-paper-accent); }
:where(:root) body.obs:where(.obs-bare) .lp-footer { border-top: 1px solid var(--o-line); color: var(--o-faint); font-size: .8125rem; }
:where(:root) body.obs:where(.obs-bare) .lp-footer a { color: var(--o-muted); }

/* ---------- best-AI listicle (/best-ai-astrologer-2026): one long reading surface ---------- */
:where(:root) body.obs:where(.obs-bare) .listicle {
  max-width: 900px; margin: clamp(16px, 4vw, 48px) auto; padding: clamp(24px, 4.5vw, 64px); font-family: var(--o-sans);
  font-size: 1.0625rem; line-height: 1.68;
}
:where(:root) body.obs:where(.obs-bare) .listicle :is(h1, h2, h3) { font-family: var(--o-serif); font-weight: 400; letter-spacing: -.005em; }
/* the site stylesheet this page links (index.css) paints every h1 with a clipped, animated gold gradient */
:where(:root) body.obs:where(.obs-bare) .listicle h1 {
  font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem); line-height: 1.06; text-wrap: balance;
  background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: currentColor; animation: none;
}
:where(:root) body.obs:where(.obs-bare) .listicle h2 { font-size: clamp(1.6rem, 1.35rem + 1vw, 2.1rem); line-height: 1.15; border-bottom: 1px solid var(--o-paper-rule); }
:where(:root) body.obs:where(.obs-bare) .listicle h3 { font-size: 1.4rem; line-height: 1.25; }
:where(:root) body.obs:where(.obs-bare) .listicle :is(p, li) { color: #1f2533; }
:where(:root) body.obs:where(.obs-bare) .listicle strong { color: var(--o-paper-ink); }
:where(:root) body.obs:where(.obs-bare) .listicle :is(.meta, .updated) { color: var(--o-paper-muted); }
:where(:root) body.obs:where(.obs-bare) .listicle .updated { border-top: 1px solid var(--o-paper-rule); }
:where(:root) body.obs:where(.obs-bare) .listicle a { color: var(--o-paper-accent); }
:where(:root) body.obs:where(.obs-bare) .listicle :is(.tldr, .self-disclosure) {
  background: var(--o-paper-2); color: #1f2533; border: 0; border-left: 3px solid var(--o-paper-accent); border-radius: 2px;
}
:where(:root) body.obs:where(.obs-bare) .listicle table { font-variant-numeric: tabular-nums; }
:where(:root) body.obs:where(.obs-bare) .listicle :is(th, td) { border: 0; border-bottom: 1px solid var(--o-paper-rule); color: #1f2533; background: none; }
:where(:root) body.obs:where(.obs-bare) .listicle th { color: var(--o-paper-muted); font-weight: 500; font-size: .875rem; background: none; }
:where(:root) body.obs:where(.obs-bare) .listicle .badge-1 { background: var(--o-paper-ink); color: var(--o-paper); border-radius: 999px; padding: 2px 9px; }
:where(:root) body.obs:where(.obs-bare) .listicle .cta { margin: 8px 0; }
:where(:root) body.obs:where(.obs-bare) .listicle .ae-table-scroll:focus-visible { outline: 2px solid var(--o-paper-accent); outline-offset: 3px; }

/* ---------- shared chart (/shared/{id}) and its embed (/api/v1/share/embed/{id}) ---------- */
:where(:root) body.obs:where(.obs-bare) #chart-card {
  background: var(--o-bare-panel-light), var(--o-night-2); border: 1px solid var(--o-line-2); border-radius: 16px;
  box-shadow: var(--o-bare-panel-shadow); -webkit-backdrop-filter: none; backdrop-filter: none;
}
:where(:root) body.obs:where(.obs-bare) #chart-card:hover { border-color: var(--o-line-2); }
:where(:root) body.obs:where(.obs-bare) #chart-card .chart-title { font-family: var(--o-serif); font-weight: 400; color: var(--o-ivory); letter-spacing: 0; }
:where(:root) body.obs:where(.obs-bare) #chart-card .chart-meta { color: var(--o-faint); }
:where(:root) body.obs:where(.obs-bare) #chart-card .chart-meta .view-count { color: var(--o-muted); font-variant-numeric: tabular-nums; }
:where(:root) body.obs:where(.obs-bare) #chart-card #chart-svg { color: var(--o-muted); }
:where(:root) body.obs:where(.obs-bare) #chart-card .spinner { border-color: var(--o-line-2); border-top-color: var(--o-ice); }
:where(:root) body.obs:where(.obs-bare) #chart-card .error-text { color: var(--o-ivory); font: 400 1.6rem/1.2 var(--o-serif); }
:where(:root) body.obs:where(.obs-bare) #chart-card .error-detail { color: var(--o-muted); font-size: .9375rem; }
/* share row: inline-styled buttons and label */
:where(:root) body.obs:where(.obs-bare) #share-buttons > p[style] {
  color: var(--o-muted) !important; font-size: .875rem !important; letter-spacing: 0 !important; text-transform: none !important; font-weight: 500 !important;
}
:where(:root) body.obs:where(.obs-bare) #share-buttons button {
  min-height: 44px !important; padding: 0 18px !important; border-radius: 999px !important; border: 1px solid var(--o-control) !important;
  background: transparent !important; color: var(--o-ink) !important; font-size: .9375rem !important;
}
:where(:root) body.obs:where(.obs-bare) #share-buttons button:hover { border-color: var(--o-ice) !important; background: var(--o-bare-tint) !important; }
:where(:root) body.obs:where(.obs-bare) #main-content > .footer { color: var(--o-faint); font-size: .875rem; }
:where(:root) body.obs:where(.obs-bare) #main-content > .footer a { color: var(--o-ice); display: inline-flex; align-items: center; min-height: 44px; }
:where(:root) body.obs:where(.obs-bare) .skip-link { min-height: 44px; padding: 0 18px; box-shadow: none; }
/* theme toggle: a hairline sun by night (it offers daylight), a moon by day */
:where(:root) body.obs:where(.obs-bare) .theme-toggle {
  width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; border-radius: 10px;
  background: var(--o-bare-toggle) center / 20px no-repeat, var(--o-night-2); border: 1px solid var(--o-control);
  box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none;
}
:where(:root) body.obs:where(.obs-bare) .theme-toggle:hover { border-color: var(--o-ice); transform: none; }
:where(:root) body.obs:where(.obs-bare) .theme-toggle .theme-icon { opacity: 0; }
/* cookie notice (inline-styled) */
:where(:root) body.obs:where(.obs-bare) #cookie-consent { background: var(--o-bare-bar) !important; border-top: 1px solid var(--o-line-2) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
:where(:root) body.obs:where(.obs-bare) #cookie-consent p { color: var(--o-ink) !important; font-size: .9375rem !important; }
:where(:root) body.obs:where(.obs-bare) #cookie-consent a { color: var(--o-ice) !important; }
:where(:root) body.obs:where(.obs-bare) #cookie-consent button {
  min-height: 44px !important; padding: 0 20px !important; border-radius: 999px !important; font-size: .9375rem !important;
  background: transparent !important; color: var(--o-ink) !important; border: 1px solid var(--o-control) !important;
}
:where(:root) body.obs:where(.obs-bare) #cookie-consent button:last-child { background: var(--o-ice) !important; color: var(--o-on-ice) !important; border-color: var(--o-ice) !important; }
/* the embed: the chart, a quiet credit line */
:where(:root) body.obs:where(.obs-bare) .embed-footer { color: var(--o-faint); font-size: .8125rem; }
:where(:root) body.obs:where(.obs-bare) .embed-footer a { color: var(--o-ice); }

/* ---------- celebrity soulmate quiz, birth-time rectification, chemistry (one family of pages) ---------- */
:where(:root) body.obs:where(.obs-bare) :is(.quiz-headline, .chem-headline, .rect-hero h1) {
  font-family: var(--o-serif); font-weight: 400; color: var(--o-ivory); font-size: clamp(2.25rem, 1.7rem + 2.4vw, 3.1rem);
  line-height: 1.08; text-wrap: balance; letter-spacing: -.005em;
}
:where(:root) body.obs:where(.obs-bare) :is(.quiz-headline, .chem-headline, .rect-hero h1) em {
  font-style: normal; background: none; -webkit-background-clip: border-box; background-clip: border-box;
  -webkit-text-fill-color: currentColor; color: inherit;
}
:where(:root) body.obs:where(.obs-bare) :is(.quiz-subtext, .chem-subtext, .rect-hero .subtitle) { color: var(--o-muted); font-size: 1.0625rem; }
:where(:root) body.obs:where(.obs-bare) .sparkle { color: var(--o-ice-2); }
:where(:root) body.obs:where(.obs-bare) :is(.celeb-badge, .rect-badge) { padding: 6px 14px; }
:where(:root) body.obs:where(.obs-bare) .result-badge { padding: 6px 14px; }
:where(:root) body.obs:where(.obs-bare) :is(.quiz-card, .chem-card) label { margin-bottom: 6px; }
/* the invitation line on the chemistry form (inline capitals) */
:where(:root) body.obs:where(.obs-bare) .chemistry-container > div[style] > span[style] {
  color: var(--o-muted) !important; font-size: .9375rem !important; letter-spacing: 0 !important; text-transform: none !important;
}
:where(:root) body.obs:where(.obs-bare) .field-row .field > span[style] { color: var(--o-faint) !important; font-size: .8125rem !important; }
:where(:root) body.obs:where(.obs-bare) :is(.quiz-card, .chem-card) .btn-gold { width: 100%; margin-top: 8px; }
/* rectification landing: the two explanations are reading surfaces */
:where(:root) body.obs:where(.obs-bare) .rect-section { padding: clamp(24px, 3.4vw, 40px); }
:where(:root) body.obs:where(.obs-bare) .rect-section:hover { border-color: transparent; }
:where(:root) body.obs:where(.obs-bare) .rect-section h2 { font-size: clamp(1.6rem, 1.35rem + 1vw, 2rem); }
:where(:root) body.obs:where(.obs-bare) .rect-section p { color: #1f2533; font-size: 1.0625rem; line-height: 1.68; }
:where(:root) body.obs:where(.obs-bare) a.btn-gold { width: auto; padding: 0 32px; }
:where(:root) body.obs:where(.obs-bare) .rect-container > div[style*="max-width:600px"] {
  background: transparent !important; border: 1px solid var(--o-line-2) !important; color: var(--o-faint) !important; font-size: .8125rem !important;
}
/* rectification steps */
:where(:root) body.obs:where(.obs-bare) .step-dot { width: 12px; height: 12px; background: transparent; border: 1.5px solid var(--o-control); box-shadow: none; }
:where(:root) body.obs:where(.obs-bare) .step-dot.active { background: var(--o-night); border-color: var(--o-ice); box-shadow: 0 0 0 3px var(--o-bare-tint-2); }
:where(:root) body.obs:where(.obs-bare) .step-dot.done { background: var(--o-ice); border-color: var(--o-ice); }
:where(:root) body.obs:where(.obs-bare) .step-line { background: var(--o-line-2); }
:where(:root) body.obs:where(.obs-bare) .step-line.done { background: var(--o-ice); }
:where(:root) body.obs:where(.obs-bare) .step-labels span { color: var(--o-faint); font-size: .875rem; }
/* the current step is named by an underline as well as by colour */
:where(:root) body.obs:where(.obs-bare) .step-labels span.active { color: var(--o-ink); text-decoration: underline; text-underline-offset: .4em; text-decoration-thickness: 1px; }
:where(:root) body.obs:where(.obs-bare) .form-card > h3[style] { font-size: 1.4rem !important; font-weight: 400 !important; } /* inline 18 px serif */
:where(:root) body.obs:where(.obs-bare) .form-card > p[style] { color: var(--o-muted) !important; font-size: .9375rem !important; }
:where(:root) body.obs:where(.obs-bare) .event-item { background: transparent; border: 1px solid var(--o-line-2); border-radius: 12px; }
:where(:root) body.obs:where(.obs-bare) .event-item:hover { border-color: var(--o-control); }
:where(:root) body.obs:where(.obs-bare) .event-item :is(input, select) { min-height: 44px; border-radius: 10px; font-size: max(1rem, 16px); }
:where(:root) body.obs:where(.obs-bare) .btn-remove {
  min-height: 44px; padding: 0 16px; border-radius: 999px; background: transparent; border: 1px solid var(--o-bare-err-line);
  color: var(--o-error); font: 500 .875rem var(--o-sans);
}
:where(:root) body.obs:where(.obs-bare) .btn-remove:hover { background: var(--o-bare-err-bg); border-color: var(--o-error); }
:where(:root) body.obs:where(.obs-bare) .btn-add {
  min-height: 44px; padding: 0 20px; border-radius: 999px; background: transparent; border: 1px dashed var(--o-control);
  color: var(--o-ice); font: 500 .9375rem var(--o-sans);
}
:where(:root) body.obs:where(.obs-bare) .btn-add:hover { border-color: var(--o-ice); background: var(--o-bare-tint); }
:where(:root) body.obs:where(.obs-bare) .appear-check {
  min-height: 48px; padding: 10px 14px; background: transparent; border: 1px solid var(--o-control); border-radius: 10px;
  color: var(--o-bare-label); font-size: .9375rem;
}
:where(:root) body.obs:where(.obs-bare) .appear-check:hover { border-color: var(--o-ice); color: var(--o-ink); }
:where(:root) body.obs:where(.obs-bare) .appear-check.checked { border-color: var(--o-ice); background: var(--o-bare-tint); color: var(--o-ink); }
:where(:root) body.obs:where(.obs-bare) .appear-check input { width: 18px; height: 18px; flex: none; accent-color: var(--o-ice); }
:where(:root) body.obs:where(.obs-bare) .step-nav .btn-gold { min-height: 50px; }
/* results: calculated values on instrument panels, interpretation in the reading voice */
:where(:root) body.obs:where(.obs-bare) :is(.match-name, .result-names) {
  font-family: var(--o-serif); font-weight: 400; color: var(--o-ivory); font-size: clamp(1.9rem, 1.6rem + 1.4vw, 2.6rem); line-height: 1.12;
}
:where(:root) body.obs:where(.obs-bare) .result-names .x-mark { color: var(--o-faint); }
:where(:root) body.obs:where(.obs-bare) .match-sign { color: var(--o-muted); letter-spacing: 0; font-size: .9375rem; }
:where(:root) body.obs:where(.obs-bare) :is(.match-sign, .also-sign, .alt-rising) .sign-glyph, :where(:root) body.obs:where(.obs-bare) .result-rising-badge .sign-glyph { color: var(--o-ice-2); }
:where(:root) body.obs:where(.obs-bare) :is(.score-ring-bg, .score-circle-bg) { stroke: var(--o-line); }
:where(:root) body.obs:where(.obs-bare) :is(.score-ring-fill, .score-circle-fill) { stroke: var(--o-ice); }
:where(:root) body.obs:where(.obs-bare) :is(.score-num, .score-number) {
  font-family: var(--o-serif); font-weight: 400; color: var(--o-ivory); font-variant-numeric: lining-nums tabular-nums;
}
:where(:root) body.obs:where(.obs-bare) :is(.score-pct, .score-number .pct) { color: var(--o-muted); font-weight: 400; font-family: var(--o-sans); font-size: .9375rem; }
:where(:root) body.obs:where(.obs-bare) :is(.match-desc, .rising-desc, .score-tagline) {
  font-family: var(--o-serif); font-style: normal; font-weight: 400; font-size: 1.35rem; line-height: 1.45; color: var(--o-ivory);
}
:where(:root) body.obs:where(.obs-bare) .strongest-aspect { padding: 8px 16px; }
:where(:root) body.obs:where(.obs-bare) .strongest-aspect .planet-text { color: var(--o-ink); font-weight: 500; }
:where(:root) body.obs:where(.obs-bare) :is(.also-title, .alt-title) { font-family: var(--o-serif); font-weight: 400; color: var(--o-ivory); font-size: 1.6rem; }
:where(:root) body.obs:where(.obs-bare) .alt-subtitle { color: var(--o-muted); font-size: .875rem; }
/* the other matches and alternative times: a hairline index, not cards */
:where(:root) body.obs:where(.obs-bare) .also-grid { gap: 0; border-top: 1px solid var(--o-line-2); }
:where(:root) body.obs:where(.obs-bare) :is(.also-card, .alt-card) {
  background: transparent; border: 0; border-bottom: 1px solid var(--o-line-2); border-radius: 0; box-shadow: none; transform: none;
  min-height: 64px; padding: 12px 6px;
}
:where(:root) body.obs:where(.obs-bare) .alt-card + .alt-card { margin-top: 0; }
:where(:root) body.obs:where(.obs-bare) .alt-subtitle + .alt-card { border-top: 1px solid var(--o-line-2); }
:where(:root) body.obs:where(.obs-bare) :is(.also-card, .alt-card):hover { background: var(--o-bare-tint); border-color: var(--o-line-2); transform: none; box-shadow: none; }
:where(:root) body.obs:where(.obs-bare) :is(.also-rank, .alt-rank) { font-family: var(--o-serif); font-weight: 400; color: var(--o-faint); font-size: 1.35rem; }
:where(:root) body.obs:where(.obs-bare) .also-name { color: var(--o-ink); font-weight: 500; font-size: 1rem; }
:where(:root) body.obs:where(.obs-bare) :is(.also-sign, .alt-rising) { color: var(--o-muted); font-size: .875rem; }
:where(:root) body.obs:where(.obs-bare) :is(.also-score, .alt-score, .alt-time) { font: 600 1.0625rem var(--o-sans); color: var(--o-ink); font-variant-numeric: tabular-nums; }
:where(:root) body.obs:where(.obs-bare) .also-score .small-pct { color: var(--o-muted); font-size: .875rem; }
:where(:root) body.obs:where(.obs-bare) :is(.quiz-divider, .chem-divider) { background: var(--o-line-2); }
:where(:root) body.obs:where(.obs-bare) .chemistry-link { width: 100%; }
/* offers on the result pages are paper with the ink pill */
:where(:root) body.obs:where(.obs-bare) :is(.quiz-cta, .chem-cta) { padding: clamp(22px, 3vw, 32px); }
:where(:root) body.obs:where(.obs-bare) :is(.quiz-cta, .chem-cta) h3 { font-family: var(--o-serif); font-weight: 400; font-size: 1.6rem; }
:where(:root) body.obs:where(.obs-bare) :is(.quiz-cta, .chem-cta) p { color: #1f2533; font-size: .9375rem; }
:where(:root) body.obs:where(.obs-bare) .share-btn svg { width: 16px; height: 16px; }
/* chemistry: categories as calculated bars, the strongest link in the reading voice */
:where(:root) body.obs:where(.obs-bare) .cat-icon { color: var(--o-ice-2); }
:where(:root) body.obs:where(.obs-bare) .cat-label { color: var(--o-bare-label); font-size: .9375rem; }
:where(:root) body.obs:where(.obs-bare) :is(.cat-bar-wrap, .confidence-bar) { background: var(--o-line); }
:where(:root) body.obs:where(.obs-bare) :is(.cat-bar, .confidence-bar .fill) { background: var(--o-ice); }
:where(:root) body.obs:where(.obs-bare) .cat-value { color: var(--o-ink); font-variant-numeric: tabular-nums; }
:where(:root) body.obs:where(.obs-bare) .top-aspect {
  background: transparent; border: 0; border-left: 2px solid var(--o-lamp); border-radius: 0; box-shadow: none; text-align: left; padding: 6px 0 6px 20px;
}
:where(:root) body.obs:where(.obs-bare) .top-aspect .ta-label { color: var(--o-muted); font-size: .875rem; letter-spacing: 0; text-transform: none; }
:where(:root) body.obs:where(.obs-bare) .top-aspect .ta-text { font-family: var(--o-serif); font-style: normal; font-size: 1.35rem; line-height: 1.45; color: var(--o-ivory); }
:where(:root) body.obs:where(.obs-bare) .chem-capture { padding: clamp(22px, 3vw, 30px); }
:where(:root) body.obs:where(.obs-bare) .chem-capture h3 { font-family: var(--o-serif); font-weight: 400; color: var(--o-ivory); font-size: 1.6rem; }
:where(:root) body.obs:where(.obs-bare) .chem-capture .capture-sub { color: var(--o-muted); font-size: .9375rem; }
:where(:root) body.obs:where(.obs-bare) .chem-capture .btn-capture { width: 100%; }
/* rectification result */
:where(:root) body.obs:where(.obs-bare) .result-label { color: var(--o-muted); font: 500 .9375rem var(--o-sans); letter-spacing: 0; text-transform: none; }
:where(:root) body.obs:where(.obs-bare) .result-time {
  font-family: var(--o-serif); font-weight: 400; color: var(--o-ivory); font-variant-numeric: lining-nums tabular-nums; font-size: clamp(3rem, 2.4rem + 3vw, 4.4rem);
}
:where(:root) body.obs:where(.obs-bare) .result-margin { color: var(--o-muted); font-size: .9375rem; }
:where(:root) body.obs:where(.obs-bare) .result-rising-badge { color: var(--o-ink); font-size: 1rem; padding: 8px 18px; }
:where(:root) body.obs:where(.obs-bare) .confidence-label .label { color: var(--o-muted); }
:where(:root) body.obs:where(.obs-bare) .why-section { padding: clamp(22px, 3.4vw, 36px); }
:where(:root) body.obs:where(.obs-bare) .why-section h3 { font-size: 1.6rem; }
:where(:root) body.obs:where(.obs-bare) .why-event { background: transparent; border: 0; border-top: 1px solid var(--o-paper-rule); border-radius: 0; padding: 14px 0; }
:where(:root) body.obs:where(.obs-bare) .why-event:hover { border-color: var(--o-paper-rule); }
:where(:root) body.obs:where(.obs-bare) .why-event-type { color: var(--o-paper-ink); font: 600 .9375rem var(--o-sans); letter-spacing: 0; text-transform: none; }
:where(:root) body.obs:where(.obs-bare) .why-event-narrative { color: #1f2533; font-size: 1rem; line-height: 1.62; }
:where(:root) body.obs:where(.obs-bare) .blurred-content { opacity: .55; }
:where(:root) body.obs:where(.obs-bare) .blur-lock { background: var(--o-night-3); border: 1px solid var(--o-control); border-radius: 14px; -webkit-backdrop-filter: none; backdrop-filter: none; }
:where(:root) body.obs:where(.obs-bare) .blur-lock svg { color: var(--o-ice); }
:where(:root) body.obs:where(.obs-bare) .blur-lock span { color: var(--o-ink); font-size: .9375rem; }
:where(:root) body.obs:where(.obs-bare) .paywall-card { padding: clamp(24px, 3.4vw, 40px); }
:where(:root) body.obs:where(.obs-bare) .paywall-title { font-family: var(--o-serif); font-weight: 400; color: var(--o-paper-ink); font-size: 1.6rem; }
:where(:root) body.obs:where(.obs-bare) .paywall-features li { color: #1f2533; font-size: 1rem; }
:where(:root) body.obs:where(.obs-bare) .paywall-features li .check { color: var(--o-paper-accent); }
:where(:root) body.obs:where(.obs-bare) .paywall-price { font-family: var(--o-serif); font-weight: 400; color: var(--o-paper-ink); font-variant-numeric: lining-nums; }
:where(:root) body.obs:where(.obs-bare) :is(.paywall-price-label, .paywall-compare, .paywall-secure) { color: var(--o-paper-muted); }
:where(:root) body.obs:where(.obs-bare) .paywall-compare { font-size: .875rem; }
:where(:root) body.obs:where(.obs-bare) .paywall-compare em { color: var(--o-paper-ink); }
:where(:root) body.obs:where(.obs-bare) .paywall-secure svg { color: var(--o-paper-accent); }
:where(:root) body.obs:where(.obs-bare) .btn-unlock { width: 100%; }

/* ---------- sign-in and e-mail pages (/api/v1/auth/..., /email/unsubscribe) ---------- */
/* the sign-in error card and the expired-unsubscribe card: one form card on night, like the sign-in page */
:where(:root) body.obs:where(.obs-bare) > div.card:is(:has(> .glyph), :has(form[action$="/unsubscribe-by-email"])) {
  background: var(--o-bare-panel-light), var(--o-night-2); border: 1px solid var(--o-line-2); border-radius: 16px;
  box-shadow: var(--o-bare-panel-shadow); color: var(--o-ink);
}
:where(:root) body.obs:where(.obs-bare) > div.card > .glyph { font-size: 0; width: 30px; height: 30px; margin: 0 auto 16px; background: var(--o-bare-wordmark) center / contain no-repeat; }
:where(:root) body.obs:where(.obs-bare) > div.card:is(:has(> .glyph), :has(form[action$="/unsubscribe-by-email"])) h1 {
  font-family: var(--o-serif); font-weight: 400; color: var(--o-ivory); font-size: clamp(1.75rem, 1.5rem + 1vw, 2.2rem); line-height: 1.15; letter-spacing: 0;
}
:where(:root) body.obs:where(.obs-bare) > div.card:is(:has(> .glyph), :has(form[action$="/unsubscribe-by-email"])) p { color: var(--o-muted); font-size: 1rem; }
:where(:root) body.obs:where(.obs-bare) > div.card :is(.btn, button[type="submit"]) {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--o-ice); color: var(--o-on-ice); font: 600 1rem/1.3 var(--o-sans); box-shadow: var(--o-bare-action-shadow); transform: none;
}
:where(:root) body.obs:where(.obs-bare) > div.card :is(.btn, button[type="submit"]):hover { background: var(--o-ice-2); transform: none; box-shadow: var(--o-bare-action-shadow); }
:where(:root) body.obs:where(.obs-bare) > div.card button[type="submit"] { width: 100%; }
:where(:root) body.obs:where(.obs-bare) > div.card .alt { color: var(--o-faint); font-size: .875rem; }
:where(:root) body.obs:where(.obs-bare) > div.card .alt a { color: var(--o-ice); display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: .22em; }
/* the unsubscribe confirmation (written entirely in inline styles) */
:where(:root) body.obs:where(.obs-bare)[style] {
  background: radial-gradient(1100px 620px at 82% -12%, var(--o-bare-tint), transparent 62%) 0 0 / 100% 100vh no-repeat, var(--o-night) !important;
  color: var(--o-ink) !important;
}
:where(:root) body.obs:where(.obs-bare)[style] > div[style] > div[style]:first-child {
  display: inline-flex; align-items: center; gap: 12px; color: var(--o-ink) !important; font: 600 .8rem/1 var(--o-sans-header) !important;
  letter-spacing: .16em !important; margin-bottom: 22px !important;
}
:where(:root) body.obs:where(.obs-bare)[style] > div[style] > div[style]:first-child::before { content: ""; width: 26px; height: 26px; background: var(--o-bare-wordmark) center / contain no-repeat; }
:where(:root) body.obs:where(.obs-bare)[style] > div[style] > p[style] { font: 400 1.6rem/1.3 var(--o-serif) !important; color: var(--o-ivory) !important; margin-bottom: 22px !important; }
:where(:root) body.obs:where(.obs-bare)[style] > div[style] > p[style*="#fb7185"] {
  color: var(--o-error) !important; background: var(--o-bare-err-bg); border: 1px solid var(--o-bare-err-line); border-radius: 10px;
  padding: 12px 16px; font: 500 1rem/1.5 var(--o-sans) !important;
}
:where(:root) body.obs:where(.obs-bare)[style] > div[style] > a[style] {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--o-ice) !important; font-size: .9375rem !important;
}

/* ---------- plain documents: horoscope unavailable (503), sign-in hand-offs, "no results" ---------- */
:where(:root) body.obs:where(.obs-bare) > main:not([class]):not([id]) { padding-block: clamp(16px, 6vh, 64px); }
:where(:root) body.obs:where(.obs-bare) > main:not([class]):not([id]) > h1 {
  font-family: var(--o-serif); font-weight: 400; color: var(--o-ivory); font-size: clamp(2.2rem, 1.7rem + 2.2vw, 3rem); line-height: 1.1; text-wrap: balance;
}
:where(:root) body.obs:where(.obs-bare) > main:not([class]):not([id]) > p { color: var(--o-muted); font-size: 1.0625rem; line-height: 1.62; }
:where(:root) body.obs:where(.obs-bare) > main:not([class]):not([id]) > a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px;
  border: 1px solid var(--o-control); color: var(--o-ink); font: 500 .9375rem var(--o-sans); text-decoration: none;
}
:where(:root) body.obs:where(.obs-bare) > main:not([class]):not([id]) > a:first-of-type { border-color: var(--o-ice); background: var(--o-ice); color: var(--o-on-ice); font-weight: 600; box-shadow: var(--o-bare-action-shadow); }
:where(:root) body.obs:where(.obs-bare) > main:not([class]):not([id]) > a:not(:first-of-type):hover { border-color: var(--o-ice); background: var(--o-bare-tint); }
:where(:root) body.obs:where(.obs-bare) > main:not([class]):not([id]) > a:first-of-type:hover { background: var(--o-ice-2); }
:where(:root) body.obs:where(.obs-bare) > p:not([class]):only-of-type, :where(:root) body.obs:where(.obs-bare) > noscript > p { max-width: 40rem; margin: 3rem auto; padding: 0 1.5rem; color: var(--o-ink); font-size: 1.0625rem; line-height: 1.62; }

/* a body holding only text (a router's "Not found" document): the same measure and margin as a plain paragraph */
:where(:root) body.obs:where(.obs-bare):not(:has(*)) { max-width: 40rem; margin: 3rem auto; padding: 0 1.5rem; font-size: 1.0625rem; line-height: 1.62; }

/* a router's error answer in a page of its own (observatory_ui.fragment_page, e.g. a 503 while timing data is
   unavailable): its words, centred on the field */
:where(:root) body.obs:where(.obs-bare) .error-fragment { box-sizing: border-box; min-height: 70vh; display: grid; place-content: center; gap: 12px;
  max-width: 40rem; margin: 0 auto; padding: 48px 24px; text-align: center; color: var(--o-ink-2); font: 400 1.125rem/1.6 var(--o-sans); }
:where(:root) body.obs:where(.obs-bare) .error-fragment h1 { margin: 0; font: 400 clamp(2rem, 1.6rem + 1.8vw, 2.8rem)/1.12 var(--o-serif); color: var(--o-ivory); }

/* ---------- error pages (404, and 500 through error_page_html) ---------- */
:where(:root) body.obs:where(.obs-bare) .logo-link { top: 14px; left: clamp(16px, 3vw, 32px); }
:where(:root) body.obs:where(.obs-bare) .error-code {
  font-family: var(--o-serif); font-weight: 400; background: none; -webkit-background-clip: border-box; background-clip: border-box;
  -webkit-text-fill-color: currentColor; color: var(--o-faint); font-variant-numeric: lining-nums; letter-spacing: .02em;
  font-size: clamp(5.5rem, 4rem + 8vw, 9rem);
}
:where(:root) body.obs:where(.obs-bare) .error-title { font-family: var(--o-serif); font-weight: 400; color: var(--o-ivory); font-size: clamp(2rem, 1.6rem + 1.8vw, 2.8rem); line-height: 1.12; }
:where(:root) body.obs:where(.obs-bare) .error-message { color: var(--o-muted); font-size: 1.0625rem; }
:where(:root) body.obs:where(.obs-bare) .nav-links-404 { gap: 0 20px; margin-top: 20px; }
/* today's 502 page, if the app ever serves it: the same two actions as the Observatory 502 page */
:where(:root) body.obs:where(.obs-bare) .btn-group { gap: 12px; }
:where(:root) body.obs:where(.obs-bare) .btn-group .btn-retry { margin-left: 0; min-height: 50px; padding: 0 26px; }
:where(:root) body.obs:where(.obs-bare) .nav-links-404 a { display: inline-flex; align-items: center; min-height: 44px; color: var(--o-muted); font-size: .9375rem; }
:where(:root) body.obs:where(.obs-bare) .nav-links-404 a:hover { color: var(--o-ink); text-decoration: underline; text-underline-offset: .3em; }

/* ---------- small screens ---------- */
@media (max-width: 600px) {
  :where(:root) body.obs:where(.obs-bare) #card { padding: 32px 22px; }
  :where(:root) body.obs:where(.obs-bare) #card .steps { padding: 18px 18px 18px 16px; }
  :where(:root) body.obs:where(.obs-bare) :is(.quiz-card, .chem-card, .form-card) { padding: 24px 18px; }
  :where(:root) body.obs:where(.obs-bare) .listicle { margin: 12px; }
  :where(:root) body.obs:where(.obs-bare) .lp-form-card { padding: 24px 18px; }
  :where(:root) body.obs:where(.obs-bare) .logo-link { position: static; margin-bottom: 24px; }
}
@media (max-width: 900px) {
  /* the theme toggle is fixed top right: the shared chart's card starts below it */
  :where(:root) body.obs:where(.obs-bare) #main-content:has(> #chart-card) { padding-top: 76px; }
}
@media (max-width: 400px) {
  :where(:root) body.obs:where(.obs-bare) #card { padding: 28px 18px; }
  :where(:root) body.obs:where(.obs-bare) #chart-card { padding: 20px 12px; }
  :where(:root) body.obs:where(.obs-bare) .result-container { padding-inline: 14px; }
}

/* ---------- daylight ---------- */
:where(:root[data-theme="light"]) body.obs:where(.obs-bare) {
  background: radial-gradient(1100px 620px at 82% -12%, rgba(29, 75, 128, .07), transparent 62%) 0 0 / 100% 100vh no-repeat, var(--o-night);
  color-scheme: light;
  --o-bare-label: #24364f;
  --o-bare-tint: rgba(29, 75, 128, .07);
  --o-bare-tint-2: rgba(29, 75, 128, .14);
  --o-bare-ice-line: rgba(29, 75, 128, .45);
  --o-bare-panel-light: radial-gradient(70% 60% at 100% 0%, rgba(29, 75, 128, .05), transparent 70%);
  --o-bare-panel-shadow: 0 18px 40px -24px rgba(18, 24, 38, .28);
  --o-bare-menu-shadow: 0 18px 40px -20px rgba(18, 24, 38, .32);
  --o-bare-action-shadow: 0 10px 24px -14px rgba(29, 75, 128, .55);
  --o-bare-err-bg: rgba(179, 38, 30, .07);
  --o-bare-err-line: #b3261e;
  --o-bare-ok-bg: rgba(29, 75, 128, .07);
  --o-bare-ok-line: rgba(29, 75, 128, .45);
  --o-bare-lamp-line: rgba(138, 90, 16, .4);
  --o-bare-overlay: rgba(238, 242, 247, .95);
  --o-bare-bar: rgba(255, 255, 255, .97);
  --o-bare-paper-shadow: 0 0 0 1px #d8cebb, 0 18px 40px -24px rgba(18, 24, 38, .28);
  --o-bare-wordmark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26' fill='none' stroke='%231d4b80' stroke-width='1'%3E%3Ccircle cx='13' cy='13' r='8'/%3E%3Cellipse cx='13' cy='13' rx='12.2' ry='4.4' transform='rotate(-36 13 13)'/%3E%3C/svg%3E");
  --o-bare-toggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23163d69' stroke-width='1.3' stroke-linejoin='round'%3E%3Cpath d='M19.5 14.6A8 8 0 0 1 9.4 4.5a8 8 0 1 0 10.1 10.1z'/%3E%3C/svg%3E");
  --o-bare-g-sun: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23163d69' stroke-width='1.2'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Ccircle cx='12' cy='12' r='1.6' fill='%23163d69'/%3E%3C/svg%3E");
  --o-bare-g-wheel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23163d69' stroke-width='1.2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5.5'/%3E%3Cpath d='M12 3v3.5M12 17.5V21M3 12h3.5M17.5 12H21'/%3E%3C/svg%3E");
  --o-bare-g-page: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23163d69' stroke-width='1.2' stroke-linejoin='round'%3E%3Cpath d='M6 3h8.5L19 7.5V21H6z'/%3E%3Cpath d='M14.5 3v4.5H19M9 12h7M9 15.5h7'/%3E%3C/svg%3E");
}
