/* ============================================================
   astro.css — extrait de styles.css le 2026-05-07
   Phase 3 (extraction CSS module-par-module).
   399 règles, ~2322 lignes.
   Cut & paste pur — ordre source strict (même @media wrapper si répété).
   ============================================================ */

#astroV2HoroscopeView #astroHoroscopeHeroImgWrap img,
#astroV2RelationsView #astroRelationsHeroImgWrap img,
#astroV2BiorhythmView #astroBioHeroImgWrap img,
#astroV2ProfileView #astroProfilHeroImgWrap img {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.astro-wrapper {
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 0 12px 40px;
}

.astro-title {
  text-align: center;
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.astro-subtitle {
  text-align: center;
  font-size: 0.9rem;
  max-width: 520px;
  margin: 0 auto 1rem;
}

.astro-love-mode {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 0.75rem;
  flex-wrap: wrap;
}

.astro-love-mode-btn {
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  cursor: pointer;
  transition: 0.2s;
}

.astro-love-mode-btn.active {
  border-color: #f97316;
  background: radial-gradient(circle at top left, #f97316, #ec4899);
  color: #f9fafb;
  box-shadow: 0 0 16px rgba(248, 113, 113, 0.45);
}

.astro-love-mode-btn:hover {
  border-color: #facc15;
  color: #fefce8;
}

.astro-sign-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 720px;
  margin: 16px auto 30px;
}

.astro-sign-card {
  border-radius: 16px;
  padding: 10px 8px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top, #020617, #020617 55%, #020617 100%);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  transition: 0.22s ease;
}

.astro-sign-card:hover {
  transform: translateY(-3px);
  border-color: #e6d282;
  box-shadow:
    0 0 18px rgba(230, 210, 130, 0.32),
    0 14px 32px rgba(0, 0, 0, 0.9);
}

.astro-sign-card.active {
  border-color: #e6d282;
  box-shadow:
    0 0 22px rgba(230, 210, 130, 0.5),
    0 16px 36px rgba(0, 0, 0, 0.95);
  background: radial-gradient(circle at top, #1d1b12, #020617 70%);
}

.astro-sign-symbol {
  font-size: 1.9rem;
  line-height: 1;
  margin-bottom: 4px;
  color: #f0e6b2;
  text-shadow: 0 0 5px rgba(240, 230, 180, 0.35);
}

.astro-sign-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e5e7eb;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.1);
}

.astro-sign-dates {
  font-size: 0.78rem;
  color: #a1a1aa;
  opacity: 0.85;
}

.astro-result {
  margin-top: 26px;
  padding: 20px 22px 22px;
  border-radius: 16px;
  background: radial-gradient(circle at top left, #111827 0%, #020617 60%, #020617 100%);
  border: 1px solid rgba(129, 140, 248, 0.28);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.75);
}

.astro-result-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.astro-result-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(230, 210, 130, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #f0e6b2;
  box-shadow: 0 0 12px rgba(230, 210, 130, 0.3);
  background: radial-gradient(circle at top, #111827, #020617);
}

.astro-result h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e6d282;
}

.astro-result p {
  margin: 0;
  font-size: 0.98rem;
  color: #d1d5db;
  max-width: 70ch;
  text-align: left;
  margin-inline: auto;
}

.astro-keyword {
  font-weight: 600;
  color: #facc15;
  text-shadow: 0 0 6px rgba(250, 204, 21, 0.4);
}

@media (max-width: 900px) {
  .astro-sign-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}

@media (max-width: 600px) {
  .astro-sign-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
    }

  .astro-sign-card {
      padding: 6px 4px;
    }

  .astro-sign-symbol {
      font-size: 1.5rem;
    }

  .astro-sign-name {
      font-size: 0.8rem;
    }

  .astro-sign-dates {
      display: none;
    }

}

}

/* =========================================================
   ASTRO V2
   ========================================================= */
.astro-v2-wrapper {
  width: 600px;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px 16px 60px;
  box-sizing: border-box;
}

.astro-v2-hero-img {
  display: block;
  width: 220px;
  max-width: 220px;
  margin: 0 auto 24px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.astro-v2-header {
  text-align: center;
  margin-bottom: 20px;
}

.astro-v2-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f5f5f5;
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}

.astro-v2-subtitle {
  font-size: 0.95rem;
  color: #9ca3af;
  margin: 0;
}

.astro-v2-sign-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 20px auto;
  width: 480px;
  max-width: 480px;
}

.astro-v2-sign-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  min-height: 70px;
  background: rgba(15, 23, 42, 0.8);
  border: 1.5px solid rgba(148, 163, 184, 0.3);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.astro-v2-sign-btn:hover {
  border-color: #a855f7;
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.25);
}

.astro-v2-sign-btn.active {
  background: rgba(168, 85, 247, 0.2);
  border-color: #a855f7;
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.35);
}

.astro-v2-sign-btn .sign-symbol { font-size: 1.5rem; margin-bottom: 4px; color: #f0e6b2; }

.astro-v2-sign-btn .sign-name { font-size: 0.75rem; color: #d1d5db; }

.astro-v2-sign-btn.small { padding: 12px 6px; min-height: 60px; }

.astro-v2-sign-btn.small .sign-symbol { font-size: 1.2rem; }

.astro-v2-sign-btn.small .sign-name { font-size: 0.7rem; }

.astro-v2-sign-btn.mini { padding: 10px 4px; min-height: 45px; }

.astro-v2-sign-btn.mini .sign-symbol { font-size: 1.1rem; margin-bottom: 0; }

.astro-v2-sign-btn.mini .sign-name { display: none; }

.astro-v2-theme-select,
.astro-v2-tabs,
.astro-v2-mode-toggle,
.astro-v2-form {
  width: 480px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.astro-v2-theme-select,
.astro-v2-mode-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.astro-v2-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.astro-v2-theme-select select,
.astro-v2-mode-toggle select {
  padding: 10px 20px;
  background: rgba(15, 23, 42, 0.9);
  border: 1.5px solid rgba(148, 163, 184, 0.35);
  border-radius: 8px;
  color: #e5e7eb;
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color 0.2s;
}

.astro-v2-tab,
.astro-v2-profile-tab {
  padding: 10px 20px;
  background: rgba(15, 23, 42, 0.6);
  border: 1.5px solid rgba(148, 163, 184, 0.3);
  border-radius: 8px;
  color: #d1d5db;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
}

.astro-v2-tab:hover,
.astro-v2-profile-tab:hover {
  border-color: #a855f7;
}

.astro-v2-tab.active,
.astro-v2-profile-tab.active {
  background: rgba(168, 85, 247, 0.2);
  border-color: #a855f7;
  color: #e5e7eb;
}

.astro-v2-compat-picker {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  margin: 20px auto;
  width: 520px;
  max-width: 520px;
}

.astro-v2-compat-col { text-align: center; }

.astro-v2-compat-col label { display: block; font-size: 0.95rem; color: #9ca3af; margin-bottom: 12px; font-weight: 600; }

.astro-v2-compat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 200px; }

.astro-v2-compat-heart { font-size: 2.5rem; padding-top: 60px; flex-shrink: 0; }

.astro-v2-result {
  margin-top: 24px;
  padding: 20px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  width: 560px;
  max-width: 560px;
  min-height: 150px;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}

.astro-v2-result:empty::before {
  content: "Sélectionne ton signe pour recevoir ton message du jour.";
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #6b7280;
  font-style: italic;
  min-height: 110px;
}

.astro-v2-loading { text-align: center; color: #a78bfa; font-style: italic; margin: 0; padding: 20px 0; }

.astro-v2-error { text-align: center; color: #f87171; margin: 0; padding: 20px 0; }

.astro-v2-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.astro-v2-result-header.astro-v2-compat-header {
  justify-content: center;
  gap: 16px;
}

.astro-v2-result-sign,
.astro-v2-profile-sign {
  font-size: 1.1rem;
  font-weight: 600;
  color: #e5e7eb;
}

.astro-v2-profile-sign {
  font-size: 1.3rem;
}

.astro-v2-result-date,
.astro-v2-result-mode,
.astro-v2-profile-subtitle {
  font-size: 0.85rem;
  color: #9ca3af;
}

.astro-v2-result-cap {
  font-size: 1.1rem;
  font-weight: 500;
  color: #c4b5fd;
  margin-bottom: 16px;
  line-height: 1.5;
}

.astro-v2-result-theme,
.astro-v2-result-body {
  color: #d1d5db;
  line-height: 1.6;
}

.astro-v2-result-theme strong {
  display: block;
  color: #a78bfa;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.astro-v2-result-theme p,
.astro-v2-result-body p {
  margin: 0 0 10px;
}

.astro-v2-result-action { color: #fbbf24 !important; font-weight: 500; }

.astro-v2-result-friction { color: #fb923c !important; }

.astro-v2-compat-score { font-size: 2rem; font-weight: 700; color: #a855f7; text-shadow: 0 0 20px rgba(168, 85, 247, 0.5); }

.astro-v2-compat-label { font-size: 1.35rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.astro-v2-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 24px auto;
}

.astro-v2-form label {
  font-size: 0.9rem;
  color: #9ca3af;
}

.astro-v2-input {
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.9);
  border: 1.5px solid rgba(148, 163, 184, 0.35);
  border-radius: 8px;
  color: #e5e7eb;
  font-size: 1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.astro-v2-bio-gauges {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
  width: 100%;
}

.astro-v2-bio-gauge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.astro-v2-bio-gauge-label {
  width: 75px;
  min-width: 75px;
  font-size: 0.9rem;
  color: #d1d5db;
  text-align: right;
}

.astro-v2-bio-gauge-bar {
  flex: 1;
  height: 14px;
  background: rgba(15, 23, 42, 0.8);
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.astro-v2-bio-gauge-fill {
  height: 100%;
  border-radius: 7px;
  transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.astro-v2-bio-gauge-value {
  width: 45px;
  min-width: 45px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #e5e7eb;
}

.astro-v2-bio-synthesis {
  text-align: center;
  font-size: 1rem;
  color: #a78bfa;
  font-style: italic;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.astro-v2-profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.astro-profile-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.astro-profile-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  padding: 16px;
  transition: all 0.3s ease;
}


.astro-profile-card.hidden { display: none; }

.astro-profile-card.premium {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(88, 28, 135, 0.3));
  border-color: rgba(168, 85, 247, 0.3);
}

.astro-profile-card-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }

.astro-profile-card-icon { font-size: 1.3rem; }

.astro-profile-card-label { font-weight: 600; color: #e5e7eb; font-size: 0.95rem; }

.astro-profile-card-text { color: #9ca3af; font-size: 0.9rem; line-height: 1.5; margin: 0; }

#astroV2ProfileView .astro-profile-toggle {
  margin: 20px auto;
  display: block;
  padding: 10px 24px;
  background: rgba(11, 17, 32, 0.92);
  border: 1px solid rgba(230, 210, 130, 0.24);
  border-radius: 999px;
  color: var(--gold-main);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.26);
}

#astroV2ProfileView .astro-profile-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(230, 210, 130, 0.42);
  box-shadow:
    0 0 18px rgba(230, 210, 130, 0.10),
    0 14px 30px rgba(0, 0, 0, 0.32);
}

#astroV2ProfileView .astro-profile-toggle:active {
  transform: translateY(0);
}

.astro-profile-premium-lock {
  padding: 24px;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 12px;
  margin-top: 16px;
}

.astro-profile-premium-info {
  text-align: center;
  margin-bottom: 24px;
}

.astro-profile-premium-info .premium-icon { font-size: 2.5rem; display: block; margin-bottom: 12px; }

.astro-profile-premium-info h3 { color: #e5e7eb; font-size: 1.3rem; margin: 0 0 12px; }

.astro-profile-premium-info p { color: #9ca3af; font-size: 0.95rem; line-height: 1.5; margin: 0 0 8px; }

.astro-profile-premium-info .premium-requirement { color: #f59e0b; font-size: 0.85rem; font-style: italic; }

.astro-profile-premium-form {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.astro-v2-form-group {
  margin-bottom: 16px;
  width: 100%;
}

.astro-v2-form-group label {
  display: block;
  color: #d1d5db;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.astro-v2-hint {
  display: block;
  color: #6b7280;
  font-size: 0.8rem;
  margin-top: 4px;
}

.astro-profile-big3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}

.astro-profile-chip {
  padding: 10px 18px;
  background: rgba(15, 23, 42, 0.8);
  border: 1.5px solid rgba(148, 163, 184, 0.3);
  border-radius: 24px;
  color: #e5e7eb;
  font-size: 0.9rem;
  font-weight: 500;
}

.astro-profile-chip.sun { border-color: #f59e0b; background: rgba(245, 158, 11, 0.15); }

.astro-profile-chip.moon { border-color: #6366f1; background: rgba(99, 102, 241, 0.15); }

.astro-profile-chip.asc { border-color: #10b981; background: rgba(16, 185, 129, 0.15); }

.astro-profile-natal-chart {
  display: block;
  max-width: 300px;
  margin: 20px auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.astro-profile-premium-result {
  text-align: center;
}

.astro-profile-premium-result h3 {
  color: #e5e7eb;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.astro-natal-chart-container {
  margin: 20px auto;
  padding: 20px;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.8) 0%, rgba(2, 6, 23, 0.9) 100%);
  border-radius: 16px;
  border: 1px solid rgba(230, 210, 130, 0.2);
  max-width: 420px;
}

@media (max-width: 650px) {
  .astro-v2-wrapper {
      width: 100%;
      max-width: 100%;
    }

}

@media (max-width: 600px) {
  .astro-v2-result {
      width: 100%;
      max-width: 100%;
    }

  .astro-v2-compat-picker {
      flex-direction: column;
      align-items: center;
      gap: 16px;
      width: 100%;
      max-width: 100%;
    }

  .astro-v2-compat-heart {
      padding-top: 0;
      font-size: 2rem;
    }

  .astro-v2-compat-grid {
      width: 220px;
    }

}

@media (max-width: 520px) {
  .astro-v2-sign-grid,
    .astro-v2-theme-select,
    .astro-v2-tabs,
    .astro-v2-mode-toggle,
    .astro-v2-form {
      width: 100%;
      max-width: 100%;
    }

  .astro-v2-sign-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
    }

}

@media (max-width: 540px) {
  .astro-profile-cards-grid {
      grid-template-columns: 1fr;
      gap: 12px;
    }

}

@media (max-width: 480px) {
  .astro-v2-title {
      font-size: 1.25rem;
    }

  .astro-v2-hero-img {
      width: 180px;
      max-width: 180px;
    }

  .astro-v2-result {
      padding: 16px;
      min-height: 130px;
    }

  .astro-v2-result-cap {
      font-size: 1rem;
    }

  .astro-profile-card {
      padding: 14px;
    }

  .astro-profile-chip {
      padding: 8px 14px;
      font-size: 0.85rem;
    }

  .astro-v2-bio-gauge-label {
      width: 60px;
      min-width: 60px;
      font-size: 0.8rem;
    }

}

#astroV2HoroscopeView .astro-v2-theme-pills {
  width: 480px;
  max-width: 480px;
  margin: 0 auto 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

#astroV2HoroscopeView .astro-v2-theme-pill {
  appearance: none;
  border: 1px solid rgba(230, 210, 130, 0.18);
  background: rgba(11, 17, 32, 0.82);
  color: var(--text-soft);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

#astroV2HoroscopeView .astro-v2-theme-pill:hover {
  color: var(--tx-strong);
  border-color: rgba(230, 210, 130, 0.34);
  box-shadow:
    0 0 0 1px rgba(230, 210, 130, 0.06) inset,
    0 10px 22px rgba(0, 0, 0, 0.28),
    0 0 16px rgba(230, 210, 130, 0.08);
  transform: translateY(-1px);
}

#astroV2HoroscopeView .astro-v2-theme-pill.active {
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
    rgba(11, 17, 32, 0.92);
  color: var(--gold-main);
  border-color: rgba(230, 210, 130, 0.34);
  box-shadow:
    0 0 0 1px rgba(230, 210, 130, 0.08) inset,
    0 12px 28px rgba(0, 0, 0, 0.30),
    0 0 18px rgba(230, 210, 130, 0.10);
}

#astroV2HoroscopeView .astro-v2-sign-btn {
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.025), rgba(255,255,255,0.008)),
    rgba(11, 17, 32, 0.76);
  border: 1px solid rgba(230, 210, 130, 0.12);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

#astroV2HoroscopeView .astro-v2-sign-btn:hover {
  border-color: rgba(230, 210, 130, 0.72);
  box-shadow:
    0 0 22px rgba(230, 210, 130, 0.18),
    0 14px 30px rgba(0, 0, 0, 0.34);
  transform: translateY(-2px);
}

#astroV2HoroscopeView .astro-v2-sign-btn.active {
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.04), rgba(255,255,255,0.012)),
    rgba(15, 23, 42, 0.88);
  border-color: rgba(230, 210, 130, 0.62);
  box-shadow:
    0 0 0 1px rgba(230, 210, 130, 0.08) inset,
    0 0 24px rgba(230, 210, 130, 0.16),
    0 12px 26px rgba(0, 0, 0, 0.30);
}

#astroV2HoroscopeView .astro-v2-sign-btn .sign-symbol {
  text-shadow: 0 0 10px rgba(230, 210, 130, 0.10);
}

#astroV2HoroscopeView .astro-v2-sign-btn .sign-name {
  color: var(--text-soft);
}

#astroV2HoroscopeView #horoscopeResult {
  margin-top: 22px;
  margin-inline: auto;
  max-width: 860px;
  padding: 28px 30px;
  background: rgba(6, 10, 18, 0.92);
  border-radius: 16px;
  border: 1px solid rgba(230, 210, 130, 0.16);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  text-align: left;
  color: var(--text-main);
}

#astroV2HoroscopeView #horoscopeResult:empty::before {
  color: var(--tx-muted);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.7;
}

#astroV2HoroscopeView .astro-v2-loading {
  color: rgba(224, 198, 116, 0.92);
  font-size: 0.95rem;
}

#astroV2HoroscopeView .astro-v2-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(230, 210, 130, 0.10);
}

#astroV2HoroscopeView .astro-v2-result-sign {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
}

#astroV2HoroscopeView .astro-v2-result-date {
  font-size: 0.85rem;
  color: var(--tx-muted);
}

#astroV2HoroscopeView .astro-v2-result-cap {
  margin: 0 0 1rem;
  color: var(--text-soft);
  opacity: 0.96;
  font-size: 1rem;
  line-height: 1.88;
  font-weight: 400;
}

#astroV2HoroscopeView .astro-v2-result-theme {
  color: var(--text-soft);
  opacity: 0.96;
  font-size: 1rem;
  line-height: 1.88;
}

#astroV2HoroscopeView .astro-v2-result-theme strong {
  display: block;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-main);
  margin-bottom: 14px;
  text-align: left;
}

#astroV2HoroscopeView .astro-v2-result-theme p {
  margin: 0 0 1rem;
  color: var(--text-soft);
  opacity: 0.96;
}

#astroV2HoroscopeView .astro-v2-result-theme p:last-child {
  margin-bottom: 0;
}

#astroV2HoroscopeView .astro-v2-result-action {
  color: var(--text-soft) !important;
  opacity: 0.96;
  font-weight: 400;
}

@media (max-width: 768px) {
  #astroV2HoroscopeView .astro-v2-theme-pills {
      width: 100%;
      max-width: 100%;
      gap: 8px;
    }

  #astroV2HoroscopeView .astro-v2-theme-pill {
      padding: 9px 14px;
      font-size: 0.84rem;
    }

  #astroV2HoroscopeView #horoscopeResult {
      padding: 22px 18px;
    }

}

@media print {
  #premiumPrintZone,
    #premiumPrintZone * {
      visibility: visible !important;  /* fix bug 1 v2 — bat le body * !important du karma */
    }

  #astroV2ProfileView,
    #astroProfileFullResult,
    #astroProfileResultContent,
    #premiumPrintZone {
      display: block !important;
    }

  #premiumPrintZone {
      position: absolute;
      left: 50% !important;
      top: 0;
      transform: translateX(-50%) !important;
      width: 100% !important;
      max-width: 210mm !important;
      background-color: #020617 !important;
      color: #ffffff !important;
      margin: 0 !important;
      padding: 15mm !important;
      box-sizing: border-box !important;
    }

  #premiumPrintZone .astro-full-chart-section,
    #premiumPrintZone .astro-profile-cards-section,
    #premiumPrintZone .astro-profile-history-section {
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      text-align: center !important;
    }

  #premiumPrintZone .astro-natal-chart-container {
      display: flex !important;
      justify-content: center !important;
      width: 100% !important;
    }

  #premiumPrintZone .astro-profile-big3 {
      display: flex !important;
      justify-content: center !important;
      width: 100% !important;
    }

  #premiumPrintZone .astro-section-title {
      text-align: center !important;
      width: 100% !important;
    }

  #premiumPrintZone .astro-profile-signature {
      text-align: center !important;
      max-width: 90% !important;
      margin: 20px auto !important;
    }

  #premiumPrintZone .astro-profile-cards-grid {
      justify-content: center !important;
    }

  .astro-chart-wrapper,
    .premium-card,
    .chart-with-legend,
    .astro-full-chart-section {
      page-break-inside: avoid !important;
      break-inside: avoid !important;
      margin-bottom: 30px !important;
    }

  .astro-page-one,
    .astro-page-two {
      break-after: page !important;
      page-break-after: always !important;
    }

}

#astroV2RelationsView .astro-v2-tab {
  padding: 10px 20px;
  background: rgba(11, 17, 32, 0.82);
  border: 1px solid rgba(230, 210, 130, 0.18);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

#astroV2RelationsView .astro-v2-tab:hover {
  color: var(--tx-strong);
  border-color: rgba(230, 210, 130, 0.34);
  box-shadow:
    0 0 0 1px rgba(230, 210, 130, 0.06) inset,
    0 10px 22px rgba(0, 0, 0, 0.28),
    0 0 16px rgba(230, 210, 130, 0.08);
  transform: translateY(-1px);
}

#astroV2RelationsView .astro-v2-tab.active {
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
    rgba(11, 17, 32, 0.92);
  color: var(--gold-main);
  border-color: rgba(230, 210, 130, 0.34);
  box-shadow:
    0 0 0 1px rgba(230, 210, 130, 0.08) inset,
    0 12px 28px rgba(0, 0, 0, 0.30),
    0 0 18px rgba(230, 210, 130, 0.10);
}

#astroV2RelationsView .astro-v2-rel-mode-pills {
  width: 480px;
  max-width: 480px;
  margin: 14px auto 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

#astroV2RelationsView .astro-v2-theme-pill {
  appearance: none;
  border: 1px solid rgba(230, 210, 130, 0.18);
  background: rgba(11, 17, 32, 0.82);
  color: var(--text-soft);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

#astroV2RelationsView .astro-v2-theme-pill:hover {
  color: var(--tx-strong);
  border-color: rgba(230, 210, 130, 0.34);
  box-shadow:
    0 0 0 1px rgba(230, 210, 130, 0.06) inset,
    0 10px 22px rgba(0, 0, 0, 0.28),
    0 0 16px rgba(230, 210, 130, 0.08);
  transform: translateY(-1px);
}

#astroV2RelationsView .astro-v2-theme-pill.active {
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
    rgba(11, 17, 32, 0.92);
  color: var(--gold-main);
  border-color: rgba(230, 210, 130, 0.34);
  box-shadow:
    0 0 0 1px rgba(230, 210, 130, 0.08) inset,
    0 12px 28px rgba(0, 0, 0, 0.30),
    0 0 18px rgba(230, 210, 130, 0.10);
}

#astroV2RelationsView .astro-v2-sign-btn {
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.025), rgba(255,255,255,0.008)),
    rgba(11, 17, 32, 0.76);
  border: 1px solid rgba(230, 210, 130, 0.12);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

#astroV2RelationsView .astro-v2-sign-btn:hover {
  border-color: rgba(230, 210, 130, 0.72);
  box-shadow:
    0 0 22px rgba(230, 210, 130, 0.18),
    0 14px 30px rgba(0, 0, 0, 0.34);
  transform: translateY(-2px);
}

#astroV2RelationsView .astro-v2-sign-btn.active {
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.04), rgba(255,255,255,0.012)),
    rgba(15, 23, 42, 0.88);
  border-color: rgba(230, 210, 130, 0.62);
  box-shadow:
    0 0 0 1px rgba(230, 210, 130, 0.08) inset,
    0 0 24px rgba(230, 210, 130, 0.16),
    0 12px 26px rgba(0, 0, 0, 0.30);
}

#astroV2RelationsView .astro-v2-sign-btn .sign-symbol {
  text-shadow: 0 0 10px rgba(230, 210, 130, 0.10);
}

#astroV2RelationsView .astro-v2-sign-btn .sign-name {
  color: var(--text-soft);
}

#astroV2RelationsView #relationsResult {
  margin-top: 22px;
  margin-inline: auto;
  max-width: 860px;
  padding: 28px 30px;
  background: rgba(6, 10, 18, 0.92);
  border-radius: 16px;
  border: 1px solid rgba(230, 210, 130, 0.16);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  text-align: left;
  color: var(--text-main);
}

#astroV2RelationsView #relationsResult:empty::before {
  color: var(--tx-muted);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.7;
}

#astroV2RelationsView .astro-v2-loading {
  color: rgba(224, 198, 116, 0.92);
  font-size: 0.95rem;
}

#astroV2RelationsView .astro-v2-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(230, 210, 130, 0.10);
}

#astroV2RelationsView .astro-v2-result-sign {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
}

#astroV2RelationsView .astro-v2-result-mode {
  font-size: 0.85rem;
  color: var(--tx-muted);
}

#astroV2RelationsView .astro-v2-result-cap {
  margin: 0 0 1rem;
  color: var(--text-soft);
  opacity: 0.96;
  font-size: 1rem;
  line-height: 1.88;
  font-weight: 400;
}

#astroV2RelationsView .astro-v2-result-body {
  color: var(--text-soft);
  opacity: 0.96;
  font-size: 1rem;
  line-height: 1.88;
}

#astroV2RelationsView .astro-v2-result-body p {
  margin: 0 0 1rem;
  color: var(--text-soft);
  opacity: 0.96;
}

#astroV2RelationsView .astro-v2-result-body p:last-child {
  margin-bottom: 0;
}

#astroV2RelationsView .astro-v2-result-action {
  color: var(--text-soft) !important;
  opacity: 0.96;
  font-weight: 400;
}

#astroV2RelationsView .astro-v2-result-friction {
  color: var(--text-soft) !important;
  opacity: 0.96;
}

#astroV2RelationsView .astro-v2-result-body strong {
  display: inline;
  color: var(--gold-main);
  font-weight: 600;
}

#astroV2RelationsView .astro-v2-compat-score {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-main);
  text-shadow: 0 0 20px rgba(230, 210, 130, 0.18);
}

#astroV2RelationsView .astro-v2-compat-label {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#astroV2RelationsView .astro-v2-compat-heart {
  text-shadow: 0 0 16px rgba(230, 210, 130, 0.12);
}

@media (max-width: 768px) {
  #astroV2RelationsView .astro-v2-rel-mode-pills {
      width: 100%;
      max-width: 100%;
      gap: 8px;
    }

  #astroV2RelationsView .astro-v2-theme-pill {
      padding: 9px 14px;
      font-size: 0.84rem;
    }

  #astroV2RelationsView #relationsResult {
      padding: 22px 18px;
    }

}

#astroV2RelationsView .astro-v2-gold-title {
  color: var(--gold-main) !important;
}









#astroV2RelationsView #relTodayPanel .astro-v2-sign-btn {
  min-height: 76px;
  padding: 14px 10px 12px;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.025), rgba(255,255,255,0.008)),
    rgba(11, 17, 32, 0.76);
  border: 1px solid rgba(230, 210, 130, 0.12);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

#astroV2RelationsView #relTodayPanel .astro-v2-sign-btn:hover {
  border-color: rgba(230, 210, 130, 0.72);
  box-shadow:
    0 0 22px rgba(230, 210, 130, 0.18),
    0 14px 30px rgba(0, 0, 0, 0.34);
  transform: translateY(-2px);
}

#astroV2RelationsView #relTodayPanel .astro-v2-sign-btn.active {
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.04), rgba(255,255,255,0.012)),
    rgba(15, 23, 42, 0.88);
  border-color: rgba(230, 210, 130, 0.62);
  box-shadow:
    0 0 0 1px rgba(230, 210, 130, 0.08) inset,
    0 0 24px rgba(230, 210, 130, 0.16),
    0 12px 26px rgba(0, 0, 0, 0.30);
}

#astroV2RelationsView #relTodayPanel .astro-v2-sign-btn .sign-symbol {
  text-shadow: 0 0 10px rgba(230, 210, 130, 0.10);
  font-size: 1.16rem;
  margin-bottom: 7px;
}

#astroV2RelationsView #relTodayPanel .astro-v2-sign-btn .sign-name {
  color: var(--text-soft);
  font-size: 0.70rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

#astroV2RelationsView #relCompatPanel .astro-v2-compat-picker {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  flex-wrap: nowrap;
}

#astroV2RelationsView #relCompatPanel .astro-v2-compat-grid {
  width: 264px;
  max-width: 264px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

#astroV2RelationsView #relCompatPanel .astro-v2-sign-btn {
  min-height: 68px;
  padding: 12px 7px 11px;
  border-radius: 10px;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.025), rgba(255,255,255,0.008)),
    rgba(11, 17, 32, 0.76);
  border: 1px solid rgba(230, 210, 130, 0.12);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

#astroV2RelationsView #relCompatPanel .astro-v2-sign-btn:hover {
  border-color: rgba(230, 210, 130, 0.72);
  box-shadow:
    0 0 22px rgba(230, 210, 130, 0.18),
    0 14px 30px rgba(0, 0, 0, 0.34);
  transform: translateY(-2px);
}

#astroV2RelationsView #relCompatPanel .astro-v2-sign-btn.active {
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.04), rgba(255,255,255,0.012)),
    rgba(15, 23, 42, 0.88);
  border-color: rgba(230, 210, 130, 0.62);
  box-shadow:
    0 0 0 1px rgba(230, 210, 130, 0.08) inset,
    0 0 24px rgba(230, 210, 130, 0.16),
    0 12px 26px rgba(0, 0, 0, 0.30);
}

#astroV2RelationsView #relCompatPanel .astro-v2-sign-btn .sign-symbol {
  text-shadow: 0 0 10px rgba(230, 210, 130, 0.10);
  font-size: 1.08rem;
  margin-bottom: 5px;
}

#astroV2RelationsView #relCompatPanel .astro-v2-sign-btn .sign-name {
  color: var(--text-soft);
  font-size: 0.64rem;
  line-height: 1.1;
}

#astroV2RelationsView #relCompatPanel .astro-v2-compat-heart {
  align-self: center;
  margin-top: -6px;
}

#astroV2RelationsView #relCompatPanel .astro-v2-compat-col h4,
#astroV2RelationsView #relCompatPanel .astro-v2-compat-col label {
  margin-bottom: 10px;
}

#astroV2RelationsView #relationsTodayResult,
#astroV2RelationsView #relationsCompatResult {
  margin-top: 22px;
  margin-inline: auto;
  padding: 28px 30px;
  background: rgba(6, 10, 18, 0.92);
  border-radius: 16px;
  border: 1px solid rgba(230, 210, 130, 0.16);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  text-align: left;
  color: var(--text-main);
}

#astroV2RelationsView #relationsTodayResult {
  max-width: 560px;
  width: min(560px, 90vw);
}

#astroV2RelationsView #relationsCompatResult {
  max-width: 720px;
  width: min(720px, 90vw);
}

#astroV2RelationsView #relationsTodayResult:empty::before,
#astroV2RelationsView #relationsCompatResult:empty::before {
  color: var(--tx-muted);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.7;
}

#astroV2RelationsView #relationsTodayResult:empty::before {
  content: "Choisis ton signe pour découvrir l'énergie relationnelle du jour.";
}

#astroV2RelationsView #relationsCompatResult:empty::before {
  content: "Choisis deux signes pour découvrir leur compatibilité.";
}









#astroV2RelationsView .astro-v2-result-action,
#astroV2RelationsView .astro-v2-result-friction {
  color: var(--text-soft) !important;
  opacity: 0.96;
  font-weight: 400;
}

#astroV2RelationsView .astro-v2-result-body strong {
  color: var(--gold-main);
  font-weight: 600;
}




@media (max-width: 900px) {
  #astroV2RelationsView .astro-v2-rel-mode-pills {
      width: 100%;
      max-width: 100%;
      gap: 8px;
    }

  #astroV2RelationsView .astro-v2-theme-pill {
      padding: 9px 14px;
      font-size: 0.84rem;
    }

  #astroV2RelationsView #relCompatPanel .astro-v2-compat-picker {
      flex-wrap: nowrap;
      justify-content: center;
      align-items: flex-start;
      gap: 10px;
    }

  
  
  
  
  #astroV2RelationsView #relCompatPanel .astro-v2-compat-heart {
      margin-top: 12px;
      transform: scale(0.9);
    }

  #astroV2RelationsView #relationsTodayResult {
      max-width: 560px;
      width: min(560px, 92vw);
      padding: 24px 22px;
    }

  #astroV2RelationsView #relationsCompatResult {
      max-width: 620px;
      width: min(620px, 92vw);
      padding: 24px 22px;
    }

}

@media (max-width: 640px) {
  
  #astroV2RelationsView #relCompatPanel .astro-v2-compat-heart {
      order: 2;
      width: 100%;
      text-align: center;
      margin-top: 0;
      transform: none;
    }

  #astroV2RelationsView #relCompatPanel .astro-v2-compat-col:first-child {
      order: 1;
    }

  #astroV2RelationsView #relCompatPanel .astro-v2-compat-col:last-child {
      order: 3;
    }

  
  
  
  
}

#astroV2RelationsView .astro-v2-result-header.astro-v2-compat-header {
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  /* Override des inline styles JS : layout colonne sur mobile pour éviter le débordement
     des noms de signes (Capricorne, Bélier...) dans le grid 1fr auto 1fr */
  #astroV2RelationsView .astro-v2-result-header.astro-v2-compat-header {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    align-items: center !important;
    gap: 10px !important;
  }

  #astroV2RelationsView .astro-v2-result-header.astro-v2-compat-header > * {
    justify-self: center !important;
    max-width: 100%;
  }

  #astroV2RelationsView .astro-v2-result-header.astro-v2-compat-header .astro-v2-result-sign {
    font-size: 1.1rem;
    text-align: center;
  }
}

#astroV2RelationsView #relTodayPanel .astro-v2-sign-grid {
  width: 480px !important;
  max-width: 480px !important;
  gap: 10px !important;
  margin: 20px auto !important;
}

#astroV2RelationsView #relTodayPanel .astro-v2-sign-btn {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px 8px !important;
  min-height: 70px !important;
  border-radius: 12px !important;
}

#astroV2RelationsView #relTodayPanel .astro-v2-sign-btn .sign-symbol {
  font-size: 1.5rem !important;
  margin-bottom: 4px !important;
}

#astroV2RelationsView #relTodayPanel .astro-v2-sign-btn .sign-name {
  font-size: 0.75rem !important;
}

#astroV2RelationsView #relCompatPanel .astro-v2-compat-grid {
  width: 290px !important;
  max-width: 290px !important;
  gap: 10px !important;
}

#astroV2RelationsView #relCompatPanel .astro-v2-sign-btn {
  min-height: 78px !important;
  padding: 15px 8px 14px !important;
}

#astroV2RelationsView #relCompatPanel .astro-v2-sign-btn .sign-symbol {
  font-size: 1.22rem !important;
  margin-bottom: 5px !important;
}

#astroV2RelationsView #relCompatPanel .astro-v2-sign-btn .sign-name {
  font-size: 0.71rem !important;
  line-height: 1.1 !important;
}

@media (max-width: 900px) {
  #astroV2RelationsView #relCompatPanel .astro-v2-compat-grid {
      width: 248px !important;
      max-width: 248px !important;
      gap: 8px !important;
    }

  #astroV2RelationsView #relCompatPanel .astro-v2-sign-btn {
      min-height: 66px !important;
      padding: 12px 6px 11px !important;
    }

  #astroV2RelationsView #relCompatPanel .astro-v2-sign-btn .sign-symbol {
      font-size: 1.08rem !important;
    }

  #astroV2RelationsView #relCompatPanel .astro-v2-sign-btn .sign-name {
      font-size: 0.64rem !important;
    }

}

#astroV2BiorhythmView .astro-v2-btn {
  background: rgba(11, 17, 32, 0.92);
  color: var(--gold-main);
  border: 1px solid rgba(230, 210, 130, 0.24);
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.26);
}

#astroV2BiorhythmView .astro-v2-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(230, 210, 130, 0.42);
  box-shadow:
    0 0 18px rgba(230, 210, 130, 0.10),
    0 14px 30px rgba(0, 0, 0, 0.32);
}

#astroV2BiorhythmView .astro-v2-bio-synthesis {
  color: var(--gold-soft);
  font-style: italic;
}

#astroV2BiorhythmView .astro-v2-form label {
  color: var(--tx-soft);
}

@media (max-width: 640px) {
  #astroV2BiorhythmView img.astro-v2-hero-img {
      display: block !important;
    }

}

#astroV2ProfileView .astro-v2-tabs {
  gap: 12px;
  margin-bottom: 0;
  margin-top: 8px;
}

#astroV2ProfileView .astro-v2-profile-tab {
  padding: 12px 26px;
  background: rgba(11, 17, 32, 0.82);
  border: 1px solid rgba(230, 210, 130, 0.14);
  border-radius: 10px;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

#astroV2ProfileView .astro-v2-profile-tab:hover {
  border-color: rgba(230, 210, 130, 0.42);
  color: var(--gold-main);
  box-shadow:
    0 0 16px rgba(230, 210, 130, 0.08),
    0 10px 24px rgba(0, 0, 0, 0.24);
}

#astroV2ProfileView .astro-v2-profile-tab.active {
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
    rgba(11, 17, 32, 0.92);
  border-color: rgba(230, 210, 130, 0.34);
  color: var(--gold-main);
  box-shadow:
    0 0 0 1px rgba(230, 210, 130, 0.08) inset,
    0 12px 28px rgba(0, 0, 0, 0.30),
    0 0 18px rgba(230, 210, 130, 0.10);
}

#astroV2ProfileView .astro-v2-sign-btn {
  min-height: 76px;
  padding: 14px 10px 12px;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.025), rgba(255,255,255,0.008)),
    rgba(11, 17, 32, 0.76);
  border: 1px solid rgba(230, 210, 130, 0.12);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

#astroV2ProfileView .astro-v2-sign-btn:hover {
  border-color: rgba(230, 210, 130, 0.72);
  box-shadow:
    0 0 22px rgba(230, 210, 130, 0.18),
    0 14px 30px rgba(0, 0, 0, 0.34);
  transform: translateY(-2px);
}

#astroV2ProfileView .astro-v2-sign-btn.active {
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.04), rgba(255,255,255,0.012)),
    rgba(15, 23, 42, 0.88);
  border-color: rgba(230, 210, 130, 0.62);
  box-shadow:
    0 0 0 1px rgba(230, 210, 130, 0.08) inset,
    0 0 24px rgba(230, 210, 130, 0.16),
    0 12px 26px rgba(0, 0, 0, 0.30);
}


#astroV2ProfileView .astro-v2-sign-btn .sign-name {
  color: var(--text-soft);
}

#astroV2ProfileView .astro-profile-cards-grid {
  gap: 18px;
  margin-top: 18px;
}

#astroV2ProfileView .astro-profile-card {
  background: rgba(6, 10, 18, 0.92);
  border: 1px solid rgba(230, 210, 130, 0.16);
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

#astroV2ProfileView .astro-profile-card:hover {
  border-color: rgba(230, 210, 130, 0.30);
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.48),
    0 0 16px rgba(230, 210, 130, 0.05),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  transform: translateY(-1px);
}

#astroV2ProfileView .astro-profile-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

#astroV2ProfileView .astro-profile-card-icon {
  font-size: 1.05rem;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(230, 210, 130, 0.10));
}

#astroV2ProfileView .astro-profile-card-label {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-main);
}

#astroV2ProfileView .astro-profile-card-text {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.72;
  opacity: 0.96;
}

#astroV2ProfileView .astro-required {
  color: #f0c674;
  margin-left: 2px;
}

#astroV2ProfileView .astro-btn-gold {
  position: relative;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1.5px solid rgba(230, 210, 130, 0.58);
  background: rgba(11, 17, 32, 0.90);
  color: var(--gold-main);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.28),
    0 0 10px rgba(230, 210, 130, 0.04);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
  cursor: pointer;
  width: auto;
  margin: 20px auto 0;
  display: block;
}

#astroV2ProfileView .astro-btn-gold::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(230, 210, 130, 0.10) 0%,
    rgba(230, 210, 130, 0.03) 100%
  );
  opacity: 0.9;
  pointer-events: none;
}

#astroV2ProfileView .astro-btn-gold:hover {
  transform: translateY(-1px);
  background: rgba(14, 21, 38, 0.95);
  color: var(--gold-soft);
  border-color: rgba(230, 210, 130, 0.82);
  box-shadow:
    0 0 20px rgba(230, 210, 130, 0.16),
    0 14px 30px rgba(0, 0, 0, 0.34);
}

#astroV2ProfileView .astro-btn-gold:active {
  transform: translateY(0) scale(0.985);
}

#astroV2ProfileView .astro-btn-gold:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

#astroV2ProfileView .astro-profile-form-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

#astroV2ProfileView .astro-profile-form-actions .astro-btn-gold {
  display: inline-block;
  margin: 0;
  flex: 1;
  max-width: 220px;
}

#astroV2ProfileView .astro-profile-premium-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

#astroV2ProfileView .astro-profile-add-btn {
  width: 56px;
  height: 72px;
  border-radius: 14px;
  background: rgba(11, 17, 32, 0.82);
  border: 1px solid rgba(230, 210, 130, 0.3);
  color: var(--gold-main);
  font-size: 1.8rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

#astroV2ProfileView .astro-profile-add-btn:hover {
  background: rgba(230, 210, 130, 0.1);
  border-color: rgba(230, 210, 130, 0.65);
  box-shadow: 0 0 18px rgba(230, 210, 130, 0.12);
  transform: scale(1.04);
}

#astroV2ProfileView .astro-profile-existing-pills {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

#astroV2ProfileView .astro-profile-pill-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

#astroV2ProfileView .astro-profile-delete-btn {
  background: none;
  border: none;
  font-size: 0.85em;
  opacity: 0.45;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  transition: opacity 0.2s;
}

#astroV2ProfileView .astro-profile-delete-btn:hover {
  opacity: 1;
  background: rgba(220, 38, 38, 0.15);
}

#astroV2ProfileView .astro-profile-existing-pill {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(230, 210, 130, 0.18);
  border-radius: 14px;
  padding: 14px 10px;
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 128px;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

#astroV2ProfileView .astro-profile-existing-pill:hover {
  border-color: rgba(230, 210, 130, 0.42);
  box-shadow: 0 0 18px rgba(230, 210, 130, 0.1), 0 10px 28px rgba(0, 0, 0, 0.4);
  color: var(--gold-soft);
}

#astroV2ProfileView .astro-profile-existing-pill.active {
  border-color: rgba(230, 210, 130, 0.58);
  background: rgba(230, 210, 130, 0.08);
  color: var(--gold-main);
  box-shadow: 0 0 22px rgba(230, 210, 130, 0.14), 0 10px 28px rgba(0, 0, 0, 0.4);
}

#astroV2ProfileView .astro-profile-existing-pill .pill-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--tx-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 108px;
}

#astroV2ProfileView .astro-profile-existing-pill.active .pill-name {
  color: var(--gold-main);
}

#astroV2ProfileView .astro-profile-existing-pill .pill-date {
  font-size: 0.78rem;
  opacity: 0.65;
  letter-spacing: 0.02em;
}

#astroV2ProfileView .astro-profile-empty-msg {
  text-align: center;
  color: var(--text-soft);
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 10px;
}

#astroV2ProfileView .astro-profile-back-btn {
  background: transparent;
  border: none;
  color: var(--text-soft);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 8px 0;
  margin-bottom: 12px;
  display: block;
  transition: color 0.2s ease;
}

#astroV2ProfileView .astro-profile-back-btn:hover {
  color: var(--gold-main);
}

#astroV2ProfileView .astro-profile-full-result {
  padding: 20px 0;
}

#astroV2ProfileView .astro-profile-full-content {
  max-width: 800px;
  margin: 0 auto;
}

#astroV2ProfileView #astroResultBackBtn {
  background: transparent;
  border: 1px solid rgba(230, 210, 130, 0.3);
  color: var(--text-soft);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 10px 20px;
  margin-bottom: 30px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

#astroV2ProfileView #astroResultBackBtn:hover {
  color: var(--gold-main);
  border-color: rgba(230, 210, 130, 0.5);
}

#astroV2ProfileView .astro-section-title {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-main);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

#astroV2ProfileView .astro-profile-signature {
  text-align: left;
  font-size: 0.93rem;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 680px;
  margin: 24px auto 44px;
  padding: 16px 22px;
  font-style: normal;
  background: rgba(6, 10, 18, 0.92);
  border: 1px solid rgba(230, 210, 130, 0.16);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.44), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

#astroV2ProfileView .astro-profile-signature p {
  margin: 0 0 10px 0;
}

#astroV2ProfileView .astro-profile-signature p:last-child {
  margin-bottom: 0;
}

#astroV2ProfileView .astro-profile-cards-section {
  margin-top: 50px;
}

#astroV2ProfileView .astro-profile-history-section {
  margin-top: 60px;
}

#astroV2ProfileView .astro-history-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  #astroV2ProfileView .astro-history-grid {
      grid-template-columns: 1fr;
    }

}

#astroV2ProfileView .astro-profile-actions-bar {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(230, 210, 130, 0.1);
  flex-wrap: wrap;
}

#astroV2ProfileView .astro-profile-action-btn {
  background: rgba(11, 17, 32, 0.82);
  border: 1px solid rgba(230, 210, 130, 0.3);
  color: var(--text-soft);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 12px 24px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

#astroV2ProfileView .astro-profile-action-btn:hover {
  color: var(--gold-main);
  border-color: rgba(230, 210, 130, 0.5);
  background: rgba(230, 210, 130, 0.08);
}

#astroV2ProfileView .astro-btn-pdf {
  background: rgba(230, 126, 34, 0.15);
  border-color: rgba(230, 126, 34, 0.4);
  color: #e67e22;
}

#astroV2ProfileView .astro-btn-pdf:hover {
  background: rgba(230, 126, 34, 0.25);
  border-color: rgba(230, 126, 34, 0.6);
}

#astroV2ProfileView .no-screen {
  display: none;
}

@media print {
  #astroV2ProfileView .astro-profile-full-content,
    #astroV2ProfileView .astro-profile-actions-bar {
      display: none !important;
    }

  #astroV2ProfileView .no-screen {
      display: block !important;
    }

  #astroV2ProfileView #premiumPrintZone {
      padding: 4mm 10mm !important;
    }

  #astroV2ProfileView .astro-print-page {
      padding: 0;
      text-align: center;
    }

  #astroV2ProfileView .astro-page-one {
      break-after: page !important;
      page-break-after: always !important;
    }

  #astroV2ProfileView .astro-page-two {
      break-after: page !important;
      page-break-after: always !important;
    }

  #astroV2ProfileView .astro-natal-chart-container svg {
      width: 230px !important;
      height: 230px !important;
    }

  #astroV2ProfileView .astro-section-title {
      text-align: center;
      margin: 6px auto !important;
    }

  #astroV2ProfileView .astro-full-chart-section {
      text-align: center;
    }

  #astroV2ProfileView .astro-profile-big3 {
      justify-content: center;
    }

  #astroV2ProfileView .astro-profile-signature {
      text-align: left !important;
      font-style: normal !important;
      font-size: 0.82rem !important;
      line-height: 1.6 !important;
      padding: 10px 14px !important;
      margin: 6px auto 10px !important;
      border-left: 2px solid rgba(230, 210, 130, 0.4) !important;
      background: rgba(230, 210, 130, 0.03) !important;
      border-radius: 0 6px 6px 0 !important;
      max-width: 100% !important;
    }

  #astroV2ProfileView .astro-profile-card {
      break-inside: avoid !important;
      page-break-inside: avoid !important;
    }

  #astroV2ProfileView .astro-profile-cards-grid {
      display: grid !important;
      grid-template-columns: 1fr 1fr !important;
      gap: 8px !important;
      justify-content: center !important;
    }

  #astroV2ProfileView .astro-page-three {
      background: #020617 !important;
    }

}

#astroV2ProfileView .astro-natal-chart-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

#astroV2ProfileView .astro-natal-chart-container svg {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  #astroV2ProfileView .astro-natal-chart-container {
      padding: 12px;
    }

  #astroV2ProfileView .astro-profile-full-result,
    #astroV2ProfileView .astro-profile-full-content,
    #astroV2ProfileView #premiumPrintZone {
      max-width: 100%;
      box-sizing: border-box;
      overflow-x: hidden;
    }

  #astroV2ProfileView .natal-chart-legend {
      max-width: 100% !important;
      box-sizing: border-box;
    }

}

#astroV2ProfileView .astro-full-chart-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

#astroV2ProfileView .astro-profile-big3 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

@media (min-width: 769px) {
  #astroV2ProfileView.view.active {
      justify-content: flex-start;
    }

}

@media (max-width: 640px) {
  #astroV2HoroscopeView {
      overflow-x: hidden !important;
    }

  #astroV2HoroscopeView img.astro-v2-hero-img {
      display: block !important;
    }

  #astroV2HoroscopeView .astro-v2-sign-grid {
      width: 100% !important;
      max-width: 100% !important;
      margin: 12px auto !important;
      padding: 0 10px !important;
      box-sizing: border-box !important;
      gap: 8px !important;
      grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

  #astroV2HoroscopeView .astro-v2-sign-btn {
      min-height: 56px !important;
      padding: 8px 4px 7px !important;
      border-radius: 11px !important;
      min-width: 0 !important;
    }

  #astroV2HoroscopeView .astro-v2-sign-btn .sign-symbol {
      font-size: 0.98rem !important;
      margin-bottom: 3px !important;
    }

  #astroV2HoroscopeView .astro-v2-sign-btn .sign-name {
      font-size: 0.60rem !important;
      line-height: 1.05 !important;
    }

  #astroV2HoroscopeView .astro-v2-theme-pills,
    #astroV2HoroscopeView #horoscopeResult {
      width: min(100%, calc(100vw - 20px)) !important;
      max-width: min(100%, calc(100vw - 20px)) !important;
      margin-left: auto !important;
      margin-right: auto !important;
      box-sizing: border-box !important;
    }

}

#astroV2HoroscopeView .astro-wrapper {
  transform: translateY(-5px) !important;
}

@media (max-width: 640px) {
  #astroV2RelationsView {
      overflow-x: hidden !important;
    }

  #astroV2RelationsView .astro-wrapper {
      width: 100% !important;
      max-width: 100% !important;
      margin: 0 auto !important;
      transform: translateY(-5px) !important;
    }

  #astroV2RelationsView img.astro-v2-hero-img {
      display: block !important;
    }

  #astroV2RelationsView .astro-title {
      margin-top: 0 !important;
      margin-bottom: 4px !important;
    }

  #astroV2RelationsView .astro-subtitle {
      margin-top: 0 !important;
      margin-bottom: 10px !important;
      text-align: center !important;
    }

  #astroV2RelationsView .astro-v2-theme-pills {
      width: min(100%, calc(100vw - 20px)) !important;
      max-width: min(100%, calc(100vw - 20px)) !important;
      margin: 0 auto 10px !important;
      box-sizing: border-box !important;
      justify-content: center !important;
    }

  #astroV2RelationsView #relTodayPanel .astro-v2-sign-grid {
      width: 100% !important;
      max-width: 100% !important;
      margin: 12px auto !important;
      padding: 0 10px !important;
      box-sizing: border-box !important;
      gap: 8px !important;
      grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
      justify-content: center !important;
    }

  #astroV2RelationsView #relTodayPanel .astro-v2-sign-btn {
      min-height: 56px !important;
      padding: 8px 4px 7px !important;
      border-radius: 11px !important;
      min-width: 0 !important;
    }

  #astroV2RelationsView #relTodayPanel .astro-v2-sign-btn .sign-symbol {
      font-size: 0.98rem !important;
      margin-bottom: 3px !important;
    }

  #astroV2RelationsView #relTodayPanel .astro-v2-sign-btn .sign-name {
      font-size: 0.60rem !important;
      line-height: 1.05 !important;
    }

  #astroV2RelationsView #relCompatPanel .astro-v2-compat-picker {
      width: 100% !important;
      max-width: 100% !important;
      margin: 10px auto 0 !important;
      justify-content: center !important;
      align-items: flex-start !important;
      gap: 14px !important;
      flex-wrap: wrap !important;
      box-sizing: border-box !important;
    }

  
  #astroV2RelationsView #relCompatPanel .astro-v2-compat-grid {
      width: 220px !important;
      max-width: 220px !important;
      gap: 8px !important;
      margin: 0 auto !important;
    }

  #astroV2RelationsView #relCompatPanel .astro-v2-sign-btn {
      min-height: 58px !important;
      padding: 9px 5px 8px !important;
      border-radius: 10px !important;
    }

  #astroV2RelationsView #relCompatPanel .astro-v2-sign-btn .sign-symbol {
      font-size: 0.98rem !important;
      margin-bottom: 3px !important;
    }

  #astroV2RelationsView #relCompatPanel .astro-v2-sign-btn .sign-name {
      font-size: 0.60rem !important;
      line-height: 1.05 !important;
    }

  #astroV2RelationsView #relCompatPanel .astro-v2-compat-heart {
      width: 100% !important;
      text-align: center !important;
      margin: 2px 0 0 !important;
      transform: scale(0.9) !important;
    }

  #astroV2RelationsView #relationsTodayResult,
    #astroV2RelationsView #relationsCompatResult {
      width: min(100%, calc(100vw - 20px)) !important;
      max-width: min(100%, calc(100vw - 20px)) !important;
      margin-left: auto !important;
      margin-right: auto !important;
      box-sizing: border-box !important;
    }

  
  #astroV2RelationsView #relCompatPanel .astro-v2-compat-grid {
      margin-left: auto !important;
      margin-right: auto !important;
    }

  
  #astroV2RelationsView #relCompatPanel .astro-v2-compat-picker {
      width: 100% !important;
      max-width: 100% !important;
      justify-content: center !important;
      align-items: flex-start !important;
    }

  #astroV2RelationsView #relCompatPanel .astro-v2-compat-col {
      width: 100% !important;
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      justify-content: flex-start !important;
      text-align: center !important;
    }

  #astroV2RelationsView #relCompatPanel .astro-v2-compat-grid {
      width: 228px !important;
      max-width: 228px !important;
      margin: 0 auto !important;
      justify-self: center !important;
    }

  #astroV2RelationsView #relCompatPanel .astro-v2-compat-col h4,
    #astroV2RelationsView #relCompatPanel .astro-v2-compat-col label {
      width: 100% !important;
      text-align: center !important;
      margin-left: auto !important;
      margin-right: auto !important;
    }

  #astroV2ProfileView img.astro-v2-hero-img {
      display: block !important;
    }

  #astroV2ProfileView .astro-wrapper {
      transform: translateY(-5px) !important;
    }

  #astroV2ProfileView .astro-v2-sign-btn {
      min-height: 66px !important;
      padding: 11px 7px 9px !important;
      border-radius: 11px !important;
    }

  #astroV2ProfileView .astro-v2-sign-btn .sign-symbol {
      font-size: 1.22rem !important;
      margin-bottom: 3px !important;
    }

  #astroV2ProfileView .astro-v2-sign-btn .sign-name {
      font-size: 0.68rem !important;
      line-height: 1.05 !important;
    }

}

@media (min-width: 1025px) {
  #astroV2ProfileView .astro-wrapper {
      margin-top: 0px !important;
    }

}

@media (max-width: 640px) {
  #astroV2HoroscopeView .astro-title,
    #astroV2RelationsView .astro-title,
    #astroV2BiorhythmView .astro-title,
    #astroV2ProfileView .astro-title {
      font-size: 1.15rem !important;
    }

  #astroV2HoroscopeView #astroHoroscopeHeroImgWrap,
    #astroV2BiorhythmView #astroBioHeroImgWrap {
      max-width: 160px !important;
    }

  #astroV2RelationsView #astroRelationsHeroImgWrap,
    #astroV2ProfileView #astroProfilHeroImgWrap {
      max-width: 140px !important;
    }

}


/* ============================================================
   ZODIAC ICONS — swap emoji Unicode → WebP doré
   2026-05-16 — refonte visuelle identité astro
   ============================================================ */

/* Cache l'emoji Unicode + remplace par image de fond */
.astro-v2-sign-btn .sign-symbol {
  font-size: 0 !important;
  color: transparent !important;
  display: block !important;
  width: 56px;
  height: 56px;
  margin: 0 auto 4px !important;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: filter 0.2s ease, transform 0.2s ease;
}

/* Variante "small" — plus compact */
.astro-v2-sign-btn.small .sign-symbol {
  width: 42px;
  height: 42px;
}

/* Variante "mini" — très compact */
.astro-v2-sign-btn.mini .sign-symbol {
  width: 34px;
  height: 34px;
}

/* Mapping des 12 signes */
.astro-v2-sign-btn[data-sign="aries"]       .sign-symbol { background-image: url("/icons/zodiac/aries.webp"); }
.astro-v2-sign-btn[data-sign="taurus"]      .sign-symbol { background-image: url("/icons/zodiac/taurus.webp"); }
.astro-v2-sign-btn[data-sign="gemini"]      .sign-symbol { background-image: url("/icons/zodiac/gemini.webp"); }
.astro-v2-sign-btn[data-sign="cancer"]      .sign-symbol { background-image: url("/icons/zodiac/cancer.webp"); }
.astro-v2-sign-btn[data-sign="leo"]         .sign-symbol { background-image: url("/icons/zodiac/leo.webp"); }
.astro-v2-sign-btn[data-sign="virgo"]       .sign-symbol { background-image: url("/icons/zodiac/virgo.webp"); }
.astro-v2-sign-btn[data-sign="libra"]       .sign-symbol { background-image: url("/icons/zodiac/libra.webp"); }
.astro-v2-sign-btn[data-sign="scorpio"]     .sign-symbol { background-image: url("/icons/zodiac/scorpio.webp"); }
.astro-v2-sign-btn[data-sign="sagittarius"] .sign-symbol { background-image: url("/icons/zodiac/sagittarius.webp"); }
.astro-v2-sign-btn[data-sign="capricorn"]   .sign-symbol { background-image: url("/icons/zodiac/capricorn.webp"); }
.astro-v2-sign-btn[data-sign="aquarius"]    .sign-symbol { background-image: url("/icons/zodiac/aquarius.webp"); }
.astro-v2-sign-btn[data-sign="pisces"]      .sign-symbol { background-image: url("/icons/zodiac/pisces.webp"); }

/* Effets de hover et de sélection */
.astro-v2-sign-btn:hover .sign-symbol {
  filter: brightness(1.15) drop-shadow(0 0 8px rgba(212, 175, 55, 0.45));
  transform: scale(1.05);
}

.astro-v2-sign-btn.active .sign-symbol {
  filter: brightness(1.25) drop-shadow(0 0 12px rgba(212, 175, 55, 0.6));
}

/* ============================================================
   ASTRO — Fond mystique sur toutes les vues astro
   2026-05-16
   ============================================================ */

/* Portrait / mobile par défaut */
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active, #astroV2RelationsView.active, #astroV2BiorhythmView.active, #astroV2ProfileView.active) {
  background:
    radial-gradient(ellipse at center, rgba(2,6,23,0.0) 0%, rgba(2,6,23,0.55) 100%),
    linear-gradient(rgba(2, 6, 23, 0.25), rgba(2, 6, 23, 0.45)),
    url("/images/back_astro_portrait.webp") center center / cover no-repeat fixed
    #020617 !important;
}

/* Desktop large : version 16:9 */
@media (min-width: 1025px) and (orientation: landscape) {
  body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active, #astroV2RelationsView.active, #astroV2BiorhythmView.active, #astroV2ProfileView.active) {
    background:
      radial-gradient(ellipse at center, rgba(2,6,23,0.0) 0%, rgba(2,6,23,0.55) 100%),
      linear-gradient(rgba(2, 6, 23, 0.25), rgba(2, 6, 23, 0.45)),
      url("/images/back_astro_desktop.webp") center center / cover no-repeat fixed
      #020617 !important;
  }
}

/* ============================================================
   ASTRO POLISH — grammaire visuelle alignée sur tarot
   2026-05-16
   ============================================================ */

/* === TITRES en serif or saturé avec ◆ ornament === */
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .astro-v2-gold-title,
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-teaser-title,
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-header-title {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  color: #d4af37 !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.20);
  position: relative;
  padding: 0 0 18px !important;
  margin: 0 0 22px !important;
}
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .astro-v2-gold-title::after,
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-teaser-title::after,
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-header-title::after {
  content: "◆";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(212, 175, 55, 0.55);
  font-size: 0.55rem;
  font-family: "Segoe UI Symbol", Georgia, serif;
  text-transform: none;
  letter-spacing: 0;
}

/* === PANNEAUX ph-card : bord or + équerres === */
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-card {
  background: rgba(2, 6, 23, 0.78) !important;
  border: 1px solid rgba(212, 175, 55, 0.38) !important;
  border-radius: 14px !important;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.55),
    0 0 32px rgba(212, 175, 55, 0.10),
    inset 0 0 0 1px rgba(212, 175, 55, 0.08) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  position: relative;
  padding: 28px 22px !important;
}
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-card::before,
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-card::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  pointer-events: none;
}
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-card::before {
  top: 8px; left: 8px; border-right: none; border-bottom: none;
}
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-card::after {
  bottom: 8px; right: 8px; border-left: none; border-top: none;
}

/* === Bouton "Consulter mon horoscope" : palette or solide === */
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-teaser-cta-btn,
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-cta-primary {
  background: linear-gradient(180deg, #e6c66a, #c9a83f) !important;
  color: #1a0f00 !important;
  border: 1px solid rgba(212, 175, 55, 0.85) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(212, 175, 55, 0.30),
    inset 0 1px 0 rgba(255, 240, 200, 0.45) !important;
  text-shadow: none !important;
}

/* === Theme pills : palette or unifiée === */
body:has(#astroV2HoroscopeView.active) .astro-v2-theme-pill {
  background: rgba(2, 6, 23, 0.55) !important;
  color: #d4af37 !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  letter-spacing: 0.04em !important;
}
body:has(#astroV2HoroscopeView.active) .astro-v2-theme-pill:hover {
  background: rgba(212, 175, 55, 0.08) !important;
  border-color: rgba(212, 175, 55, 0.65) !important;
}
body:has(#astroV2HoroscopeView.active) .astro-v2-theme-pill.active {
  background: linear-gradient(180deg, rgba(230, 198, 106, 0.20), rgba(201, 168, 63, 0.15)) !important;
  border-color: rgba(212, 175, 55, 0.75) !important;
  color: #f0d97a !important;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.20);
}

/* === Hint "10 arcanes" : or au lieu de mauve === */
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .arcane-cost-hint {
  color: rgba(212, 175, 55, 0.7) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  letter-spacing: 0.04em !important;
  font-size: 0.85rem !important;
}

/* === Boutons signes : bord or subtil par défaut === */
body:has(#astroV2HoroscopeView.active) .astro-v2-sign-btn {
  border: 1px solid rgba(212, 175, 55, 0.22) !important;
  background: rgba(2, 6, 23, 0.55) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
body:has(#astroV2HoroscopeView.active) .astro-v2-sign-btn:hover {
  border-color: rgba(212, 175, 55, 0.55) !important;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.12) !important;
}
body:has(#astroV2HoroscopeView.active) .astro-v2-sign-btn.active {
  border-color: rgba(212, 175, 55, 0.85) !important;
  background: rgba(212, 175, 55, 0.10) !important;
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.25) !important;
}
body:has(#astroV2HoroscopeView.active) .astro-v2-sign-btn .sign-name {
  color: #d4af37 !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  letter-spacing: 0.04em !important;
}

/* === Panneau de résultat : grammaire panneau-interpretation === */
body:has(#astroV2HoroscopeView.active) .astro-v2-result:not(:empty) {
  background: rgba(2, 6, 23, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 14px;
  padding: 32px 26px 26px;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.6),
    0 0 36px rgba(212, 175, 55, 0.10),
    inset 0 0 0 1px rgba(212, 175, 55, 0.08);
  backdrop-filter: blur(6px);
  position: relative;
  line-height: 1.75;
  margin-top: 24px;
}
body:has(#astroV2HoroscopeView.active) .astro-v2-result:not(:empty)::before,
body:has(#astroV2HoroscopeView.active) .astro-v2-result:not(:empty)::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  pointer-events: none;
}
body:has(#astroV2HoroscopeView.active) .astro-v2-result:not(:empty)::before {
  top: 8px; left: 8px; border-right: none; border-bottom: none;
}
body:has(#astroV2HoroscopeView.active) .astro-v2-result:not(:empty)::after {
  bottom: 8px; right: 8px; border-left: none; border-top: none;
}
body:has(#astroV2HoroscopeView.active) .astro-v2-result > p:first-of-type::first-letter {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: 3em;
  float: left;
  line-height: 0.85;
  padding: 0.1em 0.15em 0 0;
  color: #d4af37;
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
  font-weight: 500;
  text-transform: uppercase;
}

/* === Sous-titre "Choisis ton signe..." : ton apaisé === */
body:has(#astroV2HoroscopeView.active) .astro-subtitle {
  color: #c4cfde !important;
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-style: italic;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}

/* === Result : drop-cap sur le bon paragraphe + en-tête en serif or === */
body:has(#astroV2HoroscopeView.active) .astro-v2-result-theme p:first-of-type::first-letter {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-size: 3em !important;
  float: left !important;
  line-height: 0.85 !important;
  padding: 0.1em 0.15em 0 0 !important;
  color: #d4af37 !important;
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.3) !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
}

/* Annule la règle générique pour éviter double drop-cap */
body:has(#astroV2HoroscopeView.active) .astro-v2-result > p:first-of-type::first-letter {
  all: unset;
}

body:has(#astroV2HoroscopeView.active) .astro-v2-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  margin-bottom: 18px;
}
body:has(#astroV2HoroscopeView.active) .astro-v2-result-sign {
  color: #d4af37 !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-size: 1.2rem !important;
  letter-spacing: 0.06em !important;
  font-weight: 500 !important;
}
body:has(#astroV2HoroscopeView.active) .astro-v2-result-date {
  color: rgba(212, 175, 55, 0.6) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.04em !important;
}
body:has(#astroV2HoroscopeView.active) .astro-v2-result-theme strong {
  color: #d4af37 !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
  font-size: 0.95rem;
}
body:has(#astroV2HoroscopeView.active) .astro-v2-result-cap {
  font-style: italic;
  color: #c4cfde;
  margin-bottom: 18px;
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif !important;
}
body:has(#astroV2HoroscopeView.active) .astro-v2-result-action {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(212, 175, 55, 0.14);
  color: #f0d97a;
  font-style: italic;
}

/* v17 — Fix conflit avec planchette.css (.ph-card::before line + overflow hidden) */

/* Override overflow hidden de planchette pour laisser les équerres déborder proprement */
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-card {
  overflow: visible !important;
}

/* Override l'ancien ::before (ligne dorée haut) avec NOS équerres en haut-gauche */
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-card::before {
  content: "" !important;
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  right: auto !important;
  width: 18px !important;
  height: 18px !important;
  border: 1px solid rgba(212, 175, 55, 0.55) !important;
  border-right: none !important;
  border-bottom: none !important;
  background: none !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

/* Bonus : retirer la légère ligne fine doré en haut qui devient redondante avec le bord doré complet */

/* === v18 — Glyphe doré dans en-tête résultat + boutons signes plus présents au repos === */

/* Glyphe webp dans .astro-v2-result-sign */
body:has(#astroV2HoroscopeView.active) .astro-v2-result-sign {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
}
body:has(#astroV2HoroscopeView.active) .astro-result-sign-icon {
  display: inline-block;
  width: 28px;
  height: 28px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
body:has(#astroV2HoroscopeView.active) .astro-result-sign-icon[data-sign="aries"]       { background-image: url("/icons/zodiac/aries.webp"); }
body:has(#astroV2HoroscopeView.active) .astro-result-sign-icon[data-sign="taurus"]      { background-image: url("/icons/zodiac/taurus.webp"); }
body:has(#astroV2HoroscopeView.active) .astro-result-sign-icon[data-sign="gemini"]      { background-image: url("/icons/zodiac/gemini.webp"); }
body:has(#astroV2HoroscopeView.active) .astro-result-sign-icon[data-sign="cancer"]      { background-image: url("/icons/zodiac/cancer.webp"); }
body:has(#astroV2HoroscopeView.active) .astro-result-sign-icon[data-sign="leo"]         { background-image: url("/icons/zodiac/leo.webp"); }
body:has(#astroV2HoroscopeView.active) .astro-result-sign-icon[data-sign="virgo"]       { background-image: url("/icons/zodiac/virgo.webp"); }
body:has(#astroV2HoroscopeView.active) .astro-result-sign-icon[data-sign="libra"]       { background-image: url("/icons/zodiac/libra.webp"); }
body:has(#astroV2HoroscopeView.active) .astro-result-sign-icon[data-sign="scorpio"]     { background-image: url("/icons/zodiac/scorpio.webp"); }
body:has(#astroV2HoroscopeView.active) .astro-result-sign-icon[data-sign="sagittarius"] { background-image: url("/icons/zodiac/sagittarius.webp"); }
body:has(#astroV2HoroscopeView.active) .astro-result-sign-icon[data-sign="capricorn"]   { background-image: url("/icons/zodiac/capricorn.webp"); }
body:has(#astroV2HoroscopeView.active) .astro-result-sign-icon[data-sign="aquarius"]    { background-image: url("/icons/zodiac/aquarius.webp"); }
body:has(#astroV2HoroscopeView.active) .astro-result-sign-icon[data-sign="pisces"]      { background-image: url("/icons/zodiac/pisces.webp"); }

/* === Boutons signes : un peu plus présents au repos (sans surcharger) === */
body:has(#astroV2HoroscopeView.active) .astro-v2-sign-btn {
  border: 1px solid rgba(212, 175, 55, 0.32) !important;
  background: rgba(2, 6, 23, 0.62) !important;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.04) !important;
}

/* v19 — Intégration visuelle de l'image hero (atome) au cadre or */
body:has(#astroV2HoroscopeView.active) #astroHoroscopeHeroImgWrap {
  border: 1px solid rgba(212, 175, 55, 0.38) !important;
  border-radius: 14px !important;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.55),
    0 0 36px rgba(212, 175, 55, 0.18),
    inset 0 0 0 1px rgba(212, 175, 55, 0.08) !important;
  overflow: visible !important;
  position: relative;
}

/* Équerres aux 4 coins, plus petites que sur les panneaux pour rester proportionnées */
body:has(#astroV2HoroscopeView.active) #astroHoroscopeHeroImgWrap::before,
body:has(#astroV2HoroscopeView.active) #astroHoroscopeHeroImgWrap::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(212, 175, 55, 0.7);
  pointer-events: none;
  z-index: 2;
}
body:has(#astroV2HoroscopeView.active) #astroHoroscopeHeroImgWrap::before {
  top: -1px; left: -1px;
  border-right: none;
  border-bottom: none;
}
body:has(#astroV2HoroscopeView.active) #astroHoroscopeHeroImgWrap::after {
  bottom: -1px; right: -1px;
  border-left: none;
  border-top: none;
}

/* Réimpose le clipping sur l'image elle-même (sans clip-er les équerres) */
body:has(#astroV2HoroscopeView.active) #astroHoroscopeHeroImgWrap > img,
body:has(#astroV2HoroscopeView.active) #astroHoroscopeHeroImgWrap > video {
  border-radius: 13px;
}

/* Halo doré derrière le wrap pour l'ancrer dans la composition */
body:has(#astroV2HoroscopeView.active) #astroHoroscopeHeroImgWrap {
  margin-top: 24px;
}

/* v20 — Vignette poétique sur l'état vide du résultat horoscope */
body:has(#astroV2HoroscopeView.active) .astro-v2-result:empty::before {
  content: "Choisis ton signe.\A Le ciel se penche vers toi." !important;
  white-space: pre-line;
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  color: rgba(212, 175, 55, 0.65) !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-style: italic !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.04em !important;
  line-height: 1.7 !important;
  min-height: 110px !important;
  padding: 16px 22px !important;
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.15) !important;
}

/* Décoration : un ◆ doré discret avant et après le texte */
body:has(#astroV2HoroscopeView.active) .astro-v2-result:empty {
  position: relative;
}
body:has(#astroV2HoroscopeView.active) .astro-v2-result:empty::after {
  content: "◆";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(212, 175, 55, 0.4);
  font-size: 0.6rem;
  font-family: "Segoe UI Symbol", Georgia, serif;
}

/* ============================================================
   PERSONAL HOROSCOPE — Rolls Royce polish
   Phase A + B
   2026-05-16
   ============================================================ */

body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-header-date {
  color: rgba(212, 175, 55, 0.7) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  letter-spacing: 0.06em !important;
  margin-top: 6px;
  font-size: 0.92rem;
}
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-header-sub {
  color: rgba(212, 175, 55, 0.55) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-style: italic !important;
  letter-spacing: 0.04em !important;
  font-size: 0.85rem !important;
  margin-top: 4px;
}

/* === ph-headline : verdict du jour, placé APRÈS les cartes transit === */
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-headline {
  margin: 36px auto 32px;
  max-width: 720px;
  padding: 26px 32px;
  color: #f8eecf;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  line-height: 1.4;
  letter-spacing: 0.005em;
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse at center, rgba(212, 175, 55, 0.10) 0%, rgba(212, 175, 55, 0.04) 45%, transparent 75%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.25);
}
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-headline::before,
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-headline::after {
  content: "✦";
  display: block;
  color: #d4af37;
  font-size: 0.55em;
  font-style: normal;
  opacity: 0.85;
  margin: 0 auto;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-headline::before {
  margin-bottom: 14px;
}
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-headline::after {
  margin-top: 14px;
}
@media (max-width: 600px) {
  body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-headline {
    margin: 28px auto 24px;
    padding: 20px 18px;
    font-size: 1.2rem;
    line-height: 1.45;
  }
}

/* === ph-bullet-keyword : chip doré au-dessus du title === */
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-bullet-keyword {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 10px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.08);
  color: #d4af37;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.2;
}

body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspects-section {
  margin-top: 32px;
  margin-bottom: 32px;
}
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-text-section {
  margin-top: 28px;
  line-height: 1.75;
}

body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-intro::first-letter {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: 3em;
  float: left;
  line-height: 0.85;
  padding: 0.1em 0.15em 0 0;
  color: #d4af37;
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
  font-weight: 500;
  text-transform: uppercase;
}

body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-bullet {
  margin: 26px 0;
}
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-bullet-title {
  color: #d4af37 !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-size: 1.02rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.10em !important;
  text-transform: uppercase;
  padding-bottom: 10px;
  margin-bottom: 12px !important;
  position: relative;
}
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-bullet-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.6), transparent);
}

body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-bullet-advice::first-letter {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: 2.4em;
  float: left;
  line-height: 0.85;
  padding: 0.1em 0.15em 0 0;
  color: #d4af37;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
  font-weight: 500;
  text-transform: uppercase;
}

body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .share-btn {
  background: linear-gradient(180deg, #e6c66a, #c9a83f) !important;
  color: #1a0f00 !important;
  border: 1px solid rgba(212, 175, 55, 0.85) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(212, 175, 55, 0.30),
    inset 0 1px 0 rgba(255, 240, 200, 0.45) !important;
}
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .divinia-tts-btn {
  background: rgba(2, 6, 23, 0.50) !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  color: #d4af37 !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  letter-spacing: 0.04em !important;
}
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .divinia-tts-btn:hover:not(:disabled) {
  background: rgba(212, 175, 55, 0.08) !important;
  border-color: rgba(212, 175, 55, 0.65) !important;
  color: #f0d97a !important;
}

body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspects-title {
  color: #d4af37 !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  padding: 14px 0 !important;
  margin-bottom: 18px !important;
}
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspects-title::before,
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspects-title::after {
  content: "\25C6";
  display: inline-block;
  color: rgba(212, 175, 55, 0.5);
  font-size: 0.6rem;
  font-family: "Segoe UI Symbol", Georgia, serif;
  vertical-align: middle;
  margin: 0 14px;
  letter-spacing: 0;
}

body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspect-card {
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.85), rgba(8, 12, 30, 0.92)) !important;
  border: 1px solid rgba(212, 175, 55, 0.28) !important;
  border-radius: 10px !important;
  padding: 14px 10px !important;
  position: relative;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.5),
    0 0 14px rgba(212, 175, 55, 0.06),
    inset 0 0 0 1px rgba(212, 175, 55, 0.04) !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px !important;
}
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspect-card:hover {
  border-color: rgba(212, 175, 55, 0.55) !important;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.6),
    0 0 22px rgba(212, 175, 55, 0.18) !important;
  transform: translateY(-2px);
}

body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspect-card::before,
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspect-card::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(212, 175, 55, 0.65);
  pointer-events: none;
}
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspect-card::before {
  top: 4px; left: 4px;
  border-right: none; border-bottom: none;
}
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspect-card::after {
  bottom: 4px; right: 4px;
  border-left: none; border-top: none;
}

body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspect-symbol {
  color: #d4af37 !important;
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
  font-size: 1.4rem !important;
  line-height: 1;
}

body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspect-label {
  color: #c4cfde !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.04em !important;
}

body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspect-relation {
  color: rgba(212, 175, 55, 0.65) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-style: italic !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.03em;
}

body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspect-exact {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.22), rgba(201, 168, 63, 0.15)) !important;
  color: #f0d97a !important;
  border: 1px solid rgba(212, 175, 55, 0.5) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  font-size: 0.68rem !important;
  padding: 3px 10px !important;
  border-radius: 999px;
  margin-top: 4px;
  display: inline-block;
}
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspect-orb {
  color: rgba(212, 175, 55, 0.55) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 0.72rem !important;
  font-style: italic;
}

/* v21 — Equilibrage transit grid + bump titre */

body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspects-title {
  font-size: 1.15rem !important;
  letter-spacing: 0.20em !important;
}
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspects-title::before,
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspects-title::after {
  font-size: 0.7rem !important;
  margin: 0 18px !important;
}

/* Passer en flexbox centré : la dernière ligne incomplete est centrée */
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspects-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 12px !important;
  grid-template-columns: none !important;
}

body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspect-card {
  flex: 0 1 calc(33.333% - 12px) !important;
  min-width: 150px;
  max-width: 220px;
}

@media (max-width: 640px) {
  body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspect-card {
    flex: 0 1 calc(50% - 8px) !important;
  }
}

/* v22 — Mobile fix : 2 colonnes serrées + titre lisible */

@media (max-width: 720px) {
  body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspects-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    grid-template-columns: none !important;
  }

  body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspect-card {
    flex: 0 1 calc(50% - 4px) !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 12px 6px !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 3px !important;
    overflow: visible !important;
  }

  body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspect-symbol {
    font-size: 1.1rem !important;
    margin: 0 !important;
    min-width: 0 !important;
  }

  body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspect-label {
    font-size: 0.78rem !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    text-align: center !important;
  }

  body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspect-relation {
    font-size: 0.7rem !important;
    margin: 0 !important;
  }

  body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspect-exact,
  body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspect-orb {
    margin: 4px 0 0 0 !important;
    font-size: 0.62rem !important;
    padding: 2px 8px !important;
  }

  body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspect-symbol.ph-aspect-natal + .ph-aspect-label {
    display: block !important;
  }

  /* Mini équerres réduites sur mobile pour rester proportionnées */
  body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspect-card::before,
  body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspect-card::after {
    width: 8px !important;
    height: 8px !important;
  }

  /* Titre TRANSITS — plus compact sur mobile pour éviter le wrap moche */
  body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspects-title {
    font-size: 0.95rem !important;
    letter-spacing: 0.14em !important;
    line-height: 1.4 !important;
  }
  body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspects-title::before,
  body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspects-title::after {
    font-size: 0.55rem !important;
    margin: 0 8px !important;
  }
}

/* v23 — Mobile fix v2 : 2 colonnes forcées + hero wrap décollé du top */

@media (max-width: 720px) {
  /* Forcer 2 colonnes via grid (plus fiable que flex pour exact column count) */
  body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspects-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspect-card {
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box !important;
    padding: 12px 6px !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 3px !important;
    overflow: visible !important;
  }

  /* Si 5 cards : centrer la 5e (impair sur grid 2 cols) */
  body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspect-card:nth-child(5):last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 4px) !important;
    margin: 0 auto;
  }

  /* Image hero — espacement supplémentaire pour laisser respirer les équerres haut */
  body:has(#astroV2HoroscopeView.active) #astroHoroscopeHeroImgWrap {
    margin-top: 16px !important;
    margin-bottom: 24px !important;
  }
}

/* ============================================================
   RELATIONS — polish (Aujourd'hui + Compatibilité)
   2026-05-16
   ============================================================ */

/* Le titre "Relations" reprend la grammaire serif or + ◆ (déjà géré par .astro-v2-gold-title) */

/* === TABS principaux Aujourd'hui / Compatibilité === */
body:has(#astroV2RelationsView.active) .astro-v2-tab {
  background: rgba(2, 6, 23, 0.55) !important;
  color: #d4af37 !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  letter-spacing: 0.04em !important;
}
body:has(#astroV2RelationsView.active) .astro-v2-tab:hover {
  background: rgba(212, 175, 55, 0.08) !important;
  border-color: rgba(212, 175, 55, 0.65) !important;
}
body:has(#astroV2RelationsView.active) .astro-v2-tab.active {
  background: linear-gradient(180deg, rgba(230, 198, 106, 0.22), rgba(201, 168, 63, 0.16)) !important;
  border-color: rgba(212, 175, 55, 0.75) !important;
  color: #f0d97a !important;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.20);
}

/* === Pills Solo / En couple : déjà gérées par les rules existantes mais on étend le scope === */
body:has(#astroV2RelationsView.active) .astro-v2-theme-pill {
  background: rgba(2, 6, 23, 0.55) !important;
  color: #d4af37 !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  letter-spacing: 0.04em !important;
}
body:has(#astroV2RelationsView.active) .astro-v2-theme-pill:hover {
  background: rgba(212, 175, 55, 0.08) !important;
  border-color: rgba(212, 175, 55, 0.65) !important;
}
body:has(#astroV2RelationsView.active) .astro-v2-theme-pill.active {
  background: linear-gradient(180deg, rgba(230, 198, 106, 0.20), rgba(201, 168, 63, 0.15)) !important;
  border-color: rgba(212, 175, 55, 0.75) !important;
  color: #f0d97a !important;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.20);
}

/* === Sous-titre "Énergie du jour ou compatibilité" === */
body:has(#astroV2RelationsView.active) .astro-subtitle {
  color: #c4cfde !important;
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-style: italic;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}

/* === Hint "10 arcanes par consultation" === */
body:has(#astroV2RelationsView.active) .arcane-cost-hint {
  color: rgba(212, 175, 55, 0.7) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  letter-spacing: 0.04em !important;
  font-size: 0.85rem !important;
}

/* === Hero image — cadre or + équerres === */
body:has(#astroV2RelationsView.active) #astroRelationsHeroImgWrap {
  border: 1px solid rgba(212, 175, 55, 0.38) !important;
  border-radius: 14px !important;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.55),
    0 0 36px rgba(212, 175, 55, 0.18),
    inset 0 0 0 1px rgba(212, 175, 55, 0.08) !important;
  overflow: visible !important;
  position: relative;
}
body:has(#astroV2RelationsView.active) #astroRelationsHeroImgWrap::before,
body:has(#astroV2RelationsView.active) #astroRelationsHeroImgWrap::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(212, 175, 55, 0.7);
  pointer-events: none;
  z-index: 2;
}
body:has(#astroV2RelationsView.active) #astroRelationsHeroImgWrap::before {
  top: -1px; left: -1px; border-right: none; border-bottom: none;
}
body:has(#astroV2RelationsView.active) #astroRelationsHeroImgWrap::after {
  bottom: -1px; right: -1px; border-left: none; border-top: none;
}
body:has(#astroV2RelationsView.active) #astroRelationsHeroImgWrap > img,
body:has(#astroV2RelationsView.active) #astroRelationsHeroImgWrap > video {
  border-radius: 13px;
}

/* === Boutons signes : même style que Horoscope === */
body:has(#astroV2RelationsView.active) .astro-v2-sign-btn {
  border: 1px solid rgba(212, 175, 55, 0.32) !important;
  background: rgba(2, 6, 23, 0.62) !important;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.04) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
body:has(#astroV2RelationsView.active) .astro-v2-sign-btn:hover {
  border-color: rgba(212, 175, 55, 0.55) !important;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.12) !important;
}
body:has(#astroV2RelationsView.active) .astro-v2-sign-btn.active {
  border-color: rgba(212, 175, 55, 0.85) !important;
  background: rgba(212, 175, 55, 0.10) !important;
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.25) !important;
}
body:has(#astroV2RelationsView.active) .astro-v2-sign-btn .sign-name {
  color: #d4af37 !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  letter-spacing: 0.04em !important;
}

/* === COMPAT PICKER : Signe 1 / 💕 / Signe 2 === */
body:has(#astroV2RelationsView.active) .astro-v2-compat-col label {
  color: #d4af37 !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  font-size: 0.95rem !important;
  margin-bottom: 14px !important;
}

/* Heart entre les deux colonnes — remplacer 💕 par un ◆ doré */
body:has(#astroV2RelationsView.active) .astro-v2-compat-heart {
  font-size: 0 !important;
  position: relative;
  width: 40px;
  height: 40px;
  padding-top: 0 !important;
  margin-top: 80px;
}
body:has(#astroV2RelationsView.active) .astro-v2-compat-heart::after {
  content: "\25C6";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  font-size: 1.6rem;
  color: rgba(212, 175, 55, 0.7);
  font-family: "Segoe UI Symbol", Georgia, serif;
  text-shadow: 0 0 16px rgba(212, 175, 55, 0.5);
  animation: relations-diamond-pulse 4s ease-in-out infinite;
}
@keyframes relations-diamond-pulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

/* === Panneau résultat (today + compat) — déjà géré globalement, on confirme === */
body:has(#astroV2RelationsView.active) .astro-v2-result:not(:empty) {
  background: rgba(2, 6, 23, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 14px;
  padding: 32px 26px 26px;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.6),
    0 0 36px rgba(212, 175, 55, 0.10),
    inset 0 0 0 1px rgba(212, 175, 55, 0.08);
  backdrop-filter: blur(6px);
  position: relative;
  line-height: 1.75;
  margin-top: 24px;
}
body:has(#astroV2RelationsView.active) .astro-v2-result:not(:empty)::before,
body:has(#astroV2RelationsView.active) .astro-v2-result:not(:empty)::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  pointer-events: none;
}
body:has(#astroV2RelationsView.active) .astro-v2-result:not(:empty)::before {
  top: 8px; left: 8px; border-right: none; border-bottom: none;
}
body:has(#astroV2RelationsView.active) .astro-v2-result:not(:empty)::after {
  bottom: 8px; right: 8px; border-left: none; border-top: none;
}

/* === Glyphes dans compat result header === */
body:has(#astroV2RelationsView.active) .astro-v2-result-sign {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  flex-direction: column;
}
body:has(#astroV2RelationsView.active) .astro-result-sign-icon {
  display: inline-block;
  width: 38px;
  height: 38px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
body:has(#astroV2RelationsView.active) .astro-result-sign-icon[data-sign="aries"]       { background-image: url("/icons/zodiac/aries.webp"); }
body:has(#astroV2RelationsView.active) .astro-result-sign-icon[data-sign="taurus"]      { background-image: url("/icons/zodiac/taurus.webp"); }
body:has(#astroV2RelationsView.active) .astro-result-sign-icon[data-sign="gemini"]      { background-image: url("/icons/zodiac/gemini.webp"); }
body:has(#astroV2RelationsView.active) .astro-result-sign-icon[data-sign="cancer"]      { background-image: url("/icons/zodiac/cancer.webp"); }
body:has(#astroV2RelationsView.active) .astro-result-sign-icon[data-sign="leo"]         { background-image: url("/icons/zodiac/leo.webp"); }
body:has(#astroV2RelationsView.active) .astro-result-sign-icon[data-sign="virgo"]       { background-image: url("/icons/zodiac/virgo.webp"); }
body:has(#astroV2RelationsView.active) .astro-result-sign-icon[data-sign="libra"]       { background-image: url("/icons/zodiac/libra.webp"); }
body:has(#astroV2RelationsView.active) .astro-result-sign-icon[data-sign="scorpio"]     { background-image: url("/icons/zodiac/scorpio.webp"); }
body:has(#astroV2RelationsView.active) .astro-result-sign-icon[data-sign="sagittarius"] { background-image: url("/icons/zodiac/sagittarius.webp"); }
body:has(#astroV2RelationsView.active) .astro-result-sign-icon[data-sign="capricorn"]   { background-image: url("/icons/zodiac/capricorn.webp"); }
body:has(#astroV2RelationsView.active) .astro-result-sign-icon[data-sign="aquarius"]    { background-image: url("/icons/zodiac/aquarius.webp"); }
body:has(#astroV2RelationsView.active) .astro-result-sign-icon[data-sign="pisces"]      { background-image: url("/icons/zodiac/pisces.webp"); }

body:has(#astroV2RelationsView.active) .astro-result-sign-name {
  color: #d4af37 !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-size: 1.1rem !important;
  letter-spacing: 0.06em !important;
  font-weight: 500 !important;
}

/* === Body Force / Friction === */
body:has(#astroV2RelationsView.active) .astro-v2-result-body p strong {
  color: #d4af37 !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.10em !important;
  text-transform: uppercase;
  display: inline-block;
  font-size: 0.9rem;
  margin-right: 4px;
}

/* Drop-cap doré sur 1er paragraphe du body */
body:has(#astroV2RelationsView.active) .astro-v2-result-body > p:first-of-type::first-letter {
  /* Pas de drop-cap car le paragraphe commence par "Force —" (label) — pas idéal */
}

/* === Vignettes poétiques sur panneaux vides === */
body:has(#astroV2RelationsView.active) #relationsTodayResult:empty::before {
  content: "Choisis ton signe.\A L'énergie relationnelle du jour t'attend.";
  white-space: pre-line;
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  color: rgba(212, 175, 55, 0.65) !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-style: italic !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.04em !important;
  line-height: 1.7 !important;
  min-height: 110px !important;
  padding: 16px 22px !important;
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.15) !important;
}

body:has(#astroV2RelationsView.active) #relationsCompatResult:empty::before {
  content: "Choisis deux signes.\A Leur alchimie se révélera.";
  white-space: pre-line;
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  color: rgba(212, 175, 55, 0.65) !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-style: italic !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.04em !important;
  line-height: 1.7 !important;
  min-height: 110px !important;
  padding: 16px 22px !important;
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.15) !important;
}

/* ============================================================
   RELATIONS v2 — Climat du jour en roue + signes XL + drop-caps systématiques
   ============================================================ */

/* === Roue Climat du jour === */
body:has(#astroV2RelationsView.active) .compat-climat-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 16px auto 22px;
}

body:has(#astroV2RelationsView.active) .compat-climat-title {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  color: rgba(212, 175, 55, 0.7);
  font-size: 0.78rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
}

body:has(#astroV2RelationsView.active) .compat-climat-wheel {
  --score: 0%;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: conic-gradient(
    from -90deg,
    #d4af37 0%,
    #f0d97a var(--score),
    rgba(212, 175, 55, 0.10) var(--score),
    rgba(212, 175, 55, 0.10) 100%
  );
  padding: 5px;
  position: relative;
  box-shadow:
    0 0 24px rgba(212, 175, 55, 0.25),
    inset 0 0 0 1px rgba(212, 175, 55, 0.35);
}

body:has(#astroV2RelationsView.active) .compat-climat-wheel::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: rgba(2, 6, 23, 0.96);
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.6);
}

body:has(#astroV2RelationsView.active) .compat-climat-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

body:has(#astroV2RelationsView.active) .compat-climat-score {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: 2.1rem;
  color: #d4af37;
  font-weight: 500;
  line-height: 1;
  text-shadow: 0 0 16px rgba(212, 175, 55, 0.55);
}

body:has(#astroV2RelationsView.active) .compat-climat-pct {
  font-size: 0.85rem;
  margin-left: 1px;
  color: rgba(212, 175, 55, 0.7);
}

body:has(#astroV2RelationsView.active) .compat-climat-mood {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 0.78rem;
  color: rgba(212, 175, 55, 0.75);
  letter-spacing: 0.04em;
  text-transform: lowercase;
  margin-top: 2px;
}

/* === Signes XL dans le compat result header === */
body:has(#astroV2RelationsView.active) .astro-v2-result-header .astro-result-sign-icon {
  width: 72px !important;
  height: 72px !important;
}
body:has(#astroV2RelationsView.active) .astro-v2-result-header .astro-result-sign-name {
  font-size: 1.25rem !important;
  margin-top: 4px;
}

/* === Drop-caps SYSTÉMATIQUES sur chaque paragraphe d'interprétation (signature visuelle) === */
body:has(#astroV2RelationsView.active) .astro-v2-result-cap::first-letter,
body:has(#astroV2RelationsView.active) .astro-v2-result-body > p::first-letter {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-size: 2.6em !important;
  float: left !important;
  line-height: 0.85 !important;
  padding: 0.1em 0.15em 0 0 !important;
  color: #d4af37 !important;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.28) !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
}

/* Mais on ne veut pas que le strong "Force —" / "Friction —" absorbe le drop-cap.
   On utilise CSS clamp pour gérer : si premier enfant est <strong>, on le décale d'un cran. */
body:has(#astroV2RelationsView.active) .astro-v2-result-body > p {
  padding-left: 0;
}

/* Cap (intro) doit avoir un drop-cap aussi */
body:has(#astroV2RelationsView.active) .astro-v2-result-cap {
  padding-top: 2px;
}

/* ============================================================
   BIORYTHMES — polish complet
   ============================================================ */

/* Hero image — cadre or + équerres (réutiliser le pattern) */
body:has(#astroV2BiorhythmView.active) #astroBioHeroImgWrap {
  border: 1px solid rgba(212, 175, 55, 0.38) !important;
  border-radius: 14px !important;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.55),
    0 0 36px rgba(212, 175, 55, 0.18),
    inset 0 0 0 1px rgba(212, 175, 55, 0.08) !important;
  overflow: visible !important;
  position: relative;
}
body:has(#astroV2BiorhythmView.active) #astroBioHeroImgWrap::before,
body:has(#astroV2BiorhythmView.active) #astroBioHeroImgWrap::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(212, 175, 55, 0.7);
  pointer-events: none;
  z-index: 2;
}
body:has(#astroV2BiorhythmView.active) #astroBioHeroImgWrap::before {
  top: -1px; left: -1px; border-right: none; border-bottom: none;
}
body:has(#astroV2BiorhythmView.active) #astroBioHeroImgWrap::after {
  bottom: -1px; right: -1px; border-left: none; border-top: none;
}
body:has(#astroV2BiorhythmView.active) #astroBioHeroImgWrap > img,
body:has(#astroV2BiorhythmView.active) #astroBioHeroImgWrap > video {
  border-radius: 13px;
}

/* Sous-titre */
body:has(#astroV2BiorhythmView.active) .astro-subtitle {
  color: #c4cfde !important;
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-style: italic;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}

/* Input date — gold accent */
body:has(#astroV2BiorhythmView.active) input[type="date"] {
  background: rgba(2, 6, 23, 0.65) !important;
  border: 1px solid rgba(212, 175, 55, 0.38) !important;
  color: #d4af37 !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  letter-spacing: 0.04em !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  font-size: 1rem !important;
}
body:has(#astroV2BiorhythmView.active) input[type="date"]:focus {
  border-color: rgba(212, 175, 55, 0.75) !important;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.15) !important;
  outline: none !important;
}

/* Bouton "Calculer" → or solide */
body:has(#astroV2BiorhythmView.active) #bioCalculateBtn,
body:has(#astroV2BiorhythmView.active) .astro-v2-bio-calc-btn,
body:has(#astroV2BiorhythmView.active) button.btn-primary {
  background: linear-gradient(180deg, #e6c66a, #c9a83f) !important;
  color: #1a0f00 !important;
  border: 1px solid rgba(212, 175, 55, 0.85) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(212, 175, 55, 0.30),
    inset 0 1px 0 rgba(255, 240, 200, 0.45) !important;
}

/* Panneau résultat — cadre or + équerres */
body:has(#astroV2BiorhythmView.active) .astro-v2-result:not(:empty) {
  background: rgba(2, 6, 23, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 14px;
  padding: 28px 24px 24px;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.6),
    0 0 36px rgba(212, 175, 55, 0.10),
    inset 0 0 0 1px rgba(212, 175, 55, 0.08);
  position: relative;
  line-height: 1.65;
  margin-top: 24px;
}
body:has(#astroV2BiorhythmView.active) .astro-v2-result:not(:empty)::before,
body:has(#astroV2BiorhythmView.active) .astro-v2-result:not(:empty)::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  pointer-events: none;
}
body:has(#astroV2BiorhythmView.active) .astro-v2-result:not(:empty)::before {
  top: 8px; left: 8px; border-right: none; border-bottom: none;
}
body:has(#astroV2BiorhythmView.active) .astro-v2-result:not(:empty)::after {
  bottom: 8px; right: 8px; border-left: none; border-top: none;
}

/* En-tête panneau "Biorythmes du jour" */
body:has(#astroV2BiorhythmView.active) .astro-v2-bio-title {
  color: #d4af37 !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.10em !important;
  text-transform: uppercase;
}
body:has(#astroV2BiorhythmView.active) .astro-v2-result-date {
  color: rgba(212, 175, 55, 0.6) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  letter-spacing: 0.04em !important;
}
body:has(#astroV2BiorhythmView.active) .astro-v2-result-header {
  padding-bottom: 14px !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18) !important;
  margin-bottom: 18px !important;
}

/* Jauges (barres de progression) — fond plus sombre, plus refined */
body:has(#astroV2BiorhythmView.active) .astro-v2-bio-gauge {
  margin: 12px 0;
}
body:has(#astroV2BiorhythmView.active) .astro-v2-bio-gauge-label {
  color: rgba(212, 175, 55, 0.85) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  letter-spacing: 0.04em !important;
}
body:has(#astroV2BiorhythmView.active) .astro-v2-bio-gauge-bar-bg {
  background: rgba(2, 6, 23, 0.7) !important;
  border: 1px solid rgba(212, 175, 55, 0.15) !important;
  height: 10px !important;
  border-radius: 999px;
  overflow: hidden;
}
body:has(#astroV2BiorhythmView.active) .astro-v2-bio-gauge-bar-fill {
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
  height: 100%;
  border-radius: 999px;
}
body:has(#astroV2BiorhythmView.active) .astro-v2-bio-gauge-value {
  color: #d4af37 !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 500 !important;
}

/* Synthèse "Phase de récupération..." */
body:has(#astroV2BiorhythmView.active) .astro-v2-bio-synthesis {
  color: #c4cfde !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-style: italic !important;
  text-align: center;
  font-size: 1.02rem !important;
  letter-spacing: 0.02em;
  margin: 16px 0 18px !important;
  padding: 10px 14px;
  border-top: 1px solid rgba(212, 175, 55, 0.14);
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
}

/* Wrapper chart — fond cohérent */
body:has(#astroV2BiorhythmView.active) #chartWrapper {
  background: rgba(2, 6, 23, 0.55) !important;
  border: 1px solid rgba(212, 175, 55, 0.18) !important;
  border-radius: 12px !important;
  padding: 14px !important;
}

/* Bouton Confier mes biorythmes → or solide (déjà fait via .share-btn rule étendre scope) */
body:has(#astroV2BiorhythmView.active) .share-btn {
  background: linear-gradient(180deg, #e6c66a, #c9a83f) !important;
  color: #1a0f00 !important;
  border: 1px solid rgba(212, 175, 55, 0.85) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(212, 175, 55, 0.30),
    inset 0 1px 0 rgba(255, 240, 200, 0.45) !important;
}

/* Label "Ta date de naissance" */
body:has(#astroV2BiorhythmView.active) label,
body:has(#astroV2BiorhythmView.active) .astro-v2-bio-date-label {
  color: rgba(212, 175, 55, 0.7) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  letter-spacing: 0.04em !important;
}

/* Vignette poétique sur résultat vide */
body:has(#astroV2BiorhythmView.active) .astro-v2-result:empty::before {
  content: "Renseigne ta date de naissance.\A Tes cycles intérieurs se révéleront.";
  white-space: pre-line;
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  color: rgba(212, 175, 55, 0.65) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-style: italic !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.04em !important;
  line-height: 1.7 !important;
  min-height: 110px !important;
  padding: 16px 22px !important;
}

/* v24 — Badge "5 arcanes" passé en or sur biorythme */
body:has(#astroV2BiorhythmView.active) .arcane-badge-inline {
  color: rgba(212, 175, 55, 0.85) !important;
  margin-top: 4px !important;
}
body:has(#astroV2BiorhythmView.active) .arcane-badge-inline::before {
  content: "✦ " !important;
  color: #d4af37 !important;
}

/* v25 — Phrase de synthèse plus lisible + meilleure présence */
body:has(#astroV2BiorhythmView.active) .astro-v2-bio-synthesis {
  color: #f0d97a !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-style: italic !important;
  text-align: center;
  font-size: 1.12rem !important;
  letter-spacing: 0.04em;
  margin: 22px 0 22px !important;
  padding: 18px 24px;
  border-top: 1px solid rgba(212, 175, 55, 0.28);
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
  text-shadow: 0 0 16px rgba(212, 175, 55, 0.2);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.04), transparent);
}
body:has(#astroV2BiorhythmView.active) .astro-v2-bio-synthesis::before {
  content: "\201C";
  color: rgba(212, 175, 55, 0.55);
  font-size: 1.6em;
  vertical-align: -0.3em;
  margin-right: 6px;
  font-family: Georgia, serif;
  font-style: normal;
}
body:has(#astroV2BiorhythmView.active) .astro-v2-bio-synthesis::after {
  content: "\201D";
  color: rgba(212, 175, 55, 0.55);
  font-size: 1.6em;
  vertical-align: -0.3em;
  margin-left: 6px;
  font-family: Georgia, serif;
  font-style: normal;
}

/* v25b — phrase synthèse sur une seule ligne */
body:has(#astroV2BiorhythmView.active) .astro-v2-bio-synthesis {
  white-space: nowrap !important;
  overflow: visible !important;
  font-size: 1.05rem !important;
  padding: 16px 18px !important;
}
@media (max-width: 768px) {
  body:has(#astroV2BiorhythmView.active) .astro-v2-bio-synthesis {
    font-size: 0.85rem !important;
    padding: 14px 10px !important;
    letter-spacing: 0.02em !important;
  }
}
@media (max-width: 480px) {
  body:has(#astroV2BiorhythmView.active) .astro-v2-bio-synthesis {
    font-size: 0.74rem !important;
    padding: 12px 8px !important;
    letter-spacing: 0 !important;
  }
}

/* ============================================================
   PROFIL ASTRO — polish (Profil base + Profil complet)
   ============================================================ */

/* Hero image — cadre or */
body:has(#astroV2ProfileView.active) #astroProfilHeroImgWrap {
  border: 1px solid rgba(212, 175, 55, 0.38) !important;
  border-radius: 14px !important;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.55),
    0 0 36px rgba(212, 175, 55, 0.18),
    inset 0 0 0 1px rgba(212, 175, 55, 0.08) !important;
  overflow: visible !important;
  position: relative;
}
body:has(#astroV2ProfileView.active) #astroProfilHeroImgWrap::before,
body:has(#astroV2ProfileView.active) #astroProfilHeroImgWrap::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(212, 175, 55, 0.7);
  pointer-events: none;
  z-index: 2;
}
body:has(#astroV2ProfileView.active) #astroProfilHeroImgWrap::before {
  top: -1px; left: -1px; border-right: none; border-bottom: none;
}
body:has(#astroV2ProfileView.active) #astroProfilHeroImgWrap::after {
  bottom: -1px; right: -1px; border-left: none; border-top: none;
}
body:has(#astroV2ProfileView.active) #astroProfilHeroImgWrap > img,
body:has(#astroV2ProfileView.active) #astroProfilHeroImgWrap > video {
  border-radius: 13px;
}

/* Sous-titre */
body:has(#astroV2ProfileView.active) .astro-subtitle {
  color: #c4cfde !important;
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-style: italic;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}

/* Tabs Profil / Profil complet */
body:has(#astroV2ProfileView.active) .astro-v2-profile-tab {
  background: rgba(2, 6, 23, 0.55) !important;
  color: #d4af37 !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  letter-spacing: 0.04em !important;
}
body:has(#astroV2ProfileView.active) .astro-v2-profile-tab:hover {
  background: rgba(212, 175, 55, 0.08) !important;
  border-color: rgba(212, 175, 55, 0.65) !important;
}
body:has(#astroV2ProfileView.active) .astro-v2-profile-tab.active {
  background: linear-gradient(180deg, rgba(230, 198, 106, 0.22), rgba(201, 168, 63, 0.16)) !important;
  border-color: rgba(212, 175, 55, 0.75) !important;
  color: #f0d97a !important;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.20);
}

/* Hint "Gratuit / 200 arcanes" */
body:has(#astroV2ProfileView.active) .arcane-cost-hint {
  color: rgba(212, 175, 55, 0.7) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  letter-spacing: 0.04em !important;
  font-size: 0.85rem !important;
}
body:has(#astroV2ProfileView.active) .arcane-cost-hint::before {
  color: #d4af37 !important;
}

/* Sign buttons */
body:has(#astroV2ProfileView.active) .astro-v2-sign-btn {
  border: 1px solid rgba(212, 175, 55, 0.32) !important;
  background: rgba(2, 6, 23, 0.62) !important;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.04) !important;
}
body:has(#astroV2ProfileView.active) .astro-v2-sign-btn:hover {
  border-color: rgba(212, 175, 55, 0.55) !important;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.12) !important;
}
body:has(#astroV2ProfileView.active) .astro-v2-sign-btn.active {
  border-color: rgba(212, 175, 55, 0.85) !important;
  background: rgba(212, 175, 55, 0.10) !important;
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.25) !important;
}
body:has(#astroV2ProfileView.active) .astro-v2-sign-btn .sign-name {
  color: #d4af37 !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  letter-spacing: 0.04em !important;
}

/* Panneau résultat — cadre or + équerres */
body:has(#astroV2ProfileView.active) .astro-v2-result:not(:empty),
body:has(#astroV2ProfileView.active) #astroProfilePremiumResult:not(:empty) {
  background: rgba(2, 6, 23, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 14px;
  padding: 28px 24px 24px;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.6),
    0 0 36px rgba(212, 175, 55, 0.10),
    inset 0 0 0 1px rgba(212, 175, 55, 0.08);
  position: relative;
  line-height: 1.65;
  margin-top: 24px;
}
body:has(#astroV2ProfileView.active) .astro-v2-result:not(:empty)::before,
body:has(#astroV2ProfileView.active) .astro-v2-result:not(:empty)::after,
body:has(#astroV2ProfileView.active) #astroProfilePremiumResult:not(:empty)::before,
body:has(#astroV2ProfileView.active) #astroProfilePremiumResult:not(:empty)::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  pointer-events: none;
}
body:has(#astroV2ProfileView.active) .astro-v2-result:not(:empty)::before,
body:has(#astroV2ProfileView.active) #astroProfilePremiumResult:not(:empty)::before {
  top: 8px; left: 8px; border-right: none; border-bottom: none;
}
body:has(#astroV2ProfileView.active) .astro-v2-result:not(:empty)::after,
body:has(#astroV2ProfileView.active) #astroProfilePremiumResult:not(:empty)::after {
  bottom: 8px; right: 8px; border-left: none; border-top: none;
}

/* En-tête résultat avec signe doré image */
body:has(#astroV2ProfileView.active) .astro-v2-result-header {
  padding-bottom: 14px !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18) !important;
  margin-bottom: 18px !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
body:has(#astroV2ProfileView.active) .astro-v2-result-sign {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
}
body:has(#astroV2ProfileView.active) .astro-result-sign-icon {
  display: inline-block;
  width: 38px;
  height: 38px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
body:has(#astroV2ProfileView.active) .astro-result-sign-icon[data-sign="aries"]       { background-image: url("/icons/zodiac/aries.webp"); }
body:has(#astroV2ProfileView.active) .astro-result-sign-icon[data-sign="taurus"]      { background-image: url("/icons/zodiac/taurus.webp"); }
body:has(#astroV2ProfileView.active) .astro-result-sign-icon[data-sign="gemini"]      { background-image: url("/icons/zodiac/gemini.webp"); }
body:has(#astroV2ProfileView.active) .astro-result-sign-icon[data-sign="cancer"]      { background-image: url("/icons/zodiac/cancer.webp"); }
body:has(#astroV2ProfileView.active) .astro-result-sign-icon[data-sign="leo"]         { background-image: url("/icons/zodiac/leo.webp"); }
body:has(#astroV2ProfileView.active) .astro-result-sign-icon[data-sign="virgo"]       { background-image: url("/icons/zodiac/virgo.webp"); }
body:has(#astroV2ProfileView.active) .astro-result-sign-icon[data-sign="libra"]       { background-image: url("/icons/zodiac/libra.webp"); }
body:has(#astroV2ProfileView.active) .astro-result-sign-icon[data-sign="scorpio"]     { background-image: url("/icons/zodiac/scorpio.webp"); }
body:has(#astroV2ProfileView.active) .astro-result-sign-icon[data-sign="sagittarius"] { background-image: url("/icons/zodiac/sagittarius.webp"); }
body:has(#astroV2ProfileView.active) .astro-result-sign-icon[data-sign="capricorn"]   { background-image: url("/icons/zodiac/capricorn.webp"); }
body:has(#astroV2ProfileView.active) .astro-result-sign-icon[data-sign="aquarius"]    { background-image: url("/icons/zodiac/aquarius.webp"); }
body:has(#astroV2ProfileView.active) .astro-result-sign-icon[data-sign="pisces"]      { background-image: url("/icons/zodiac/pisces.webp"); }
body:has(#astroV2ProfileView.active) .astro-result-sign-name {
  color: #d4af37 !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-size: 1.2rem !important;
  letter-spacing: 0.06em !important;
  font-weight: 500 !important;
}
body:has(#astroV2ProfileView.active) .astro-v2-result-date {
  color: rgba(212, 175, 55, 0.6) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  letter-spacing: 0.06em !important;
  font-size: 0.85rem;
  text-transform: uppercase;
}

/* Section title (Grands Traits / Ce jour-là...) */
body:has(#astroV2ProfileView.active) .astro-result-section-title {
  color: #d4af37 !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-size: 1.15rem !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase;
  font-weight: 500 !important;
}

/* Cartes Caractère / Forces / Pièges / etc. */
body:has(#astroV2ProfileView.active) .astro-profile-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
@media (max-width: 640px) {
  body:has(#astroV2ProfileView.active) .astro-profile-cards-grid {
    grid-template-columns: 1fr;
  }
}

body:has(#astroV2ProfileView.active) .astro-profile-card {
  background: rgba(2, 6, 23, 0.6) !important;
  border: 1px solid rgba(212, 175, 55, 0.28) !important;
  border-radius: 10px !important;
  padding: 16px 14px !important;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
body:has(#astroV2ProfileView.active) .astro-profile-card:hover {
  border-color: rgba(212, 175, 55, 0.5) !important;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.10) !important;
}

/* Mini équerres aux coins */
body:has(#astroV2ProfileView.active) .astro-profile-card::before,
body:has(#astroV2ProfileView.active) .astro-profile-card::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  pointer-events: none;
}
body:has(#astroV2ProfileView.active) .astro-profile-card::before {
  top: 4px; left: 4px; border-right: none; border-bottom: none;
}
body:has(#astroV2ProfileView.active) .astro-profile-card::after {
  bottom: 4px; right: 4px; border-left: none; border-top: none;
}

/* Cache les icônes emoji (📘 ⚡ ⚠️ 💕 etc.) */
body:has(#astroV2ProfileView.active) .astro-profile-card-icon {
  display: none !important;
}

body:has(#astroV2ProfileView.active) .astro-profile-card-header {
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
body:has(#astroV2ProfileView.active) .astro-profile-card-label {
  color: #d4af37 !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.10em !important;
  text-transform: uppercase;
  font-size: 0.92rem !important;
}

body:has(#astroV2ProfileView.active) .astro-profile-card-text {
  color: #c4cfde !important;
  line-height: 1.65 !important;
  font-size: 0.92rem !important;
}
body:has(#astroV2ProfileView.active) .astro-profile-card-text::first-letter {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-size: 2.2em !important;
  float: left !important;
  line-height: 0.85 !important;
  padding: 0.08em 0.12em 0 0 !important;
  color: #d4af37 !important;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.25) !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
}

/* Bouton "Voir tout" */
body:has(#astroV2ProfileView.active) #astroProfileToggleMore {
  background: rgba(2, 6, 23, 0.55) !important;
  color: #d4af37 !important;
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  letter-spacing: 0.04em !important;
  margin-top: 18px;
}
body:has(#astroV2ProfileView.active) #astroProfileToggleMore:hover {
  background: rgba(212, 175, 55, 0.08) !important;
  border-color: rgba(212, 175, 55, 0.75) !important;
}

/* === Premium form === */
body:has(#astroV2ProfileView.active) .astro-v2-input {
  background: rgba(2, 6, 23, 0.65) !important;
  border: 1px solid rgba(212, 175, 55, 0.32) !important;
  color: #d4af37 !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
}
body:has(#astroV2ProfileView.active) .astro-v2-input:focus {
  border-color: rgba(212, 175, 55, 0.75) !important;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.15) !important;
  outline: none !important;
}
body:has(#astroV2ProfileView.active) .astro-v2-form-group label {
  color: rgba(212, 175, 55, 0.75) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  letter-spacing: 0.04em !important;
}
body:has(#astroV2ProfileView.active) .astro-btn-gold,
body:has(#astroV2ProfileView.active) #astroProfilePremiumSubmit {
  background: linear-gradient(180deg, #e6c66a, #c9a83f) !important;
  color: #1a0f00 !important;
  border: 1px solid rgba(212, 175, 55, 0.85) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(212, 175, 55, 0.30),
    inset 0 1px 0 rgba(255, 240, 200, 0.45) !important;
}
body:has(#astroV2ProfileView.active) .arcane-badge-inline {
  color: rgba(2, 6, 23, 0.85) !important;
}
body:has(#astroV2ProfileView.active) .arcane-badge-inline::before {
  color: rgba(2, 6, 23, 0.85) !important;
}

/* Vignette poétique sur état vide du Profil */
body:has(#astroV2ProfileView.active) #astroProfileBaseCards:empty::before {
  content: "Choisis ton signe.\A Ton portrait astral t'attend.";
  white-space: pre-line;
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  color: rgba(212, 175, 55, 0.65) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-style: italic !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.04em !important;
  line-height: 1.7 !important;
  min-height: 110px !important;
  padding: 16px 22px !important;
}

/* v25c — phrase fluide qui rentre toujours dans le cadre */
body:has(#astroV2BiorhythmView.active) .astro-v2-bio-synthesis {
  white-space: normal !important;
  font-size: clamp(0.72rem, 1.7vw, 1rem) !important;
  padding: 14px 16px !important;
  letter-spacing: 0.03em !important;
  max-width: 100%;
  overflow-wrap: normal;
}

/* ============================================================
   PROFIL COMPLET — Polish thème astral + Grands Traits + boutons bas
   ============================================================ */

/* Onglet "Votre Thème Astral" (collapsible header) */
body:has(#astroV2ProfileView.active) .astro-profile-natal-toggle,
body:has(#astroV2ProfileView.active) [class*="natal-toggle"],
body:has(#astroV2ProfileView.active) .premium-section-header {
  background: rgba(2, 6, 23, 0.78) !important;
  border: 1px solid rgba(212, 175, 55, 0.38) !important;
  border-radius: 12px !important;
  padding: 14px 20px !important;
  color: #d4af37 !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  font-weight: 500 !important;
  cursor: pointer;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(212, 175, 55, 0.08),
    inset 0 0 0 1px rgba(212, 175, 55, 0.06) !important;
  position: relative;
  margin: 22px 0 !important;
}

/* Drop-cap doré sur le paragraphe sous la roue + sur chaque carte Grands Traits */
body:has(#astroV2ProfileView.active) .astro-profile-natal-description p::first-letter,
body:has(#astroV2ProfileView.active) .astro-profile-natal-summary::first-letter,
body:has(#astroV2ProfileView.active) #astroProfilePremiumResult > p:first-of-type::first-letter,
body:has(#astroV2ProfileView.active) .astro-profile-card-text::first-letter {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-size: 2.4em !important;
  float: left !important;
  line-height: 0.85 !important;
  padding: 0.1em 0.15em 0 0 !important;
  color: #d4af37 !important;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.25) !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
}

/* Cibler aussi tous les paragraphes textuels du premium result */
body:has(#astroV2ProfileView.active) #astroProfilePremiumResult p:not(.astro-v2-loading):not(.astro-v2-error)::first-letter {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-size: 2.2em !important;
  float: left !important;
  line-height: 0.85 !important;
  padding: 0.08em 0.12em 0 0 !important;
  color: #d4af37 !important;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.25) !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
}

/* Boutons du bas (Retour, Télécharger PDF, Confier mon thème) — rationalisation gold */
body:has(#astroV2ProfileView.active) .astro-profile-actions button,
body:has(#astroV2ProfileView.active) .astro-profile-result-actions button,
body:has(#astroV2ProfileView.active) #astroProfileBackToList,
body:has(#astroV2ProfileView.active) #astroProfileDownloadPdf,
body:has(#astroV2ProfileView.active) [data-action="download-pdf"] {
  background: rgba(2, 6, 23, 0.55) !important;
  color: #d4af37 !important;
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  letter-spacing: 0.04em !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, background 0.2s ease;
}
body:has(#astroV2ProfileView.active) .astro-profile-actions button:hover,
body:has(#astroV2ProfileView.active) .astro-profile-result-actions button:hover,
body:has(#astroV2ProfileView.active) #astroProfileBackToList:hover,
body:has(#astroV2ProfileView.active) #astroProfileDownloadPdf:hover {
  background: rgba(212, 175, 55, 0.08) !important;
  border-color: rgba(212, 175, 55, 0.75) !important;
}

/* Bouton "Confier mon thème" (.share-btn) — version principale or solide */
body:has(#astroV2ProfileView.active) .share-btn {
  background: linear-gradient(180deg, #e6c66a, #c9a83f) !important;
  color: #1a0f00 !important;
  border: 1px solid rgba(212, 175, 55, 0.85) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(212, 175, 55, 0.30),
    inset 0 1px 0 rgba(255, 240, 200, 0.45) !important;
}

/* Légende sous la roue — texte plus lisible */
body:has(#astroV2ProfileView.active) .natal-chart-legend,
body:has(#astroV2ProfileView.active) [class*="natal-legend"] {
  background: rgba(2, 6, 23, 0.55) !important;
  border: 1px solid rgba(212, 175, 55, 0.22) !important;
  border-radius: 10px !important;
  padding: 14px !important;
}

/* ============================================================
   PROFIL COMPLET v3 — onglets gold + chips harmonisées + drop-cap
   ============================================================ */

/* === Onglets collapsibles "reading-chapter-btn" dans le contexte profil === */
body:has(#astroV2ProfileView.active) #astroProfilePremiumResult .reading-chapter,
body:has(#astroV2ProfileView.active) .astro-profile-full-content .reading-chapter {
  background: rgba(2, 6, 23, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 12px;
  margin: 14px 0;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
body:has(#astroV2ProfileView.active) #astroProfilePremiumResult .reading-chapter:hover,
body:has(#astroV2ProfileView.active) .astro-profile-full-content .reading-chapter:hover {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.10);
}

body:has(#astroV2ProfileView.active) #astroProfilePremiumResult .reading-chapter-btn,
body:has(#astroV2ProfileView.active) .astro-profile-full-content .reading-chapter-btn {
  width: 100%;
  background: transparent !important;
  border: none !important;
  padding: 16px 20px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: #d4af37 !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
}

body:has(#astroV2ProfileView.active) #astroProfilePremiumResult .reading-chapter-label,
body:has(#astroV2ProfileView.active) .astro-profile-full-content .reading-chapter-label {
  color: #d4af37 !important;
}

body:has(#astroV2ProfileView.active) #astroProfilePremiumResult .reading-chapter-arrow,
body:has(#astroV2ProfileView.active) .astro-profile-full-content .reading-chapter-arrow {
  color: rgba(212, 175, 55, 0.75) !important;
  font-size: 0.7rem;
  transition: transform 0.25s ease;
}
body:has(#astroV2ProfileView.active) #astroProfilePremiumResult .reading-chapter-btn[aria-expanded="true"] .reading-chapter-arrow,
body:has(#astroV2ProfileView.active) .astro-profile-full-content .reading-chapter-btn[aria-expanded="true"] .reading-chapter-arrow {
  transform: rotate(180deg);
}

body:has(#astroV2ProfileView.active) #astroProfilePremiumResult .reading-chapter-body,
body:has(#astroV2ProfileView.active) .astro-profile-full-content .reading-chapter-body {
  padding: 0 20px 20px;
}

/* === Chips Soleil / Lune / Ascendant — palette or unifiée === */
body:has(#astroV2ProfileView.active) .astro-profile-chip {
  background: rgba(2, 6, 23, 0.6) !important;
  color: #d4af37 !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  letter-spacing: 0.04em !important;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
body:has(#astroV2ProfileView.active) .astro-profile-chip.sun {
  border: 1px solid rgba(212, 175, 55, 0.55) !important;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.10), transparent) !important;
}
body:has(#astroV2ProfileView.active) .astro-profile-chip.moon {
  border: 1px solid rgba(158, 181, 196, 0.55) !important;
  background: linear-gradient(135deg, rgba(158, 181, 196, 0.08), transparent) !important;
  color: #c4cfde !important;
}
body:has(#astroV2ProfileView.active) .astro-profile-chip.asc {
  border: 1px solid rgba(240, 217, 122, 0.55) !important;
  background: linear-gradient(135deg, rgba(240, 217, 122, 0.10), transparent) !important;
  color: #f0d97a !important;
}

/* === Drop-cap forcé sur paragraphes sous la roue === */
body:has(#astroV2ProfileView.active) .astro-profile-natal-description p:first-of-type::first-letter,
body:has(#astroV2ProfileView.active) .astro-profile-natal-summary p:first-of-type::first-letter,
body:has(#astroV2ProfileView.active) #astroProfilePremiumResult .astro-profile-natal-description p::first-letter,
body:has(#astroV2ProfileView.active) #astroProfilePremiumResult .reading-chapter-body p:first-of-type::first-letter {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-size: 2.4em !important;
  float: left !important;
  line-height: 0.85 !important;
  padding: 0.1em 0.15em 0 0 !important;
  color: #d4af37 !important;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.25) !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
}

/* === Légende sous la roue : labels en serif or === */
body:has(#astroV2ProfileView.active) .natal-chart-legend strong,
body:has(#astroV2ProfileView.active) .natal-chart-legend b {
  color: #d4af37 !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.10em !important;
}

/* v26 — drop-cap doré sur les paragraphes de la signature natale */
body:has(#astroV2ProfileView.active) .astro-profile-signature p::first-letter {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-size: 2.4em !important;
  float: left !important;
  line-height: 0.85 !important;
  padding: 0.1em 0.15em 0 0 !important;
  color: #d4af37 !important;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.28) !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
}
body:has(#astroV2ProfileView.active) .astro-profile-signature {
  line-height: 1.75;
  margin: 18px 0;
}
body:has(#astroV2ProfileView.active) .astro-profile-signature p {
  margin: 14px 0;
}

/* v27 — Pills profils sauvegardés : grammaire or premium */
body:has(#astroV2ProfileView.active) .astro-profile-existing-pill {
  background: rgba(2, 6, 23, 0.78) !important;
  border: 1px solid rgba(212, 175, 55, 0.38) !important;
  border-radius: 12px !important;
  padding: 16px 12px !important;
  color: #d4af37 !important;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(212, 175, 55, 0.05),
    inset 0 0 0 1px rgba(212, 175, 55, 0.06);
}

body:has(#astroV2ProfileView.active) .astro-profile-existing-pill:hover {
  border-color: rgba(212, 175, 55, 0.65) !important;
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.55),
    0 0 28px rgba(212, 175, 55, 0.18) !important;
  transform: translateY(-2px);
}

body:has(#astroV2ProfileView.active) .astro-profile-existing-pill.active {
  border-color: rgba(212, 175, 55, 0.85) !important;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.10), rgba(2, 6, 23, 0.78)) !important;
  box-shadow:
    0 0 32px rgba(212, 175, 55, 0.22),
    0 16px 38px rgba(0, 0, 0, 0.5) !important;
}

/* Mini équerres aux coins de chaque pill */
body:has(#astroV2ProfileView.active) .astro-profile-existing-pill::before,
body:has(#astroV2ProfileView.active) .astro-profile-existing-pill::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(212, 175, 55, 0.65);
  pointer-events: none;
}
body:has(#astroV2ProfileView.active) .astro-profile-existing-pill::before {
  top: 4px; left: 4px;
  border-right: none; border-bottom: none;
}
body:has(#astroV2ProfileView.active) .astro-profile-existing-pill::after {
  bottom: 4px; right: 4px;
  border-left: none; border-top: none;
}

/* Nom du profil */
body:has(#astroV2ProfileView.active) .astro-profile-existing-pill .pill-name {
  color: #d4af37 !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em !important;
  font-size: 1rem !important;
}
body:has(#astroV2ProfileView.active) .astro-profile-existing-pill .pill-date,
body:has(#astroV2ProfileView.active) .astro-profile-existing-pill .pill-birthdate {
  color: rgba(212, 175, 55, 0.6) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.04em !important;
  font-style: italic;
}

/* Bouton + Ajouter — même grammaire mais sans nom, gros plus doré */
body:has(#astroV2ProfileView.active) .astro-profile-add-btn {
  background: rgba(2, 6, 23, 0.6) !important;
  border: 1px dashed rgba(212, 175, 55, 0.55) !important;
  border-radius: 12px !important;
  color: #d4af37 !important;
  font-size: 2rem !important;
  font-weight: 300 !important;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(212, 175, 55, 0.04);
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.5);
}
body:has(#astroV2ProfileView.active) .astro-profile-add-btn:hover {
  border-color: rgba(212, 175, 55, 0.85) !important;
  background: rgba(212, 175, 55, 0.08) !important;
  color: #f0d97a !important;
  transform: translateY(-2px);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(212, 175, 55, 0.22) !important;
}

/* Petit bouton corbeille (delete) — discret, gold faded */
body:has(#astroV2ProfileView.active) .astro-profile-delete-btn {
  color: rgba(212, 175, 55, 0.4) !important;
  background: transparent !important;
  border: none !important;
  font-size: 0.85rem !important;
  cursor: pointer;
  margin-top: 6px;
  opacity: 0.5;
  transition: opacity 0.2s ease, color 0.2s ease;
}
body:has(#astroV2ProfileView.active) .astro-profile-delete-btn:hover {
  color: #c97c3f !important;
  opacity: 1 !important;
}

/* v28 — Légende sous la roue : plus large sur desktop */
@media (min-width: 769px) {
  body:has(#astroV2ProfileView.active) .natal-chart-legend {
    max-width: 640px !important;
    width: 100% !important;
    margin: 16px auto 0 !important;
    padding: 18px 28px !important;
  }
}
@media (min-width: 1025px) {
  body:has(#astroV2ProfileView.active) .natal-chart-legend {
    max-width: 720px !important;
    padding: 20px 32px !important;
  }
}

/* Print : aussi forcer la couleur nuit sur tous les conteneurs */
@media print {
  body, html, #premiumPrintZone, #astroV2ProfileView, .astro-page-three {
    background-color: #020617 !important;
    background: #020617 !important;
  }
}

/* v29b — Légende natale parfaitement centrée sur desktop */
body:has(#astroV2ProfileView.active) .natal-chart-legend {
  margin-left: auto !important;
  margin-right: auto !important;
}
@media (min-width: 769px) {
  body:has(#astroV2ProfileView.active) .natal-chart-legend {
    max-width: 580px !important;
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (min-width: 1025px) {
  body:has(#astroV2ProfileView.active) .natal-chart-legend {
    max-width: 680px !important;
  }
}

/* v29c — Force centrage légende natale (place-self + align-self) */
body:has(#astroV2ProfileView.active) .natal-chart-legend {
  place-self: center !important;
  align-self: center !important;
  justify-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ============================================================
   ASTRO — Fond mystique sur le menu (astroView)
   2026-05-16
   ============================================================ */

body:has(#astroView.active) {
  background:
    radial-gradient(ellipse at center, rgba(2,6,23,0.0) 0%, rgba(2,6,23,0.55) 100%),
    linear-gradient(rgba(2, 6, 23, 0.25), rgba(2, 6, 23, 0.45)),
    url("/images/back_astro_portrait.webp") center center / cover no-repeat fixed
    #020617 !important;
}

@media (min-width: 1025px) and (orientation: landscape) {
  body:has(#astroView.active) {
    background:
      radial-gradient(ellipse at center, rgba(2,6,23,0.0) 0%, rgba(2,6,23,0.55) 100%),
      linear-gradient(rgba(2, 6, 23, 0.25), rgba(2, 6, 23, 0.45)),
      url("/images/back_astro_desktop.webp") center center / cover no-repeat fixed
      #020617 !important;
  }
}

/* ============================================================
   RELATIONS — Polish luminosité Google Play (2026-05-19)
   ============================================================ */

/* 1. Halo doré renforcé sous le panneau résultat compat + bordure plus lumineuse */
body:has(#astroV2RelationsView.active) #relationsCompatResult:not(:empty) {
  border: 1px solid rgba(212, 175, 55, 0.55) !important;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.55),
    0 0 110px -10px rgba(212, 175, 55, 0.32),
    0 0 40px rgba(212, 175, 55, 0.22),
    inset 0 1px 0 rgba(212, 175, 55, 0.18),
    inset 0 0 0 1px rgba(212, 175, 55, 0.10) !important;
}

/* 2. Cadre doré autour des icônes signes dans l'interprétation */
body:has(#astroV2RelationsView.active) .astro-v2-compat-header .astro-result-sign-icon {
  border: 1px solid rgba(212, 175, 55, 0.55) !important;
  border-radius: 10px !important;
  padding: 10px !important;
  background-color: rgba(2, 6, 23, 0.65) !important;
  box-shadow:
    0 0 22px rgba(212, 175, 55, 0.28),
    inset 0 0 0 1px rgba(212, 175, 55, 0.12) !important;
  box-sizing: content-box !important;
}

/* 3. Halo doré derrière le donut "Climat du jour" */
body:has(#astroV2RelationsView.active) .compat-climat-wheel {
  box-shadow:
    0 0 70px -5px rgba(212, 175, 55, 0.45),
    0 0 28px rgba(212, 175, 55, 0.40),
    inset 0 0 0 1px rgba(212, 175, 55, 0.45) !important;
}

/* 4. Labels FORCE / FRICTION plus lumineux */
body:has(#astroV2RelationsView.active) .astro-v2-result-body p strong {
  color: #e8c252 !important;
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.50) !important;
}

/* 5. Lettrine drop-cap plus marquée et lumineuse */
body:has(#astroV2RelationsView.active) .astro-v2-result-cap::first-letter {
  color: #f0d97a !important;
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.60) !important;
}

/* 6. Coins ornementaux du panneau renforcés */
body:has(#astroV2RelationsView.active) #relationsCompatResult:not(:empty)::before,
body:has(#astroV2RelationsView.active) #relationsCompatResult:not(:empty)::after {
  border-color: rgba(240, 217, 122, 0.85) !important;
  border-width: 1.5px !important;
  width: 22px !important;
  height: 22px !important;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.6));
}

/* ============================================================
   HOROSCOPE (normal + personnalisé) — Polish luminosité (2026-05-19)
   ============================================================ */

/* ---- HOROSCOPE NORMAL (#astroV2HoroscopeView) ---- */

/* Halo doré + bordure renforcée sur le panneau résultat */
body:has(#astroV2HoroscopeView.active) .astro-v2-result:not(:empty) {
  border: 1px solid rgba(212, 175, 55, 0.55) !important;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.55),
    0 0 110px -10px rgba(212, 175, 55, 0.32),
    0 0 40px rgba(212, 175, 55, 0.22),
    inset 0 1px 0 rgba(212, 175, 55, 0.18),
    inset 0 0 0 1px rgba(212, 175, 55, 0.10) !important;
}

/* Coins ornementaux renforcés */
body:has(#astroV2HoroscopeView.active) .astro-v2-result:not(:empty)::before,
body:has(#astroV2HoroscopeView.active) .astro-v2-result:not(:empty)::after {
  border-color: rgba(240, 217, 122, 0.85) !important;
  border-width: 1.5px !important;
  width: 22px !important;
  height: 22px !important;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.6));
}

/* Cadre doré autour de l'icône signe dans le header */
body:has(#astroV2HoroscopeView.active) .astro-v2-result-header .astro-result-sign-icon {
  border: 1px solid rgba(212, 175, 55, 0.55) !important;
  border-radius: 10px !important;
  padding: 8px !important;
  background-color: rgba(2, 6, 23, 0.65) !important;
  box-shadow:
    0 0 22px rgba(212, 175, 55, 0.28),
    inset 0 0 0 1px rgba(212, 175, 55, 0.12) !important;
  box-sizing: content-box !important;
}

/* Strong dans le corps (labels colorés) plus lumineux */
body:has(#astroV2HoroscopeView.active) .astro-v2-result-theme strong {
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.50) !important;
}

/* Drop-cap plus marquée et lumineuse */
body:has(#astroV2HoroscopeView.active) .astro-v2-result-theme p:first-of-type::first-letter {
  color: #f0d97a !important;
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.60) !important;
}

/* ---- HOROSCOPE PERSONNALISÉ (.ph-card-result) ---- */

/* Halo doré + bordure renforcée sur la carte */
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-card-result {
  border-color: rgba(212, 175, 55, 0.55) !important;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.55),
    0 0 110px -10px rgba(212, 175, 55, 0.32),
    0 0 40px rgba(212, 175, 55, 0.22),
    inset 0 1px 0 rgba(212, 175, 55, 0.18),
    inset 0 0 0 1px rgba(212, 175, 55, 0.10) !important;
}

/* Coins ornementaux de la carte ph renforcés */
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-card-result::before,
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-card-result::after {
  border-color: rgba(240, 217, 122, 0.85) !important;
  border-width: 1.5px !important;
  width: 22px !important;
  height: 22px !important;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.6)) !important;
}

/* Cadres dorés renforcés sur les cartes de transits (Jupiter/Vénus/Soleil…) */
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspect-card {
  border-color: rgba(212, 175, 55, 0.50) !important;
  background-color: rgba(2, 6, 23, 0.65) !important;
  box-shadow:
    0 0 22px rgba(212, 175, 55, 0.18),
    inset 0 0 0 1px rgba(212, 175, 55, 0.10) !important;
}

/* Glyphe planète dans les transits plus lumineux */
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-aspect-symbol {
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.55) !important;
}

/* Titres de bullets (CARRIÈRE / COMMUNICATION / RELATIONS) plus lumineux */
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-bullet-keyword,
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-bullet-title {
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.45) !important;
}

/* Drop-caps (intro + chaque advice) plus marquées */
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-intro::first-letter,
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-bullet-advice::first-letter {
  color: #f0d97a !important;
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.60) !important;
}

/* Headline (phrase d'introduction italique entre fleurons) plus brillante */
body:has(#astroV2HoroscopeView.active, #astroV2PersonalHoroscopeView.active) .ph-headline {
  text-shadow: 0 0 16px rgba(212, 175, 55, 0.30) !important;
}

/* ============================================================
   THÈME NATAL — Polish sobre v2 (2026-05-19)
   Effets retirés : drop-shadow sur SVG (créait du flou),
   halo radial sous la roue (effet "sale"),
   glows colorés sur chips (clash).
   On garde uniquement : chips légèrement plus marqués + légende plus lisible.
   ============================================================ */

/* Chips Soleil / Lune / Ascendant — bordure 2px sobre, sans box-shadow coloré */
#astroV2ProfileView .astro-profile-chip {
  border-width: 2px !important;
  font-weight: 600 !important;
}
#astroV2ProfileView .astro-profile-chip.sun {
  border-color: rgba(245, 158, 11, 0.75) !important;
  color: #fbbf24 !important;
}
#astroV2ProfileView .astro-profile-chip.moon {
  border-color: rgba(99, 102, 241, 0.75) !important;
  color: #a5b4fc !important;
}
#astroV2ProfileView .astro-profile-chip.asc {
  border-color: rgba(16, 185, 129, 0.75) !important;
  color: #34d399 !important;
}

/* Strong/b dans la légende plus lisibles, glow très discret */
body:has(#astroV2ProfileView.active) .natal-chart-legend strong,
body:has(#astroV2ProfileView.active) .natal-chart-legend b {
  color: #e6d282 !important;
  text-shadow: 0 0 8px rgba(230, 210, 130, 0.25) !important;
}
