/* Astrologie : un atlas lisible, dont les données calculées restent distinctes du symbole. */
#appRoot .lh-astrology-page {
  gap: clamp(16px, 2.2vw, 28px);
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
}

#appRoot .lh-astrology-page p,
#appRoot .lh-astrology-page li,
#appRoot .lh-astrology-page dd,
#appRoot .lh-astrology-page button,
#appRoot .lh-astrology-page summary {
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
}

#appRoot .lh-astrology-page h1,
#appRoot .lh-astrology-page h2,
#appRoot .lh-astrology-page h3,
#appRoot .lh-astrology-page blockquote,
#appRoot .lh-astrology-page .lh-astro-integration-impact {
  font-family: var(--font-display);
}

#appRoot .lh-astro-hero {
  display: block;
  min-height: 0;
  padding: 0;
  text-align: left;
  background: var(--lh-surface);
  border-radius: 12px;
  overflow: hidden;
}

#appRoot .lh-astro-hero > .lh-kicker {
  padding: 24px clamp(22px, 3vw, 46px) 18px;
  color: var(--lh-gold);
  letter-spacing: 0.15em;
}

#appRoot .lh-astro-hero-stage {
  isolation: isolate;
  width: 100%;
  min-height: clamp(430px, 42vw, 600px);
  aspect-ratio: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(34px, 5vw, 72px);
  overflow: hidden;
  background: #080a11;
}

#appRoot .lh-astro-sky,
#appRoot .lh-astro-sky::after,
#appRoot .lh-astro-sky-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#appRoot .lh-astro-sky { z-index: -1; overflow: hidden; }
#appRoot .lh-astro-sky img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 44%;
  transform: scale(1.035);
  animation: lh-astro-sky-drift 32s ease-in-out infinite alternate;
}
#appRoot .lh-astro-sky::after {
  content: '';
  background: linear-gradient(90deg, rgba(7, 9, 16, .94) 0%, rgba(7, 9, 16, .77) 35%, rgba(7, 9, 16, .16) 100%),
    linear-gradient(0deg, rgba(7, 9, 16, .72), transparent 42%);
}
#appRoot .lh-astro-sky-stars {
  z-index: 1;
  opacity: .65;
  background-image: radial-gradient(circle, #f7ddb1 1px, transparent 1.5px),
    radial-gradient(circle, #d7e3fa .8px, transparent 1.4px);
  background-size: 139px 151px, 207px 193px;
  background-position: 22px 35px, 75px 108px;
  animation: lh-astro-stars-breathe 6s ease-in-out infinite alternate;
}
#appRoot .lh-astro-hero-stage::before,
#appRoot .lh-astro-hero-stage::after { content: none; }
#appRoot .lh-astro-hero-orbit {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: clamp(7%, 10vw, 14%);
  width: clamp(260px, 32vw, 440px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  pointer-events: none;
}
#appRoot .lh-astro-hero-ring {
  position: absolute;
  inset: 10%;
  width: auto;
  height: auto;
  border: 1px solid rgba(232, 199, 128, .6);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 199, 128, .07), transparent 61%);
  box-shadow: 0 0 55px rgba(232, 199, 128, .1), inset 0 0 55px rgba(232, 199, 128, .05);
}
#appRoot .lh-astro-hero-orbit::before,
#appRoot .lh-astro-hero-orbit::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(232, 199, 128, .25);
  border-radius: 50%;
}
#appRoot .lh-astro-hero-orbit::before { inset: 0; border-style: dashed; }
#appRoot .lh-astro-hero-orbit::after { inset: 30%; opacity: .7; }
#appRoot .lh-astro-orbit-track {
  position: absolute;
  inset: 10%;
  transform: rotate(var(--orbit-angle));
  animation: lh-astro-orbit-spin 28s linear infinite;
}
#appRoot .lh-astro-hero-copy {
  width: min(48%, 550px);
  color: #f6f0e4;
}
#appRoot .lh-astro-hero h1 {
  color: #fbf3e7;
  font-size: clamp(3.4rem, 6vw, 6.4rem);
  line-height: .94;
  text-wrap: balance;
}
#appRoot .lh-astro-hero-lead {
  max-width: 39ch;
  color: #e4dac9;
  font-size: clamp(.96rem, 1.25vw, 1.15rem);
  line-height: 1.75;
}
#appRoot .lh-astro-hero-movement {
  offset-path: none;
  top: 0;
  left: 50%;
  right: auto;
  width: clamp(66px, 6.8vw, 90px);
  transform: translate(-50%, -50%) rotate(var(--orbit-counter-angle));
  animation: lh-astro-orbit-counter 28s linear infinite;
  background: rgba(8, 10, 16, .79);
  backdrop-filter: blur(8px);
  border-color: rgba(238, 209, 144, .65);
  box-shadow: 0 0 30px rgba(232, 199, 128, .18), inset 0 0 18px rgba(232, 199, 128, .08);
  color: #f1d58e;
}
#appRoot .lh-astro-hero-movement small { color: #eee7da; }
#appRoot .lh-astro-hero-signs {
  width: 100%;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--lh-border);
}
#appRoot .lh-astro-hero-signs span { min-height: 84px; padding: 14px clamp(16px, 3vw, 42px); }
#appRoot .lh-astro-hero > .lh-astro-trust {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 0;
  padding: 13px clamp(16px, 3vw, 42px);
  border: 0;
  border-top: 1px solid var(--lh-border);
  border-radius: 0;
  background: var(--lh-surface);
  color: var(--lh-muted);
  font-size: .72rem;
  line-height: 1.5;
}
#appRoot .lh-astro-hero > .lh-astro-trust strong {
  flex: 0 0 auto;
  color: var(--lh-gold);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@keyframes lh-astro-sky-drift { to { transform: scale(1.1) translate3d(-1.4%, .8%, 0); } }
@keyframes lh-astro-stars-breathe { to { opacity: .28; transform: translateY(-8px); } }
@keyframes lh-astro-orbit-spin {
  from { transform: rotate(var(--orbit-angle)); }
  to { transform: rotate(calc(var(--orbit-angle) + 360deg)); }
}
@keyframes lh-astro-orbit-counter {
  from { transform: translate(-50%, -50%) rotate(var(--orbit-counter-angle)); }
  to { transform: translate(-50%, -50%) rotate(calc(var(--orbit-counter-angle) - 360deg)); }
}

#appRoot .lh-astro-chapter {
  border: 1px solid var(--lh-border);
  border-radius: 12px;
  background: var(--lh-surface);
  overflow: hidden;
}
#appRoot .lh-astro-chapter > summary {
  min-height: 95px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px clamp(22px, 3vw, 46px);
  cursor: pointer;
  list-style: none;
}
#appRoot .lh-astro-chapter > summary::-webkit-details-marker { display: none; }
#appRoot .lh-astro-chapter > summary small,
#appRoot .lh-astro-chapter > summary strong { display: block; }
#appRoot .lh-astro-chapter > summary small {
  color: var(--lh-gold);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
#appRoot .lh-astro-chapter > summary strong {
  margin-top: 4px;
  color: var(--lh-text);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.5vw, 2.7rem);
  font-weight: 500;
  line-height: 1;
}
#appRoot .lh-astro-chapter > summary b {
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--lh-border);
  border-radius: 50%;
  color: var(--lh-gold);
  font-size: 1.25rem;
  font-weight: 400;
  transition: transform .25s ease;
}
#appRoot .lh-astro-chapter[open] > summary b { transform: rotate(45deg); }
#appRoot .lh-astro-chapter[open] > summary { border-bottom: 1px solid var(--lh-border); }
#appRoot .lh-astro-chapter > .lh-astro-section,
#appRoot .lh-astro-chapter > .lh-astro-integration,
#appRoot .lh-astro-chapter > .lh-natal-chart,
#appRoot .lh-astro-chapter > .lh-astro-calculation,
#appRoot .lh-astro-chapter > .lh-astro-depth-content {
  border: 0;
  border-radius: 0;
  margin: 0;
  background: transparent;
}
#appRoot .lh-astro-chapter > .lh-astro-depth-content { padding: clamp(24px, 4vw, 56px); }
#appRoot .lh-astro-placement-grid { align-items: start; }
#appRoot .lh-astro-chapter .lh-astro-placement { min-height: 0; align-self: start; }
#appRoot .lh-astro-chapter .lh-astro-polarities > div { min-height: 0; }
#appRoot .lh-astro-chapter .lh-astro-integration { grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr); }
#appRoot .lh-astro-placement-detail { margin-top: 0; padding-top: 18px; }
#appRoot .lh-astro-placement-detail > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--lh-border);
  color: var(--lh-gold);
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
#appRoot .lh-astro-placement-detail > summary::-webkit-details-marker { display: none; }
#appRoot .lh-astro-placement-detail > summary span { font-size: 1.25rem; font-weight: 400; transition: transform .2s ease; }
#appRoot .lh-astro-placement-detail[open] > summary span { transform: rotate(45deg); }
#appRoot .lh-astro-placement-detail > summary:focus-visible { outline: 2px solid var(--lh-gold); outline-offset: 2px; }
#appRoot .lh-astro-placement-detail .lh-astro-reading { min-height: 0; margin-top: 12px; }

#appRoot .lh-astro-reading-sequence {
  margin-top: clamp(42px, 6vw, 78px);
  overflow: hidden;
  border: 1px solid var(--lh-border);
  border-radius: 10px;
}
#appRoot .lh-astro-reading-sequence-header { padding: clamp(26px, 4vw, 54px); background: color-mix(in srgb, var(--lh-gold) 4%, var(--lh-surface)); }
#appRoot .lh-astro-reading-sequence-header h2 { max-width: 18ch; margin: 8px 0 18px; font-size: clamp(2rem, 3.5vw, 4rem); font-weight: 500; line-height: 1; }
#appRoot .lh-astro-reading-sequence-header > p:last-child { max-width: 78ch; margin: 0; color: var(--lh-muted); line-height: 1.7; }
#appRoot .lh-astro-reading-fold { border-top: 1px solid var(--lh-border); }
#appRoot .lh-astro-reading-fold > summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 86px; padding: 18px clamp(22px, 4vw, 48px); cursor: pointer; list-style: none; }
#appRoot .lh-astro-reading-fold > summary::-webkit-details-marker { display: none; }
#appRoot .lh-astro-reading-fold > summary > b { color: var(--lh-gold); font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; }
#appRoot .lh-astro-reading-fold > summary strong,
#appRoot .lh-astro-reading-fold > summary small { display: block; }
#appRoot .lh-astro-reading-fold > summary strong { color: var(--lh-text); font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 2rem); font-weight: 500; }
#appRoot .lh-astro-reading-fold > summary small { margin-top: 3px; color: var(--lh-muted); font-size: .72rem; line-height: 1.45; }
#appRoot .lh-astro-reading-fold > summary > i { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--lh-border); border-radius: 50%; color: var(--lh-gold); font-size: 1.2rem; font-style: normal; transition: transform .2s ease; }
#appRoot .lh-astro-reading-fold[open] > summary { background: color-mix(in srgb, var(--lh-gold) 3%, transparent); border-bottom: 1px solid var(--lh-border); }
#appRoot .lh-astro-reading-fold[open] > summary > i { transform: rotate(45deg); }
#appRoot .lh-astro-reading-fold > .lh-natal-synthesis,
#appRoot .lh-astro-reading-fold > .lh-astro-ai-synthesis,
#appRoot .lh-astro-reading-fold > .lh-astro-ai-status,
#appRoot .lh-astro-reading-fold > .lh-karmic-reading,
#appRoot .lh-astro-reading-fold > .lh-astro-reading-access { margin: 0; border-right: 0; border-left: 0; border-radius: 0; }
#appRoot .lh-astro-reading-access { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(26px, 4vw, 52px); border-top: 1px solid var(--lh-border); background: color-mix(in srgb, var(--lh-gold) 4%, var(--lh-surface)); }
#appRoot .lh-astro-reading-access h3 { margin: 6px 0 10px; font-size: clamp(1.65rem, 2.6vw, 2.6rem); font-weight: 500; }
#appRoot .lh-astro-reading-access p:last-child { max-width: 68ch; margin: 0; color: var(--lh-muted); line-height: 1.65; }

#appRoot .lh-karmic-reading {
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--lh-surface);
}
#appRoot .lh-karmic-hero { max-width: none; margin: 0; padding: clamp(28px, 5vw, 70px); background: radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--lh-gold) 10%, transparent), transparent 35%); }
#appRoot .lh-karmic-hero-copy { max-width: 900px; }
#appRoot .lh-karmic-hero h3 { max-width: 18ch; margin: 10px 0 18px; font-size: clamp(2.4rem, 5vw, 5.4rem); font-weight: 500; line-height: .98; text-wrap: balance; }
#appRoot .lh-karmic-framing { max-width: 70ch; margin: 0; color: var(--lh-muted); }
#appRoot .lh-karmic-axis { display: grid; grid-template-columns: minmax(140px, .7fr) minmax(100px, 1.5fr) minmax(140px, .7fr); align-items: center; gap: clamp(14px, 3vw, 34px); margin: clamp(30px, 5vw, 64px) 0; }
#appRoot .lh-karmic-axis > span { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 3px 12px; }
#appRoot .lh-karmic-axis small { grid-column: 1 / -1; color: var(--lh-muted); font-size: .62rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
#appRoot .lh-karmic-axis b { grid-row: 2 / 4; color: var(--lh-gold); font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; }
#appRoot .lh-karmic-axis strong { color: var(--lh-text); font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 500; }
#appRoot .lh-karmic-axis em { color: var(--lh-muted); font-size: .68rem; font-style: normal; }
#appRoot .lh-karmic-axis .is-direction { text-align: right; }
#appRoot .lh-karmic-axis .is-direction b { grid-column: 2; }
#appRoot .lh-karmic-axis .is-direction strong,
#appRoot .lh-karmic-axis .is-direction em { grid-column: 1; }
#appRoot .lh-karmic-axis > i { position: relative; height: 1px; background: color-mix(in srgb, var(--lh-gold) 38%, var(--lh-border)); }
#appRoot .lh-karmic-axis > i::before,
#appRoot .lh-karmic-axis > i::after { content: ''; position: absolute; top: 50%; width: 7px; height: 7px; border: 1px solid var(--lh-gold); border-radius: 50%; background: var(--lh-surface); transform: translateY(-50%); }
#appRoot .lh-karmic-axis > i::before { left: 0; }
#appRoot .lh-karmic-axis > i::after { right: 0; box-shadow: 0 0 14px color-mix(in srgb, var(--lh-gold) 58%, transparent); }
#appRoot .lh-karmic-axis > i u { position: absolute; inset: -1px auto auto 0; width: 34%; height: 3px; background: linear-gradient(90deg, transparent, var(--lh-gold), transparent); text-decoration: none; animation: lh-karmic-axis-travel 4.8s ease-in-out infinite; }
#appRoot .lh-karmic-opening { max-width: 74ch; padding-left: clamp(18px, 3vw, 34px); border-left: 1px solid var(--lh-gold); }
#appRoot .lh-karmic-opening p { margin: 0; color: color-mix(in srgb, var(--lh-text) 90%, var(--lh-muted)); font-size: clamp(1.02rem, 1.25vw, 1.18rem); line-height: 1.82; }
#appRoot .lh-karmic-seal { max-width: none; margin: 0; padding: clamp(26px, 4vw, 48px) clamp(28px, 5vw, 70px); border: 0; border-top: 1px solid var(--lh-border); border-bottom: 1px solid var(--lh-border); background: color-mix(in srgb, var(--lh-gold) 7%, var(--lh-surface)); font-size: clamp(1.45rem, 2.4vw, 2.35rem); line-height: 1.38; }
#appRoot .lh-karmic-seal small { display: block; margin-bottom: 12px; color: var(--lh-gold); font-family: Manrope, ui-sans-serif, sans-serif; font-size: .64rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
#appRoot .lh-karmic-path { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; padding: clamp(18px, 3vw, 34px); background: color-mix(in srgb, var(--lh-text) 1.5%, var(--lh-surface)); }
#appRoot .lh-karmic-chapter { max-width: none; margin: 0; padding: 0; border: 1px solid var(--lh-border); border-right: 0; border-bottom: 0; }
#appRoot .lh-karmic-chapter:nth-child(2n) { border-right: 1px solid var(--lh-border); }
#appRoot .lh-karmic-chapter:nth-last-child(-n + 2) { border-bottom: 1px solid var(--lh-border); }
#appRoot .lh-karmic-chapter[open] { grid-column: 1 / -1; border-right: 1px solid var(--lh-border); }
#appRoot .lh-karmic-chapter > summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 108px; padding: 18px clamp(18px, 2.6vw, 30px); cursor: pointer; list-style: none; }
#appRoot .lh-karmic-chapter > summary::-webkit-details-marker { display: none; }
#appRoot .lh-karmic-chapter > summary > span { align-self: start; color: var(--lh-gold); font-family: var(--font-display); font-size: 1.35rem; }
#appRoot .lh-karmic-chapter > summary small { display: block; margin-bottom: 5px; color: var(--lh-gold); font-size: .6rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
#appRoot .lh-karmic-chapter > summary h4 { margin: 0; color: var(--lh-text); font-family: var(--font-display); font-size: clamp(1.25rem, 1.8vw, 1.75rem); font-weight: 500; line-height: 1.12; }
#appRoot .lh-karmic-chapter > summary > b { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--lh-border); border-radius: 50%; color: var(--lh-gold); font-size: 1.1rem; font-weight: 400; transition: transform .2s ease; }
#appRoot .lh-karmic-chapter[open] > summary { background: color-mix(in srgb, var(--lh-gold) 5%, transparent); }
#appRoot .lh-karmic-chapter[open] > summary > b { transform: rotate(45deg); }
#appRoot .lh-karmic-chapter > div { padding: 4px clamp(24px, 3.4vw, 46px) clamp(24px, 3.4vw, 42px); }
#appRoot .lh-karmic-chapter[open] > div { max-width: 86ch; }
#appRoot .lh-karmic-chapter > div p { margin: 0; color: color-mix(in srgb, var(--lh-text) 84%, var(--lh-muted)); line-height: 1.78; }
#appRoot .lh-karmic-practice { max-width: none; display: grid; grid-template-columns: minmax(100px, .23fr) minmax(0, .77fr); gap: clamp(22px, 5vw, 72px); margin: 0; padding: clamp(30px, 5vw, 66px); border-top: 1px solid var(--lh-border); background: color-mix(in srgb, var(--lh-gold) 3%, var(--lh-surface)); }
#appRoot .lh-karmic-practice-mark { align-self: start; aspect-ratio: 1; display: grid; place-items: center; align-content: center; border: 1px solid color-mix(in srgb, var(--lh-gold) 46%, var(--lh-border)); border-radius: 50%; color: var(--lh-gold); background: radial-gradient(circle, color-mix(in srgb, var(--lh-gold) 9%, transparent), transparent 65%); }
#appRoot .lh-karmic-practice-mark span { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: 1; }
#appRoot .lh-karmic-practice-mark small { margin-top: 5px; font-size: .62rem; letter-spacing: .13em; text-transform: uppercase; }
#appRoot .lh-karmic-practice h4 { margin: 8px 0 18px; font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3.5rem); font-weight: 500; line-height: 1; }
#appRoot .lh-karmic-practice .lh-reading-prose { max-width: 72ch; }
#appRoot .lh-karmic-practice blockquote { max-width: 64ch; margin: 22px 0; padding: 16px 0 16px 20px; border-left: 2px solid var(--lh-gold); font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.45; }
#appRoot .lh-karmic-reading > footer { max-width: none; margin: 0; padding: 14px clamp(24px, 5vw, 70px); border-top: 1px solid var(--lh-border); color: var(--lh-muted); font-size: .7rem; }

@keyframes lh-karmic-axis-travel {
  0%, 100% { left: 0; opacity: .25; }
  50% { left: 66%; opacity: .95; }
}
@keyframes lh-karmic-axis-travel-mobile {
  0%, 100% { top: 0; opacity: .25; }
  50% { top: 66%; opacity: .95; }
}

#appRoot .lh-natal-wheel-wrap {
  position: relative;
  padding: clamp(14px, 2vw, 28px);
  border: 1px solid color-mix(in srgb, var(--lh-gold) 29%, var(--lh-border));
  border-radius: 50% 50% 14px 14px;
  background: radial-gradient(circle at 50% 43%, #1b2943, #0c1528 58%, #080d19 100%);
}
#appRoot .lh-natal-wheel-wrap > p { color: #ded5c5; }
#appRoot .lh-natal-wheel-sky { fill: url(#lh-natal-sky-gradient); stroke: color-mix(in srgb, var(--lh-gold) 25%, transparent); }
#appRoot .lh-natal-starfield circle { fill: #e9dbb8; opacity: .73; }
#appRoot .lh-natal-starfield circle.is-bright { fill: #fff7dc; opacity: .95; filter: drop-shadow(0 0 4px #e6c780); }
#appRoot .lh-natal-house-lines text { fill: #d5c7ab; }
#appRoot .lh-natal-wheel-center { fill: #10182a; stroke: var(--lh-gold); stroke-width: 1.3; }
#appRoot .lh-natal-wheel-center-mark { fill: var(--lh-gold); font-size: 26px; text-anchor: middle; font-family: var(--font-display); }
#appRoot .lh-natal-degree-ticks line { stroke: color-mix(in srgb, var(--lh-gold) 43%, transparent); stroke-width: .65; }
#appRoot .lh-natal-body-point text { stroke: #10182a; }
#appRoot .lh-natal-body-point:is(:hover, :focus-visible, .is-selected) circle { stroke-width: 2.4; fill: #26314a; }

#appRoot .lh-astro-arcane-intro { max-width: 64ch; margin: 30px 0 0; color: var(--lh-muted); line-height: 1.65; }
#appRoot .lh-astro-arcane-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 4vw, 48px); align-items: start; }
#appRoot .lh-astro-arcane { min-width: 0; gap: 15px; }
#appRoot .lh-astro-arcane-card-wrap { position: relative; width: min(100%, 230px); }
#appRoot .lh-astro-arcane-flip {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
  perspective: 1200px;
  text-align: left;
}
#appRoot .lh-astro-arcane-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 7px;
  transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.2,.7,.15,1);
  box-shadow: 0 18px 32px rgba(0,0,0,.32);
}
#appRoot .lh-astro-arcane-flip.is-flipped .lh-astro-arcane-inner { transform: rotateY(180deg); }
#appRoot .lh-astro-arcane-face {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(207, 169, 89, .65);
  border-radius: 7px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
#appRoot .lh-astro-arcane-face.is-front img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; border: 0; border-radius: 0; }
#appRoot .lh-astro-arcane-face.is-back {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  color: #efe8d8;
  background: radial-gradient(circle at 50% 20%, #37304a, #15141d 64%, #0b0b11);
  transform: rotateY(180deg);
  text-align: center;
}
#appRoot .lh-astro-arcane-face.is-back::before { content: '✦'; color: #d5b36d; font-size: 1.45rem; }
#appRoot .lh-astro-arcane-face.is-back small { color: #d5b36d; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
#appRoot .lh-astro-arcane-face.is-back strong { color: #faf1dd; font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 2rem); font-weight: 500; line-height: 1; }
#appRoot .lh-astro-arcane-face.is-back span { font-size: clamp(.72rem, .95vw, .91rem); line-height: 1.55; }
#appRoot .lh-astro-arcane-face.is-back em { color: #d5c6ab; font-size: clamp(.68rem, .86vw, .79rem); font-style: normal; line-height: 1.5; }
#appRoot .lh-astro-arcane-face.is-back i { margin-top: auto; color: #d5b36d; font-size: .62rem; font-style: normal; letter-spacing: .08em; text-transform: uppercase; }
#appRoot .lh-astro-arcane-zoom {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(229, 205, 149, .65);
  border-radius: 50%;
  background: rgba(8, 8, 12, .86);
  color: #f2deaf;
  cursor: zoom-in;
}
#appRoot .lh-astro-arcane-zoom svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
#appRoot .lh-astro-arcane figcaption strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
#appRoot .lh-astro-arcane figcaption small { margin-top: 4px; font-size: .77rem; }
#appRoot .lh-astro-arcane-dialog {
  position: fixed;
  inset: 0;
  width: min(94vw, 620px);
  max-height: min(94dvh, 820px);
  margin: auto;
  padding: 20px;
  overflow: auto;
  border: 1px solid #a9854d;
  border-radius: 12px;
  background: #15131a;
  color: #f4ead9;
  box-shadow: 0 30px 100px rgba(0,0,0,.7);
}
#appRoot .lh-astro-arcane-dialog::backdrop { background: rgba(3, 4, 8, .82); backdrop-filter: blur(8px); }
#appRoot .lh-astro-arcane-dialog-shell { display: grid; justify-items: center; gap: 12px; }
#appRoot .lh-astro-arcane-dialog-close {
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(220, 192, 135, .45);
  border-radius: 50%;
  background: transparent;
  color: #f4ead9;
  font-size: 1.6rem;
  cursor: pointer;
}
#appRoot .lh-astro-arcane-dialog .lh-astro-arcane-flip { width: min(100%, 340px); }
#appRoot .lh-astro-arcane-dialog .lh-astro-arcane-face.is-back { padding: 28px; gap: 18px; }
#appRoot .lh-astro-arcane-dialog .lh-astro-arcane-face.is-back span { font-size: 1rem; }
#appRoot .lh-astro-arcane-dialog .lh-astro-arcane-face.is-back em { font-size: .9rem; }
#appRoot .lh-astro-arcane-dialog p { margin: 0; color: #d3c5ac; font-size: .78rem; text-align: center; }
#appRoot .lh-astro-arcane-flip:focus-visible,
#appRoot .lh-astro-arcane-zoom:focus-visible,
#appRoot .lh-astro-arcane-dialog-close:focus-visible,
#appRoot .lh-astro-chapter > summary:focus-visible { outline: 2px solid var(--lh-gold); outline-offset: 3px; }

@media (max-width: 900px) {
  #appRoot .lh-astro-hero-copy { width: min(56%, 440px); }
  #appRoot .lh-astro-hero-orbit { right: 4%; width: clamp(240px, 36vw, 340px); }
  #appRoot .lh-astro-chapter .lh-astro-integration { grid-template-columns: 1fr; }
  #appRoot .lh-karmic-path { grid-template-columns: 1fr; }
  #appRoot .lh-karmic-chapter,
  #appRoot .lh-karmic-chapter:nth-child(2n),
  #appRoot .lh-karmic-chapter:nth-last-child(-n + 2),
  #appRoot .lh-karmic-chapter[open] { grid-column: auto; border-right: 1px solid var(--lh-border); border-bottom: 0; }
  #appRoot .lh-karmic-chapter:last-child { border-bottom: 1px solid var(--lh-border); }
}
@media (max-width: 640px) {
  #appRoot .lh-astro-hero > .lh-kicker { padding: 18px 20px 14px; }
  #appRoot .lh-astro-hero-stage { min-height: 620px; align-items: end; padding: 30px 22px 36px; }
  #appRoot .lh-astro-sky img { object-position: 62% center; }
  #appRoot .lh-astro-sky::after { background: linear-gradient(0deg, rgba(7,9,16,.98) 0%, rgba(7,9,16,.7) 40%, rgba(7,9,16,.12) 100%); }
  #appRoot .lh-astro-hero-copy { width: 100%; }
  #appRoot .lh-astro-hero h1 { font-size: clamp(3.2rem, 15vw, 4.8rem); }
  #appRoot .lh-astro-hero-lead { max-width: 33ch; font-size: .94rem; }
  #appRoot .lh-astro-hero-orbit { top: 28%; left: 50%; right: auto; width: min(58vw, 220px); transform: translate(-50%, -50%); }
  #appRoot .lh-astro-hero-movement { width: 62px; }
  #appRoot .lh-astro-hero-movement b { font-size: 1.75rem; }
  #appRoot .lh-astro-hero-movement small { font-size: .45rem; }
  #appRoot .lh-astro-hero-signs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #appRoot .lh-astro-hero-signs span { display: block; min-height: 0; padding: 14px 9px; text-align: center; }
  #appRoot .lh-astro-hero-signs b { display: block; font-size: 1.7rem; line-height: 1; }
  #appRoot .lh-astro-hero-signs small { font-size: .58rem; }
  #appRoot .lh-astro-hero-signs strong { font-size: .78rem; }
  #appRoot .lh-astro-hero > .lh-astro-trust { display: block; font-size: .74rem; }
  #appRoot .lh-astro-hero > .lh-astro-trust strong { margin-right: 5px; }
  #appRoot .lh-astro-hero > .lh-astro-trust span { margin-right: 5px; }
  #appRoot .lh-astro-chapter > summary { min-height: 76px; padding: 16px 18px; }
  #appRoot .lh-astro-chapter > summary strong { font-size: 1.8rem; }
  #appRoot .lh-astro-reading-fold > summary { gap: 12px; padding: 15px 16px; }
  #appRoot .lh-astro-reading-fold > summary > b { font-size: 1.35rem; }
  #appRoot .lh-astro-reading-access { align-items: stretch; flex-direction: column; }
  #appRoot .lh-karmic-axis { grid-template-columns: 1fr; }
  #appRoot .lh-karmic-axis > i { height: 58px; width: 1px; justify-self: center; }
  #appRoot .lh-karmic-axis > i::before,
  #appRoot .lh-karmic-axis > i::after { left: 50%; transform: translate(-50%, 0); }
  #appRoot .lh-karmic-axis > i::before { top: 0; }
  #appRoot .lh-karmic-axis > i::after { top: auto; right: auto; bottom: 0; }
  #appRoot .lh-karmic-axis > i u { inset: 0 auto auto -1px; width: 3px; height: 34%; background: linear-gradient(180deg, transparent, var(--lh-gold), transparent); animation-name: lh-karmic-axis-travel-mobile; }
  #appRoot .lh-karmic-axis .is-direction { text-align: left; }
  #appRoot .lh-karmic-axis .is-direction b { grid-column: 1; }
  #appRoot .lh-karmic-axis .is-direction strong,
  #appRoot .lh-karmic-axis .is-direction em { grid-column: 2; }
  #appRoot .lh-karmic-chapter > summary { min-height: 96px; gap: 11px; padding: 15px 14px; }
  #appRoot .lh-karmic-chapter > summary h4 { font-size: 1.25rem; }
  #appRoot .lh-karmic-practice { grid-template-columns: 1fr; }
  #appRoot .lh-karmic-practice-mark { width: 92px; }
  #appRoot .lh-karmic-practice .lh-btn { width: 100%; }
  #appRoot .lh-astro-arcane-strip {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(172px, 58vw);
    justify-content: start;
    gap: 14px;
    padding: 0 2px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  #appRoot .lh-astro-arcane { scroll-snap-align: start; }
  #appRoot .lh-astro-arcane-card-wrap { width: 100%; }
  #appRoot .lh-astro-arcane-face.is-back { gap: 8px; padding: 12px; }
  #appRoot .lh-astro-arcane-face.is-back small { font-size: .57rem; }
  #appRoot .lh-astro-arcane-face.is-back strong { font-size: 1.5rem; }
  #appRoot .lh-astro-arcane-face.is-back span { font-size: .68rem; line-height: 1.45; }
  #appRoot .lh-astro-arcane-face.is-back em { display: none; }
  #appRoot .lh-astro-arcane-dialog .lh-astro-arcane-face.is-back { gap: 14px; padding: 24px; }
  #appRoot .lh-astro-arcane-dialog .lh-astro-arcane-face.is-back em { display: block; }
  #appRoot .lh-astro-arcane-dialog .lh-astro-arcane-face.is-back small { font-size: .65rem; }
  #appRoot .lh-astro-arcane-dialog .lh-astro-arcane-face.is-back strong { font-size: 2rem; }
  #appRoot .lh-astro-arcane figcaption strong { font-size: 1.12rem; }
  #appRoot .lh-astro-arcane figcaption small { font-size: .64rem; }
  #appRoot .lh-astro-arcane-zoom { width: 29px; height: 29px; top: 5px; right: 5px; }
  #appRoot .lh-astro-arcane-dialog { padding: 12px; }
  #appRoot .lh-astro-arcane-dialog .lh-astro-arcane-flip { width: min(70vw, 290px); }
}
@media (prefers-reduced-motion: reduce) {
  #appRoot .lh-astro-sky img,
  #appRoot .lh-astro-sky-stars,
  #appRoot .lh-astro-orbit-track,
  #appRoot .lh-astro-hero-movement { animation: none !important; }
  #appRoot .lh-astro-arcane-inner { transition: none; }
}
