:root {
  --tga-ground: #0c1113;
  --tga-ground-2: #101719;
  --tga-card: linear-gradient(135deg, #1b2328, #11181b);
  --tga-card-flat: #151d21;
  --tga-line: #b79c694d;
  --tga-line-soft: #a38f6333;
  --tga-ink: #ece3cf;
  --tga-heading: #fff1da;
  --tga-gold: #e3c59a;
  --tga-gold-deep: #d5b984;
  --tga-muted: #bfb9ae;
  --tga-button: #e5c797;
  --tga-button-edge: #e6c28e;
  --tga-button-ink: #201c18;
  --tga-button-hover: #f2dcb8;
  --tga-focus: #f5d492;
  --tga-plate-gold: url(/ui-art/plate-gold.webp) 56 71 fill / 224px 284px / 0 stretch;
  --tga-plate-ink: url(/ui-art/plate-ink.webp) 56 71 fill / 224px 284px / 0 stretch;
  --tga-plate-side: 16px;
  --tga-medallion: url(/ui-art/medallion.webp);
  --tga-card-frame: url(/ui-art/frame-star.webp) 72 / 34px / 0 stretch;
  --reading-surface: #101719;
  --reading-raised: #151d21;
  --reading-border: #b79c694d;
  --reading-action: #e5c797;
  --tool-card-wood-light: #1b2328;
  --tool-card-wood-mid: #141c20;
  --tool-card-wood-dark: #0c1113;
}
html:not(#tga-theme),
html:not(#tga-theme) body,
html:not(#tga-theme) #root,
html:not(#tga-theme) :is(.landing-shell, .reading-funnel, .account-design, .trial-page) { background-color: var(--tga-ground); }
html:not(#tga-theme) body::before { background: var(--tga-ground); }
html:not(#tga-theme) .account-design { background-image: none; }
html:not(#tga-theme) :is(.site-header, .site-home-header) { background: rgba(12, 17, 19, .95); border-bottom: 1px solid var(--tga-line-soft); }
html:not(#tga-theme) .reading-navigation__links { background: var(--tga-ground-2); }
html:not(#tga-theme) .site-footer { background: var(--tga-ground-2); border-top-color: var(--tga-line-soft); }
html:not(#tga-theme) .site-footer::before { background: var(--tga-ground-2); }
html:not(#tga-theme) main.container .hero,
html:not(#tga-theme) main.container :is(.dictionary-card, .insight-card, .term-card, .feature, .editorial-figure, .reference-list),
html:not(#tga-theme) main.container .section-note:is(nav),
html:not(#tga-theme) :is(.knowledge-panel, .read-more-tool, .landing-tool-door, .conversion-funnel__inner, .lecture-hall__framing, .instrument-app, .pricing-card, .next-step-banner, .trial-corpus__explore, .micro-form, .oracle-invitation),
html:not(#tga-theme) .landing-shell .sacred-pattern-octagram,
html:not(#tga-theme) .account-design .gold-foil-border {
  background: var(--tga-card);
  border-color: var(--tga-line);
}
html:not(#tga-theme) main.container .hero-art:has(img[src^='/hero-art/']) { background: var(--tga-card-flat); border-color: var(--tga-line); }
html:not(#tga-theme) main.container .hero.epic-hero { background: var(--tga-ground-2); }
html:not(#tga-theme) .lecture-catalogue li { background: rgba(21, 29, 33, .6); }
html:not(#tga-theme) .micro-intake article,
html:not(#tga-theme) .reading-funnel article:not([class]):not(:is(.micro-read__body, .reading-foundations, .reading-number-map) article) { background: rgba(21, 29, 33, .6); }
html:not(#tga-theme) main.container :is(.answer-box:not(.dictionary-search), #direct-answer + p, .section-note:not(nav), .section-note-inline),
html:not(#tga-theme) :is(.journey-guide, .micro-guide__example) {
  background: var(--tga-card);
  color: var(--tga-ink);
  border: 1px solid var(--tga-line);
  border-left: 3px solid var(--tga-gold-deep);
  box-shadow: none;
}
html:not(#tga-theme) main.container :is(.answer-box:not(.dictionary-search), #direct-answer + p, .section-note:not(nav), .section-note-inline) :is(p, li, span, small),
html:not(#tga-theme) :is(.journey-guide, .micro-guide__example) :is(p, li, span, small) { color: var(--tga-ink); }
html:not(#tga-theme) main.container :is(.answer-box:not(.dictionary-search), #direct-answer + p, .section-note:not(nav), .section-note-inline) :is(strong, em, h2, h3, h4),
html:not(#tga-theme) :is(.journey-guide, .micro-guide__example) :is(strong, em, h2, h3, h4) { color: var(--tga-heading); }
html:not(#tga-theme) main.container :is(.answer-box:not(.dictionary-search), #direct-answer + p, .section-note:not(nav), .section-note-inline) a,
html:not(#tga-theme) :is(.journey-guide, .micro-guide__example) a { color: var(--tga-gold); }
html:not(#tga-theme) :is(.tga-native__card, .tga-native__natal-key, .tga-native__natal-entry, .tga-native__pattern, .tga-native__tool-guide, .tga-native__aeolian-focus) { background: var(--tga-card); border-color: var(--tga-line); }
html:not(#tga-theme) :is(.tga-native__natal-tabs, .tga-native__suggestions) { background: var(--tga-ground-2); }
html:not(#tga-theme) .tga-native__sky-globe { background: var(--tga-ground); }
html:not(#tga-theme) .tga-native__message--user { background: #1f2a30; }
html:not(#tga-theme) .tga-native__message--oracle { background: var(--tga-ground-2); }
html:not(#tga-theme) .tga-native__natal-meter-fill { background: linear-gradient(90deg, #a88a57, var(--tga-button)); }
html:not(#tga-theme) :is(
  .cta:not(.cta--quiet):not(.cta-ghost), .site-cta, .conversion-funnel__primary,
  .house-book__door, .fellowship-call__form button, .tool-panel button, .school-call__form button,
  .micro-form__go, .micro-film__cta, .oracle-invitation__primary, .trial-sticky__cta,
  .tga-native__link:not(.tga-native__link--quiet), .tga-native__button:not(.tga-native__voice-button),
  .btn-primary, .reading-cta, .cta-foil, button.bg-\[\#b39b6e\], a.bg-\[\#b39b6e\],
  .trial-button, .trial-close__cta, .trial-popup__cta, .tga-tour__primary, .chart-guide button.chart-guide__primary, .reading-navigation__trial,
  .member-home__primary, .oracle-chapter__door,
  .page-lore__cta, .lore-reel__controls .lore-reel__play, .road-button:not(.road-button--quiet)
) {
  background: var(--tga-button);
  background-image: none;
  border: 1px solid var(--tga-button-edge);
  border-inline-width: var(--tga-plate-side);
  border-radius: 999px;
  border-image: var(--tga-plate-gold);
  color: var(--tga-button-ink);
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  text-shadow: none;
  box-shadow: none;
  filter: none;
}
html:not(#tga-theme) :is(
  .cta:not(.cta--quiet):not(.cta-ghost), .site-cta, .conversion-funnel__primary,
  .house-book__door, .fellowship-call__form button, .tool-panel button, .school-call__form button,
  .micro-form__go, .micro-film__cta, .oracle-invitation__primary, .trial-sticky__cta,
  .tga-native__link:not(.tga-native__link--quiet), .tga-native__button:not(.tga-native__voice-button),
  .btn-primary, .reading-cta, .cta-foil, button.bg-\[\#b39b6e\], a.bg-\[\#b39b6e\],
  .trial-button, .trial-close__cta, .trial-popup__cta, .tga-tour__primary, .chart-guide button.chart-guide__primary, .reading-navigation__trial,
  .member-home__primary, .oracle-chapter__door,
  .page-lore__cta, .lore-reel__controls .lore-reel__play, .road-button:not(.road-button--quiet)
):hover { background: var(--tga-button-hover); box-shadow: 0 4px 28px #d7af6740; filter: brightness(1.07) saturate(1.05); }
html:not(#tga-theme) :is(
  .cta:not(.cta--quiet):not(.cta-ghost), .site-cta, .conversion-funnel__primary,
  .house-book__door, .fellowship-call__form button, .tool-panel button, .school-call__form button,
  .micro-form__go, .micro-film__cta, .oracle-invitation__primary, .trial-sticky__cta,
  .tga-native__link:not(.tga-native__link--quiet), .tga-native__button:not(.tga-native__voice-button),
  .btn-primary, .reading-cta, .cta-foil, button.bg-\[\#b39b6e\], a.bg-\[\#b39b6e\],
  .trial-button, .trial-close__cta, .trial-popup__cta, .tga-tour__primary, .chart-guide button.chart-guide__primary, .reading-navigation__trial,
  .member-home__primary, .oracle-chapter__door,
  .page-lore__cta, .lore-reel__controls .lore-reel__play, .road-button:not(.road-button--quiet)
):active { filter: brightness(0.95); }
html:not(#tga-theme) :is(.member-signature__open, .legal-next a, .legal-switch button, .cta-features a, .tool-quick-start a, .figure-lore__open) { padding-inline: 14px; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; }
html:not(#tga-theme) :is(.cta:not(.cta--quiet):not(.cta-ghost), .site-cta, .house-book__door, .fellowship-call__form button, .tool-panel button, .school-call__form button, .tga-native__link:not(.tga-native__link--quiet), .tga-native__button:not(.tga-native__voice-button), .btn-primary, .reading-cta, .cta-foil, button.bg-\[\#b39b6e\], a.bg-\[\#b39b6e\])::before { content: none; }
html:not(#tga-theme) :is(.cta:not(.cta--quiet):not(.cta-ghost), .site-cta, .tga-native__link:not(.tga-native__link--quiet), .tga-native__button:not(.tga-native__voice-button), .btn-primary, .reading-cta, .cta-foil) * { color: inherit; }
html:not(#tga-theme) :is(a, button, summary, input, select, textarea):focus-visible { outline: 2px solid var(--tga-focus); outline-offset: 4px; }
html:not(#tga-theme) :is(.tga-native__link:not(.tga-native__link--quiet), .tga-native__button:not(.tga-native__voice-button)) { color: var(--tga-button-ink) !important; -webkit-text-fill-color: currentColor; }
html:not(#tga-theme) :is(
  .cta-ghost, .cta--quiet, .site-login-link, .site-menu summary, .codex-tile__cta, .utility-tool button,
  .btn-secondary, .tga-native__link--quiet, .page-lore__start, .reading-navigation summary,
  .page-lore__play, .page-lore__full, .page-lore__switches button, .lore-reel__controls button:not(.lore-reel__play, .lore-reel__prev, .lore-reel__next), .lore-reel__choice,
  .road-button--quiet,
  .chart-guide :where(.chart-guide__controls, .chart-guide__step-actions) button:not(.chart-guide__primary),
  .tga-tour__actions button:not(.tga-tour__primary, .tga-tour__skip),
  .member-signature__open, .legal-next a, .legal-switch button, .cta-features a, .tool-quick-start a, .figure-lore__open
) {
  background: var(--tga-card-flat);
  background-image: none;
  border: 1px solid var(--tga-line);
  border-inline-width: var(--tga-plate-side);
  border-radius: 999px;
  border-image: var(--tga-plate-ink);
  color: var(--tga-heading);
  text-shadow: none;
  box-shadow: none;
}
html:not(#tga-theme) :is(
  .cta-ghost, .cta--quiet, .site-login-link, .site-menu summary, .codex-tile__cta, .utility-tool button,
  .btn-secondary, .tga-native__link--quiet, .page-lore__start, .reading-navigation summary,
  .page-lore__play, .page-lore__full, .page-lore__switches button, .lore-reel__controls button:not(.lore-reel__play, .lore-reel__prev, .lore-reel__next), .lore-reel__choice,
  .road-button--quiet,
  .chart-guide :where(.chart-guide__controls, .chart-guide__step-actions) button:not(.chart-guide__primary),
  .tga-tour__actions button:not(.tga-tour__primary, .tga-tour__skip),
  .member-signature__open, .legal-next a, .legal-switch button, .cta-features a, .tool-quick-start a, .figure-lore__open
):hover { color: #fff8ea; filter: brightness(1.2); }
html:not(#tga-theme) :is(
  .cta-ghost, .cta--quiet, .site-login-link, .site-menu summary, .codex-tile__cta, .utility-tool button,
  .btn-secondary, .tga-native__link--quiet, .page-lore__start, .reading-navigation summary,
  .page-lore__play, .page-lore__full, .page-lore__switches button, .lore-reel__controls button:not(.lore-reel__play, .lore-reel__prev, .lore-reel__next), .lore-reel__choice,
  .road-button--quiet,
  .chart-guide :where(.chart-guide__controls, .chart-guide__step-actions) button:not(.chart-guide__primary),
  .tga-tour__actions button:not(.tga-tour__primary, .tga-tour__skip),
  .member-signature__open, .legal-next a, .legal-switch button, .cta-features a, .tool-quick-start a, .figure-lore__open
):active { filter: brightness(0.95); }
html:not(#tga-theme) :is(.footer-socials a, .btn-icon, .trial-sticky .trial-sticky__control, .page-lore__prev, .page-lore__next, .lore-reel__prev, .lore-reel__next, .film-pause, .funnel-audio--compact button, .oracle-direct__send) {
  border-color: transparent;
  border-radius: 50%;
  background: var(--tga-ground) var(--tga-medallion) center / 100% 100% no-repeat;
  box-shadow: none;
}
html:not(#tga-theme) :is(.footer-socials a, .btn-icon, .trial-sticky .trial-sticky__control, .page-lore__prev, .page-lore__next, .lore-reel__prev, .lore-reel__next, .film-pause, .funnel-audio--compact button, .oracle-direct__send):hover { filter: brightness(1.2); }
html:not(#tga-theme) :is(.page-lore__prev, .page-lore__next, .lore-reel__prev, .lore-reel__next) { width: 44px; padding: 0; }
html:not(#tga-theme) .page-lore__switches button[aria-pressed=false] { filter: grayscale(0.5) brightness(0.8); }
html:not(#tga-theme) :is(.trial-placement-picker, .trial-oracle-topics, .road-filter, .oracle-plan-cycle, .codex-editions, .codex-parts) button { background: var(--tga-card-flat); border: 1px solid var(--tga-line); border-inline-width: var(--tga-plate-side); border-radius: 999px; border-image: var(--tga-plate-ink); color: var(--tga-heading); }
html:not(#tga-theme) :is(.trial-placement-picker, .trial-oracle-topics, .road-filter, .oracle-plan-cycle, .codex-editions, .codex-parts) button:is([aria-pressed=true], [aria-current=true]) { background: var(--tga-button); border-color: var(--tga-button-edge); border-image: var(--tga-plate-gold); color: var(--tga-button-ink); }
html:not(#tga-theme) :is(.trial-placement-picker, .trial-oracle-topics, .road-filter, .oracle-plan-cycle, .codex-editions, .codex-parts) button:hover { filter: brightness(1.12); }
@media (max-width: 768px) {
  html:not(#tga-theme) .site-header .site-menu > summary { width: 44px; min-width: 44px; height: 44px; padding: 0; border: 0; border-image: none; border-radius: 50%; background: var(--tga-ground) var(--tga-medallion) center / 100% 100% no-repeat; font-size: 0; letter-spacing: 0; }
  html:not(#tga-theme) .site-header .site-menu > summary::before { content: '\2630'; font: 400 17px/1 system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--tga-gold); }
  html:not(#tga-theme) .site-header .site-menu[open] > summary::before { content: '\2715'; font-size: 15px; }
  html:not(#tga-theme) .reading-navigation .reading-navigation__end summary { width: 44px; min-width: 44px; height: 44px; padding: 0; border: 0; border-image: none; border-radius: 50%; background: var(--tga-ground) var(--tga-medallion) center / 100% 100% no-repeat; }
  html:not(#tga-theme) .reading-navigation__menu-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  html:not(#tga-theme) .reading-navigation summary > [aria-hidden] { font: 400 17px/1 system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--tga-gold); }
  html:not(#tga-theme) .reading-navigation details[open] > summary > [aria-hidden] { font-size: 0; }
  html:not(#tga-theme) .reading-navigation details[open] > summary > [aria-hidden]::before { content: '\2715'; font-size: 15px; }
}
html:not(#tga-theme) :is(.trial-choice, .micro-choose__door, .next-step-banner__readings a, .conversion-funnel__continuation) { border-image: var(--tga-card-frame); }
html:not(#tga-theme) .next-step-banner__readings a { border-image-width: 24px; }
html:not(#tga-theme) .conversion-funnel__continuation { padding-inline: 2.2rem; }
html:not(#tga-theme) main.container > .grid > a { display: flex; align-items: center; justify-content: space-between; gap: .6rem; font: 500 1.05rem/1.3 'Cormorant Garamond', Georgia, serif; letter-spacing: 0; text-transform: none; color: var(--tga-ink); }
html:not(#tga-theme) main.container > .grid > a::after { content: '\2192'; flex: none; font: 400 .95rem/1 system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--tga-gold); }
html:not(#tga-theme) main.container > .grid > a:hover { color: var(--tga-heading); }
@media (forced-colors: active) {
  :root { --tga-plate-gold: none; --tga-plate-ink: none; --tga-plate-side: 1px; --tga-medallion: none; --tga-card-frame: none; }
}
:root { --tga-frame: 1200px; --tga-measure: 880px; }
html:not(#tga-theme):not([data-oracle-embed]) main.container { box-sizing: border-box; width: 100%; max-width: calc(var(--tga-frame) + 2 * var(--container-pad, 24px)); margin-left: auto; margin-right: auto; }
html:not(#tga-theme):not([data-oracle-embed]) main.container > * { box-sizing: border-box; max-width: var(--tga-frame); margin-left: auto; margin-right: auto; }
html:not(#tga-theme):not([data-oracle-embed]) main.container > :is(.next-step-banner, .hero, .hero.with-art, section, figure, nav.letter-rail, .term-grid, .insight-grid, .feature-list, .table-scroll, .table-wrap, .grid, .faq-list, .pricing-ground, .dictionary-grid, .dictionary-index, .read-more-grid, .horoscope-live) { width: 100%; transform: none; }
html:not(#tga-theme):not([data-oracle-embed]) main.container > :is(p, h2, h3, h4, ul, ol, blockquote, dl, .answer-box, .section-note, .section-note-inline, .trial-band, .chapter-lead, .cta-box, .article-contents) { width: 100%; max-width: var(--tga-measure); }
