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

.cycles-date-block {
  margin: 0 auto 20px;
  max-width: 340px;
}

.cycles-date-label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-main);
  margin-bottom: 8px;
  opacity: 0.85;
}

.numero-cycles-tabs-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.numero-cycles-tab {
  cursor: pointer;
}

.numero-cycles-tab.active {
  border-color: rgba(230, 210, 130, 0.6);
  color: var(--gold-main);
  box-shadow: 0 0 12px rgba(230, 210, 130, 0.2);
  background: rgba(230, 210, 130, 0.07);
}

.numero-cycles-numbers-card {
  margin: 0 auto 20px;
  width: 100%;
  max-width: 480px;
  box-sizing: border-box;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(5, 10, 30, 0.95);
  border: 1px solid rgba(230, 210, 130, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.numero-cycles-numbers-header {
  text-align: center;
  margin-bottom: 14px;
}

.cycles-trio {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.cycles-trio-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 10px 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.25s ease;
}

.cycles-trio-item.active {
  background: rgba(230, 210, 130, 0.09);
  border-color: rgba(230, 210, 130, 0.4);
  box-shadow: 0 0 18px rgba(230, 210, 130, 0.12);
}

.cycles-trio-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 6px;
}

.cycles-trio-item.active .cycles-trio-label {
  color: var(--gold-main);
  opacity: 0.85;
}

.cycles-trio-num {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: #e5e7eb;
  letter-spacing: -0.02em;
}

.cycles-trio-item.active .cycles-trio-num {
  color: var(--gold-main);
}

.cycles-trio-sep {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  padding-bottom: 4px;
}

.cycles-interp-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 auto 20px;
  max-width: 480px;
}

.cycles-interp-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(5, 10, 30, 0.8);
  border-left: 3px solid;
}

.cycles-interp-card--cap {
  border-color: rgba(230, 210, 130, 0.6);
}

.cycles-interp-card--todo {
  border-color: rgba(74, 222, 128, 0.5);
}

.cycles-interp-card--avoid {
  border-color: rgba(251, 146, 60, 0.5);
}

.cycles-interp-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.cycles-interp-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 4px;
}

.cycles-interp-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #e5e7eb;
}

.cycles-interp-blocks {
  width: 100%;
  max-width: 480px;
  box-sizing: border-box;
  margin: 0 auto 20px;
}

.cycles-interp-block {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(5, 10, 30, 0.8);
  border: 1px solid rgba(230, 210, 130, 0.1);
  margin-bottom: 10px;
  box-sizing: border-box;
}

.cycles-interp-block-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-main);
  opacity: 0.8;
  margin-bottom: 6px;
}

.cycles-interp-block-text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #d1d5db;
}

.cycles-interp-plain {
  max-width: 480px;
  margin: 0 auto 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #d1d5db;
}

.cycles-loading,
.cycles-empty-msg {
  text-align: center;
  color: #9ca3af;
  font-size: 0.9rem;
  font-style: italic;
  padding: 12px 0;
}

.cycles-lucky-inline {
  max-width: 480px;
  margin: 4px auto 24px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(5, 10, 30, 0.95);
  border: 1px solid rgba(230, 210, 130, 0.18);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.cycles-lucky-header {
  text-align: center;
  margin-bottom: 14px;
}

.cycles-lucky-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cycles-lucky-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.cycles-lucky-game {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-main);
  opacity: 0.8;
  min-width: 90px;
  flex-shrink: 0;
}

.cycles-lucky-nums {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f9fafb;
  letter-spacing: 0.02em;
}

.cycles-lucky-chance,
.cycles-lucky-stars {
  color: var(--gold-main);
  margin-left: 8px;
  font-size: 0.95rem;
}

.cycles-lucky-disclaimer {
  margin-top: 12px;
  font-size: 0.78rem;
  color: #6b7280;
  text-align: center;
  font-style: italic;
}

.btn-cycles-calendar {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  padding: 0.55rem 1.1rem;
  background: rgba(230, 210, 130, 0.07);
  border: 1px solid rgba(230, 210, 130, 0.35);
  border-radius: 999px;
  color: var(--gold-main);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cycles-calendar:hover {
  background: rgba(230, 210, 130, 0.13);
  border-color: rgba(230, 210, 130, 0.55);
  transform: translateY(-1px);
}

.btn-cycles-calendar:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

#numerologyCyclesView #numeroCyclesText,
#numerologyCyclesView .cycles-interp-plain,
#numerologyCyclesView .cycles-interp-block,
#numerologyCyclesView .cycles-lucky-inline {
  max-width: 640px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#numerologyCyclesView .cycles-month-calendar,
#numerologyCyclesView .numero-cycles-calendar,
#numerologyCyclesView .cycles-calendar-wrap,
#numerologyCyclesView .cycles-calendar,
#numerologyCyclesView .numero-cycles-month-wrap {
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
}

#numerologyCyclesView #numeroCyclesText,
#numerologyCyclesView .cycles-interp-plain,
#numerologyCyclesView .cycles-interp-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* ============================================================
   NUMÉROLOGIE CYCLES — Lifting premium aligné tarot/astro
   2026-05-16
   ============================================================ */

/* === HERO FRAME : cadre or autour de la saisie + onglets === */
#numerologyCyclesView .cycles-date-block {
  position: relative;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 14px;
  padding: 22px 24px 18px;
  background: rgba(2, 6, 23, 0.55);
  max-width: 380px !important;
  margin: 0 auto 24px !important;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.06) inset,
    0 8px 32px rgba(0, 0, 0, 0.45);
}
#numerologyCyclesView .cycles-date-block::before,
#numerologyCyclesView .cycles-date-block::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(212, 175, 55, 0.7);
  pointer-events: none;
}
#numerologyCyclesView .cycles-date-block::before {
  top: 7px; left: 7px; border-right: none; border-bottom: none;
}
#numerologyCyclesView .cycles-date-block::after {
  bottom: 7px; right: 7px; border-left: none; border-top: none;
}
#numerologyCyclesView .cycles-date-label {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  color: #d4af37 !important;
  letter-spacing: 0.14em !important;
  font-size: 0.78rem !important;
  text-align: center;
  opacity: 0.95 !important;
}

/* === TITRE PRINCIPAL === */
#numerologyCyclesView h2.astro-title {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  color: #d4af37 !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.25) !important;
}
#numerologyCyclesView h2.astro-title::before,
#numerologyCyclesView h2.astro-title::after {
  content: "◆";
  display: inline-block;
  color: #d4af37;
  font-size: 0.5em;
  vertical-align: middle;
  margin: 0 0.6em;
  opacity: 0.75;
  font-family: "Segoe UI Symbol", "Arial Unicode MS", sans-serif;
}
#numerologyCyclesView .astro-subtitle {
  color: rgba(230, 210, 130, 0.75) !important;
  font-style: italic !important;
  text-align: center !important;
}

/* === ONGLETS PÉRIODE : sobres or, plus de pills jaunes === */
#numerologyCyclesView .numero-cycles-tabs-row {
  gap: 10px !important;
}
#numerologyCyclesView .numero-cycles-tab {
  background: transparent !important;
  border: 1px solid rgba(212, 175, 55, 0.32) !important;
  color: rgba(212, 175, 55, 0.75) !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-size: 0.92rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 9px 18px !important;
  border-radius: 999px !important;
  transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s !important;
}
#numerologyCyclesView .numero-cycles-tab:hover {
  border-color: rgba(212, 175, 55, 0.65) !important;
  color: #d4af37 !important;
  background: rgba(212, 175, 55, 0.05) !important;
}
#numerologyCyclesView .numero-cycles-tab.active {
  background: rgba(212, 175, 55, 0.12) !important;
  border-color: #d4af37 !important;
  color: #f0d97a !important;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.25) !important;
}
#numerologyCyclesView .numero-cycles-tab .arcane-badge-inline {
  color: rgba(212, 175, 55, 0.75) !important;
}
#numerologyCyclesView .numero-cycles-tab .arcane-badge-inline::before {
  color: #d4af37 !important;
}

/* === CARTE "NOMBRES PERSONNELS" : cadre + équerres + chip serif === */
#numerologyCyclesView .numero-cycles-numbers-card {
  position: relative;
  background: rgba(2, 6, 23, 0.7) !important;
  border: 1px solid rgba(212, 175, 55, 0.32) !important;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.06) inset,
    0 4px 20px rgba(0, 0, 0, 0.45) !important;
  padding: 24px 22px !important;
}
#numerologyCyclesView .numero-cycles-numbers-card::before,
#numerologyCyclesView .numero-cycles-numbers-card::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(212, 175, 55, 0.7);
  pointer-events: none;
}
#numerologyCyclesView .numero-cycles-numbers-card::before {
  top: 8px; left: 8px; border-right: none; border-bottom: none;
}
#numerologyCyclesView .numero-cycles-numbers-card::after {
  bottom: 8px; right: 8px; border-left: none; border-top: none;
}

#numerologyCyclesView .numero-cycles-chip,
#numerologyCyclesView .cycles-lucky-header .numero-cycles-chip {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  color: #d4af37 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  background: transparent !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  padding: 5px 16px !important;
  border-radius: 999px !important;
  display: inline-block;
}

#numerologyCyclesView .cycles-trio-item {
  background: rgba(2, 6, 23, 0.4) !important;
  border-color: rgba(212, 175, 55, 0.18) !important;
}
#numerologyCyclesView .cycles-trio-item.active {
  background: rgba(212, 175, 55, 0.08) !important;
  border-color: rgba(212, 175, 55, 0.55) !important;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.18) !important;
}
#numerologyCyclesView .cycles-trio-label {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  letter-spacing: 0.14em !important;
  color: rgba(212, 175, 55, 0.55) !important;
}
#numerologyCyclesView .cycles-trio-item.active .cycles-trio-label {
  color: #d4af37 !important;
  opacity: 1 !important;
}
#numerologyCyclesView .cycles-trio-num {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-weight: 600 !important;
  color: #d4af37 !important;
  font-size: 2.4rem !important;
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.35) !important;
}
#numerologyCyclesView .cycles-trio-item.active .cycles-trio-num {
  color: #f0d97a !important;
}

/* === DAY INTERP CARDS (Cap, À faire, À éviter) === */
#numerologyCyclesView .cycles-interp-card {
  position: relative;
  background: rgba(2, 6, 23, 0.7) !important;
  border: 1px solid rgba(212, 175, 55, 0.28) !important;
  border-left: 1px solid rgba(212, 175, 55, 0.28) !important;
  border-radius: 14px !important;
  padding: 20px 22px !important;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.06) inset,
    0 4px 16px rgba(0, 0, 0, 0.35);
}
#numerologyCyclesView .cycles-interp-card::before,
#numerologyCyclesView .cycles-interp-card::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(212, 175, 55, 0.6);
  pointer-events: none;
}
#numerologyCyclesView .cycles-interp-card::before {
  top: 7px; left: 7px; border-right: none; border-bottom: none;
}
#numerologyCyclesView .cycles-interp-card::after {
  bottom: 7px; right: 7px; border-left: none; border-top: none;
}
#numerologyCyclesView .cycles-interp-card--cap,
#numerologyCyclesView .cycles-interp-card--todo,
#numerologyCyclesView .cycles-interp-card--avoid {
  border-color: rgba(212, 175, 55, 0.28) !important;
}
#numerologyCyclesView .cycles-interp-icon {
  display: none !important;
}
#numerologyCyclesView .cycles-interp-label {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  color: #d4af37 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.16em !important;
  font-weight: 500 !important;
}
#numerologyCyclesView .cycles-interp-label::before {
  content: "◆";
  display: inline-block;
  margin-right: 0.5em;
  font-size: 0.75em;
  opacity: 0.7;
  font-family: "Segoe UI Symbol", "Arial Unicode MS", sans-serif;
  vertical-align: middle;
}
#numerologyCyclesView .cycles-interp-text::first-letter {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: 2.2em;
  font-weight: 600;
  color: #d4af37;
  float: left;
  line-height: 0.95;
  margin: 4px 7px 0 0;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
}

/* === MONTH/YEAR INTERP BLOCKS (Tendance, Priorité, Signal d'alerte) === */
#numerologyCyclesView .cycles-interp-block {
  background: rgba(2, 6, 23, 0.5) !important;
  border: none !important;
  border-left: 2px solid rgba(212, 175, 55, 0.55) !important;
  border-radius: 0 8px 8px 0 !important;
  padding: 16px 18px 14px 18px !important;
  margin-bottom: 12px !important;
}
#numerologyCyclesView .cycles-interp-block-label {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  color: #d4af37 !important;
  letter-spacing: 0.16em !important;
  font-size: 0.78rem !important;
  opacity: 1 !important;
}
#numerologyCyclesView .cycles-interp-block-text {
  color: #d1d5db !important;
}

/* === CALENDRIER / LÉGENDE === */
#numerologyCyclesView .cycles-calendar-title {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  color: #d4af37 !important;
  letter-spacing: 0.14em !important;
  font-size: 0.95rem !important;
  text-transform: uppercase !important;
}
#numerologyCyclesView .cycles-calendar-title::before {
  content: "◆";
  display: inline-block;
  margin-right: 0.5em;
  font-size: 0.75em;
  opacity: 0.7;
  font-family: "Segoe UI Symbol", "Arial Unicode MS", sans-serif;
  vertical-align: middle;
}

/* === LUCKY INLINE (Loto/Euromillions) === */
#numerologyCyclesView .cycles-lucky-inline {
  position: relative;
  background: rgba(2, 6, 23, 0.7) !important;
  border: 1px solid rgba(212, 175, 55, 0.32) !important;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.06) inset,
    0 4px 20px rgba(0, 0, 0, 0.45) !important;
}
#numerologyCyclesView .cycles-lucky-inline::before,
#numerologyCyclesView .cycles-lucky-inline::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(212, 175, 55, 0.65);
  pointer-events: none;
}
#numerologyCyclesView .cycles-lucky-inline::before {
  top: 7px; left: 7px; border-right: none; border-bottom: none;
}
#numerologyCyclesView .cycles-lucky-inline::after {
  bottom: 7px; right: 7px; border-left: none; border-top: none;
}
#numerologyCyclesView .cycles-lucky-game {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  color: #d4af37 !important;
  letter-spacing: 0.16em !important;
  opacity: 1 !important;
}
#numerologyCyclesView .cycles-lucky-nums {
  color: #f0d97a !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif !important;
  font-weight: 600 !important;
  font-size: 1.15rem !important;
  letter-spacing: 0.06em !important;
}
#numerologyCyclesView .cycles-lucky-chance,
#numerologyCyclesView .cycles-lucky-stars {
  color: #d4af37 !important;
}

/* === Cohérence visuelle : tous les blocs sur la même largeur ===
   Largeur unifiée 520px, centrée horizontalement                  */
#numerologyCyclesView .cycles-date-block,
#numerologyCyclesView .numero-cycles-tabs-row,
#numerologyCyclesView .numero-cycles-numbers-card,
#numerologyCyclesView .cycles-interp-cards,
#numerologyCyclesView .cycles-interp-blocks,
#numerologyCyclesView .cycles-interp-plain,
#numerologyCyclesView .cycles-lucky-inline,
#numerologyCyclesView #numeroCyclesText {
  max-width: 520px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* Onglets sur une seule ligne, équirépartis */
#numerologyCyclesView .numero-cycles-tabs-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-bottom: 22px !important;
}
#numerologyCyclesView .numero-cycles-tab {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  padding: 9px 6px !important;
  text-align: center !important;
}

/* ============================================================
   NUM — Cadre or sur l'entête de vue (cycles + profil)
   2026-05-16
   ============================================================ */
#numerologyCyclesView .num-view-header,
#numerologyProfileView .num-view-header {
  position: relative;
  max-width: 520px;
  width: 100%;
  margin: 0 auto 28px;
  padding: 22px 24px 18px;
  background: rgba(2, 6, 23, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 14px;
  box-sizing: border-box;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.06) inset,
    0 8px 32px rgba(0, 0, 0, 0.45);
}
#numerologyCyclesView .num-view-header::before,
#numerologyCyclesView .num-view-header::after,
#numerologyProfileView .num-view-header::before,
#numerologyProfileView .num-view-header::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(212, 175, 55, 0.7);
  pointer-events: none;
}
#numerologyCyclesView .num-view-header::before,
#numerologyProfileView .num-view-header::before {
  top: 8px; left: 8px; border-right: none; border-bottom: none;
}
#numerologyCyclesView .num-view-header::after,
#numerologyProfileView .num-view-header::after {
  bottom: 8px; right: 8px; border-left: none; border-top: none;
}
#numerologyCyclesView .num-view-header h2,
#numerologyProfileView .num-view-header h2 {
  margin: 0 0 6px !important;
}
#numerologyCyclesView .num-view-header .astro-subtitle,
#numerologyProfileView .num-view-header .astro-subtitle {
  margin: 0 !important;
}

/* ============================================================
   CYCLES — Mois/Année : équerres or comme les cartes Jour
   ============================================================ */
#numerologyCyclesView .cycles-interp-block {
  position: relative !important;
  background: rgba(2, 6, 23, 0.7) !important;
  border: 1px solid rgba(212, 175, 55, 0.28) !important;
  border-left: 1px solid rgba(212, 175, 55, 0.28) !important;
  border-radius: 14px !important;
  padding: 20px 22px !important;
  margin-bottom: 12px !important;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.06) inset,
    0 4px 16px rgba(0, 0, 0, 0.35) !important;
}
#numerologyCyclesView .cycles-interp-block::before,
#numerologyCyclesView .cycles-interp-block::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(212, 175, 55, 0.6);
  pointer-events: none;
}
#numerologyCyclesView .cycles-interp-block::before {
  top: 7px; left: 7px; border-right: none; border-bottom: none;
}
#numerologyCyclesView .cycles-interp-block::after {
  bottom: 7px; right: 7px; border-left: none; border-top: none;
}
#numerologyCyclesView .cycles-interp-block-label::before {
  content: "◆";
  display: inline-block;
  margin-right: 0.5em;
  font-size: 0.75em;
  opacity: 0.7;
  font-family: "Segoe UI Symbol", "Arial Unicode MS", sans-serif;
  vertical-align: middle;
  color: #d4af37;
}
#numerologyCyclesView .cycles-interp-block-text::first-letter {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: 2.2em;
  font-weight: 600;
  color: #d4af37;
  float: left;
  line-height: 0.95;
  margin: 4px 7px 0 0;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
}

/* Onglet "Année" : éviter conflit avec celui des dimensions */

/* === Annuler le cadre titre erroné, encadrer la vignette hero === */
#numerologyCyclesView .num-view-header,
#numerologyProfileView .num-view-header {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  max-width: none !important;
}
#numerologyCyclesView .num-view-header::before,
#numerologyCyclesView .num-view-header::after,
#numerologyProfileView .num-view-header::before,
#numerologyProfileView .num-view-header::after {
  content: none !important;
}

/* === Cadre or + équerres autour de la vignette hero === */
#numerologyCyclesView #numCyclesHeroImgWrap,
#numerologyProfileView #numProfileHeroImgWrap {
  position: relative !important;
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.08) inset,
    0 0 32px rgba(212, 175, 55, 0.18),
    0 10px 30px rgba(0,0,0,0.8) !important;
  overflow: visible !important;
}
#numerologyCyclesView #numCyclesHeroImgWrap::before,
#numerologyCyclesView #numCyclesHeroImgWrap::after,
#numerologyProfileView #numProfileHeroImgWrap::before,
#numerologyProfileView #numProfileHeroImgWrap::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid #d4af37;
  pointer-events: none;
  z-index: 2;
}
#numerologyCyclesView #numCyclesHeroImgWrap::before,
#numerologyProfileView #numProfileHeroImgWrap::before {
  top: -6px; left: -6px;
  border-right: none; border-bottom: none;
}
#numerologyCyclesView #numCyclesHeroImgWrap::after,
#numerologyProfileView #numProfileHeroImgWrap::after {
  bottom: -6px; right: -6px;
  border-left: none; border-top: none;
}

/* === Fix 1 : sous-titre profil de vie recentré === */
#numerologyProfileView .num-view-header,
#numerologyCyclesView .num-view-header {
  text-align: center !important;
}
#numerologyProfileView .num-view-header .astro-subtitle,
#numerologyCyclesView .num-view-header .astro-subtitle {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* === Fix 2 : badge arcanes centré dans les pills Jour/Mois/Année === */
#numerologyCyclesView .numero-cycles-tab {
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
}
#numerologyCyclesView .numero-cycles-tab .arcane-badge-inline {
  text-align: center !important;
  display: block !important;
  width: auto !important;
  margin: 0 auto !important;
}

/* === Fix 3 : cadre or + équerres autour du calendrier === */
#numerologyCyclesView .cycles-calendar-container {
  position: relative !important;
  background: rgba(2, 6, 23, 0.7) !important;
  border: 1px solid rgba(212, 175, 55, 0.32) !important;
  border-radius: 14px !important;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.06) inset,
    0 4px 20px rgba(0, 0, 0, 0.45) !important;
}
#numerologyCyclesView .cycles-calendar-container::before,
#numerologyCyclesView .cycles-calendar-container::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(212, 175, 55, 0.7);
  pointer-events: none;
  z-index: 2;
}
#numerologyCyclesView .cycles-calendar-container::before {
  top: 8px; left: 8px;
  border-right: none; border-bottom: none;
}
#numerologyCyclesView .cycles-calendar-container::after {
  bottom: 8px; right: 8px;
  border-left: none; border-top: none;
}

/* ============================================================
   NUMÉROLOGIE — Cycles : Polish luminosité (2026-05-19)
   ============================================================ */

/* Carte principale "chiffres du jour" — halo doré + bordure renforcée */
#numerologyCyclesView .numero-cycles-numbers-card {
  border: 1px solid rgba(230, 210, 130, 0.50) !important;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.55),
    0 0 90px -8px rgba(230, 210, 130, 0.32),
    0 0 28px rgba(230, 210, 130, 0.20),
    inset 0 1px 0 rgba(230, 210, 130, 0.15) !important;
  position: relative;
}

/* Coins ornementaux sur la carte principale */
#numerologyCyclesView .numero-cycles-numbers-card::before,
#numerologyCyclesView .numero-cycles-numbers-card::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(240, 217, 122, 0.85);
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(230, 210, 130, 0.6));
}
#numerologyCyclesView .numero-cycles-numbers-card::before {
  top: 8px; left: 8px; border-right: none; border-bottom: none;
}
#numerologyCyclesView .numero-cycles-numbers-card::after {
  bottom: 8px; right: 8px; border-left: none; border-top: none;
}

/* Trio de chiffres (jour/mois/année) — chiffres plus brillants */
#numerologyCyclesView .cycles-trio-num {
  text-shadow: 0 0 18px rgba(230, 210, 130, 0.55) !important;
}
#numerologyCyclesView .cycles-trio-item.active .cycles-trio-num {
  text-shadow: 0 0 24px rgba(230, 210, 130, 0.75) !important;
}

/* Cartes interp (cap / à faire / à éviter) — borders saturées + halo */
#numerologyCyclesView .cycles-interp-card {
  background: rgba(5, 10, 30, 0.85) !important;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.45),
    0 0 36px -6px rgba(230, 210, 130, 0.18) !important;
}
#numerologyCyclesView .cycles-interp-card--cap {
  border-color: rgba(230, 210, 130, 0.85) !important;
  border-left-width: 4px !important;
}
#numerologyCyclesView .cycles-interp-card--todo {
  border-color: rgba(74, 222, 128, 0.75) !important;
  border-left-width: 4px !important;
}
#numerologyCyclesView .cycles-interp-card--avoid {
  border-color: rgba(251, 146, 60, 0.75) !important;
  border-left-width: 4px !important;
}

/* Labels et icônes interp plus lumineux */
#numerologyCyclesView .cycles-interp-label {
  color: #d4af37 !important;
  text-shadow: 0 0 10px rgba(230, 210, 130, 0.35) !important;
}
#numerologyCyclesView .cycles-interp-icon {
  filter: drop-shadow(0 0 8px rgba(230, 210, 130, 0.45)) !important;
}

/* Blocs interp (longs) — halo doré */
#numerologyCyclesView .cycles-interp-block {
  border-color: rgba(230, 210, 130, 0.45) !important;
  box-shadow: 0 0 28px -5px rgba(230, 210, 130, 0.22) !important;
}
#numerologyCyclesView .cycles-interp-block-label {
  text-shadow: 0 0 12px rgba(230, 210, 130, 0.40) !important;
}

/* Lucky numbers — halo */
#numerologyCyclesView .cycles-lucky-inline {
  border-color: rgba(230, 210, 130, 0.45) !important;
  box-shadow: 0 0 32px -5px rgba(230, 210, 130, 0.22) !important;
}
