/* ═══════════════════════════════════════════════════════════════
   Salamandra — главная (новая, A+B комбо)
   ═══════════════════════════════════════════════════════════════ */

/* ── Sky strip (Сегодня в небе) ──────────────────────────────── */
.sky-strip {
  background: linear-gradient(90deg, #1a1d2e 0%, #2a2f4a 100%);
  color: #e8e9f0;
  font-size: 19px;          /* +50% к прежним 13px */
  line-height: 1.2;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sky-strip__inner {
  max-width: var(--container-width); /* 880px — выровнено с карточками */
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
/* Окно бегущей строки: режет переполнение + мягкие fade-края.
   display:flex + align-items:center центрируют трек по высоте (без инлайн-leading,
   из-за которого текст уезжал вверх). */
.sky-strip__viewport {
  flex: 1 1 auto;
  min-width: 0;            /* иначе flex не даст сжать и overflow не сработает */
  overflow: hidden;
  display: flex;
  align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.sky-strip__track {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  will-change: transform;
  contain: layout style paint;   /* изолируем перерисовку постоянной анимации */
  /* Скорость от числа фраз → постоянный темп чтения (~5с на фразу) */
  animation: sky-marquee calc(var(--sky-count, 11) * 5s) linear infinite;
}
.sky-strip:hover .sky-strip__track { animation-play-state: paused; }
.sky-strip__item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.sky-strip__sep { color: rgba(168,179,212,0.45); }

@keyframes sky-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* Доступность: без анимации — статичный прокручиваемый ряд (дубль трека прячем,
   иначе пользователь reduced-motion увидит контент дважды) */
@media (prefers-reduced-motion: reduce) {
  .sky-strip__track { animation: none; }
  .sky-strip__viewport { overflow-x: auto; }
  .sky-strip__dup { display: none; }
}

/* Печать: бегущая строка на бумаге бессмысленна */
@media print {
  .sky-strip { display: none; }
}

@media (max-width: 600px) {
  .sky-strip { font-size: 17px; padding: 6px 0; }  /* +50% к прежним ~12px */
  .sky-strip__inner { gap: 10px; padding: 0 12px; }
  /* медленнее — узкий экран, фразы читаются дольше */
  .sky-strip__track { animation-duration: calc(var(--sky-count, 11) * 7s); }
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero--v2 {
  text-align: center;
  padding: 56px 16px 40px;
  max-width: 760px;
  margin: 0 auto;
}
.hero--v2 .hero__title {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.15;
  margin: 0 0 20px;
  font-weight: 700;
}
.hero--v2 .hero__subtitle {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.55;
  color: #555;
  margin: 0 auto 28px;
  max-width: 580px;
}
.hero--v2 .hero__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Видео-обзор для незалогиненных ─────────────────────────── */
.hero-video {
  max-width: 640px;
  margin: 34px auto 0;
}
.hero-video__label {
  font-size: 14px;
  color: #777;
  margin: 0 0 10px;
}
.hero-video__player {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: 14px;
  background: #000;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
}
@media (max-width: 640px) {
  .hero-video { margin-top: 24px; }
  .hero-video__player { border-radius: 10px; }
}

/* ── Your day (большой нарратив, первая закладка) ───────────── */
.your-day-section {
  margin: 32px 0 32px;
}
.your-day__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.your-day__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: #1f2937;
}
.your-day__date {
  font-size: 14px;
  color: #6b7280;
}
.your-day__card {
  padding: 22px 24px;
  border-radius: 14px;
  min-height: 180px;
  background: #ffffff;
  border: 2px solid #374151;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.your-day__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 8px;
  color: #6b7280;
  font-size: 14px;
}
.your-day__spinner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid #e5e7eb;
  border-top-color: #6366f1;
  animation: yd-spin 0.9s linear infinite;
  margin-bottom: 12px;
}
@keyframes yd-spin { to { transform: rotate(360deg); } }
.your-day__text p {
  margin: 0 0 14px 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: #1f2937;
}
.your-day__text p:last-child { margin-bottom: 0; }
.your-day__empty,
.your-day__error {
  color: #6b7280;
  font-size: 14px;
  padding: 16px 0;
  text-align: center;
}
.your-day__empty a { color: #4f46e5; }

/* ── Плашки (premium + free) ── */
.your-day__plate {
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 2px solid #374151;
}
.your-day__plate--premium {
  background: linear-gradient(180deg, #fefce8 0%, #ffffff 100%);
  border-color: #f59e0b;
}
.your-day__plate--free {
  border-color: #94a3b8;
}
.your-day__plate-summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  user-select: none;
}
.your-day__plate-summary::-webkit-details-marker { display: none; }
.your-day__plate-title {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
}
.your-day__plate-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.your-day__plate-badge--premium {
  background: #fef3c7;
  color: #b45309;
}
.your-day__plate-badge--free {
  background: #e2e8f0;
  color: #475569;
}
.your-day__plate-body {
  padding: 4px 22px 22px;
  border-top: 1px dashed #cbd5e1;
}
.your-day__plate--premium .your-day__plate-body {
  border-top-color: #fbbf24;
}

@media (max-width: 640px) {
  .your-day__plate-summary { padding: 14px 16px; }
  .your-day__plate-body { padding: 4px 16px 18px; }
  .your-day__plate-title { font-size: 15px; }
}


/* ── Teaser-preview (внутри премиум-плашки для free) ── */
.your-day__teaser {
  background: linear-gradient(180deg, #fefce8 0%, #ffffff 100%);
  border: 2px solid #fbbf24;
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
}
.your-day__teaser-summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  user-select: none;
}
.your-day__teaser-summary::-webkit-details-marker { display: none; }
.your-day__teaser-title {
  font-size: 17px;
  font-weight: 700;
  color: #1f2937;
}
.your-day__teaser-lock {
  font-size: 13px;
  color: #b45309;
  font-weight: 600;
  background: #fef3c7;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.your-day__teaser[open] .your-day__teaser-lock::after { content: ''; }
.your-day__teaser-body {
  padding: 4px 22px 22px;
  border-top: 1px dashed #fbbf24;
}
.your-day__teaser-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #374151;
  margin: 14px 0 16px;
}
.your-day__teaser-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #92400e;
  margin-bottom: 10px;
}
.your-day__teaser-preview {
  background: #ffffff;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 16px;
}
.your-day__teaser-preview p {
  margin: 0 0 12px 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: #1f2937;
}
.your-day__teaser-preview p:last-child { margin-bottom: 0; }
.your-day__teaser-cta {
  display: inline-block;
  background: #f59e0b;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s;
}
.your-day__teaser-cta:hover { background: #d97706; }

@media (max-width: 640px) {
  .your-day__card { padding: 18px 16px; }
  .your-day__title { font-size: 19px; }
  .your-day__text p { font-size: 15px; line-height: 1.6; }
  .your-day__teaser-summary { padding: 14px 16px; }
  .your-day__teaser-body { padding: 4px 16px 18px; }
  .your-day__teaser-title { font-size: 16px; }
  .your-day__teaser-preview { padding: 14px; }
  .your-day__teaser-preview p { font-size: 14px; }
}

/* ── Today personal (для залогиненных) ──────────────────────── */
.today-section {
  margin: 32px 0 48px;
}
.today-section__title {
  font-size: 20px;
  margin: 0 0 16px;
  font-weight: 600;
  color: #333;
}
.today-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.today-card {
  display: block;
  background: #fafbff;
  border: 1px solid #e6e9f5;
  border-radius: 12px;
  padding: 18px;
  text-decoration: none;
  color: inherit;
  transition: all 0.15s;
}
.today-card:hover {
  border-color: #aeb8e0;
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(86,93,140,0.08);
}
.today-card__emoji { font-size: 26px; margin-bottom: 8px; }
.today-card__title { font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.today-card__desc { font-size: 13px; color: #666; line-height: 1.45; margin: 0; }

@media (max-width: 720px) {
  .today-grid { grid-template-columns: 1fr; }
}

/* ── Главные карточки (3 шт) ──────────────────────────────────── */
.main-section {
  margin: 24px 0 48px;
}
.main-section__title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 22px;
  text-align: center;
}
.main-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* неполный последний ряд — по центру (5 шт → 3 + 2) */
  gap: 20px;
}
/* Единственная CTA гостя — по центру под карточками */
.main-section__cta { text-align: center; margin-top: 28px; }
.main-section__cta .btn--lg {
  font-size: 17px;
  padding: 14px 32px;
  border-radius: 12px;
}
.main-card {
  flex: 0 0 calc((100% - 40px) / 3);   /* ровно 3 в ряд (2 промежутка по 20px) */
  box-sizing: border-box;
  aspect-ratio: 1 / 1;                  /* квадрат (растёт, если контент выше) */
  display: flex;
  flex-direction: column;
  justify-content: center;             /* контент по центру квадрата */
  background: #fff;
  border: 2px solid #eee;
  border-radius: 16px;
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}
.main-card:hover {
  border-color: #6b7bc7;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(107,123,199,0.15);
}
.main-card--assistant:hover { border-color: #5b8def; }
.main-card--natal:hover { border-color: #d4a02a; }
.main-card--horary:hover { border-color: #a06bc7; }
.main-card--synastry:hover { border-color: #e06b9e; }
.main-card--solar:hover { border-color: #f59e0b; }
.main-card--pwa:hover { border-color: #7c6cf0; }

.main-card__emoji { font-size: 36px; margin-bottom: 12px; }
.main-card__title { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.main-card__desc {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin: 0 0 16px;
  flex-grow: 1;
}
.main-card__cta {
  font-weight: 600;
  font-size: 14px;
  color: #5b8def;
}
.main-card--natal .main-card__cta { color: #c08820; }
.main-card--horary .main-card__cta { color: #8856a8; }
.main-card--synastry .main-card__cta { color: #d6699a; }
.main-card--solar .main-card__cta { color: #d97706; }
.main-card--pwa .main-card__cta { color: #6c5ce0; }

/* Кликабельная карточка-триггер (открывает модалку с видео) */
.feat-trigger { cursor: pointer; }
.feat-trigger__cta { color: #5b8def; }
.feat-trigger:hover .feat-trigger__cta { text-decoration: underline; }

/* ── Модалка «Подробнее» (видео + описание) ──────────────────── */
.feat-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.feat-modal[hidden] { display: none; }
.feat-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 17, 30, 0.7);
  backdrop-filter: blur(2px);
}
.feat-modal__box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}
.feat-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: none;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: #555;
  cursor: pointer;
}
.feat-modal__close:hover { background: rgba(0, 0, 0, 0.12); }
.feat-modal__title { font-size: 20px; font-weight: 700; margin: 0 36px 14px 0; }
.feat-modal__video {
  display: block;
  margin: 0 auto;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 72vh;            /* вертикальное видео — ограничиваем по высоте */
  aspect-ratio: 430 / 932;
  border-radius: 12px;
  background: #000;
  border: 1px solid #e5e7eb;
}
/* Контейнер плеера — обнимает видео (для абсолютного позиционирования меню качества) */
.feat-modal__player { position: relative; width: fit-content; max-width: 100%; margin: 0 auto; }
/* Ручной выбор качества — заметная кнопка в правом верхнем углу видео */
.feat-vq { position: absolute; top: 10px; right: 10px; z-index: 4; }
.feat-vq__btn {
  font: 700 13px/1 inherit; color: #fff; background: rgba(17, 24, 39, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px;
  padding: 9px 14px; cursor: pointer; white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); backdrop-filter: blur(4px);
}
.feat-vq__btn:hover { background: rgba(99, 102, 241, 0.95); }
.feat-vq__menu {
  position: absolute; top: calc(100% + 6px); right: 0; margin: 0; padding: 5px;
  list-style: none; background: rgba(17, 24, 39, 0.96); border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45); min-width: 150px;
}
.feat-vq__opt {
  display: block; width: 100%; text-align: left; font: 500 14px/1 inherit; color: #e5e7eb;
  background: none; border: none; border-radius: 7px; padding: 10px 12px; cursor: pointer;
}
.feat-vq__opt:hover { background: rgba(255, 255, 255, 0.12); }
.feat-vq__opt[aria-checked="true"] { color: #fff; font-weight: 700; background: rgba(99, 102, 241, 0.55); }
.feat-vq__opt[aria-checked="true"]::after { content: " ✓"; }
/* Оверлей полной загрузки выбранного качества */
.feat-vq-buffer {
  position: absolute; inset: 0; z-index: 3; display: flex;
  flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: rgba(10, 12, 20, 0.72); border-radius: 12px; color: #fff; padding: 24px;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.feat-vq-buffer[hidden] { display: none; }
.feat-vq-buffer__spin {
  width: 38px; height: 38px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.25); border-top-color: #fff;
  animation: feat-vq-spin 0.8s linear infinite;
}
@keyframes feat-vq-spin { to { transform: rotate(360deg); } }
.feat-vq-buffer__txt { font-size: 14px; font-weight: 600; text-align: center; }
.feat-vq-buffer__bar { width: 70%; max-width: 220px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.feat-vq-buffer__bar i { display: block; height: 100%; width: 0; background: #818cf8; transition: width 0.2s ease; }
.feat-modal__text { margin: 14px 0; color: #374151; line-height: 1.55; font-size: 15px; }
.feat-modal__text p { margin: 0 0 8px; }
.feat-modal__cta { display: inline-flex; }

@media (max-width: 900px) {
  .main-card { flex-basis: calc((100% - 20px) / 2); }   /* 2 в ряд на планшете */
}
@media (max-width: 560px) {
  .main-cards { gap: 14px; }
  /* узкий телефон: 1 в ряд, компактно (квадрат во всю ширину был бы огромным) */
  .main-card { flex-basis: 100%; aspect-ratio: auto; padding: 20px; }
}

/* ── Второстепенные ссылки ─────────────────────────────────────── */
.secondary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: center;
  padding: 16px 0;
  margin: 8px 0 32px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.secondary-links a {
  text-decoration: none;
  color: #666;
  font-size: 14px;
  transition: color 0.15s;
}
.secondary-links a:hover { color: #5b8def; }

/* ── Цены ─────────────────────────────────────────────────────── */
.pricing {
  margin: 56px 0 48px;
}
.pricing__title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 22px;
  text-align: center;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
.price-card {
  background: #fff;
  border: 2px solid #eee;
  border-radius: 14px;
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card--premium {
  border-color: #5b8def;
  box-shadow: 0 4px 16px rgba(91,141,239,0.12);
}
.price-card__badge {
  position: absolute;
  top: -10px; left: 50%; transform: translateX(-50%);
  background: #5b8def;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 10px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.price-card__head { margin-bottom: 16px; }
.price-card__name {
  font-size: 14px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.price-card__amount {
  font-size: 28px;
  font-weight: 700;
  color: #222;
}
.price-card--premium .price-card__amount { color: #5b8def; }
.price-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex-grow: 1;
}
.price-card__features li {
  font-size: 14px;
  line-height: 1.5;
  padding: 6px 0 6px 22px;
  position: relative;
  color: #444;
  border-bottom: 1px dashed #eee;
}
.price-card__features li:last-child { border-bottom: none; }
.price-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #5b8def;
  font-weight: 700;
}
.price-card__btn {
  display: block;
  text-align: center;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-decoration: none;
  color: #444;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.15s;
}
.price-card__btn:hover { border-color: #999; background: #fafafa; }
.price-card__btn--primary {
  background: #5b8def; color: #fff; border-color: #5b8def;
}
.price-card__btn--primary:hover {
  background: #4a7ada; border-color: #4a7ada;
}
.pricing__note {
  font-size: 13px;
  color: #777;
  text-align: center;
  margin: 24px auto 0;
  max-width: 720px;
  line-height: 1.55;
}

@media (max-width: 800px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
}

/* ── Философия ───────────────────────────────────────────────── */
.philosophy {
  background: #fafbfc;
  border-radius: 16px;
  padding: 36px 32px;
  margin: 56px 0 48px;
}
.philosophy__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 18px;
  text-align: center;
}
.philosophy__body {
  max-width: 680px;
  margin: 0 auto 22px;
  font-size: 15.5px;
  line-height: 1.65;
  color: #374151;
}
.philosophy__body p { margin: 0 0 14px; }
.philosophy__body p:last-child { margin-bottom: 0; }
.philosophy__coda {
  margin-top: 22px !important;
  padding-top: 18px;
  border-top: 1px dashed #d1d5db;
  font-size: 16px;
  font-weight: 500;
  color: #1f2937;
  text-align: center;
  line-height: 1.7;
}
.philosophy__more {
  display: block;
  text-align: center;
  color: #5b8def;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.philosophy__more:hover { text-decoration: underline; }

@media (max-width: 600px) {
  /* Hero — тише сверху, крупнее текст */
  .hero--v2 { padding: 28px 12px 20px; }
  .hero--v2 .hero__title { font-size: clamp(26px, 7vw, 34px); margin-bottom: 14px; }
  .hero--v2 .hero__subtitle { font-size: 16px; line-height: 1.5; margin-bottom: 22px; }
  .hero--v2 .hero__cta { gap: 10px; }
  .hero--v2 .hero__cta .btn { font-size: 16px; padding: 12px 18px; }

  /* Section title — поменьше отступы сверху, текст 22px */
  .main-section, .pricing { margin: 32px 0 28px; }
  .main-section__title, .pricing__title { font-size: 22px; margin-bottom: 14px; }

  /* Today-блок — увеличиваем тексты и лидеры */
  .today-section { margin: 24px 0 32px; }
  .today-section__title { font-size: 18px; }
  .today-card { padding: 16px; }
  .today-card__emoji { font-size: 28px; }
  .today-card__title { font-size: 16px; }
  .today-card__desc { font-size: 14px; }

  /* Главные карточки — чуть компактнее, крупнее текст */
  .main-card { padding: 22px 18px; min-height: auto; }
  .main-card__emoji { font-size: 34px; }
  .main-card__title { font-size: 19px; }
  .main-card__desc { font-size: 15.5px; line-height: 1.55; }
  .main-card__cta { font-size: 15px; }

  /* Вторичные ссылки — теснее в один-два ряда */
  .secondary-links { padding: 14px 0; gap: 10px 18px; }
  .secondary-links a { font-size: 14.5px; }

  /* Цены */
  .price-card { padding: 22px 20px; }
  .price-card__amount { font-size: 26px; }
  .price-card__features li { font-size: 15px; padding: 7px 0 7px 22px; }
  .price-card__btn { font-size: 15px; padding: 13px 16px; }
  .pricing__note { font-size: 13.5px; padding: 0 4px; }

  /* Философия */
  .philosophy { padding: 24px 18px; margin: 32px 0; }
  .philosophy__title { font-size: 20px; margin-bottom: 14px; }
  .philosophy__body { font-size: 15.5px; line-height: 1.6; }
  .philosophy__body p { margin-bottom: 12px; }
  .philosophy__coda { font-size: 15.5px; padding-top: 14px; margin-top: 18px !important; }

  /* Sky-strip — компактнее */
  .sky-strip { font-size: 12.5px; padding: 7px 0; }
  .sky-strip__inner { gap: 10px; padding: 0 12px; }
}

/* В Android-app (data-app="1") применяем мобильные правила вне зависимости
   от ширины — на случай, если планшет в landscape, чтобы UI оставался
   мобильно-плотным (а не desktop-разреженным). */
body[data-app="1"] .hero--v2 { padding: 28px 12px 20px; }
body[data-app="1"] .hero--v2 .hero__subtitle { font-size: 16px; }
body[data-app="1"] .main-section,
body[data-app="1"] .pricing,
body[data-app="1"] .philosophy { margin: 32px 0 28px; }
/* PWA-приложение: карточки строго по одной в ряд, компактно (внизу столбиком) */
body[data-app="1"] .main-card { flex-basis: 100%; aspect-ratio: auto; padding: 20px; }
body[data-app="1"] .pricing-grid { grid-template-columns: 1fr; max-width: 100%; }

/* ── 2026-05-29 «Краткий обзор дня» — расширения (см. day_polish.py) ── */

/* Headline — заголовок-якорь дня */
.day-headline {
  margin: 4px 0 14px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(127,90,240,0.10), rgba(255,193,7,0.06));
  border-left: 3px solid #7f5af0;
  border-radius: 10px;
}
.day-headline__main {
  display: flex; align-items: baseline; gap: 10px;
  font-weight: 600;
}
.day-headline__emoji { font-size: 1.5rem; line-height: 1; }
.day-headline__title { font-size: 1.15rem; color: #1a1a2e; }
.day-headline__sub {
  margin-top: 4px; font-size: 0.85rem; opacity: 0.75;
}

/* Основной текст обзора — обёртка */
.day-text { margin: 0 0 10px; }
.day-text p { margin: 0 0 0.8em; line-height: 1.55; }

/* Personal — персональные привязки */
.day-personal {
  margin: 14px 0;
  padding: 12px 14px;
  background: rgba(255,193,7,0.08);
  border-left: 3px solid #ffc107;
  border-radius: 8px;
}
.day-personal__lbl {
  font-weight: 600; margin-bottom: 6px; font-size: 0.92rem;
}
.day-personal__list {
  margin: 0; padding-left: 18px;
  font-size: 0.92rem; line-height: 1.5;
}
.day-personal__list li { margin: 3px 0; }

/* Practical — делай / не делай / окна */
.day-practical {
  margin: 14px 0;
  padding: 12px 14px;
  background: rgba(34,197,94,0.06);
  border: 1px solid rgba(34,197,94,0.20);
  border-radius: 8px;
  font-size: 0.92rem; line-height: 1.5;
}
.day-practical__row { margin-bottom: 5px; }
.day-practical__row:last-child { margin-bottom: 0; }
.day-practical__lbl { font-weight: 600; }
.day-practical__row--do .day-practical__lbl { color: #15803d; }
.day-practical__row--avoid .day-practical__lbl { color: #b91c1c; }
.day-practical__windows {
  margin-top: 8px; padding-top: 8px;
  border-top: 1px dashed rgba(34,197,94,0.30);
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  font-size: 0.88rem;
}
.day-practical__win--good { color: #15803d; }
.day-practical__win--bad  { color: #b45309; }

/* CTA — кнопки внизу */
.day-cta {
  margin: 16px 0 4px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.day-cta__btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: #f3f4f6; color: #1a1a2e;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.88rem; font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.day-cta__btn:hover { background: #e5e7eb; }
.day-cta__btn:active { transform: scale(0.97); }
.day-cta__btn--primary {
  background: #7f5af0; color: #fff; border-color: #7f5af0;
}
.day-cta__btn--primary:hover { background: #6d4cd9; }
.day-cta__icon { font-size: 1rem; }

/* Mobile-tweak: на узких экранах CTA-кнопки полной ширины */
@media (max-width: 600px) {
  .day-cta { flex-direction: column; }
  .day-cta__btn { justify-content: center; }
}

/* Каталог хорар-вопросов в обзоре дня (обучающий блок) */
.day-horary-cat {
  margin: 16px 0 4px;
  padding: 0;
  background: rgba(139, 92, 246, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.20);
  border-radius: 10px;
}
.day-horary-cat__summary {
  cursor: pointer;
  padding: 11px 16px;
  font-weight: 600; font-size: 0.95rem; color: #5b21b6;
  list-style: none;
}
.day-horary-cat__summary::-webkit-details-marker { display: none; }
.day-horary-cat__summary::after {
  content: '▼';
  float: right; font-size: 0.7rem; opacity: 0.5;
  transition: transform 0.2s;
}
.day-horary-cat[open] .day-horary-cat__summary::after { transform: rotate(180deg); }
.day-horary-cat__summary:hover { background: rgba(139, 92, 246, 0.08); }
.day-horary-cat__body {
  padding: 4px 16px 14px;
  border-top: 1px dashed rgba(139, 92, 246, 0.20);
}
.day-horary-cat__hint {
  margin: 10px 0 14px; font-size: 0.85rem; color: #6b7280; font-style: italic;
}
.day-horary-cat__cat { margin-bottom: 14px; }
.day-horary-cat__cat:last-child { margin-bottom: 0; }
.day-horary-cat__cat-title {
  margin: 0 0 6px; font-size: 0.92rem; font-weight: 600; color: #1a1a2e;
}
.day-horary-cat__list {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 3px;
}
.day-horary-cat__list a {
  display: block; padding: 6px 10px;
  color: #4c1d95; text-decoration: none;
  font-size: 0.9rem; line-height: 1.4;
  border-radius: 6px;
  transition: background 0.12s, color 0.12s;
}
.day-horary-cat__list a:hover {
  background: rgba(139, 92, 246, 0.12);
  color: #5b21b6;
}
.day-horary-cat__list a:active {
  background: rgba(139, 92, 246, 0.20);
}

/* Плоский список ситуационных вопросов сверху (без подзаголовков) */
.day-horary-cat__list--flat {
  margin: 0 0 14px;
  padding: 10px 12px;
  background: rgba(254, 243, 199, 0.55);
  border-left: 3px solid #fbbf24;
  border-radius: 6px;
}
.day-horary-cat__list--flat a {
  color: #78350f;
}
.day-horary-cat__list--flat a:hover {
  background: rgba(251, 191, 36, 0.18);
  color: #78350f;
}

/* Тематическая категория — раскрываемая <details> внутри каталога */
.day-horary-cat__topic {
  margin: 0 0 4px;
  border-radius: 6px;
}
.day-horary-cat__topic[open] {
  background: rgba(139, 92, 246, 0.04);
  margin-bottom: 8px;
}
.day-horary-cat__topic-summary {
  cursor: pointer;
  padding: 7px 12px;
  font-size: 0.93rem; font-weight: 600; color: #1a1a2e;
  list-style: none;
  border-radius: 6px;
  transition: background 0.12s;
}
.day-horary-cat__topic-summary::-webkit-details-marker { display: none; }
.day-horary-cat__topic-summary::after {
  content: '▾';
  float: right; font-size: 0.75rem; opacity: 0.45;
  transition: transform 0.2s;
}
.day-horary-cat__topic[open] .day-horary-cat__topic-summary::after {
  transform: rotate(180deg);
}
.day-horary-cat__topic-summary:hover {
  background: rgba(139, 92, 246, 0.07);
}
.day-horary-cat__topic .day-horary-cat__list {
  padding: 4px 12px 10px;
}
