:root {
  --navy-950: #04101f;
  --navy-900: #071729;
  --navy-850: #0b1c30;
  --slate: #273548;
  --slate-light: #344256;
  --gold: #f1ba3f;
  --gold-light: #ffd96f;
  --ivory: #f6e8c8;
  --muted: #9ca7b6;
  --line: rgba(241, 186, 63, .64);
  --radius: 5px;
}

* { box-sizing: border-box; }

html { color-scheme: dark; scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ivory);
  background: radial-gradient(circle at 50% 18%, #0d2945 0, var(--navy-950) 42%, #020a14 100%);
  font-family: Inter, system-ui, sans-serif;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; }

.starfield {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .42;
  background-image:
    radial-gradient(circle at 8% 13%, var(--gold-light) 0 1px, transparent 1.8px),
    radial-gradient(circle at 84% 20%, var(--gold-light) 0 1px, transparent 1.8px),
    radial-gradient(circle at 23% 46%, #fff 0 .7px, transparent 1.3px),
    radial-gradient(circle at 72% 62%, var(--gold) 0 .8px, transparent 1.5px);
  background-size: 210px 240px, 310px 280px, 170px 220px, 260px 310px;
}

.app-shell {
  position: relative;
  width: min(100%, 480px);
  margin: 0 auto;
  padding: 12px 14px 32px;
}

.site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  padding: 9px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 5px;
  background: rgba(7, 23, 41, .86);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  backdrop-filter: blur(14px);
}

.site-header--home {
  min-height: 0;
  padding: 0;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  border: 1px solid rgb(8, 24, 42);
  border-radius: 0;
  background: rgb(2, 16, 31);
  box-shadow: none;
  backdrop-filter: none;
  --header-control-height: 38px;
}

.site-header--home .brand-lockup {
  display: block;
  width: auto;
  height: clamp(38px, 10.6vw, 46px);
  max-width: min(74vw, 312px);
}

.site-header--home .more-button {
  min-height: var(--header-control-height);
  height: var(--header-control-height);
  padding: 0 10px;
  font-size: 10px;
}

.site-header:not(.site-header--home) {
  grid-template-columns: minmax(0, 1fr) auto auto;
  --header-control-height: 42px;
}

.site-header:not(.site-header--home) .more-button {
  min-height: var(--header-control-height);
  height: var(--header-control-height);
}

.aurora-locale-pill-form {
  margin: 0;
  min-width: 0;
  align-self: center;
}

.site-header .aurora-header-locale {
  grid-template-columns: repeat(2, minmax(42px, 1fr));
  min-width: 96px;
  height: var(--header-control-height);
  min-height: var(--header-control-height);
  max-height: var(--header-control-height);
  padding: 2px;
  margin: 0;
  align-self: center;
}

.site-header .aurora-header-locale label {
  position: relative;
  display: flex;
  min-height: 0;
  height: 100%;
}

.site-header .aurora-header-locale label > span {
  flex: 1;
  width: 100%;
  min-height: 0;
  height: 100%;
  padding: 0 6px;
  font-size: 10px;
  line-height: 1;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  color: var(--ivory);
  text-decoration: none;
}

.brand-lockup {
  display: block;
  width: clamp(190px, 57vw, 250px);
  max-width: 100%;
  height: auto;
}

.site-header button, .period-selector button {
  min-height: 42px;
  border: 1px solid var(--gold);
  border-radius: 5px;
  background: rgba(8, 24, 42, .8);
  color: var(--ivory);
  cursor: pointer;
}

.language-button { min-width: 52px; padding: 0 8px; }
.more-button { padding: 0 12px; font-size: 11px; line-height: 1; white-space: nowrap; }
.more-button span { color: var(--gold); letter-spacing: 2px; }

h1 {
  margin: 17px 0 14px;
  text-align: center;
  color: var(--ivory);
  font: 700 clamp(28px, 7.7vw, 38px)/1 "Cormorant Garamond", serif;
  letter-spacing: -.025em;
  white-space: nowrap;
}

.period-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 4px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(7, 22, 39, .9);
}

.period-selector label,
.period-selector .aurora-period-option {
  position: relative;
  display: flex;
  min-width: 0;
  cursor: pointer;
}

.period-selector .aurora-period-option {
  text-decoration: none;
  color: inherit;
}

.period-selector input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.period-selector label > span,
.period-selector .aurora-period-option > span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 48px;
  border-radius: 5px;
  color: #bbc2cc;
  font-weight: 600;
}

.period-selector input:checked + span,
.period-selector .aurora-period-option.is-active > span {
  color: #101218;
  background: linear-gradient(135deg, var(--gold-light), #eab12f);
  box-shadow: 0 4px 18px rgba(241, 186, 63, .24);
}

.period-selector .language-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  align-self: stretch;
  min-height: 0;
  margin-left: 3px;
  border-color: rgba(241,186,63,.45);
  font-size: 13px;
  line-height: 1;
}

.language-code, .language-arrow { display: inline; min-height: 0; }
.language-arrow { position: relative; top: -1px; color: var(--gold-light); font-size: 14px; }

.motto {
  margin: 0;
  padding: .9em 1ch;
  text-align: center;
  font: 600 clamp(22px, 6.4vw, 30px)/1.08 "Cormorant Garamond", serif;
}

.daily-reading > .motto {
  margin: 17px 0 14px;
  padding: 0 1ch;
  color: var(--ivory);
  font: 700 clamp(24px, 6.8vw, 32px)/1.08 "Cormorant Garamond", serif;
  letter-spacing: -.025em;
}

.message-card {
  position: relative;
  padding: 18px 14px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: linear-gradient(145deg, rgba(38,53,72,.78), rgba(7,24,42,.93));
  box-shadow: inset 0 1px 12px rgba(255,255,255,.06);
}

.message-scroll {
  height: 333px;
  padding: 0 14px 34px 4px;
  overflow-y: auto;
  scrollbar-color: var(--gold) rgba(255,255,255,.1);
  scrollbar-width: thin;
  mask-image: linear-gradient(#000 72%, transparent 100%);
}

.message-scroll::-webkit-scrollbar { width: 4px; }
.message-scroll::-webkit-scrollbar-thumb { border-radius: 5px; background: var(--gold); }
.message-scroll p { margin: 0 0 16px; font-size: 18px; line-height: 1.55; }

.message-actions {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  margin-top: -18px;
}

.more-reading, .inline-personal {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.more-reading {
  border: 0;
  background: transparent;
  color: var(--gold-light);
  cursor: pointer;
}

.inline-personal {
  border: 1px solid var(--gold);
  color: #11131a;
  background: linear-gradient(135deg, var(--gold-light), #eab12f);
}

.topics h2 {
  margin: 18px 0 12px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}

.topic-grid {
  --disc: clamp(164px, 44vw, 204px);
  --col-gap: clamp(106px, 29vw, 134px);
  --row-gap: 16px;
  --cut-disc: calc(var(--disc) + 12px);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 145px 145px;
  gap: var(--row-gap) var(--col-gap);
  align-items: stretch;
}

.topic-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  padding: 10px 4px;
  border: 1px solid var(--gold);
  background: linear-gradient(145deg, var(--slate-light), #1d2b3d);
  box-shadow: inset 0 1px 9px rgba(255,255,255,.13), 0 8px 20px rgba(0,0,0,.2);
  cursor: pointer;
}

.topic-button::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: var(--cut-disc);
  height: var(--cut-disc);
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--navy-950);
  pointer-events: none;
}

.topic-button > * { position: relative; z-index: 2; }
.relationship::after, .career::after { bottom: calc(-1 * (var(--cut-disc) / 2 + var(--row-gap) / 2)); }
.money::after, .health::after { top: calc(-1 * (var(--cut-disc) / 2 + var(--row-gap) / 2)); }
.relationship::after, .money::after { right: calc(-1 * (var(--cut-disc) / 2 + var(--col-gap) / 2)); }
.career::after, .health::after { left: calc(-1 * (var(--cut-disc) / 2 + var(--col-gap) / 2)); }

.topic-button img { width: 48px; height: 48px; }
.topic-button span { font-size: 16px; }
.relationship > *, .money > * { transform: translateX(-9px); }
.career > *, .health > * { transform: translateX(9px); }
.relationship, .career, .money, .health { border-radius: 5px; }

.personal-chart {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: var(--disc);
  height: var(--disc);
  overflow: hidden;
  transform: translate(-50%, -50%);
  border: 3px solid var(--gold);
  border-radius: 50%;
  background: #071a2d;
  box-shadow: 0 0 0 5px rgba(13,31,50,.95), 0 12px 28px rgba(0,0,0,.45);
  color: #fff;
  text-decoration: none;
  padding: 0;
  cursor: pointer;
}

button.personal-chart {
  appearance: none;
  font: inherit;
}

.personal-chart img { position: absolute; inset: 5%; width: 90%; height: 90%; }
.personal-chart span {
  position: relative;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 5px;
  text-align: center;
  background: rgba(4,16,31,.72);
  font-size: clamp(14px, 4vw, 18px);
  font-weight: 600;
  line-height: 1.15;
}

.personal-cta { margin-top: 20px; text-align: center; }
.cta-button {
  display: grid;
  grid-template-columns: 38px 1fr 28px;
  align-items: center;
  gap: 8px;
  min-height: 74px;
  padding: 10px 18px;
  border: 1px solid #ffe289;
  border-radius: 5px;
  color: #11131a;
  background: linear-gradient(135deg, #ffd65a, #e9a91f);
  box-shadow: 0 0 22px rgba(241,186,63,.32), inset 0 2px 2px rgba(255,255,255,.5);
  font-size: clamp(16px, 4.8vw, 22px);
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
}

.cta-button img { width: 32px; }
.cta-arrow { font-size: 28px; }
.personal-cta p { margin: 14px 0 0; color: var(--muted); font-size: 14px; }

button:hover, a:hover { filter: brightness(1.08); }
button:focus-visible, a:focus-visible, .message-card:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 390px) {
  .app-shell { padding-inline: 9px; }
  .site-header { grid-template-columns: minmax(0, 1fr) auto auto; gap: 5px; }
  .brand-lockup { width: min(56vw, 208px); }
  .site-header--home { --header-control-height: 36px; }
  .site-header--home .brand-lockup { width: auto; height: 36px; max-width: min(70vw, 264px); }
  .site-header--home .more-button { padding: 0 8px; font-size: 9px; }
  .site-header:not(.site-header--home) { --header-control-height: 38px; }
  .site-header .aurora-header-locale { min-width: 88px; }
  .site-header .aurora-header-locale label > span { padding: 0 5px; font-size: 9px; }
  .more-button { min-height: 38px; padding: 0 8px; font-size: 9px; }
  .more-button span { font-size: 10px; }
  .topic-grid { --col-gap: 104px; grid-template-rows: 138px 138px; }
  .topic-button span { font-size: 14px; }
}

@media (min-width: 760px) {
  .app-shell { padding-top: 24px; }
}

.personal-cta { display: none; }

.aurora-locale-form { display: contents; }

.aurora-locale-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 8px;
  border: 1px solid rgba(241,186,63,.45);
  border-radius: 5px;
  background: rgba(8, 24, 42, .8);
  color: var(--ivory);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  appearance: none;
  cursor: pointer;
}

.aurora-message-empty,
.aurora-message-loading,
.aurora-message-error {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
}

.aurora-message-error { color: #fca5a5; }

.aurora-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.aurora-modal.is-open { display: flex; }

.aurora-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 10, 20, .82);
}

.aurora-modal-panel {
  position: relative;
  width: min(100%, 420px);
  max-height: min(82vh, 640px);
  overflow: auto;
  padding: 22px 18px 18px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #071829;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
}

.auth-modal-backdrop {
  background: #020810;
}

.auth-modal-panel {
  background: #071829;
}

.auth-modal-input {
  background: #0c2238;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}

.aurora-modal-title {
  margin: 0 0 12px;
  font: 700 24px/1.1 "Cormorant Garamond", serif;
  color: var(--gold-light);
}

.aurora-modal-body {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ivory);
  white-space: pre-line;
}

.aurora-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 5px;
  background: rgba(255,255,255,.08);
  color: var(--ivory);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.aurora-own-question-panel label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--muted);
}

.aurora-own-question-panel textarea,
.aurora-own-question-panel select {
  width: 100%;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(241,186,63,.35);
  border-radius: 5px;
  background: rgba(8, 24, 42, .75);
  color: var(--ivory);
  font: inherit;
}

.aurora-own-question-panel textarea {
  min-height: 96px;
  resize: vertical;
}

.aurora-own-question-panel select option {
  color: #111;
}

.aurora-generate-btn {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--gold);
  border-radius: 5px;
  color: #11131a;
  background: linear-gradient(135deg, var(--gold-light), #eab12f);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.aurora-hidden-panel {
  display: none;
}

.aurora-horoscope-shell {
  padding-bottom: 40px;
  background: rgb(8, 24, 42);
}

.aurora-horoscope-brand-title {
  font: 700 28px/1 "Cormorant Garamond", serif;
  color: var(--ivory);
}

.aurora-user-chip {
  padding: 8px 14px;
  border: 1px solid rgba(241,186,63,.45);
  border-radius: 5px;
  background: rgba(8, 24, 42, .75);
  color: var(--ivory);
  font-size: 13px;
  white-space: nowrap;
}

.aurora-horoscope-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  margin: 10px 0 16px;
  padding: 0 2px;
}

.aurora-horoscope-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 4px 2px 0;
  border: 0;
  background: transparent;
  color: rgba(246, 232, 200, 0.72);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.1;
  cursor: pointer;
}

.aurora-horoscope-nav-label {
  display: block;
  text-align: center;
  white-space: nowrap;
}

.aurora-horoscope-nav-item.is-active {
  color: rgb(178, 127, 40);
}

.aurora-horoscope-nav-item.is-active .aurora-horoscope-nav-label::after {
  content: "";
  display: block;
  width: 100%;
  min-width: 34px;
  height: 3px;
  margin-top: 5px;
  border-radius: 5px;
  background: rgb(178, 127, 40);
}

.aurora-horoscope-nav-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: inherit;
}

.aurora-horoscope-nav-icon svg {
  display: block;
  width: 28px;
  height: 28px;
}

.aurora-horoscope-panel,
.aurora-horoscope-panel-body,
.aurora-horoscope-inner,
.aurora-horoscope-page {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.aurora-horoscope-shell #singleChartSourceBar label,
.aurora-horoscope-shell #singleChartSourceBar select,
.aurora-horoscope-shell #errorBox,
.aurora-horoscope-shell #panelDaily,
.aurora-horoscope-shell #panelExplanation {
  color: var(--ivory);
}

.aurora-horoscope-shell #singleChartSourceBar select,
.aurora-horoscope-shell #birthChartSelect {
  background: rgba(8, 24, 42, .75);
  border-color: rgba(241,186,63,.35);
  color: var(--ivory);
}

.aurora-horoscope-shell #errorBox {
  background: rgba(127, 29, 29, .35);
  border-color: rgba(248, 113, 113, .35);
  color: #fecaca;
}

.aurora-horoscope-shell #chartSvg,
.aurora-horoscope-shell #dualChartSvg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.35));
}

.aurora-horoscope-shell #chartSvg [data-zodiac-sign] {
  font-family: "Segoe UI Symbol", "Noto Sans Symbols2", "DejaVu Sans", sans-serif;
  font-variant-emoji: text;
  fill: rgb(178, 127, 40);
  stroke: none;
}

.aurora-horoscope-shell #chartShell,
.aurora-horoscope-shell #dualChartShell {
  max-width: 420px;
  margin-inline: auto;
}

.aurora-horoscope-shell #panelDual > .max-w-xl:first-child {
  display: none;
}

.aurora-horoscope-section {
  margin-top: 22px;
}

.aurora-horoscope-section-title {
  margin: 0 0 12px;
  font: 700 24px/1.1 "Cormorant Garamond", serif;
  color: var(--gold-light);
}

.aurora-horoscope-section-hint {
  margin: -6px 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.aurora-table-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

#auroraAspectsSection .aurora-table-tabs {
  grid-template-columns: repeat(3, 1fr);
}

.aurora-table-tab {
  min-height: 42px;
  border: 1px solid rgba(241,186,63,.35);
  border-radius: 5px;
  background: rgba(8, 24, 42, .55);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
}

.aurora-table-tab.is-active {
  color: var(--gold-light);
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(241,186,63,.18);
}

.aurora-table-wrap {
  overflow-x: auto;
}

.aurora-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.aurora-data-table th {
  padding: 8px 10px 10px 0;
  text-align: left;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.aurora-data-table td {
  padding: 12px 10px 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  vertical-align: middle;
}

.aurora-data-row {
  cursor: pointer;
}

.aurora-data-row:hover {
  background: rgba(255,255,255,.03);
}

.aurora-planet-cell,
.aurora-sign-cell,
.aurora-aspect-side {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 0;
}

.aurora-glyph-badge {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 5px;
  border: 1.5px solid rgb(178, 127, 40);
  background: var(--badge-bg, rgb(8, 24, 42));
  color: rgb(178, 127, 40);
  font-size: 17px;
  line-height: 1;
  flex-shrink: 0;
}

.aurora-planet-glyph,
.aurora-sign-glyph {
  font-size: 18px;
  line-height: 1;
  color: rgb(178, 127, 40);
  font-family: "Segoe UI Symbol", "Noto Sans Symbols2", "DejaVu Sans", sans-serif;
  font-variant-emoji: text;
}

.aurora-house-badge {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(178, 127, 40, .55);
  border-radius: 5px;
  color: rgb(178, 127, 40);
  font-size: 12px;
  font-weight: 700;
}

.aurora-house-col {
  width: 56px;
}

.aurora-aspect-list {
  display: grid;
  gap: 10px;
}

.aurora-aspect-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 5px;
  background: rgba(8, 24, 42, .45);
  color: var(--ivory);
  text-align: left;
  cursor: pointer;
}

.aurora-aspect-row-inner {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  min-width: 0;
}

.aurora-aspect-side-left {
  justify-self: start;
}

.aurora-aspect-side-right {
  justify-self: end;
}

.aurora-aspect-center {
  display: flex;
  justify-content: center;
  align-items: center;
  justify-self: center;
  flex-shrink: 0;
}

.aurora-aspect-row:hover {
  border-color: rgba(241,186,63,.35);
}

.aurora-aspect-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border: 1.25px solid currentColor;
  border-radius: 5px;
  background: transparent;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.aurora-aspect-chevron {
  color: var(--muted);
  font-size: 22px;
}

.aurora-table-empty {
  padding: 16px 4px;
  color: var(--muted);
  font-size: 14px;
}

.aurora-horoscope-shell #elementInfoModal .relative,
.aurora-horoscope-shell #elementInfoBackdrop {
  background: rgba(2, 10, 20, .82);
}

.aurora-horoscope-shell #elementInfoModal .relative {
  background: linear-gradient(145deg, rgba(38,53,72,.95), rgba(7,24,42,.98));
  border-color: rgba(241,186,63,.35);
  color: var(--ivory);
}

.aurora-horoscope-shell #elementInfoTitle,
.aurora-horoscope-shell #elementInfoBody {
  color: var(--ivory);
}

.aurora-horoscope-shell #panelExplanation h3,
.aurora-horoscope-shell #panelDual h3 {
  margin: 0;
  font: 700 24px/1.1 "Cormorant Garamond", serif;
  color: var(--gold-light);
}

.aurora-horoscope-shell #panelExplanation .text-gray-500,
.aurora-horoscope-shell #panelDual .text-gray-500,
.aurora-horoscope-shell #panelDaily .text-gray-500 {
  color: var(--muted);
}

.aurora-horoscope-shell #horoscopeExplanationPanel,
.aurora-horoscope-shell #horoscopeDailyPanel {
  border: 1px solid rgba(241, 186, 63, .35);
  border-radius: 5px;
  background: rgba(7, 22, 39, .92);
  padding: 18px 14px;
  color: var(--ivory);
}

.aurora-horoscope-shell #horoscopeExplanationGenerationForm,
.aurora-horoscope-shell #horoscopeDailyGenerationForm {
  border: 1px solid rgba(241, 186, 63, .28);
  border-radius: 5px;
  background: rgb(2, 16, 31);
  padding: 16px 14px;
}

.aurora-horoscope-shell #horoscopeExplanationPanel [class*="text-amber"],
.aurora-horoscope-shell #horoscopeDailyPanel [class*="text-amber"] {
  color: rgba(246, 232, 200, .88) !important;
}

.aurora-horoscope-shell #horoscopeExplanationPanel label,
.aurora-horoscope-shell #horoscopeExplanationPanel .block.text-sm.font-medium,
.aurora-horoscope-shell #horoscopeDailyPanel label,
.aurora-horoscope-shell #horoscopeDailyPanel .block.text-sm.font-medium {
  color: var(--ivory);
}

.aurora-horoscope-shell #horoscopeExplanationPanel textarea,
.aurora-horoscope-shell #horoscopeExplanationPanel select,
.aurora-horoscope-shell #horoscopeDailyPanel textarea,
.aurora-horoscope-shell #horoscopeDailyPanel select {
  width: 100%;
  border: 1px solid rgba(241, 186, 63, .35);
  border-radius: 5px;
  background: rgba(2, 16, 31, .95);
  color: var(--ivory);
  box-shadow: none;
}

.aurora-horoscope-shell #horoscopeExplanationPanel textarea::placeholder,
.aurora-horoscope-shell #horoscopeDailyPanel textarea::placeholder {
  color: rgba(156, 167, 182, .75);
}

.aurora-horoscope-shell #horoscopeExplanationPanel textarea:focus,
.aurora-horoscope-shell #horoscopeExplanationPanel select:focus,
.aurora-horoscope-shell #horoscopeDailyPanel textarea:focus,
.aurora-horoscope-shell #horoscopeDailyPanel select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(241, 186, 63, .18);
}

.aurora-horoscope-shell #horoscopeExplanationPanel .horoscope-topic-checkbox,
.aurora-horoscope-shell #horoscopeDailyPanel .horoscope-topic-checkbox {
  border-color: rgba(241, 186, 63, .45);
  background: rgba(2, 16, 31, .95);
  color: var(--gold);
}

.aurora-horoscope-shell .horoscope-generate-btn {
  min-width: 12rem;
  border: 1px solid var(--gold) !important;
  border-radius: 5px !important;
  background: linear-gradient(135deg, var(--gold-light), #eab12f) !important;
  color: #101218 !important;
  box-shadow: 0 4px 18px rgba(241, 186, 63, .24);
}

.aurora-horoscope-shell .horoscope-generate-btn:hover {
  filter: brightness(1.06);
  background: linear-gradient(135deg, var(--gold-light), #eab12f) !important;
}

.aurora-horoscope-shell #horoscopeExplanationLoading,
.aurora-horoscope-shell #horoscopeDailyLoading {
  color: var(--muted);
}

.aurora-horoscope-shell #horoscopeExplanationError,
.aurora-horoscope-shell #horoscopeDailyError {
  border-color: rgba(248, 113, 113, .35);
  background: rgba(127, 29, 29, .35);
  color: #fecaca;
}

.aurora-horoscope-shell #horoscopeExplanationContent,
.aurora-horoscope-shell #horoscopeDailyContent {
  border: 1px solid rgba(241, 186, 63, .28);
  border-radius: 5px;
  background: rgba(2, 16, 31, .95);
}

.aurora-horoscope-shell #horoscopeExplanationText,
.aurora-horoscope-shell #horoscopeDailySummary,
.aurora-horoscope-shell #horoscopeDailyHealth,
.aurora-horoscope-shell #horoscopeDailyMoney,
.aurora-horoscope-shell #horoscopeDailyRelationships,
.aurora-horoscope-shell #horoscopeDailyWork,
.aurora-horoscope-shell #horoscopeDailyMotto {
  color: var(--ivory) !important;
}

.aurora-horoscope-shell #horoscopeExplanationTitle,
.aurora-horoscope-shell #horoscopeDailySummaryTitle,
.aurora-horoscope-shell #horoscopeDailyContent h3 {
  color: var(--gold-light) !important;
}

.aurora-horoscope-shell #panelDual .space-y-4 > div {
  border-radius: 5px;
  background: rgb(2, 16, 31);
  padding: 16px 14px;
}

.aurora-horoscope-shell #panelDual .space-y-4 > div:first-child {
  border: 1px solid rgba(96, 165, 250, .45);
}

.aurora-horoscope-shell #panelDual .space-y-4 > div:last-child {
  border: 1px solid rgba(248, 113, 113, .45);
}

.aurora-horoscope-shell #panelDual .text-blue-800 {
  color: rgb(147, 197, 253) !important;
}

.aurora-horoscope-shell #panelDual .text-red-800 {
  color: rgb(252, 165, 165) !important;
}

.aurora-horoscope-shell #panelDual label,
.aurora-horoscope-shell #panelDual .text-gray-500,
.aurora-horoscope-shell #panelDual .text-gray-600,
.aurora-horoscope-shell #panelDual .text-gray-700 {
  color: rgba(246, 232, 200, .78) !important;
}

.aurora-horoscope-shell #panelDual input[type="date"],
.aurora-horoscope-shell #panelDual input[type="time"],
.aurora-horoscope-shell #panelDual input[type="number"],
.aurora-horoscope-shell #panelDual select {
  width: 100%;
  border: 1px solid rgba(241, 186, 63, .35);
  border-radius: 5px;
  background: rgba(2, 16, 31, .95);
  color: var(--ivory);
  box-shadow: none;
}

.aurora-horoscope-shell #panelDual #dualBirthChartSelectA {
  border-color: rgba(96, 165, 250, .45);
}

.aurora-horoscope-shell #panelDual #dualBirthChartSelectB {
  border-color: rgba(248, 113, 113, .45);
}

.aurora-horoscope-shell #panelDual input[type="date"]:focus,
.aurora-horoscope-shell #panelDual input[type="time"]:focus,
.aurora-horoscope-shell #panelDual input[type="number"]:focus,
.aurora-horoscope-shell #panelDual select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(241, 186, 63, .18);
}

.aurora-horoscope-shell #panelDual .border-t {
  border-color: rgba(241, 186, 63, .18) !important;
}

.aurora-horoscope-shell #panelDual button[type="button"] {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(241, 186, 63, .45);
  border-radius: 5px;
  background: rgba(8, 24, 42, .85);
  color: var(--ivory);
  font-size: 13px;
  cursor: pointer;
}

.aurora-horoscope-shell #panelDual button[data-dual-reset-now] {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--gold-light), #eab12f);
  color: #101218;
  font-weight: 600;
}

.aurora-horoscope-shell .horoscope-period-btn {
  border: 1px solid rgba(241, 186, 63, .35);
  background: rgba(8, 24, 42, .75);
  color: var(--muted);
}

.aurora-horoscope-shell .horoscope-period-btn-active,
.aurora-horoscope-shell .horoscope-period-btn:hover {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--gold-light), #eab12f);
  color: #101218;
}

button:not(.personal-chart),
input:not([type='checkbox']):not([type='radio']):not([type='range']),
select,
textarea {
  border-radius: 5px;
}

.personal-chart,
button.personal-chart,
.topic-button::after {
  border-radius: 50%;
}

.app-shell:has(.landing-gates) .message-scroll {
  height: 210px;
}

.landing-summary-title {
  margin: 0 0 10px;
  color: var(--gold);
  font: 600 11px/1.2 Inter, system-ui, sans-serif;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.landing-gates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0 6px;
}

.landing-gate {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 168px;
  border: 1px solid var(--line);
  border-radius: 5px;
  text-decoration: none;
  color: var(--ivory);
  box-shadow: 0 16px 36px rgba(0,0,0,.38);
  background: #071829;
}

.landing-gate img {
  display: block;
  width: 100%;
  height: 176px;
  object-fit: cover;
}

.landing-gate-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 10px 12px;
  background: linear-gradient(transparent, rgba(4,16,31,.94));
  color: var(--gold-light);
  font: 700 16px/1.15 "Cormorant Garamond", serif;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}

.landing-gate:hover {
  border-color: var(--gold);
}

.landing-story {
  margin: 22px 0 8px;
  text-align: center;
}

.landing-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.landing-lead {
  margin: 0 auto 16px;
  max-width: 36rem;
  color: var(--muted);
  font: 16px/1.55 "Cormorant Garamond", Georgia, serif;
}

.landing-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(241, 186, 63, .28);
  border-radius: 5px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}

.landing-figure img {
  display: block;
  width: 100%;
  height: auto;
}
