/* ============================================
   Lumiora — Натальная карта (стили)
   ============================================ */

.dock-item--astrology .dock-item__icon { color: #8ecae6; }

/* ─── Город: поле + автокомплит ─── */

.astro-city-field {
  position: relative;
  margin-bottom: 16px;
}

.astro-city-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 220px;
  overflow-y: auto;
  background: var(--glass-hover);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  z-index: 10;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.astro-city-results__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  padding: 10px 14px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.astro-city-results__item:last-child { border-bottom: none; }
.astro-city-results__item:hover,
.astro-city-results__item:active {
  background: rgba(142, 202, 230, 0.12);
}
.astro-city-results__item span {
  font-size: 12px;
  color: var(--text-muted);
}

.astro-city-results__empty {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── Время: поле + «Не знаю время» ─── */

.astro-time-field {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.astro-time-field input[type="time"] {
  flex: 1;
  padding: 14px 10px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.astro-time-field input[type="time"]:focus {
  outline: none;
  border-color: #8ecae6;
  background: var(--glass-hover);
}

.astro-time-unknown {
  flex-shrink: 0;
  padding: 12px 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, color 0.15s;
}
.astro-time-unknown.is-active {
  border-color: #8ecae6;
  color: #8ecae6;
  background: rgba(142, 202, 230, 0.12);
}

.astro-time-hint {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 16px;
  text-align: left;
}

/* ─── Согласие ─── */

.astro-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 16px;
  text-align: left;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
}
.astro-consent input {
  margin-top: 2px;
  flex-shrink: 0;
}

/* ─── Preview ─── */

.astro-preview {
  max-width: 480px;
  margin: 0 auto;
  padding: 20px 20px 40px;
}

.astro-bigthree {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.astro-bigthree__card {
  padding: 16px 10px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  text-align: center;
}
.astro-bigthree__card--empty { opacity: 0.5; }
.astro-bigthree__label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.astro-bigthree__value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.astro-bigthree__degree {
  font-size: 12px;
  color: #8ecae6;
  margin-top: 2px;
}

.astro-unavailable {
  margin-bottom: 16px;
}
.astro-unavailable__item {
  padding: 8px 12px;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.astro-section-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.astro-portrait {
  margin-bottom: 20px;
  line-height: 1.6;
  color: var(--text);
  font-size: 15px;
}
.astro-portrait p { margin: 0 0 10px; }

.astro-aspects { margin-bottom: 16px; }
.astro-aspect {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 10px 12px;
  margin-bottom: 6px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  font-size: 13px;
}
.astro-aspect__type {
  color: #8ecae6;
  font-weight: 500;
}

.astro-notices { margin-bottom: 16px; }
.astro-notice {
  padding: 10px 12px;
  margin-bottom: 6px;
  background: rgba(142, 202, 230, 0.08);
  border-left: 2px solid #8ecae6;
  border-radius: 0 10px 10px 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Карточка сохранённого разбора (.reading-card) переехала в style.css —
   её делят натальные карты и матрицы. */


/* ─── Полный разбор (T-4.4): paywall / купленный текст ─── */
.astro-full {
  max-width: 480px;
  margin: 0 auto 20px;
  padding: 0 20px;
}

/* ─── Десктоп (T-2.3): факты/портрет слева, луна по центру, чат справа ─── */
@media (min-width: 1024px) {
  .astro-preview,
  .astro-full {
    max-width: none;
    margin: 0;
  }

  #astrologyPreviewScreen .tool-desk__right {
    padding-top: 0.5rem;
  }
}

/* Хаб инструмента (.tool-hub / .tool-hub-side / .tool-hub-list) переехал
   в style.css — его делят натальные карты и матрица. */

