/* ==========================================================================
   АСТРОКЛУБ (AstroClub) — Дизайн-система для дорослої аудиторії (40+)
   Акцент: Високий контраст (WCAG AAA), світлий спокійний фон без ряботи,
   шляхетні зелені відтінки (фінанси, розвиток, спокій), великий шрифт.
   ========================================================================== */

:root {
  /* Шкала розміру шрифту (можна перемикати кнопками А / А+ / А++) */
  --base-font-size: 18px;
  --line-height-body: 1.65;
  --line-height-heading: 1.3;

  /* Світла палітра без відблисків та ряботи */
  --bg-page: #F4F7F4;           /* М'який світло-шавлієвий фон сторінки */
  --bg-surface: #FFFFFF;        /* Чистий білий для карток з текстом */
  --bg-subtle: #EAF1EC;         /* Ніжно-зелений фон для виділених блоків */
  --bg-warm: #FDF8EC;           /* Теплий кремово-золотавий для преміум блоків */
  --bg-warning: #FEF5F2;        /* М'який теракотовий для попереджень */

  /* Висококонтрастна типографіка */
  --text-primary: #102218;      /* Глибокий темно-хвойний (майже чорний, контраст > 15:1) */
  --text-secondary: #2C4436;    /* Насичений темно-зелений для підписів (контраст > 9:1) */
  --text-muted: #4A6354;        /* Читабельний приглушений (контраст > 5.5:1) */

  /* Основні кольори бренду (Гроші, Ріст, Мудрість) */
  --brand-primary: #165B36;     /* Благородний смарагдово-зелений */
  --brand-primary-hover: #0F4327;
  --brand-primary-light: #DDF0E4;
  --brand-border: #BDD2C5;      /* Чітка межа карток, щоб блоки не зливалися */
  --brand-border-strong: #8EB29B;

  /* Акцентні кольори (Астроклуб, Зірки, Статуси) */
  --gold-accent: #8C5E0A;       /* Контрастний темно-золотий для тексту */
  --gold-bg: #FCF3D9;           /* Світло-золотий фон бейджів */
  --gold-border: #E2C578;

  /* Кольори аспектів (чіткі та зрозумілі) */
  --harmony-text: #0F5330;
  --harmony-bg: #E3F5EB;
  --harmony-border: #96D1B0;

  --tension-text: #8A2C1B;
  --tension-bg: #FCECE8;
  --tension-border: #E5A99E;

  --major-text: #1B4965;
  --major-bg: #E6F2F8;
  --major-border: #9EC5DC;

  /* Розміри та відступи */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-card: 0 3px 12px rgba(16, 34, 24, 0.06);
  --max-width: 780px;
}

html[data-font-scale="large"] {
  --base-font-size: 20px;
}

html[data-font-scale="xlarge"] {
  --base-font-size: 22px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--base-font-size);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background-color: var(--astro-cream);
  color: var(--text-primary);
  line-height: var(--line-height-body);
  padding-bottom: 0 !important;
}

/* ==========================================================================
   ВЕРХНЯ ПАНЕЛЬ (ШАПКА ДОДАТКУ + НАЛАШТУВАННЯ ЧИТАБЕЛЬНОСТІ)
   ========================================================================== */

.top-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-surface);
  border-bottom: 2px solid var(--brand-border);
  box-shadow: 0 2px 10px rgba(16, 34, 24, 0.05);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}

.brand-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.brand-subtitle {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Кнопки розміру тексту для комфорту очей */
.font-switcher {
  display: inline-flex;
  background: var(--bg-subtle);
  border: 1.5px solid var(--brand-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.font-btn {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-weight: 700;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.9rem;
  min-height: 42px;
  transition: background 0.15s, color 0.15s;
}

.font-btn + .font-btn {
  border-left: 1px solid var(--brand-border);
}

.font-btn.active {
  background: var(--brand-primary);
  color: #FFFFFF;
}

/* Перемикач тарифу (Демо для власника: Безкоштовний vs Астроклуб) */
.mode-bar {
  background-color: var(--bg-subtle);
  border-bottom: 1.5px solid var(--brand-border);
  padding: 10px 16px;
}

.mode-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.mode-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.mode-toggle-group {
  display: inline-flex;
  background: var(--bg-surface);
  border: 2px solid var(--brand-primary);
  border-radius: 12px;
  overflow: hidden;
}

.mode-btn {
  border: none;
  background: transparent;
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 14px;
  cursor: pointer;
  min-height: 42px;
  transition: all 0.15s ease;
}

.mode-btn.active {
  background: var(--brand-primary);
  color: #FFFFFF;
}

/* ==========================================================================
   ОСНОВНИЙ КОНТЕЙНЕР ТА КАРТКИ
   ========================================================================== */

.app-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 16px;
}

.tab-section {
  display: none;
}

.tab-section.active {
  display: block;
}

.card {
  background: var(--bg-surface);
  border: 2px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}

.card-highlight {
  background: var(--bg-subtle);
  border-color: var(--brand-border-strong);
}

.card-gold {
  background: var(--bg-warm);
  border-color: var(--gold-border);
}

.section-header {
  margin-bottom: 18px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-primary);
  background: var(--brand-primary-light);
  padding: 4px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.section-eyebrow.gold {
  color: var(--gold-accent);
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
}

h1, .h1 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: var(--line-height-heading);
  margin-bottom: 10px;
}

h2, .h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: var(--line-height-heading);
  margin-bottom: 10px;
}

h3, .h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: var(--line-height-heading);
  margin-bottom: 8px;
}

p {
  margin-bottom: 12px;
  color: var(--text-primary);
}

p:last-child {
  margin-bottom: 0;
}

.text-secondary {
  color: var(--text-secondary);
}

/* ==========================================================================
   ПЛАШКА ПРОФІЛЮ КОРИСТУВАЧА ТА НАТАЛЬНИХ ТОЧОК
   ========================================================================== */

.profile-summary-banner {
  background: var(--bg-surface);
  border: 2px solid var(--brand-primary);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 20px;
}

.profile-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--brand-border);
}

.user-name-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.user-birth-details {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: 2px;
}

.context-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--bg-subtle);
  color: var(--text-primary);
  border: 1.5px solid var(--brand-border);
}

.pill-green {
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  border-color: var(--brand-border-strong);
}

.pill-gold {
  background: var(--gold-bg);
  color: var(--gold-accent);
  border-color: var(--gold-border);
}

.natal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.natal-point-box {
  background: var(--bg-page);
  border: 1.5px solid var(--brand-border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.natal-point-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-secondary);
  display: block;
}

.natal-point-value {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 2px;
}

/* ==========================================================================
   КНОПКИ (ВЕЛИКІ ТА ЗРУЧНІ ДЛЯ НАТИСКАННЯ НА МОБІЛЬНОМУ)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 12px 22px;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 14px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s, transform 0.1s;
  width: 100%;
}

.btn:active {
  transform: scale(0.99);
}

.btn-primary {
  background-color: var(--brand-primary);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--brand-primary-hover);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.btn-secondary:hover {
  background-color: var(--brand-primary-light);
}

.btn-gold {
  background-color: #9A6708;
  color: #FFFFFF;
}

.btn-gold:hover {
  background-color: #7D5306;
}

.btn-sm {
  min-height: 44px;
  padding: 8px 16px;
  font-size: 0.92rem;
  width: auto;
}

/* ==========================================================================
   БЛОК PAYWALL / ТИЗЕР АСТРОКЛУБУ (ДЛЯ ТАРИФУ FREE)
   ========================================================================== */

.paywall-box {
  background: var(--bg-warm);
  border: 2.5px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  margin-top: 16px;
}

.paywall-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.paywall-list {
  list-style: none;
  margin: 14px 0 18px 0;
}

.paywall-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--text-primary);
}

.paywall-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-primary);
  font-weight: 900;
  font-size: 1.1rem;
}

/* ==========================================================================
   ТАБЛИЦІ ТА КАРТКИ ТРАНЗИТІВ 2027 (ВИСОКА ЧИТАБЕЛЬНІСТЬ НА МОБІЛЬНОМУ)
   ========================================================================== */

.period-card {
  background: var(--bg-surface);
  border: 2px solid var(--brand-border);
  border-left: 8px solid var(--brand-primary);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 18px;
}

.period-card.gold-border {
  border-left-color: #9A6708;
}

.period-card.warning-border {
  border-left-color: #B4412A;
}

.period-badge {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 8px;
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  margin-bottom: 10px;
}

.transit-item-card {
  background: var(--bg-surface);
  border: 2px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 14px;
}

.transit-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.transit-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.aspect-badge {
  font-size: 0.88rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1.5px solid transparent;
}

.aspect-harmony {
  background: var(--harmony-bg);
  color: var(--harmony-text);
  border-color: var(--harmony-border);
}

.aspect-tension {
  background: var(--tension-bg);
  color: var(--tension-text);
  border-color: var(--tension-border);
}

.aspect-major {
  background: var(--major-bg);
  color: var(--major-text);
  border-color: var(--major-border);
}

.transit-dates-box {
  background: var(--bg-page);
  border: 1.5px solid var(--brand-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin: 10px 0;
  font-size: 0.96rem;
}

.transit-dates-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 6px;
}

.transit-dates-row:last-child {
  margin-bottom: 0;
}

.advice-callout {
  background: var(--bg-subtle);
  border: 1.5px solid var(--brand-border-strong);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-top: 12px;
}

.advice-callout strong {
  color: var(--brand-primary);
}

.astro-caption {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--brand-border);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Модальні вікна (Оплата підписки / Вхід та Реєстрація) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 34, 24, 0.65);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: #FFFFFF;
  border: 1px solid rgba(14, 42, 28, 0.08);
  border-radius: 24px;
  max-width: 480px;
  width: 100%;
  padding: 26px 22px;
  box-shadow: 0 16px 40px rgba(14, 42, 28, 0.16);
}

.lock-banner {
  background: #FAF9F6;
  border: 1px solid rgba(14, 42, 28, 0.08);
  border-radius: 18px;
  padding: 16px 18px;
  margin-bottom: 18px;
}

.slot-card {
  background: var(--bg-warm);
  border: 2px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 20px;
}

/* ==========================================================================
   КАЛЕНДАР КРАСИ
   ========================================================================== */

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.filter-chip {
  background: var(--bg-surface);
  border: 2px solid var(--brand-border);
  color: var(--text-primary);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 48px;
}

.filter-chip.active {
  background: var(--brand-primary);
  color: #FFFFFF;
  border-color: var(--brand-primary);
}

.beauty-day-card {
  background: var(--bg-surface);
  border: 2px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.beauty-day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.beauty-dates {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--brand-primary);
}

/* ==========================================================================
   ФОРМА ПРОФІЛЮ ТА АНКЕТИ ПЕРСОНАЛІЗАЦІЇ
   ========================================================================== */

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 2px solid var(--brand-border-strong);
  border-radius: 12px;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px var(--brand-primary-light);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.preset-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.preset-btn {
  background: var(--bg-subtle);
  border: 2px solid var(--brand-border-strong);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.preset-btn:hover {
  background: var(--brand-primary-light);
  border-color: var(--brand-primary);
}

/* ==========================================================================
   НИЖНЯ НАВІГАЦІЯ (5 ВКЛАДОК, ВЕЛИКІ ЗРУЧНІ КНОПКИ)
   ========================================================================== */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--bg-surface);
  border-top: 2px solid var(--brand-border-strong);
  box-shadow: 0 -4px 16px rgba(16, 34, 24, 0.08);
}

.bottom-nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 6px 8px;
}

.nav-tab {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  border-radius: 12px;
  cursor: pointer;
  min-height: 64px;
  transition: background 0.15s, color 0.15s;
}

.nav-tab-icon {
  font-size: 1.35rem;
  line-height: 1;
  margin-bottom: 4px;
}

.nav-tab-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.15;
}

.nav-tab.active {
  background: var(--brand-primary);
  color: #FFFFFF;
}

/* --- ФІНАНСОВИЙ НАВІГАТОР: НОВІ СТИЛІ КАРТОК --- */
.dna-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.dna-box {
  background: var(--bg-page);
  border: 1.5px solid var(--brand-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
}

.dna-box-header {
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dna-box.green .dna-box-header { color: #2E7D32; }
.dna-box.red .dna-box-header { color: #C62828; }
.dna-box.gold .dna-box-header { color: #B28900; }

.dna-box p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-primary);
  margin: 0;
  flex: 1;
}

.weather-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.weather-box {
  background: var(--bg-page);
  border: 1.5px solid var(--brand-border);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.weather-box-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--brand-primary);
  margin-bottom: 6px;
}

.weather-box p {
  font-size: 0.92rem;
  line-height: 1.48;
  color: var(--text-primary);
  margin: 0;
}

.eclipse-box {
  background: var(--bg-page);
  border: 1.5px solid var(--brand-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 12px;
}

.eclipse-box.touched {
  border-left: 4px solid #C62828;
  background: #FFFBFB;
}

.eclipse-box.calm {
  border-left: 4px solid #2E7D32;
  background: #FBFDFB;
}

.channel-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  border: 1px solid var(--brand-border-strong);
}

.traffic-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1.5px solid transparent;
}

.traffic-pill.green {
  background: var(--harmony-bg);
  color: var(--harmony-text);
  border-color: var(--harmony-border);
}

.traffic-pill.yellow {
  background: var(--major-bg);
  color: var(--major-text);
  border-color: var(--major-border);
}

.traffic-pill.red {
  background: var(--tension-bg);
  color: var(--tension-text);
  border-color: var(--tension-border);
}

.settings-inline-box {
  background: var(--bg-surface);
  border: 2px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 16px;
}

.settings-fields-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

@media (max-width: 480px) {
  .card {
    padding: 18px 16px;
  }
  .nav-tab-label {
    font-size: 0.72rem;
  }
}

/* Розумний світовий геопошук міст з автокомплітом */
.city-autocomplete-wrapper {
  position: relative;
  width: 100%;
}

.city-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  max-height: 240px;
  overflow-y: auto;
  z-index: 1050;
  display: none;
}

.city-autocomplete-dropdown.open {
  display: block;
}

.city-autocomplete-item {
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--brand-border);
  font-size: 0.92rem;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: background 0.15s ease;
}

.city-autocomplete-item:last-child {
  border-bottom: none;
}

.city-autocomplete-item:hover,
.city-autocomplete-item:focus {
  background: var(--bg-warm);
  color: var(--gold-accent);
}

.city-autocomplete-item .city-name-row {
  font-weight: 700;
  font-size: 0.92rem;
}

.city-autocomplete-item .city-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   ФІРМОВИЙ ДИЗАЙН: ЕКРАНИ ВІТАННЯ, РЕЄСТРАЦІЇ ТА ВХОДУ (АСТРОРИТМ 2027)
   ========================================================================== */

:root {
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --astro-cream: #FAF8F5;
  --astro-forest: #0E2A1C;
  --astro-lime: #B8E928;
  --astro-lime-neon: #CCFF00;
  --astro-sage: #586B61;
  --astro-border: #E2E8E4;
}

/* Повноекранний фон з атмосферними лаймовими бліками */
.auth-screen-backdrop {
  position: fixed;
  inset: 0;
  background-color: var(--astro-cream);
  background-image: 
    radial-gradient(circle at 100% 100%, rgba(184, 233, 40, 0.22) 0%, rgba(250, 248, 245, 0) 55%),
    radial-gradient(circle at 0% 0%, rgba(184, 233, 40, 0.12) 0%, rgba(250, 248, 245, 0) 45%),
    radial-gradient(circle at 50% 18%, rgba(184, 233, 40, 0.08) 0%, rgba(250, 248, 245, 0) 50%);
  background-attachment: fixed;
  z-index: 9999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 24px 16px;
  box-sizing: border-box;
}

.auth-screen-backdrop.open {
  display: flex;
}

/* Мобільний контейнер */
.auth-screen-container {
  width: 100%;
  max-width: 410px;
  min-height: calc(100vh - 48px);
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 10px 4px 20px 4px;
}

/* Кнопка закриття (хрестик) для перегляду демо/повернення */
.auth-dismiss-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(14, 42, 28, 0.15);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  color: var(--astro-forest);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}
.auth-dismiss-btn:hover {
  background: #FFFFFF;
  transform: scale(1.06);
  border-color: var(--astro-forest);
}

/* Блок планети-ілюстрації / оригінального логотипу */
.auth-planet-wrap {
  width: 100%;
  max-width: 240px;
  height: 155px;
  margin: 0 auto 8px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.auth-planet-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
}
.auth-planet-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 22px rgba(184, 233, 40, 0.22));
  display: block;
}

/* Заголовки (шрифт Cormorant Garamond) */
.auth-display-title {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 600;
  line-height: 1.14;
  color: var(--astro-forest);
  margin: 0 0 12px 0;
  text-align: center;
  letter-spacing: -0.01em;
}

/* Тонкий розділювач із зірочкою ✦ */
.auth-sparkle-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 150px;
  margin: 0 auto 16px auto;
}
.auth-sparkle-divider .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 233, 40, 0.85), transparent);
}
.auth-sparkle-divider .star {
  color: var(--astro-lime);
  font-size: 0.95rem;
  line-height: 1;
  text-shadow: 0 0 8px rgba(184, 233, 40, 0.6);
}

/* Слоган у розрядку (надійно в один рядок, без перенесення літери Й) */
.auth-spaced-tagline {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--astro-forest);
  margin-bottom: 18px;
  text-align: center;
  white-space: nowrap;
  width: 100%;
  box-sizing: border-box;
}
.auth-spaced-tagline .lime-accent {
  color: #8FC915;
  font-weight: 800;
}

/* Текст опису */
.auth-screen-description {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  line-height: 1.58;
  color: var(--astro-sage);
  max-width: 320px;
  margin: 0 auto 28px auto;
  text-align: center;
}

/* Форми та поля вводу */
.auth-form-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 4px;
}

.auth-field-group {
  position: relative;
  width: 100%;
}

.auth-styled-input {
  width: 100%;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1.5px solid var(--astro-border);
  background: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--astro-forest);
  box-shadow: 0 2px 6px rgba(14, 42, 28, 0.03);
  box-sizing: border-box;
  transition: all 0.22s ease;
}
.auth-styled-input::placeholder {
  color: #92A399;
}
.auth-styled-input:focus {
  border-color: var(--astro-forest);
  outline: none;
  box-shadow: 0 0 0 3px rgba(184, 233, 40, 0.28);
}

/* Кнопка показати/сховати пароль (👁) */
.auth-eye-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6C8274;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}
.auth-eye-toggle:hover {
  color: var(--astro-forest);
}

/* Підказка під полем пароля */
.auth-hint-text {
  font-size: 0.82rem;
  color: #798D81;
  margin: 5px 0 0 8px;
  text-align: left;
}

/* Посилання "Забули пароль?" */
.auth-forgot-box {
  text-align: right;
  margin-top: -3px;
  margin-bottom: 6px;
}
.auth-forgot-box a {
  font-size: 0.88rem;
  color: var(--astro-forest);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  cursor: pointer;
}

/* Текст згоди з умовами та політикою */
.auth-legal-consent {
  font-size: 0.84rem;
  line-height: 1.48;
  color: var(--astro-sage);
  text-align: center;
  margin: 12px 4px 18px 4px;
}
.auth-legal-consent a {
  color: var(--astro-forest);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  cursor: pointer;
}

/* Фірмова кнопка (Pill shape з градієнтом у неоновий лайм) */
.auth-pill-btn {
  width: 100%;
  padding: 16px 26px;
  border-radius: 9999px;
  border: none;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  background: linear-gradient(98deg, #0E2A1C 0%, #153A27 62%, #245837 80%, #B8E928 100%);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 10px 24px rgba(14, 42, 28, 0.22);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.auth-pill-btn:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 14px 28px rgba(14, 42, 28, 0.28);
}
.auth-pill-btn:active {
  transform: translateY(1px);
}
.auth-pill-btn .arrow-icon {
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.auth-pill-btn:hover .arrow-icon {
  transform: translateX(4px);
}

/* Посилання перемикання між екранами входу/реєстрації */
.auth-switch-note {
  font-size: 0.95rem;
  color: var(--astro-forest);
  text-align: center;
  margin-top: 18px;
}
.auth-switch-note u {
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 700;
  cursor: pointer;
}

/* Футер із доменом AstroClub.ua */
.auth-domain-footer {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--astro-forest);
  margin-top: 32px;
  text-align: center;
}

/* ==========================================================================
   НОВИЙ ГОЛОВНИЙ ЕКРАН КЛІЄНТКИ (ASTROCLUB HOME 2027)
   ========================================================================== */

/* Повністю ховаємо старі фіксовані плашки зверху та знизу для всіх сторінок */
.top-header,
.mode-bar,
.bottom-nav {
  display: none !important;
}

.app-container {
  padding: 0 !important;
  max-width: 100% !important;
}

.home-screen-wrap {
  width: 100%;
  max-width: 440px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 18px 28px 18px;
  box-sizing: border-box;
  background-color: var(--astro-cream);
  background-image: 
    radial-gradient(circle at 95% 4%, rgba(184, 233, 40, 0.22) 0%, rgba(250, 248, 245, 0) 45%),
    radial-gradient(circle at 50% 98%, rgba(184, 233, 40, 0.12) 0%, rgba(250, 248, 245, 0) 50%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Верхній рядок з вітанням та аватаром */
.home-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.home-greeting-name {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--astro-forest);
  margin: 0 0 4px 0;
}
.home-greeting-name .sparkle {
  color: var(--astro-lime);
  font-size: 1.15rem;
  vertical-align: middle;
  text-shadow: 0 0 8px rgba(184, 233, 40, 0.6);
}

.home-natal-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--astro-forest);
  flex-wrap: wrap;
}
.home-natal-info .sym {
  font-size: 0.95rem;
  color: var(--astro-forest);
}

/* Кругла кнопка аватара праворуч */
.home-avatar-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(14, 42, 28, 0.2);
  background: #FFFFFF;
  color: var(--astro-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(14, 42, 28, 0.05);
}
.home-avatar-btn:hover {
  border-color: var(--astro-forest);
  transform: scale(1.05);
}

/* Головна картка дня (ВІВТОРОК • ДЕНЬ МАРСА) */
.home-featured-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 22px 20px;
  background: linear-gradient(135deg, #0D2619 0%, #153A26 55%, #1F4D33 80%, #6EA419 100%);
  color: #FFFFFF;
  box-shadow: 0 14px 34px rgba(13, 38, 25, 0.22);
  margin-bottom: 16px;
}

.home-featured-card .planet-bg-art {
  position: absolute;
  right: -25px;
  top: -15px;
  width: 145px;
  height: 145px;
  object-fit: contain;
  pointer-events: none;
  opacity: 0.9;
  filter: drop-shadow(0 0 20px rgba(184, 233, 40, 0.45));
}

.home-card-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 4px;
}
.home-card-badge-row .planet-sym {
  color: var(--astro-lime-neon);
  font-size: 1.15rem;
}

.home-card-vibe-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 500;
  color: #E6F0EA;
  margin-bottom: 18px;
  max-width: 78%;
  line-height: 1.25;
}

.home-card-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #F1F6F2;
}
.home-card-bullets .bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.home-card-bullets .spark-bullet {
  color: var(--astro-lime-neon);
  font-size: 0.95rem;
  line-height: 1.35;
  flex-shrink: 0;
  text-shadow: 0 0 8px rgba(184, 233, 40, 0.7);
}
.home-card-bullets strong {
  color: #FFFFFF;
  font-weight: 700;
}

/* 4 картки-категорії */
.home-categories-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.home-cat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1.5px solid var(--astro-border);
  box-shadow: 0 4px 14px rgba(14, 42, 28, 0.04);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  user-select: none;
}
.home-cat-card:hover {
  transform: translateY(-1.5px);
  border-color: #CBD6CE;
  box-shadow: 0 8px 22px rgba(14, 42, 28, 0.08);
}
.home-cat-card:active {
  transform: translateY(1px);
}

.home-cat-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #EEF6EA;
  color: var(--astro-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  margin-right: 14px;
}

.home-cat-info {
  flex: 1;
  min-width: 0;
}

.home-cat-title {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--astro-forest);
  text-transform: uppercase;
  margin-bottom: 3px;
}

.home-cat-desc {
  font-size: 0.82rem;
  color: #47584E;
  margin-bottom: 4px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-cat-pill {
  display: inline-block;
  background: #FCF4DF;
  color: #574415;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 8px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-cat-arrow {
  color: var(--astro-forest);
  font-size: 1.3rem;
  font-weight: 700;
  margin-left: 10px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.home-cat-card:hover .home-cat-arrow {
  transform: translateX(4px);
}

/* Нижня панель швидких дій */
.home-bottom-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(14, 42, 28, 0.08);
}

.home-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--astro-forest);
  padding: 6px 4px;
  flex: 1;
  text-align: center;
  transition: color 0.15s;
}
.home-action-item:hover {
  color: #8FC915;
}
.home-action-item .act-icon {
  font-size: 1.25rem;
  line-height: 1;
}
.home-action-item .act-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--astro-forest);
  line-height: 1.2;
}

.home-action-divider {
  width: 1px;
  height: 28px;
  background: rgba(14, 42, 28, 0.12);
}

/* Кнопка повернення на головну для інших вкладок */
.back-to-home-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  cursor: pointer;
  color: var(--astro-forest);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.15s ease;
}
.back-to-home-bar:hover {
  transform: translateX(-3px);
  color: #8FC915;
}

/* ========================================================
   НОВИЙ ДИЗАЙН: Вкладка "ФІНАНСОВИЙ НАВІГАТОР 2027" (ЛЮКС / AIRY)
   ======================================================== */
.fin-screen-wrap {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 20px 18px 48px 18px;
  box-sizing: border-box;
  background-color: var(--astro-cream);
  background-image: 
    radial-gradient(circle at 95% 4%, rgba(184, 233, 40, 0.18) 0%, rgba(250, 248, 245, 0) 40%),
    radial-gradient(circle at 10% 90%, rgba(184, 233, 40, 0.10) 0%, rgba(250, 248, 245, 0) 45%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeIn 0.25s ease-out;
}

/* 1. Верхній бар */
.fin-top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
}

.fin-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid rgba(14, 42, 28, 0.08);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--astro-forest);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  transition: all 0.2s ease;
}

.fin-back-btn:hover {
  background: #F4F8EA;
  color: #1E3A24;
  transform: translateX(-2px);
}

.fin-back-btn.large {
  padding: 14px 24px;
  font-size: 0.95rem;
  justify-content: center;
  width: 100%;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(14, 42, 28, 0.06);
}

.fin-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(14, 42, 28, 0.08);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--astro-forest);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.fin-top-badge .fin-sparkle {
  color: #8FC915;
  font-size: 0.9rem;
}

.fin-top-badge .fin-badge-tag {
  font-size: 0.72rem;
  color: #62825D;
  font-weight: 500;
}

.fin-top-user-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--astro-forest);
  padding: 6px 14px;
  background: #FFFFFF;
  border: 1px solid rgba(14, 42, 28, 0.1);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(14, 42, 28, 0.04);
  letter-spacing: 0.2px;
}

.fin-hero-context-line {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #4A6353;
  background: #F3F6ED;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(14, 42, 28, 0.08);
  margin: 6px 0 12px 0;
}

.fin-family-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.fin-family-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: #62825D;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 2px;
}

/* 2. Hero */
.fin-hero {
  padding: 4px 0 2px 0;
}

.fin-hero-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #62825D;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.fin-hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.1rem;
  font-weight: 500;
  color: var(--astro-forest);
  line-height: 1.15;
  margin: 0 0 8px 0;
  letter-spacing: -0.01em;
}

.fin-hero-lead {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #4F6456;
  margin: 0 0 12px 0;
}

.fin-context-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid rgba(14, 42, 28, 0.06);
  border-radius: 14px;
  padding: 8px 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.fin-context-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.fin-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #F4F8E7;
  color: #1E3A24;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(143, 201, 21, 0.25);
}

.fin-edit-link {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: #55755E;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.fin-edit-link:hover {
  color: var(--astro-forest);
  background: #F4F8EA;
}

/* 3. Головний дороговказ (Смарагдова картка) */
.fin-featured-card {
  position: relative;
  background: radial-gradient(circle at 85% 25%, #24492E 0%, #0E2A1C 65%, #081B11 100%);
  border-radius: 24px;
  padding: 24px 20px 22px 20px;
  color: #FFFFFF;
  box-shadow: 0 10px 28px rgba(14, 42, 28, 0.18);
  overflow: hidden;
}

.fin-featured-watermark {
  position: absolute;
  right: -15px;
  top: -15px;
  width: 140px;
  height: 140px;
  opacity: 0.38;
  pointer-events: none;
}

.fin-featured-content {
  position: relative;
  z-index: 2;
}

.fin-featured-badge {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #B8E928;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fin-sparkle-gold {
  color: #CCFF00;
}

.fin-featured-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 12px 0;
  color: #FFFFFF;
}

.fin-featured-text p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 10px 0;
}

.fin-featured-text p:last-child {
  margin-bottom: 0;
}

.fin-featured-rule {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(184, 233, 40, 0.28);
  border-radius: 14px;
  padding: 12px 14px;
  margin-top: 14px;
  backdrop-filter: blur(4px);
}

.fin-rule-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(184, 233, 40, 0.16);
  border: 1px solid rgba(184, 233, 40, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fin-rule-label {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #B8E928;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.fin-rule-val {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #FFFFFF;
  font-weight: 500;
}

/* 4. Ключові цифри (3 метрики) */
.fin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.fin-metric-card {
  background: #FFFFFF;
  border: 1px solid rgba(14, 42, 28, 0.06);
  border-radius: 18px;
  padding: 14px 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.fin-metric-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.fin-metric-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--astro-forest);
  line-height: 1;
}

.fin-metric-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--astro-forest);
  line-height: 1.2;
}

.fin-metric-desc {
  font-size: 0.68rem;
  color: #62825D;
  line-height: 1.3;
}

/* 5. Загальна картка секції */
.fin-section-card {
  background: #FFFFFF;
  border: 1px solid rgba(14, 42, 28, 0.06);
  border-radius: 22px;
  padding: 22px 18px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fin-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

.fin-section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #62825D;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.fin-section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--astro-forest);
  line-height: 1.25;
  margin: 0;
}

.fin-section-lead {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #4F6456;
  margin: 0;
}

/* ДНК Гаманця */
.fin-dna-badge {
  font-size: 0.76rem;
  font-weight: 700;
  background: #F4F8EA;
  color: #1E3A24;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(143, 201, 21, 0.3);
  white-space: nowrap;
}

.fin-archetype-line {
  font-size: 0.95rem;
  color: var(--astro-forest);
}

.fin-dna-subsections {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 12px 0 16px 0;
}

.fin-dna-sub-block {
  background: #FAF9F6;
  border: 1px solid rgba(14, 42, 28, 0.06);
  border-radius: 14px;
  padding: 12px 14px;
}

.fin-dna-sub-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--astro-forest);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fin-dna-sub-desc {
  font-size: 0.88rem;
  color: #4F6456;
  line-height: 1.45;
  margin: 0;
}

.fin-dna-gives-box {
  margin-top: 8px;
  padding: 10px 12px;
  background: #FFFFFF;
  border-radius: 10px;
  border: 1px solid rgba(14, 42, 28, 0.06);
  border-left: 3.5px solid #C5A059;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--astro-forest);
}

.fin-dna-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fin-dna-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #FAF9F6;
  border: 1px solid rgba(14, 42, 28, 0.06);
  border-left: 3.5px solid #C5A059;
  border-radius: 14px;
  padding: 12px 14px;
}

.fin-dna-item.item-leverage,
.fin-dna-item.item-leak,
.fin-dna-item.item-rule {
  border-left: 3.5px solid #C5A059;
}

.fin-dna-icon {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.fin-dna-label {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--astro-forest);
  margin-bottom: 3px;
}

.fin-dna-text {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #334438;
}

.fin-dna-caption {
  font-size: 0.8rem;
  color: #728B78;
  line-height: 1.45;
}

/* Етапи року */
.fin-stage-card {
  background: #FAF9F6;
  border: 1px solid rgba(14, 42, 28, 0.06);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fin-stage-card.stage-highlight {
  border-color: rgba(184, 233, 40, 0.5);
  background: linear-gradient(180deg, #F9FDF5 0%, #FFFFFF 100%);
  box-shadow: 0 4px 14px rgba(143, 201, 21, 0.08);
}

.fin-stage-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: #EBF6E0;
  color: #1E3A24;
}

.fin-stage-badge.gold {
  background: #FFF8E1;
  color: #B28900;
}

.fin-stage-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--astro-forest);
  line-height: 1.25;
  margin: 0;
}

.fin-stage-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #334438;
  margin: 0;
}

.fin-stage-advice {
  background: #F4F8EA;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #1E3A24;
  border-left: 3px solid #8FC915;
}

.fin-stage-meta {
  font-size: 0.8rem;
  color: #728B78;
}

/* Календар транзитів */
.fin-filter-chips {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 8px 2px;
  margin: 12px 0 16px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex-wrap: nowrap;
}

.fin-filter-chips::-webkit-scrollbar {
  display: none;
}

.fin-chip {
  background: #FAF9F6;
  border: 1px solid rgba(14, 42, 28, 0.08);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4F6456;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.fin-chip:hover {
  background: #F4F8EA;
  color: #1E3A24;
}

.fin-chip.active {
  background: var(--astro-forest);
  color: #B8E928;
  border-color: var(--astro-forest);
}

.fin-transits-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fin-transit-card {
  background: #FFFFFF;
  border: 1px solid rgba(14, 42, 28, 0.08);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fin-transit-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.fin-transit-channel-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: #55755E;
  background: #FAF9F6;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(14, 42, 28, 0.06);
}

.fin-transit-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--astro-forest);
  line-height: 1.25;
  margin: 2px 0 2px 0;
  width: 100%;
}

.fin-transit-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.fin-nature-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1;
}

.fin-nature-badge.badge-harmony {
  background: #F4F8EC;
  color: #236136;
  border: 1px solid rgba(35, 97, 54, 0.18);
}

.fin-nature-badge.badge-tension {
  background: #FFF9F0;
  color: #8C6A18;
  border: 1px solid rgba(212, 175, 55, 0.28);
}

.fin-nature-badge.badge-major {
  background: #FAF8F5;
  color: var(--astro-forest);
  border: 1px solid rgba(14, 42, 28, 0.15);
}

.fin-transit-dates {
  background: #FAF9F6;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.84rem;
  color: #334438;
}

.fin-dates-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
}

.fin-dot {
  color: #A0B3A5;
}

.fin-dates-sub {
  font-size: 0.8rem;
  color: #62825D;
  margin-top: 4px;
}

.fin-transit-summary {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--astro-forest);
  margin: 0;
}

.fin-transit-advice {
  background: #F4F8EA;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #1E3A24;
  border-left: 3px solid #8FC915;
}

.fin-advice-badge {
  font-weight: 700;
  margin-bottom: 2px;
  color: #132B1D;
}

.fin-transit-caption {
  font-size: 0.78rem;
  color: #728B78;
}

/* Затемнення */
.fin-eclipses-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fin-eclipse-box {
  background: #FAF9F6;
  border: 1px solid rgba(14, 42, 28, 0.06);
  border-radius: 14px;
  padding: 14px;
}

.fin-eclipse-box.touched {
  border-left: 3.5px solid #D66D6D;
  background: #FFFDFD;
}

.fin-eclipse-box.calm {
  border-left: 3.5px solid #589A64;
  background: #FBFDFB;
}

.fin-eclipse-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.fin-eclipse-season {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--astro-forest);
}

.fin-eclipse-msg {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #334438;
  margin: 0;
}

/* Макроекономіка */
.fin-weather-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fin-weather-box {
  background: #FAF9F6;
  border: 1px solid rgba(14, 42, 28, 0.06);
  border-radius: 14px;
  padding: 12px 14px;
}

.fin-weather-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--astro-forest);
  margin-bottom: 2px;
}

.fin-weather-planet {
  font-size: 0.78rem;
  color: #62825D;
  font-weight: 600;
  margin-bottom: 4px;
}

.fin-weather-desc {
  font-size: 0.88rem;
  line-height: 1.48;
  color: #334438;
  margin: 0;
}

/* Архів */
.fin-history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fin-history-item {
  background: #FAF9F6;
  border: 1px solid rgba(14, 42, 28, 0.06);
  border-radius: 14px;
  padding: 12px 14px;
}

.fin-history-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.fin-history-date {
  font-size: 0.78rem;
  color: #62825D;
}

.fin-history-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--astro-forest);
  margin: 0 0 4px 0;
}

.fin-history-text {
  font-size: 0.86rem;
  line-height: 1.45;
  color: #4F6456;
  margin: 0;
}

/* Анонс Січня */
.fin-teaser-card {
  background: radial-gradient(circle at 85% 25%, #24492E 0%, #0E2A1C 75%, #081B11 100%);
  color: #FFFFFF;
}

/* Космограма Notice */
.fin-cosmo-card {
  background: #FFFDF8;
  border: 1px solid rgba(224, 159, 31, 0.35);
  border-radius: 20px;
  padding: 20px 18px;
  box-shadow: 0 4px 18px rgba(224, 159, 31, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fin-cosmo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.fin-cosmo-badge {
  font-size: 0.76rem;
  font-weight: 700;
  background: #FFF3E0;
  color: #E65100;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #FFE0B2;
}

.fin-cosmo-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--astro-forest);
  line-height: 1.25;
  margin: 0;
}

.fin-cosmo-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #4F6456;
  margin: 0;
}

.fin-cosmo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.fin-cosmo-box {
  background: #FFFFFF;
  border: 1px solid rgba(14, 42, 28, 0.06);
  border-radius: 12px;
  padding: 12px 14px;
}

.fin-cosmo-box-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #8C6A18;
  margin-bottom: 6px;
}

.fin-cosmo-list {
  margin: 0;
  padding-left: 18px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #4F6456;
}

.fin-cosmo-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  background: #FAF8F2;
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.fin-cosmo-cta-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #8C6A18;
  margin-bottom: 2px;
}

.fin-cosmo-cta-p {
  font-size: 0.82rem;
  line-height: 1.4;
  color: #4F6456;
  margin: 0;
}

/* Інлайн форма налаштувань */
.fin-settings-edit-card {
  border-color: rgba(143, 201, 21, 0.35);
  background: #FAFDF6;
}

.fin-settings-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}

.fin-form-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--astro-forest);
  margin-bottom: 4px;
  display: block;
}

.fin-select {
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1.5px solid rgba(14, 42, 28, 0.12);
  background: #FFFFFF;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--astro-forest);
}

.fin-select:focus {
  outline: none;
  border-color: #8FC915;
}

/* Paywall / Не клубна версія */
.fin-paywall-card {
  background: #FFFFFF;
  border: 1px solid rgba(14, 42, 28, 0.08);
  border-radius: 24px;
  padding: 26px 20px;
  box-shadow: 0 10px 30px rgba(14, 42, 28, 0.06);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.fin-paywall-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fin-paywall-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--astro-forest);
  line-height: 1.25;
  margin: 0;
}

.fin-paywall-sub {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #4F6456;
  margin: 0;
}

.fin-paywall-perks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  width: 100%;
  background: #FAF9F6;
  border-radius: 14px;
  padding: 14px 16px;
  box-sizing: border-box;
}

.fin-paywall-perk {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--astro-forest);
  line-height: 1.45;
}

.fin-paywall-perk span:first-child {
  color: #8FC915;
}

.btn-club-primary {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #0E2A1C 0%, #204C31 70%, #8FC915 130%);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(14, 42, 28, 0.2);
  transition: all 0.2s ease;
}

.btn-club-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 42, 28, 0.26);
}

.fin-paywall-footer {
  font-size: 0.76rem;
  color: #728B78;
}

.fin-bottom-nav {
  padding-top: 8px;
  display: flex;
  justify-content: center;
}

/* ========================================================
   НОВИЙ ДИЗАЙН: Вкладка "КАЛЕНДАР КРАСИ" (ЛЮКС / AIRY)
   ======================================================== */
.beauty-screen-wrap {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 20px 18px 48px 18px;
  box-sizing: border-box;
  background-color: var(--astro-cream);
  background-image: 
    radial-gradient(circle at 95% 4%, rgba(184, 233, 40, 0.18) 0%, rgba(250, 248, 245, 0) 40%),
    radial-gradient(circle at 10% 90%, rgba(184, 233, 40, 0.10) 0%, rgba(250, 248, 245, 0) 45%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeIn 0.25s ease-out;
}

.beauty-gold-banner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.beauty-gold-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: 14px;
  padding: 12px 14px;
  backdrop-filter: blur(4px);
}

.beauty-gold-item.gold {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(184, 233, 40, 0.35);
}

.beauty-gold-item.caution {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.beauty-gold-icon {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
}

.beauty-gold-label {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #B8E928;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.beauty-gold-val {
  font-size: 0.96rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.35;
  margin-bottom: 2px;
}

.beauty-gold-hint {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.4;
}

.beauty-days-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.beauty-item-card {
  background: #FFFFFF;
  border: 1px solid rgba(14, 42, 28, 0.08);
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: 0 4px 16px rgba(14, 42, 28, 0.03);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.beauty-item-card:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 6px 20px rgba(14, 42, 28, 0.06);
}

.beauty-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.beauty-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FAF9F6;
  border: 1px solid rgba(14, 42, 28, 0.08);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--astro-forest);
}

.beauty-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #55755E;
  background: #F4F8EA;
  padding: 3px 10px;
  border-radius: 999px;
  align-self: flex-start;
}

.beauty-item-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--astro-forest);
  line-height: 1.25;
  margin: 2px 0 0 0;
}

.beauty-item-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #334438;
  margin: 0;
}

/* ==========================================================================
   LUXURY DESIGN SYSTEM: PROFILE, ADMIN, MODALS & CONTROLS
   ========================================================================== */

.fin-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1.5px solid rgba(14, 42, 28, 0.12);
  background: #FFFFFF;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--astro-forest);
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fin-input:focus {
  outline: none;
  border-color: #8FC915;
  box-shadow: 0 0 0 3px rgba(184, 233, 40, 0.25);
}

.fin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}

.fin-btn-primary {
  background: var(--astro-forest);
  color: #FAF8F5;
}

.fin-btn-primary:hover {
  background: #18422B;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(14, 42, 28, 0.2);
}

.fin-btn-secondary {
  background: #FFFFFF;
  color: var(--astro-forest);
  border: 1.5px solid rgba(14, 42, 28, 0.14);
}

.fin-btn-secondary:hover {
  border-color: var(--astro-forest);
  background: #F8FBF5;
}

.fin-btn-sm {
  padding: 7px 12px;
  font-size: 0.8rem;
  border-radius: 10px;
}

/* Картка натального паспорта */
.fin-passport-box {
  background: linear-gradient(145deg, #FFFFFF 0%, #F8FAF5 100%);
  border: 1px solid rgba(14, 42, 28, 0.1);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fin-passport-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(14, 42, 28, 0.06);
  font-size: 0.88rem;
}

.fin-passport-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fin-passport-label {
  color: #55755E;
  font-weight: 600;
}

.fin-passport-val {
  color: var(--astro-forest);
  font-weight: 700;
  text-align: right;
}

/* Адмін-панель: метрики та картки користувачок */
.admin-metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.admin-metric-card {
  background: #FFFFFF;
  border: 1px solid rgba(14, 42, 28, 0.08);
  border-radius: 16px;
  padding: 14px 12px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(14, 42, 28, 0.02);
}

.admin-metric-val {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--astro-forest);
  line-height: 1.1;
}

.admin-metric-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6C8274;
  margin-top: 4px;
}

.admin-user-card {
  background: #FFFFFF;
  border: 1px solid rgba(14, 42, 28, 0.09);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 3px 12px rgba(14, 42, 28, 0.03);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-user-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-user-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--astro-forest);
  margin: 0;
}

.admin-user-meta {
  font-size: 0.82rem;
  color: #55755E;
  margin-top: 2px;
}

.admin-actions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Модальне вікно оплати */
.payment-modal-box {
  padding: 24px;
  border-radius: 24px;
  background: #FAF8F5;
  border: 1px solid rgba(14, 42, 28, 0.1);
  box-shadow: 0 20px 48px rgba(14, 42, 28, 0.2);
  max-width: 440px;
  margin: 0 auto;
}

/* Крос-навігація між основними розділами */
.fin-cross-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed rgba(14, 42, 28, 0.16);
}

.fin-cross-nav-title {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #62825D;
  margin-bottom: 4px;
  text-align: center;
}

.fin-cross-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 520px) {
  .fin-cross-grid {
    grid-template-columns: 1fr;
  }
}

.fin-cross-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #FFFFFF;
  border: 1.5px solid rgba(14, 42, 28, 0.12);
  border-radius: 16px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(14, 42, 28, 0.04);
}

.fin-cross-card:hover {
  border-color: var(--astro-forest);
  background: #F8FBF5;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(14, 42, 28, 0.08);
}

.fin-cross-card.primary {
  background: #0E2A1C;
  color: #FAF8F5;
  border-color: #0E2A1C;
}

.fin-cross-card.primary:hover {
  background: #18422B;
}

.fin-cross-card.primary .fin-cross-kicker {
  color: #B8E928;
}

.fin-cross-card.primary .fin-cross-name {
  color: #FAF8F5;
}

.fin-cross-card.primary .fin-cross-arrow {
  color: #B8E928;
}

.fin-cross-icon {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
}

.fin-cross-text {
  flex: 1;
  min-width: 0;
}

.fin-cross-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  color: #62825D;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.fin-cross-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--astro-forest);
  line-height: 1.25;
}

.fin-cross-arrow {
  font-size: 1.1rem;
  color: #62825D;
  transition: transform 0.2s ease;
}

.fin-cross-card:hover .fin-cross-arrow {
  transform: translateX(3px);
}

/* МОДАЛЬНИЙ КОНТЕЙНЕР ПЕРСОНАЛЬНОГО МІСЯЧНОГО ПРОГНОЗУ */
.horo-modal-container {
  width: 100%;
  max-width: 580px;
  margin: 16px auto;
  position: relative;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .horo-modal-container {
    margin: 8px auto 24px auto;
    max-width: 100%;
  }
}

.horo-modal-card {
  width: 100%;
  background: #FAF8F5;
  border: 1.5px solid rgba(197, 160, 89, 0.4);
  border-radius: 24px;
  padding: 26px 22px;
  box-shadow: 0 16px 40px rgba(14, 42, 28, 0.12);
  position: relative;
  box-sizing: border-box;
  text-align: left;
}

@media (max-width: 480px) {
  .horo-modal-card {
    padding: 20px 14px;
    border-radius: 20px;
  }
}

.horo-sun-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #EBF5E9;
  border: 1px solid rgba(35, 97, 54, 0.2);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #236136;
}

.horo-main-medallion {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  border: 2px solid rgba(212, 175, 55, 0.5);
  display: block;
  margin: 0 auto;
}

@media (max-width: 480px) {
  .horo-main-medallion {
    width: 84px;
    height: 84px;
  }
}

.horo-modal-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--astro-forest);
  line-height: 1.2;
  margin: 12px 0 6px 0;
  text-align: center;
}

@media (max-width: 480px) {
  .horo-modal-title {
    font-size: 1.7rem;
    margin: 10px 0 4px 0;
  }
}

.horo-punchline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  font-style: italic;
  color: #8C6A1D;
  text-align: center;
  line-height: 1.35;
  margin: 0 0 14px 0;
  padding: 0 4px;
}

@media (max-width: 480px) {
  .horo-punchline {
    font-size: 1.12rem;
  }
}

.horo-paragraphs {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #1A3626;
  margin-bottom: 18px;
}

@media (max-width: 480px) {
  .horo-paragraphs {
    font-size: 0.9rem;
    line-height: 1.58;
  }
}

.horo-paragraphs p {
  margin: 0 0 12px 0;
}

.horo-paragraphs p:last-child {
  margin-bottom: 0;
}

.horo-action-box {
  background: #FCF9E8;
  border: 1px solid #E8D799;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

@media (max-width: 480px) {
  .horo-action-box {
    padding: 12px 14px;
  }
}

.horo-action-badge {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8C6A1D;
  margin-bottom: 6px;
}

.horo-action-text {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #4A3A10;
  margin: 0;
  font-weight: 500;
}

.horo-club-box {
  background: #F3F8F2;
  border: 1px solid #C5E0C2;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

@media (max-width: 480px) {
  .horo-club-box {
    padding: 12px 14px;
  }
}

.horo-club-badge {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1E5C36;
  margin-bottom: 6px;
}

.horo-club-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #1C462C;
  margin: 0;
}

/* Преміальний хаб передзамовлення з живим таймером */
.fin-preorder-hub-card {
  background: linear-gradient(135deg, #0E2A1C 0%, #153E2A 100%);
  border: 1.5px solid rgba(197, 160, 89, 0.4);
  border-radius: 24px;
  padding: 24px 20px;
  text-align: center;
  color: #FAF8F5;
  margin-bottom: 24px;
  box-shadow: 0 12px 32px rgba(14, 42, 28, 0.25);
  position: relative;
  overflow: hidden;
}

.fin-preorder-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #B8E928;
  margin-bottom: 16px;
}

.fin-countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.fin-countdown-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 14px;
  padding: 10px 12px;
  min-width: 64px;
  text-align: center;
}

.fin-countdown-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #B8E928;
  line-height: 1;
  margin-bottom: 2px;
}

.fin-countdown-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.fin-countdown-sep {
  font-size: 1.6rem;
  font-weight: 700;
  color: #C5A059;
  line-height: 1;
  padding-bottom: 8px;
}

.fin-countdown-date-note {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.2);
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}





