/* Раздел «Луна» (/luna): диск, календарная сетка, таблица фаз. Типографика и герой —
   static/radix/horoscope.css (.hz-*). Без встроенных стилей в разметке (CSP). */

.lu-hero { align-items: center; }
.lu-now { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lu-disc { width: min(100%, 380px); aspect-ratio: 1; filter: drop-shadow(0 20px 60px rgba(232, 195, 106, 0.18)); }
.lu-now figcaption { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; max-width: 360px; font-size: 13px; color: var(--rx-text-3); }
.lu-now__phase { font-family: var(--rx-serif); font-size: 22px; font-weight: 500; color: var(--rx-gold); }
.lu-now figcaption a { color: var(--rx-text); }

.lu-nowcard { padding: 0; }
.lu-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin: 0; }
@media (min-width: 720px) { .lu-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lu-facts div { display: flex; flex-direction: column; gap: 4px; padding: 16px 0 0; border-top: 1px solid var(--rx-line, rgba(242, 240, 234, 0.1)); }
.lu-facts dt { font: 600 11px/1.2 var(--rx-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--rx-text-3); }
.lu-facts dd { margin: 0; font-size: 16px; color: var(--rx-text); }
.lu-facts a { color: inherit; }

.lu-timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.lu-timeline li { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rx-line, rgba(242, 240, 234, 0.1)); }
.lu-timeline li:first-child { border-top: 1px solid var(--rx-line, rgba(242, 240, 234, 0.1)); }
.lu-timeline div { display: flex; flex-direction: column; gap: 2px; }
.lu-timeline a { color: var(--rx-text); }
.lu-timeline span { font-size: 13px; color: var(--rx-text-2); }
.lu-mini { width: 22px; height: 22px; flex: 0 0 22px; }

.lu-years { display: flex; flex-direction: column; gap: 28px; }
.lu-years__year { font-family: var(--rx-serif); font-size: 28px; color: var(--rx-gold); }
.lu-months { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lu-months a, .lu-months--year a { display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid var(--rx-line, rgba(242, 240, 234, 0.1)); border-radius: 999px; color: var(--rx-text); font-size: 14px; }
.lu-months a:hover, .lu-chips a:hover { border-color: rgba(232, 195, 106, 0.5); }
.lu-months--year { margin: 0; gap: 8px; }
.lu-also { font-size: 14px; color: var(--rx-text-2); }
.lu-also a { color: var(--rx-gold); }

.lu-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lu-chips a, .lu-chips li a { display: inline-flex; padding: 8px 14px; border: 1px solid var(--rx-line, rgba(242, 240, 234, 0.1)); border-radius: 999px; color: var(--rx-text); font-size: 14px; }

.lu-pager { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.lu-pager a { color: var(--rx-gold); font-size: 14px; }

.lu-cal { display: flex; flex-direction: column; gap: 8px; }
.lu-cal__head, .lu-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.lu-cal__head span { font: 600 11px/1.2 var(--rx-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--rx-text-3); text-align: center; padding: 6px 0; }
.lu-cell { min-height: 92px; padding: 8px 6px 10px; border: 1px solid var(--rx-line, rgba(242, 240, 234, 0.1)); border-radius: 10px; display: flex; flex-direction: column; gap: 2px; background: rgba(242, 240, 234, 0.02); }
.lu-cell--empty { background: transparent; border-color: transparent; }
.lu-cell--event { border-color: rgba(232, 195, 106, 0.4); background: rgba(232, 195, 106, 0.07); }
.lu-cell--today { box-shadow: inset 0 0 0 1px var(--rx-gold); }
.lu-cell__day { font: 600 13px/1 var(--rx-sans); font-variant-numeric: tabular-nums; }
.lu-cell__ill, .lu-cell__sign, .lu-cell__in { font-size: 11px; color: var(--rx-text-3); }
.lu-cell__ev { font-size: 11px; color: var(--rx-gold); line-height: 1.25; }
.lu-cell .lu-mini { width: 22px; height: 22px; margin-top: auto; }
@media (max-width: 719px) {
  .lu-cell { min-height: 72px; padding: 6px 4px 8px; }
  .lu-cell__sign, .lu-cell__in { display: none; }
  .lu-cell__ill, .lu-cell__ev { font-size: 10px; }
}

.lu-table-wrap { overflow-x: auto; }
.lu-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.lu-table th, .lu-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--rx-line, rgba(242, 240, 234, 0.1)); vertical-align: top; }
.lu-table th { font: 600 11px/1.2 var(--rx-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--rx-text-3); }
.lu-table a { color: var(--rx-text); }
.lu-table__super td { color: var(--rx-gold); }
.lu-table__super a { color: var(--rx-gold); }
@media (max-width: 639px) {
  .lu-table thead { display: none; }
  .lu-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--rx-line, rgba(242, 240, 234, 0.1)); }
  .lu-table td { display: block; padding: 2px 0; border: 0; }
  .lu-table td::before { content: attr(data-label) " · "; color: var(--rx-text-3); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
}

.lu-prose { display: flex; flex-direction: column; gap: 16px; max-width: 68ch; }
.lu-prose p { margin: 0; color: var(--rx-text-2); font-size: 17px; line-height: 1.55; }
.lu-prose a { color: var(--rx-gold); }

.lu-periods { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.lu-periods li { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--rx-line, rgba(242, 240, 234, 0.1)); font-variant-numeric: tabular-nums; }
.lu-periods__now { color: var(--rx-gold); }
.lu-periods em { font-style: normal; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }

.hz-sign--current { box-shadow: inset 0 0 0 1px var(--rx-gold); }
