:root {
  --bg: #0e0a1f;
  --bg-2: #170f33;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-border: rgba(212, 175, 255, 0.18);
  --ink: #f4eefe;
  --ink-soft: #c9bce6;
  --muted: #9183b8;
  --gold: #e7c873;
  --rose: #e8a6c4;
  --violet: #b18cf0;
  --grad: linear-gradient(135deg, #e7c873 0%, #e8a6c4 50%, #b18cf0 100%);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 800px at 80% -10%, #2a1a55 0%, transparent 55%),
    radial-gradient(900px 700px at 10% 10%, #3a1d4d 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

.container { width: min(1140px, 92vw); margin: 0 auto; }

/* Живое звёздное небо */
.stars { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.star-layer {
  position: absolute; top: 0; left: 0; border-radius: 50%; background: transparent;
  animation-name: drift; animation-timing-function: linear; animation-iteration-count: infinite;
}
.star-layer::after {
  content: ""; position: absolute; top: 2000px; left: 0;
  width: inherit; height: inherit; border-radius: 50%; box-shadow: inherit;
}
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-2000px); } }

/* Падающие звёзды */
.shooting {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 8px 2px rgba(255,255,255,.9); opacity: 0;
}
.shooting::after {
  content: ""; position: absolute; top: 50%; right: 0; width: 140px; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.85), transparent);
}
.shooting--1 { top: 12%; left: 70%; animation: shoot 9s ease-in infinite; }
.shooting--2 { top: 30%; left: 92%; animation: shoot 14s ease-in 4s infinite; }
@keyframes shoot {
  0% { opacity: 0; transform: translate(0,0) rotate(18deg); }
  3% { opacity: 1; }
  16% { opacity: 1; }
  24% { opacity: 0; transform: translate(-420px, 150px) rotate(18deg); }
  100% { opacity: 0; transform: translate(-420px, 150px) rotate(18deg); }
}
@keyframes twinkle { 0%,100%{opacity:.15} 50%{opacity:.9} }

section, header, footer { position: relative; z-index: 1; }

/* Кнопки */
.btn {
  display: inline-block; border: none; cursor: pointer;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: 0.95em 1.8em; border-radius: 999px; text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s;
}
.btn--primary {
  background: var(--grad); color: #1a1030;
  box-shadow: 0 10px 30px rgba(231, 200, 115, 0.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(231,200,115,.35); }
.btn--ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--panel-border);
}
.btn--ghost:hover { border-color: var(--violet); color: #fff; }
.btn--sm { padding: .6em 1.2em; font-size: .9rem; }

/* Навигация */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: #0e0a1f;            /* непрозрачный фон вместо blur — иначе шапка «прыгает» */
  border-bottom: 1px solid var(--panel-border);
}
/* На телефонах (включая встроенный браузер Telegram) sticky-шапка дёргается при скролле —
   делаем её обычной (не липкой), чтобы не «ездила». На десктопе остаётся липкой. */
@media (hover: none) and (pointer: coarse) {
  .nav { position: static; }
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }
.brand { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; letter-spacing: .12em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; text-decoration: none; }
.nav__links { display: flex; gap: 2rem; }
.nav__links a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; transition: color .2s; }
.nav__links a:hover { color: #fff; }
.nav__right { display: flex; align-items: center; gap: 1rem; }
.nav__login { color: var(--ink-soft); text-decoration: none; font-size: .95rem; transition: color .2s; }
.nav__login:hover { color: #fff; }
.nav__cta-short { display: none; }   /* короткая подпись CTA — только на телефоне */

/* Hero */
.hero { text-align: center; padding: 5rem 0 4rem; }
.hero__moon { font-size: 3.5rem; filter: drop-shadow(0 0 24px rgba(177,140,240,.6)); margin-bottom: 1rem; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: .35em; font-size: .78rem; color: var(--gold); margin-bottom: 1.2rem; }
.hero__title { font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.08; letter-spacing: .01em; }
.hero__sub { max-width: 620px; margin: 1.6rem auto 2.4rem; color: var(--ink-soft); font-size: 1.12rem; }
.hero__cta { font-size: 1.1rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.4rem; justify-content: center; margin-top: 2.6rem; color: var(--muted); font-size: .9rem; }

/* Сетки/карточки */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.benefits { padding: 2rem 0 1rem; }
.card {
  background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: 20px; padding: 2rem; text-align: center;
  transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--violet); }
.card__icon { font-size: 2.4rem; margin-bottom: .8rem; }
.card h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: .5rem; }
.card p { color: var(--ink-soft); font-size: .98rem; }

.section-title { font-family: var(--serif); font-weight: 600; text-align: center;
  font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 2.6rem; }

/* Как работает */
.how { padding: 5rem 0; }
.step { text-align: center; padding: 1rem; }
.step__num {
  display: inline-grid; place-items: center; width: 56px; height: 56px;
  border-radius: 50%; background: var(--grad); color: #1a1030;
  font-weight: 700; font-size: 1.4rem; margin-bottom: 1rem;
}
.step h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: .4rem; }
.step p { color: var(--ink-soft); }

/* Тарифы */
.tariffs { padding: 3rem 0 5rem; }
.tariff {
  background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: 22px; padding: 2.4rem 2rem; text-align: center; position: relative;
  transition: transform .25s, border-color .25s;
}
.tariff:hover { transform: translateY(-5px); }
.tariff--featured { border-color: var(--gold); box-shadow: 0 0 40px rgba(231,200,115,.18); }
.tariff__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #1a1030; font-size: .72rem; font-weight: 700;
  padding: .3em 1em; border-radius: 999px; letter-spacing: .08em; text-transform: uppercase; }
.tariff__name { font-family: var(--serif); font-size: 1.7rem; margin-bottom: .4rem; }
.tariff__price { font-size: 2.4rem; font-weight: 700; margin: .6rem 0; }
.tariff__price span { font-size: 1rem; color: var(--muted); font-weight: 400; }
.tariff__list { list-style: none; text-align: left; margin: 1.4rem 0; color: var(--ink-soft); }
.tariff__list li { padding: .35rem 0 .35rem 1.6rem; position: relative; }
.tariff__list li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.tariff .btn { width: 100%; }

/* Разборы отношений на лендинге */
.relations-sec { padding: 3rem 0; }
.rel-card-price { color: var(--gold); font-weight: 700; font-size: 1.2rem; margin: .4rem 0 .8rem; }

/* Захват e-mail (лид) */
.lead-capture { background: rgba(231,200,115,.08); border: 1px solid var(--gold);
  border-radius: 14px; padding: 1rem 1.2rem; margin: 1.2rem 0; text-align: center; }
.lead-cap-title { color: var(--ink-soft); font-size: .9rem; margin-bottom: .7rem; }
.lead-row { display: flex; gap: .5rem; max-width: 360px; margin: 0 auto; }
.lead-row input { flex: 1; padding: .6em .9em; background: rgba(255,255,255,.06);
  border: 1px solid var(--panel-border); border-radius: 10px; color: var(--ink); font-size: .9rem; }
.lead-msg { color: var(--gold); font-size: .82rem; margin-top: .6rem; min-height: 1em; }

/* Совместимость по знакам */
.compat-sec { padding: 4rem 0; }
.compat-sub { text-align: center; color: var(--ink-soft); margin: -1.8rem auto 2rem; max-width: 520px; }
.compat-form { display: flex; align-items: flex-end; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.compat-form label { font-size: .85rem; color: var(--ink-soft); }
.sign-select { display: block; margin-top: .5rem; padding: .85em 1em; min-width: 180px;
  background: rgba(255,255,255,.05); border: 1px solid var(--panel-border); border-radius: 12px;
  color: var(--ink); font-family: var(--sans); font-size: 1rem; color-scheme: dark; }
.sign-select:focus { outline: none; border-color: var(--violet); }
.compat-amp { color: var(--gold); font-size: 1.6rem; padding-bottom: .5rem; }

/* Результат совместимости */
.compat-result { text-align: center; }
.compat-pair { display: flex; align-items: center; justify-content: center; gap: 1.4rem; margin-bottom: 1rem; }
.cz { display: flex; flex-direction: column; align-items: center; }
.cz b { font-size: 2.6rem; color: var(--gold); filter: drop-shadow(0 0 12px rgba(231,200,115,.5)); }
.cz small { color: var(--ink-soft); font-size: .9rem; }
.compat-heart { font-size: 1.8rem; animation: corePulse 2s ease-in-out infinite; }
.compat-score { width: 124px; height: 124px; border-radius: 50%; margin: .6rem auto 1rem;
  background: conic-gradient(var(--gold) calc(var(--p) * 1%), rgba(255,255,255,.08) 0);
  display: grid; place-items: center; position: relative; animation: pop .6s both; }
.compat-score::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #160e30; }
.compat-score__num { position: relative; font-size: 2.1rem; font-weight: 700; color: #fff; }
.compat-score__num small { font-size: 1rem; color: var(--ink-soft); }
.compat-rel { color: var(--gold); font-size: .95rem; margin-bottom: .4rem; }
.compat-headline { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin-bottom: 1.4rem;
  text-align: center; }
.compat-result .reading-sec { text-align: left; }
.compat-advice { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--ink);
  margin: 1.2rem 0; }

/* Синастрия: пара */
.syn-pair { display: flex; align-items: center; justify-content: center; gap: 1.2rem;
  flex-wrap: wrap; margin-top: 1rem; }
.syn-person { flex: 0 1 260px; }
.syn-name { font-family: var(--serif); font-size: 1.4rem; color: var(--gold); margin-bottom: .4rem; }
.syn-person .result__big3 { gap: .6rem; margin: .4rem 0; }
.syn-person .big3 { min-width: 78px; padding: .6rem .5rem; }
.syn-person .big3 .glyph { font-size: 1.3rem; }
.syn-person .big3 .val { font-size: .9rem; }
.syn-amp { font-size: 2rem; color: var(--rose); }

/* Вкладки 3 отчётов */
.syn-tabs { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 1.6rem; }
.syn-tab { background: var(--panel); border: 1px solid var(--panel-border); color: var(--ink-soft);
  border-radius: 999px; padding: .6em 1.2em; font-family: var(--sans); font-size: .95rem;
  font-weight: 600; cursor: pointer; transition: all .2s; }
.syn-tab:hover { border-color: var(--violet); color: #fff; }
.syn-tab.active { background: var(--grad); color: #1a1030; border-color: transparent; }

/* Форма */
.order { padding: 4rem 0 6rem; }
.order__inner { max-width: 620px; margin: 0 auto; }
.order__hint { text-align: center; color: var(--ink-soft); margin-bottom: 2rem; }
.form { background: var(--panel); border: 1px solid var(--panel-border); border-radius: 22px; padding: 2.4rem; }
.form__row { margin-bottom: 1.3rem; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__row--2 > label { min-width: 0; }   /* чтобы поля не «разъезжались» */
.form label { display: block; font-size: .9rem; color: var(--ink-soft); font-weight: 500; }
.form input, .form select {
  width: 100%; margin-top: .5rem; padding: .85em 1em;
  background: rgba(255,255,255,.05); border: 1px solid var(--panel-border);
  border-radius: 12px; color: var(--ink); font-family: var(--sans); font-size: 1rem;
  color-scheme: dark;
}
.form input:focus, .form select:focus { outline: none; border-color: var(--violet); }
.form__note { font-size: .82rem; color: var(--muted); margin: 0 0 1.4rem; }
/* Подсказки города */
.city-suggest { position: absolute; left: 0; right: 0; top: 100%; z-index: 60;
  background: #1a1238; border: 1px solid var(--panel-border); border-radius: 10px;
  margin-top: 4px; max-height: 220px; overflow: auto; box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.city-suggest[hidden] { display: none; }
.city-suggest__item { padding: .55em .85em; cursor: pointer; font-size: .88rem;
  color: var(--ink-soft); border-bottom: 1px solid rgba(255,255,255,.05); }
.city-suggest__item:last-child { border-bottom: none; }
.city-suggest__item:hover { background: rgba(177,140,240,.18); color: #fff; }
.timepick { display: flex; align-items: center; gap: .4rem; margin-top: .5rem; min-width: 0; }
.timepick select { margin-top: 0; flex: 1; min-width: 0; padding: .85em .5em; }
.timepick__sep { color: var(--ink-soft); font-weight: 700; }
.datepick { display: flex; align-items: center; gap: .4rem; margin-top: .5rem; min-width: 0; }
.datepick select { margin-top: 0; min-width: 0; padding: .85em .4em; }
.datepick .dp-day { flex: 1 1 48px; }
.datepick .dp-month { flex: 2 1 90px; }
.datepick .dp-year { flex: 1 1 62px; }
.form__check { display: flex; align-items: center; gap: .5rem; font-size: .9rem;
  color: var(--ink-soft); margin: -.4rem 0 1.3rem; cursor: pointer; }
.form__check input { width: auto; margin: 0; accent-color: var(--violet); }
.notime-note { background: rgba(231,200,115,.08); border: 1px solid var(--panel-border);
  border-radius: 12px; padding: .9rem 1.1rem; color: var(--ink-soft); font-size: .9rem;
  margin: 0 auto 1.2rem; max-width: 560px; text-align: center; }
.form__submit { width: 100%; }
.form__error { color: var(--rose); text-align: center; margin-top: 1rem; min-height: 1.2em; }

/* Отзывы */
.reviews { padding: 4rem 0 6rem; }
.review { background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: 20px; padding: 1.8rem; }
.review p { font-family: var(--serif); font-size: 1.25rem; font-style: italic; color: var(--ink); }
.review footer { margin-top: 1rem; color: var(--gold); font-size: .9rem; font-style: normal; }

/* Footer */
.footer { text-align: center; padding: 3rem 0; border-top: 1px solid var(--panel-border); color: var(--muted); }
.footer .brand { font-size: 1.4rem; margin-bottom: .5rem; }
.footer__small { font-size: .8rem; margin-top: .6rem; opacity: .7; }

/* Модалки */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6,4,15,.78); backdrop-filter: blur(6px); }
.modal__box {
  position: relative; z-index: 1; background: linear-gradient(180deg,#1a1238,#140d2c);
  border: 1px solid var(--panel-border); border-radius: 24px; padding: 2.4rem;
  width: min(440px, 94vw); text-align: center; box-shadow: var(--shadow);
  max-height: 92vh; overflow-y: auto;
}
.modal__box--wide { width: min(760px, 96vw); text-align: left; }
.modal__close { position: absolute; top: .55rem; right: .7rem; background: none; border: none;
  color: var(--muted); font-size: 1.8rem; cursor: pointer; line-height: 1;
  width: 44px; height: 44px; display: grid; place-items: center; }
.modal__close:hover { color: #fff; }
.modal h3 { font-family: var(--serif); font-size: 1.7rem; margin-bottom: .4rem; }

.pay__product { color: var(--ink-soft); margin-bottom: 1.2rem; }
.pay__qr { background: #fff; border-radius: 16px; padding: .8rem; display: inline-block; }
.pay__qr img { display: block; width: 220px; height: 220px; }
.pay__amount { font-size: 1.8rem; font-weight: 700; margin: 1rem 0 .4rem; }
.pay__demo { font-size: .82rem; color: var(--gold); margin-bottom: 1rem; }
.pay__payee { background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: 14px; padding: 1rem; margin: .4rem 0 1rem; }
.pay__by { font-size: .85rem; color: var(--ink-soft); margin-bottom: .6rem; }
.pay__phone { display: flex; align-items: center; justify-content: center; gap: .6rem; }
.pay__phone span { font-size: 1.3rem; font-weight: 700; color: #fff; letter-spacing: .02em; }
.pay__recipient { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.pay__status { color: var(--ink-soft); margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; gap: .6rem; }
.pay__status.paid { color: #8ee6a8; }
.spinner { width: 16px; height: 16px; border: 2px solid var(--panel-border); border-top-color: var(--violet);
  border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Результат — натальная карта */
.result__head { text-align: center; margin-bottom: 1rem; animation: fadeUp .7s both; position: relative; }
/* Кнопка «✕ удалить разбор» — видна владельцу, верхний правый угол (как в нормальных интерфейсах) */
.report-del {
  position: absolute; top: -2px; right: -2px; z-index: 5;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.07);
  color: #c7bce8; font-size: 19px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all .15s;
}
.report-del:hover { background: #e0667a; color: #fff; border-color: #e0667a; transform: scale(1.06); }
/* Попап «сохрани доступ» (value-first capture контакта) */
.sa-overlay { position: fixed; inset: 0; background: rgba(8,6,20,.72); backdrop-filter: blur(5px);
  display: flex; align-items: center; justify-content: center; z-index: 9999; padding: 1.2rem; animation: saIn .3s ease; }
@keyframes saIn { from { opacity: 0; } to { opacity: 1; } }
.sa-box { position: relative; width: 100%; max-width: 380px; text-align: center;
  background: linear-gradient(180deg,#1c1538,#15102b); border: 1px solid rgba(231,200,115,.28);
  border-radius: 20px; padding: 1.9rem 1.5rem 1.6rem; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.sa-close { position: absolute; top: .5rem; right: .85rem; background: none; border: none;
  color: #9183b8; font-size: 1.7rem; cursor: pointer; line-height: 1; }
.sa-title { font-family: var(--serif, Georgia, serif); font-size: 1.4rem; color: #fff; margin-bottom: .5rem; }
.sa-sub { font-size: .92rem; color: #c7bce8; line-height: 1.55; margin-bottom: 1.15rem; }
.sa-box input { width: 100%; padding: .8em 1em; margin-bottom: .65rem; color: #fff; font-family: inherit;
  font-size: 1rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; }
.sa-box input::placeholder { color: #8a82a6; }
.sa-box .sa-save { width: 100%; margin-top: .35rem; }
.sa-err { color: #e0667a; font-size: .82rem; min-height: 1em; margin: .45rem 0 0; }
.sa-later { background: none; border: none; color: #9183b8; font-size: .85rem; cursor: pointer;
  margin-top: .7rem; text-decoration: underline; }
/* Прогрессивный (стриминговый) показ разбора — тест за ?stream=1 */
.sr-greeting { font-style: italic; color: #c7bce8; text-align: center; line-height: 1.55;
  margin: 0 0 1.6rem; font-size: 1.05rem; }
.sr-status { text-align: center; color: var(--gold,#e7c873); margin: 1.4rem 0 2rem; font-size: .95rem; }
.sr-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold,#e7c873);
  margin-right: .4rem; animation: srPulse 1s infinite ease-in-out; vertical-align: middle; }
@keyframes srPulse { 0%,100% { opacity: .3; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }
.sr-in { animation: srIn .55s ease both; }
@keyframes srIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* Кнопки/блоки неактивны, пока разбор генерится */
.sr-generating .audio-player, .sr-generating .ask, .sr-generating a[href^="/api/pdf/"],
.sr-generating .upsell, .sr-generating .share, .sr-generating .save-link,
.sr-generating .report-del { opacity: .5; pointer-events: none; }
.sr-generating #play-audio[disabled] { opacity: .85; }   /* текст «ожидайте» читаемый */
/* Раздел-скелетон (ждёт текст) */
.sr-pending h4 { opacity: .85; }
.sr-shimmer { color: #8a82a6; font-style: italic; animation: srShimmer 1.4s infinite ease-in-out; }
@keyframes srShimmer { 0%,100% { opacity: .4; } 50% { opacity: .8; } }
/* Закрытый раздел при стриме — размыт до регистрации */
/* Закрытый раздел: размываем СОДЕРЖИМОЕ (детей), сам контейнер чёткий — чтобы значок поверх не размылся */
.sr-locked { position: relative; cursor: pointer; user-select: none; }
/* Заголовок раздела НЕ блюрим — видно, какие разделы закрыты (что теряешь) */
.sr-locked > *:not(h4) { filter: blur(5px); opacity: .5; pointer-events: none; transition: filter .4s, opacity .4s; }
.sr-locked > h4 { pointer-events: none; opacity: .92; }
.sr-locked > h4::after { content: " 🔒"; font-size: .85em; }
.sr-locked::after { content: "🔒 нажми, чтобы открыть"; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%); font-size: .82rem; font-weight: 700; color: #15102b;
  background: linear-gradient(180deg,#f3e0a6,#e0b85a); padding: .55em 1.2em; border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0,0,0,.4); white-space: nowrap; pointer-events: none; }
.sr-locked:hover::after { transform: translate(-50%,-50%) scale(1.04); }
.gate-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center;
  justify-content: center; padding: 1.2rem; background: rgba(8,5,20,.74);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: gmIn .2s ease; }
.gate-modal .gate { margin: 0; animation: gmUp .25s ease; max-height: 92vh; overflow-y: auto; }
.gate-modal__x { position: absolute; top: 1rem; right: 1.1rem; width: 42px; height: 42px;
  border-radius: 50%; border: none; background: rgba(255,255,255,.14); color: #fff;
  font-size: 1.1rem; cursor: pointer; z-index: 1; }
@keyframes gmIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes gmUp { from { transform: translateY(18px); opacity: .5; } to { transform: none; opacity: 1; } }
.tg-invite { max-width: 420px; text-align: center; padding: 2.2rem 1.7rem 1.8rem; position: relative;
  background: linear-gradient(180deg,#221a42,#15102b); border: 1px solid rgba(231,200,115,.35);
  border-radius: 22px; box-shadow: 0 14px 44px rgba(0,0,0,.5); animation: gmUp .25s ease; }
.tg-invite__icon { font-size: 2.4rem; margin-bottom: .4rem; }
.tg-invite h3 { font-family: var(--serif, Georgia, serif); font-size: 1.5rem; color: #fff; margin: 0 0 .6rem; }
.tg-invite p { font-size: .95rem; color: #c7bce8; line-height: 1.55; margin: 0 0 1.2rem; }
.tg-invite__btn { width: 100%; }
.tg-invite__small { font-size: .74rem; color: #8a82a6; margin: .7rem 0 0; }
/* Гейт «открой весь разбор за email/телефон» */
.gate { max-width: 450px; margin: 1.2rem auto 2rem; text-align: center; padding: 2.2rem 1.7rem 1.9rem;
  background: linear-gradient(180deg,#221a42,#15102b); border: 1px solid rgba(231,200,115,.35);
  border-radius: 22px; box-shadow: 0 14px 44px rgba(0,0,0,.45), 0 0 0 1px rgba(231,200,115,.06) inset;
  position: relative; }
.gate__lock { font-size: 2.3rem; margin-bottom: .35rem; }
.gate__badge { width: 64px; height: 64px; margin: 0 auto .75rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.95rem; color: #1a1030;
  background: radial-gradient(circle at 50% 36%, #f5e3ac, #dfb455);
  box-shadow: 0 0 32px rgba(231,200,115,.55), inset 0 -3px 9px rgba(120,80,0,.28); }
.gate h3 { font-family: var(--serif, Georgia, serif); font-size: 1.55rem; color: #fff; margin-bottom: .6rem; }
.gate p { font-size: .95rem; color: #c7bce8; line-height: 1.55; margin-bottom: 1.2rem; }
.gate input { width: 100%; padding: 1em 1.1em; margin-bottom: .55rem; color: #fff; font-family: inherit;
  font-size: 1.05rem; text-align: center; background: rgba(255,255,255,.07);
  border: 1px solid rgba(231,200,115,.35); border-radius: 14px; transition: border-color .15s, background .15s; }
.gate input:focus { outline: none; border-color: rgba(231,200,115,.7); background: rgba(255,255,255,.1); }
.gate input::placeholder { color: #8a82a6; }
.gate__hot { font-size: .92rem; color: #ffd9a8; background: rgba(224,90,60,.15);
  border: 1px solid rgba(231,140,90,.42); border-radius: 13px; padding: .6em .85em; margin: 0 0 .9rem; line-height: 1.45; }
.gate__hot b { color: #ff8a5c; font-weight: 800; }
.gate__cta-line { font-size: .95rem; color: #c7bce8; line-height: 1.5; margin: 0 0 1.1rem; }
.gate__consent { font-size: .7rem; color: #6f678c; line-height: 1.4; margin: .55rem 0 0; }
.gate__hint { font-size: .78rem; color: #8a82a6; margin: 0 0 .4rem; }
.gate__btn { width: 100%; margin-top: .3rem; padding-top: .9em; padding-bottom: .9em; font-size: 1.02rem; }
.gate__err { color: #e0667a; font-size: .82rem; min-height: 1em; margin: .5rem 0 0; }
.result__name { font-family: var(--serif); font-size: 2.2rem; font-weight: 600;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.result__born { color: var(--muted); font-size: .9rem; }
/* декоративный разделитель под шапкой */
.result__head::after { content: "✦ ⋆ ˚ ⋆ ✦"; display: block; color: var(--gold);
  letter-spacing: .5em; font-size: .8rem; margin-top: 1rem; opacity: .7; }
.result__big3 { display: flex; justify-content: center; gap: 1rem; margin: 1.4rem 0; flex-wrap: wrap; }
.big3 { text-align: center; background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: 16px; padding: 1rem 1.3rem; min-width: 100px;
  box-shadow: inset 0 0 24px rgba(177,140,240,.1); animation: pop .5s both; }
.big3:nth-child(2) { animation-delay: .1s; }
.big3:nth-child(3) { animation-delay: .2s; }
.big3 .glyph { font-size: 1.8rem; display: block; color: var(--gold);
  filter: drop-shadow(0 0 10px rgba(231,200,115,.5)); }
.big3 .lbl { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.big3 .val { font-weight: 600; font-size: 1.05rem; }
.wheel { display: block; margin: 1rem auto 1.6rem; max-width: 360px; width: 100%;
  animation: fadeUp .8s .15s both; }
.result__greeting { font-family: var(--serif); font-size: 1.35rem; font-style: italic;
  text-align: center; color: var(--ink); margin-bottom: 1.8rem; line-height: 1.55;
  animation: fadeUp .8s .2s both; }
.reading-sec { position: relative; background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: 16px; padding: 1.4rem 1.6rem; margin-bottom: 1rem; overflow: visible;
  animation: fadeUp .7s both; transition: transform .25s, border-color .25s, box-shadow .25s; }
/* акцент-полоса слева — вписана в скруглённые углы (чтобы секции можно было держать overflow:visible) */
.reading-sec::before { content: ""; position: absolute; top: 10px; left: 0; width: 3px;
  height: calc(100% - 20px); border-radius: 3px; background: var(--grad); opacity: .8; }
.reading-sec:hover { transform: translateY(-3px); border-color: var(--violet);
  box-shadow: 0 14px 36px rgba(0,0,0,.3); }
.reading-sec:nth-child(1){animation-delay:.05s} .reading-sec:nth-child(2){animation-delay:.1s}
.reading-sec:nth-child(3){animation-delay:.15s} .reading-sec:nth-child(4){animation-delay:.2s}
.reading-sec:nth-child(5){animation-delay:.25s} .reading-sec:nth-child(6){animation-delay:.3s}
.reading-sec:nth-child(7){animation-delay:.35s} .reading-sec:nth-child(8){animation-delay:.4s}
.reading-sec:nth-child(9){animation-delay:.45s} .reading-sec:nth-child(n+10){animation-delay:.5s}
.reading-sec h4 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: .5rem; color: #fff; }
.reading-sec p { color: var(--ink-soft); }
.affirmation { position: relative; text-align: center; font-family: var(--serif);
  font-size: 1.45rem; font-style: italic; line-height: 1.5;
  background: radial-gradient(circle at 50% 0%, rgba(177,140,240,.12), transparent 70%);
  border: 1px solid var(--gold); border-radius: 18px; padding: 2rem 1.6rem; margin: 1.6rem 0;
  box-shadow: 0 0 50px rgba(231,200,115,.1); animation: fadeUp .8s both; }
.affirmation::before { content: "✦"; display: block; color: var(--gold); font-size: 1.4rem;
  font-style: normal; margin-bottom: .6rem; }
.affirmation span { background: var(--grad); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: scale(1); } }
/* Профессиональная карта: колесо + баланс */
.chart-wrap { display: flex; align-items: center; justify-content: center; gap: 1.5rem;
  flex-wrap: wrap; margin: 1rem 0 1.8rem; animation: fadeUp .8s .15s both; }
.wheel { display: block; width: 100%; max-width: 400px; }
.chart-wrap .wheel { flex: 1 1 320px; max-width: 400px; margin: 0; }
.balance { flex: 0 1 230px; display: flex; flex-direction: column; gap: 1.2rem; }
.balance__col h5 { font-family: var(--serif); font-size: 1.1rem; color: var(--gold);
  margin-bottom: .5rem; font-weight: 600; }
.bal__row { margin-bottom: .6rem; font-size: .82rem; }
.bal__head { display: flex; justify-content: space-between; color: var(--ink-soft); margin-bottom: .25rem; }
.bal__num { color: var(--ink); font-weight: 600; }
.bal__track { display: block; width: 100%; height: 8px; background: rgba(255,255,255,.07);
  border-radius: 6px; overflow: hidden; }
.bal__fill { display: block; height: 100%; border-radius: 6px; transition: width .8s ease; }

/* Список аспектов */
.asp-list { list-style: none; columns: 2; column-gap: 1.4rem; margin-top: .6rem; }
.asp-list li { display: flex; align-items: center; gap: .45rem; padding: .25rem 0;
  font-size: .82rem; color: var(--ink-soft); break-inside: avoid; }
.asp__dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 9px; }
.asp__orb { color: var(--muted); font-size: .74rem; margin-left: auto; white-space: nowrap; }
.tech__h { font-family: var(--serif); color: var(--gold); margin: 1.2rem 0 .3rem; font-size: 1.1rem; }

.planet-table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .9rem; }
.planet-table td { padding: .35rem .5rem; border-bottom: 1px solid rgba(255,255,255,.06); color: var(--ink-soft); }
.planet-table .pl { color: var(--ink); font-weight: 600; }
details.tech summary { cursor: pointer; color: var(--violet); margin: 1rem 0; }

/* Космический загрузчик */
.cosmic { text-align: center; padding: 1.5rem 1rem 1rem; }
.cosmic__wheel { position: relative; width: 180px; height: 180px; margin: 0 auto 2rem; }
.cosmic__ring { position: absolute; inset: 0; border: 1px dashed rgba(231,200,115,.45);
  border-radius: 50%; animation: spin 14s linear infinite; }
.cosmic__ring--inner { inset: 34px; border-style: solid; border-color: rgba(177,140,240,.3);
  animation: spin 9s linear infinite reverse; }
.cosmic__core { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-size: 2.4rem; color: var(--gold); filter: drop-shadow(0 0 14px rgba(231,200,115,.8));
  animation: corePulse 2.4s ease-in-out infinite; }
@keyframes corePulse { 0%,100%{opacity:.7;transform:translate(-50%,-50%) scale(1)}
  50%{opacity:1;transform:translate(-50%,-50%) scale(1.18)} }
.cosmic__orbit { position: absolute; top: 50%; left: 50%; width: 0; height: 0; }
.cosmic__orbit--1 { animation: spin 3.6s linear infinite; }
.cosmic__orbit--2 { animation: spin 6s linear infinite; }
.cosmic__orbit--3 { animation: spin 9s linear infinite reverse; }
.cosmic__planet { position: absolute; font-size: 1.1rem; color: var(--ink);
  filter: drop-shadow(0 0 8px rgba(177,140,240,.7)); }
.cosmic__orbit--1 .cosmic__planet { transform: translate(-50%,-50%) translateY(-44px); }
.cosmic__orbit--2 .cosmic__planet { transform: translate(-50%,-50%) translateY(-66px); color: var(--rose); }
.cosmic__orbit--3 .cosmic__planet { transform: translate(-50%,-50%) translateY(-86px); color: var(--violet); }

.cosmic__steps { list-style: none; max-width: 380px; margin: 0 auto; text-align: left; }
.cosmic__steps li { display: flex; align-items: center; gap: .7rem; padding: .5rem 0;
  color: var(--muted); opacity: .45; transition: opacity .4s, color .4s; font-size: .98rem; }
.cosmic__steps li.active { opacity: 1; color: var(--ink); }
.cosmic__steps li.done { opacity: .85; color: var(--ink-soft); }
.cosmic__mark { width: 18px; height: 18px; flex: 0 0 18px; border-radius: 50%;
  border: 1.5px solid var(--panel-border); position: relative; transition: all .3s; }
.cosmic__steps li.active .cosmic__mark { border-color: var(--violet);
  border-top-color: transparent; animation: spin .8s linear infinite; }
.cosmic__steps li.done .cosmic__mark { border-color: var(--gold); background: var(--gold); animation: none; }
.cosmic__steps li.done .cosmic__mark::after { content: "✓"; position: absolute; inset: 0;
  display: grid; place-items: center; color: #1a1030; font-size: .7rem; font-weight: 700; }
.cosmic__muse { margin: 1.4rem auto .4rem; max-width: 400px; min-height: 1.6em;
  font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--violet);
  text-align: center; opacity: 0; transition: opacity .35s ease; }
.cosmic__note { text-align: center; color: var(--muted); font-size: .82rem; }

.loading { text-align: center; padding: 3rem 1rem; }
.loading .spinner { width: 40px; height: 40px; border-width: 3px; margin: 0 auto 1.4rem; }
.loading p { color: var(--ink-soft); }

/* Hero free-note */
.hero__free-note { color: var(--gold); font-size: .9rem; margin-top: .8rem; letter-spacing: .04em; }
.hero__alt { display: block; margin-top: .6rem; font-size: .9rem; color: var(--muted); }

/* Лид-магнит */
.free { padding: 4rem 0; }
.free__inner { max-width: 620px; margin: 0 auto; text-align: center; }
.free__gift { font-size: 3rem; margin-bottom: .6rem; filter: drop-shadow(0 0 20px rgba(231,200,115,.5)); }
.free__sub { color: var(--ink-soft); margin: -1.4rem auto 2rem; max-width: 520px; }
.free .form { text-align: left; border-color: var(--gold); box-shadow: 0 0 50px rgba(231,200,115,.12); }

/* Допродажа в мини-портрете */
.upsell { text-align: center; background: var(--panel); border: 1px solid var(--gold);
  border-radius: 18px; padding: 1.8rem 1.5rem; margin-top: 1.4rem; }
.upsell__teaser { font-family: var(--serif); font-size: 1.35rem; font-style: italic;
  color: var(--ink); margin-bottom: .8rem; }
.upsell__hint { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1.3rem; }
.upsell .btn { font-size: 1.05rem; }
/* Закрытые разделы бесплатной версии: выглядят как настоящие, но размыты */
.locked-wrap { position: relative; }
.locked-sec { position: relative; }
.locked-sec .lock-pill { font-size: .85rem; opacity: .7; margin-left: .3rem; }
.locked-text { filter: blur(5px); user-select: none; pointer-events: none; opacity: .7; }
/* Плавное затухание стопки закрытых разделов к призыву купить */
.locked-wrap::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70%;
  background: linear-gradient(180deg, rgba(20,13,44,0) 0%, rgba(20,13,44,.96) 92%);
  pointer-events: none; z-index: 1;
}
/* Бесплатный портрет — как полный отчёт: показываем живое звёздное небо за полупрозрачной модалкой */
#free-modal .modal__backdrop { background: rgba(6,4,15,.5); backdrop-filter: none; }
#free-modal .modal__box { background: linear-gradient(180deg, rgba(26,18,56,.88), rgba(20,13,44,.92)); }
.locked-cta {
  position: relative; z-index: 2; text-align: center; margin-top: -2rem;
  background: linear-gradient(180deg, rgba(231,200,115,.06), rgba(231,200,115,.12));
  border: 1px solid var(--gold); border-radius: 18px; padding: 1.8rem 1.5rem;
}
.locked-cta__title { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); margin-bottom: .5rem; }
.locked-cta__hint { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1.3rem; }
.locked-cta .btn { font-size: 1.05rem; }

/* Плеер озвучки */
.audio-player { text-align: center; margin: 0 auto 1.8rem; max-width: 460px;
  background: radial-gradient(circle at 50% 0%, rgba(177,140,240,.14), transparent 70%);
  border: 1px solid var(--gold); border-radius: 18px; padding: 1.4rem;
  animation: fadeUp .8s .25s both; }
.audio-player .btn { font-size: 1.05rem; white-space: normal; max-width: 100%;
  line-height: 1.3; padding-left: 1.2em; padding-right: 1.2em; }
.audio-ctl { margin-top: .9rem; }
.audio-track { height: 10px; background: rgba(255,255,255,.12); border-radius: 999px;
  cursor: pointer; position: relative; touch-action: none; }
.audio-track:hover { background: rgba(255,255,255,.18); }
.audio-fill { height: 100%; width: 0; border-radius: 999px; background: var(--grad);
  pointer-events: none; }
.audio-time { display: flex; justify-content: space-between; color: var(--muted);
  font-size: .78rem; margin-top: .4rem; }
.audio-hint { color: var(--muted); font-size: .82rem; margin-top: .7rem; }
.btn-spinner { display: inline-block; width: 13px; height: 13px; vertical-align: -1px;
  border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%;
  animation: spin .7s linear infinite; }

/* Отступ якорей под липким меню (usability) */
section[id] { scroll-margin-top: 84px; }

/* Прогноз на год */
.forecast { border: 1px solid var(--gold); border-radius: 18px; padding: 1.6rem;
  margin: 1.6rem 0; background: radial-gradient(circle at 50% 0%, rgba(231,200,115,.08), transparent 70%); }
.forecast__title { font-family: var(--serif); font-size: 1.7rem; text-align: center;
  color: var(--gold); margin-bottom: .8rem; }
.forecast__intro { text-align: center; color: var(--ink); font-style: italic;
  font-family: var(--serif); font-size: 1.2rem; margin-bottom: 1.2rem; }
.forecast__closing { text-align: center; color: var(--ink-soft); font-style: italic;
  margin-top: 1rem; }

/* Отправить партнёру */
.share-box { background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: 16px; padding: 1.3rem; margin: 1.2rem 0; text-align: center; }
.share-title { color: var(--ink); font-weight: 600; margin-bottom: .8rem; }
.share-to { width: 100%; max-width: 360px; padding: .7em 1em; margin: 0 auto .9rem;
  background: rgba(255,255,255,.05); border: 1px solid var(--panel-border);
  border-radius: 12px; color: var(--ink); font-size: .95rem; display: block; }
.share-btns { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.share-btn { border: none; cursor: pointer; color: #fff; font-weight: 600; font-size: .9rem;
  padding: .65em 1.2em; border-radius: 999px; transition: transform .15s, opacity .15s; }
.share-btn:hover { transform: translateY(-2px); opacity: .92; }
.share-btn--max { background: #8a2be2; }
.share-btn--tg { background: #2aabee; }
.share-btn--wa { background: #25d366; }
.share-btn--em { background: #6b5b95; }
.share-msg { color: var(--gold); font-size: .85rem; margin-top: .8rem; min-height: 1.1em; }

/* Постоянная страница карты */
.chart-page { padding: 2.5rem 0 4rem; max-width: 760px; }
.chart-page .result__head { text-align: center; }

/* Блок «сохрани ссылку» */
.save-link { background: var(--panel); border: 1px solid var(--gold); border-radius: 16px;
  padding: 1.2rem 1.4rem; margin: 1.2rem 0; }
.save-link p { color: var(--ink-soft); margin-bottom: .7rem; font-size: .95rem; }
.save-link__row { display: flex; gap: .6rem; }
.save-link__row input { flex: 1; padding: .6em .8em; background: rgba(255,255,255,.05);
  border: 1px solid var(--panel-border); border-radius: 10px; color: var(--ink); font-size: .85rem; }
.save-link__row .btn { white-space: nowrap; }

/* Мои разборы */
.my-reports:not(:empty) { margin: 1.4rem auto; max-width: 520px; padding: 1.1rem 1.3rem;
  background: var(--panel); border: 1px solid var(--panel-border); border-radius: 14px; }
.my-reports__title { color: var(--gold); font-weight: 600; margin-bottom: .5rem; }
.my-reports__item { display: block; color: var(--ink-soft); text-decoration: none;
  padding: .4rem 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: .92rem; }
.my-reports__item:last-child { border-bottom: none; }
.my-reports__item:hover { color: #fff; }
.my-reports__item--ghost { color: var(--muted); }
.my-reports__more { margin-top: 1rem; }
.family .my-reports__item:last-of-type { border-bottom: 1px solid rgba(255,255,255,.05); }
.my-reports__adds { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.my-reports__add { display: inline-block; color: var(--gold); text-decoration: none;
  font-size: .85rem; border: 1px dashed rgba(231,200,115,.45); border-radius: 10px;
  padding: .35rem .7rem; }
.my-reports__add:hover { background: rgba(231,200,115,.08); }
/* Свёрнутый список «＋ Добавить близкого» */
.fam-add { margin-top: .8rem; }
.fam-add__sum { display: inline-block; cursor: pointer; list-style: none; color: var(--gold);
  font-size: .9rem; font-weight: 600; border: 1px dashed rgba(231,200,115,.5);
  border-radius: 10px; padding: .45rem .9rem; transition: background .15s ease; }
.fam-add__sum::-webkit-details-marker { display: none; }
.fam-add__sum::marker { content: ""; }
.fam-add__sum:hover { background: rgba(231,200,115,.08); }
.fam-add[open] .fam-add__sum { background: rgba(231,200,115,.1); }
.fam-add__note { color: var(--muted); font-size: .76rem; line-height: 1.4; margin-top: .55rem; }
/* CTA семейного разбора в блоке «Семья» */
.fam-cta { display: block; margin-top: 1rem; padding: .9rem 1.1rem; text-decoration: none;
  border: 1px solid var(--gold); border-radius: 14px;
  background: linear-gradient(180deg, rgba(231,200,115,.07), rgba(231,200,115,.13)); }
.fam-cta:hover { background: rgba(231,200,115,.18); }
.fam-cta__title { display: block; color: var(--gold); font-weight: 700; font-size: 1rem; }
.fam-cta__sub { display: block; color: var(--ink-soft); font-size: .85rem; margin-top: .25rem; }
.fam-row b { color: var(--gold); }
.fam-row--new { border-left: 2px solid var(--gold); padding-left: .5rem; }

/* Страница семейного разбора */
.fam-members { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin: 1rem 0 1.4rem; }
.fam-member { background: var(--panel); border: 1px solid var(--panel-border); border-radius: 16px;
  padding: 1rem 1.1rem; min-width: 150px; text-align: center; }
.fam-member__role { color: var(--gold); font-size: .8rem; text-transform: uppercase;
  letter-spacing: .12em; margin-bottom: .2rem; }
.fam-pairs { max-width: 420px; margin: 0 auto 1.4rem; background: var(--panel);
  border: 1px solid var(--panel-border); border-radius: 14px; padding: .9rem 1.1rem; }
.fam-pairs__title { color: var(--gold); font-weight: 600; margin-bottom: .5rem; font-size: .95rem; }
.fam-pair { display: flex; justify-content: space-between; align-items: center;
  padding: .35rem 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: .92rem; color: var(--ink-soft); }
.fam-pair:last-child { border-bottom: none; }
.fam-pair i { color: var(--muted); font-style: normal; }
.fam-pair b { color: var(--gold); }

/* 💬 Спроси Астерию */
.ask { margin: 1.6rem auto; max-width: 560px; background: linear-gradient(180deg, rgba(231,200,115,.06), rgba(231,200,115,.12));
  border: 1px solid var(--gold); border-radius: 18px; padding: 1.4rem 1.3rem; }
.ask__title { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); margin-bottom: .2rem; }
.ask__hint { color: var(--ink-soft); font-size: .9rem; margin-bottom: .9rem; }
.ask__who { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: .7rem; }
.ask__who label { display: flex; flex-direction: column; gap: .25rem; font-size: .78rem;
  color: var(--muted); flex: 1; min-width: 140px; }
.ask__who select { background: #1a1238; border: 1px solid var(--panel-border); border-radius: 10px;
  color: var(--ink); padding: .5rem .6rem; font-size: .9rem; }
.ask__q { width: 100%; background: rgba(255,255,255,.05); border: 1px solid var(--panel-border);
  border-radius: 12px; color: var(--ink); padding: .7rem .8rem; font-size: .95rem; resize: vertical;
  font-family: inherit; margin-bottom: .7rem; }
.ask__go { width: 100%; }
.ask__msg { color: var(--gold); font-size: .85rem; margin-top: .6rem; min-height: 1em; text-align: center; }
.ask__q-shown { font-family: var(--serif); font-style: italic; font-size: 1.25rem;
  color: var(--ink); margin-top: .4rem; }
/* Секция «Семья + Спроси Астерию» на лендинге */
.family-sec { padding: 1rem 0 2rem; }
.feature-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.6rem; }
.feature { background: var(--panel); border: 1px solid var(--panel-border); border-radius: 20px;
  padding: 1.8rem 1.6rem; text-align: left; }
.feature--accent { border-color: var(--gold);
  background: linear-gradient(180deg, rgba(231,200,115,.06), rgba(231,200,115,.11)); }
.feature__icon { font-size: 2.4rem; margin-bottom: .6rem; }
.feature h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: .5rem; color: var(--ink); }
.feature p { color: var(--ink-soft); font-size: .98rem; margin-bottom: 1rem; }
.feature__list { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.feature__list li { position: relative; padding-left: 1.4rem; margin-bottom: .5rem;
  color: var(--ink-soft); font-size: .9rem; }
.feature__list li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
@media (max-width: 640px) { .feature-2 { grid-template-columns: 1fr; } }

/* Оглавление натальной карты — все разделы видны сразу (карточка-«Содержание») */
.toc { display: flex; flex-wrap: wrap; gap: .4rem .5rem; align-items: center;
  padding: .9rem 1rem; margin: 0 0 1.4rem; border-radius: 16px;
  background: var(--panel); border: 1px solid var(--panel-border); }
.toc__label { width: 100%; color: var(--gold); font-size: .82rem; font-weight: 600; margin-bottom: .2rem; }
.toc a { white-space: nowrap; font-size: .82rem; color: var(--ink-soft); text-decoration: none;
  border: 1px solid var(--panel-border); border-radius: 999px; padding: .34rem .74rem;
  background: rgba(255,255,255,.03); transition: background .15s, color .15s; }
.toc a:hover { color: #fff; border-color: var(--gold); }
.toc a.active { color: #0e0a1f; background: var(--gold); border-color: var(--gold); font-weight: 600; }
.reading-sec { scroll-margin-top: 72px; }
.chart-wrap, #nc-family, #nc-era, #nc-forecast, #nc-ask { scroll-margin-top: 72px; }

/* Финальное заключение «Что делать дальше» */
.plan { background: linear-gradient(180deg, rgba(231,200,115,.06), rgba(231,200,115,.12));
  border: 1px solid var(--gold); border-radius: 18px; padding: 1.6rem 1.5rem; margin: 1.6rem 0; }
.plan__title { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); margin-bottom: .7rem; }
.plan__summary { color: var(--ink); font-size: 1rem; line-height: 1.6; margin-bottom: 1.1rem; }
.plan__areas { display: grid; gap: .7rem; margin-bottom: 1.2rem; }
.plan__area { background: rgba(255,255,255,.04); border-radius: 12px; padding: .7rem .9rem; }
.plan__area b { display: block; color: var(--gold); font-size: .95rem; margin-bottom: .2rem; }
.plan__area span { color: var(--ink-soft); font-size: .92rem; line-height: 1.5; }
.plan__steps-h { color: var(--ink); font-weight: 600; margin-bottom: .5rem; }
.plan__steps { margin: 0; padding-left: 1.3rem; color: var(--ink-soft); }
.plan__steps li { margin: .45rem 0; line-height: 1.5; }

/* Управление картами в /my */
.my-manage { display: flex; justify-content: space-between; align-items: center; gap: .6rem;
  padding: .45rem 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: .92rem; }
.my-manage a { color: var(--ink-soft); text-decoration: none; }
.my-manage a:hover { color: #fff; }
.my-manage__tag { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.my-del { background: rgba(232,85,122,.12); border: 1px solid rgba(232,85,122,.5); color: #e8557a;
  border-radius: 8px; padding: .25rem .6rem; font-size: .8rem; cursor: pointer; white-space: nowrap; }
.my-del:hover { background: rgba(232,85,122,.25); }

/* Быстрый вопрос по разделу */
.sec-ask { position: relative; display: inline-flex; align-items: center; gap: .28rem; margin-left: .5rem;
  font-size: .72rem; font-weight: 600; color: var(--gold); background: rgba(231,200,115,.08);
  border: 1px solid rgba(231,200,115,.3); border-radius: 999px; padding: .16rem .6rem;
  cursor: pointer; vertical-align: middle; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease; }
.sec-ask__ic { flex: none; opacity: .85; }
.sec-ask:hover { background: rgba(231,200,115,.18); border-color: rgba(231,200,115,.55); }
/* Тизер: «спросить» закрыт до полной версии — приглушённый замок, клик открывает paywall */
.sec-ask--locked { color: var(--muted); background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.15);
  font-weight: 600; }
.sec-ask--locked:hover { background: rgba(231,200,115,.12); border-color: rgba(231,200,115,.4); color: var(--gold); }
/* Подсказка при наведении на «спросить» (десктоп) */
.sec-ask[data-tip]:hover::after {
  content: attr(data-tip);
  position: absolute; left: 50%; bottom: calc(100% + 9px); transform: translateX(-50%);
  width: 240px; white-space: normal; text-align: left; font-weight: 400;
  background: #1a1338; color: var(--ink-soft); border: 1px solid rgba(231,200,115,.35);
  border-radius: 10px; padding: .55rem .7rem; font-size: .76rem; line-height: 1.45;
  box-shadow: 0 10px 28px rgba(0,0,0,.45); z-index: 40; pointer-events: none; }
.sec-ask[data-tip]:hover::before {
  content: ""; position: absolute; left: 50%; bottom: calc(100% + 3px); transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: rgba(231,200,115,.45);
  z-index: 40; pointer-events: none; }
.sec-ask-box { margin-top: .7rem; }
.sec-ask__hint { color: var(--muted); font-size: .78rem; line-height: 1.45; margin-bottom: .5rem; }
.sec-ask__row { display: flex; gap: .5rem; }
.sec-ask__q { flex: 1; background: rgba(255,255,255,.05); border: 1px solid var(--panel-border);
  border-radius: 10px; color: var(--ink); padding: .5rem .7rem; font-size: .9rem; font-family: inherit; }
.sec-ask__wait { color: var(--gold); font-size: .85rem; }
.sec-ask__answer { margin-top: .6rem; padding: .7rem .9rem; background: rgba(231,200,115,.07);
  border-left: 2px solid var(--gold); border-radius: 8px; color: var(--ink-soft); font-size: .92rem; line-height: 1.5; }

.example-banner { background: linear-gradient(180deg, rgba(231,200,115,.1), rgba(231,200,115,.16));
  border: 1px solid var(--gold); border-radius: 14px; padding: .8rem 1.1rem; margin: 0 0 1.4rem;
  text-align: center; color: var(--ink-soft); font-size: .95rem; }
.example-banner a { color: var(--gold); font-weight: 700; text-decoration: none; white-space: nowrap; }

/* Пульсация главной кнопки — мягко притягивает клик (откат: удалить этот блок) */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(231,200,115,.5); }
  50% { box-shadow: 0 0 26px 5px rgba(231,200,115,.55); transform: translateY(-1px); }
}
.hero__cta { animation: ctaPulse 2.3s ease-in-out infinite; }
.hero__cta:hover { animation: none; }
@media (prefers-reduced-motion: reduce) { .hero__cta { animation: none; } }

.hero__example { display: inline-block; margin-top: 1rem; color: var(--gold);
  text-decoration: none; font-size: .95rem; border-bottom: 1px dashed rgba(231,200,115,.5); }
.hero__example:hover { color: #fff; }

/* WB-стиль цены: якорь (перечёркнут) + цена + бейдж скидки */
.price { display: inline-flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.price__old { color: var(--muted); text-decoration: line-through; font-size: .9rem; font-weight: 400; }
.price__now { color: var(--gold); font-weight: 800; }
.price__off { background: #e8557a; color: #fff; font-size: .72rem; font-weight: 700;
  padding: .12rem .4rem; border-radius: 7px; letter-spacing: .02em; }
.rel-card-price .price { justify-content: center; }

.ask--free { margin: 1.4rem 0; }
.free-ask__qa { border-top: 1px solid rgba(255,255,255,.08); margin-top: .8rem; padding-top: .8rem; }
.free-ask__qa:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.free-ask__sum { cursor: pointer; list-style: none; font-family: var(--serif); font-style: italic;
  font-size: 1.1rem; color: var(--gold); padding: .25rem 0; }
.free-ask__sum::-webkit-details-marker { display: none; }
.free-ask__sum::before { content: "▸ "; opacity: .7; }
details[open] > .free-ask__sum::before { content: "▾ "; }
.free-ask__a { margin-top: .5rem; }
.free-ask__offer { margin-top: 1.2rem; text-align: center; padding-top: 1.1rem;
  border-top: 1px dashed rgba(231,200,115,.4); }
.free-ask__offer p { color: var(--ink-soft); margin-bottom: .6rem; }
.free-ask__offer .btn { white-space: normal; max-width: 100%; line-height: 1.3; }
.free-ask__price { font-size: 1.15rem; color: var(--ink); }
.free-ask__price s { color: var(--muted); font-weight: 400; margin-right: .3rem; }
.free-ask__price b { color: var(--gold); }
.ask__more { color: var(--ink-soft); font-size: .9rem; margin: 1rem 0 .8rem; text-align: center; }
#free-ask-answer .reading-sec { text-align: left; }


/* Поддержка */
.support-fab { position: fixed; bottom: 22px; right: 22px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--grad); font-size: 1.6rem; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.support-fab:hover { transform: scale(1.06); }
.support-modal { position: fixed; bottom: 90px; right: 22px; z-index: 200; }
.support-modal[hidden] { display: none; }
.support-box { width: min(330px, 88vw); background: linear-gradient(180deg,#1a1238,#140d2c);
  border: 1px solid var(--gold); border-radius: 18px; padding: 1.4rem; box-shadow: var(--shadow); position: relative; }
.support-box h4 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: .3rem; }
.support-hint { color: var(--ink-soft); font-size: .85rem; margin-bottom: .9rem; }
.support-box input, .support-box textarea { width: 100%; margin-bottom: .7rem; padding: .7em .9em;
  background: rgba(255,255,255,.05); border: 1px solid var(--panel-border); border-radius: 10px;
  color: var(--ink); font-family: var(--sans); font-size: .95rem; }
.support-close { position: absolute; top: .5rem; right: .8rem; background: none; border: none;
  color: var(--muted); font-size: 1.5rem; cursor: pointer; }
.support-status { color: var(--gold); font-size: .82rem; margin-top: .6rem; min-height: 1em; }

/* Юр-страница */
.legal { max-width: 760px; padding: 2.5rem 0 4rem; }
.legal h1 { font-family: var(--serif); font-size: 2rem; margin-bottom: 1rem; }
.legal h2 { font-family: var(--serif); font-size: 1.4rem; color: var(--gold); margin: 1.6rem 0 .5rem; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: .5rem; line-height: 1.6; }
.legal ul { padding-left: 1.4rem; margin-bottom: .6rem; }
.legal__note { background: rgba(231,200,115,.1); border: 1px solid var(--gold);
  border-radius: 12px; padding: .9rem 1.1rem; color: var(--gold) !important; }
.legal__updated { color: var(--muted) !important; margin-top: 2rem; font-size: .85rem; }

/* Согласия в формах */
.form__consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .85rem;
  color: var(--ink-soft); margin-bottom: 1rem; cursor: pointer; text-align: left; }
.form__consent input { width: auto; margin: .2rem 0 0; flex: 0 0 auto; accent-color: var(--violet); }
.form__consent a { color: var(--violet); }

/* Звёздам доверяли великие */
.legends { padding: 90px 0; position: relative; }
.legends__sub {
  max-width: 680px; margin: 12px auto 36px; text-align: center;
  color: var(--ink-soft); font-size: 1.05rem; line-height: 1.6;
}
.legends__viewport { position: relative; }
.legends__track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 4px 22px; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
}
.legends__track::-webkit-scrollbar { display: none; }
.legend {
  flex: 0 0 280px; scroll-snap-align: center; text-align: center;
  background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: 22px; padding: 30px 24px 26px;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.legend:hover {
  transform: translateY(-6px);
  border-color: rgba(231, 200, 115, 0.5);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}
.legend__medal {
  width: 112px; height: 112px; margin: 0 auto 18px; position: relative;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #221646 0%, #140d2e 100%);
  box-shadow: 0 0 0 2px rgba(231, 200, 115, 0.6), 0 10px 28px rgba(0, 0, 0, 0.45),
              inset 0 0 22px rgba(177, 140, 240, 0.25);
}
.legend__photo {
  width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
  border-radius: 50%; display: block;
  filter: saturate(1.02) contrast(1.02);
}
.legend__sign {
  position: absolute; bottom: -6px; right: -6px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1rem;
  background: var(--bg-2); color: var(--gold);
  border: 1px solid rgba(231, 200, 115, 0.6);
}
.legend h3 { font-size: 1.3rem; margin: 0 0 4px; }
.legend__role {
  font-size: .82rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 12px;
}
.legend__fact { color: var(--ink-soft); font-size: .95rem; line-height: 1.55; margin: 0; }
.legends__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: rgba(23, 15, 51, 0.85); color: var(--ink);
  border: 1px solid var(--panel-border); font-size: 1.6rem; line-height: 1;
  display: grid; place-items: center; transition: background .25s, transform .25s;
  backdrop-filter: blur(6px);
}
.legends__arrow:hover { background: var(--violet); transform: translateY(-50%) scale(1.08); }
.legends__arrow--prev { left: -8px; }
.legends__arrow--next { right: -8px; }
.legends__note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 18px; }

/* Почему мы точнее */
.precision { padding: 90px 0; position: relative; }
.precision__lead {
  max-width: 720px; margin: 14px auto 40px; text-align: center;
  color: var(--ink-soft); font-size: 1.12rem; line-height: 1.65;
}
.precision__lead b { color: var(--gold); }
.prec-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 880px; margin: 0 auto;
}
.prec-card {
  background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: 20px; padding: 28px 26px;
  transition: transform .3s ease, border-color .3s ease;
}
.prec-card:hover { transform: translateY(-4px); border-color: rgba(231, 200, 115, 0.45); }
.prec-card__icon {
  font-size: 2rem; width: 58px; height: 58px; border-radius: 16px; margin-bottom: 14px;
  display: grid; place-items: center;
  background: rgba(177, 140, 240, 0.12); border: 1px solid var(--panel-border);
}
.prec-card h3 { font-size: 1.25rem; margin: 0 0 8px; }
.prec-card p { color: var(--ink-soft); font-size: .97rem; line-height: 1.6; margin: 0; }
.prec-card b { color: var(--ink); font-weight: 600; }
.prec-badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px;
  max-width: 880px; margin: 34px auto 0;
}
.prec-badges span {
  font-size: .85rem; color: var(--muted); letter-spacing: .02em;
  padding: 7px 14px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--panel-border);
}

.form__ok { color: var(--gold); text-align: center; margin-top: .8rem; font-weight: 500; }
.promo-banner { background: rgba(231,200,115,.12); border: 1px solid var(--gold);
  border-radius: 14px; padding: .9rem 1.2rem; margin: 0 auto 1.4rem; max-width: 620px;
  text-align: center; color: var(--ink); font-size: .98rem; }
.promo-banner b { color: var(--gold); }
.promo-row { display: flex; gap: .5rem; margin-top: .4rem; max-width: 340px; }
.promo-row input { flex: 1; margin-top: 0; padding: .55em .8em; font-size: .92rem; }
.promo-row .btn { white-space: nowrap; }
.promo-msg { font-size: .85rem; margin-top: .4rem; min-height: 1em; color: var(--gold); }
.upsell__note { color: var(--muted); font-size: .8rem; margin-top: .8rem; }

/* Мир в день твоего рождения */
.era { border: 1px solid var(--violet); border-radius: 18px; padding: 1.6rem;
  margin: 1rem 0 1.4rem;
  background: radial-gradient(circle at 50% 0%, rgba(177,140,240,.12), transparent 70%); }
.era__title { font-family: var(--serif); font-size: 1.6rem; text-align: center;
  color: var(--violet); margin-bottom: .8rem; }
.era__lead { color: var(--ink); font-style: italic; font-family: var(--serif);
  font-size: 1.15rem; text-align: center; margin-bottom: 1rem; line-height: 1.5; }
.era__row { display: flex; gap: .8rem; align-items: flex-start; margin: .7rem 0; }
.era__ic { font-size: 1.3rem; flex: 0 0 auto; }
.era__row p { color: var(--ink-soft); margin: 0; }
.era__row b { color: var(--ink); }
.era__closing { text-align: center; color: var(--ink-soft); font-style: italic; margin-top: 1rem; }
.upsell__hint b { color: var(--ink); font-weight: 600; }

/* Аудио-питч «почему мы лучшие» */
.promo { padding: 1.5rem 0 .5rem; }
.promo__card {
  display: flex; align-items: center; gap: 1.4rem;
  background: radial-gradient(circle at 0% 0%, rgba(177,140,240,.16), transparent 60%), var(--panel);
  border: 1px solid var(--gold); border-radius: 20px; padding: 1.5rem 1.8rem;
  box-shadow: 0 0 50px rgba(231,200,115,.1);
}
.promo__btn {
  flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; cursor: pointer;
  border: none; background: var(--grad); color: #1a1030; font-size: 1.5rem;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(231,200,115,.3);
  transition: transform .2s; padding-left: 4px;
}
.promo__btn:hover { transform: scale(1.07); }
.promo__btn.playing { padding-left: 0; }
.promo__body { flex: 1; min-width: 0; }
.promo__eyebrow { color: var(--gold); font-size: .8rem; letter-spacing: .04em; margin-bottom: .2rem; }
.promo__title { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.15; margin-bottom: .4rem; }
.promo__hint { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.promo__bar { height: 4px; background: rgba(255,255,255,.08); border-radius: 4px; margin-top: .9rem; overflow: hidden; }
.promo__bar span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .25s linear; }
@media (max-width: 600px) {
  .promo__card { gap: 1rem; padding: 1.2rem; }
  .promo__btn { flex-basis: 54px; width: 54px; height: 54px; font-size: 1.3rem; }
  .promo__title { font-size: 1.2rem; }
  .promo__hint { font-size: .88rem; }
}

/* Адаптив */
@media (max-width: 820px) {
  .grid-3 { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .legend { flex-basis: 78vw; }
  .legends__arrow { display: none; }
  .prec-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  /* Навигация: компактнее, прячем второстепенное (B2B — в футере) */
  .nav__inner { padding: .8rem 0; }
  .brand { font-size: 1.3rem; letter-spacing: .08em; }
  .nav__right { gap: .5rem; }
  .nav__right .btn--sm { padding: .55em .9em; font-size: .82rem; }
  .nav__right a[href="/business"] { display: none; }
  .nav__cta-full { display: none; }      /* на телефоне — короткая подпись «Получить код» */
  .nav__cta-short { display: inline; }

  /* Hero компактнее */
  .hero { padding: 3rem 0 2.5rem; }
  .hero__moon { font-size: 2.8rem; }
  .hero__sub { font-size: 1rem; margin: 1.2rem auto 1.8rem; }
  .hero__cta { font-size: 1rem; }
  .hero__trust { gap: .8rem 1.2rem; margin-top: 1.8rem; font-size: .82rem; }

  /* Секции — меньше вертикальных отступов */
  .how, .compat-sec, .reviews, .free, .relations-sec, .benefits { padding: 2.8rem 0; }
  .tariffs { padding: 2rem 0 3rem; }
  .order { padding: 2.5rem 0 4rem; }
  .legends, .precision { padding: 3.5rem 0; }
  .section-title { margin-bottom: 1.8rem; }

  /* Карточки и формы: одна колонка, меньше паддинги */
  .card { padding: 1.6rem; }
  .form { padding: 1.5rem 1.3rem; }
  .form__row--2 { grid-template-columns: 1fr; }

  /* Модалки компактнее */
  .modal { padding: .6rem; }
  .modal__box { padding: 1.7rem 1.3rem; }
  .modal h3 { font-size: 1.4rem; }

  /* Совместимость по знакам: поля на всю ширину */
  .sign-select { min-width: 0; width: 100%; }
  .compat-form { gap: .7rem; }
  .compat-form label { width: 100%; }
  .compat-amp { display: none; }

  /* Аспекты — в одну колонку */
  .asp-list { columns: 1; }

  /* QR чуть меньше */
  .pay__qr img { width: 190px; height: 190px; }

  /* Якоря под липким меню */
  section[id] { scroll-margin-top: 70px; }

  /* Результат/карта */
  .result__name { font-size: 1.8rem; }
  .reading-sec { padding: 1.2rem 1.2rem; }
  .legend { flex-basis: 82vw; padding: 26px 20px 22px; }
}

@media (max-width: 380px) {
  .nav__right a[href="/my"] { display: none; }  /* на узких — только главный CTA */
  .hero__title { font-size: 2.1rem; }
}

/* ---- SEO-страницы (знаки, совместимость) ---- */
.seo-main { max-width: 760px; padding: 2rem 0 4rem; }
.seo-crumb { font-size: .82rem; color: #8a82a6; margin-bottom: 1rem; }
.seo-crumb a { color: #b18cf0; text-decoration: none; }
.seo-h1 { font-family: var(--serif, Georgia, serif); font-size: 2.1rem; color: #fff; margin: 0 0 1rem; line-height: 1.2; }
.seo-lead { font-size: 1.05rem; color: #c7bce8; line-height: 1.6; margin: 0 0 1.6rem; }
.seo-article { color: #ddd6ee; line-height: 1.7; font-size: 1.02rem; }
.seo-article h2 { font-family: var(--serif, Georgia, serif); font-size: 1.5rem; color: #e7c873; margin: 1.8rem 0 .7rem; }
.seo-article p { margin: 0 0 1rem; }
.seo-article ul { margin: 0 0 1rem; padding-left: 1.3rem; }
.seo-article li { margin: .35rem 0; }
.seo-article b { color: #fff; }
.seo-cta { background: linear-gradient(180deg,#221a42,#15102b); border: 1px solid rgba(231,200,115,.35);
  border-radius: 18px; padding: 1.6rem 1.4rem; text-align: center; margin: 1.8rem 0; }
.seo-cta h3 { font-family: var(--serif, Georgia, serif); font-size: 1.35rem; color: #fff; margin: 0 0 .6rem; }
.seo-cta p { color: #c7bce8; font-size: .96rem; line-height: 1.55; margin: 0 0 1.1rem; }
.seo-related { margin-top: 2.2rem; }
.seo-related h2 { font-size: 1.3rem; color: #fff; font-family: var(--serif, Georgia, serif); margin-bottom: .8rem; }
.seo-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.seo-chip { display: inline-block; padding: .5em .9em; border-radius: 999px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14); color: #ece9f6; text-decoration: none; font-size: .9rem; }
.seo-chip:hover { border-color: rgba(231,200,115,.5); }
.seo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .8rem; margin: 1.5rem 0; }
.seo-card { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: 1.1rem .6rem;
  border-radius: 16px; background: linear-gradient(180deg,#1c1538,#15102b); border: 1px solid rgba(231,200,115,.2);
  color: #ece9f6; text-decoration: none; text-align: center; transition: border-color .15s, transform .15s; }
.seo-card:hover { border-color: rgba(231,200,115,.5); transform: translateY(-2px); }
.seo-card__sym { font-size: 1.8rem; color: #e7c873; }
.seo-card small { color: #8a82a6; font-size: .72rem; }

/* ---- Гороскоп-страницы + блок на главной ---- */
.seo-horo-date { color: #e7c873; font-size: .9rem; font-weight: 600; margin: 0 0 .8rem; }
.seo-horo-text { font-size: 1.05rem; line-height: 1.7; color: #ddd6ee; }
.seo-horo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .8rem; margin: 1.5rem 0; }
.seo-horo-card { display: flex; flex-direction: column; gap: .25rem; padding: 1rem 1.1rem; border-radius: 16px;
  background: linear-gradient(180deg,#1c1538,#15102b); border: 1px solid rgba(231,200,115,.2);
  color: #ece9f6; text-decoration: none; transition: border-color .15s, transform .15s; }
.seo-horo-card:hover { border-color: rgba(231,200,115,.5); transform: translateY(-2px); }
.seo-horo-card .seo-card__sym { font-size: 1.6rem; color: #e7c873; }
.seo-horo-card small { color: #8a82a6; font-size: .78rem; line-height: 1.4; }
/* Блок «Гороскоп на сегодня» на главной */
.home-horo { padding: 2.5rem 0 1rem; }
.home-horo__chips { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; margin-top: 1rem; }
.home-horo__chip { display: inline-flex; align-items: center; gap: .35em; padding: .55em 1em; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(231,200,115,.25); color: #ece9f6;
  text-decoration: none; font-size: .92rem; transition: border-color .15s, background .15s; }
.home-horo__chip:hover { border-color: rgba(231,200,115,.6); background: rgba(231,200,115,.08); }
.home-horo__chip .s { color: #e7c873; font-size: 1.05rem; }

/* SEO-ссылки в тексте — золото/фиолет, не синий */
.seo-morelink, .seo-article a { color: #e7c873; text-decoration: none; border-bottom: 1px solid rgba(231,200,115,.4); }
.seo-morelink:hover, .seo-article a:hover { color: #f3e0a6; }

/* Плеер озвучки гороскопа */
.horo-audio { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 1.1rem 0 1.6rem;
  padding: 1rem 1.2rem; border-radius: 16px; background: linear-gradient(180deg,#241b46,#15102b);
  border: 1px solid rgba(231,200,115,.35); }
.horo-audio__btn { padding: .7em 1.35em; border-radius: 999px; border: none; cursor: pointer; font-size: 1rem;
  font-weight: 700; color: #1a1030; background: linear-gradient(90deg,#e7c873,#e8a6c4,#b18cf0);
  box-shadow: 0 8px 22px rgba(231,200,115,.25); }
.horo-audio__btn:disabled { opacity: .7; cursor: default; }
.horo-audio__hint { color: #c7bce8; font-size: .86rem; }

/* Родной аудио-плеер (с перемоткой) — появляется после старта озвучки */
.horo-audio__el { display: none; }
.horo-audio__el.on { display: block; width: 100%; flex-basis: 100%; margin-top: .2rem; border-radius: 999px; }

/* FAQ-страница */
.faq-list .faq-item { border-bottom: 1px solid rgba(255,255,255,.08); padding: 1rem 0; }
.faq-list .faq-item h2 { font-size: 1.15rem; color: #fff; margin: 0 0 .4rem; }
.faq-list .faq-item p { margin: 0; color: #c7bce8; }
.seo-article ul li { margin: .35rem 0; }

/* Скриншоты в документации */
.seo-article .doc-fig { margin: 1.3rem 0; }
.seo-article .doc-fig img { width: 100%; height: auto; display: block; border-radius: 14px;
  border: 1px solid rgba(231,200,115,.25); box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.seo-article .doc-fig figcaption { color: #8a82a6; font-size: .84rem; margin-top: .5rem; text-align: center; }

/* ============ A/B: пошаговая форма (визард) ============ */
.wizard { max-width: 440px; margin: 0 auto; background: linear-gradient(180deg,#1b1438,#14102a);
  border: 1px solid rgba(231,200,115,.22); border-radius: 22px; padding: 1.6rem 1.5rem 1.8rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.wiz__head { margin-bottom: 1.4rem; }
.wiz__bar { display: flex; align-items: center; gap: 6px; }
.wiz__dot { flex: 1; height: 4px; border-radius: 999px; background: rgba(255,255,255,.12); transition: background .3s; }
.wiz__dot.is-active { background: linear-gradient(90deg,#e7c873,#b18cf0); }
.wiz__count { text-align: center; font-size: .8rem; color: #8a82a6; margin-top: .55rem; }
.wiz__step { display: none; animation: wizfade .35s ease; }
.wiz__step.is-active { display: block; }
@keyframes wizfade { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.wiz__h { font-family: var(--serif, Georgia, serif); font-size: 1.5rem; color: #fff; margin: 0 0 .5rem; line-height: 1.25; }
.wiz__p { color: #c2b8e0; font-size: .95rem; line-height: 1.5; margin: 0 0 1.3rem; }
.wiz__label { display: block; color: #ece9f6; font-size: .9rem; font-weight: 600; margin-bottom: 1.1rem; }
.wiz__label .datepick, .wiz__label .timepick { margin-top: .5rem; }
.wiz__label input[type=text], .wiz__label input[type=email] { width: 100%; margin-top: .5rem;
  padding: .85em 1em; border-radius: 12px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.15); color: #fff; font-size: 1rem; box-sizing: border-box; }
.wiz__label input::placeholder { color: #6b6488; }
.wizard .wiz__next, .wizard .wiz__submit { width: 100%; padding: .95em 1.2em; font-size: 1.02rem; border-radius: 999px; margin-top: .4rem; }
.wiz__note { text-align: center; color: #8a82a6; font-size: .8rem; margin: .7rem 0 0; }
.wiz__legal { text-align: center; color: #6b6488; font-size: .72rem; margin: .8rem 0 0; }
.wiz__legal a { color: inherit; text-decoration: underline; }
.wiz__nav { display: flex; align-items: center; gap: .8rem; margin-top: .4rem; }
.wiz__nav .wiz__back { flex: 0 0 auto; background: none; border: none; color: #b18cf0; font-size: .92rem; cursor: pointer; padding: .8em .4em; }
.wiz__nav .wiz__next, .wiz__nav .wiz__submit { flex: 1; margin-top: 0; }
.wiz__gender { display: flex; gap: .6rem; margin-top: .5rem; }
.wiz__gender .gbtn { flex: 1; position: relative; cursor: pointer; }
.wiz__gender .gbtn input { position: absolute; opacity: 0; }
.wiz__gender .gbtn span { display: block; text-align: center; padding: .8em; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.15); color: #c2b8e0; font-weight: 600; transition: .15s; }
.wiz__gender .gbtn input:checked + span { background: rgba(177,140,240,.22); border-color: #b18cf0; color: #fff; }
.wiz__check { width: 64px; height: 64px; margin: 0 auto 1.1rem; border-radius: 50%;
  background: linear-gradient(135deg,#b18cf0,#e8a6c4); display: grid; place-items: center;
  font-size: 1.9rem; color: #fff; box-shadow: 0 10px 30px rgba(177,140,240,.4); }
.wiz__step[data-step="5"] { text-align: center; }
.wiz__list { list-style: none; padding: 0; margin: 1.2rem 0 0; text-align: left; display: inline-block; }
.wiz__list li { color: #c2b8e0; padding: .4rem 0 .4rem 1.8rem; position: relative; }
.wiz__list li::before { content: "✦"; position: absolute; left: 0; color: #e7c873; }
/* мобильная адаптация (iPhone/Android) */
@media (max-width: 480px) {
  .wizard { padding: 1.3rem 1.1rem 1.5rem; border-radius: 18px; }
  .wiz__h { font-size: 1.3rem; }
  .wiz__p { font-size: .9rem; }
  .wizard .datepick select, .wizard .timepick select { font-size: 16px; }  /* iOS не зумит при 16px+ */
}
.wiz__hot { font-size: .88rem; color: #f3b6cf; background: rgba(232,166,196,.1);
  border: 1px solid rgba(232,166,196,.3); border-radius: 12px; padding: .6em .8em; margin: 0 0 1rem; }
.wiz__hot b { color: #fff; }

/* ===== Визард: полноэкранный «как приложение» режим на мобильном ===== */
.wiz__close { display: none; position: absolute; top: .9rem; right: 1rem; width: 34px; height: 34px;
  border-radius: 50%; border: none; background: rgba(255,255,255,.1); color: #c2b8e0;
  font-size: 1rem; cursor: pointer; z-index: 2; align-items: center; justify-content: center; }
body.wiz-lock { overflow: hidden; }
@media (max-width: 640px) {
  .wizard.wiz--app { position: fixed; inset: 0; z-index: 9999; max-width: none; margin: 0;
    border-radius: 0; border: none; box-shadow: none;
    background: linear-gradient(180deg,#1b1438,#0e0a1f);
    display: flex; flex-direction: column; overflow: hidden;
    padding: max(1rem, env(safe-area-inset-top)) 1.2rem calc(1.1rem + env(safe-area-inset-bottom)); }
  .wizard.wiz--app .wiz__close { display: flex; }
  .wizard.wiz--app .wiz__head { margin: 1.6rem 0 1rem; flex: 0 0 auto; }
  /* активный шаг занимает всё место: контент по центру, кнопки прижаты к низу */
  .wizard.wiz--app .wiz__step.is-active { flex: 1 1 auto; display: flex; flex-direction: column;
    overflow-y: auto; }
  .wizard.wiz--app .wiz__h { font-size: 1.35rem; margin-bottom: .45rem; }
  .wizard.wiz--app .wiz__p { font-size: .88rem; margin-bottom: 1rem; }
  .wizard.wiz--app .wiz__label { margin-bottom: .9rem; }
  .wizard.wiz--app .wiz__hot { font-size: .82rem; padding: .55em .75em; margin-bottom: .8rem; }
  /* кнопки шага — к низу экрана, всегда видны */
  .wizard.wiz--app .wiz__next, .wizard.wiz--app .wiz__nav { margin-top: auto; }
  .wizard.wiz--app .wiz__note, .wizard.wiz--app .wiz__legal { margin-top: .55rem; }
  /* шаги 1-3 редкие — центрируем контент */
  .wizard.wiz--app .wiz__step[data-step="1"].is-active,
  .wizard.wiz--app .wiz__step[data-step="2"].is-active,
  .wizard.wiz--app .wiz__step[data-step="3"].is-active,
  .wizard.wiz--app .wiz__step[data-step="5"].is-active { justify-content: center; }
  .wizard.wiz--app .wiz__step[data-step="1"].is-active .wiz__next { margin-top: 1.2rem; }
}

.wiz__consent { display: flex; gap: .5rem; align-items: flex-start; margin: .3rem 0 .2rem;
  font-size: .82rem; color: #c2b8e0; cursor: pointer; line-height: 1.4; text-align: left; }
.wiz__consent input { margin-top: .15rem; flex: 0 0 auto; width: 18px; height: 18px; accent-color: #b18cf0; }
.wiz__consent a { color: #b18cf0; }

/* ===== Paywall (демо) ===== */
.paywall { max-width: 480px; margin: 1.5rem auto; padding: 1.8rem 1.5rem; text-align: center;
  background: linear-gradient(180deg,#221a44,#15102b); border: 1.5px solid rgba(231,200,115,.45);
  border-radius: 22px; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.paywall__badge { font-size: 2.2rem; margin-bottom: .3rem; }
.paywall__title { font-family: var(--serif, Georgia, serif); font-size: 1.55rem; color: #fff; margin: 0 0 .5rem; }
.paywall__sub { color: #c7bce8; font-size: .95rem; line-height: 1.5; margin: 0 0 1.1rem; }
.paywall__price { font-size: 1.1rem; color: #e7c873; margin-bottom: 1rem; }
.paywall__price b { font-size: 2.1rem; }
.paywall__price span { color: #8a82a6; font-size: .85rem; }
.paywall__old { color: #8a82a6; font-size: 1.15rem; text-decoration: line-through; opacity: .7; margin-right: .35em; }
.paywall__off { display: inline-block; background: linear-gradient(180deg,#f3e0a6,#e0b85a); color: #15102b;
  font-weight: 700; font-size: .8rem; padding: .15em .6em; border-radius: 999px; margin-left: .4em; vertical-align: middle; }
.paywall__list { list-style: none; padding: 0; margin: 0 0 1rem; text-align: left; }
.paywall__list li { color: #ddd6ee; font-size: .9rem; padding: .35rem 0; line-height: 1.4; }
.paywall__compare { color: #c7bce8; font-size: .88rem; font-style: italic; margin: 0 0 1.1rem; }
.paywall__compare b { color: #fff; font-style: normal; }
.paywall__qr { width: 150px; height: 150px; border-radius: 14px; background: #fff; margin: 0 auto .9rem; display: block; }
.paywall__email { width: 100%; box-sizing: border-box; padding: .85em 1em; margin-bottom: .7rem; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: 16px; }
.paywall__pay { width: 100%; padding: 1em; font-size: 1.05rem; border-radius: 999px; }
.paywall__err { color: #f3b6cf; font-size: .85rem; margin: .5rem 0 0; }
.paywall__note { color: #8a82a6; font-size: .76rem; margin: .6rem 0 0; }
#paywall-modal { position: fixed; inset: 0; background: rgba(8,6,18,.85); z-index: 999; overflow: auto;
  display: grid; place-items: start center; padding: 2rem 1rem; }
.paywall__hot { background: rgba(231,120,90,.12); border: 1px solid rgba(231,120,90,.32);
  border-radius: 12px; padding: .7rem .9rem; font-size: .85rem; color: #f0c9b8; margin: 0 0 1rem; line-height: 1.45; }
.paywall__hot a { color: inherit; text-decoration: underline; }
.paywall-modal__x { position: fixed; top: 1rem; right: 1rem; z-index: 1000; width: 40px; height: 40px;
  border-radius: 50%; border: none; background: rgba(255,255,255,.14); color: #fff; font-size: 1.15rem;
  cursor: pointer; line-height: 1; display: grid; place-items: center; }
.paywall-modal__x:hover { background: rgba(255,255,255,.24); }
.paywall-modal .paywall { margin: 0 auto; }

/* Маска даты рождения для гостей (безопасность: по дате можно войти в систему) */
.born-masked { letter-spacing: 2px; opacity: .85; }
.born-masked__note { display: block; font-size: .72rem; opacity: .55; margin-top: .15rem; }

/* Личный кабинет */
.acct { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 1.1rem 1.2rem; margin-bottom: 1.3rem; }
.acct__row { display: flex; justify-content: space-between; align-items: center; gap: .8rem;
  padding: .45rem 0; flex-wrap: wrap; }
.acct__label { color: #8a82a6; font-size: .82rem; }
.acct__val { color: #fff; font-weight: 600; word-break: break-all; }
.acct__plan { font-size: .72rem; padding: .2em .7em; border-radius: 999px;
  background: linear-gradient(90deg,#f3e0a6,#e0b85a); color: #15102b; font-weight: 700; }
.acct form { margin-top: .6rem; }
.acct input { width: 100%; box-sizing: border-box; padding: .7em .9em; border-radius: 10px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color: #fff; font-size: 16px; }
.acct .btn { margin-top: .55rem; }
.acct__hint { font-size: .76rem; color: #8a82a6; margin: .4rem 0 0; }

/* Аудит-фикс: на телефоне инпуты ≥16px — иначе iOS зумит при фокусе (трение на формах) */
@media (max-width: 640px) {
  input, select, textarea { font-size: 16px !important; }
  .modal__close, .gate-modal__x, .paywall-modal__x { min-width: 44px; min-height: 44px; }
}
