/* ============================================================
   Мама-логопед · Система запуска речи
   Palette: brand green + purple + orange (из Figma макетов)
   ============================================================ */

:root {
  /* === Brand palette (extracted from Figma sertifikat + bilet v2) === */
  --color-bg: #F7FCFA;              /* нежно-мятный фон страниц */
  --color-bg-card: #FFFFFF;
  --color-primary: #007660;         /* основной зелёный (билет, CTA) */
  --color-primary-dark: #005544;
  --color-primary-darker: #003D30;
  --color-primary-soft: #E0F2EE;    /* мятный для подложек */
  --color-primary-mint: #E5F3F5;    /* мятный фон сертификата */
  --color-accent: #643275;          /* фиолетовый (плашка СЕРТИФИКАТ, лого) */
  --color-accent-dark: #4A2256;
  --color-accent-soft: #F1E8F5;
  --color-orange: #F3702B;          /* оранжевый стаб билета, акцент */
  --color-orange-soft: #FFECE7;
  --color-text: #2A3239;            /* тёмный текст */
  --color-text-muted: #6C7177;
  --color-white: #FFFFFF;
  /* Бывшая «золотая» гамма — теперь брендовый персиково-оранжевый (сочетается с оранжевым стабом билета) */
  --color-gold-from: #FFB07A;       /* мягкий персик */
  --color-gold-to: #FFD3A8;         /* светлый персик */
  --color-gold-border: #F3702B;     /* оранжевый бренда */
  --color-gold-soft: #FFECE7;       /* очень светлый персик */
  /* Чистый золотой — только для монетки/коина (она по смыслу должна быть жёлтой) */
  --color-coin-from: #FFD56B;
  --color-coin-to: #FFE9A6;
  --color-coin-border: #E8B440;
  --color-card-border: #C9E5DE;
  --color-danger: #E05252;
  --radius-btn: 35px;
  --radius-card: 16px;
  --radius-badge: 20px;
  --radius-input: 10px;
  --shadow-card: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-lift: 0 6px 24px rgba(0,0,0,0.10);
  --font-heading: 'Bebas Neue', 'Oswald', sans-serif;
  --font-display: 'Bebas Neue', 'Oswald', sans-serif;
  --font-sub: 'Oswald', 'Manrope', sans-serif;
  --font-body: 'Manrope', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html, body {
  width: 100%;
  height: 100%;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
  overflow: hidden;
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; letter-spacing: 0.5px; color: var(--color-text); }
h1 { font-size: 34px; }
h2 { font-size: 26px; }
h3 { font-size: 22px; }

button { font-family: var(--font-body); cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: var(--font-body); font-size: 15px; color: var(--color-text); }

/* ============ SCREENS ============ */
.screen {
  position: fixed; inset: 0;
  background: var(--color-bg);
  display: none;
  flex-direction: column;
  z-index: 1;
}
.screen.active { display: flex; }

.screen-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 80px;
}
.screen-scroll.has-countdown { padding-top: 0; }

.content-pad { padding: 16px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  font-weight: 500;
  font-size: 15px;
  transition: transform .15s, box-shadow .15s;
  text-align: center;
  line-height: 1.2;
  min-height: 48px;
}
.btn:active { transform: scale(0.97); }

.btn-gold {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  border: 1.5px solid var(--color-accent-dark);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(100,50,117,0.32);
  font-weight: 700;
}
.btn-gold:hover { box-shadow: 0 6px 20px rgba(100,50,117,0.42); }

.btn-teal {
  background: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 3px 10px rgba(34,176,137,0.25);
}
.btn-teal:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); }
.btn.btn-locked {
  background: #d8d8d8;
  border-color: #c8c8c8;
  color: #757575;
  box-shadow: none;
  cursor: pointer;
}
.btn.btn-locked:hover { background: #d0d0d0; border-color: #bcbcbc; }

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary-soft); }

.btn-block { width: 100%; display: flex; }

.btn-small {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-btn);
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn:disabled, .btn.disabled {
  background: #D9D9D9 !important;
  border-color: #D9D9D9 !important;
  color: #888 !important;
  box-shadow: none;
  cursor: not-allowed;
}

.btn-skip {
  display: inline-block;
  background: transparent;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary-dark);
  padding: 8px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  margin-top: 14px;
  text-decoration: none;
}
.btn-skip:hover { background: var(--color-primary-soft); }

.back-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-card-border);
  color: var(--color-text);
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.back-btn-light {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  color: var(--color-white);
}

.top-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-card-border);
  position: sticky; top: 0; z-index: 5;
}
.top-bar-plain { justify-content: space-between; }
.top-bar-title {
  flex: 1;
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 0.5px;
}

.coin-pill {
  background: linear-gradient(90deg, var(--color-gold-from), var(--color-gold-to));
  border: 1px solid var(--color-gold-border);
  color: #000;
  border-radius: var(--radius-badge);
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* ============ THANKS SCREEN ============ */
.thanks-wrap {
  padding: 8px 20px 24px;
  text-align: center;
}
.brand-logo {
  font-family: var(--font-heading);
  font-size: 30px;
  color: var(--color-primary-dark);
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.brand-logo span {
  color: var(--color-primary);
  font-size: 18px;
  letter-spacing: 1px;
}
.brand-logo-img {
  display: block;
  height: 30px;
  width: auto;
  margin: 0 auto 14px;
}
.expert-avatar {
  width: 130px !important;
  height: 130px !important;
  min-width: 130px;
  max-width: 130px;
  min-height: 130px;
  max-height: 130px;
  flex: 0 0 130px;
  border-radius: 50% !important;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px auto 16px;
  border: 5px solid var(--color-gold-from);
  box-shadow: 0 16px 40px rgba(0,98,96,0.35), 0 0 0 10px rgba(34,176,137,0.12);
  overflow: hidden !important;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}
.expert-avatar img {
  width: 115% !important;
  height: 115% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: 50% 12%;
  display: block;
  border-radius: 50%;
  position: absolute;
  top: -7%;
  left: -7%;
}

/* ============ HERO BANNER (course + expert) ============ */
.hero-banner {
  position: relative;
  background: linear-gradient(135deg, #007660 0%, #007660 100%);
  border-radius: 22px;
  padding: 22px 18px 18px;
  margin: 0 0 18px;
  overflow: hidden;
  min-height: 260px;
  box-shadow: 0 12px 32px rgba(0,98,96,0.28);
  color: var(--color-white);
}
.hb-decor {
  position: absolute; inset: 0;
  background-image: url('../img/pattern.png');
  background-size: 220px;
  opacity: 0.12;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hb-glow {
  position: absolute;
  width: 320px; height: 320px;
  bottom: -120px; left: -100px;
  background: radial-gradient(circle, rgba(241,193,101,0.45) 0%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.hb-content {
  position: relative;
  z-index: 2;
  max-width: 62%;
}
.hb-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  margin-bottom: 14px;
}
.hb-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 1px;
  margin: 0 0 4px;
  color: #FFFFFF;
}
.hb-sub {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--color-gold-to);
  margin-bottom: 16px;
}
.hb-expert {
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 8px 12px;
  display: inline-block;
  border-left: 3px solid var(--color-gold-from);
}
.hb-expert-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--color-gold-to);
  margin-bottom: 1px;
}
.hb-expert-name {
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 0.5px;
  color: #FFFFFF;
}
.hb-expert-tag {
  font-size: 11px;
  color: rgba(255,255,255,0.75);
  margin-top: 1px;
}
.hb-photo {
  position: absolute;
  right: -18px; bottom: 0;
  height: 100%;
  width: auto;
  max-width: 48%;
  object-fit: contain;
  object-position: bottom right;
  z-index: 1;
  filter: drop-shadow(-4px 6px 12px rgba(0,0,0,0.25));
}
@media (max-width: 360px) {
  .hb-title { font-size: 36px; }
  .hb-content { max-width: 60%; }
}

/* Speaker badge inside webinar player */
.wr-speaker-badge {
  position: absolute;
  bottom: 12px; left: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  z-index: 4;
}
.wr-speaker-badge img {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold-from);
}
.wsp-name {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #FFFFFF;
  line-height: 1;
}
.wsp-role {
  font-size: 9px;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
  letter-spacing: 0.5px;
}
.expert-caption {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 22px;
}
.expert-caption span { display: block; font-size: 11px; margin-top: 2px; }

.thanks-title {
  font-size: 34px;
  margin-bottom: 8px;
  line-height: 1.1;
}
.thanks-title span { color: var(--color-primary); }
.emoji-large { font-size: 30px; }
.thanks-sub {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  font-size: 14px;
}
.thanks-sub b { color: var(--color-text); font-weight: 600; }

.thanks-step {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-card-border);
  padding: 20px 18px;
  margin-bottom: 18px;
  text-align: left;
}
.step-badge {
  display: inline-block;
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-badge);
  margin-bottom: 8px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.thanks-step h3 { font-size: 22px; margin-bottom: 6px; }
.step-desc { font-size: 13px; color: var(--color-text-muted); }
.step-desc b { color: var(--color-primary); font-weight: 600; }

.messengers { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.msg-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--color-white);
  border: 2px solid var(--color-card-border);
  border-radius: var(--radius-card);
  transition: all .15s;
}
.msg-btn:hover { border-color: var(--color-primary); transform: translateY(-1px); }
.msg-btn.selected { border-color: var(--color-primary); background: var(--color-primary-soft); }
.msg-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
}
.msg-vk { background: #0077FF; }
.msg-tg { background: #2AABEE; }
.msg-max { background: #000; }
.msg-label { flex: 1; text-align: left; font-weight: 500; }
.msg-reward {
  background: linear-gradient(90deg, var(--color-gold-from), var(--color-gold-to));
  border: 1px solid var(--color-gold-border);
  color: #000;
  padding: 3px 10px;
  border-radius: var(--radius-badge);
  font-size: 12px;
  font-weight: 600;
}

.thanks-connecting, .thanks-success {
  display: none;
  padding: 20px;
  text-align: center;
  animation: fadeIn .3s;
}
.thanks-connecting.show, .thanks-success.show { display: block; }
.dots { display: inline-flex; gap: 6px; margin-bottom: 10px; }
.dots span {
  width: 10px; height: 10px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: bounce 1.2s infinite;
}
.dots span:nth-child(2) { animation-delay: .15s; }
.dots span:nth-child(3) { animation-delay: .3s; }
@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-8px); opacity: 1; }
}
.success-check {
  width: 72px; height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  animation: pop .4s;
}
.success-check img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(215,182,121,0.4));
}
@keyframes pop {
  0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); }
}

/* ============ ONBOARDING ============ */
.onb-wrap { padding: 24px 20px; }
.onb-progress {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 24px;
}
.onb-dot {
  width: 30px; height: 4px;
  border-radius: 2px;
  background: var(--color-card-border);
  transition: all .2s;
}
.onb-dot.active { background: var(--color-primary); width: 40px; }
.onb-dot.done { background: var(--color-primary-dark); }

.onb-body { text-align: center; }
.onb-question {
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 20px;
  padding: 0 10px;
}
.onb-options { display: flex; flex-direction: column; gap: 10px; }
.onb-opt {
  padding: 14px 18px;
  background: var(--color-white);
  border: 2px solid var(--color-card-border);
  border-radius: var(--radius-card);
  text-align: left;
  font-size: 15px;
  transition: all .15s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.onb-opt:hover { border-color: var(--color-primary); }
.onb-opt.selected { border-color: var(--color-primary); background: var(--color-primary-soft); }
.onb-opt-icon { font-size: 22px; }

.onb-reward {
  text-align: center;
  padding: 40px 20px;
}
.onb-reward-big {
  font-family: var(--font-heading);
  font-size: 48px;
  color: var(--color-primary);
  margin-bottom: 10px;
  animation: pop .5s;
}
.onb-reward p { color: var(--color-text-muted); }

/* ============ COUNTDOWN BAR ============ */
.countdown-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(90deg, #7A4490, #4A2256);
  color: var(--color-white);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  position: sticky; top: 0; z-index: 5;
  transition: background 0.3s;
}
.countdown-bar.cd-bar-rec {
  background: linear-gradient(90deg, #F6594F, #E55C18);
  animation: cdRecPulse 2.4s ease-in-out infinite;
}
.countdown-bar.cd-bar-replay {
  background: linear-gradient(90deg, #8B5099, #5A2867);
}
@keyframes cdRecPulse {
  0%, 100% { box-shadow: 0 2px 12px rgba(246,89,79,0.25); }
  50% { box-shadow: 0 4px 22px rgba(246,89,79,0.55); }
}
.cd-icon { font-size: 16px; }
.cd-time {
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: 1px;
}

/* ============ OVERVIEW HEADER ============ */
.ov-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-card-border);
}
.ov-header-left { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; padding-right: 6px; }
.ov-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ov-greeting { font-size: 14px; color: var(--color-text-muted); }
.ov-greeting b { color: var(--color-text); font-weight: 600; }
.ov-profile-line {
  font-size: 12px;
  color: var(--color-primary);
  font-weight: 500;
  margin-top: 2px;
}

.coins-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(90deg, var(--color-gold-from), var(--color-gold-to));
  border: 1.5px solid var(--color-gold-border);
  color: #000;
  border-radius: var(--radius-badge);
  padding: 6px 14px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(215,182,121,0.3);
}
.coin-icon { font-size: 16px; }

.coins-badge.flash { animation: coin-flash .6s; }
@keyframes coin-flash {
  0% { transform: scale(1); }
  40% { transform: scale(1.15); filter: brightness(1.2); }
  100% { transform: scale(1); }
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-white);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  padding: 10px 14px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--color-text-muted);
}
.social-proof b { color: var(--color-primary); font-weight: 600; }

.live-dot {
  width: 8px; height: 8px;
  background: #ff4444;
  border-radius: 50%;
  animation: livePulse 1.5s infinite;
  flex-shrink: 0;
  display: inline-block;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.section-title {
  font-family: var(--font-heading);
  font-size: 22px;
  margin: 20px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.section-title-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.1;
}
.section-title-icon .sti-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0,98,96,0.18));
}
.section-sub {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

/* ============ COIN INLINE ICON ============ */
.coin {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url('../img/coin.webp');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: -0.18em;
  flex-shrink: 0;
  font-style: normal;
}
.coin-lg { width: 1.3em; height: 1.3em; vertical-align: -0.25em; }
.coin-xl { width: 1.6em; height: 1.6em; vertical-align: -0.3em; }

/* ============ PROGRAM CARDS ============ */
.program-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  padding-left: 42px;
}
.program-cards::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 22px;
  bottom: 22px;
  border-left: 2.5px dashed #8B5099;
  opacity: 0.55;
  z-index: 0;
}
.program-card { position: relative; }
.program-card::before {
  content: attr(data-day);
  position: absolute;
  left: -42px;
  top: 8px;
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  border-radius: 50%;
  background: linear-gradient(135deg, #7A4490, #4A2256);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  border: 3px solid #FFFFFF;
  box-shadow: 0 4px 10px rgba(100,50,117,0.30), 0 0 0 0 rgba(139,80,153,0.45);
  z-index: 2;
  animation: pcDayPulse 2.2s ease-out infinite;
}
.program-day--active::before {
  background: linear-gradient(135deg, #8B5099, #5A2867);
  animation-duration: 1.8s;
}
.program-day--done::before {
  background: linear-gradient(135deg, #B8BBC2, #8893A2);
  color: #FFFFFF;
  font-size: 18px;
  animation: none;
  box-shadow: 0 4px 10px rgba(100,108,120,0.25);
}
@keyframes pcDayPulse {
  0% {
    box-shadow:
      0 4px 10px rgba(100,50,117,0.30),
      0 0 0 0 rgba(139,80,153,0.55);
  }
  70% {
    box-shadow:
      0 4px 10px rgba(100,50,117,0.30),
      0 0 0 14px rgba(139,80,153,0);
  }
  100% {
    box-shadow:
      0 4px 10px rgba(100,50,117,0.30),
      0 0 0 0 rgba(139,80,153,0);
  }
}
.program-card {
  background: var(--color-white);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: visible;
}
.pc-banner {
  background:
    linear-gradient(115deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 45%),
    linear-gradient(135deg, #7A4490 0%, #643275 50%, #4A2256 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  padding: 14px 16px;
  letter-spacing: 0.3px;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
  border-radius: calc(var(--radius-card) - 1px) calc(var(--radius-card) - 1px) 0 0;
}
.program-day--active .pc-banner {
  background:
    linear-gradient(115deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0) 45%),
    linear-gradient(135deg, #8B5099 0%, #6F3680 50%, #4A2256 100%);
}
.pc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
}
.pc-info { flex: 1; min-width: 0; }
.pc-date { font-size: 13px; color: var(--color-text); font-weight: 600; }
.pc-status {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-badge);
  white-space: nowrap;
}
.pc-status.soon { background: var(--color-primary-soft); color: var(--color-primary-dark); }
.pc-status.live { background: #ffe0e0; color: #c23; }
.pc-status.done { background: #e8e8e8; color: #666; }
.pc-status.locked { background: #f0f0f0; color: #aaa; }
.pc-chevron {
  color: var(--color-text-muted);
  transition: transform .2s;
  font-size: 14px;
}
.program-card.open .pc-chevron { transform: rotate(180deg); }

.pc-body {
  display: none;
  padding: 0 14px 14px;
  font-size: 13px;
  color: var(--color-text);
  border-top: 1px solid var(--color-card-border);
  padding-top: 12px;
}
.program-card.open .pc-body { display: block; }
.pc-body ul { padding-left: 18px; margin-top: 8px; }
.pc-body li { margin-bottom: 4px; color: var(--color-text-muted); }

/* ============ WARMUP CARDS ============ */
.warmup-cards { display: flex; flex-direction: column; gap: 10px; }
.wu-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--color-white);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform .15s;
}
.wu-card:not(.locked):hover { transform: translateY(-1px); }
.wu-card.locked { opacity: 0.55; cursor: not-allowed; }
.wu-card.done { background: var(--color-primary-soft); }
.wu-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.wu-card.locked .wu-icon { background: #ccc; }
.wu-card.done .wu-icon { background: var(--color-primary-dark); }
.wu-info { flex: 1; min-width: 0; }
.wu-title { font-weight: 600; font-size: 14px; }
.wu-sub { font-size: 12px; color: var(--color-text-muted); margin-top: 2px; }
.wu-reward {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary-dark);
  white-space: nowrap;
}
.wu-card.done .wu-reward { color: var(--color-primary-dark); }
.wu-card.done .wu-reward::after { content: ' ✓'; }

/* Spacing between balance card and slider sections on overview */
.balance-card + #ov-reviews-mount { display: block; margin-top: 18px; }
.ov-slider-section { margin-top: 18px; }

/* Channels + ask-question section */
.ov-channels-sub {
  font-size: 12px;
  color: var(--color-text-muted);
  margin: 4px 0 10px;
  line-height: 1.45;
}
.ov-channels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 4px;
}
.ov-ch-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: var(--color-bg);
  border: 1px solid var(--color-card-border);
  text-decoration: none;
  color: var(--color-text);
  transition: transform 0.15s, border-color 0.2s, box-shadow 0.2s;
}
.ov-ch-card:hover {
  transform: translateY(-1px);
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(0,98,96,0.10);
}
.ov-ch-ico {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.ov-ch-tg .ov-ch-ico { background: linear-gradient(135deg, #2aabee, #229ed9); }
.ov-ch-max .ov-ch-ico { background: linear-gradient(135deg, #1a1a1a, #0a0a0a); }
.ov-ch-text { flex: 1; min-width: 0; }
.ov-ch-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.1;
  color: var(--color-text);
}
.ov-ch-tag {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 2px;
}
.ov-ch-arr {
  color: var(--color-primary);
  font-size: 16px;
  flex-shrink: 0;
}
.ov-ask-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ov-ask-btn {
  text-decoration: none;
  text-align: center;
}

/* ============ BALANCE CARD ============ */
.balance-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 45%),
    linear-gradient(90deg, #F6594F 0%, #FA6F48 50%, #FE8441 100%);
  border: none;
  border-radius: var(--radius-card);
  margin-top: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.3),
    inset 0 -2px 6px rgba(180,40,30,0.18),
    0 6px 14px rgba(60,30,20,0.22),
    0 14px 28px rgba(60,30,20,0.18);
}
.bal-label { font-size: 12px; color: rgba(255,255,255,0.92); font-weight: 700; letter-spacing: 0.5px; text-shadow: 0 1px 2px rgba(180,40,30,0.35); }
.bal-amount { font-family: var(--font-heading); font-size: 26px; color: #FFFFFF; margin-top: 2px; text-shadow: 0 1px 2px rgba(180,40,30,0.35); }
.bal-amount span { font-family: var(--font-body); font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.88); text-shadow: 0 1px 2px rgba(180,40,30,0.25); }
.balance-card .btn-small { background: var(--color-white); border-color: #fff; color: #1A1228; font-weight: 700; }

/* ============ STREAK BANNER ============ */
.streak-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--color-white);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  margin-top: 14px;
  box-shadow: var(--shadow-card);
}
.streak-fire { font-size: 28px; }
.streak-title { font-size: 14px; font-weight: 500; }
.streak-title b { color: var(--color-primary); font-weight: 700; }
.streak-sub { font-size: 12px; color: var(--color-text-muted); margin-top: 2px; }

/* ============ WEBINARS LIST ============ */
.webinars-list { display: flex; flex-direction: column; gap: 14px; margin-top: 10px; }
.web-card {
  background: var(--color-white);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 16px;
}
.web-card.live { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(34,176,137,0.15), var(--shadow-card); }
.web-card.locked { opacity: 0.55; }
.web-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 10px;
}
.web-num {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--color-primary-dark);
  background: var(--color-primary-soft);
  padding: 3px 10px;
  border-radius: var(--radius-badge);
}
.web-title {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.1;
  margin-bottom: 6px;
}
.web-date { font-size: 13px; color: var(--color-text-muted); margin-bottom: 10px; }
.web-desc { font-size: 13px; color: var(--color-text); margin-bottom: 12px; }

/* ============ WEBINAR LANDING (упрощённая лендинговая вкладка эфиров) ============ */
.wl-plate {
  display: flex; align-items: center; gap: 14px;
  border-radius: var(--radius-card);
  padding: 14px 16px;
  margin: 10px 0 16px;
  box-shadow: var(--shadow-card);
}
.wl-plate-urgent {
  background: linear-gradient(135deg, #E05252, #C33232);
  color: #fff;
  animation: wlPulse 2s ease-in-out infinite;
}
.wl-plate-rec {
  background: var(--color-primary-soft);
  border: 2px solid var(--color-primary);
  color: var(--color-primary-dark);
  cursor: pointer;
}
.wl-plate-rec:hover { transform: translateY(-1px); transition: transform .15s; }
.wl-plate-ico { font-size: 32px; flex-shrink: 0; }
.wl-plate-body { flex: 1; }
.wl-plate-title { font-family: var(--font-heading); font-size: 18px; line-height: 1.1; margin-bottom: 4px; letter-spacing: 0.5px; }
.wl-plate-text { font-size: 13px; opacity: 0.92; line-height: 1.4; }
.wl-plate-arr { font-size: 24px; flex-shrink: 0; }
@keyframes wlPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224,82,82,0.5), var(--shadow-card); }
  50% { box-shadow: 0 0 0 8px rgba(224,82,82,0), var(--shadow-card); }
}

.wl-hero {
  background:
    linear-gradient(115deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 50%),
    linear-gradient(135deg, #7A4490 0%, #643275 50%, #4A2256 100%);
  border-radius: var(--radius-card);
  padding: 22px 18px;
  margin: 8px 0 22px;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 12px 32px rgba(100,50,117,0.32);
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}
.wl-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 25%, rgba(255,255,255,0.12) 0%, transparent 55%);
  pointer-events: none;
}
.wl-hero > * { position: relative; }
.wl-hero-pill {
  display: inline-block;
  background: linear-gradient(90deg, #FF8845 0%, #F3702B 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 1.2px;
  padding: 6px 14px;
  border-radius: var(--radius-badge);
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(243,112,43,0.35);
}
.wl-hero-title {
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: 0.6px;
  color: #FFFFFF;
  margin: 0 0 8px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.wl-hero-sub {
  font-size: 14px;
  color: #FFB07A;
  font-weight: 700;
  margin-bottom: 12px;
}
.wl-hero-date {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 6px 12px;
  border-radius: var(--radius-badge);
  font-size: 13px;
  color: #FFFFFF;
  margin-bottom: 16px;
  backdrop-filter: blur(4px);
}
.wl-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 12px 0 18px;
}
.wl-cd-seg {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 12px;
  padding: 10px 4px;
  backdrop-filter: blur(4px);
}
.wl-cd-seg b {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1;
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.wl-cd-seg small {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,0.78);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.wl-hero-tag {
  font-size: 12px;
  color: rgba(255,255,255,0.88);
  font-weight: 700;
  margin-top: 10px;
}

/* ============ WEBINAR BONUSES BLOCK ============ */
.wl-bonuses {
  background: linear-gradient(180deg, #DDF0E3 0%, #C6E5D1 100%);
  border: 1px solid rgba(46,125,82,0.28);
  border-radius: var(--radius-card);
  padding: 18px 16px;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(30,100,60,0.12);
}
.wl-bonuses-head { text-align: center; margin-bottom: 14px; }
.wl-bonuses-eyebrow {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 1.6px;
  color: #2E7D52;
  margin-bottom: 6px;
}
.wl-bonuses-h {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.15;
  margin: 0 0 6px;
  color: var(--color-text);
  letter-spacing: 0.3px;
}
.wl-bonuses-sub {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin: 0;
}
.wl-bonuses-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 12px;
}
.wl-bn-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  background: #FFFFFF;
  border: 1px solid rgba(46,125,82,0.22);
  border-radius: 14px;
  cursor: pointer;
  transition: transform .15s, border-color .2s, box-shadow .2s;
}
.wl-bn-card:hover {
  transform: translateY(-1px);
  border-color: rgba(46,125,82,0.55);
  box-shadow: 0 6px 18px rgba(30,100,60,0.18);
}
.wl-bn-ico {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(63,184,122,0.10), rgba(168,229,194,0.18));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.wl-bn-ico img { width: 100%; height: 100%; object-fit: contain; display: block; }
.wl-bn-emoji { font-size: 28px; }
.wl-bn-info { flex: 1; min-width: 0; }
.wl-bn-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 3px;
}
.wl-bn-reward {
  font-size: 11.5px;
  color: var(--color-text-muted);
  letter-spacing: 0.2px;
}
.wl-bn-arr {
  font-size: 16px;
  font-weight: 700;
  color: #2E7D52;
  flex-shrink: 0;
}
.wl-bonuses-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(90deg, rgba(243,193,101,0.18) 0%, rgba(243,193,101,0.08) 100%);
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: #5a3f0c;
}
.wl-bonuses-foot-ico { display: inline-flex; }
.wl-bonuses-foot-ico .coin { width: 18px; height: 18px; }

.wl-section {
  background: var(--color-bg-card);
  border-radius: var(--radius-card);
  padding: 22px 18px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-card);
}
.wl-section-eyebrow {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 1.4px;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.wl-section-h {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.1;
  margin: 0 0 14px;
  letter-spacing: 0.4px;
}
.wl-section-text {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-top: 12px;
}

.wl-bullets { display: flex; flex-direction: column; gap: 10px; }
.wl-bullet {
  display: flex; gap: 12px;
  background: var(--color-primary-soft);
  border-radius: 12px;
  padding: 12px 14px;
  align-items: center;
}
.wl-bullet-num {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--color-primary-dark);
  background: var(--color-white);
  border-radius: 10px;
  min-width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wl-bullet-text {
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-text);
}

.wl-why-section { background: linear-gradient(180deg, #fff, var(--color-primary-soft)); }
.wl-why-grid { display: flex; flex-direction: column; gap: 10px; }
.wl-why-card {
  display: flex; gap: 12px;
  background: var(--color-white);
  border: 1px solid var(--color-card-border);
  border-radius: 12px;
  padding: 14px;
  align-items: flex-start;
}
.wl-why-ico { font-size: 28px; flex-shrink: 0; }
.wl-why-text { font-size: 13px; line-height: 1.5; color: var(--color-text); }

.wl-rewards-section {
  background: linear-gradient(180deg, var(--color-gold-soft), #fff);
}
.wl-rewards { display: flex; flex-direction: column; gap: 10px; }
.wl-reward {
  display: flex; gap: 12px;
  background: var(--color-white);
  border: 1px solid var(--color-card-border);
  border-radius: 12px;
  padding: 14px;
  align-items: flex-start;
}
.wl-reward--cert { border-color: var(--color-gold-border); background: var(--color-gold-soft); }
.wl-reward--coins { border-color: var(--color-gold-border); }
.wl-reward--hw { border-color: var(--color-primary); background: var(--color-primary-soft); }
.wl-reward-ico { font-size: 30px; flex-shrink: 0; }
.wl-reward-body { flex: 1; }
.wl-reward-title {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-text);
  margin-bottom: 4px;
  line-height: 1.3;
}
.wl-reward-hl {
  display: inline-block;
  background: var(--color-gold-from);
  color: var(--color-text);
  font-family: var(--font-heading);
  padding: 1px 8px;
  border-radius: 10px;
  font-size: 13px;
  margin-left: 6px;
}
.wl-reward-text { font-size: 12px; line-height: 1.5; color: var(--color-text-muted); }

.wl-final-cta {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  border-radius: var(--radius-card);
  padding: 26px 20px;
  text-align: center;
  margin-bottom: 24px;
  color: var(--color-white);
  box-shadow: var(--shadow-lift);
}
.wl-final-title {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.1;
  margin: 0 0 8px;
  color: var(--color-white);
}
.wl-final-sub {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 18px;
  opacity: 0.9;
}

/* ============ REPLAY (повторы пропущенного эфира) ============ */
.rp-hero {
  background: linear-gradient(135deg, #E05252, #C33232);
  color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 24px 20px;
  text-align: center;
  margin: 8px 0 16px;
  box-shadow: var(--shadow-lift);
}
.rp-hero-emoji { font-size: 48px; margin-bottom: 6px; }
.rp-hero-title {
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: 0.5px;
  margin: 0 0 8px;
  color: var(--color-white);
}
.rp-hero-sub {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  opacity: 0.95;
}
.rp-slots {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.rp-slot {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-bg-card);
  border: 2px solid var(--color-card-border);
  border-radius: var(--radius-card);
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  transition: all .15s;
  width: 100%;
}
.rp-slot:hover { border-color: var(--color-primary); transform: translateY(-1px); }
.rp-slot--now {
  background: linear-gradient(135deg, var(--color-gold-from), var(--color-gold-to));
  border-color: var(--color-gold-border);
}
.rp-slot-body { flex: 1; }
.rp-slot-label {
  font-family: var(--font-heading);
  font-size: 17px;
  letter-spacing: 0.4px;
  color: var(--color-text);
}
.rp-slot-sub {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 2px;
}
.rp-slot--now .rp-slot-sub { color: var(--color-primary-dark); }
.rp-slot-arr {
  font-size: 22px;
  color: var(--color-text-muted);
  flex-shrink: 0;
}
.rp-slot:hover .rp-slot-arr { color: var(--color-primary); }
.rp-info {
  background: var(--color-bg-card);
  border-radius: var(--radius-card);
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
}
.rp-info-title {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.6px;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}
.rp-info-list {
  list-style: none;
  padding: 0; margin: 0;
}
.rp-info-list li {
  position: relative;
  padding: 4px 0 4px 20px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-text);
}
.rp-info-list li::before {
  content: '•';
  position: absolute;
  left: 4px; top: 4px;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 700;
}

.rp-scheduled {
  position: relative;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 50%),
    linear-gradient(135deg, #7A4490 0%, #643275 50%, #4A2256 100%);
  color: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 28px 20px;
  text-align: center;
  margin: 8px 0 16px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 12px 32px rgba(100,50,117,0.32);
  overflow: hidden;
}
.rp-scheduled::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 25%, rgba(255,255,255,0.10) 0%, transparent 55%);
  pointer-events: none;
}
.rp-scheduled > * { position: relative; }
.rp-sch-pill {
  display: inline-block;
  background: linear-gradient(90deg, #FF8845 0%, #F3702B 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 1.2px;
  padding: 6px 14px;
  border-radius: var(--radius-badge);
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(243,112,43,0.35);
}
.rp-sch-title {
  font-family: var(--font-heading);
  font-size: 26px;
  margin: 0 0 8px;
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.rp-sch-sub {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
  margin-bottom: 18px;
}
.rp-sch-time {
  font-family: var(--font-heading);
  font-size: 28px;
  letter-spacing: 0.5px;
  color: #FFB07A;
  margin-bottom: 12px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.rp-sch-countdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.rp-sch-cd-seg {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.22);
  color: #FFFFFF;
  border-radius: 12px;
  padding: 10px 4px;
  backdrop-filter: blur(4px);
}
.rp-sch-cd-seg b {
  font-family: var(--font-heading);
  font-size: 22px;
  display: block;
  line-height: 1;
  color: #FFFFFF;
}
.rp-sch-cd-seg small {
  font-size: 10px;
  color: rgba(255,255,255,0.78);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* ============ MISS ALERT (компактный баннер на главной) ============ */
.miss-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(90deg, #E05252, #C33232);
  color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 14px 16px;
  margin: 8px 0 12px;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  animation: missPulse 2.4s ease-in-out infinite;
}
.miss-alert--scheduled {
  background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary));
  animation: none;
}
.miss-alert-ico { font-size: 28px; flex-shrink: 0; }
.miss-alert-body { flex: 1; min-width: 0; }
.miss-alert-title {
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 0.4px;
  margin-bottom: 2px;
}
.miss-alert-text { font-size: 12px; opacity: 0.92; line-height: 1.35; }
.miss-alert-arr { font-size: 22px; flex-shrink: 0; }
@keyframes missPulse {
  0%, 100% { box-shadow: 0 2px 12px rgba(224,82,82,0.3); }
  50% { box-shadow: 0 4px 24px rgba(224,82,82,0.55); }
}

/* Replay dot in webinar room top-bar */
.live-dot.is-replay { background: #888 !important; animation: none !important; }

/* ============ REPLAY COUNTDOWN PIN (фикс. красная плашка сверху до старта повтора) ============ */
.replay-countdown-pin {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(90deg, #C33232 0%, #E05252 50%, #C33232 100%);
  color: var(--color-white);
  border: none;
  padding: 10px 16px;
  font-size: 13px;
  cursor: pointer;
  z-index: 1600;
  box-shadow: 0 2px 12px rgba(195,50,50,0.4);
  animation: rcpPulse 2.4s ease-in-out infinite;
}
.replay-countdown-pin.visible { display: flex; }
.rcp-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--color-gold-from);
  box-shadow: 0 0 0 3px rgba(241,193,101,0.4);
  flex-shrink: 0;
}
.rcp-text { font-weight: 600; letter-spacing: 0.2px; }
.rcp-text b {
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  color: var(--color-gold-from);
  margin-left: 2px;
}
.rcp-arr { font-size: 16px; opacity: 0.85; }
@keyframes rcpPulse {
  0%, 100% { box-shadow: 0 2px 12px rgba(195,50,50,0.35); }
  50% { box-shadow: 0 4px 24px rgba(195,50,50,0.6); }
}

/* When pin is visible, push screens down so they don't get hidden */
body:has(.replay-countdown-pin.visible) .screen { padding-top: 38px; }

/* ============ ACTIVE ROOM FAB (плавающая плашка «идёт эфир / повтор») ============ */
.active-room-fab {
  position: fixed;
  left: 50%;
  bottom: 88px; /* чуть выше нижнего меню (нав ~70px) */
  transform: translateX(-50%) translateY(20px);
  display: none;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: var(--color-white);
  border: none;
  border-radius: 999px;
  padding: 10px 18px 10px 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.22);
  cursor: pointer;
  z-index: 1500;
  opacity: 0;
  transition: opacity .25s, transform .25s;
}
.active-room-fab.visible {
  display: inline-flex;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.arf-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ff4848;
  box-shadow: 0 0 0 4px rgba(255,72,72,0.25);
  animation: arfPulse 1.6s ease-in-out infinite;
}
.arf-dot.is-replay {
  background: var(--color-gold-from);
  box-shadow: 0 0 0 4px rgba(241,193,101,0.3);
  animation: none;
}
@keyframes arfPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,72,72,0.55); }
  50% { box-shadow: 0 0 0 8px rgba(255,72,72,0); }
}
.arf-text { text-align: left; line-height: 1.1; }
.arf-title {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--color-gold-from);
  margin-bottom: 1px;
}
.arf-sub { font-size: 12px; opacity: 0.92; }
.arf-arr { font-size: 18px; margin-left: 4px; }
@media (max-width: 380px) {
  .active-room-fab { padding: 9px 14px 9px 12px; }
  .arf-sub { font-size: 11px; }
}

/* Stub-экран на вкладке Эфиры пока идёт активная комната */
.ar-stub {
  position: relative;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 50%),
    linear-gradient(135deg, #7A4490 0%, #643275 50%, #4A2256 100%);
  color: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 28px 22px;
  text-align: center;
  margin: 8px 0 16px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 12px 32px rgba(100,50,117,0.32);
  overflow: hidden;
}
.ar-stub::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 25%, rgba(255,255,255,0.10) 0%, transparent 55%);
  pointer-events: none;
}
.ar-stub > * { position: relative; }
.ar-stub-pill {
  display: inline-block;
  background: linear-gradient(90deg, #FF8845 0%, #F3702B 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 1.2px;
  padding: 6px 14px;
  border-radius: var(--radius-badge);
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(243,112,43,0.35);
}
.ar-stub-title {
  font-family: var(--font-heading);
  font-size: 26px;
  margin: 0 0 8px;
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.ar-stub-sub {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.92);
}

/* ============ POST-WEBINAR CTA (промежуточная страница 1ч после эфира) ============ */
.pw-hero {
  position: relative;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 50%),
    linear-gradient(135deg, #7A4490 0%, #643275 50%, #4A2256 100%);
  color: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 26px 20px 22px;
  text-align: center;
  margin: 8px 0 18px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 12px 32px rgba(100,50,117,0.32);
  overflow: hidden;
}
.pw-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 25%, rgba(255,255,255,0.10) 0%, transparent 55%);
  pointer-events: none;
}
.pw-hero > * { position: relative; }
.pw-hero-pill {
  display: inline-block;
  background: linear-gradient(90deg, #FF8845 0%, #F3702B 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 1.2px;
  padding: 6px 14px;
  border-radius: var(--radius-badge);
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(243,112,43,0.35);
}
.pw-hero-title {
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: 0.5px;
  margin: 0 0 8px;
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.pw-hero-sub {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
  margin: 0;
}

.pw-cta-card {
  background: linear-gradient(180deg, rgba(122,68,144,0.05), #FFFFFF);
  border: 1.5px solid rgba(122,68,144,0.25);
  border-radius: var(--radius-card);
  padding: 24px 20px;
  margin-bottom: 16px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(100,50,117,0.10);
}
.pw-cta-eyebrow {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 1.4px;
  color: #7A4490;
  margin-bottom: 8px;
}
.pw-cta-title {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0.4px;
  color: var(--color-text);
  margin: 0 0 12px;
}
.pw-cta-text {
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 14px;
}
.pw-cta-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  text-align: left;
  display: inline-block;
}
.pw-cta-list li {
  position: relative;
  padding: 4px 0 4px 24px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-text);
}
.pw-cta-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 5px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7A4490, #4A2256);
  color: #FFFFFF;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.pw-recap {
  background: var(--color-bg-card);
  border-radius: var(--radius-card);
  padding: 22px 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
}
.pw-recap-eyebrow {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 1.4px;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.pw-recap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.pw-recap-card {
  display: flex;
  gap: 10px;
  background: var(--color-primary-soft);
  border-radius: 12px;
  padding: 12px;
  align-items: center;
}
.pw-recap-ico { font-size: 26px; flex-shrink: 0; }
.pw-recap-card b {
  display: block;
  font-size: 13px;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 2px;
}
.pw-recap-card span {
  display: block;
  font-size: 11px;
  color: var(--color-text-muted);
  line-height: 1.3;
}

.pw-next {
  background: var(--color-bg);
  border: 1px dashed var(--color-card-border);
  border-radius: var(--radius-card);
  padding: 16px;
  margin-bottom: 16px;
  text-align: center;
}
.pw-next-text {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.pw-next-text b {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--color-primary-dark);
  letter-spacing: 0.5px;
}

/* ============ WEBINAR ROOM ============ */
.webinar-room {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #1a1a1a;
  color: var(--color-white);
}
.wr-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #000;
}
.wr-live {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 1.5px;
}
.wr-timer {
  font-family: var(--font-heading);
  font-size: 18px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 3px 12px;
  border-radius: var(--radius-badge);
  letter-spacing: 1px;
}

.wr-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}
.wr-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wr-player-overlay {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  gap: 10px;
  background: radial-gradient(circle at center, rgba(26,58,51,0.85) 0%, rgba(0,0,0,0.85) 100%);
  cursor: pointer;
  transition: opacity 0.25s;
  z-index: 3;
}
.wr-player-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.wr-mute-btn,
.wr-fullscreen-btn {
  position: absolute;
  bottom: 10px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: none;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
}
.wr-mute-btn { left: 10px; }
.wr-fullscreen-btn { right: 10px; }

.wr-sale-banner {
  position: absolute;
  left: 12px; right: 12px;
  bottom: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(20,70,60,0.96) 0%, rgba(30,110,95,0.96) 100%);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
  z-index: 5;
  animation: wr-sale-slide-in 0.35s ease-out;
}
.wr-sale-banner .wr-sale-text { flex: 1 1 auto; font-weight: 600; font-size: 14px; }
.wr-sale-banner .wr-sale-cta {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 8px 14px;
  background: #ffd700;
  color: #2b3a3a;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}
@keyframes wr-sale-slide-in {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@media (max-width: 560px) {
  .wr-sale-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    bottom: 50px;
  }
  .wr-sale-banner .wr-sale-cta { width: 100%; }
}

.wr-chat-pin {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #fff8e1 0%, #ffeec0 100%);
  border-left: 3px solid #ffb300;
  font-size: 12px;
}
.wr-pin-icon { font-size: 16px; }
.wr-pin-body { flex: 1 1 auto; }
.wr-pin-name { font-weight: 700; color: #b27a00; font-size: 11px; }
.wr-pin-text { color: #4a3a00; line-height: 1.3; }
.wr-play-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(34,176,137,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  padding-left: 4px;
}
.wr-player-label {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 2px;
  opacity: 0.7;
}

.wr-stars-counter {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  color: var(--color-gold-from);
  padding: 6px 12px;
  border-radius: var(--radius-badge);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(241,193,101,0.4);
}
.wr-stars-counter .divider { opacity: 0.5; }

/* Grab star floating button */
.grab-star-wrap {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 14px 14px;
  background: #0c1614;
  align-items: center;
  animation: slideUp .3s;
}
.grab-star-wrap.show { display: flex; }
.grab-star-info { text-align: center; max-width: 380px; }
.grab-star-info-title {
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 0.6px;
  color: var(--color-gold-from);
  margin-bottom: 4px;
}
.grab-star-info-text {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255,255,255,0.78);
}
.grab-star-btn {
  position: relative;
  background: linear-gradient(90deg, var(--color-gold-from), var(--color-gold-to));
  border: 2px solid var(--color-gold-border);
  color: #000;
  padding: 10px 22px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(241,193,101,0.4);
  animation: pulse-gold 1.4s infinite;
  overflow: hidden;
}
@keyframes pulse-gold {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 20px rgba(241,193,101,0.4); }
  50% { transform: scale(1.05); box-shadow: 0 4px 30px rgba(241,193,101,0.7); }
}
.grab-star-timer {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  background: var(--color-primary-dark);
  width: 100%;
  transform-origin: left;
  animation: grabTimer 15s linear forwards;
}
@keyframes grabTimer {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

/* Gifts — vertical list */
.wr-gifts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  background: #0c1614;
}
.gift-slot {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1a2a28;
  border: 1px solid #2a3a38;
  border-radius: var(--radius-card);
  padding: 12px 14px;
  text-align: left;
  transition: all .3s;
}
.gift-slot.unlocked {
  background: linear-gradient(135deg, rgba(241,193,101,0.2), rgba(252,221,148,0.08));
  border-color: var(--color-gold-border);
  animation: pop .5s;
}
.gift-icon {
  font-size: 32px;
  flex-shrink: 0;
  filter: grayscale(1);
  opacity: 0.5;
  width: 44px;
  text-align: center;
}
.gift-slot.unlocked .gift-icon { filter: none; opacity: 1; }
.gift-body { flex: 1; min-width: 0; }
.gift-name {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 3px;
}
.gift-slot.unlocked .gift-name { color: var(--color-gold-from); }
.gift-countdown {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.2px;
}
.gift-slot.unlocked .gift-countdown {
  color: var(--color-gold-from);
  font-weight: 700;
}
.gift-btn {
  flex-shrink: 0;
  padding: 8px 16px;
  font-size: 12px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  background: #2a3a38;
  color: #777;
  cursor: not-allowed;
  border: none;
  white-space: nowrap;
}
.gift-slot.unlocked .gift-btn {
  background: linear-gradient(90deg, var(--color-gold-from), var(--color-gold-to));
  color: #000;
  cursor: pointer;
  border: 1px solid var(--color-gold-border);
}
.gift-slot .gift-btn.claimed {
  background: var(--color-primary);
  color: var(--color-white);
  border: 1px solid var(--color-primary-dark);
  opacity: 0.85;
  cursor: default;
}

/* Chat */
.wr-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #111;
  min-height: 0;
}
.wr-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.chat-msg {
  animation: fadeInUp .3s;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255,255,255,0.9);
  word-wrap: break-word;
}
.chat-msg .cm-name {
  color: var(--color-primary);
  font-weight: 600;
  margin-right: 6px;
}
.chat-msg.is-me .cm-name { color: var(--color-gold-from); }
.chat-msg.is-staff .cm-name { color: #c0392b; }
.chat-msg.system {
  color: var(--color-text-muted);
  font-style: italic;
  font-size: 12px;
  text-align: center;
}

.wr-chat-input {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  background: #0a0a0a;
  border-top: 1px solid #222;
}
.wr-chat-input input {
  flex: 1;
  background: #222;
  border: 1px solid #333;
  border-radius: var(--radius-btn);
  padding: 10px 14px;
  color: var(--color-white);
  font-size: 13px;
}
.wr-chat-input input:focus { outline: none; border-color: var(--color-primary); }
.wr-chat-input input::placeholder { color: #666; }
.wr-chat-input button {
  width: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 18px;
  flex-shrink: 0;
}

/* ============ HOMEWORKS ============ */
.homeworks-list { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.hw-card {
  background: var(--color-white);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 16px;
  cursor: pointer;
  transition: transform .15s;
}
.hw-card:hover { transform: translateY(-1px); }
.hw-card.locked { opacity: 0.75; cursor: pointer; }
.hw-theory-hint { font-size: 11px; color: var(--color-primary); font-weight: 600; margin-top: 6px; padding-left: 50px; }
.hw-card.done { background: var(--color-primary-soft); border-color: var(--color-primary); }
.hw-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.hw-num {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px;
  flex-shrink: 0;
}
.hw-card.locked .hw-num { background: #ccc; }
.hw-card.done .hw-num { background: var(--color-primary-dark); }
.hw-title { flex: 1; font-family: var(--font-heading); font-size: 19px; line-height: 1.1; }
.hw-status { font-size: 12px; color: var(--color-text-muted); }
.hw-status.ready { color: var(--color-primary); font-weight: 600; }
.hw-status.done { color: var(--color-primary-dark); font-weight: 600; }
.hw-desc { font-size: 13px; color: var(--color-text-muted); padding-left: 50px; }

.debug-hw {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

/* ============ HOMEWORK FORM ============ */
.hwf-accordion {
  background: var(--color-primary-soft);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-card);
  margin-bottom: 16px;
  overflow: hidden;
}
.hwf-acc-head {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  color: var(--color-primary-dark);
  font-size: 14px;
}
.hwf-acc-head span { font-size: 12px; }
.hwf-acc-body {
  display: none;
  padding: 0 14px 14px;
  font-size: 13px;
  line-height: 1.55;
}
.hwf-accordion.open .hwf-acc-body { display: block; }
.hwf-acc-body p { margin-bottom: 8px; }
.hwf-acc-body b { color: var(--color-primary-dark); }
.hwf-acc-body .hwf-th-h {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  margin: 16px 0 8px;
  padding-top: 12px;
  border-top: 1px dashed rgba(34,176,137,0.30);
}
.hwf-acc-body .hwf-th-h:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.hwf-acc-body .hwf-th-list {
  margin: 0 0 10px 18px;
  padding: 0;
}
.hwf-acc-body .hwf-th-list li {
  margin-bottom: 5px;
  list-style: disc;
  color: var(--color-text);
}
.hwf-acc-body .hwf-th-callout {
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.65);
  border-left: 3px solid var(--color-gold-from);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text);
}

/* ============ WORKBOOK HERO BANNER (screen-homeworks) ============ */
.wb-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 45%),
    linear-gradient(135deg, #005544 0%, #007660 55%, #005544 100%);
  border-radius: 20px;
  padding: 22px 18px 20px;
  margin: 0 0 18px;
  color: #fff;
  box-shadow: 0 14px 36px rgba(0,98,96,0.28);
}
.wb-hero-decor {
  position: absolute;
  top: -50px; right: -50px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(241,193,101,0.32) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.wb-hero-glow {
  position: absolute;
  bottom: -40px; left: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(34,176,137,0.40) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.wb-hero-icon {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-size: 34px;
  filter: drop-shadow(0 4px 10px rgba(241,193,101,0.45));
  margin-bottom: 8px;
}
.wb-hero-eyebrow {
  position: relative;
  z-index: 1;
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  color: var(--color-gold-to);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.wb-hero-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0.5px;
  line-height: 1.05;
  margin: 0 0 12px;
  color: #fff;
  text-transform: uppercase;
}
.wb-hero-sub {
  position: relative;
  z-index: 1;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  margin: 0 0 16px;
}
.wb-hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255,255,255,0.22);
}
.wb-hero-stat {
  flex: 1;
  text-align: center;
}
.wb-hero-stat-v {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.5px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.wb-hero-stat-v .coin { width: 0.85em; height: 0.85em; vertical-align: middle; }
.wb-hero-stat-l {
  font-family: var(--font-sub);
  font-size: 9px;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 3px;
  font-weight: 600;
}

.hwf-block {
  background: var(--color-white);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  padding: 14px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-card);
}
.hwf-block-title {
  font-family: var(--font-heading);
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--color-primary-dark);
}

.hwf-field { margin-bottom: 12px; }
.hwf-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--color-text);
}
.hwf-input, .hwf-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--color-card-border);
  border-radius: var(--radius-input);
  background: var(--color-white);
  font-size: 14px;
  transition: border-color .15s;
}
.hwf-input:focus, .hwf-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(34,176,137,0.12);
}
.hwf-textarea { min-height: 80px; resize: vertical; font-family: var(--font-body); }

.hwf-radio-group { display: flex; gap: 6px; flex-wrap: wrap; }
.hwf-radio {
  padding: 8px 14px;
  border: 1.5px solid var(--color-card-border);
  border-radius: var(--radius-btn);
  background: var(--color-white);
  font-size: 13px;
  cursor: pointer;
  transition: all .15s;
}
.hwf-radio.selected { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }

.hwf-submit {
  width: 100%;
  margin-top: 8px;
}

/* ============ PROFILE ============ */
.profile-card {
  background: var(--color-white);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.profile-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 24px;
  flex-shrink: 0;
}
.profile-info { flex: 1; min-width: 0; }
.profile-name { font-family: var(--font-heading); font-size: 22px; line-height: 1; }
.profile-level { font-size: 12px; color: var(--color-primary); font-weight: 500; margin-top: 3px; }
.profile-coins {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(90deg, var(--color-gold-from), var(--color-gold-to));
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-badge);
  padding: 3px 10px;
  font-size: 13px;
  font-weight: 700;
  margin-top: 5px;
}

.pf-section {
  background: var(--color-white);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 16px;
  margin-bottom: 16px;
}
.pf-section-title {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Certificates */
.cert-list { display: flex; flex-direction: column; gap: 10px; }
.cert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-card);
  border: 1.5px solid var(--color-card-border);
  background: #fafafa;
}
.cert-item.unlocked {
  border-color: var(--color-gold-border);
  background: linear-gradient(135deg, rgba(241,193,101,0.08), rgba(252,221,148,0.05));
}
.cert-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.cert-item.unlocked .cert-icon {
  background: linear-gradient(135deg, var(--color-gold-from), var(--color-gold-to));
}
.cert-info { flex: 1; min-width: 0; }
.cert-name { font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.cert-prog { font-size: 11px; color: var(--color-text-muted); }
.cert-item.unlocked .cert-prog { color: var(--color-primary-dark); font-weight: 600; }
.cert-progbar {
  height: 4px;
  background: #e8e8e8;
  border-radius: 2px;
  margin-top: 4px;
  overflow: hidden;
}
.cert-progbar-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: 2px;
  transition: width .3s;
}

/* Sliders */
.slider-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
  -webkit-overflow-scrolling: touch;
}
.slider-scroll::-webkit-scrollbar { display: none; }
.slider-wrap {
  position: relative;
}
.slider-arr {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.95);
  color: var(--color-primary-dark);
  font-size: 22px;
  font-weight: 700;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,98,96,0.20);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s, transform 0.15s;
}
.slider-arr:hover { background: var(--color-primary); color: #fff; }
.slider-arr:active { transform: translateY(-50%) scale(0.92); }
.slider-arr-left { left: -2px; }
.slider-arr-right { right: -2px; }

/* Empty state for "Мои бонусы" */
.mb-empty-cta {
  background: linear-gradient(135deg, #FFFEFA 0%, #FFF4DC 100%);
  border: 1.5px solid var(--color-gold-border);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(241,193,101,0.18);
  transition: transform 0.15s, box-shadow 0.2s;
}
.mb-empty-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(241,193,101,0.30);
}
.mb-empty-ico { font-size: 36px; margin-bottom: 6px; }
.mb-empty-title {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.4px;
  color: #5a3f0c;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.mb-empty-sub {
  font-size: 12.5px;
  line-height: 1.5;
  color: #6b5026;
}
.slide-card {
  flex-shrink: 0;
  width: 170px;
  aspect-ratio: 3/4;
  background: linear-gradient(180deg, #e8e8e8 0%, #f5f5f5 100%);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 12px;
  text-align: center;
  padding: 16px;
  gap: 6px;
}
.slide-card .si { font-size: 36px; opacity: 0.5; }

/* Cases slider — full-width slides preserving original 1:1 aspect of cards */
.cases-scroll {
  gap: 12px;
  scroll-snap-type: x mandatory;
}
.case-slide {
  flex-shrink: 0;
  width: 349px;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.10);
  background: #0d3a36;
}
.case-slide img {
  display: block;
  width: 100%;
  height: auto;
}

/* Cases placeholder (когда фотокейсов ещё нет) */
.cases-placeholder {
  background: linear-gradient(135deg, var(--color-primary-soft) 0%, #FFFFFF 100%);
  border: 1px dashed var(--color-primary);
  border-radius: var(--radius-card);
  padding: 28px 20px;
  text-align: center;
}
.cases-placeholder-ico {
  font-size: 38px;
  margin-bottom: 8px;
  opacity: 0.6;
}
.cases-placeholder-title {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 15px;
  margin-bottom: 6px;
}
.cases-placeholder-sub {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
  max-width: 360px;
  margin: 0 auto;
}

/* Referral */
.ref-block {
  background: var(--color-primary-soft);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-card);
  padding: 14px;
  margin-bottom: 10px;
}
.ref-link {
  display: flex;
  align-items: center;
  background: var(--color-white);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-input);
  padding: 8px 10px;
  font-size: 12px;
  margin: 10px 0;
  gap: 6px;
  overflow: hidden;
}
.ref-link input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 12px;
  color: var(--color-text);
  min-width: 0;
}
.ref-btns { display: flex; gap: 8px; }
.ref-btns .btn-small { flex: 1; }
.ref-stats {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 13px;
}
.ref-stats b { color: var(--color-primary-dark); font-family: var(--font-heading); font-size: 18px; }

/* Shop */
.shop-list { display: flex; flex-direction: column; gap: 10px; }
.shop-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--color-white);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
}
.shop-icon {
  width: 64px; height: 64px;
  border-radius: 14px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  overflow: hidden;
}
.shop-icon img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.shop-info { flex: 1; min-width: 0; }
.shop-name { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.shop-desc { font-size: 11px; color: var(--color-text-muted); line-height: 1.3; }
.shop-prices { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.shop-prices .btn-small { padding: 4px 10px; font-size: 11px; min-height: 28px; }
.shop-prices .price-rub {
  background: var(--color-primary);
  color: white;
  border: 1px solid var(--color-primary);
}
.shop-prices .price-coin {
  background: linear-gradient(90deg, var(--color-gold-from), var(--color-gold-to));
  border: 1px solid var(--color-gold-border);
  color: #000;
}

/* Stream switcher */
.stream-switch { display: flex; gap: 8px; }
.stream-opt {
  flex: 1;
  padding: 12px;
  border: 1.5px solid var(--color-card-border);
  border-radius: var(--radius-card);
  background: var(--color-white);
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.stream-opt.selected { border-color: var(--color-primary); background: var(--color-primary-soft); color: var(--color-primary-dark); }
.stream-opt small { display: block; font-size: 11px; color: var(--color-text-muted); font-weight: 400; margin-top: 2px; }
.stream-opt.selected small { color: var(--color-primary-dark); }

/* Debug panel — открывается 5 тапами на «👤 Профиль» */
.debug-panel {
  background: #1f1f1f;
  border: 1px solid #3a3a3a;
  border-radius: var(--radius-card);
  padding: 16px;
  margin-bottom: 18px;
  color: var(--color-white);
}
.debug-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #333;
}
.debug-ico {
  font-size: 18px;
  filter: grayscale(0.3);
}
.debug-panel h3 {
  color: var(--color-white);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 0;
}
.debug-section {
  margin-bottom: 12px;
}
.debug-section:last-child { margin-bottom: 0; }
.debug-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  margin-bottom: 6px;
  padding-left: 2px;
}
.debug-row {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}
.debug-row:last-child { margin-bottom: 0; }
.dbg-btn {
  flex: 1;
  background: #3a3a3a;
  color: #f0f0f0;
  border: 1px solid #4a4a4a;
  border-radius: 22px;
  padding: 9px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  font-family: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dbg-btn:hover { background: #4a4a4a; }
.dbg-btn:active { transform: scale(0.97); }
.dbg-btn.dbg-success {
  background: #1e5631;
  border-color: #2a7c46;
}
.dbg-btn.dbg-success:hover { background: #2a7c46; }
.dbg-btn.dbg-warn {
  background: #8a5a1c;
  border-color: #a87026;
}
.dbg-btn.dbg-warn:hover { background: #a87026; }
.dbg-btn.dbg-danger {
  background: #7a2424;
  border-color: #9c3030;
}
.dbg-btn.dbg-danger:hover { background: #9c3030; }
.dbg-btn .coin {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: -2px;
}

/* ============ CERTIFICATE CANVAS ============ */
#cert-canvas {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  margin: 0 auto 16px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lift);
  background: var(--color-white);
}

/* ============ SALES ============ */
.sales-wrap { text-align: center; }
.sales-hero {
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 1.1;
  margin-bottom: 8px;
  color: var(--color-primary-dark);
}
.sales-sub { color: var(--color-text-muted); font-size: 14px; margin-bottom: 20px; }
.sales-card {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 22px 18px;
  text-align: center;
  margin-bottom: 18px;
  box-shadow: var(--shadow-lift);
}
.sales-card-title { font-family: var(--font-heading); font-size: 26px; margin-bottom: 8px; }
.sales-price-old { text-decoration: line-through; opacity: 0.7; font-size: 16px; }
.sales-price-new { font-family: var(--font-heading); font-size: 40px; margin: 4px 0; }
.sales-price-new span { font-size: 18px; }
.sales-discount {
  display: inline-block;
  background: var(--color-gold-from);
  color: #000;
  padding: 4px 14px;
  border-radius: var(--radius-badge);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
}

.sales-timer {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 16px 0;
}
.timer-seg {
  background: var(--color-white);
  color: var(--color-primary-dark);
  padding: 8px 10px;
  border-radius: 10px;
  min-width: 52px;
  text-align: center;
}
.timer-seg b { font-family: var(--font-heading); font-size: 22px; display: block; }
.timer-seg small { font-size: 10px; color: var(--color-text-muted); }

.sales-bullets { list-style: none; padding: 0; text-align: left; margin: 16px 0; }
.sales-bullets li {
  padding: 6px 0 6px 28px;
  position: relative;
  font-size: 13px;
  color: var(--color-text);
}
.sales-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 6px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.sales-discount-note {
  background: var(--color-gold-soft);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-card);
  padding: 12px;
  font-size: 13px;
  margin-bottom: 14px;
  color: #6b5a2a;
}
.sales-discount-note b { color: #000; }

/* ============ SALES — новый лендинг (sl-*) ============ */
.sl-wrap { padding-bottom: 16px; }

.sl-hero {
  background:
    linear-gradient(115deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 50%),
    linear-gradient(135deg, #7A4490 0%, #643275 50%, #4A2256 100%);
  color: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 26px 20px 24px;
  text-align: center;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 12px 32px rgba(100,50,117,0.32);
}
.sl-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 25%, rgba(255,255,255,0.10) 0%, transparent 55%);
  pointer-events: none;
}
.sl-hero > * { position: relative; }
.sl-hero-pill {
  display: inline-block;
  background: linear-gradient(90deg, #FF8845 0%, #F3702B 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 1.2px;
  padding: 6px 14px;
  border-radius: var(--radius-badge);
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(243,112,43,0.35);
}
.sl-hero-title {
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 1.05;
  margin: 0 0 12px;
  color: #FFFFFF;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.sl-hero-accent { color: #FFB07A; }
.sl-hero-sub {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
  margin-bottom: 18px;
}
.sl-hero-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #FFB07A;
  margin-bottom: 8px;
}
.sl-hero-author {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.85;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}
.sl-timer {
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 6px;
}
.sl-timer-label { font-size: 12px; margin-bottom: 8px; opacity: 0.95; }
.sl-timer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.sl-timer-seg {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.22);
  color: #FFFFFF;
  border-radius: 10px;
  padding: 8px 4px;
  backdrop-filter: blur(4px);
}
.sl-timer-seg b {
  font-family: var(--font-heading);
  font-size: 22px;
  display: block;
  line-height: 1;
  color: #FFFFFF;
}
.sl-timer-seg small {
  font-size: 10px;
  color: rgba(255,255,255,0.78);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.sl-section {
  background: var(--color-bg-card);
  border-radius: var(--radius-card);
  padding: 22px 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
}
.sl-eyebrow {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 1.4px;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.sl-h {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--color-text);
  letter-spacing: 0.4px;
}

.sl-stats { background: linear-gradient(135deg, var(--color-gold-soft), #fff); }
.sl-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.sl-stat { text-align: center; padding: 8px 4px; }
.sl-stat-num {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1;
  color: var(--color-primary-dark);
  margin-bottom: 4px;
}
.sl-stat-label { font-size: 11px; color: var(--color-text-muted); line-height: 1.3; }

.sl-audience { display: flex; flex-direction: column; gap: 8px; }
.sl-audience-card {
  display: flex; gap: 12px;
  background: var(--color-primary-soft);
  border-radius: 12px;
  padding: 12px 14px;
  align-items: center;
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-text);
}
.sl-aud-ico { font-size: 26px; flex-shrink: 0; }

.sl-track {
  background: var(--color-bg);
  border-radius: 14px;
  padding: 16px 14px;
  margin-bottom: 12px;
  border-left: 4px solid var(--color-primary);
}
.sl-track-pill {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: var(--radius-badge);
  margin-bottom: 6px;
}
.sl-track-pill--green { background: var(--color-primary); color: var(--color-white); }
.sl-track-pill--gold { background: var(--color-gold-from); color: var(--color-text); }
.sl-track-pill--teal { background: var(--color-primary-dark); color: var(--color-white); }
.sl-track-sub { font-size: 12px; color: var(--color-text-muted); margin-bottom: 10px; }
.sl-track-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sl-track-list li {
  position: relative;
  padding: 4px 0 4px 22px;
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.4;
}
.sl-track-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 5px;
  color: var(--color-primary);
  font-weight: 700;
}

.sl-included { background: linear-gradient(180deg, #fff, var(--color-primary-soft)); }
.sl-incl-grid { display: flex; flex-direction: column; gap: 10px; }
.sl-incl-card {
  background: var(--color-white);
  border: 1px solid var(--color-card-border);
  border-radius: 12px;
  padding: 14px;
  text-align: left;
}
.sl-incl-ico { font-size: 30px; display: block; margin-bottom: 6px; }
.sl-incl-card b { display: block; font-size: 14px; color: var(--color-text); margin-bottom: 4px; }
.sl-incl-card span { display: block; font-size: 12px; color: var(--color-text-muted); line-height: 1.45; }

.sl-tariff {
  background: var(--color-white);
  border: 2px solid var(--color-card-border);
  border-radius: 16px;
  padding: 18px 16px;
  margin-bottom: 12px;
  position: relative;
}
.sl-tariff-name {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--color-text);
  letter-spacing: 0.4px;
}
.sl-tariff-tag {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}
.sl-tariff-old {
  text-decoration: line-through;
  font-size: 14px;
  color: var(--color-text-muted);
}
.sl-tariff-new {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--color-primary-dark);
  line-height: 1;
  margin-bottom: 10px;
}
.sl-tariff-save {
  display: inline-block;
  background: var(--color-gold-from);
  color: var(--color-text);
  padding: 4px 12px;
  border-radius: var(--radius-badge);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}
.sl-tariff-list { list-style: none; padding: 0; margin: 0 0 14px; }
.sl-tariff-list li {
  position: relative;
  padding: 4px 0 4px 22px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-text);
}
.sl-tariff-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 4px;
  color: var(--color-primary);
  font-weight: 700;
}
.sl-tariff--featured {
  border-color: var(--color-gold-border);
  background: linear-gradient(180deg, var(--color-gold-soft), #fff);
}
.sl-tariff-badge {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-gold-from), var(--color-gold-to));
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 1.2px;
  padding: 5px 14px;
  border-radius: var(--radius-badge);
  white-space: nowrap;
  border: 1px solid var(--color-gold-border);
}
.sl-coins-note {
  background: var(--color-gold-soft);
  border: 1px solid var(--color-gold-border);
  border-radius: 12px;
  padding: 12px;
  font-size: 13px;
  color: #6b5a2a;
  margin-top: 8px;
}
.sl-coins-note b { color: #000; }

.sl-installment {
  background: linear-gradient(135deg, #f3eef9, #fff);
  text-align: center;
}
.sl-install-ico { font-size: 40px; margin-bottom: 8px; }
.sl-install-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text);
}

.sl-bonuses { background: linear-gradient(180deg, var(--color-gold-soft), #fff); }
.sl-bonus-list { display: flex; flex-direction: column; gap: 10px; }
.sl-bonus {
  display: flex; gap: 12px;
  background: var(--color-white);
  border: 1px solid var(--color-gold-border);
  border-radius: 12px;
  padding: 12px 14px;
  align-items: center;
  font-size: 13px;
  line-height: 1.45;
}
.sl-bonus-ico { font-size: 24px; flex-shrink: 0; }

.sl-final {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 26px 20px;
  text-align: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-lift);
}
.sl-final-title {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.1;
  margin: 0 0 8px;
  color: var(--color-white);
}
.sl-final-sub {
  font-size: 13px;
  opacity: 0.92;
  line-height: 1.5;
  margin-bottom: 18px;
}

/* ============ REPLAY ============ */
.replay-slots { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.replay-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  background: var(--color-white);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.replay-time {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-primary-dark);
}
.replay-info { flex: 1; }
.replay-info small { display: block; font-size: 11px; color: var(--color-text-muted); }

/* ============ BOTTOM NAV ============ */
#bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: none;
  background: var(--color-white);
  border-top: 1px solid var(--color-card-border);
  z-index: 10;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.04);
  padding: 6px 0 max(6px, env(safe-area-inset-bottom));
}
#bottom-nav.visible { display: flex; }
.nav-btn {
  flex: 1;
  padding: 6px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--color-text-muted);
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.nav-btn.active { color: var(--color-primary); }
.nav-btn svg { transition: transform .15s; }
.nav-btn.active svg { transform: translateY(-2px); }

.screen.has-nav .screen-scroll { padding-bottom: 90px; }

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn .2s;
}
.modal-overlay.show { display: flex; }
.modal-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 28px 22px;
  max-width: 340px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lift);
  animation: modalUp .3s;
}
@keyframes modalUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-icon { font-size: 44px; margin-bottom: 10px; }
.modal-title { font-family: var(--font-heading); font-size: 24px; margin-bottom: 8px; }
.modal-text { color: var(--color-text-muted); font-size: 14px; margin-bottom: 18px; }
.modal-card .btn { width: 100%; }

/* ============ TOAST ============ */
#toast-box {
  position: fixed;
  bottom: 80px;
  right: 12px;
  left: 12px;
  z-index: 50;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}
.toast {
  pointer-events: auto;
  background: var(--color-white);
  border: 1px solid var(--color-card-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lift);
  padding: 10px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 220px;
  max-width: 340px;
  animation: slideIn .3s;
}
.toast.toast-gold { border-left-color: var(--color-gold-border); }
.toast.toast-danger { border-left-color: var(--color-danger); }
.toast-icon { font-size: 22px; flex-shrink: 0; }
.toast-body { flex: 1; min-width: 0; }
.toast-title { font-size: 13px; font-weight: 600; }
.toast-text { font-size: 12px; color: var(--color-text-muted); margin-top: 2px; }

/* ============ LIVE NOTIF BUBBLES ============ */
#live-notif-box {
  position: fixed;
  bottom: 86px;
  left: 12px;
  z-index: 40;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 240px;
}
.live-notif {
  background: rgba(0,98,96,0.95);
  color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 8px 12px;
  font-size: 12px;
  box-shadow: var(--shadow-card);
  animation: slideIn .3s;
  line-height: 1.35;
}
.live-notif b { color: var(--color-gold-from); }

/* ============ CONFETTI ============ */
.confetti-box {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  overflow: hidden;
}
.confetti-piece {
  position: absolute;
  width: 10px; height: 16px;
  top: -20px;
  animation: confettiFall 2.4s ease-out forwards;
}
@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(110vh) rotate(540deg); opacity: 0.5; }
}

/* ============ ANIMATIONS ============ */
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ RESPONSIVE ============ */
/* Mobile (default, < 768px): edge-to-edge — no overrides needed */

/* Tablet & Desktop (>= 768px): centered phone-frame with decorative background */
@media (min-width: 768px) {
  body {
    background: linear-gradient(135deg, #007660 0%, #007660 55%, #F1C165 100%);
    background-attachment: fixed;
  }

  /* Each screen becomes a centered "phone" card */
  .screen {
    inset: auto;
    top: 24px;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 440px;
    height: auto;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.30), 0 4px 12px rgba(0,0,0,0.15);
  }

  /* Bottom nav stays inside the phone-frame */
  #bottom-nav {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 100%;
    max-width: 440px;
    bottom: 24px;
    border-radius: 0 0 28px 28px;
  }

  /* Sticky countdown rounds top corners of the frame */
  .countdown-bar {
    border-radius: 28px 28px 0 0;
  }

  /* Modals span the whole viewport, above everything */
  .modal-overlay,
  .levelup-overlay,
  .ach-overlay,
  .fomo-overlay,
  .trip-overlay,
  .ach-unlock,
  #notif-box,
  .confetti-box {
    z-index: 1000;
  }
}

/* Larger desktop: more breathing room around the phone */
@media (min-width: 1100px) {
  .screen,
  #bottom-nav {
    max-width: 460px;
  }
}

/* ============================================================
   BRAND UTILITIES (Figma-driven)
   Hexagon polygon decor, teal glow ellipse, pattern texture
   ============================================================ */

.hexagon-decor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
}
.hexagon-decor polygon {
  opacity: 0.40;
}

.glow-teal {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(34,176,137,0.55) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

.texture-overlay {
  position: absolute;
  inset: 0;
  background-image: url('../img/pattern.png');
  background-size: 220px;
  mix-blend-mode: overlay;
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
}

/* ============ THANKS hero (canonical composition) ============ */
.thanks-hero {
  position: relative;
  padding: 28px 20px 22px;
  background: var(--color-bg);
  overflow: hidden;
  border-radius: 0 0 28px 28px;
  margin-bottom: 8px;
}
.thanks-hero .glow-teal {
  top: -90px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 280px;
}
.thanks-hero .hexagon-decor { opacity: 0.85; }
.thanks-hero-inner {
  position: relative;
  z-index: 3;
  text-align: center;
}
.thanks-hero-banner {
  padding: 0;
  margin-bottom: 14px;
  border-radius: 0 0 28px 28px;
  overflow: hidden;
  background: #2A3E5A;
}
.thanks-banner-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 0 28px 28px;
}

/* ============ HERO CLASSIC (1:1 from handoff bundle, 1920x1080) ============ */
.hero-classic {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 1080/1920 — responsive 16:9 box */
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
  margin: 0 0 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}
.hc-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 1920px;
  height: 1080px;
  transform-origin: top left;
  transform: scale(var(--hc-scale, 0.22));
  font-kerning: normal;
}
/* Background bokeh + брендовый градиент (без classic_bg.png) */
.hc-bokeh { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hc-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(243,112,43,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(100,50,117,0.22) 0%, transparent 55%),
    linear-gradient(135deg, #E5F3F5 0%, #C9E5DE 100%);
}
.hc-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hc-bg-tint {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 0%, rgba(0,118,96,0.06) 100%);
}
/* Декоративные «слоги» — узнаваемый брендовый паттерн из Figma */
.hc-syl {
  position: absolute;
  font-family: var(--font-heading);
  font-size: 56px;
  letter-spacing: 1.5px;
  color: var(--color-accent);
  opacity: 0.18;
  white-space: nowrap;
  pointer-events: none;
}
.hc-syl-1 { top: 8%; left: 6%; }
.hc-syl-2 { top: 30%; right: 4%; color: var(--color-orange); opacity: 0.22; }
.hc-syl-3 { bottom: 16%; left: 8%; color: var(--color-primary); opacity: 0.2; }
.hc-syl-4 { bottom: 6%; right: 8%; color: var(--color-accent); opacity: 0.16; }
.hc-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hc-circle-1 {
  width: 240px; height: 240px;
  top: -60px; right: -80px;
  background: rgba(243,112,43,0.16);
}
.hc-circle-2 {
  width: 140px; height: 140px;
  bottom: -40px; left: -40px;
  background: rgba(0,118,96,0.18);
}
.hc-circle-3 {
  width: 80px; height: 80px;
  top: 40%; left: 8%;
  background: rgba(100,50,117,0.15);
}
/* Speaker photo */
.hc-photo-wrap {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 858px;   /* 1100 * 0.78 */
  height: 1066px; /* 1366 * 0.78 */
  pointer-events: none;
  transform: translateY(60px); /* offsetY */
}
.hc-photo-glow {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 75%; height: 75%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,124,106,0.10) 0%, rgba(14,124,106,0) 70%);
  filter: blur(8px);
}
.hc-photo {
  position: relative;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(-30px 30px 60px rgba(20,50,45,0.18));
}
/* Big speaker chip on photo side */
.hc-chip {
  position: absolute;
  bottom: 90px;
  right: 120px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 16px 44px 16px 16px;
  background: #ffffff;
  border-radius: 999px;
  box-shadow:
    0 18px 50px rgba(14,124,106,0.20),
    inset 0 2px 0 rgba(0,0,0,0.04);
  border: 1px solid rgba(14,124,106,0.14);
}
.hc-chip-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a36a 0%, #b08a52 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 36px;
  letter-spacing: 0.04em;
  box-shadow: inset 0 -4px 12px rgba(0,0,0,0.10);
}
.hc-chip-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #1a2e2a;
  line-height: 1;
}
.hc-chip-tag {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 22px;
  color: rgba(14,124,106,0.9);
  margin-top: 4px;
}
/* Text column */
.hc-col {
  position: absolute;
  top: 90px;
  left: 120px;
  bottom: 100px;
  width: 1280px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 2;
}
/* Free badge */
.hc-free {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  border: 2px solid #0e7c6a;
  border-radius: 999px;
  color: #0e7c6a;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(2px);
  white-space: nowrap;
  align-self: flex-start;
}
.hc-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #0e7c6a;
  display: inline-block;
}
/* Eyebrow */
.hc-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 30px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3d4f4b;
  margin-top: 8px;
  white-space: nowrap;
}
/* Title with vertical gradient */
.hc-title {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 168px;
  line-height: 1.18;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 0;
  padding: 24px 0 0;
  white-space: nowrap;
  background-image: linear-gradient(180deg, #4eb09d 0%, #0e7c6a 50%, #094e44 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hc-title-sub {
  display: block;
  font-size: 108px;
  white-space: nowrap;
  background-image: linear-gradient(180deg, #2a3f3a 0%, #1a2e2a 60%, #0e1a17 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
/* Gold pills */
.hc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}
.hc-pill {
  display: inline-flex;
  align-items: center;
  padding: 18px 44px;
  border-radius: 999px;
  background: linear-gradient(90deg, #a37e4a 0%, #c8a06a 12%, #e6c98c 30%, #f7e3b0 48%, #f0d49c 60%, #d3aa70 78%, #a37e4a 100%);
  color: #3a2c14;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 30px;
  letter-spacing: 0.005em;
  box-shadow:
    0 14px 32px rgba(58,44,20,0.22),
    inset 0 1px 0 rgba(255,245,220,0.9),
    inset 0 -2px 6px rgba(58,44,20,0.14);
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255,245,220,0.5);
}

/* ============ EXPANDABLE BONUS CARD (Keshyu-style) ============ */
.bn-card {
  position: relative;
  display: block;
  background: var(--color-bg-card);
  border: 1px solid var(--color-card-border);
  border-radius: 16px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  box-shadow: 0 2px 10px rgba(0,98,96,0.05);
}
.bn-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,98,96,0.10);
}
.bn-card.locked {
  opacity: 0.78;
  background: #FBFBFB;
}
.bn-card.locked:hover { transform: none; }
.bn-card.bn-highlight {
  animation: bnHighlight 1.6s ease-out;
}
@keyframes bnHighlight {
  0%   { box-shadow: 0 0 0 0 rgba(34,176,137,0.6); border-color: var(--color-primary); }
  40%  { box-shadow: 0 0 0 10px rgba(34,176,137,0.18); border-color: var(--color-primary); }
  100% { box-shadow: 0 0 0 0 rgba(34,176,137,0); }
}
.bn-head {
  display: flex; align-items: flex-start;
  gap: 12px;
  padding: 14px 14px 12px;
}
.bn-ico {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary-soft), #fff);
  border: 1px solid rgba(34,176,137,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  overflow: hidden;
}
.bn-ico img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.bn-card.locked .bn-ico {
  background: linear-gradient(135deg, #f0f0f0, #fafafa);
  border-color: var(--color-card-border);
  filter: grayscale(0.5);
}
.bn-info { flex: 1; min-width: 0; }
.bn-tag {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  background: var(--color-primary-soft);
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 5px;
}
.bn-card.locked .bn-tag { color: var(--color-text-muted); background: #f0f0f0; }
.bn-name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 4px;
}
.bn-card:not(.locked) .bn-name {
  background: linear-gradient(180deg, var(--color-primary), var(--color-primary-dark));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bn-status {
  font-family: var(--font-sub);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: var(--color-primary);
  text-transform: uppercase;
}
.bn-card.locked .bn-status { color: var(--color-text-muted); }
.bn-value { color: var(--color-gold-border); font-weight: 700; }
.bn-chev {
  flex-shrink: 0;
  color: var(--color-primary);
  transition: transform 0.3s ease;
  margin-top: 4px;
}
.bn-card.open .bn-chev { transform: rotate(180deg); }
.bn-card.locked .bn-chev { color: var(--color-text-muted); }
.bn-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.bn-card.open .bn-body { max-height: 700px; }
.bn-body-inner {
  padding: 4px 14px 14px;
  border-top: 1px dashed rgba(34,176,137,0.22);
  margin-top: 4px;
  padding-top: 12px;
}
.bn-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0 0 10px;
}
.bn-why {
  background: linear-gradient(135deg, var(--color-primary-soft) 0%, #d8efe7 100%);
  border-left: 3px solid var(--color-primary);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 12px;
}
.bn-why-l {
  display: block;
  font-family: var(--font-sub);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  margin-bottom: 3px;
}
.bn-why-t {
  font-size: 12px;
  color: var(--color-text);
  line-height: 1.5;
}
.bn-meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 12px;
}
.bn-reward-pill {
  background: linear-gradient(90deg, var(--color-gold-from), var(--color-gold-to));
  color: #2a1f08;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 11px;
  border: 1px solid var(--color-gold-border);
}
.bn-body-inner .btn-sm {
  width: 100%;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
}
.btn-sm.btn-gold {
  background: linear-gradient(90deg, var(--color-gold-from), var(--color-gold-to));
  border: 1.5px solid var(--color-gold-border);
  color: #2a1f08;
  box-shadow: 0 4px 14px rgba(241,193,101,0.35);
}
.btn-sm.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary-dark);
}

/* ============ EXCLUSIVE BONUSES BANNER ============ */
.exclusive-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #005544 0%, #007660 60%, #005544 100%);
  border-radius: 20px;
  padding: 22px 20px;
  margin: 28px 0 16px;
  color: #fff;
  box-shadow: 0 14px 36px rgba(0,98,96,0.30);
}
.exclusive-banner::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(241,193,101,0.30) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.exclusive-banner::after {
  content: '';
  position: absolute;
  bottom: -50px; left: -50px;
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(34,176,137,0.32) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.exclusive-banner > * { position: relative; z-index: 1; }
.excl-badge {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(180deg, var(--color-gold-from), var(--color-gold-to));
  color: #2a1f08;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--color-gold-border);
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(241,193,101,0.45);
}
.excl-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.15;
  margin: 0 0 8px;
  color: #fff;
  text-transform: uppercase;
}
.excl-title span {
  background: linear-gradient(180deg, var(--color-gold-to) 0%, var(--color-gold-from) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.excl-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
  margin: 0 0 16px;
}
.excl-stats {
  display: flex; gap: 8px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255,255,255,0.22);
}
.excl-stat { flex: 1; text-align: center; }
.excl-stat-v {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.5px;
  color: #fff;
}
.excl-stat-l {
  font-family: var(--font-sub);
  font-size: 9px;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 3px;
  font-weight: 600;
}

/* Эксклюзивные карточки: золотая обводка */
.bn-card.exclusive {
  background: linear-gradient(180deg, #fffefa 0%, #fff8e8 100%);
  border-color: rgba(215,182,121,0.55);
  box-shadow: 0 4px 14px rgba(241,193,101,0.18);
}
.bn-card.exclusive .bn-ico {
  background: linear-gradient(135deg, #fff4dc, #fae5b4);
  border-color: rgba(215,182,121,0.5);
}
.bn-card.exclusive .bn-tag {
  background: rgba(241,193,101,0.18);
  color: #8a6620;
}

/* ============ FIGMA HERO (1:1 from node 19:142) ============ */
.figma-hero {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 18px;
  padding: 18px 16px;
  margin: 0 0 18px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.fh-hex {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.fh-halftone {
  position: absolute;
  right: -40px;
  top: -20px;
  width: 65%;
  height: 95%;
  background:
    radial-gradient(circle at 30% 50%, rgba(34,176,137,0.12) 0%, transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(241,193,101,0.10) 0%, transparent 65%);
  pointer-events: none;
  z-index: 2;
}
.fh-photo {
  position: absolute;
  right: -22px;
  bottom: 0;
  height: 96%;
  width: auto;
  max-width: 50%;
  object-fit: contain;
  object-position: bottom right;
  z-index: 3;
  filter: drop-shadow(-6px 8px 14px rgba(0,98,96,0.12));
  pointer-events: none;
}
.fh-content {
  position: relative;
  z-index: 4;
  max-width: 60%;
  padding-top: 4px;
}
.fh-sub {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.3px;
  color: #030D09;
  margin: 0 0 12px;
  line-height: 1.3;
}
.fh-title {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.0;
  letter-spacing: 0.4px;
  color: #007660;
  margin: 0;
  padding-top: 6px;
  text-transform: lowercase;
}
.fh-name {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 5;
  font-family: 'Oswald', 'Montserrat', sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 17px;
  letter-spacing: 1.5px;
  text-transform: lowercase;
  color: #007660;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(255,255,255,0.6);
}
@media (max-width: 360px) {
  .figma-hero { min-height: 280px; }
  .fh-title { font-size: 22px; }
  .fh-content { max-width: 58%; }
  .fh-sub { font-size: 10px; }
  .fh-name { font-size: 14px; bottom: 8px; right: 10px; }
  .fh-photo { max-width: 46%; }
}

/* ============ OVERVIEW hero (canonical, legacy) ============ */
.hero-banner-v2 {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-card-border);
  border-radius: 22px;
  padding: 18px 16px 0;
  margin: 0 0 18px;
  overflow: hidden;
  min-height: 280px;
  box-shadow: var(--shadow-card);
  color: var(--color-text);
}
.hero-banner-v2 .hexagon-decor {
  opacity: 0.55;
  z-index: 0;
  position: absolute;
  top: 0; right: 0;
  width: 55%;
  height: 100%;
}
.hero-banner-v2 .glow-teal {
  right: -60px;
  bottom: -80px;
  width: 280px;
  height: 280px;
  z-index: 1;
  opacity: 0.35;
}
.hero-banner-v2 .texture-overlay { z-index: 2; opacity: 0.08; }
.hb2-content {
  position: relative;
  z-index: 4;
  max-width: 75%;
  padding-bottom: 22px;
}
.hb2-badge {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  border: 1px solid var(--color-primary);
  margin-bottom: 16px;
}
.hb2-eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--color-primary-dark);
  margin: 0 0 10px;
  text-transform: uppercase;
  line-height: 1.35;
}
.hb2-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  margin: 0 0 18px;
  padding-top: 8px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #005544 0%, #007660 50%, #007660 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hb2-expert {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, var(--color-gold-from), var(--color-gold-to));
  border: 1.5px solid var(--color-gold-border);
  border-radius: 999px;
  padding: 6px 14px 6px 6px;
  box-shadow: 0 4px 14px rgba(241,193,101,0.35);
}
.hb2-expert-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-primary-dark);
  border: 1.5px solid #fff;
}
.hb2-expert-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hb2-expert-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: #000;
}
.hb2-expert-name {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.5px;
}
.hb2-expert-tag {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  color: rgba(0,0,0,0.65);
  margin-top: 2px;
}
.hb2-photo {
  position: absolute;
  right: -8px;
  bottom: 0;
  height: 88%;
  width: auto;
  max-width: 28%;
  object-fit: contain;
  object-position: bottom right;
  z-index: 3;
  filter: drop-shadow(-6px 8px 14px rgba(0,98,96,0.18));
  pointer-events: none;
}
@media (max-width: 360px) {
  .hb2-title { font-size: 20px; }
  .hb2-eyebrow { font-size: 9px; letter-spacing: 1.2px; }
  .hb2-content { max-width: 68%; }
  .hb2-photo { max-width: 32%; }
}

/* ============ GIFT BANNER ============ */
.gift-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 14px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 45%),
    linear-gradient(90deg, #F6594F 0%, #FA6F48 50%, #FE8441 100%);
  border: none;
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 -2px 6px rgba(180,40,30,0.18),
    0 6px 14px rgba(60,30,20,0.22),
    0 14px 28px rgba(60,30,20,0.18);
  margin: 16px 0 18px;
  cursor: pointer;
  overflow: hidden;
  transition: transform .15s, box-shadow .15s;
}
.gift-banner:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    inset 0 -2px 6px rgba(180,40,30,0.2),
    0 8px 18px rgba(60,30,20,0.28),
    0 18px 34px rgba(60,30,20,0.22);
}
.gift-banner:active { transform: scale(0.98); }
.gift-banner.is-claiming {
  pointer-events: none;
  animation: gbOut .55s ease forwards;
}
@keyframes gbOut {
  0% { transform: scale(1); opacity: 1; }
  60% { transform: translateY(-8px) scale(0.96); opacity: 0.5; }
  100% { transform: translateY(-30px) scale(0.9); opacity: 0; max-height: 0; padding: 0; margin: 0; border-width: 0; }
}
.gb-decor {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(255,255,255,0.45), transparent 60%);
  pointer-events: none;
}
.gb-icon {
  font-size: 30px;
  z-index: 2;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.18));
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gb-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.gb-body {
  flex: 1;
  min-width: 0;
  z-index: 2;
  color: #FFFFFF;
}
.gb-label {
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #FFFFFF;
  margin-bottom: 3px;
  text-shadow: 0 1px 2px rgba(180,40,30,0.35);
}
.gb-title {
  font-family: var(--font-heading);
  font-size: 17px;
  letter-spacing: 0.5px;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 4px;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(180,40,30,0.35);
}
.gb-subtitle {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  line-height: 1.25;
  margin-bottom: 3px;
}
.gb-cta {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(180,40,30,0.4);
}
.gb-spark {
  position: absolute;
  font-size: 14px;
  z-index: 3;
  pointer-events: none;
  animation: gbSpark 1.6s ease-in-out infinite;
}
.gb-s1 { top: 6px; right: 12px; animation-delay: 0s; }
.gb-s2 { bottom: 8px; left: 56px; animation-delay: 0.7s; font-size: 11px; }
@keyframes gbSpark {
  0%, 100% { opacity: 0.3; transform: scale(0.8) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(20deg); }
}

/* ============ TOUR ENTRY CARD ============ */
.tour-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 16px;
  background: linear-gradient(135deg, rgba(79,195,230,0.10) 0%, rgba(42,143,203,0.08) 100%);
  border: 2px dashed rgba(42,143,203,0.55);
  border-radius: var(--radius-card);
  color: var(--color-text);
  margin: 14px 0;
  overflow: hidden;
}
.tour-card::after {
  content: none;
}
.tc-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.tc-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.tc-body { flex: 1; min-width: 0; position: relative; z-index: 1; }
.tc-label {
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: #1F73AB;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.tc-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2px;
  color: var(--color-text-muted);
  line-height: 1.35;
}
.tc-go {
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, #4FC3E6 0%, #2A8FCB 100%);
  border: none;
  color: #FFFFFF;
  border-radius: 999px;
  padding: 9px 18px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  box-shadow:
    0 4px 12px rgba(42,143,203,0.35),
    inset 0 1px 0 rgba(255,255,255,0.25);
}
.tc-go:active { transform: scale(0.97); }

/* ============ TOUR MODAL ============ */
.tour-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn .2s;
}
.tour-overlay.show { display: flex; }
.tour-card-modal {
  position: relative;
  background: var(--color-bg-card);
  border-radius: 22px;
  width: 100%;
  max-width: 380px;
  min-height: 460px;
  padding: 24px 22px 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  overflow: hidden;
  animation: modalUp .35s;
  display: flex;
  flex-direction: column;
}
.tour-card-modal::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 220px;
  background: radial-gradient(circle at 50% 0%, rgba(34,176,137,0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.tour-progress {
  display: flex;
  gap: 4px;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}
.tp-dot {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--color-card-border);
  overflow: hidden;
  transition: background .3s;
}
.tp-dot.done { background: var(--color-primary); }
.tp-dot.active {
  background: linear-gradient(90deg, var(--color-primary) 0%, rgba(34,176,137,0.3) 100%);
  position: relative;
}
.tp-dot.active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  width: 50%;
}

.tour-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 20px;
  animation: tourFade .35s;
}
@keyframes tourFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.ts-icon {
  font-size: 56px;
  margin-bottom: 14px;
  filter: drop-shadow(0 4px 12px rgba(34,176,137,0.25));
}
.ts-title {
  font-family: var(--font-heading);
  font-size: 26px;
  letter-spacing: 1px;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
  line-height: 1.05;
  text-transform: uppercase;
}
.ts-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text);
  max-width: 280px;
  margin: 0 auto;
}

.tour-nav {
  display: flex;
  gap: 10px;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-top: 14px;
}
.tour-nav button {
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  cursor: pointer;
  transition: transform .15s, opacity .15s;
}
#tour-prev {
  background: transparent;
  border: 1.5px solid var(--color-card-border);
  color: var(--color-text-muted);
  min-width: 56px;
}
#tour-prev:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
#tour-next {
  flex: 1;
  background: linear-gradient(90deg, var(--color-gold-from), var(--color-gold-to));
  border: 1.5px solid var(--color-gold-border);
  color: #000;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(241,193,101,0.35);
}
#tour-next:active { transform: scale(0.97); }

.tour-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--color-card-border);
  color: var(--color-text-muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tour-close:hover { background: rgba(0,0,0,0.08); }

/* tour help re-open icon in overview header */
.tour-help-btn {
  display: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  border: 1px solid var(--color-primary);
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-size: 16px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-right: 8px;
  flex-shrink: 0;
}
.tour-help-btn.visible { display: inline-flex; }

/* Кнопка чата поддержки в шапке + бейдж непрочитанных */
.ov-chat-btn {
  position: relative;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  border: 1px solid var(--color-primary);
  font-size: 17px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; margin-right: 8px; flex-shrink: 0;
  transition: transform .12s;
}
.ov-chat-btn:hover { transform: translateY(-1px); }
.ov-chat-badge {
  position: absolute; top: -5px; right: -5px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: #E05252; color: #fff;
  font-size: 11px; font-weight: 800; font-family: var(--font-body);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px #fff;
  animation: ovChatPulse 1.6s infinite;
}
@keyframes ovChatPulse {
  0%, 100% { box-shadow: 0 0 0 2px #fff, 0 0 0 0 rgba(224,82,82,.5); }
  60% { box-shadow: 0 0 0 2px #fff, 0 0 0 7px rgba(224,82,82,0); }
}

/* desktop tour modal stays above phone-frame */
@media (min-width: 768px) {
  .tour-overlay { z-index: 1100; }
}

/* ═══════════════════════════════════════════
   INSTALL BANNER (PWA promo, ЮЛБ teal)
   ═══════════════════════════════════════════ */
.install-banner {
  position: relative;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 45%),
    linear-gradient(135deg, #007660 0%, #007660 50%, #007660 100%);
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  margin: 0 0 18px;
  overflow: hidden;
  box-shadow:
    0 12px 28px rgba(0,98,96,0.35),
    inset 0 1px 0 rgba(255,255,255,0.18);
  color: #fff;
  animation: ibPulse 2.6s ease-in-out infinite;
}
/* Выделенный стиль — для PWA-баннера на главной (приоритетная цель) */
.install-banner-prominent {
  background:
    linear-gradient(115deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 45%),
    linear-gradient(135deg, #00936f 0%, #007660 55%, #00564a 100%);
  border: 2px solid rgba(255,255,255,0.35);
  box-shadow:
    0 16px 36px rgba(0,118,96,0.45),
    0 0 0 4px rgba(0,150,111,0.15),
    inset 0 1px 0 rgba(255,255,255,0.25);
  margin: 0 0 22px;
}
.install-banner-prominent .ib-title {
  font-family: var(--font-heading);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.5px;
}
.install-banner-prominent .ib-claim-btn {
  background: #fff;
  color: #007660;
  font-weight: 800;
  border: none;
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}
.install-banner::before {
  content: '';
  position: absolute;
  top: -28px; right: -28px;
  width: 110px; height: 110px;
  background: radial-gradient(circle, rgba(255,255,255,0.30) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.install-banner::after {
  content: '';
  position: absolute;
  bottom: -30px; left: -30px;
  width: 130px; height: 130px;
  background: radial-gradient(circle, rgba(34,176,137,0.40) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
@keyframes ibPulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(0,98,96,0.35); }
  50%      { box-shadow: 0 14px 36px rgba(0,98,96,0.50); }
}

.ib-header {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  transition: background 0.2s;
}
.ib-header:hover { background: rgba(255,255,255,0.06); }
.ib-gift {
  font-size: 34px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35));
  animation: ibGiftBounce 2s ease-in-out infinite;
}
@keyframes ibGiftBounce {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-3px) rotate(3deg); }
}
.ib-head-txt { flex: 1; min-width: 0; }
.ib-title {
  font-size: 14px; font-weight: 800;
  color: #FFFFFF;
  line-height: 1.35;
}
.ib-title b {
  color: #FFFFFF;
  background: none;
  -webkit-background-clip: initial; -webkit-text-fill-color: initial;
  background-clip: initial;
  font-weight: 900;
}
.ib-title i.coin {
  -webkit-text-fill-color: initial;
  background: none;
}
.ib-sub {
  font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,0.78);
  margin-top: 3px;
}
.ib-chevron {
  color: rgba(255,255,255,0.85);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.install-banner.open .ib-chevron { transform: rotate(180deg); }

.ib-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  position: relative; z-index: 1;
}
.install-banner.open .ib-body { max-height: 2000px; }
.ib-divider {
  height: 1px;
  margin: 0 18px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
}

.ib-gift-details {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 14px 18px 4px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  backdrop-filter: blur(4px);
}
.ib-gift-ico {
  font-size: 28px;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.95);
  border-radius: 12px;
  overflow: hidden;
}
.ib-gift-name {
  font-size: 13px; font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 2px;
}
.ib-gift-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.82);
  line-height: 1.4;
}

/* Полноэкранная плашка «последний шаг — разрешите уведомления» */
.push-gate {
  position: fixed; inset: 0; z-index: 100000;
  background: linear-gradient(160deg, #0A6E5C 0%, #00543F 100%);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.pg-card { max-width: 380px; width: 100%; text-align: center; color: #fff; }
.pg-ico { font-size: 72px; line-height: 1; margin-bottom: 12px; }
.pg-title { font-size: 26px; font-weight: 800; margin: 0 0 12px; }
.pg-text { font-size: 16px; line-height: 1.5; opacity: 0.92; margin: 0 0 28px; }
.pg-allow {
  display: block; width: 100%; padding: 17px; border: 0; border-radius: 14px;
  background: #F5A623; color: #fff; font-size: 17px; font-weight: 800; cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.pg-allow:active { transform: scale(0.98); }
.pg-later {
  display: block; width: 100%; margin-top: 14px; padding: 10px; border: 0;
  background: transparent; color: rgba(255,255,255,0.7); font-size: 14px; cursor: pointer;
}

/* Приглашение включить push-уведомления */
.push-prompt {
  display: flex; align-items: center; gap: 12px;
  background: #FFFFFF; border: 1.5px solid #D6E6E2;
  border-radius: 16px; padding: 12px 14px; margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(0,118,96,0.06);
}
.pp-ico { font-size: 26px; flex-shrink: 0; }
.pp-body { flex: 1; min-width: 0; }
.pp-title { font-weight: 700; font-size: 14.5px; color: #243B53; }
.pp-sub { font-size: 12.5px; color: #62707D; margin-top: 2px; line-height: 1.35; }
.pp-btn {
  flex-shrink: 0; border: 0; border-radius: 11px;
  background: #007660; color: #fff; font-weight: 700; font-size: 14px;
  padding: 10px 16px; cursor: pointer;
}
.pp-btn:active { transform: scale(0.97); }

.ib-illus {
  margin: 12px 18px 4px;
  background: #F4F8FA;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  padding: 10px 8px;
  max-width: 340px;
}
.ib-illus svg { display: block; }
/* Пошаговая иллюстрация (iOS) */
.ib-illus-steps {
  margin: 12px 18px 4px;
  display: flex; flex-direction: column; gap: 14px;
  max-width: 360px;
}
.ib-istep-head {
  display: flex; align-items: center; gap: 9px;
  color: #fff; font-size: 13.5px; font-weight: 600; margin-bottom: 7px;
}
.ib-inum {
  width: 21px; height: 21px; border-radius: 50%;
  background: #F5A623; color: #fff; font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ib-shot {
  background: #EAF1F4; border-radius: 12px; padding: 8px 10px;
}
.ib-shot svg { display: block; }
.ib-steps {
  margin: 14px 18px;
  display: flex; flex-direction: column;
  gap: 10px;
}
.ib-step {
  display: flex; align-items: flex-start; gap: 12px;
}
.ib-num {
  width: 26px; height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--color-gold-from) 0%, var(--color-gold-to) 100%);
  border: 1px solid var(--color-gold-border);
  color: #005544;
  font-size: 13px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(241,193,101,0.45);
}
.ib-txt {
  flex: 1;
  font-size: 12px;
  color: rgba(255,255,255,0.92);
  line-height: 1.5;
  padding-top: 3px;
}
.ib-txt b {
  color: var(--color-gold-to);
  font-weight: 800;
}
.ib-ico {
  font-size: 14px;
  vertical-align: middle;
}

.ib-bonus-note {
  margin: 10px 18px 16px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.10);
  border-left: 3px solid var(--color-gold-from);
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255,255,255,0.90);
  font-style: italic;
}

.ib-claim-btn {
  display: block;
  margin: 6px 18px 16px;
  padding: 12px 16px;
  width: calc(100% - 36px);
  background: linear-gradient(90deg, var(--color-gold-from), var(--color-gold-to));
  border: 1.5px solid var(--color-gold-border);
  color: #000;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(241,193,101,0.35);
}
.ib-claim-btn:disabled {
  opacity: 0.7;
  cursor: default;
}

/* ═══════════════════════════════════════════
   TASK 2 — Day-gift pills (inside program cards)
   ═══════════════════════════════════════════ */
/* Always-visible block under pc-header (gifts + task status) */
.pc-visible {
  padding: 10px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px dashed var(--color-card-border);
}
.pc-result {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px 10px 38px;
  background: linear-gradient(135deg, rgba(63,184,122,0.10) 0%, rgba(168,229,194,0.18) 100%);
  border: 1px solid rgba(63,184,122,0.32);
  border-radius: 12px;
}
.pc-result::before {
  content: '✓';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #6BCB95, #3FB87A);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(30,100,60,0.25);
}
.pc-result-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #2E7D52;
}
.pc-result-text {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
}

.day-gifts {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
}
.dg-label {
  display: none;
}
.dg-pill {
  flex: 1 1 calc(50% - 4px);
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  padding: 8px 10px 8px 8px;
  border-radius: 12px;
  background: #FFFFFF;
  color: var(--color-text);
  border: 1px solid rgba(34,176,137,0.45);
  white-space: normal;
  overflow-wrap: anywhere;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.dg-pill .dg-ico {
  width: 40px;
  height: 40px;
}
.dg-pill:hover {
  border-color: var(--color-primary);
  background: rgba(230,246,241,0.4);
  transform: translateY(-1px);
}
.dg-pill .dg-ico {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
}
.dg-pill .dg-ico img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.dg-pill .dg-txt {
  display: block;
  color: var(--color-text);
  flex: 1;
  min-width: 0;
}
.dg-pill.dg-coin {
  background: linear-gradient(180deg, #FFFEFA, #FFF6E2);
  border-color: var(--color-gold-border);
  color: #5a3f0c;
  font-weight: 700;
}
.dg-pill.dg-coin .dg-txt { color: #5a3f0c; }
.dg-pill .coin {
  width: 1em;
  height: 1em;
}

/* Task status row under gifts */
.pc-task {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.pc-task .pc-task-text { flex: 1; }
.pc-task .pc-task-arrow { font-size: 14px; opacity: 0.7; }
.pc-task .pc-task-ico {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.pc-task.done {
  background: rgba(34,176,137,0.12);
  border: 1px solid rgba(34,176,137,0.35);
  color: var(--color-primary-dark);
}
.pc-task.done .pc-task-ico { background: var(--color-primary); color: #fff; }
.pc-task.pending {
  background: rgba(241,193,101,0.18);
  border: 1px solid var(--color-gold-border);
  color: #8a6620;
}
.pc-task.pending .pc-task-ico {
  background: linear-gradient(180deg, var(--color-gold-from), var(--color-gold-to));
  color: #2a1f08;
}
.pc-task.locked {
  background: #f4f4f4;
  border: 1px dashed var(--color-card-border);
  color: var(--color-text-muted);
  cursor: default;
}
.pc-task.locked .pc-task-ico { background: #e2e2e2; color: var(--color-text-muted); }
.pc-task.locked .pc-task-arrow { display: none; }

/* ═══════════════════════════════════════════
   TASK 3 — Tour CTA hint (small italic teal text)
   ═══════════════════════════════════════════ */
.tour-cta {
  font-family: var(--font-body);
  font-size: 12px;
  font-style: italic;
  color: var(--color-primary-dark);
  margin-top: 12px;
  padding: 6px 10px;
  border-left: 2px solid var(--color-primary);
  background: var(--color-primary-soft);
  border-radius: 4px;
  max-width: 280px;
  text-align: left;
}

/* ═══════════════════════════════════════════
   TASK 4 — WARMUP HERO (НАЧНИТЕ ЗДЕСЬ)
   ═══════════════════════════════════════════ */
.warmup-hero {
  position: relative;
  margin: 22px 0 18px;
  padding: 18px 14px 14px;
  background:
    linear-gradient(180deg, rgba(34,176,137,0.10) 0%, rgba(34,176,137,0.03) 100%),
    var(--color-white);
  border: 2px dashed var(--color-primary);
  border-radius: 18px;
  overflow: hidden;
  animation: whGlow 3s ease-in-out infinite;
}
.warmup-hero.is-complete {
  border-style: solid;
  border-color: var(--color-gold-border);
  animation: none;
  background:
    linear-gradient(180deg, rgba(241,193,101,0.10) 0%, rgba(252,221,148,0.04) 100%),
    var(--color-white);
}
@keyframes whGlow {
  0%, 100% { box-shadow: 0 4px 14px rgba(34,176,137,0.18); }
  50%      { box-shadow: 0 8px 28px rgba(34,176,137,0.32); }
}
.wh-decor {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 0%, rgba(34,176,137,0.18), transparent 60%);
  pointer-events: none;
}
.wh-badge {
  position: relative;
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4FC3E6 0%, #2A8FCB 100%);
  border: none;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
  box-shadow: 0 3px 12px rgba(42,143,203,0.45);
  animation: whBadgePulse 2s ease-in-out infinite;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(0,40,80,0.25);
}
.wh-badge.is-done {
  animation: none;
  background: var(--color-primary-soft);
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
  text-shadow: none;
}
@keyframes whBadgePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 3px 12px rgba(42,143,203,0.45); }
  50%      { transform: scale(1.05); box-shadow: 0 5px 18px rgba(42,143,203,0.65); }
}
.wh-title {
  position: relative;
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 0.5px;
  margin: 4px 0 4px;
  text-transform: uppercase;
  color: var(--color-text);
  z-index: 2;
  line-height: 1.05;
}
.wh-sub {
  position: relative;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 14px;
  z-index: 2;
}
.warmup-hero .warmup-cards { position: relative; z-index: 2; }
.wh-progress {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(34,176,137,0.18);
  z-index: 2;
}
.wh-progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(34,176,137,0.14);
  border-radius: 999px;
  overflow: hidden;
}
.wh-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
  width: 0;
  transition: width .5s ease;
  border-radius: 999px;
}
.warmup-hero.is-complete .wh-progress-fill {
  background: linear-gradient(90deg, var(--color-gold-from), var(--color-gold-to));
}
#wh-progress-text {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary-dark);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════
   TASK 5 — Active program day highlight + countdown
   ═══════════════════════════════════════════ */
.program-card.program-day--active {
  border: 2px solid var(--color-primary);
  background:
    linear-gradient(135deg, rgba(34,176,137,0.06) 0%, rgba(34,176,137,0.01) 100%),
    var(--color-white);
  box-shadow:
    0 0 0 4px rgba(34,176,137,0.15),
    0 8px 24px rgba(34,176,137,0.25);
  animation: dayActivePulse 2.5s ease-in-out infinite;
}
@keyframes dayActivePulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34,176,137,0.15), 0 8px 24px rgba(34,176,137,0.25); }
  50%      { box-shadow: 0 0 0 6px rgba(34,176,137,0.20), 0 10px 30px rgba(34,176,137,0.35); }
}
.day-countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 10px 14px 12px;
  padding: 6px 12px;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(0,98,96,0.30);
}
.day-cd-time {
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: 1px;
}

/* ═══════════════════════════════════════════
   TASK 1 — MY BONUSES (in profile)
   ═══════════════════════════════════════════ */
.mb-groups {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mb-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 4px;
  cursor: pointer;
  user-select: none;
}
.mb-group-title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--color-text);
}
.mb-group-title.unlocked { color: var(--color-primary-dark); }
.mb-group-title.locked   { color: var(--color-text-muted); }
.mb-group-chev {
  font-size: 12px;
  color: var(--color-text-muted);
  transition: transform .2s;
}
.mb-group.collapsed .mb-group-chev { transform: rotate(-90deg); }
.mb-group.collapsed .mb-list { display: none; }

.mb-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 2px;
}

.mb-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--color-card-border);
  background: #fafafa;
}
.mb-card.unlocked {
  border-color: var(--color-gold-border);
  background: linear-gradient(135deg, rgba(241,193,101,0.10), rgba(252,221,148,0.05));
}
.mb-card.locked {
  opacity: 0.85;
  background: #f4f4f4;
}
.mb-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.mb-card.unlocked .mb-icon {
  background: linear-gradient(135deg, var(--color-gold-from), var(--color-gold-to));
  color: #000;
  border: 1px solid var(--color-gold-border);
}
.mb-card.locked .mb-icon {
  background: #e0e0e0;
  color: #888;
}
.mb-body { flex: 1; min-width: 0; }
.mb-title {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 3px;
}
.mb-card.locked .mb-title { color: var(--color-text-muted); }
.mb-reward {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
}
.mb-card.unlocked .mb-reward {
  background: rgba(241,193,101,0.25);
  color: #6b4a14;
}
.mb-hint {
  display: block;
  margin-top: 4px;
  font-size: 10.5px;
  font-style: italic;
  color: var(--color-text-muted);
  line-height: 1.35;
}

/* ============ TH-DECK: ДЗ 1 SLIDE-DECK THEORY ============ */
.th-deck {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 6px 0 14px;
}
.th-slide {
  position: relative;
  background: var(--color-white);
  border-radius: 16px;
  padding: 18px 14px 16px;
  box-shadow: 0 6px 18px rgba(0,98,96,0.08);
  border: 1px solid rgba(34,176,137,0.18);
  overflow: hidden;
}
.th-slide-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  margin: 0 0 14px;
}
.th-slide-title--center { text-align: center; }
.th-mint { color: var(--color-primary); }

/* === Slide 1 — COVER === */
.th-cover { padding-top: 16px; padding-bottom: 18px; }
.th-cover-pill {
  display: inline-block;
  background: var(--color-primary-dark);
  color: var(--color-white);
  font-family: var(--font-display);
  letter-spacing: 1.5px;
  font-size: 18px;
  padding: 8px 22px;
  border-radius: 8px;
  text-transform: uppercase;
}
.th-cover-eyebrow {
  margin-top: 10px;
  font-family: var(--font-sub);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
}
.th-cover-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.th-num-card {
  background: var(--color-white);
  border: 1px solid rgba(34,176,137,0.35);
  border-radius: 12px;
  padding: 10px 10px 11px;
  display: flex;
  flex-direction: column;
  min-height: 96px;
}
.th-num-card--wide {
  grid-column: 1 / -1;
  background: var(--color-primary-soft);
  border-color: var(--color-primary);
}
.th-num-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.th-num-ico { font-size: 18px; line-height: 1; }
.th-num-pill {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 14px;
  letter-spacing: 1px;
}
.th-num-arrow {
  color: var(--color-primary-dark);
  font-size: 16px;
  font-weight: 700;
  margin-left: auto;
}
.th-num-card-text {
  font-size: 12px;
  line-height: 1.35;
  color: var(--color-text);
}
.th-cover-photo {
  display: none;
}
.th-cover-tag {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: linear-gradient(90deg, var(--color-gold-from), var(--color-gold-to));
  color: var(--color-primary-dark);
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: 10px;
  border: 1px solid var(--color-gold-border);
}

/* === Slide 2 — STAIR CHART === */
.th-stairs .th-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 150px;
  margin-top: 4px;
}
.th-bar {
  flex: 1;
  background: rgba(34,176,137,0.20);
  border-radius: 8px 8px 0 0;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6px;
}
.th-bar span {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(0,98,96,0.55);
}
.th-bar-1 { height: 100%; background: rgba(34,176,137,0.30); }
.th-bar-2 { height: 75%;  background: rgba(34,176,137,0.25); }
.th-bar-3 { height: 50%;  background: rgba(34,176,137,0.20); }
.th-bar-4 { height: 30%;  background: rgba(34,176,137,0.15); }
.th-bars-legend {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.th-bars-legend span {
  flex: 1;
  text-align: center;
  font-family: var(--font-sub);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--color-primary-dark);
}

/* === Slide 3 — ОСВОБОЖДЕНИЕ (CHECK CARDS) === */
.th-check-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--color-white);
  border: 1px solid rgba(34,176,137,0.28);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}
.th-check-card:last-child { margin-bottom: 0; }
.th-check-medal {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.th-check-body { flex: 1; min-width: 0; }
.th-check-lead {
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--color-text);
}
.th-check-list {
  margin: 0;
  padding-left: 18px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--color-text);
}
.th-check-list li { margin-bottom: 3px; list-style: disc; }
.th-check-list b { color: var(--color-primary-dark); }

/* === Slide 4 — ПОЧЕМУ ТАК (TWO CARD) === */
.th-why-sub {
  text-align: center;
  font-family: var(--font-sub);
  font-size: 13px;
  color: var(--color-text-muted);
  margin: -8px 0 14px;
}
.th-two-card {
  background: var(--color-white);
  border: 1px solid rgba(34,176,137,0.30);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}
.th-two-card:last-child { margin-bottom: 0; }
.th-two-card.is-mint {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
}
.th-two-card.is-mint .th-two-card-num,
.th-two-card.is-mint .th-two-card-title { color: var(--color-white); }
.th-two-card.is-mint .th-two-card-text { color: rgba(255,255,255,0.92); }
.th-two-card.is-mint .th-two-card-hl {
  background: rgba(255,255,255,0.18);
  color: var(--color-white);
  border-color: rgba(255,255,255,0.35);
}
.th-two-card.is-mint .th-two-card-list { color: rgba(255,255,255,0.92); }
.th-two-card-num {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--color-primary);
}
.th-two-card-title {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-primary-dark);
  margin: 2px 0 8px;
}
.th-two-card-text {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--color-text);
  margin-bottom: 8px;
}
.th-two-card-hl {
  display: inline-block;
  background: var(--color-primary-soft);
  border: 1px solid var(--color-primary);
  color: var(--color-primary-dark);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  margin: 4px 0 8px;
}
.th-two-card-list {
  margin: 0;
  padding-left: 18px;
  font-size: 12.5px;
  line-height: 1.5;
}
.th-two-card-list li { margin-bottom: 3px; list-style: disc; }

/* === Slide 5 — ЭТАПЫ АНАЛИЗА === */
.th-stage {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px dashed rgba(34,176,137,0.25);
}
.th-stage:first-of-type { border-top: 0; padding-top: 0; }
.th-stage-num {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary-dark);
  font-family: var(--font-display);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.th-stage-body { flex: 1; min-width: 0; }
.th-stage-title {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--color-primary-dark);
  margin-bottom: 4px;
  line-height: 1.3;
}
.th-stage-list {
  margin: 4px 0 6px;
  padding-left: 18px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--color-text);
}
.th-stage-list li { margin-bottom: 2px; list-style: disc; }
.th-stage-foot {
  font-size: 11.5px;
  font-style: italic;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-top: 4px;
}

/* === Slide 6 — АЛГОРИТМ (STEPS) === */
.th-step {
  position: relative;
  background: var(--color-white);
  border: 1px solid rgba(34,176,137,0.30);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 22px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.th-step:last-child { margin-bottom: 0; }
.th-step + .th-step::before {
  content: "↓";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 800;
}
.th-step-num {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--color-primary);
}
.th-step-text {
  flex: 1;
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-text);
}
.th-step-text b { color: var(--color-primary-dark); }
.th-step.is-gold {
  background: linear-gradient(135deg, var(--color-gold-from), var(--color-gold-to));
  border-color: var(--color-gold-border);
}
.th-step.is-gold .th-step-num { color: var(--color-primary-dark); }
.th-step.is-gold .th-step-text,
.th-step.is-gold .th-step-text b { color: #4a3812; }

/* === Slide 7 — PIN BLOCKS === */
.th-pin-block {
  background: var(--color-primary-soft);
  border-left: 3px solid var(--color-primary);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 10px;
}
.th-pin-block:last-child { margin-bottom: 0; }
.th-pin-title {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 13px;
  color: var(--color-primary-dark);
  margin-bottom: 5px;
  line-height: 1.3;
}
.th-pin-ico { margin-right: 4px; }
.th-pin-text {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--color-text);
}

/* === Homework locked banner === */
.hwf-locked-banner {
  background: var(--color-primary-soft);
  border: 2px dashed var(--color-primary);
  border-radius: var(--radius-card);
  padding: 28px 20px;
  text-align: center;
  margin: 8px 0 20px;
}
.hwf-lock-ico { font-size: 36px; margin-bottom: 10px; }
.hwf-lock-title {
  font-size: 16px; font-weight: 800;
  color: var(--color-primary-dark); margin-bottom: 8px;
}
.hwf-lock-sub {
  font-size: 13px; color: var(--color-text-muted);
  line-height: 1.5; margin-bottom: 10px;
}
.hwf-lock-meta {
  font-size: 12px; font-weight: 700; color: var(--color-primary);
}

/* === Wider screens (>=520px): show expert photo on cover === */
@media (min-width: 520px) {
  .th-cover { padding-right: 100px; }
  .th-cover-photo {
    display: block;
    position: absolute;
    right: 12px;
    top: 16px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 2px solid var(--color-primary);
    box-shadow: 0 4px 12px rgba(0,98,96,0.20);
  }
}

/* ============ ЭКРАН РЕГИСТРАЦИИ ============ */
.reg-form { padding: 0 4px 32px; }

.stream-opts-row { display: flex; gap: 8px; }

.reg-legal {
  margin: 20px 0 16px;
  background: var(--color-bg);
  border-radius: var(--radius-card);
  border: 1.5px solid var(--color-card-border);
  overflow: hidden;
}
.reg-legal-toggle {
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: var(--color-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.reg-legal-arrow { font-size: 16px; color: var(--color-text-muted); transition: transform .2s; }
.reg-legal-toggle.open .reg-legal-arrow { transform: rotate(180deg); }
.reg-legal-body {
  display: none;
  padding: 0 14px 14px;
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.6;
  border-top: 1px solid var(--color-card-border);
}
.reg-legal-body.open { display: block; }

.reg-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--color-text);
  margin-bottom: 20px;
  cursor: pointer;
  line-height: 1.5;
}
.reg-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.reg-error {
  color: #e53935;
  font-size: 13px;
  text-align: center;
  min-height: 18px;
  margin-bottom: 10px;
  font-weight: 500;
}

.reg-divider {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 13px;
  margin: 14px 0;
  position: relative;
}
.reg-divider::before, .reg-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: var(--color-card-border);
}
.reg-divider::before { left: 0; }
.reg-divider::after  { right: 0; }

/* ============================================================
   RECORDING BANNER (для тех, кто был < 2ч на эфире)
   ============================================================ */
.rec-hero {
  background:
    linear-gradient(115deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 50%),
    linear-gradient(135deg, #7A4490 0%, #643275 50%, #4A2256 100%);
  color: #FFFFFF;
  padding: 28px 22px 26px;
  border-radius: var(--radius-card);
  text-align: center;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 12px 32px rgba(100,50,117,0.32);
}
.rec-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 25%, rgba(255,255,255,0.10) 0%, transparent 55%);
  pointer-events: none;
}
.rec-hero > * { position: relative; }
.rec-hero-pill {
  display: inline-block;
  background: linear-gradient(90deg, #FF8845 0%, #F3702B 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(243,112,43,0.35);
}
.rec-hero-title {
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.rec-hero-sub {
  font-size: 14px;
  opacity: 0.92;
  margin-bottom: 20px;
  line-height: 1.5;
}
.rec-countdown {
  background: rgba(0,0,0,0.18);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
}
.rec-cd-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  opacity: 0.9;
}
.rec-cd-grid {
  display: flex;
  justify-content: center;
  gap: 14px;
}
.rec-cd-seg {
  text-align: center;
}
.rec-cd-seg b {
  display: block;
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 1;
  color: #FFB07A;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.rec-cd-seg small {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 3px;
  opacity: 0.85;
}

/* ============================================================
   MINI-COURSE SCREEN (3-day access после пропуска эфира 1)
   ============================================================ */
.mc-hero {
  background:
    linear-gradient(115deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 50%),
    linear-gradient(135deg, #7A4490 0%, #643275 50%, #4A2256 100%);
  color: #FFFFFF;
  padding: 30px 22px 26px;
  border-radius: var(--radius-card);
  text-align: center;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 12px 32px rgba(100,50,117,0.32);
}
.mc-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 25%, rgba(255,255,255,0.10) 0%, transparent 55%);
  pointer-events: none;
}
.mc-hero > * { position: relative; }
.mc-fire {
  font-size: 28px;
  margin-bottom: 6px;
  letter-spacing: 4px;
}
.mc-hero-pill {
  display: inline-block;
  background: linear-gradient(90deg, #FF8845 0%, #F3702B 100%);
  border: none;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(243,112,43,0.35);
}
.mc-hero-title {
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.mc-hero-sub {
  font-size: 14px;
  opacity: 0.95;
  line-height: 1.55;
  margin-bottom: 18px;
}
.mc-countdown {
  background: rgba(0,0,0,0.22);
  border-radius: 14px;
  padding: 12px 14px;
}
.mc-cd-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  opacity: 0.9;
}
.mc-cd-grid {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.mc-cd-seg b {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  color: #FFB07A;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.mc-cd-seg small {
  display: block;
  font-size: 10px;
  margin-top: 2px;
  opacity: 0.85;
}
.mc-content {
  background: var(--color-bg-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  padding: 18px 16px;
  margin-bottom: 14px;
}
.mc-content-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  margin-bottom: 10px;
}
.mc-lessons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mc-lesson {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-primary-soft);
  border: 1px solid var(--color-card-border);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}
.mc-lesson:hover { transform: translateX(2px); background: #D4ECF6; }
.mc-lesson-ico { font-size: 18px; flex-shrink: 0; }
.mc-lesson-body { flex: 1; }
.mc-lesson-title { font-size: 13px; line-height: 1.35; color: var(--color-text); }
.mc-lesson-arr { color: var(--color-primary); font-weight: 700; opacity: 0.7; }
.mc-note {
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--color-card-border);
}
.mc-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #FFFFFF;
  padding: 22px 18px;
  border-radius: var(--radius-card);
  text-align: center;
  margin-top: 24px;
}
.mc-cta-title {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.mc-cta-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.92);
  line-height: 1.5;
  margin-bottom: 14px;
}
.mc-cta .btn-outline {
  background: rgba(255,255,255,0.10);
  border: 1.5px solid rgba(255,255,255,0.65);
  color: #FFFFFF;
}
.mc-cta .btn-outline:hover {
  background: rgba(255,255,255,0.18);
  border-color: #FFFFFF;
}

/* ============================================================
   TICKET CARD (именной билет в профиле)
   ============================================================ */
.ticket-card {
  display: flex;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  border-radius: var(--radius-card);
  margin: 16px 0 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,78,115,0.18);
}
.ticket-deco-l, .ticket-deco-r {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  background: var(--color-bg);
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.ticket-deco-l { left: 92px; margin-left: -9px; }
.ticket-deco-r { display: none; }
.ticket-stub {
  width: 92px;
  flex-shrink: 0;
  background: rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 8px;
  border-right: 1.5px dashed rgba(255,255,255,0.35);
  position: relative;
}
.ticket-stub-label {
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  color: var(--color-gold-from);
}
.ticket-stub-num {
  font-size: 10px;
  letter-spacing: 0.4px;
  text-align: center;
  opacity: 0.85;
  word-break: break-all;
  line-height: 1.3;
}
.ticket-body {
  flex: 1;
  padding: 18px 18px 16px;
}
.ticket-eyebrow {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--color-gold-from);
  margin-bottom: 4px;
}
.ticket-title {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 0.5px;
  line-height: 1;
  margin-bottom: 2px;
}
.ticket-sub {
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 10px;
}
.ticket-divider {
  height: 1px;
  background: rgba(255,255,255,0.25);
  margin: 8px 0 10px;
}
.ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  margin-bottom: 4px;
  gap: 8px;
}
.ticket-label { opacity: 0.75; }
.ticket-value { font-weight: 700; text-align: right; }
.ticket-status {
  margin-top: 10px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.13);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  color: var(--color-gold-from);
  letter-spacing: 0.3px;
}

/* ============================================================
   CERT HIGHLIGHT (отдельный яркий блок именного сертификата
   на карточке Дня 2 в программе интенсива)
   ============================================================ */
.cert-highlight {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #A8E5C2 0%, #6BCB95 60%, #3FB87A 100%);
  border: none;
  border-radius: 16px;
  padding: 14px 16px;
  margin-top: 10px;
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 -2px 6px rgba(20,90,55,0.18),
    0 6px 14px rgba(30,100,60,0.22),
    0 14px 28px rgba(30,100,60,0.18);
  transition: transform 0.15s, box-shadow 0.2s;
}
.cert-highlight:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    inset 0 -2px 6px rgba(20,90,55,0.2),
    0 8px 18px rgba(30,100,60,0.28),
    0 18px 34px rgba(30,100,60,0.22);
}
.cert-highlight-glow {
  position: absolute;
  top: -50%;
  right: -25%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 65%);
  pointer-events: none;
  transform: rotate(-12deg);
}
.cert-highlight-ico-img {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.28));
}
.cert-highlight-body {
  flex: 1;
  position: relative;
  z-index: 2;
}
.cert-highlight-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 3px;
  text-transform: uppercase;
}
.cert-highlight-title {
  font-weight: 800;
  font-size: 14px;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 3px;
}
.cert-highlight-sub {
  font-size: 11.5px;
  color: rgba(255,255,255,0.88);
  line-height: 1.35;
}
.cert-highlight-arr {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

/* ============================================================
   GIFT VIEW SCREEN — универсальный экран открытия подарка
   ============================================================ */
.gv-header { text-align: center; margin-bottom: 18px; }
.gv-icon { font-size: 48px; margin-bottom: 8px; display: inline-flex; align-items: center; justify-content: center; }
.gv-icon img { width: 120px; height: 120px; object-fit: contain; display: block; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.18)); }
.gv-title {
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--color-primary);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.gv-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0 auto;
  max-width: 360px;
}
.gv-section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  margin: 22px 0 10px;
}
.gv-video-wrap {
  margin-bottom: 16px;
}
.gv-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.gv-img-wrap {
  background: var(--color-bg-card);
  border: 1px solid var(--color-card-border);
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.15s;
}
.gv-img-wrap:hover { transform: scale(1.02); }
.gv-img-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   LIGHTBOX — увеличение картинок
   ============================================================ */
.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  cursor: zoom-out;
}
.image-lightbox.show { display: flex; }
.image-lightbox img {
  max-width: 95%;
  max-height: 95vh;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

/* ============================================================
   SZR COURSE SCREEN — отдельная страница 7 уроков
   ============================================================ */
.szr-hero {
  position: relative;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 50%),
    linear-gradient(135deg, #7A4490 0%, #643275 50%, #4A2256 100%);
  color: #FFFFFF;
  padding: 28px 22px 24px;
  border-radius: var(--radius-card);
  text-align: center;
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 12px 32px rgba(100,50,117,0.32);
}
.szr-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 25%, rgba(255,255,255,0.10) 0%, transparent 55%);
  pointer-events: none;
}
.szr-hero > * { position: relative; }
.szr-hero-fire { font-size: 28px; letter-spacing: 4px; margin-bottom: 6px; }
.szr-hero-pill {
  display: inline-block;
  background: linear-gradient(90deg, #FF8845 0%, #F3702B 100%);
  border: none;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(243,112,43,0.35);
}
.szr-hero-title {
  font-family: var(--font-heading);
  font-size: 28px;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
  line-height: 1.1;
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.szr-hero-sub { font-size: 14px; color: rgba(255,255,255,0.92); line-height: 1.55; }

.szr-lessons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.szr-lesson-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-card-border);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow-card);
}
.szr-lesson-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7A4490 0%, #4A2256 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(100,50,117,0.30);
}
.szr-lesson-body { flex: 1; min-width: 0; }
.szr-lesson-title { font-size: 14px; font-weight: 700; color: var(--color-text); margin-bottom: 2px; line-height: 1.3; }
.szr-lesson-meta { font-size: 11px; color: var(--color-text-muted); }
.szr-lesson-play {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  border: 0;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
}
.szr-lesson-play:hover { background: var(--color-primary-dark); transform: scale(1.05); }

.szr-sales-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  padding: 24px 20px;
  border-radius: var(--radius-card);
  text-align: center;
}
.szr-sales-eyebrow {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  opacity: 0.85;
  margin-bottom: 8px;
  color: var(--color-gold-from);
}
.szr-sales-title {
  font-family: var(--font-heading);
  font-size: 24px;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  line-height: 1.15;
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.szr-sales-sub { font-size: 13px; color: rgba(255,255,255,0.92); line-height: 1.5; margin-bottom: 14px; }
.szr-sales-list {
  text-align: left;
  margin: 0 auto 16px;
  padding-left: 22px;
  max-width: 320px;
  font-size: 13px;
  line-height: 1.7;
  color: #FFFFFF;
}

/* SZR Lesson modal (видеоплеер открывается модалкой) */
.szr-lesson-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
}
.szr-lesson-modal.show { display: flex; }
.szr-lm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
}
.szr-lm-content {
  position: relative;
  background: var(--color-bg-card);
  border-radius: 16px;
  padding: 22px 18px 24px;
  max-width: 640px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.szr-lm-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  margin-bottom: -32px;
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #FFFFFF;
  border: 0;
  font-size: 22px;
  cursor: pointer;
  z-index: 2;
}
.szr-lm-step {
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #7A4490;
  margin-bottom: 6px;
}
.szr-lm-title {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 0.3px;
  color: var(--color-text);
  margin-bottom: 14px;
  padding-right: 30px;
  line-height: 1.2;
}
.szr-lm-part {
  font-size: 12px;
  font-weight: 700;
  color: #7A4490;
  margin: 8px 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.szr-lm-video {
  width: 100%;
  max-height: 55vh;
  background: #000;
  border-radius: 12px;
  margin-bottom: 12px;
  display: block;
}
.szr-lm-nav {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.szr-lm-nav .btn { flex: 1; padding: 12px 14px; font-size: 13px; }
.szr-lm-cta-top {
  margin-top: 14px;
  background: linear-gradient(135deg, #6BCB95 0%, #3FB87A 60%, #2E7D52 100%);
  color: #FFFFFF;
  border: none;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    0 6px 18px rgba(30,100,60,0.32);
  cursor: pointer;
}
.szr-lm-cta-top:hover { transform: translateY(-1px); }

/* ============ SZR SELLING BLOCK — рестайл с контрастными разделами ============ */
.szr-sell {
  margin-top: 24px;
  padding: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Заголовок-карточка (мягкий зелёный) */
.szr-sell-header {
  background: linear-gradient(135deg, #DDF0E3 0%, #C6E5D1 100%);
  border: 1px solid rgba(46,125,82,0.22);
  border-radius: var(--radius-card);
  padding: 18px 18px 16px;
  text-align: center;
}
.szr-sell-eyebrow {
  display: inline-block;
  background: linear-gradient(90deg, #FF8845, #F3702B);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 1.2px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(243,112,43,0.30);
}
.szr-sell-title {
  font-family: var(--font-heading);
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: 0.2px;
  color: #1A3D2A;
  margin: 0 0 6px;
}
.szr-sell-sub {
  font-size: 13px;
  color: #2E5A40;
  line-height: 1.45;
  margin: 0;
}

/* Статистика — 3 карточки тёмно-зелёные с белыми цифрами */
.szr-sell-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.szr-sell-stat {
  background: linear-gradient(135deg, #3FB87A 0%, #2E7D52 100%);
  border-radius: 14px;
  padding: 14px 6px;
  text-align: center;
  box-shadow: 0 6px 14px rgba(30,100,60,0.18);
}
.szr-sell-stat b {
  display: block;
  font-family: var(--font-heading);
  font-size: 22px;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 5px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}
.szr-sell-stat span {
  font-size: 10px;
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.2px;
  line-height: 1.25;
  display: block;
  font-weight: 600;
}

/* Преимущества — белые карточки с тёмным текстом, разделены */
.szr-sell-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.szr-sell-feat {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FFFFFF;
  border: 1px solid #E1E8F0;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 4px 12px rgba(30,60,90,0.06);
}
.szr-sell-feat-ico {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #DDF0E3 0%, #C6E5D1 100%);
  border: 1px solid rgba(46,125,82,0.18);
  border-radius: 12px;
  overflow: hidden;
}
.szr-sell-feat-ico img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.szr-sell-feat > div {
  flex: 1;
  min-width: 0;
}
.szr-sell-feat b {
  display: block;
  color: #1A2B3D;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 3px;
}
.szr-sell-feat span {
  font-size: 12.5px;
  color: #5A6B7C;
  line-height: 1.4;
}

/* Цена — оранжевая карточка с белыми цифрами (CTA-цвет) */
.szr-sell-price {
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 50%),
    linear-gradient(135deg, #F6594F 0%, #FA6F48 50%, #FE8441 100%);
  border-radius: 16px;
  padding: 18px 16px;
  color: #FFFFFF;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.30),
    0 8px 20px rgba(246,89,79,0.32);
}
.szr-sell-price-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
  text-shadow: 0 1px 2px rgba(180,40,30,0.25);
}
.szr-sell-price-amount {
  font-family: var(--font-heading);
  font-size: 36px;
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(180,40,30,0.30);
  line-height: 1;
}
.szr-sell-price-amount span {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.92);
  font-weight: 500;
}
.szr-sell-price-note {
  font-size: 11.5px;
  color: rgba(255,255,255,0.92);
  margin-top: 8px;
  font-weight: 500;
}

/* Отзывы — отдельный белый блок с заголовком */
.szr-sell-quotes {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px dashed rgba(46,125,82,0.25);
}
.szr-sell-quotes-title {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #2E7D52;
  margin-bottom: 12px;
  text-align: center;
}
.szr-sell-quotes .quote-card {
  background: #FFFFFF;
  margin-bottom: 10px;
}

/* ============================================================
   CASES SLIDER — видео кейсы в overview
   ============================================================ */
.ov-cases-sub {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  line-height: 1.4;
}
.case-slide {
  flex-shrink: 0;
  width: 220px;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.15s;
}
.case-slide:hover { transform: translateY(-3px); }
.case-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  background: #1a3530;
}
.case-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--color-primary);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}
.case-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--color-orange);
  color: var(--color-white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}
.case-label {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  margin-top: 0;
  line-height: 1.35;
  padding: 10px 12px 12px;
  background: #0d3a36;
}

/* Модальный плеер кейсов */
.case-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  padding: 16px;
}
.case-modal.show { display: flex; }
.case-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
}
.case-modal-content {
  position: relative;
  max-width: 440px;
  width: 100%;
}
.case-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: var(--color-white);
  border: 0;
  font-size: 22px;
  cursor: pointer;
}
.case-modal-label {
  color: var(--color-white);
  font-size: 14px;
  text-align: center;
  margin-top: 12px;
}

/* ============================================================
   REVIEWS SLIDER — слайдер картинок отзывов
   ============================================================ */
.review-slide {
  flex-shrink: 0;
  width: 240px;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  cursor: zoom-in;
  background: var(--color-bg-card);
}
.review-slide img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   SHOP LOCK — плашка о блокировке магазина
   ============================================================ */
.shop-lock-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--color-orange-soft) 0%, #FFF7F3 100%);
  border: 1px dashed var(--color-orange);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
}
.shop-lock-ico { font-size: 26px; flex-shrink: 0; }
.shop-lock-body { flex: 1; }
.shop-lock-title { font-weight: 700; font-size: 14px; color: var(--color-text); margin-bottom: 4px; }
.shop-lock-sub { font-size: 12px; color: var(--color-text-muted); line-height: 1.45; }

.shop-item.shop-item-locked {
  opacity: 0.7;
  background: #fafafa;
}

/* ============================================================
   ONBOARDING GIFT (плашка «Лото» после анкеты)
   ============================================================ */
.onb-gift {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 45%),
    linear-gradient(135deg, #7A4490 0%, #643275 50%, #4A2256 100%);
  border: none;
  border-radius: 18px;
  padding: 14px 16px 14px 14px;
  margin: 18px auto 0;
  max-width: 380px;
  text-align: left;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 10px 26px rgba(100,50,117,0.35);
  overflow: hidden;
}
.onb-gift::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -25%;
  width: 70%;
  height: 220%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 60%);
  pointer-events: none;
  transform: rotate(-12deg);
}
.onb-gift-body { position: relative; z-index: 1; flex: 1; min-width: 0; }
.onb-gift-ico-img {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.35));
}
.onb-gift-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 4px;
}
.onb-gift-title { font-weight: 800; font-size: 15px; color: #FFFFFF; margin-bottom: 3px; line-height: 1.25; }
.onb-gift-sub { font-size: 12px; color: rgba(255,255,255,0.82); line-height: 1.4; }

/* Btn pulse — для warmup video complete */
.btn-pulse {
  animation: btn-pulse 1.4s ease-in-out infinite;
}
@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(243, 112, 43, 0.55); }
  50% { box-shadow: 0 0 0 14px rgba(243, 112, 43, 0); }
}

/* ============================================================
   TICKET v2 — Figma макет (зелёный билет + оранжевый стаб)
   ============================================================ */
.ticket-v2-card {
  position: relative;
  margin: 16px 0 22px;
  padding: 18px 0;
  background: linear-gradient(180deg, rgba(122,68,144,0.06) 0%, #FFFFFF 100%);
  border-radius: var(--radius-card);
  overflow: hidden;
}
/* Декоративные пузырьки и слоги (как в Figma) */
.ticket-v2-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.tv-bub {
  position: absolute;
  border-radius: 50%;
  background: var(--color-orange-soft);
}
.tv-bub-1 { width: 60px; height: 60px; top: -20px; right: 20%; background: rgba(243,112,43,0.18); }
.tv-bub-2 { width: 40px; height: 40px; bottom: 10px; left: 10%; background: rgba(0,118,96,0.15); }
.tv-bub-3 { width: 32px; height: 32px; top: 50%; right: 8%; background: rgba(100,50,117,0.15); }
.tv-syl {
  position: absolute;
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--color-accent);
  opacity: 0.5;
  letter-spacing: 0.5px;
}
.tv-syl-1 { top: 8px; left: 14px; }
.tv-syl-2 { bottom: 8px; right: 14px; color: var(--color-orange); }
.tv-syl-3 { top: 30%; left: 60%; }
.tv-syl-4 { bottom: 30%; left: 18%; color: var(--color-primary); }

.ticket-v2 {
  position: relative;
  display: flex;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(100, 50, 117, 0.30);
  z-index: 1;
}
.ticket-v2-main {
  flex: 1;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 50%),
    linear-gradient(135deg, #7A4490 0%, #643275 50%, #4A2256 100%);
  color: #FFFFFF;
  padding: 20px 18px 18px;
  position: relative;
}
.ticket-v2-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 25%, rgba(255,255,255,0.10) 0%, transparent 55%);
  pointer-events: none;
}
.ticket-v2-eyebrow {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 0.8px;
  color: #FFFFFF;
  margin-bottom: 6px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
  position: relative;
  z-index: 1;
}
.ticket-v2-title {
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: 0.4px;
  line-height: 1.15;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.95);
  position: relative;
  z-index: 1;
}
.ticket-v2-title span {
  color: #FFB07A;
  font-weight: 700;
}
.ticket-v2-meta {
  font-size: 12px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: rgba(255,255,255,0.92);
  position: relative;
  z-index: 1;
}
.ticket-v2-meta b { font-weight: 800; color: #FFFFFF; }
.ticket-v2-num {
  font-size: 10px;
  opacity: 0.7;
  letter-spacing: 0.5px;
  font-family: monospace;
}
.ticket-v2-status {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.3px;
  margin-top: 4px;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(4px);
}

/* Перфорация (волнистый край между билетом и стабом) */
.ticket-v2-perforation {
  width: 14px;
  background:
    radial-gradient(circle at 0 7px, transparent 6px, #F3702B 6.5px),
    radial-gradient(circle at 14px 7px, transparent 6px, #F3702B 6.5px);
  background-size: 14px 14px;
  background-position: 0 0, 7px 7px;
  background-repeat: repeat-y;
}

.ticket-v2-stub {
  width: 110px;
  background: #FFFFFF;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 14px 8px;
  flex-shrink: 0;
  position: relative;
}
.ticket-v2-logo-img {
  width: 92px;
  height: auto;
  object-fit: contain;
  display: block;
  margin-top: 4px;
}
.ticket-v2-stub .ticket-v2-barcode span { background: var(--color-text); }
.ticket-v2-logo {
  text-align: center;
}
.ticket-v2-logo-sun {
  font-size: 16px;
  color: #FFE0AB;
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.4));
  margin-bottom: 4px;
}
.ticket-v2-logo-text {
  font-family: var(--font-heading);
  font-size: 14px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.ticket-v2-logo-text i {
  font-style: italic;
  font-size: 12px;
  font-weight: 400;
  font-family: serif;
  display: block;
  margin-top: 1px;
}
.ticket-v2-barcode {
  display: flex;
  gap: 2px;
  margin-top: 14px;
}
.ticket-v2-barcode span {
  display: inline-block;
  width: 3px;
  height: 30px;
  background: var(--color-white);
}
.ticket-v2-barcode span:nth-child(odd) { height: 36px; }
.ticket-v2-barcode span:nth-child(3n) { width: 5px; }
.ticket-v2-barcode span:nth-child(5n) { width: 2px; height: 24px; }

/* ============================================================
   HERO FIGMA — баннер интенсива из макета
   ============================================================ */
.hero-figma {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(0,118,96,0.18);
  margin: 0 0 18px;
  background: var(--color-primary-soft);
  box-sizing: border-box;
}
.hero-figma img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.figma-block {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.figma-block img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
/* ============================================================
   FIGMA INFOBLOCKS — «До/После» и «Топ-9000»
   ============================================================ */
.figma-block {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 18px;
}
.figma-block img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   REVIEWS FULLWIDTH — слайдер отзывов на всю ширину 1-за-раз
   ============================================================ */
.reviews-fullwidth {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
}
.reviews-fullwidth-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.reviews-fullwidth-scroll::-webkit-scrollbar { display: none; }
.review-full-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  cursor: zoom-in;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-full-slide img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 65vh;
  object-fit: contain;
}
.reviews-fullwidth-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 12px 16px;
}
.rf-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,118,96,0.25);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.rf-dot.active {
  background: var(--color-primary);
  transform: scale(1.3);
}
.rf-arr {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  font-size: 22px;
  color: var(--color-primary);
  cursor: pointer;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rf-arr-left { left: 8px; }
.rf-arr-right { right: 8px; }

/* ============================================================
   ONBOARDING MOTIVATION — плашка «Подарок за анкету»
   Дизайн: чистый фиолетовый градиент как «СЕРТИФИКАТ» в Figma
   ============================================================ */
.onb-motivation {
  position: relative;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 45%),
    linear-gradient(135deg, #7A4490 0%, #643275 50%, #4A2256 100%);
  border-radius: 18px;
  padding: 16px 18px 16px 96px;
  margin-bottom: 22px;
  color: #FFFFFF;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 10px 26px rgba(100,50,117,0.35);
  overflow: hidden;
  min-height: 84px;
}
/* Декоративные светлые блики */
.onb-motivation::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -25%;
  width: 70%;
  height: 220%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 60%);
  pointer-events: none;
  transform: rotate(-12deg);
}
/* SVG иконка подарка слева */
.onb-mot-ico-img {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 70px;
  height: 70px;
  z-index: 2;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.35));
}
.onb-mot-body {
  position: relative;
  z-index: 1;
}
.onb-mot-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 5px;
}
.onb-mot-title {
  font-weight: 800;
  font-size: 15px;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 4px;
}
.onb-mot-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.82);
  line-height: 1.4;
}

/* ============================================================
   Lesson actions row — «Следующий урок» и «Назад»
   ============================================================ */
.lesson-nav {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.lesson-nav .btn-outline {
  flex: 1;
  padding: 12px 16px;
}
.lesson-nav .btn-gold {
  flex: 2;
}
.lesson-theory {
  background: var(--color-bg-card);
  border: 1px solid var(--color-card-border);
  border-radius: 14px;
  padding: 14px 16px;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text);
}
.lesson-theory h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.lesson-theory p { margin-bottom: 10px; }
.lesson-theory p:last-child { margin-bottom: 0; }

/* ============================================================
   STUDENT QUOTES — личные цитаты учениц с круглой аватаркой
   ============================================================ */
.quotes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quote-card {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 16px 16px 16px 16px;
  border: 1px solid #E1E8F0;
  box-shadow: 0 6px 18px rgba(30, 60, 90, 0.06);
}
.quote-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid #1F3A5F;
  background: linear-gradient(135deg, #E8F2FF 0%, #D4E5F7 100%);
  position: relative;
}
.quote-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.quote-avatar-empty::before {
  content: '👩';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.quote-body {
  flex: 1;
  min-width: 0;
  position: relative;
}
.quote-text {
  font-style: italic;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: #1A2B3D;
  margin-bottom: 12px;
}
.quote-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.quote-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #2E7D52;
}
.quote-sub {
  font-size: 11.5px;
  color: var(--color-text-muted);
}

/* ============================================================
   RESULTS — Что вам даст интенсив
   ============================================================ */
.results-section { padding-top: 22px; }
.results-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0.3px;
  background: #FFFFFF;
  border: 2px solid #2E7D52;
  border-radius: 999px;
  padding: 14px 18px;
  margin: 0 -2px 18px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.results-title-purple { color: #7A4490; }
.results-title-teal { color: #1F3A5F; }
.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.result-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #E6F0F8 0%, #D8E8F2 100%);
  border: 1px solid rgba(31,115,171,0.18);
  min-height: 110px;
  min-width: 0; /* чтобы колонка могла сжиматься и текст переносился, а не вылезал за экран */
}
.result-card:nth-child(2n) {
  background: linear-gradient(135deg, #DDF0E3 0%, #C6E5D1 100%);
  border-color: rgba(46,125,82,0.22);
}
.result-card:nth-child(5) {
  grid-column: span 2;
  background: linear-gradient(135deg, #FFF4E5 0%, #FFE7C9 100%);
  border-color: rgba(243,112,43,0.25);
  min-height: auto;
}
.result-ico {
  font-size: 22px;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.7);
  border-radius: 12px;
  overflow: hidden;
}
.result-ico img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.result-text {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #1A2B3D;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ============ REC FINAL CTA ============ */
.rec-final-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(243,112,43,0.08), rgba(255,176,122,0.10));
  border: 1.5px solid rgba(243,112,43,0.30);
  border-radius: var(--radius-card);
  padding: 22px 18px;
  margin: 18px 0;
}
.rec-final-cta-eyebrow {
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #C25A1B;
  margin-bottom: 8px;
}
.rec-final-cta-title {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.15;
  color: var(--color-text);
  margin: 0 0 8px;
}
.rec-final-cta-sub {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin: 0 0 14px;
}

/* ============ CERT NAME FORM ============ */
.cert-name-form {
  background: linear-gradient(135deg, rgba(122,68,144,0.06), rgba(243,112,43,0.04));
  border: 1.5px solid rgba(122,68,144,0.22);
  border-radius: 14px;
  padding: 14px 16px 16px;
  margin: 0 0 16px;
}
.cert-name-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #7A4490;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.cert-name-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #FFFFFF;
  border: 1.5px solid #E1E8F0;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.cert-name-input:focus {
  border-color: #7A4490;
  box-shadow: 0 0 0 3px rgba(122,68,144,0.12);
}

/* ============ SALES: AUTHOR ============ */
.sl-author { text-align: center; }
.sl-author-photo-wrap {
  display: flex;
  justify-content: center;
  margin: 8px 0 14px;
}
.sl-author-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 28% 30%;
  border: 4px solid #FFB07A;
  box-shadow: 0 8px 22px rgba(100,50,117,0.20);
}
.sl-author-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: inline-block;
}
.sl-author-list li {
  position: relative;
  padding: 6px 0 6px 28px;
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.45;
}
.sl-author-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 7px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7A4490, #4A2256);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============ SALES: 5-STEP SYSTEM ============ */
.sl-system { background: linear-gradient(135deg, #DDF0E3 0%, #C6E5D1 100%); border-radius: var(--radius-card); }
.sl-system-intro {
  font-size: 13.5px;
  line-height: 1.5;
  color: #1F3D2A;
  margin: 0 0 16px;
}
.sl-system-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sl-system-step {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #FFFFFF;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 4px 12px rgba(30,80,55,0.08);
}
.sl-system-step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3FB87A, #2E7D52);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sl-system-step-body {
  flex: 1;
  min-width: 0;
}
.sl-system-step-body b {
  display: block;
  font-size: 14px;
  color: #1A2B3D;
  margin-bottom: 2px;
}
.sl-system-step-body span {
  font-size: 12px;
  color: #5A6B7C;
  line-height: 1.35;
}

/* ============ SALES: 6 ADVANTAGES ============ */
.sl-adv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 480px) {
  .sl-adv-grid { grid-template-columns: 1fr 1fr; }
}
.sl-adv {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid #E1E8F0;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(30,60,90,0.05);
}
.sl-adv-ico {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(122,68,144,0.08), rgba(243,112,43,0.06));
  border-radius: 12px;
  overflow: hidden;
}
.sl-adv-ico img { width: 100%; height: 100%; object-fit: contain; }
.sl-adv > div b {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #1A2B3D;
  margin-bottom: 2px;
}
.sl-adv > div span {
  font-size: 11.5px;
  color: #5A6B7C;
  line-height: 1.35;
}

/* ============ SALES: FORMAT ============ */
.sl-format-list { display: flex; flex-direction: column; gap: 10px; }
.sl-format-step {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FFFFFF;
  border: 1px solid #E1E8F0;
  border-radius: 14px;
  padding: 12px 14px;
}
.sl-format-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7A4490, #4A2256);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sl-format-step b {
  display: block;
  font-size: 13.5px;
  color: #1A2B3D;
  margin-bottom: 2px;
}
.sl-format-step span {
  font-size: 12px;
  color: #5A6B7C;
  line-height: 1.4;
}

/* ============ SALES: STORIES (BEFORE/AFTER) ============ */
.sl-story {
  margin-bottom: 14px;
}
.sl-story-tag {
  display: inline-block;
  background: linear-gradient(90deg, #FF8845, #F3702B);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
  box-shadow: 0 4px 12px rgba(243,112,43,0.30);
}
.sl-story-ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.sl-story-block {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid #E1E8F0;
}
.sl-story-block-h {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}
.sl-story-before .sl-story-block-h { color: #B85A2C; }
.sl-story-after .sl-story-block-h { color: #2E7D52; }
.sl-story-block p {
  font-size: 12.5px;
  line-height: 1.4;
  color: #2A3239;
  margin: 0;
}
.sl-story-after { background: linear-gradient(135deg, #DDF0E3 0%, #FFFFFF 100%); border-color: rgba(46,125,82,0.25); }

/* ============ SALES: FAQ ============ */
.sl-faq-item {
  background: #FFFFFF;
  border: 1px solid #E1E8F0;
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-text);
  cursor: pointer;
}
.sl-faq-item summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 24px;
  color: #1A2B3D;
}
.sl-faq-item summary::-webkit-details-marker { display: none; }
.sl-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #7A4490;
  line-height: 1;
  font-weight: 400;
}
.sl-faq-item[open] summary::after { content: '−'; }
.sl-faq-item p {
  margin: 10px 0 0;
  color: #5A6B7C;
  font-size: 12.5px;
  line-height: 1.5;
}

/* ============ PROGRAM CONNECTOR (roadmap между Днями 1 и 2) ============ */
.program-connector {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -2px 0;
  padding: 6px 0;
  color: #8B5099;
}
.program-connector.is-active { color: #3FB87A; }
.pcn-marker {
  position: absolute;
  left: -42px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  border-radius: 50%;
  background: linear-gradient(135deg, #7A4490, #4A2256);
  border: 3px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(100,50,117,0.30);
  flex-shrink: 0;
  z-index: 2;
}
.program-connector.is-active .pcn-marker {
  background: linear-gradient(135deg, #3FB87A, #2E7D52);
  box-shadow: 0 4px 10px rgba(30,100,60,0.32);
}
.pcn-marker-emoji {
  font-size: 15px;
  position: relative;
  z-index: 2;
  line-height: 1;
}
.program-connector.is-active .pcn-marker {
  background: linear-gradient(135deg, #3FB87A, #2E7D52);
  box-shadow: 0 6px 14px rgba(30,100,60,0.32);
}
.pcn-marker-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FFFFFF;
  position: relative;
  z-index: 2;
}
.pcn-marker-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(122,68,144,0.45);
  animation: pcnPulse 2.4s ease-in-out infinite;
}
.program-connector.is-active .pcn-marker-pulse {
  border-color: rgba(63,184,122,0.5);
}
@keyframes pcnPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 0; }
}
.pcn-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 8px 12px;
  background: #FFFFFF;
  border: 1.5px dashed rgba(122,68,144,0.45);
  border-radius: 12px;
}
.program-connector.is-active .pcn-text {
  border-color: rgba(63,184,122,0.55);
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(168,229,194,0.20) 100%);
}
.pcn-eyebrow {
  font-family: var(--font-sub);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #7A4490;
  margin-bottom: 3px;
}
.program-connector.is-active .pcn-eyebrow { color: #2E7D52; }
.pcn-body {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
}

/* ============ PROGRAM STEPPER ============ */
.program-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
  padding: 6px 4px 14px;
  position: relative;
}
.ps-step {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.ps-step::before {
  content: '';
  position: absolute;
  top: 16px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: #D6D9E0;
  z-index: 0;
}
.ps-step:first-child::before { display: none; }
.ps-step.is-done ~ .ps-step.is-done::before,
.ps-step.is-done + .ps-step::before { background: linear-gradient(90deg, #3FB87A, #2E7D52); }
.ps-circle {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  background: #FFFFFF;
  border: 2px solid #D6D9E0;
  color: #8893A2;
  transition: transform 0.15s;
}
.ps-step.is-active .ps-circle {
  background: linear-gradient(135deg, #7A4490, #4A2256);
  border-color: #4A2256;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(100,50,117,0.30);
  animation: psPulse 2.4s ease-in-out infinite;
}
.ps-step.is-done .ps-circle {
  background: linear-gradient(135deg, #3FB87A, #2E7D52);
  border-color: #2E7D52;
  color: #FFFFFF;
}
@keyframes psPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(100,50,117,0.30); }
  50%      { transform: scale(1.08); box-shadow: 0 6px 18px rgba(100,50,117,0.50); }
}
.ps-label {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--color-text-muted);
  line-height: 1.2;
  letter-spacing: 0.1px;
  max-width: 64px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ps-step.is-active .ps-label { color: #4A2256; font-weight: 700; }
.ps-step.is-done .ps-label { color: #2E7D52; }

/* ============ PROGRAM GREETING ============ */
.program-greeting {
  margin: 4px 0 14px;
}
.pg-text {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-text);
}
.pg-text b { color: #4A2256; font-weight: 800; }

/* ============ SUPPORT CHAT MODAL ============ */
.support-modal {
  position: fixed; inset: 0;
  display: none;
  z-index: 10000;
  align-items: flex-end;
  justify-content: center;
}
.support-modal.show { display: flex; }
.sup-backdrop {
  position: absolute; inset: 0;
  background: rgba(20,20,30,0.55);
  backdrop-filter: blur(2px);
}
.sup-window {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: #F4F5F7;
  border-radius: 22px 22px 0 0;
  overflow: hidden;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.30);
  animation: supSlideUp 0.25s ease-out;
}
@media (min-width: 600px) {
  .support-modal { align-items: center; padding: 20px; }
  .sup-window { border-radius: 18px; max-height: 80vh; }
}
@keyframes supSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.sup-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #7A4490 0%, #643275 50%, #4A2256 100%);
  color: #FFFFFF;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.10);
}
.sup-head-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.30);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.sup-head-info { flex: 1; min-width: 0; }
.sup-head-title {
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 0.2px;
  margin-bottom: 1px;
}
.sup-head-sub {
  font-size: 11.5px;
  color: rgba(255,255,255,0.85);
}
.sup-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: none;
  color: #FFFFFF;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.sup-close:hover { background: rgba(255,255,255,0.28); }
.sup-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sup-loading, .sup-empty {
  text-align: center;
  padding: 30px 16px;
  color: var(--color-text-muted);
}
.sup-empty-ico { font-size: 36px; margin-bottom: 10px; }
.sup-empty-title {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--color-text);
  margin-bottom: 6px;
}
.sup-empty-sub { font-size: 13px; line-height: 1.4; max-width: 280px; margin: 0 auto; }
.sup-msg {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 82%;
}
.sup-msg-user { align-self: flex-end; align-items: flex-end; }
.sup-msg-mgr { align-self: flex-start; align-items: flex-start; }
.sup-bubble {
  padding: 9px 13px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4;
  word-wrap: break-word;
  white-space: pre-wrap;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.sup-msg-user .sup-bubble {
  background: linear-gradient(135deg, #7A4490, #4A2256);
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
}
.sup-msg-mgr .sup-bubble {
  background: #FFFFFF;
  color: var(--color-text);
  border-bottom-left-radius: 4px;
}
.sup-time {
  font-size: 10.5px;
  color: var(--color-text-muted);
  padding: 0 4px;
}
.sup-input-row {
  display: flex;
  gap: 8px;
  padding: 10px 12px 14px;
  background: #FFFFFF;
  border-top: 1px solid #E1E8F0;
  align-items: flex-end;
}
#sup-input {
  flex: 1;
  resize: none;
  border: 1.5px solid #E1E8F0;
  border-radius: 18px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.35;
  outline: none;
  background: #F4F5F7;
  max-height: 120px;
  transition: border-color 0.15s;
}
#sup-input:focus { border-color: #7A4490; background: #FFFFFF; }
.sup-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #7A4490, #4A2256);
  color: #FFFFFF;
  font-size: 17px;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(100,50,117,0.30);
  transition: transform 0.1s;
}
.sup-send:active { transform: scale(0.94); }
.sup-send:disabled { opacity: 0.5; cursor: default; }

/* ============ PROFILE CERT BUTTON ============ */
.profile-stats-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.profile-coins {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.profile-cert-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  border: none;
  transition: transform 0.1s, box-shadow 0.2s;
}
.profile-cert-btn:active { transform: scale(0.96); }
.profile-cert-btn.is-locked {
  background: #E1E4EA;
  color: #6F7785;
  border: 1px solid #D0D5DD;
}
.profile-cert-btn.is-locked:hover { background: #D6DAE2; }
.profile-cert-btn.is-ready {
  background: linear-gradient(135deg, #3FB87A, #2E7D52);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(30,100,60,0.32);
  animation: certBtnPulse 1.6s ease-in-out infinite;
}
.profile-cert-btn.is-claimed {
  background: linear-gradient(135deg, #6BCB95, #3FB87A);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(30,100,60,0.22);
}
@keyframes certBtnPulse {
  0%, 100% { box-shadow: 0 4px 10px rgba(63,184,122,0.32), 0 0 0 0 rgba(63,184,122,0.55); }
  60%      { box-shadow: 0 4px 10px rgba(63,184,122,0.32), 0 0 0 10px rgba(63,184,122,0); }
}

/* ============ ЭКРАН «СПАСИБО» — стиль под лендинг регистрации (orange/navy, 27.05.2026) ============ */
#screen-thanks{
  --lp-orange:#EB6909; --lp-orange2:#F37422; --lp-navy:#004E73; --lp-green:#0A8F16;
  --lp-muted:#5e6d7a; --lp-line:#e7ecef; --lp-sand:#FFFBF6;
}
#screen-thanks .screen-scroll{ background:var(--lp-sand); }
#screen-thanks .thanks-title{ color:var(--lp-navy); font-weight:800; }
#screen-thanks .thanks-title span#thanks-name{ color:var(--lp-orange); }
#screen-thanks .thanks-sub b{ color:var(--lp-navy); }
#screen-thanks .thanks-step{
  border:1px solid var(--lp-line); border-radius:22px;
  box-shadow:0 18px 44px -22px rgba(0,78,115,.25); padding:22px 20px;
}
#screen-thanks .step-badge{
  background:rgba(235,105,9,.10); color:var(--lp-orange);
  font-weight:800; letter-spacing:.14em;
}
#screen-thanks .thanks-step h3{ color:var(--lp-navy); font-weight:800; }
#screen-thanks .step-desc b{ color:var(--lp-orange); }

/* Кнопка MAX — в стиле CTA лендинга (оранжевый градиент + реальный логотип) */
#screen-thanks .messengers{ margin-bottom:14px; }
#screen-thanks .msg-btn-max{
  width:100%; display:flex; align-items:center; gap:14px;
  background:linear-gradient(135deg,#2E9BFF,#3E6BFF);
  border:none; border-radius:16px; padding:14px 18px; cursor:pointer;
  box-shadow:0 16px 38px -12px rgba(46,123,255,.6); transition:transform .15s, box-shadow .2s;
}
#screen-thanks .msg-btn-max:hover{ transform:translateY(-1px); box-shadow:0 20px 46px -10px rgba(46,123,255,.72); }
#screen-thanks .msg-btn-max .msg-icon-img{
  width:48px; height:48px; border-radius:12px; background:#fff;
  display:flex; align-items:center; justify-content:center; flex:none;
  box-shadow:0 2px 8px rgba(0,0,0,.12);
}
#screen-thanks .msg-btn-max .msg-icon-img img{ width:36px; height:36px; object-fit:contain; display:block; }
#screen-thanks .msg-btn-max .msg-label{
  flex:1; text-align:left; color:#fff; font-weight:800; font-size:16px; letter-spacing:.02em;
}
#screen-thanks .msg-btn-max .msg-arrow{ color:#fff; font-size:22px; font-weight:700; opacity:.9; }
#screen-thanks .btn-skip{ color:var(--lp-muted); }

/* Плашка-пояснение во вкладке «Эфиры»: эфиры идут прямо здесь */
.wl-live-note{
  display:flex; gap:14px; align-items:flex-start;
  background:linear-gradient(135deg, var(--color-primary-mint), var(--color-primary-soft));
  border:1px solid var(--color-primary); border-radius:var(--radius-card);
  padding:16px 18px; margin-bottom:18px; box-shadow:var(--shadow-card);
}
.wl-live-note-ico{ font-size:28px; line-height:1; flex-shrink:0; }
.wl-live-note-title{ font-family:var(--font-heading); font-size:21px; letter-spacing:.5px; color:var(--color-primary-dark); margin-bottom:4px; }
.wl-live-note-body p{ font-size:13.5px; color:var(--color-text); margin:0 0 6px; line-height:1.45; }
.wl-live-note-sub{ color:var(--color-text-muted) !important; }
.wl-live-note-btn{ margin-top:6px; }

/* ====== Экран ЗАПИСЬ эфира (видео + продающие кнопки) ====== */
.rec-player-wrap{ background:#000; border-radius:14px; overflow:hidden; box-shadow:var(--shadow-card); }
.rec-player-wrap video{ width:100%; display:block; aspect-ratio:16/9; background:#000; }
.rec-player-cap{ font-size:13px; color:var(--color-text-muted); margin:10px 2px 18px; line-height:1.45; }
.rec-sell{ background:var(--color-bg-card); border:1px solid var(--color-card-border); border-radius:var(--radius-card); box-shadow:var(--shadow-card); padding:18px; }
.rec-sell-eyebrow{ font-family:var(--font-sub); font-size:11px; letter-spacing:1.5px; text-transform:uppercase; color:var(--color-orange); font-weight:700; }
.rec-sell-h{ font-size:20px; margin:4px 0 14px; color:var(--color-text); }
.rec-offer{ width:100%; display:flex; align-items:center; gap:12px; text-align:left;
  background:var(--color-white); border:1.5px solid var(--color-card-border); border-radius:14px;
  padding:13px 14px; margin-bottom:10px; cursor:pointer; transition:.15s; }
.rec-offer:hover{ border-color:var(--color-primary); transform:translateY(-1px); }
.rec-offer--primary{ background:linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)); border-color:transparent; }
.rec-offer--primary b, .rec-offer--primary small{ color:#fff; }
.rec-offer--primary small{ opacity:.85; }
.rec-offer--primary .rec-offer-arr{ color:#fff; }
.rec-offer-ico{ font-size:24px; flex-shrink:0; }
.rec-offer-body{ flex:1; display:flex; flex-direction:column; }
.rec-offer-body b{ font-size:14.5px; color:var(--color-text); }
.rec-offer-body small{ font-size:12px; color:var(--color-text-muted); margin-top:2px; }
.rec-offer-arr{ font-size:20px; color:var(--color-primary); font-weight:700; flex-shrink:0; }

/* ====== Продающий блок в автовебе (тарифы/бронь) под видео ====== */
.wr-offers{ padding:0 14px 6px; }
.wro-card{ background:var(--color-bg-card); border:1px solid var(--color-card-border); border-radius:var(--radius-card); box-shadow:var(--shadow-card); padding:18px 16px; }
.wro-eyebrow{ font-family:var(--font-heading); font-size:22px; letter-spacing:.5px; color:var(--color-primary-dark); }
.wro-sub{ font-size:13px; color:var(--color-text-muted); margin:4px 0 14px; line-height:1.4; }
.wro-btn{ width:100%; display:flex; align-items:center; justify-content:space-between; gap:10px;
  border:none; border-radius:14px; padding:14px 18px; margin-bottom:10px; cursor:pointer; transition:.15s;
  font-family:inherit; color:#fff; box-shadow:0 10px 26px -12px rgba(0,0,0,.4); }
.wro-btn b{ font-size:15px; font-weight:800; }
.wro-btn span{ font-family:var(--font-heading); font-size:19px; letter-spacing:.5px; }
.wro-btn:hover{ transform:translateY(-1px); }
.wro-orange{ background:linear-gradient(135deg,#F3702B,#FF9355); }
.wro-teal{ background:linear-gradient(135deg,var(--color-primary),var(--color-primary-dark)); }
.wro-book{ margin-top:16px; padding-top:16px; border-top:1px dashed var(--color-card-border); }
.wro-book-h{ font-family:var(--font-heading); font-size:20px; color:var(--color-accent); letter-spacing:.5px; }
.wro-book-lead{ font-size:13px; font-weight:600; color:var(--color-text); margin:6px 0 10px; }
.wro-bonuses{ list-style:none; padding:0; margin:0 0 10px; display:flex; flex-direction:column; gap:7px; }
.wro-bonuses li{ font-size:13px; color:var(--color-text); line-height:1.35; }
.wro-bonuses s{ color:var(--color-danger); }
.wro-bonuses b{ color:var(--color-primary); }
.wro-book-note{ font-size:12px; color:var(--color-danger); font-weight:700; margin:0 0 12px; }
.wro-book-btn{ background:linear-gradient(135deg,var(--color-accent),#7d4a91); }

/* ====== Кнопка «Забрать подарок дня» в автовебе ====== */
.wr-gift-cta{ padding:0 14px 6px; }
.wgc-card{ display:flex; align-items:center; gap:12px;
  background:linear-gradient(135deg,#FFF4E6,#FFE9D2); border:1.5px solid var(--color-gold-border);
  border-radius:var(--radius-card); padding:13px 15px; box-shadow:var(--shadow-card); }
.wgc-ico{ font-size:30px; flex-shrink:0; }
.wgc-body{ flex:1; min-width:0; }
.wgc-title{ font-weight:800; font-size:15px; color:var(--color-text); }
.wgc-sub{ font-size:12.5px; color:var(--color-text-muted); margin-top:2px; }
.wgc-btn{ flex-shrink:0; border:none; cursor:pointer; font-family:inherit; font-weight:800; font-size:14px; color:#fff;
  background:linear-gradient(135deg,var(--color-orange),#FF9355); border-radius:var(--radius-btn); padding:11px 18px;
  box-shadow:0 10px 24px -10px rgba(243,112,43,.7); animation:ovChatPulse 1.8s infinite; }
.wgc-btn:hover{ transform:translateY(-1px); }
