/* Onboarding Modal Styles - Институт Прикладной Метафизики */
.meta-onboard-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 20, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.meta-onboard-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.meta-onboard-card {
  width: 100%;
  max-width: 440px;
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 110, 0.35);
  box-shadow: 0 20px 50px -10px rgba(38, 12, 20, 0.35), 0 0 25px rgba(212, 175, 110, 0.2);
  padding: 26px 22px 22px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #141214;
}

.meta-onboard-backdrop.is-open .meta-onboard-card {
  transform: translateY(0) scale(1);
}

.meta-onboard-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(20, 18, 20, 0.12);
  background: #FAF8F5;
  color: #5C5857;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
  padding: 0;
}

.meta-onboard-close:hover {
  background: #EBE6DC;
  color: #141214;
}

.meta-onboard-header {
  text-align: center;
  margin-bottom: 20px;
}

.meta-onboard-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(212, 175, 110, 0.15);
  border: 1px solid rgba(212, 175, 110, 0.4);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8C6A2E;
  margin-bottom: 10px;
}

.meta-onboard-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 21px;
  font-weight: 700;
  color: #141214;
  line-height: 1.25;
  margin: 0 0 6px;
}

.meta-onboard-subtitle {
  font-size: 12.5px;
  color: #5C5857;
  line-height: 1.45;
  margin: 0;
}

.meta-onboard-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.meta-onboard-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
}

.meta-onboard-label {
  font-size: 12px;
  font-weight: 600;
  color: #141214;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.meta-onboard-opt {
  font-size: 11px;
  font-weight: 400;
  color: #8C8786;
}

.meta-onboard-input-wrap {
  position: relative;
}

.meta-onboard-input {
  width: 100%;
  height: 44px;
  padding: 0 12px 0 38px;
  border-radius: 12px;
  border: 1px solid rgba(20, 18, 20, 0.16);
  background: #FAF8F5;
  font-size: 13.5px;
  font-family: inherit;
  color: #141214;
  box-sizing: border-box;
  transition: all 0.2s ease;
  outline: none;
}

.meta-onboard-input:focus {
  background: #FFFFFF;
  border-color: #1A8754;
  box-shadow: 0 0 0 3px rgba(26, 135, 84, 0.15);
}

.meta-onboard-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: #8C8786;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.meta-tg-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 38px;
  background: #EBF7FE;
  border: 1px solid rgba(42, 171, 238, 0.35);
  border-radius: 10px;
  color: #0E7CB8;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  margin-top: 4px;
}

.meta-tg-contact-btn:hover {
  background: #D8F0FD;
  border-color: #2AABEE;
}

.meta-onboard-btn-submit {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #22A96B 0%, #1A8754 100%);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 22px -4px rgba(26, 135, 84, 0.45);
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  margin-top: 6px;
}

.meta-onboard-btn-submit:hover {
  box-shadow: 0 12px 26px -4px rgba(26, 135, 84, 0.55);
}

.meta-onboard-btn-submit:active {
  transform: scale(0.98);
}

.meta-onboard-btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.meta-onboard-legal {
  font-size: 10.5px;
  color: #8C8786;
  text-align: center;
  line-height: 1.4;
  margin-top: 10px;
}

.meta-onboard-legal a {
  color: #5C5857;
  text-decoration: underline;
}

/* Spinner */
.meta-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: meta-spin 0.7s linear infinite;
  display: inline-block;
}

@keyframes meta-spin {
  to { transform: rotate(360deg); }
}

/* Quiz Multi-step Styles */
.meta-onboard-progress {
  width: 100%;
  height: 4px;
  background: rgba(20, 18, 20, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 16px;
}

.meta-onboard-progress-bar {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, #D4AF37, #1A8754);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.meta-onboard-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.meta-quiz-back-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 11.5px;
  font-weight: 600;
  color: #8C6A2E;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.meta-quiz-back-btn:hover {
  text-decoration: underline;
}

.meta-quiz-step-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8C8786;
}

.meta-quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.meta-quiz-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
  background: #FAF8F5;
  border: 1.5px solid rgba(20, 18, 20, 0.1);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  transition: all 0.16s ease;
  font-size: 13px;
  line-height: 1.45;
  color: #141214;
  font-weight: 500;
  user-select: none;
}

.meta-quiz-option:hover {
  border-color: #1A8754;
  background: #F4FAF6;
}

.meta-quiz-option:active,
.meta-quiz-option.is-selected {
  border-color: #1A8754;
  background: #E8F7EE;
  box-shadow: 0 4px 12px rgba(26, 135, 84, 0.14);
}

.meta-quiz-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(20, 18, 20, 0.25);
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.meta-quiz-option:hover .meta-quiz-radio {
  border-color: #1A8754;
}

.meta-quiz-option.is-selected .meta-quiz-radio {
  border-color: #1A8754;
  background: #1A8754;
}

.meta-quiz-radio::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFFFFF;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.meta-quiz-option.is-selected .meta-quiz-radio::after {
  opacity: 1;
}

/* Bonus banner on final step */
.meta-bonus-banner {
  background: linear-gradient(135deg, #FAF8F5 0%, #E8F7EE 100%);
  border: 1.5px solid rgba(26, 135, 84, 0.3);
  border-radius: 14px;
  padding: 12px 14px;
  text-align: center;
  margin-bottom: 12px;
}

.meta-bonus-banner-title {
  font-size: 15px;
  font-weight: 800;
  color: #1A8754;
  margin-bottom: 2px;
}

.meta-bonus-banner-sub {
  font-size: 11.5px;
  color: #5C5857;
  line-height: 1.4;
}

/* Bonus & Celebration Modal Styles */
.meta-bonus-modal-backdrop,
.meta-celebrate-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 20, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.meta-bonus-modal-backdrop.is-open,
.meta-celebrate-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.meta-bonus-modal-card,
.meta-celebrate-card {
  width: 100%;
  max-width: 420px;
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 110, 0.4);
  box-shadow: 0 20px 50px -10px rgba(38, 12, 20, 0.35), 0 0 25px rgba(212, 175, 110, 0.2);
  padding: 24px 20px 20px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  text-align: center;
  color: #141214;
}

.meta-bonus-modal-backdrop.is-open .meta-bonus-modal-card,
.meta-celebrate-backdrop.is-open .meta-celebrate-card {
  transform: translateY(0) scale(1);
}

/* Кнопка мгновенной разблокировки дня за бонусы */
.day-unlock-bonus-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, rgba(212, 175, 110, 0.18) 0%, rgba(34, 169, 107, 0.14) 100%);
  border: 1px solid rgba(212, 175, 110, 0.55);
  color: #1A8754;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.day-unlock-bonus-btn:active {
  transform: scale(0.96);
  background: rgba(34, 169, 107, 0.22);
}

/* Блок объяснения персонализации */
.meta-personalize-box {
  background: linear-gradient(135deg, rgba(212, 175, 110, 0.14) 0%, rgba(34, 169, 107, 0.10) 100%);
  border: 1.5px solid rgba(212, 175, 110, 0.38);
  border-radius: 12px;
  padding: 9px 12px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
}

.meta-personalize-box-icon {
  font-size: 15px;
  line-height: 1.2;
}

.meta-personalize-box-text {
  font-size: 11.5px;
  color: #332B29;
  line-height: 1.45;
}

.meta-personalize-box-text strong {
  color: #8C6A2E;
}

/* ========================================================
   АСТРОЛОГИЧЕСКИЙ ФОН: СОЗВЕЗДИЯ И НАТАЛЬНЫЕ ОРБИТЫ
   ======================================================== */
body, body.astral-theme {
  background-color: #F7F4EE !important;
  background-image: 
    radial-gradient(circle 500px at 50% 0%, rgba(212, 175, 110, 0.12), transparent 75%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220' fill='none'%3E%3C!-- Кольца натальной карты и аспекты --%3E%3Ccircle cx='110' cy='110' r='68' stroke='%23D4AF6E' stroke-width='0.75' stroke-dasharray='4 4' stroke-opacity='0.08'/%3E%3Ccircle cx='110' cy='110' r='36' stroke='%23D4AF6E' stroke-width='0.6' stroke-opacity='0.07'/%3E%3Ccircle cx='110' cy='110' r='94' stroke='%23D4AF6E' stroke-width='0.5' stroke-opacity='0.05'/%3E%3Cpath d='M110 42 L110 178 M42 110 L178 110' stroke='%23D4AF6E' stroke-width='0.5' stroke-opacity='0.06'/%3E%3Cpath d='M62 62 L158 158 M62 158 L158 62' stroke='%23D4AF6E' stroke-width='0.4' stroke-dasharray='2 3' stroke-opacity='0.05'/%3E%3C!-- 8-конечные золотые звезды --%3E%3Cpath d='M110 14 L112 24 L122 26 L112 28 L110 38 L108 28 L98 26 L108 24 Z' fill='%23D4AF6E' fill-opacity='0.08'/%3E%3Cpath d='M195 130 L196 136 L202 137 L196 138 L195 144 L194 138 L188 137 L194 136 Z' fill='%23D4AF6E' fill-opacity='0.07'/%3E%3Cpath d='M28 178 L29 183 L34 184 L29 185 L28 190 L27 185 L22 184 L27 183 Z' fill='%23D4AF6E' fill-opacity='0.07'/%3E%3C!-- Созвездия и связующие линии --%3E%3Ccircle cx='30' cy='44' r='1.6' fill='%23D4AF6E' fill-opacity='0.09'/%3E%3Ccircle cx='56' cy='28' r='1.3' fill='%23D4AF6E' fill-opacity='0.08'/%3E%3Ccircle cx='76' cy='52' r='1.5' fill='%23D4AF6E' fill-opacity='0.09'/%3E%3Cline x1='30' y1='44' x2='56' y2='28' stroke='%23D4AF6E' stroke-width='0.5' stroke-opacity='0.07'/%3E%3Cline x1='56' y1='28' x2='76' y2='52' stroke='%23D4AF6E' stroke-width='0.5' stroke-opacity='0.07'/%3E%3Ccircle cx='170' cy='36' r='1.2' fill='%23D4AF6E' fill-opacity='0.08'/%3E%3Ccircle cx='194' cy='50' r='1.4' fill='%23D4AF6E' fill-opacity='0.08'/%3E%3Cline x1='170' y1='36' x2='194' y2='50' stroke='%23D4AF6E' stroke-width='0.5' stroke-opacity='0.06'/%3E%3Ccircle cx='180' cy='186' r='1.4' fill='%23D4AF6E' fill-opacity='0.08'/%3E%3Ccircle cx='202' cy='172' r='1.2' fill='%23D4AF6E' fill-opacity='0.07'/%3E%3Cline x1='180' y1='186' x2='202' y2='172' stroke='%23D4AF6E' stroke-width='0.5' stroke-opacity='0.06'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat, repeat !important;
  background-position: top center, top left !important;
}

.astral-bg-svg {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
}

/* ========================================================
   АККОРДЕОН ПРОГРАММЫ (ГЛАВНАЯ И КАБИНЕТ)
   ======================================================== */
.program-card,
.day-item-card {
  transition: all 0.25s ease;
  overflow: hidden;
}

.program-header,
.day-card-header {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.program-header > div:first-child,
.day-card-header > div:first-child {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.program-header > div:last-child,
.day-card-header > div:last-child {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-available {
  background: rgba(34, 169, 107, 0.12) !important;
  color: #1A8754 !important;
  border: 1px solid rgba(34, 169, 107, 0.35) !important;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2.5px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.badge-locked {
  background: rgba(212, 175, 110, 0.15) !important;
  color: #9C7A41 !important;
  border: 1px solid rgba(212, 175, 110, 0.35) !important;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2.5px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.badge-paid {
  background: rgba(212, 175, 110, 0.22) !important;
  color: #260C14 !important;
  border: 1px solid #D4AF6E !important;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2.5px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.counter-badge {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  display: inline-block;
}

.accordion-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(212, 175, 110, 0.14);
  color: #8C6A2E;
  font-size: 10px;
  font-weight: 700;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
  flex-shrink: 0;
}

.program-card.active .accordion-chevron,
.day-item-card.active .accordion-chevron {
  transform: rotate(180deg);
  background: rgba(26, 135, 84, 0.16);
  color: #1A8754;
}

/* Свернутое состояние тела дня по умолчанию */
.program-body,
.day-card-body {
  display: none;
  animation: fadeInAccordion 0.25s ease;
}

.program-card.active .program-body,
.day-item-card.active .day-card-body {
  display: block;
}

@keyframes fadeInAccordion {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================================
   ПЛАШКА «ВСЕ 4 ДНЯ ЗА 3 000 ₽» В КАБИНЕТЕ (СВЕТЛЫЙ СТИЛЬ)
   ======================================================== */
.all-days-banner {
  background: #FFFFFF;
  border: 1.5px solid rgba(212, 175, 110, 0.45);
  box-shadow: 0 6px 20px -4px rgba(212, 175, 110, 0.18), 0 2px 8px rgba(20, 18, 20, 0.04);
  border-radius: 16px;
  padding: 16px 14px;
  margin-bottom: 20px;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.all-days-banner:active {
  transform: scale(0.99);
}

.all-days-banner-badge-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 2px;
}

.all-days-banner-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: rgba(212, 175, 110, 0.16);
  border: 1px solid rgba(212, 175, 110, 0.45);
  color: #8C6A2E;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
}

.all-days-banner-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 15px;
  font-weight: 800;
  color: #260C14;
  line-height: 1.35;
  display: block;
  padding-right: 0 !important;
}

.all-days-banner-sub {
  font-size: 12px;
  color: #5C5857;
  line-height: 1.45;
}

.all-days-banner-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #22A96B 0%, #1A8754 100%);
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 12.5px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 14px rgba(26, 135, 84, 0.3);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
  line-height: 1.3;
  text-align: center;
}

@media (max-width: 375px) {
  .all-days-banner-btn {
    font-size: 11.5px;
    padding: 8px 6px;
  }
}

.all-days-banner-btn:active {
  transform: scale(0.98);
  opacity: 0.95;
}

/* ========================================================
   ПОПАП ОПЛАТЫ И ДОСТУПА К ДНЮ (1 000 ₽ / 1 000 БОНУСОВ)
   ======================================================== */
.meta-pay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 20, 0.76);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.meta-pay-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.meta-pay-card {
  width: 100%;
  max-width: 440px;
  background: #FFFFFF;
  border-radius: 20px;
  border: 1.5px solid rgba(212, 175, 110, 0.45);
  box-shadow: 0 20px 50px -10px rgba(38, 12, 20, 0.35), 0 0 25px rgba(212, 175, 110, 0.2);
  padding: 24px 20px 20px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  text-align: center;
  color: #141214;
}

.meta-pay-backdrop.is-open .meta-pay-card {
  transform: translateY(0) scale(1);
}

.meta-pay-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 19px;
  font-weight: 800;
  color: #141214;
  margin: 6px 0 4px;
}

.meta-pay-sub {
  font-size: 12px;
  color: #5C5857;
  line-height: 1.45;
  margin-bottom: 16px;
}

.meta-pay-options-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.meta-pay-option-card {
  background: #FAF8F5;
  border: 1.5px solid rgba(20, 18, 20, 0.10);
  border-radius: 14px;
  padding: 14px;
  text-align: left;
  transition: all 0.15s ease;
  position: relative;
}

.meta-pay-option-card.highlight {
  border-color: #1A8754;
  background: rgba(34, 169, 107, 0.05);
}

.meta-pay-option-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.meta-pay-option-title {
  font-size: 14px;
  font-weight: 700;
  color: #141214;
}

.meta-pay-option-price {
  font-size: 15px;
  font-weight: 800;
  color: #1A8754;
}

.meta-pay-option-desc {
  font-size: 11.5px;
  color: #5C5857;
  line-height: 1.4;
  margin-bottom: 10px;
}

/* ========================================================
   МОДАЛЬНОЕ ОКНО АНКЕТЫ ПРЕДЗАПИСИ (4 ВОПРОСА)
   ======================================================== */
.meta-quest-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 20, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.meta-quest-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.meta-quest-card {
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: #FFFFFF;
  border-radius: 20px;
  border: 1.5px solid rgba(212, 175, 110, 0.45);
  box-shadow: 0 20px 50px -10px rgba(38, 12, 20, 0.35), 0 0 25px rgba(212, 175, 110, 0.2);
  padding: 26px 20px 22px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  text-align: left;
  color: #141214;
}

.meta-quest-backdrop.is-open .meta-quest-card {
  transform: translateY(0) scale(1);
}

.meta-quest-textarea {
  width: 100%;
  min-height: 84px;
  background: #FAF8F5;
  border: 1px solid rgba(20, 18, 20, 0.14);
  border-radius: 12px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13px;
  color: #141214;
  line-height: 1.45;
  resize: vertical;
  box-sizing: border-box;
  transition: border-color 0.15s, background-color 0.15s;
}

.meta-quest-textarea:focus {
  outline: none;
  border-color: #1A8754;
  background: #FFFFFF;
}

.meta-radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meta-radio-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #FAF8F5;
  border: 1px solid rgba(20, 18, 20, 0.10);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12.5px;
  color: #141214;
  line-height: 1.4;
  cursor: pointer;
  transition: all 0.15s ease;
}

.meta-radio-label:hover {
  background: #F4F1EA;
}

.meta-radio-label input[type="radio"] {
  margin-top: 2px;
  accent-color: #1A8754;
  flex-shrink: 0;
}

/* ========================================================
   МОДАЛЬНОЕ ОКНО ПРОСМОТРА ЭФИРА / ЗАПИСИ (KINESCOPE / GETCOURSE)
   ======================================================== */
.btn-video-player {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  background: #FFFFFF;
  border: 1.5px solid #1A8754;
  border-radius: 12px;
  color: #1A8754;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 2px 8px rgba(26, 135, 84, 0.12);
}

.btn-video-player:active {
  transform: scale(0.98);
  background: rgba(34, 169, 107, 0.08);
}

.meta-video-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 20, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.meta-video-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.meta-video-modal-card {
  width: 100%;
  max-width: 500px;
  background: #FFFFFF;
  border: 1.5px solid rgba(212, 175, 110, 0.5);
  border-radius: 20px;
  padding: 18px 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.meta-video-modal-backdrop.is-open .meta-video-modal-card {
  transform: translateY(0) scale(1);
}

.meta-video-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-right: 28px;
}

.meta-video-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 15px;
  font-weight: 800;
  color: #260C14;
  line-height: 1.3;
}

.meta-video-player-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #0D0A0B;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.meta-video-player-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.meta-video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  background: linear-gradient(135deg, #1F0D15 0%, #0E0509 100%);
  color: #F7F4EE;
  gap: 10px;
}

.meta-video-placeholder-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(34, 169, 107, 0.2);
  border: 1.5px solid #22A96B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #22A96B;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.meta-video-placeholder-icon:hover {
  transform: scale(1.08);
}

.meta-video-actions-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn-video-action-mini {
  flex: 1;
  height: 36px;
  background: #FAF8F5;
  border: 1px solid rgba(20, 18, 20, 0.12);
  border-radius: 10px;
  color: #5C5857;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-video-action-mini:hover {
  background: #F0EDE6;
  color: #141214;
  border-color: #D4AF6E;
}

/* ========================================================
   МОДАЛЬНЫЕ ЗАГЛУШКИ ДЛЯ ПРЯМОГО ЭФИРА И ЗАПИСИ
   ======================================================== */
.meta-wait-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 20, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.meta-wait-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.meta-wait-modal-card {
  width: 100%;
  max-width: 440px;
  background: #FFFFFF;
  border-radius: 20px;
  border: 1.5px solid rgba(212, 175, 110, 0.45);
  box-shadow: 0 20px 50px -10px rgba(38, 12, 20, 0.35), 0 0 25px rgba(212, 175, 110, 0.2);
  padding: 24px 20px 20px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  text-align: center;
  color: #141214;
}

.meta-wait-modal-backdrop.is-open .meta-wait-modal-card {
  transform: translateY(0) scale(1);
}

.meta-wait-icon-circle {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 110, 0.2) 0%, rgba(140, 106, 46, 0.12) 100%);
  border: 1.5px solid rgba(212, 175, 110, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 14px rgba(212, 175, 110, 0.2);
}

.meta-wait-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8C6A2E;
  background: rgba(212, 175, 110, 0.14);
  border: 1px solid rgba(212, 175, 110, 0.45);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.meta-wait-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 18px;
  font-weight: 800;
  color: #260C14;
  line-height: 1.3;
  margin-bottom: 6px;
}

.meta-wait-sub {
  font-size: 12.5px;
  color: #5C5857;
  line-height: 1.45;
  margin-bottom: 14px;
}

/* Сетка таймера обратного отсчета */
.meta-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.meta-countdown-box {
  background: #FAF7F2;
  border: 1px solid rgba(212, 175, 110, 0.35);
  border-radius: 12px;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.meta-countdown-num {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 20px;
  font-weight: 800;
  color: #260C14;
  line-height: 1.1;
}

.meta-countdown-label {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #8C6A2E;
  letter-spacing: 0.04em;
  margin-top: 3px;
}

/* Информационный блок с акцентом */
.meta-wait-info-card {
  background: #FAF8F5;
  border-left: 3.5px solid #1A8754;
  border-radius: 12px;
  padding: 12px 14px;
  text-align: left;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.meta-wait-info-text {
  font-size: 12px;
  color: #332B29;
  line-height: 1.5;
}

.meta-wait-info-text strong {
  color: #141214;
}

.meta-wait-tip {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11.5px;
  color: #5C5857;
  line-height: 1.4;
  text-align: left;
  background: rgba(212, 175, 110, 0.1);
  border: 1px dashed rgba(212, 175, 110, 0.4);
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 16px;
}

.meta-wait-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meta-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(20, 18, 20, 0.15);
  border-radius: 12px;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.meta-btn-secondary:hover {
  background: rgba(20, 18, 20, 0.04);
  color: var(--text-main);
}

.btn-tg-channel,
.btn-vk-chat {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  height: 46px !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(26, 135, 84, 0.3) !important;
  border-radius: 12px !important;
  color: #1A8754 !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  transition: background 0.15s, border-color 0.15s, transform 0.15s !important;
}
.btn-tg-channel:hover,
.btn-vk-chat:hover {
  background: #F0F9F4 !important;
  border-color: #1A8754 !important;
  color: #1A8754 !important;
}
.btn-tg-channel svg,
.btn-vk-chat svg {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
}
