
@layer baron-legacy {
/* Decorative cabinet artwork stays separate from calculated charts and numbers. */
body.astrology-page,
body.numerology-page {
  background: #031318;
  --discipline-gold: #edbd69;
}
body.astrology-page::before,
body.astrology-page::after,
body.numerology-page::before,
body.numerology-page::after { display: none; }

.discipline-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: #031318;
}
.discipline-atmosphere img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .86;
}
.discipline-atmosphere::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 12%, #03131830 30%, #03131880 50%, #03131830 70%, transparent 88%),
    linear-gradient(180deg, #03131815, #03131820 50%, #031318b8);
}
body.astrology-page .astro-main,
body.numerology-page .numero-main { padding-top: 58px; }
body.astrology-page h1,
body.numerology-page h1 { text-shadow: 0 3px 24px #000c; }
body.astrology-page .astro-lead,
body.numerology-page #numero-setup > p { text-shadow: 0 2px 10px #031318; }

body.astrology-page .astro-panel,
body.numerology-page .numero-form {
  border: 1px solid #d2a55990;
  border-radius: 4px;
  background: linear-gradient(145deg, #0b2a30f5, #06191ef7);
  box-shadow: inset 0 0 0 5px #edbd690b, 0 18px 55px #0005;
}
body.numerology-page .numero-form {
  background: linear-gradient(145deg, #301b2bf5, #0c2026f7);
}
body.astrology-page .astro-mode,
body.numerology-page .consultation-option {
  background: #071f26f2;
  border-color: #be985668;
  box-shadow: 0 8px 28px #0003;
}
body.astrology-page .astro-mode[aria-pressed=true],
body.numerology-page .consultation-option[aria-pressed=true] {
  background: linear-gradient(130deg, #572938f2, #153238f5);
  border-color: #edbd69;
  box-shadow: inset 0 3px #edbd69, 0 8px 30px #8e344221;
}
body.astrology-page .sky-figure {
  background: #072128eb;
  border: 1px solid #d2a55980;
  padding: 22px;
  border-radius: 4px;
  box-shadow: inset 0 0 0 5px #edbd690b;
}
body.numerology-page .number-entry,
body.numerology-page .chapter-fact,
body.numerology-page .chapter-example {
  background: linear-gradient(145deg, #261d2cf2, #0a252bf5);
  border-color: #cba15a80;
}
body.astrology-page .reading-lead,
body.numerology-page .numero-method {
  background: #061b21ed;
  padding: 24px;
  border: 1px solid #cba15a60;
  border-radius: 4px;
}

@media (min-width: 1800px) {
  .discipline-atmosphere img { object-fit: contain; }
}
@media (max-width: 720px) {
  .discipline-atmosphere img {
    /* Keep the engraved circles visible above the controls on narrow screens. */
    height: 560px;
    object-fit: cover;
    object-position: right top;
    opacity: .58;
  }
  .discipline-atmosphere::after {
    background: linear-gradient(180deg, #03131820, #03131885 330px, #031318 570px);
  }
  body.astrology-page .astro-main,
  body.numerology-page .numero-main { padding-top: 38px; }
  body.astrology-page .sky-figure { padding: 12px; }
  body.astrology-page .reading-lead,
  body.numerology-page .numero-method { padding: 20px; }
}
@media print {
  .discipline-atmosphere { display: none; }
}

/* Keep the numerology title in the content flow beneath the cabinet header. */
body.numerology-page #numero-setup > h1{position:static;transform:none;margin:12px 0 20px;max-width:100%;font-size:clamp(2.5rem,6vw,4.25rem);line-height:1.12;overflow-wrap:normal;text-align:left}body.numerology-page #numero-setup > h1 em{display:inline}body.numerology-page .numero-main{padding-top:clamp(28px,4vw,58px)}

}
