@font-face {
  font-family: Manrope;
  src: url('assets/Manrope-ru.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: InterDisplay;
  src: url('assets/inter-cyrillic.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: InterDisplay;
  src: url('assets/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============ Токены ============ */

:root {
  --bg: #ffffff;
  --soft: #f5f5f7;
  --soft-2: #ededf0;
  --ink: #0a0a0b;
  --ink-2: #1d1d1f;
  --muted: #6e6e73;
  --faint: #a1a1a6;
  --line: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.05);
  --accent: #0a6cff;
  --accent-press: #005ae0;
  --accent-soft: rgba(10, 108, 255, 0.08);
  --ok: #1a9a52;
  --ok-soft: rgba(26, 154, 82, 0.1);
  --danger: #e5352b;

  --glass: rgba(255, 255, 255, 0.72);
  --glass-line: rgba(255, 255, 255, 0.9);
  --glass-shadow: 0 1px 0 rgba(0, 0, 0, 0.03), 0 12px 40px -12px rgba(10, 20, 40, 0.22);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 10px 30px -18px rgba(0, 0, 0, 0.18);

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --gutter: 18px;
  --tabbar-h: 64px;

  --top: calc(var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
  --bottom: max(env(safe-area-inset-bottom), var(--tg-safe-area-inset-bottom, 0px));
  --vh: var(--tg-viewport-stable-height, 100dvh);

  --font: Manrope, -apple-system, 'SF Pro Text', Roboto, Arial, sans-serif;
  --serif: -apple-system, 'SF Pro Display', BlinkMacSystemFont, InterDisplay, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
  --spring: cubic-bezier(0.34, 1.36, 0.64, 1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: light;
}

/* Тона — глубокие mesh-градиенты с зерном */
.t-ocean { --m1: #0b1c4d; --m2: #0a6cff; --m3: #6fb6ff; --m4: #071233; }
.t-ink { --m1: #0b0b0f; --m2: #2a2c36; --m3: #5a6a8a; --m4: #050507; }
.t-dusk { --m1: #1d1240; --m2: #6a4cf0; --m3: #f2a5c4; --m4: #120a2a; }
.t-ember { --m1: #1a0a04; --m2: #e0571c; --m3: #ffb27a; --m4: #0a0402; }
.t-forest { --m1: #05231a; --m2: #128a5e; --m3: #9fe2c0; --m4: #021510; }
.t-plum { --m1: #2a0a22; --m2: #b0306f; --m3: #ffa6c9; --m4: #16040f; }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); }
body {
  font-family: var(--font);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'tnum' 0;
  overscroll-behavior: none;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; text-align: inherit; }
input, textarea { font: inherit; color: inherit; user-select: text; -webkit-user-select: text; }
img { -webkit-user-drag: none; }
[hidden] { display: none !important; }
.press { transition: transform 0.3s var(--spring); }
.press:active { transform: scale(0.975); }

.serif { font-family: var(--serif); font-weight: 700; letter-spacing: -0.035em; }
.eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

/* ============ Mesh-поверхность ============ */

.mesh {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(80% 70% at 85% 15%, var(--m3) 0%, transparent 60%),
    radial-gradient(90% 80% at 10% 100%, var(--m2) 0%, transparent 65%),
    radial-gradient(120% 120% at 50% 50%, var(--m1) 0%, var(--m4) 100%);
}
.mesh::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: 0.16;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.mesh::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

/* ============ Стеклянный объект ============ */

.gobj { position: relative; display: block; width: 120px; height: 120px; }
.gobj__orb {
  position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), transparent 65%);
  filter: blur(14px);
}
.gobj__back, .gobj__front {
  position: absolute; border-radius: 30%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.gobj__back {
  inset: 4% 22% 30% 4%;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.04));
  transform: rotate(-12deg);
  opacity: 0.7;
}
.gobj__front {
  inset: 22% 4% 4% 22%;
  display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.08) 60%, rgba(255, 255, 255, 0.16));
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.7),
    inset 0 -10px 24px rgba(255, 255, 255, 0.08),
    0 20px 40px -16px rgba(0, 0, 0, 0.45);
  transform: rotate(6deg);
}
.gobj__front svg { width: 46%; height: 46%; color: #fff; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25)); }
.gobj--float { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }
.gobj--float .gobj__back { animation: tilt 6s ease-in-out infinite; }
@keyframes tilt { 50% { transform: rotate(-16deg) translateY(3px); } }

/* ============ Прелоадер: появление слова ============ */

.preloader {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: #000;
  transition: opacity 0.5s ease;
}
.preloader__fx { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 0.3s ease; }
.preloader.is-waves .preloader__fx { opacity: 1; }
.preloader .preloader__word { position: relative; z-index: 1; color: #fff; font-size: clamp(36px, 11.9vw, 50px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; padding-bottom: 0.08em; }
.preloader.is-done { opacity: 0; pointer-events: none; }
.preloader__word { display: flex; overflow: hidden; padding: 0 2px; font-family: var(--serif); font-size: 40px; font-weight: 700; letter-spacing: -0.05em; line-height: 1.12; color: var(--ink); }
.preloader__word span { display: inline-block; transform: translateY(110%); animation: word-up 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.preloader__word span:nth-child(2) { animation-delay: 0.02s; }
.preloader__word span:nth-child(3) { animation-delay: 0.039s; }
.preloader__word span:nth-child(4) { animation-delay: 0.059s; }
.preloader__word span:nth-child(5) { animation-delay: 0.078s; }
.preloader__word span:nth-child(6) { animation-delay: 0.098s; }
.preloader__word span:nth-child(7) { animation-delay: 0.118s; }
@keyframes word-up { to { transform: none; } }

/* ============ Каркас ============ */

.app { position: relative; height: var(--vh); }
.pages { position: absolute; inset: 0; }
.page {
  position: absolute; inset: 0;
  overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch;
  padding: calc(var(--top) + 10px) var(--gutter) calc(var(--tabbar-h) + var(--bottom) + 44px);
}
.page.enter-right { animation: enter-right 0.5s var(--ease); }
.page.enter-left { animation: enter-left 0.5s var(--ease); }
@keyframes enter-right { from { opacity: 0; transform: translateX(22px); } }
@keyframes enter-left { from { opacity: 0; transform: translateX(-22px); } }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 50%; background: var(--ink); display: grid; place-items: center;
}
.brand__mark i { width: 26px; height: 26px; background: #fff; -webkit-mask: url('assets/favicon-bird.webp') center / contain no-repeat; mask: url('assets/favicon-bird.webp') center / contain no-repeat; }
.brand small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.brand b { display: block; font-family: var(--serif); font-weight: 700; font-size: 21px; letter-spacing: -0.035em; line-height: 1.1; }
.icon-btn {
  position: relative; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--soft); color: var(--ink);
  transition: transform 0.3s var(--spring), background-color 0.2s;
}
.icon-btn:active { transform: scale(0.9); background: var(--soft-2); }
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn__dot { position: absolute; top: 7px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--soft); }

.section { margin-top: 34px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 2px 14px; }
.section__head h2 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 26px; letter-spacing: -0.035em; line-height: 1.1; }
.section__head button, .section__head span { color: var(--muted); font-weight: 600; font-size: 14px; }

/* ============ Кнопки ============ */

.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 54px; padding: 0 22px; border-radius: 16px;
  font-weight: 700; font-size: 16px; letter-spacing: -0.02em;
  background: var(--accent); color: #fff;
  transition: transform 0.3s var(--spring), background-color 0.2s, opacity 0.2s;
}
.btn:active { transform: scale(0.97); background: var(--accent-press); }
.btn:disabled { opacity: 0.4; pointer-events: none; }
.btn--ink { background: var(--ink); }
.btn--ink:active { background: #222; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:active { background: #eee; }
.btn--soft { background: var(--soft); color: var(--ink); }
.btn--soft:active { background: var(--soft-2); }
.btn--glass { background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--sm { height: 38px; border-radius: 12px; font-size: 14px; padding: 0 14px; width: auto; }
.btn .shine {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.32) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: shine 3.6s ease-in-out infinite 1.2s;
}
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn .arrow { transition: transform 0.3s var(--spring); }
.btn:active .arrow { transform: translateX(3px); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px; border-radius: 99px;
  font-size: 12px; font-weight: 700; white-space: nowrap;
  background: var(--soft); color: var(--ink);
}
.chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip--glass { background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.chip--ok { background: var(--ok-soft); color: var(--ok); }
.chip--accent { background: var(--accent); color: #fff; }
.chip--new { background: #fff; color: var(--ink); }

/* Таймер оффера */
.timer { display: inline-flex; align-items: center; gap: 4px; }
.timer b {
  min-width: 34px; height: 30px; padding: 0 6px; border-radius: 9px;
  display: grid; place-items: center;
  font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 15px; font-weight: 600;
  background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.timer i { font-style: normal; opacity: 0.5; font-weight: 700; }
.timer--light b { background: var(--soft); box-shadow: none; color: var(--ink); }
.timer--light i { color: var(--muted); }

/* ============ Сегменты ============ */

.segments { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; border-radius: 14px; background: var(--soft); }
.segments__thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; border-radius: 11px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 12px -4px rgba(0, 0, 0, 0.12); transition: transform 0.5s var(--spring); }
.segments button { position: relative; z-index: 1; height: 36px; border-radius: 11px; font-weight: 700; font-size: 14px; color: var(--muted); text-align: center; transition: color 0.25s; }
.segments button.is-active { color: var(--ink); }

/* ============ Магазин ============ */

/* Логотип: знак + надпись, как на сайте */
.logo { display: flex; align-items: center; gap: 11px; }
.logo__mark { width: 46px; height: 46px; flex: none; background: var(--ink); -webkit-mask: url('assets/favicon-bird.webp') center / contain no-repeat; mask: url('assets/favicon-bird.webp') center / contain no-repeat; }
.logo__text { display: flex; flex-direction: column; gap: 1px; padding-left: 11px; border-left: 1px solid var(--line); }
.logo__text b { font-family: var(--serif); font-weight: 700; font-size: 21px; letter-spacing: -0.04em; line-height: 1; }
.logo__text small { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: -0.005em; }

/* Компактные рекламные баннеры */
.banners {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
  scroll-padding: 0 var(--gutter); scrollbar-width: none;
}
.banners::-webkit-scrollbar { display: none; }
.banner {
  flex: none; width: 86%; height: 188px; scroll-snap-align: start;
  border-radius: var(--r-lg); padding: 18px 20px;
  display: flex; flex-direction: column; justify-content: space-between; text-align: left;
}
.banner__text { position: relative; z-index: 2; max-width: 64%; }
.banner__text .eyebrow { color: rgba(255, 255, 255, 0.62); }
.banner__title { margin: 8px 0 0; font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1.08; letter-spacing: -0.035em; }
.banner__row { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; }
.banner__price { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.banner__price s { opacity: 0.45; font-weight: 600; margin-left: 4px; }
.banner .gobj { position: absolute; z-index: 1; right: 4px; top: 50%; width: 118px; height: 118px; margin-top: -64px; }
.banner .timer b { min-width: 28px; height: 24px; font-size: 12.5px; border-radius: 7px; }
.banner .timer i { font-size: 12px; }
.dots { display: flex; justify-content: center; gap: 5px; margin-top: 12px; }
.dots i { width: 5px; height: 5px; border-radius: 3px; background: var(--soft-2); transition: width 0.4s var(--spring), background-color 0.3s; }
.dots i.is-active { width: 16px; background: var(--ink); }

/* Макет телефона с чатом */
.mock-phone {
  position: absolute; width: 168px; height: 330px; border-radius: 34px; padding: 7px;
  background: #0c0c0e; box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.6), inset 0 0 0 1.5px rgba(255, 255, 255, 0.12);
}
.mock-phone__screen { position: relative; height: 100%; border-radius: 27px; overflow: hidden; background: #fff; display: flex; flex-direction: column; color: #111; }
.mock-phone__screen::before { content: ''; position: absolute; z-index: 2; top: 6px; left: 50%; width: 52px; height: 15px; border-radius: 10px; background: #0c0c0e; transform: translateX(-50%); }
.mock-phone__head { margin-top: 26px; padding: 6px 10px 7px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid #eee; }
.mock-phone__head i { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, #e36a2c, #1a0b05); }
.mock-phone__head b { font-size: 8.5px; }
.mock-phone__msgs { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 8px; }
.mock-phone__msgs span { max-width: 80%; padding: 5px 8px; border-radius: 10px; font-size: 7.5px; font-weight: 600; line-height: 1.3; background: #f1f1f4; align-self: flex-start; border-bottom-left-radius: 3px; }
.mock-phone__msgs span.out { background: #0a0a0b; color: #fff; align-self: flex-end; border-radius: 10px 10px 3px 10px; }
.mock-phone__kb { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 0 8px 10px; }
.mock-phone__kb span { padding: 5px 0; border-radius: 6px; background: #f1f1f4; text-align: center; font-size: 7px; font-weight: 700; }

/* Услуга на всю ширину */
.service { display: block; width: 100%; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); text-align: left; }
.service__art { position: relative; height: 230px; }
.service__art .mock-phone { left: 50%; top: 28px; margin-left: -84px; height: 250px; transform: rotate(-4deg); }
.service__art .chip { position: absolute; top: 16px; left: 16px; z-index: 2; }
.service__body { padding: 20px; }
.service__title { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 23px; line-height: 1.1; letter-spacing: -0.035em; }
.service__lead { margin: 8px 0 18px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.service__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.service__price small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.service__price b { font-size: 19px; font-weight: 800; letter-spacing: -0.035em; }

/* Почему Фавикон — bento */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bento__tile { position: relative; overflow: hidden; border-radius: 22px; padding: 16px; min-height: 140px; display: flex; flex-direction: column; justify-content: space-between; background: var(--soft); animation: rise 0.6s var(--ease) both; }
.bento__tile:nth-child(2) { animation-delay: 0.04s; }
.bento__tile:nth-child(3) { animation-delay: 0.08s; }
.bento__tile:nth-child(4) { animation-delay: 0.12s; }
.bento__tile:nth-child(5) { animation-delay: 0.16s; }
.bento__tile--wide { grid-column: span 2; }
.bento__tile--hero { min-height: 190px; }
.bento__num { font-family: var(--serif); font-size: 40px; font-weight: 700; letter-spacing: -0.05em; line-height: 0.95; position: relative; z-index: 1; }
.bento__tile--hero .bento__num { font-size: 64px; }
.bento__label { position: relative; z-index: 1; font-size: 14px; line-height: 1.35; color: var(--muted); font-weight: 500; margin-top: 10px; }
.bento__label b { color: var(--ink); font-weight: 700; display: block; font-size: 15px; margin-bottom: 2px; }
.bento__tile.brand-grad .bento__label, .bento__tile.brand-grad .bento__label b { color: #fff; }
.bento__tile.brand-grad .bento__label { opacity: 0.8; }
.bento__swatches { display: flex; gap: 6px; }
.bento__swatches i { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
.bento__type { position: absolute; right: 14px; top: 8px; font-family: var(--serif); font-size: 64px; font-weight: 700; letter-spacing: -0.06em; color: var(--ink); opacity: 0.08; }
.bento__pulse { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.bento__pulse i { flex: 1; border-radius: 2px; background: var(--ok); opacity: 0.85; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* ============ Push-экраны (подписка, рефералы) ============ */

.push {
  position: fixed; inset: 0; z-index: 30; background: var(--bg);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: calc(var(--top) + 8px) var(--gutter) calc(var(--bottom) + 130px);
  animation: push-in 0.38s var(--ease);
}
.push.is-leaving { animation: push-out 0.32s ease-in forwards; }
@keyframes push-in { from { transform: translateX(100%); } }
@keyframes push-out { to { transform: translateX(100%); } }
.push__bar { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; margin-bottom: 16px; }
.push__bar h1 { margin: 0; text-align: center; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }

.hero { border-radius: var(--r-lg); padding: 22px; min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; }
.hero .gobj { position: absolute; right: 10px; top: 16px; width: 150px; height: 150px; }
.hero__title { position: relative; z-index: 1; margin: 0; font-family: var(--serif); font-weight: 700; font-size: 34px; line-height: 1.04; letter-spacing: -0.035em; }
.hero__sub { position: relative; z-index: 1; margin: 8px 0 0; font-size: 15px; font-weight: 500; opacity: 0.75; max-width: 85%; }
.hero .chip { position: absolute; top: 20px; left: 22px; z-index: 1; }

.countdown {
  margin-top: 12px; padding: 16px; border-radius: var(--r);
  background: var(--soft); display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.countdown > div > b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.countdown > div > span { display: block; font-size: 13px; color: var(--muted); }
.countdown__bar { height: 3px; border-radius: 2px; background: var(--soft-2); margin-top: 10px; overflow: hidden; }
.countdown__bar i { display: block; height: 100%; background: var(--ink); border-radius: inherit; transition: width 1s linear; }

.price-block { display: flex; align-items: flex-end; gap: 12px; margin: 26px 2px 6px; }
.price-block b { font-size: 54px; font-weight: 800; letter-spacing: -0.06em; line-height: 0.9; }
.price-block small { font-size: 15px; font-weight: 600; color: var(--muted); padding-bottom: 4px; }
.price-block s { font-size: 20px; font-weight: 600; color: var(--faint); padding-bottom: 3px; }
.price-block .chip { margin-left: auto; margin-bottom: 4px; }
.price-caption { margin: 6px 2px 0; color: var(--muted); font-size: 14px; }

.features { border-top: 1px solid var(--line); }
.feature { display: flex; gap: 14px; align-items: flex-start; padding: 15px 2px; border-bottom: 1px solid var(--line); }
.feature__icon { width: 38px; height: 38px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--soft); color: var(--ink); }
.feature__icon svg { width: 20px; height: 20px; }
.feature > div > b { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: -0.02em; }
.feature > div > span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 1px; }

.accordion { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc__q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 2px; font-weight: 700; font-size: 15.5px; letter-spacing: -0.02em; }
.acc__q svg { flex: none; color: var(--muted); transition: transform 0.4s var(--spring); }
.acc.is-open .acc__q svg { transform: rotate(45deg); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.acc.is-open .acc__a { grid-template-rows: 1fr; }
.acc__a > div { overflow: hidden; }
.acc__a p { margin: 0; padding: 0 2px 18px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

.paybar {
  position: fixed; z-index: 31; left: 12px; right: 12px; bottom: calc(var(--bottom) + 12px);
  display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px; border-radius: 24px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(28px) saturate(1.8); backdrop-filter: blur(28px) saturate(1.8);
  box-shadow: var(--glass-shadow), inset 0 0 0 1px var(--glass-line), inset 0 0 0 1.5px var(--line-2);
  animation: paybar-in 0.6s var(--spring) 0.12s both;
}
.paybar.is-leaving { animation: paybar-out 0.25s ease-in forwards; }
@keyframes paybar-in { from { transform: translateY(150%); } }
@keyframes paybar-out { to { transform: translateY(150%); } }
.paybar__price { flex: none; }
.paybar__price s { display: block; color: var(--faint); font-size: 13px; font-weight: 600; line-height: 1.1; }
.paybar__price b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.paybar__price b small { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.paybar .btn { flex: 1; }

/* ============ Рефералы ============ */

.ref-hero { border-radius: var(--r-lg); padding: 22px; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; }
.ref-hero .gobj { position: absolute; right: 8px; top: 14px; width: 150px; height: 150px; }
.ref-hero__amount { position: relative; z-index: 1; font-size: 72px; font-weight: 800; letter-spacing: -0.06em; line-height: 0.9; }
.ref-hero__title { position: relative; z-index: 1; margin: 10px 0 0; font-family: var(--serif); font-weight: 700; font-size: 26px; line-height: 1.1; letter-spacing: -0.035em; }
.ref-hero__sub { position: relative; z-index: 1; margin: 8px 0 0; font-size: 14px; opacity: 0.72; }

.balance { margin-top: 12px; padding: 18px; border-radius: var(--r); background: var(--soft); }
.balance__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.balance__row b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; margin-top: 6px; }
.balance__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.balance__stats div + div { border-left: 1px solid var(--line); padding-left: 14px; }
.balance__stats b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }
.balance__stats span { font-size: 12.5px; color: var(--muted); }

.invite { display: flex; gap: 8px; margin-top: 12px; }
.invite .btn--soft { flex: none; width: 54px; padding: 0; }

.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.step3 { padding: 14px 12px; border-radius: 18px; background: var(--soft); animation: rise 0.55s var(--ease) both; }
.step3:nth-child(2) { animation-delay: 0.06s; }
.step3:nth-child(3) { animation-delay: 0.12s; }
.step3 em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.step3 b { display: block; margin-top: 18px; font-size: 14px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.step3 span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); line-height: 1.35; }

.friends { border-top: 1px solid var(--line); }
.friend { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.friend__ava { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); font-weight: 700; font-size: 14px; flex: none; }
.friend__main { flex: 1; min-width: 0; }
.friend__main b { display: block; font-size: 15px; font-weight: 700; }
.friend__main span { display: block; font-size: 13px; color: var(--muted); }
.empty { padding: 28px 18px; border-radius: var(--r); background: var(--soft); text-align: center; color: var(--muted); font-size: 14px; }
.empty b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }

/* ============ Истории ============ */

.stories { position: fixed; inset: 0; z-index: 70; background: #000; animation: stories-in 0.45s var(--ease); touch-action: none; }
.stories.is-leaving { animation: stories-out 0.3s ease-in forwards; }
@keyframes stories-in { from { opacity: 0; transform: scale(0.94); } }
@keyframes stories-out { to { opacity: 0; transform: translateY(24%) scale(0.92); } }
.story { position: absolute; inset: 0; display: flex; flex-direction: column; padding: calc(var(--top) + 56px) 24px calc(var(--bottom) + 24px); }
.story__bars { position: absolute; z-index: 3; top: calc(var(--top) + 10px); left: 12px; right: 12px; display: flex; gap: 4px; }
.story__bars i { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255, 255, 255, 0.28); overflow: hidden; }
.story__bars i b { display: block; height: 100%; width: 0; background: #fff; }
.story__bars i.is-done b { width: 100%; }
.story__head { position: absolute; z-index: 3; top: calc(var(--top) + 24px); left: 14px; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.story__head .brand__mark { width: 28px; height: 28px; background: #fff; }
.story__head .brand__mark i { width: 20px; height: 20px; background: var(--ink); }
.story__close { position: absolute; z-index: 4; top: calc(var(--top) + 20px); right: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.14); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.story__art { flex: 1; display: grid; place-items: center; }
.story__art .gobj { width: min(58vw, 240px); height: min(58vw, 240px); animation: story-obj 0.8s var(--spring) both; }
@keyframes story-obj { from { transform: scale(0.6) rotate(-10deg); opacity: 0; } }
.story__text > * { animation: rise 0.65s var(--ease) both; }
.story__text > :nth-child(2) { animation-delay: 0.06s; }
.story__text > :nth-child(3) { animation-delay: 0.12s; }
.story__text > :nth-child(4) { animation-delay: 0.18s; }
.story__text .eyebrow { color: rgba(255, 255, 255, 0.6); }
.story__title { margin: 10px 0 12px; font-family: var(--serif); font-weight: 700; font-size: 38px; line-height: 1.02; letter-spacing: -0.035em; }
.story__p { margin: 0 0 24px; font-size: 16px; line-height: 1.5; opacity: 0.82; }
.story__actions { display: grid; gap: 8px; }
.story__tap { position: absolute; z-index: 2; top: 0; bottom: 140px; }
.story__tap--prev { left: 0; width: 32%; }
.story__tap--next { right: 0; width: 68%; }
.story--cta .story__tap { bottom: 240px; }

/* ============ Обложка ============ */

.cover { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; background: var(--bg); animation: fade-in 0.5s ease; }
@keyframes fade-in { from { opacity: 0; } }
.cover.is-leaving { animation: cover-out 0.45s var(--ease) forwards; }
@keyframes cover-out { to { opacity: 0; transform: translateY(-3%); } }
.cover__scroll { flex: 1; overflow-y: auto; padding: calc(var(--top) + 26px) 22px 0; }
.cover .brand__mark { width: 52px; height: 52px; }
.cover .brand__mark i { width: 36px; height: 36px; }
.cover h1 { margin: 24px 0 10px; font-family: var(--serif); font-weight: 700; font-size: 40px; line-height: 1.02; letter-spacing: -0.035em; animation: rise 0.7s var(--ease) both; }
.cover h1 span { color: var(--faint); }
.cover__lead { margin: 0 0 22px; font-size: 16px; color: var(--muted); line-height: 1.45; animation: rise 0.7s var(--ease) 0.05s both; }
.cover__offer { border-radius: var(--r); padding: 16px 18px; margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; animation: rise 0.7s var(--ease) 0.1s both; }
.cover__offer > div > b { position: relative; z-index: 1; display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.04em; }
.cover__offer > div > b s { font-size: 15px; opacity: 0.5; font-weight: 600; margin-left: 4px; }
.cover__offer > div > span { position: relative; z-index: 1; display: block; font-size: 12.5px; opacity: 0.7; }
.cover__offer .timer { position: relative; z-index: 1; }
.cover__offer .timer b { min-width: 30px; height: 28px; font-size: 13px; }
.cover .feature { animation: rise 0.7s var(--ease) both; }
.cover .feature:nth-child(2) { animation-delay: 0.15s; }
.cover .feature:nth-child(3) { animation-delay: 0.2s; }
.cover .feature:nth-child(4) { animation-delay: 0.25s; }
.cover__foot { padding: 12px 22px calc(var(--bottom) + 16px); }

/* ============ Поддержка — как актуальный Telegram ============ */

.page--chat { padding: 0; display: flex; flex-direction: column; overflow: hidden; background: #fff; }
.tg-head {
  position: absolute; z-index: 3; top: 0; left: 0; right: 0;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: calc(var(--top) + 8px) 16px 10px;
  background: linear-gradient(#fff 55%, rgba(255, 255, 255, 0));
}
.tg-head__pill {
  display: flex; align-items: center; gap: 9px; padding: 5px 14px 5px 5px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: 0 6px 24px -10px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}
.tg-head__ava { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; flex: none; }
.tg-head__ava i { width: 24px; height: 24px; background: #fff; -webkit-mask: url('assets/favicon-bird.webp') center / contain no-repeat; mask: url('assets/favicon-bird.webp') center / contain no-repeat; }
.tg-head__title { text-align: left; }
.tg-head__title b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.tg-head__title span { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); }
.tg-head__title span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }

.chat-body { position: relative; flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; background: #fff; }
.chat-list { position: relative; min-height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--top) + 76px) 10px 8px; }
.chat-list.is-empty { justify-content: center; }

.day { position: sticky; top: calc(var(--top) + 64px); z-index: 2; align-self: center; margin: 12px 0 6px; padding: 4px 11px; border-radius: 99px; background: rgba(245, 245, 247, 0.9); color: var(--muted); font-size: 12.5px; font-weight: 600; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.intro-card { align-self: center; width: min(300px, 90%); margin: 8px 0 18px; padding: 26px 22px 22px; text-align: center; border-radius: 28px; background: var(--soft); }
.intro-card .logo__mark { margin: 0 auto 14px; width: 56px; height: 56px; }
.intro-card b { display: block; font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: -0.035em; margin-bottom: 6px; }
.intro-card p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.intro-card__chips { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.intro-card__chips span { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px; border-radius: 99px; background: #fff; font-size: 12px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); }
.intro-card__chips svg { width: 13px; height: 13px; }

.msg { display: flex; margin-top: 2px; }
.msg--out { justify-content: flex-end; }
.msg + .msg--first { margin-top: 8px; }
.bubble {
  position: relative; max-width: 78%; min-width: 64px;
  padding: 7px 10px 7px 12px; border-radius: 19px;
  font-size: 16px; line-height: 1.34; letter-spacing: -0.012em;
  white-space: pre-wrap; overflow-wrap: anywhere;
  user-select: text; -webkit-user-select: text;
}
.msg.is-new .bubble { animation: bubble-in 0.42s var(--spring); }
@keyframes bubble-in { from { opacity: 0; transform: translateY(12px) scale(0.92); } }
.msg--in .bubble { background: #f1f1f4; color: var(--ink); transform-origin: bottom left; }
.msg--out .bubble { background: var(--ink); color: #fff; transform-origin: bottom right; }
.msg--in.msg--last .bubble { border-bottom-left-radius: 6px; }
.msg--out.msg--last .bubble { border-bottom-right-radius: 6px; }
.msg--last .bubble::after { content: ''; position: absolute; bottom: 0; width: 11px; height: 16px; background: inherit; }
.msg--in.msg--last .bubble::after { left: -5px; clip-path: path('M11 0 C11 9 9 13 0 16 L11 16 Z'); }
.msg--out.msg--last .bubble::after { right: -5px; clip-path: path('M0 0 C0 9 2 13 11 16 L0 16 Z'); }
.bubble__meta { float: right; position: relative; top: 8px; margin: -5px -3px 0 10px; display: inline-flex; align-items: center; gap: 2px; font-size: 11.5px; line-height: 1; color: rgba(0, 0, 0, 0.4); user-select: none; }
.msg--out .bubble__meta { color: rgba(255, 255, 255, 0.6); }
.bubble__meta svg { width: 16px; height: 11px; }
.bubble__name { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 1px; }

.bubble--media { padding: 3px; }
.bubble--media .bubble__text { padding: 5px 8px 3px 9px; }
.media { position: relative; display: block; border-radius: 16px; overflow: hidden; background: rgba(0, 0, 0, 0.06); max-width: 260px; }
.media img, .media video { display: block; width: 100%; max-height: 320px; object-fit: cover; }
.media__play { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, 0.45); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.media__play svg { width: 20px; height: 20px; margin-left: 3px; }
.media__chip { position: absolute; right: 6px; bottom: 6px; padding: 2px 6px; border-radius: 9px; background: rgba(0, 0, 0, 0.42); color: #fff; font-size: 11.5px; display: inline-flex; gap: 3px; align-items: center; }
.media__chip svg { width: 16px; height: 11px; }
.media__chip--tl { left: 6px; right: auto; top: 6px; bottom: auto; }
.media__progress { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, 0.25); }
.ring { width: 44px; height: 44px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3; }
.ring .ring__bg { stroke: rgba(255, 255, 255, 0.3); }
.ring .ring__fg { stroke: #fff; stroke-linecap: round; transition: stroke-dashoffset 0.2s; }

.file { display: flex; align-items: center; gap: 10px; padding: 2px 0; min-width: 200px; color: inherit; text-decoration: none; }
.file__icon { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--ink); color: #fff; }
.msg--out .file__icon { background: #fff; color: var(--ink); }
.file__icon svg { width: 20px; height: 20px; }
.file b { display: block; font-size: 15px; font-weight: 600; max-width: 170px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file span { display: block; font-size: 13px; opacity: 0.55; }

.voice { display: flex; align-items: center; gap: 9px; min-width: 210px; padding: 2px 0; }
.voice__btn { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--ink); color: #fff; transition: transform 0.25s var(--spring); }
.voice__btn:active { transform: scale(0.9); }
.msg--out .voice__btn { background: #fff; color: var(--ink); }
.voice__btn svg { width: 18px; height: 18px; }
.voice__main { flex: 1; min-width: 0; }
.wave { display: flex; align-items: center; gap: 2px; height: 22px; }
.wave i { flex: 1; min-width: 2px; max-width: 3px; border-radius: 2px; background: rgba(0, 0, 0, 0.2); transition: background-color 0.15s; }
.msg--out .wave i { background: rgba(255, 255, 255, 0.35); }
.wave i.is-played { background: var(--ink); }
.msg--out .wave i.is-played { background: #fff; }
.voice__time { display: block; font-size: 12.5px; opacity: 0.55; margin-top: 2px; }

.quick { flex: none; display: flex; gap: 6px; overflow-x: auto; padding: 6px 10px; scrollbar-width: none; }
.quick::-webkit-scrollbar { display: none; }
.quick button { flex: none; height: 36px; padding: 0 14px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; animation: rise 0.5s var(--ease) both; }
.quick button:nth-child(2) { animation-delay: 0.05s; }
.quick button:nth-child(3) { animation-delay: 0.1s; }
.quick button:nth-child(4) { animation-delay: 0.15s; }

/* Панель ввода: стеклянные круглые кнопки, как в Telegram 2025 */
.tg-input {
  position: relative; flex: none; display: flex; align-items: flex-end; gap: 8px;
  padding: 6px 10px calc(var(--tabbar-h) + var(--bottom) + 22px);
  transition: padding 0.4s var(--ease);
}
body.typing .tg-input, body.recording .tg-input { padding-bottom: calc(var(--bottom) + 8px); }
.tg-glass {
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(20px) saturate(1.9); backdrop-filter: blur(20px) saturate(1.9);
  box-shadow: 0 6px 22px -8px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.tg-input__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: transform 0.35s var(--spring); }
.tg-input__icon:active { transform: scale(0.88); }
.tg-input__icon svg { width: 24px; height: 24px; }
.tg-input__field { flex: 1; display: flex; min-height: 44px; border-radius: 22px; }
.tg-input textarea { flex: 1; resize: none; max-height: 132px; min-height: 44px; padding: 11px 16px; border: 0; background: transparent; font-size: 16.5px; line-height: 1.3; outline: none; }
.tg-input textarea::placeholder { color: var(--faint); }
.tg-input__send { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; box-shadow: 0 6px 16px -6px rgba(10, 108, 255, 0.7); animation: pop 0.35s var(--spring); }
.tg-input__send svg { width: 21px; height: 21px; }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } }
.tg-input__mic { touch-action: none; position: relative; }
.tg-input__mic.is-rec { color: #fff; background: var(--accent); box-shadow: 0 0 0 10px rgba(10, 108, 255, 0.15), 0 0 0 22px rgba(10, 108, 255, 0.07); transform: scale(1.15); }

.rec {
  position: absolute; left: 10px; right: 62px; top: 6px; height: 44px;
  display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 22px; font-size: 16px;
  animation: rise 0.25s var(--ease);
}
.rec__dot { width: 9px; height: 9px; border-radius: 50%; background: #ff3b30; animation: blink 1s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.rec__time { font-variant-numeric: tabular-nums; min-width: 52px; }
.rec__hint { margin-left: auto; color: var(--faint); font-size: 14px; display: flex; align-items: center; gap: 4px; }
.rec.is-cancel .rec__hint { color: #ff3b30; }

.attach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.attach-opt { padding: 18px 14px; border-radius: var(--r); background: var(--soft); text-align: left; transition: transform 0.3s var(--spring); }
.attach-opt:active { transform: scale(0.96); }
.attach-opt span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--ink); margin-bottom: 14px; }
.attach-opt span svg { width: 22px; height: 22px; }
.attach-opt b { display: block; font-size: 15px; font-weight: 700; }
.attach-opt small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.preview { border-radius: var(--r); overflow: hidden; background: var(--soft); margin-bottom: 12px; display: grid; place-items: center; min-height: 120px; }
.preview img, .preview video { display: block; width: 100%; max-height: 46vh; object-fit: contain; background: #000; }

.viewer { position: fixed; inset: 0; z-index: 120; background: #000; display: grid; place-items: center; animation: fade-in 0.25s ease; }
.viewer img, .viewer video { max-width: 100%; max-height: 100%; object-fit: contain; }
.viewer .story__close { top: calc(var(--top) + 12px); }

/* ============ Аккаунт ============ */

.profile {
  position: relative;
  margin: calc((var(--top) + 10px) * -1) calc(var(--gutter) * -1) 0;
  padding: calc(var(--top) + 26px) var(--gutter) 28px;
  border-radius: 0 0 32px 32px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.profile__edit { position: absolute; z-index: 2; top: calc(var(--top) + 12px); right: 14px; }
.profile__edit .icon-btn { background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.avatar {
  position: relative; z-index: 1; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; flex: none;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.16); color: #fff; font-weight: 700; font-size: 34px; letter-spacing: -0.04em;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 0 0 6px rgba(255, 255, 255, 0.08), 0 20px 40px -14px rgba(0, 0, 0, 0.6);
}
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.profile__name { position: relative; z-index: 1; margin: 16px 0 2px; font-family: var(--serif); font-weight: 700; font-size: 28px; letter-spacing: -0.035em; line-height: 1.1; }
.profile__handle { position: relative; z-index: 1; font-size: 14.5px; font-weight: 500; opacity: 0.7; }
.profile .chip { position: relative; z-index: 1; margin-top: 14px; }

.actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 20px 0 0; }
.action { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--ink); text-align: center; }
.action > span:first-child { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--soft); transition: transform 0.35s var(--spring); }
.action:active > span:first-child { transform: scale(0.88); }
.action svg { width: 23px; height: 23px; }

.subcard { margin-top: 20px; border-radius: var(--r-lg); padding: 20px; display: block; width: 100%; }
.subcard .gobj { position: absolute; right: -4px; top: -4px; width: 120px; height: 120px; }
.subcard__label { position: relative; z-index: 1; }
.subcard__label.eyebrow { color: rgba(255, 255, 255, 0.6); }
.subcard__title { position: relative; z-index: 1; margin: 8px 0 4px; font-family: var(--serif); font-weight: 700; font-size: 26px; letter-spacing: -0.035em; line-height: 1.05; max-width: 58%; }
.subcard__text { position: relative; z-index: 1; font-size: 14px; opacity: 0.75; max-width: 56%; }
.subcard__row { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; }
.progress { position: relative; z-index: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.18); overflow: hidden; margin-top: 16px; }
.progress i { display: block; height: 100%; border-radius: inherit; background: #fff; transform-origin: left; animation: grow 1.1s var(--ease) both 0.2s; }
@keyframes grow { from { transform: scaleX(0); } }

.refcard {
  margin-top: 10px; width: 100%;
  display: flex; align-items: center; gap: 14px; padding: 16px 16px 16px 18px;
  border-radius: var(--r); background: var(--soft);
}
.refcard__amount { flex: none; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-weight: 800; font-size: 17px; letter-spacing: -0.04em; }
.refcard__main { flex: 1; min-width: 0; }
.refcard__main b { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.refcard__main span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.refcard > svg { color: var(--faint); flex: none; }

.list { border-top: 1px solid var(--line); }
.row { display: flex; align-items: center; gap: 13px; width: 100%; padding: 13px 2px; min-height: 66px; border-bottom: 1px solid var(--line); transition: opacity 0.2s; }
.row:active { opacity: 0.6; }
.row__icon { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--soft); color: var(--ink); font-weight: 700; font-size: 16px; }
.row__icon svg { width: 20px; height: 20px; }
.row__icon.mesh { color: #fff; }
.row__main { flex: 1; min-width: 0; }
.row__title { display: block; font-weight: 700; font-size: 15.5px; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__sub { display: block; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__end { flex: none; display: flex; align-items: center; gap: 8px; color: var(--faint); font-size: 13px; font-weight: 600; }
.row--add .row__icon { background: var(--accent-soft); color: var(--accent); }
.row--add .row__title { color: var(--accent); }
.status { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--ok { color: var(--ok); }
.status--off { color: var(--faint); }

.foot { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--faint); font-size: 12px; font-weight: 600; margin-top: 34px; }
.foot .brand__mark { width: 30px; height: 30px; background: var(--soft-2); }
.foot .brand__mark i { width: 20px; height: 20px; background: var(--faint); }

/* ============ Liquid glass таббар ============ */

.tabbar {
  position: fixed; z-index: 20; left: 50%; bottom: calc(var(--bottom) + 12px);
  transform: translateX(-50%);
  display: grid; grid-template-columns: repeat(3, 1fr);
  width: min(320px, calc(100% - 48px)); height: var(--tabbar-h);
  padding: 5px; border-radius: 32px; touch-action: none;
  transition: transform 0.5s var(--spring), opacity 0.25s;
}
.tabbar__glass {
  position: absolute; inset: 0; border-radius: inherit;
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(24px) saturate(2); backdrop-filter: blur(24px) saturate(2);
  box-shadow: 0 16px 40px -14px rgba(10, 20, 40, 0.3), 0 2px 6px -2px rgba(10, 20, 40, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.95), inset 0 0 0 1.5px rgba(0, 0, 0, 0.04);
}
body.typing .tabbar, body.overlay .tabbar { transform: translate(-50%, 160%); opacity: 0; pointer-events: none; }
.tabbar__thumb {
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 3);
  border-radius: 27px; background: rgba(0, 0, 0, 0.055);
  transition: transform 0.6s var(--spring), scale 0.35s var(--spring), background-color 0.3s;
  will-change: transform;
}
.tabbar.is-dragging .tabbar__thumb {
  transition: none; scale: 1.12 1.06;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 22px -8px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(4px) saturate(1.6); backdrop-filter: blur(4px) saturate(1.6);
}
.tab { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: var(--ink); font-size: 10.5px; font-weight: 700; letter-spacing: -0.005em; transition: color 0.3s; }
.tab svg { width: 25px; height: 25px; }
.tab .i-fill { display: none; }
.tab.is-active { color: var(--accent); }
.tab.is-active .i-fill { display: block; }
.tab.is-active .i-line { display: none; }
.tab.is-active svg { animation: tab-pop 0.55s var(--spring); }
@keyframes tab-pop { 40% { transform: scale(0.84); } }
.tab__badge { position: absolute; top: 5px; left: calc(50% + 7px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-weight: 800; animation: tab-pop 0.5s var(--spring); }

/* ============ Шторка ============ */

.sheet { position: fixed; inset: 0; z-index: 90; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.32); animation: fade-in 0.3s ease; }
.sheet__panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: calc(var(--vh) - var(--top) - 24px); overflow-y: auto;
  background: var(--bg); border-radius: 32px 32px 0 0;
  padding: 8px 20px calc(var(--bottom) + 20px);
  animation: sheet-up 0.55s var(--ease);
  box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, 0.25);
}
.sheet.is-closing .sheet__backdrop { animation: fade-in 0.25s ease reverse forwards; }
.sheet.is-closing .sheet__panel { animation: sheet-down 0.3s ease-in forwards; }
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes sheet-down { to { transform: translateY(100%); } }
.sheet__handle { width: 36px; height: 5px; border-radius: 3px; background: var(--soft-2); margin: 0 auto 18px; }
.sheet h3 { margin: 0 0 8px; font-family: var(--serif); font-weight: 700; font-size: 30px; letter-spacing: -0.035em; line-height: 1.05; }
.sheet p.lead { margin: 0 0 20px; color: var(--muted); font-size: 15px; line-height: 1.45; }

.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 4px 0 22px; }
.swatch { aspect-ratio: 1; border-radius: 50%; outline: 2px solid transparent; outline-offset: 3px; transition: outline-color 0.2s, transform 0.35s var(--spring); }
.swatch:active { transform: scale(0.86); }
.swatch.is-active { outline-color: var(--ink); }
.theme-preview { border-radius: var(--r-lg); height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; }
.theme-preview .avatar { width: 72px; height: 72px; font-size: 26px; }
.theme-preview b { position: relative; z-index: 1; font-family: var(--serif); font-weight: 700; font-size: 21px; }

.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 6px 4px; }
.field input { width: 100%; height: 54px; padding: 0 16px; border-radius: 16px; border: 0; background: var(--soft); font-size: 16px; outline: 2px solid transparent; transition: outline-color 0.2s, background-color 0.2s; }
.field input:focus { outline-color: var(--ink); background: #fff; }
.stack { display: grid; gap: 8px; margin-top: 18px; }

/* ============ Тост ============ */

.toast {
  position: fixed; z-index: 110; left: 50%; top: calc(var(--top) + 12px);
  transform: translateX(-50%); max-width: calc(100% - 32px);
  padding: 12px 18px; border-radius: 18px;
  background: rgba(10, 10, 11, 0.9); color: #fff; font-size: 14.5px; font-weight: 600;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.45);
  animation: toast-in 0.5s var(--spring);
}
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, -24px) scale(0.92); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ============ Подписка: оффер ============ */

.periods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.period {
  position: relative; text-align: left; padding: 16px; border-radius: var(--r);
  background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.25s, transform 0.3s var(--spring);
}
.period:active { transform: scale(0.97); }
.period.is-active { box-shadow: inset 0 0 0 2px var(--ink); }
.period__label { font-weight: 600; font-size: 14px; color: var(--muted); }
.period__price { font-weight: 800; font-size: 26px; letter-spacing: -0.045em; margin-top: 6px; line-height: 1; }
.period__price small { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.period__old { font-size: 13px; color: var(--faint); font-weight: 600; margin-top: 6px; }
.period__old s { margin-right: 6px; }
.period .chip { position: absolute; top: -10px; right: 12px; height: 22px; font-size: 11.5px; }
.period__radio { position: absolute; top: 16px; right: 16px; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--faint); transition: box-shadow 0.25s var(--spring); }
.period.is-active .period__radio { box-shadow: inset 0 0 0 6px var(--ink); }

.value { border-radius: var(--r); background: var(--soft); padding: 4px 16px; }
.value__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.value__row:last-child { border-bottom: 0; }
.value__row span { font-size: 14.5px; font-weight: 500; }
.value__row em { font-style: normal; text-align: right; white-space: nowrap; font-weight: 700; font-size: 14.5px; }
.value__row em s { color: var(--faint); font-weight: 600; margin-right: 6px; }
.value__row em.ok { color: var(--ok); }
.value__row--total span { font-weight: 700; }
.value__row--total em { font-size: 18px; letter-spacing: -0.03em; }

.timeline { position: relative; padding-left: 4px; }
.tl { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding-bottom: 18px; animation: rise 0.6s var(--ease) both; }
.tl:nth-child(2) { animation-delay: 0.05s; }
.tl:nth-child(3) { animation-delay: 0.1s; }
.tl:nth-child(4) { animation-delay: 0.15s; }
.tl:not(:last-child)::before { content: ''; position: absolute; left: 17px; top: 38px; bottom: 2px; width: 1.5px; background: var(--line); }
.tl__n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); font-family: var(--mono); font-size: 12.5px; font-weight: 600; }
.tl b { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: -0.02em; padding-top: 7px; }
.tl span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }

/* ============ Подписка: активна ============ */

.sub-hero { border-radius: var(--r-lg); padding: 22px; }
.sub-hero__top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.sub-hero__days { position: relative; z-index: 1; margin-top: 34px; display: flex; align-items: baseline; gap: 10px; }
.sub-hero__days b { font-size: 68px; font-weight: 800; letter-spacing: -0.06em; line-height: 0.9; }
.sub-hero__days span { font-size: 15px; opacity: 0.72; }
.sub-hero__title { position: relative; z-index: 1; margin: 6px 0 0; font-family: var(--serif); font-weight: 700; font-size: 24px; letter-spacing: -0.035em; }

.info { border-radius: var(--r); background: var(--soft); padding: 2px 16px; margin-top: 12px; }
.info__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.info__row:last-child { border-bottom: 0; }
.info__row span { color: var(--muted); }
.info__row b { font-weight: 700; text-align: right; }

.menu { border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.menu__item { display: flex; align-items: center; gap: 13px; width: 100%; padding: 14px 16px; min-height: 62px; position: relative; transition: background-color 0.15s; }
.menu__item + .menu__item::before { content: ''; position: absolute; top: 0; left: 67px; right: 0; height: 1px; background: var(--line); }
.menu__item:active { background: var(--soft); }
.menu__item:disabled { opacity: 0.45; }
.menu__icon { width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center; background: var(--soft); color: var(--ink); }
.menu__icon svg { width: 20px; height: 20px; }
.menu__main { flex: 1; min-width: 0; }
.menu__main b { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: -0.02em; }
.menu__main span { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; }
.menu__item > svg { color: var(--faint); flex: none; }
.menu__item--danger .menu__main b { color: var(--danger); }
.menu__item--danger .menu__icon { color: var(--danger); background: rgba(229, 53, 43, 0.08); }

/* Отмена продления: шаги */
.flow-steps { display: flex; gap: 4px; margin: 0 0 18px; }
.flow-steps i { flex: 1; height: 3px; border-radius: 2px; background: var(--soft-2); }
.flow-steps i.is-on { background: var(--ink); }
.reasons { display: grid; gap: 8px; margin-bottom: 18px; }
.reason { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-radius: 16px; background: var(--soft); font-weight: 600; font-size: 15.5px; transition: box-shadow 0.2s, transform 0.3s var(--spring); }
.reason:active { transform: scale(0.98); }
.reason.is-active { box-shadow: inset 0 0 0 2px var(--ink); background: #fff; }
.reason i { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--faint); transition: box-shadow 0.25s var(--spring); }
.reason.is-active i { box-shadow: inset 0 0 0 6px var(--ink); }
.save-offer { border-radius: var(--r-lg); padding: 22px; margin-bottom: 10px; }
.save-offer .eyebrow { position: relative; z-index: 1; color: rgba(255, 255, 255, 0.6); }
.save-offer b { position: relative; z-index: 1; display: block; margin-top: 10px; font-size: 44px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.save-offer b s { font-size: 20px; opacity: 0.45; margin-left: 6px; font-weight: 600; }
.save-offer p { position: relative; z-index: 1; margin: 8px 0 16px; font-size: 14.5px; opacity: 0.75; }
.save-offer .btn { position: relative; z-index: 1; }

/* ============ Сайт ============ */

.site-ico { flex: none; display: grid; place-items: center; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-weight: 700; }
.site-ico img { width: 100%; height: 100%; object-fit: cover; }
.row .site-ico { width: 42px; height: 42px; border-radius: 12px; }
.site-head { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6px 0 4px; }
.site-head .site-ico { width: 76px; height: 76px; border-radius: 22px; font-size: 28px; box-shadow: inset 0 0 0 1px var(--line), 0 14px 30px -14px rgba(0, 0, 0, 0.3); }
.site-head h2 { margin: 16px 0 4px; font-family: var(--serif); font-weight: 700; font-size: 30px; letter-spacing: -0.035em; }
.site-head a, .site-head button.link { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-weight: 600; font-size: 15px; text-decoration: none; }
.site-head a svg, .site-head button.link svg { width: 14px; height: 14px; }

.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; }
.live i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.live--ok { color: var(--ok); }
.live--ok i::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: currentColor; opacity: 0.35; animation: ping 1.8s ease-out infinite; }
@keyframes ping { from { transform: scale(0.4); opacity: 0.5; } to { transform: scale(1.6); opacity: 0; } }
.live--down { color: var(--danger); }
.live--off { color: var(--faint); }

.status-card { margin-top: 20px; border-radius: var(--r-lg); padding: 20px; background: var(--soft); }
.status-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.status-card__title { font-size: 22px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; }
.status-card__sub { font-size: 14px; color: var(--muted); margin-top: 4px; }
.uptime { display: flex; gap: 3px; height: 34px; margin-top: 18px; align-items: flex-end; }
.uptime i { flex: 1; height: 100%; border-radius: 3px; background: var(--ok); opacity: 0.85; transform-origin: bottom; animation: grow-y 0.6s var(--ease) both; }
.uptime i.is-half { background: #f2b43a; }
.uptime i.is-down { background: var(--danger); }
.uptime i.is-empty { background: var(--soft-2); opacity: 1; }
@keyframes grow-y { from { transform: scaleY(0.1); } }
.uptime-legend { display: flex; justify-content: space-between; font-size: 12px; color: var(--faint); margin-top: 6px; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.metric { padding: 14px 16px; border-radius: 18px; background: var(--soft); }
.metric span { display: block; font-size: 12.5px; color: var(--muted); }
.metric b { display: block; margin-top: 6px; font-size: 19px; font-weight: 800; letter-spacing: -0.035em; }
.site-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.site-actions .btn--big { grid-column: span 2; height: 64px; font-size: 17px; border-radius: 20px; }
.site-actions .btn--soft { height: 52px; font-size: 15px; }
.notice { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: rgba(229, 53, 43, 0.06); margin-top: 12px; font-size: 14px; }
.notice b { display: block; }
.notice--warn { background: rgba(242, 180, 58, 0.12); }

/* Правки */
.edits { border-top: 1px solid var(--line); }
.edit { padding: 16px 2px; border-bottom: 1px solid var(--line); animation: rise 0.5s var(--ease) both; }
.edit__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.edit__top b { font-size: 14px; font-weight: 700; }
.edit__top span { font-size: 12.5px; color: var(--muted); }
.edit p { margin: 8px 0 0; font-size: 15px; line-height: 1.45; white-space: pre-wrap; }
.edit__files { display: flex; gap: 6px; margin-top: 10px; }
.edit__files img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.chip--progress { background: rgba(242, 180, 58, 0.16); color: #a46b00; }
.chip--newst { background: var(--accent-soft); color: var(--accent); }
.textarea { width: 100%; min-height: 140px; padding: 14px 16px; border: 0; border-radius: 16px; background: var(--soft); font-size: 16px; line-height: 1.45; resize: none; outline: 2px solid transparent; transition: outline-color 0.2s, background-color 0.2s; }
.textarea:focus { outline-color: var(--ink); background: #fff; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.thumb { position: relative; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--soft); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: rgba(0, 0, 0, 0.55); color: #fff; display: grid; place-items: center; }
.thumb--add { display: grid; place-items: center; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line); background: transparent; }
.thumb--add svg { width: 22px; height: 22px; }

/* ============ Инструкции и документы ============ */

.article h4 { margin: 22px 0 6px; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.article p { margin: 0 0 10px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.article .tip { margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: var(--accent-soft); color: var(--ink); font-size: 14.5px; line-height: 1.45; }
.doc p { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.doc h4 { font-size: 15px; }

/* Согласие на первом экране */
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 4px 2px 14px; font-size: 13px; color: var(--muted); line-height: 1.45; text-align: left; }
.consent__box { flex: none; width: 22px; height: 22px; border-radius: 7px; box-shadow: inset 0 0 0 1.5px var(--faint); display: grid; place-items: center; color: #fff; transition: background-color 0.2s, box-shadow 0.2s; }
.consent__box svg { width: 14px; height: 14px; opacity: 0; transform: scale(0.5); transition: opacity 0.2s, transform 0.3s var(--spring); }
.consent.is-on .consent__box { background: var(--ink); box-shadow: none; }
.consent.is-on .consent__box svg { opacity: 1; transform: none; }
.consent a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 2px; }

/* Плашка cookies */
.cookie {
  position: fixed; z-index: 25; left: 12px; right: 12px; bottom: calc(var(--tabbar-h) + var(--bottom) + 22px);
  display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 20px;
  background: rgba(10, 10, 11, 0.92); color: #fff; font-size: 13px; line-height: 1.4;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.5);
  animation: paybar-in 0.6s var(--spring) both;
}
.cookie.is-leaving { animation: paybar-out 0.25s ease-in forwards; }
.cookie a { color: #fff; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(255, 255, 255, 0.4); }
.cookie .btn { flex: none; width: auto; height: 38px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
body.overlay .cookie, body.typing .cookie { display: none; }
.notice > svg { flex: none; width: 24px; height: 24px; }
.notice b { margin-bottom: 2px; }
.live { white-space: nowrap; }
.btn svg:not(.arrow) { width: 20px; height: 20px; flex: none; }
.icon-btn svg, .story__close svg { width: 20px; height: 20px; }

/* ============ v3: фирменный градиент сайта favikon.store ============ */

.t-ink { --m1: #141416; --m2: #2a1a12; --m3: #7a4122; --m4: #050506; }
.t-ember { --m1: #1c0b05; --m2: #c24a1a; --m3: #f6a46c; --m4: #080302; }
.mesh.t-brand, .brand-grad {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(184, 70, 26, 0.9), transparent 60%),
    linear-gradient(128deg, #a9390f 0%, #e36a2c 20%, #f5a067 31%, #d0602a 41%, #3a1608 60%, #0a0503 80%, #000 100%);
}
.brand-grad::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: 0.22; mix-blend-mode: overlay; pointer-events: none; }

/* Подзаголовки в аккаунте компактнее */
.section--sm { margin-top: 26px; }
.section--sm .section__head { margin-bottom: 8px; }
.section--sm .section__head h2 { font-size: 19px; letter-spacing: -0.03em; }

/* Шапка с вырезом (профиль, сайт) */
.profile { background: none; }
.cutout { position: relative; margin: calc((var(--top) + 10px) * -1) calc(var(--gutter) * -1) 0; padding: calc(var(--top) + 30px) var(--gutter) 30px; border-radius: 0 0 32px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.push > .cutout { margin: calc((var(--top) + 8px) * -1) calc(var(--gutter) * -1) 0; }
.cutout__back { position: absolute; z-index: 2; top: calc(var(--top) + 10px); left: 14px; }
.cutout__back .icon-btn { background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.cutout .site-ico { width: 84px; height: 84px; border-radius: 24px; font-size: 30px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 0 0 6px rgba(255, 255, 255, 0.08), 0 20px 40px -14px rgba(0, 0, 0, 0.6); }
.cutout h2 { position: relative; z-index: 1; margin: 16px 0 4px; font-family: var(--serif); font-weight: 700; font-size: 28px; letter-spacing: -0.04em; }
.cutout .link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 4px; color: rgba(255, 255, 255, 0.82); font-weight: 600; font-size: 15px; }
.cutout .link svg { width: 14px; height: 14px; }
.cutout .chip { position: relative; z-index: 1; margin-top: 14px; }

/* Спокойный статус сайта */
.calm { margin-top: 18px; display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--r-lg); background: var(--soft); }
.calm__icon { position: relative; width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--ok); color: #fff; }
.calm__icon::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; background: var(--ok); opacity: 0.18; animation: ping 2.4s ease-out infinite; }
.calm__icon svg { width: 22px; height: 22px; position: relative; }
.calm--work .calm__icon, .calm--work .calm__icon::before { background: #e8a23a; }
.calm > div > b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -0.025em; }
.calm > div > span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.site-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.site-actions .btn--big { grid-column: span 2; height: 64px; font-size: 17px; border-radius: 20px; }
.site-actions .btn--soft { height: 54px; font-size: 15px; }

/* Голосовая правка в шторке */
.voice-rec { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 10px 12px 10px 10px; border-radius: 18px; background: var(--soft); }
.voice-rec__btn { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--ink); color: #fff; transition: transform 0.3s var(--spring), background-color 0.2s; }
.voice-rec__btn:active { transform: scale(0.9); }
.voice-rec__btn svg { width: 21px; height: 21px; }
.voice-rec.is-rec .voice-rec__btn { background: #ff3b30; box-shadow: 0 0 0 8px rgba(255, 59, 48, 0.14); }
.voice-rec__main { flex: 1; min-width: 0; }
.voice-rec__main b { display: block; font-size: 15px; font-weight: 700; }
.voice-rec__main span { display: block; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.voice-rec__x { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); background: #fff; }
.voice-rec__x svg { width: 14px; height: 14px; }

/* Подписка: герой с локапом «Фавикон PRO» */
.pro-hero { border-radius: var(--r-lg); padding: 30px 22px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pro-lockup { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; }
.pro-lockup i { width: 44px; height: 44px; background: #fff; -webkit-mask: url('assets/favicon-bird.webp') center / contain no-repeat; mask: url('assets/favicon-bird.webp') center / contain no-repeat; }
.pro-lockup b { font-family: var(--serif); font-size: 34px; font-weight: 700; letter-spacing: -0.045em; }
.pro-lockup em { font-style: normal; height: 28px; padding: 0 10px; border-radius: 9px; display: grid; place-items: center; background: #fff; color: #0a0a0b; font-weight: 800; font-size: 14px; letter-spacing: 0.06em; }
.pro-hero p { position: relative; z-index: 1; margin: 12px 0 18px; font-size: 15px; opacity: 0.78; max-width: 280px; line-height: 1.45; }
.pro-hero__chips { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }

/* Блок цены с таймером */
.price-card { margin-top: 12px; border-radius: var(--r-lg); padding: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.price-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price-card__row { display: flex; align-items: flex-end; gap: 10px; margin-top: 12px; }
.price-card__row b { font-size: 52px; font-weight: 800; letter-spacing: -0.06em; line-height: 0.9; }
.price-card__row small { font-size: 15px; color: var(--muted); font-weight: 600; padding-bottom: 4px; }
.price-card__row s { font-size: 20px; color: var(--faint); font-weight: 600; padding-bottom: 3px; }
.clock { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.clock div { padding: 10px 0 8px; border-radius: 14px; background: var(--soft); text-align: center; }
.clock b { display: block; font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 24px; font-weight: 600; letter-spacing: -0.03em; }
.clock span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.price-card .countdown__bar { margin-top: 12px; }

/* Витрина «Сайт под ключ — бесплатно» */
.build { margin-top: 34px; border-radius: var(--r-lg); padding: 24px 0 22px; }
.build__head { position: relative; z-index: 1; padding: 0 22px; }
.build__head .chip { margin-bottom: 14px; }
.build__head h2 { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 700; letter-spacing: -0.045em; line-height: 1.04; }
.build__head p { margin: 10px 0 0; font-size: 15px; opacity: 0.75; line-height: 1.45; }
.build__rail { position: relative; z-index: 1; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px 22px 4px; scroll-padding: 0 22px; scrollbar-width: none; }
.build__rail::-webkit-scrollbar { display: none; }
.bcard { flex: none; width: 74%; scroll-snap-align: start; border-radius: 22px; background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); overflow: hidden; }
.bcard__art { height: 132px; position: relative; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); }
.bcard__body { padding: 14px 16px 16px; }
.bcard__body em { font-style: normal; font-family: var(--mono); font-size: 12px; opacity: 0.55; }
.bcard__body b { display: block; margin-top: 6px; font-size: 16px; font-weight: 700; letter-spacing: -0.025em; }
.bcard__body span { display: block; margin-top: 3px; font-size: 13.5px; opacity: 0.7; line-height: 1.4; }
.art-refs { display: grid; grid-template-columns: repeat(3, 44px); grid-template-rows: 44px 44px; gap: 6px; }
.art-refs i { border-radius: 9px; background: linear-gradient(135deg, rgba(255,255,255,.35), rgba(255,255,255,.08)); }
.art-refs i:nth-child(1) { background: linear-gradient(135deg, #f5a067, #a9390f); grid-row: span 2; }
.art-refs i:nth-child(3) { background: linear-gradient(135deg, #e8e2d4, #b9ad94); }
.art-refs i:nth-child(5) { background: linear-gradient(135deg, #2a2c36, #0a0a0b); }
.art-ds { display: flex; align-items: center; gap: 16px; }
.art-ds__type { font-family: var(--serif); font-size: 56px; font-weight: 700; letter-spacing: -0.06em; line-height: 1; }
.art-ds__sw { display: grid; grid-template-columns: repeat(2, 22px); gap: 6px; }
.art-ds__sw i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.art-dev { position: relative; width: 150px; height: 96px; }
.art-dev__desk { position: absolute; left: 0; top: 0; width: 124px; height: 80px; border-radius: 8px; background: #fff; box-shadow: 0 10px 20px -8px rgba(0,0,0,.5); overflow: hidden; }
.art-dev__desk::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 34px; background: linear-gradient(128deg, #e36a2c, #3a1608 70%); }
.art-dev__phone { position: absolute; right: 0; bottom: 0; width: 42px; height: 80px; border-radius: 9px; background: #fff; border: 3px solid #0c0c0e; overflow: hidden; }
.art-dev__phone::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 26px; background: linear-gradient(128deg, #e36a2c, #3a1608 70%); }
.art-launch { width: 170px; border-radius: 10px; background: #fff; color: #111; overflow: hidden; box-shadow: 0 10px 20px -8px rgba(0,0,0,.5); }
.art-launch__bar { display: flex; align-items: center; gap: 5px; padding: 7px 8px; background: #f1f1f0; font-size: 9px; font-weight: 600; color: #555; }
.art-launch__bar svg { width: 9px; height: 9px; color: var(--ok); }
.art-launch__body { padding: 10px; display: flex; align-items: center; justify-content: space-between; }
.art-launch__body b { font-size: 11px; }
.art-launch__body span { font-size: 9px; font-weight: 700; color: var(--ok); background: var(--ok-soft); padding: 3px 7px; border-radius: 99px; }

/* Инструкции */
.guide-list { display: grid; gap: 10px; }
.guide-card { display: flex; gap: 14px; align-items: center; width: 100%; padding: 10px 14px 10px 10px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); text-align: left; }
.guide-card__thumb { position: relative; width: 84px; height: 84px; border-radius: 16px; flex: none; display: grid; place-items: center; }
.guide-card__thumb svg { position: relative; z-index: 1; width: 26px; height: 26px; color: #fff; }
.guide-card__main { flex: 1; min-width: 0; }
.guide-card__main b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.25; }
.guide-card__main span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.guide-card__main em { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted); }
.guide-card__main em svg { width: 12px; height: 12px; }
.video { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.video__play { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.video__play svg { width: 26px; height: 26px; margin-left: 4px; }
.video span { position: relative; z-index: 1; font-size: 13px; font-weight: 600; opacity: 0.8; }
.guide-title { margin: 22px 2px 6px; font-family: var(--serif); font-size: 30px; font-weight: 700; letter-spacing: -0.045em; line-height: 1.05; }
.guide-lead { margin: 0 2px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.gsteps { display: grid; gap: 8px; margin-top: 22px; }
.gstep { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 16px; border-radius: 20px; background: var(--soft); }
.gstep__n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; }
.gstep b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; padding-top: 6px; }
.gstep p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.gtip { display: flex; gap: 12px; margin-top: 12px; padding: 16px; border-radius: 20px; background: rgba(232, 106, 44, 0.08); font-size: 14.5px; line-height: 1.45; }
.gtip svg { flex: none; width: 22px; height: 22px; color: #d0602a; }

/* Документы — просто ссылки */
.docs { margin-top: 30px; padding: 0 2px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; }
.docs button { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; font-weight: 500; }

/* Иллюстрации для сторис */
.sv { position: relative; width: 260px; max-width: 70vw; animation: story-obj 0.8s var(--spring) both; }
.sv-flow { display: grid; gap: 8px; }
.sv-flow__node { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-weight: 700; font-size: 14px; animation: rise 0.6s var(--ease) both; }
.sv-flow__node:nth-child(2) { margin-left: 22px; animation-delay: 0.1s; }
.sv-flow__node:nth-child(3) { margin-left: 44px; animation-delay: 0.2s; }
.sv-flow__node:nth-child(4) { margin-left: 22px; animation-delay: 0.3s; background: #fff; color: #111; }
.sv-flow__node i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.18); font-style: normal; font-size: 12px; }
.sv-flow__node:nth-child(4) i { background: #111; color: #fff; }
.sv-app .mock-phone, .sv-chat .mock-phone { position: relative; margin: 0 auto; transform: rotate(-3deg); }
.mini-app { flex: 1; padding: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; align-content: start; }
.mini-app__hero { grid-column: span 2; height: 64px; border-radius: 10px; background: linear-gradient(128deg, #e36a2c, #3a1608 70%); }
.mini-app__item { height: 62px; border-radius: 9px; background: #f1f1f4; }
.mini-app__item:nth-child(3) { background: #efe6da; }
.mini-app__btn { grid-column: span 2; margin-top: 2px; padding: 7px 0; border-radius: 8px; background: #0a0a0b; color: #fff; font-size: 8px; font-weight: 700; text-align: center; }
.sv-pay { padding: 18px; border-radius: 24px; background: #fff; color: #111; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); }
.sv-pay__top { display: flex; justify-content: space-between; font-size: 13px; color: #777; font-weight: 600; }
.sv-pay__sum { margin: 10px 0 14px; font-size: 34px; font-weight: 800; letter-spacing: -0.05em; }
.sv-pay__card { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: #f3f3f5; font-size: 13.5px; font-weight: 600; }
.sv-pay__card i { width: 32px; height: 22px; border-radius: 5px; background: linear-gradient(135deg, #2a2c36, #0a0a0b); }
.sv-pay__btn { margin-top: 12px; padding: 13px 0; border-radius: 14px; background: #0a6cff; color: #fff; text-align: center; font-weight: 700; font-size: 14px; }
.sv-notify { display: grid; gap: 8px; }
.sv-notify__item { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, 0.92); color: #111; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.5); animation: rise 0.6s var(--ease) both; }
.sv-notify__item:nth-child(2) { animation-delay: 0.15s; transform: scale(0.97); }
.sv-notify__item:nth-child(3) { animation-delay: 0.3s; transform: scale(0.94); opacity: 0.9; }
.sv-notify__item i { width: 34px; height: 34px; border-radius: 10px; flex: none; background: linear-gradient(135deg, #e36a2c, #1a0b05); }
.sv-notify__item b { display: block; font-size: 13.5px; }
.sv-notify__item span { display: block; font-size: 12.5px; color: #666; }
.sv-notify__item small { margin-left: auto; align-self: flex-start; font-size: 11px; color: #999; }
.sv-price { text-align: center; }
.sv-price small { display: block; font-size: 14px; opacity: 0.7; font-weight: 600; }
.sv-price b { display: block; margin-top: 6px; font-size: 64px; font-weight: 800; letter-spacing: -0.06em; line-height: 1; }
.sv-price ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; text-align: left; }
.sv-price li { display: flex; gap: 10px; align-items: center; font-size: 15px; font-weight: 600; }
.sv-price li svg { width: 18px; height: 18px; flex: none; }
.story__art { padding: 10px 0; }
.live--work { color: #c98a1f; }
.cover .logo__mark { width: 60px; height: 60px; }
.cutout .profile__handle { position: relative; z-index: 1; font-size: 14.5px; opacity: 0.75; }
.cutout .avatar { z-index: 1; }
.logo__mark { display: block; }

/* ============ v4: точечные правки ============ */

/* Воздух между блоками (правило близости) */
.subcard { margin-top: 16px; margin-bottom: 4px; }
.section--sm { margin-top: 34px; }
.section--sm .section__head { margin-bottom: 12px; }
.cutout { margin-bottom: 4px; }
.balance__stats { grid-template-columns: repeat(2, 1fr); }

/* Цена: старая крупно и зачёркнута, новая — меньше */
.price-swap { margin-top: 10px; }
.price-swap > s { display: block; font-size: 46px; font-weight: 800; letter-spacing: -0.055em; line-height: 1; color: var(--faint); text-decoration-thickness: 3px; text-decoration-color: rgba(229, 53, 43, 0.75); }
.price-swap > div { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; }
.price-swap > div b { font-size: 26px; font-weight: 800; letter-spacing: -0.04em; }
.price-swap > div small { font-size: 14px; color: var(--muted); font-weight: 600; }
.price-swap .chip { margin-left: 6px; align-self: center; height: 22px; font-size: 11.5px; }
.mini-timer { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: 99px; background: var(--soft); font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 12px; font-weight: 600; color: var(--ink); }
.mini-timer svg { width: 14px; height: 10px; color: var(--muted); }
.mini-timer b { font-weight: 600; }
.mini-timer i { font-style: normal; color: var(--faint); }
.price-note { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; }

/* Технический статус сайта */
.health { margin-top: 20px; padding: 18px; border-radius: var(--r-lg); background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.health__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.health .live--ok { color: var(--ok); }
.health .live--work { color: #c98a1f; }
.health__ago { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.health__scan { position: relative; height: 2px; margin: 16px 0 6px; border-radius: 2px; background: var(--soft-2); overflow: hidden; }
.health__scan i { position: absolute; top: 0; bottom: 0; width: 35%; border-radius: inherit; background: linear-gradient(90deg, transparent, var(--ok), transparent); animation: scan 2.2s ease-in-out infinite; }
.health--work .health__scan i { background: linear-gradient(90deg, transparent, #ffc35c, transparent); }
@keyframes scan { from { transform: translateX(-100%); } to { transform: translateX(290%); } }
.health__rows > div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.health__rows > div:last-child { border-bottom: 0; padding-bottom: 0; }
.health__rows span { color: var(--muted); }
.health__rows b { font-family: var(--mono); font-size: 13px; font-weight: 600; }
.site-actions .btn--ink { height: 54px; }

/* Панель правок как в поддержке */
.edit-bar { display: flex; align-items: flex-end; gap: 8px; margin-top: 6px; }
.edit-bar textarea { flex: 1; resize: none; max-height: 140px; min-height: 44px; padding: 11px 16px; border: 0; background: transparent; font-size: 16px; line-height: 1.3; outline: none; }
.edit-bar .tg-input__field { background: var(--soft); box-shadow: none; }
.edit-bar .tg-input__icon.tg-glass { background: var(--soft); box-shadow: none; }
.edit-bar .tg-input__icon.is-rec { background: #ff3b30; color: #fff; }
.edit-att { display: grid; gap: 8px; margin-bottom: 8px; }
.edit-att:empty { display: none; }
.att-voice { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: var(--soft); font-size: 13.5px; }
.att-voice b { font-weight: 700; }
.att-voice > span:last-of-type:not(.att-voice__ico):not(.rec__dot) { color: var(--muted); font-size: 12.5px; }
.att-voice__ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.att-voice__ico svg { width: 16px; height: 16px; }
.att-voice button { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--muted); }
.att-voice button svg { width: 12px; height: 12px; }
.link-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 16px; padding: 10px; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.link-btn svg { width: 18px; height: 18px; }

/* Инструкции: иконки поменьше, без «видео» на обложке */
.guide-card__thumb { width: 52px; height: 52px; border-radius: 15px; }
.guide-card__thumb svg { width: 22px; height: 22px; }
.guide-card { padding: 14px 16px 14px 14px; }

/* ============ v5: больше воздуха, без градиентов в шапках ============ */

.section { margin-top: 48px; }
.section--sm { margin-top: 40px; }
.section__head { margin-bottom: 16px; }
.section__lead { margin: -6px 2px 20px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.banners + .dots { margin-bottom: 4px; }

/* «Почему Фавикон» — факты */
.facts { display: grid; }
.fact { display: grid; grid-template-columns: 124px 1fr; gap: 16px; align-items: baseline; padding: 22px 2px; border-top: 1px solid var(--line); }
.fact:last-child { border-bottom: 1px solid var(--line); }
.fact > b { font-family: var(--serif); font-size: 31px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.fact span { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: -0.02em; }
.fact p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* Аккаунт — шапка на белом */
.me { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 0 8px; }
.me__ava { width: 92px; height: 92px; font-size: 32px; color: var(--ink); background: var(--soft); box-shadow: 0 0 0 1px var(--line); }
.me h2 { margin: 16px 0 4px; font-family: var(--serif); font-size: 26px; font-weight: 700; letter-spacing: -0.04em; }
.me__handle { font-size: 15px; color: var(--muted); }
.status-chip { margin-top: 14px; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; border-radius: 99px; background: var(--soft); font-size: 13px; font-weight: 700; }
.status-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.status-chip.is-ok i { background: var(--ok); }
.status-chip.is-warn i { background: #e8a23a; }
.subcard { margin-top: 26px; }

/* Мои сайты — карточкой */
#page-account .list { border-top: 0; }
#page-account .list .row { padding: 14px 16px; border: 0; border-radius: var(--r); background: var(--soft); }
#page-account .list .row .site-ico { width: 48px; height: 48px; border-radius: 14px; }
#page-account .list .row .site-ico img { padding: 6px; object-fit: contain; }

/* Мой сайт — шапка-вырез без градиента */
.site-top { position: relative; margin: calc((var(--top) + 8px) * -1) calc(var(--gutter) * -1) 0; padding: calc(var(--top) + 40px) var(--gutter) 30px; border-radius: 0 0 32px 32px; background: var(--soft); display: flex; flex-direction: column; align-items: center; text-align: center; }
.site-top .cutout__back .icon-btn { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-top .site-ico { width: 84px; height: 84px; border-radius: 24px; font-size: 30px; box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.35), inset 0 0 0 1px var(--line); }
.site-top .site-ico img { padding: 10px; object-fit: contain; }
.site-top h2 { margin: 16px 0 4px; font-family: var(--serif); font-size: 28px; font-weight: 700; letter-spacing: -0.04em; }
.site-top .link { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-weight: 600; font-size: 15px; }
.site-top .link svg { width: 14px; height: 14px; }
.health { margin-top: 24px; }

/* Подписка — спокойный верх */
.pro-top { padding: 28px 0 6px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.pro-top .pro-lockup i { background: var(--ink); }
.pro-top .pro-lockup b { color: var(--ink); }
.pro-top .pro-lockup em { background: var(--ink); color: #fff; }
.pro-top p { margin: 14px 0 0; max-width: 290px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.price-card { margin-top: 24px; }

/* Этапы «Целый сайт — бесплатно» вертикально */
.steps-v { display: grid; gap: 10px; }
.step-v { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; padding: 12px; border-radius: 22px; background: var(--soft); }
.step-v__art { height: 96px; border-radius: 16px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(140deg, #fbf6f1, #f1e4d6); }
.step-v__art > * { transform: scale(0.62); }
.step-v__body em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--faint); }
.step-v__body b { display: block; margin-top: 3px; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.step-v__body span { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.art-refs i { background: linear-gradient(135deg, #e9e2d8, #d8cbb9); }
.art-refs i:nth-child(1) { background: linear-gradient(135deg, #f5a067, #c4531e); }
.art-refs i:nth-child(5) { background: linear-gradient(135deg, #3a3b42, #0a0a0b); }
.art-ds__type { color: var(--ink); }
.art-ds__sw i { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); }

/* Партнёрка — без бенто */
.ref-top { padding: 22px 2px 4px; }
.ref-top__amount { margin-top: 10px; font-family: var(--serif); font-size: 56px; font-weight: 700; letter-spacing: -0.055em; line-height: 1; }
.ref-top p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--muted); max-width: 320px; }
.balance { margin-top: 26px; }
.nlist { display: grid; }
.nlist__item { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 16px 2px; border-top: 1px solid var(--line); }
.nlist__item:last-child { border-bottom: 1px solid var(--line); }
.nlist__item em { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); font-style: normal; font-weight: 700; font-size: 14px; }
.nlist__item b { display: block; font-size: 15.5px; font-weight: 700; padding-top: 5px; }
.nlist__item span { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.terms { margin: 0; padding: 0; list-style: none; }
.terms li { position: relative; padding: 13px 2px 13px 22px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.terms li:last-child { border-bottom: 1px solid var(--line); }
.terms li::before { content: ''; position: absolute; left: 4px; top: 21px; width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }

/* Поддержка — быстрые ответы в плашке */
.intro-card__quick { display: grid; gap: 6px; margin-top: 18px; text-align: left; }
.intro-card__quick button { display: flex; align-items: center; justify-content: space-between; padding: 13px 14px 13px 16px; border-radius: 14px; background: #fff; font-size: 14.5px; font-weight: 600; transition: transform 0.25s var(--spring); }
.intro-card__quick button:active { transform: scale(0.98); }
.intro-card__quick svg { color: var(--faint); }
.intro-card { width: min(320px, 92%); }

/* ============ v6: светлые композиции без градиентов ============ */

/* Поддержка */
.tg-head__ava { color: #fff; font-family: var(--serif); font-weight: 700; font-size: 16px; letter-spacing: -0.02em; }
.intro-card { padding: 22px 20px 18px; }
.intro-card__quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; }
.intro-card__quick button { display: inline-flex; padding: 7px 12px; border-radius: 99px; font-size: 13px; font-weight: 600; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.intro-card__quick button svg { display: none; }

/* Макеты */
.mk { font-family: var(--font); color: var(--ink); text-align: left; }
.mock-browser { transform: rotate(-4deg); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05); }
.mock-browser__hero { background: #ece6dc; }
.mock-browser__hero::after { display: none; }
.mock-browser__hero i { background: var(--ink); }
.mock-browser__lines span:first-child { background: #e8b394; }
.mock-phone__head i { background: var(--ink); }
.mk-status { width: 210px; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: 0 20px 40px -22px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.04); transform: rotate(-3deg); }
.mk-status__top { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.mk-status__top i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
.mk-status__row { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid var(--line); font-size: 12.5px; }
.mk-status__row span { color: var(--muted); }
.mk-chat, .mk-invite { width: 220px; display: flex; flex-direction: column; gap: 6px; }
.mk-chat span, .mk-invite span { max-width: 88%; padding: 9px 12px; border-radius: 16px; font-size: 13px; font-weight: 600; line-height: 1.3; box-shadow: 0 12px 26px -16px rgba(0, 0, 0, 0.3); }
.mk-chat__out { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 5px; }
.mk-chat__in { align-self: flex-start; background: #fff; border-bottom-left-radius: 5px; }
.mk-invite { transform: rotate(-3deg); }
.mk-invite__pill { align-self: flex-start; background: #fff; color: var(--ok); font-weight: 800 !important; font-size: 15px !important; }
.mk-note { width: 240px; display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 18px; background: #fff; box-shadow: 0 20px 40px -22px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.04); }
.mk-note i { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: #fff; font-style: normal; font-weight: 700; font-family: var(--serif); }
.mk-note b { display: block; font-size: 13px; }
.mk-note span { display: block; font-size: 12px; color: var(--muted); }
.mk-note small { align-self: flex-start; margin-left: auto; font-size: 11px; color: var(--faint); }

/* Баннеры — светлые */
.banner--cream { background: #f4efe7; color: var(--ink); }
.banner--gray { background: #f1f1f3; color: var(--ink); }
.banner--peach { background: #fbece2; color: var(--ink); }
.banner { position: relative; overflow: hidden; height: 196px; }
.banner .banner__text { max-width: 58%; }
.banner__text .eyebrow { color: var(--muted); }
.banner .btn--sm s { opacity: 0.45; margin-left: 6px; font-weight: 600; }
.banner__stage { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.banner__stage > * { position: absolute; right: -40px; top: 42px; }
.banner__stage .mock-browser { width: 210px; }
.banner__stage .mk-status, .banner__stage .mk-invite { right: -24px; top: 58px; }
.banner__stage--phone .mock-phone { right: 18px; top: 26px; height: 300px; transform: rotate(6deg) scale(0.9); }

/* Услуга */
.service__art--soft { background: #f1f1f3; }

/* «Почему Фавикон» — карусель с макетами */
.why-rail { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
.why-rail::-webkit-scrollbar { display: none; }
.why-card { flex: none; width: 76%; scroll-snap-align: start; border-radius: var(--r-lg); background: var(--soft); overflow: hidden; }
.why-card__art { position: relative; height: 168px; display: grid; place-items: center; overflow: hidden; }
.why-card__art .mock-browser { position: relative; width: 200px; transform: rotate(-4deg) translateY(18px); }
.why-card__art .mk-status, .why-card__art .mk-note { transform: rotate(-2deg); }
.why-card__body { padding: 4px 20px 22px; }
.why-card__body b { display: block; font-family: var(--serif); font-size: 30px; font-weight: 700; letter-spacing: -0.05em; }
.why-card__body span { display: block; margin-top: 4px; font-size: 15.5px; font-weight: 700; letter-spacing: -0.02em; }
.why-card__body p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--muted); }

/* Сторис — светлые и спокойные */
.stories { background: #f4efe7; }
.story { color: var(--ink); overflow: hidden; }
.story--brand { background: #f4efe7; }
.story--ink { background: #f1f1f3; }
.story--ember { background: #fbece2; }
.story__bars i { background: rgba(0, 0, 0, 0.12); }
.story__bars i b { background: var(--ink); }
.story__close { background: rgba(0, 0, 0, 0.06); color: var(--ink); }
.story__head .brand__mark { background: var(--ink); }
.story__head .brand__mark i { background: #fff; }
.story__text .eyebrow { color: var(--muted); }
.story__p { opacity: 1; color: var(--muted); }
.story__art { flex: 1; min-height: 0; overflow: hidden; display: grid; place-items: center; }
.story__art .sv { max-height: 100%; }
.sv-chat, .sv-app { height: auto !important; transform: scale(0.88); }
.sv-flow__node { background: #fff; color: var(--ink); box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.3); -webkit-backdrop-filter: none; backdrop-filter: none; }
.sv-flow__node i { background: var(--soft); }
.sv-flow__node:nth-child(4) { background: var(--ink); color: #fff; }
.sv-flow__node:nth-child(4) i { background: rgba(255, 255, 255, 0.15); color: #fff; }
.sv-pay, .sv-notify__item { box-shadow: 0 20px 40px -22px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.04); }
.sv-notify__item i { background: var(--ink); }
.sv-notify__item:nth-child(3) { opacity: 1; }
.sv-price { padding: 22px; border-radius: 24px; background: #fff; box-shadow: 0 20px 40px -22px rgba(0, 0, 0, 0.3); }
.sv-price small { color: var(--muted); opacity: 1; }
.sv-price b { font-size: 38px; margin-top: 4px; }
.sv-price__note { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.sv-price ul { margin-top: 16px; }
.sv-price li { font-size: 14px; }
.sv-price li svg { color: var(--ok); }
.mini-app__hero { background: #ece6dc; }

/* Аккаунт — плашка с закруглениями, без градиента */
.me--cut { margin: calc((var(--top) + 10px) * -1) calc(var(--gutter) * -1) 0; padding: calc(var(--top) + 30px) var(--gutter) 28px; border-radius: 0 0 32px 32px; background: var(--soft); }
.me--cut .me__ava { background: #fff; }
.me--cut .status-chip { background: #fff; }
.subcard--light { position: relative; overflow: hidden; background: #f4efe7; color: var(--ink); }
.subcard--light .subcard__label.eyebrow { color: var(--muted); }
.subcard--light .banner__stage > * { right: -86px; top: 30px; }
.subcard--light .subcard__text { opacity: 1; color: var(--muted); }

/* Иконки в списках действий — нормального размера */
.menu__item > svg { width: 16px; height: 16px; }

/* Инструкции — карточки одинаковой высоты */
.guide-card { min-height: 84px; align-items: center; }
.guide-card__thumb { background: var(--soft); }
.guide-card__thumb svg { color: var(--ink); }
.guide-card__main span { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.guide-card > svg { flex: none; width: 16px; height: 16px; color: var(--faint); }
.video { background: var(--soft); color: var(--ink); }
.video__play { background: #fff; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.3); }

/* Подписка: $200 крупнее */
.price-swap > s { font-size: 60px; }
.price-swap > div b { font-size: 28px; }

/* Активная подписка и удержание — светлые */
.sub-hero--light { background: #f4efe7; color: var(--ink); }
.sub-hero--light .chip--glass { background: #fff; color: var(--ink); box-shadow: none; }
.sub-hero--light .progress { background: rgba(0, 0, 0, 0.08); }
.sub-hero--light .progress i { background: var(--ink); }
.save-offer--light { background: #f4efe7; color: var(--ink); }
.save-offer--light .eyebrow { color: var(--muted) !important; }
.save-offer--light p { opacity: 1; color: var(--muted); }
.save-offer--light .btn--white { background: var(--ink); color: #fff; }

/* Макет окна браузера (восстановлен) */
.mock-browser { width: 230px; border-radius: 14px; overflow: hidden; background: #fbfbfa; color: #111; }
.mock-browser__bar { display: flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; background: #efefed; }
.mock-browser__bar i { width: 7px; height: 7px; border-radius: 50%; background: #d4d4d0; }
.mock-browser__bar span { margin-left: 8px; flex: 1; height: 14px; border-radius: 5px; background: #fff; font-size: 8px; line-height: 14px; color: #888; text-align: center; font-weight: 600; }
.mock-browser__hero { position: relative; height: 96px; display: grid; place-items: center; }
.mock-browser__hero i { width: 30px; height: 30px; -webkit-mask: url('assets/favicon-bird.webp') center / contain no-repeat; mask: url('assets/favicon-bird.webp') center / contain no-repeat; }
.mock-browser__body { padding: 10px 11px 12px; }
.mock-browser__body b { display: block; font-family: var(--serif); font-weight: 700; font-size: 13px; letter-spacing: -0.03em; }
.mock-browser__lines { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 5px; margin-top: 8px; }
.mock-browser__lines span { height: 34px; border-radius: 6px; background: #ececea; }
.service__art { overflow: hidden; }
.banner__stage .mock-browser { width: 196px; right: -78px; top: 74px; }
.banner .banner__text { position: relative; z-index: 2; }
.sv-notify__item i { display: grid; place-items: center; color: #fff; }
.sv-notify__item i svg { width: 18px; height: 18px; }
.sv-notify__item i.n-blue { background: #e4efff; color: #1f62f0; }
.sv-notify__item i.n-green { background: #e0f5e8; color: var(--ok); }
.sv-notify__item i.n-ink { background: var(--ink); color: #fff; }
.subcard--light .banner__stage { display: none; }
.subcard--light .subcard__title, .subcard--light .subcard__text { max-width: 100%; }

/* ============ Р1: подписка Pro ============ */
.pw { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pw__bar { align-self: stretch; display: flex; align-items: center; justify-content: space-between; }
.pw__laurel { display: flex; align-items: center; gap: 4px; margin-top: 18px; color: #c98a1f; }
.pw__laurel > div b { display: block; font-family: var(--serif); font-size: 30px; font-weight: 700; letter-spacing: -0.05em; color: var(--ink); line-height: 1; }
.pw__laurel > div span { display: block; margin-top: 3px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); line-height: 1.2; }
.laurel { width: 30px; height: 56px; }
.laurel--r { transform: scaleX(-1); }
.pw__title { margin: 12px 0 0; font-family: var(--serif); font-size: 36px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.pw__title em { font-style: normal; display: inline-block; padding: 3px 10px; margin-left: 4px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 22px; letter-spacing: 0.04em; vertical-align: 6px; }
.pw__list { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 11px; text-align: left; }
.pw__list li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; letter-spacing: -0.015em; }
.pw__list svg { flex: none; width: 20px; height: 20px; color: var(--ink); }
.pw__plans { align-self: stretch; display: grid; gap: 10px; }
.pw-plan { position: relative; text-align: left; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow 0.25s, transform 0.3s var(--spring); overflow: hidden; }
.pw-plan:active { transform: scale(0.98); }
.pw-plan.is-active { box-shadow: inset 0 0 0 2px var(--ink); }
.pw-plan__flag { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 0; background: var(--soft); font-size: 12.5px; font-weight: 700; }
.pw-plan.is-active .pw-plan__flag { background: var(--ink); color: #fff; }
.pw-plan__flag svg { width: 13px; height: 13px; }
.pw-plan__row { display: flex; align-items: center; gap: 12px; padding: 16px; }
.pw-plan__radio { flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--faint); transition: box-shadow 0.25s var(--spring); }
.pw-plan.is-active .pw-plan__radio { box-shadow: inset 0 0 0 7px var(--ink); }
.pw-plan__main { flex: 1; min-width: 0; }
.pw-plan__main b { display: flex; align-items: center; gap: 8px; font-size: 16.5px; font-weight: 700; letter-spacing: -0.02em; }
.pw-plan__main b em { font-style: normal; padding: 2px 7px; border-radius: 7px; background: rgba(26, 154, 82, 0.12); color: var(--ok); font-size: 12px; }
.pw-plan__main > span { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.pw-plan__price { text-align: right; }
.pw-plan__price s { display: block; font-size: 13px; color: var(--faint); font-weight: 600; }
.pw-plan__price b { font-size: 21px; font-weight: 800; letter-spacing: -0.04em; }
.pw__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--muted); }
.pw__trust span { display: inline-flex; align-items: center; gap: 5px; }
.pw__trust svg { width: 14px; height: 14px; color: var(--ok); }
.pw-cta { position: fixed; z-index: 31; left: 0; right: 0; bottom: 0; padding: 14px var(--gutter) calc(var(--bottom) + 14px); background: linear-gradient(rgba(255, 255, 255, 0), #fff 34%); animation: paybar-in 0.6s var(--spring) 0.1s both; }
.pw-cta__btn { height: 58px; border-radius: 99px; font-size: 16.5px; }

/* ============ П10: партнёрка ============ */
.rf-hero { position: relative; margin: calc((var(--top) + 8px) * -1) calc(var(--gutter) * -1) 0; height: 300px; overflow: hidden; background: radial-gradient(70% 60% at 50% 45%, #fbe7d6 0%, #f6efe6 55%, #fff 100%); }
.rf-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.rf-hero .cutout__back { top: calc(var(--top) + 10px); z-index: 3; }
.rf-hero .cutout__back .icon-btn { background: rgba(255, 255, 255, 0.8); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); }
.rf-orbit { position: absolute; left: 50%; top: calc(var(--top) + 150px); width: 0; height: 0; }
.rf-orbit__pill { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); padding: 12px 18px; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; white-space: nowrap; box-shadow: 0 18px 34px -16px rgba(0, 0, 0, 0.5); }
.rf-orbit__ava { position: absolute; width: 52px; height: 52px; margin: -26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 18px; color: #6b4a33; background: #fff; box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(255, 255, 255, 0.6); animation: float 6s ease-in-out infinite; }
.rf-orbit__ava--0 { left: -118px; top: -64px; background: #ffe2cf; }
.rf-orbit__ava--1 { left: 112px; top: -76px; width: 44px; height: 44px; margin: -22px; background: #e3eefc; color: #2c5aa8; animation-delay: -1s; }
.rf-orbit__ava--2 { left: -142px; top: 36px; width: 40px; height: 40px; margin: -20px; background: #e2f3e8; color: #23704a; animation-delay: -2s; }
.rf-orbit__ava--3 { left: 128px; top: 40px; background: #f1e8ff; color: #5b3fb8; animation-delay: -3s; }
.rf-orbit__ava--4 { left: -40px; top: -104px; width: 36px; height: 36px; margin: -18px; font-size: 14px; animation-delay: -4s; }
.rf-orbit__ava--5 { left: 46px; top: 88px; width: 42px; height: 42px; margin: -21px; background: #fff3d6; color: #8a6106; animation-delay: -5s; }
.rf-title { margin: 4px 0 0; font-family: var(--serif); font-size: 30px; font-weight: 700; letter-spacing: -0.045em; line-height: 1.05; }
.rf-sub { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.rf-link { display: flex; align-items: center; gap: 10px; margin-top: 22px; height: 52px; padding: 0 6px 0 16px; border-radius: 16px; background: var(--soft); }
.rf-link span { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rf-link button { height: 40px; padding: 0 14px; border-radius: 12px; background: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }
.rf-share { margin-top: 10px; height: 56px; border-radius: 99px; }
.rf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 6px; }
.rf-friend { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.rf-friend b { font-size: 12.5px; font-weight: 600; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rf-friend span:not(.rf-ava) { font-size: 11px; color: var(--muted); }
.rf-friend span.is-paid { color: var(--ok); font-weight: 700; }
.rf-ava { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 20px; background: var(--soft); color: var(--ink); }
.rf-ava--0 { background: #ffe2cf; color: #9a5a33; } .rf-ava--1 { background: #e3eefc; color: #2c5aa8; } .rf-ava--2 { background: #e2f3e8; color: #23704a; } .rf-ava--3 { background: #f1e8ff; color: #5b3fb8; }
.rf-friend--empty .rf-ava { background: transparent; box-shadow: inset 0 0 0 1.5px #d6d6da; color: var(--muted); }
.rf-friend--empty .rf-ava svg { width: 20px; height: 20px; }
.rf-friend--empty b { color: var(--muted); }
.rf-balance { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding: 16px 16px 16px 18px; border-radius: 18px; background: var(--soft); }
.rf-balance span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.rf-balance b { display: block; margin-top: 2px; font-size: 22px; font-weight: 800; letter-spacing: -0.04em; }

/* ============ И1: инструкции ============ */
.hc { border-top: 1px solid var(--line); }
.hc__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 17px 2px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; letter-spacing: -0.015em; text-align: left; transition: opacity 0.2s; }
.hc__row:active { opacity: 0.55; }
.hc__row svg { flex: none; width: 14px; height: 14px; color: var(--faint); }
.hc .acc { border: 0; }
.hc .acc .hc__row { border-bottom: 1px solid var(--line); }
.hc .acc__a p { padding-top: 12px; }

/* ============ v7: фактурные объёмные фоны — у каждой поверхности свой рецепт ============ */

:root {
  /* мелкое плёночное зерно для светлых фонов */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.sf { position: relative; isolation: isolate; overflow: hidden; }
.sf::before, .sf::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sf::after { background-image: var(--noise); background-size: 200px; opacity: 0.22; mix-blend-mode: multiply; }

/* Фирменный — как герой favikon.store */
.sf--brand { color: #fff; background:
  radial-gradient(90% 70% at 0% 0%, rgba(184, 70, 26, 0.95), transparent 60%),
  linear-gradient(128deg, #a9390f 0%, #e36a2c 20%, #f5a067 31%, #d0602a 41%, #3a1608 60%, #0a0503 80%, #000 100%); }
.sf--brand::after { background-image: var(--grain); opacity: 0.32; mix-blend-mode: overlay; }

/* Рассвет — тёплый крем, свечение в углу, светлые кольца */
.sf--dawn { background:
  radial-gradient(110% 90% at 100% 105%, rgba(227, 106, 44, 0.42), transparent 55%),
  radial-gradient(80% 70% at 0% 0%, #fffaf4, transparent 60%),
  linear-gradient(160deg, #fbf3ea 0%, #f2e1cf 100%); }
.sf--dawn::before { background: repeating-radial-gradient(circle at 92% 100%, transparent 0 34px, rgba(255, 255, 255, 0.5) 34px 35px); -webkit-mask: radial-gradient(70% 80% at 92% 100%, #000, transparent 75%); mask: radial-gradient(70% 80% at 92% 100%, #000, transparent 75%); }

/* Студия — фон предметной съёмки: пятно света и тень на полу */
.sf--studio { background:
  radial-gradient(55% 45% at 62% 42%, #ffffff 0%, rgba(255, 255, 255, 0) 70%),
  linear-gradient(180deg, #f5f5f7 0%, #e4e4e9 100%); }
.sf--studio::before { background: radial-gradient(38% 9% at 64% 93%, rgba(0, 0, 0, 0.16), transparent 70%); }

/* Шалфей — технологичный: точечная сетка растворяется к краям */
.sf--sage { background:
  radial-gradient(80% 70% at 88% 6%, #d4e8d8, transparent 60%),
  linear-gradient(160deg, #f3f7f2 0%, #e1ebe2 100%); }
.sf--sage::before { background: radial-gradient(rgba(30, 85, 55, 0.2) 1px, transparent 1.5px) 0 0 / 14px 14px; -webkit-mask: radial-gradient(70% 80% at 70% 30%, #000, transparent 75%); mask: radial-gradient(70% 80% at 70% 30%, #000, transparent 75%); }

/* Небо — бледно-голубой, концентрические кольца */
.sf--sky { background:
  radial-gradient(70% 60% at 15% 15%, #ffffff, transparent 60%),
  linear-gradient(160deg, #eef3fb 0%, #dce6f5 100%); }
.sf--sky::before { background: repeating-radial-gradient(circle at 82% 88%, transparent 0 20px, rgba(40, 80, 160, 0.08) 20px 21px); -webkit-mask: radial-gradient(65% 75% at 82% 88%, #000, transparent 72%); mask: radial-gradient(65% 75% at 82% 88%, #000, transparent 72%); }

/* Песок — тёплый, мягкие диагональные лучи */
.sf--sand { background:
  radial-gradient(70% 60% at 85% 20%, #fff3e2, transparent 60%),
  linear-gradient(160deg, #f6ecdd 0%, #e9d6bb 100%); }
.sf--sand::before { background: repeating-linear-gradient(118deg, rgba(255, 255, 255, 0) 0 46px, rgba(255, 255, 255, 0.42) 46px 74px); filter: blur(6px); -webkit-mask: linear-gradient(200deg, #000 20%, transparent 85%); mask: linear-gradient(200deg, #000 20%, transparent 85%); }

/* Графит — тёмный, тлеющее оранжевое свечение */
.sf--ink { color: #fff; background:
  radial-gradient(70% 80% at 100% 100%, rgba(227, 106, 44, 0.55), transparent 60%),
  radial-gradient(60% 60% at 0% 0%, #2a2b31, transparent 70%),
  linear-gradient(160deg, #18181c 0%, #0b0b0d 100%); }
.sf--ink::after { background-image: var(--grain); opacity: 0.28; mix-blend-mode: overlay; }

/* Текст на тёмных поверхностях */
.banner.sf--brand .eyebrow, .banner.sf--ink .eyebrow { color: rgba(255, 255, 255, 0.65); }
.banner.sf--brand .btn--ink, .banner.sf--ink .btn--ink { background: #fff; color: var(--ink); }
.subcard.sf--ink .subcard__label.eyebrow { color: rgba(255, 255, 255, 0.6); }
.subcard.sf--ink .subcard__text { color: rgba(255, 255, 255, 0.72); opacity: 1; }
.subcard.sf--ink .btn--ink { background: #fff; color: var(--ink); }
.subcard.sf--ink .timer--light b { background: rgba(255, 255, 255, 0.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.subcard.sf--ink .timer--light i { color: rgba(255, 255, 255, 0.5); }

/* Подложка подписки — свечение сверху, растворяется в белый */
.pw-bg { position: absolute; left: 0; right: 0; top: 0; height: 460px; z-index: 0; -webkit-mask: linear-gradient(#000 55%, transparent); mask: linear-gradient(#000 55%, transparent); }
.pw { position: relative; z-index: 1; }

/* Сторис — у каждого шага свой фон */
.story--brand { background: none; }
.story--ink { background: none; }
.story--ember { background: none; }
/* поверхности поверх старых правил */
.me--cut.sf { background-color: transparent; }
.site-top.sf { background-color: transparent; }
.rf-hero.sf::after { opacity: 0.22; }
.rf-hero.sf { background-color: transparent; }
.story.sf { position: absolute; }
.why-card__art.sf { border-radius: 0; }
.subcard.sf--ink .banner__stage { display: none; }

/* Подписка и партнёрка: прошлая композиция + фактурные подложки */
.pro-top--card { margin-top: 4px; padding: 34px 20px 30px; border-radius: var(--r-lg); }
.pro-top--card p { color: #7a5a44; }
.ref-top--card { margin-top: 4px; padding: 30px 22px 28px; border-radius: var(--r-lg); }
.ref-top--card p { color: #7a5a44; }
.step-v__art.sf { background-color: transparent; }

/* ======================================================================
   v8: варианты оформления (A · Облако, B · Витрина, C · Тёплый)
   ====================================================================== */

@font-face { font-family: OswaldV; src: url('assets/oswald-cyrillic.woff2') format('woff2'); font-weight: 200 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: OswaldV; src: url('assets/oswald-latin.woff2') format('woff2'); font-weight: 200 700; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }

/* Переключатель вариантов */
.skin-switch { position: fixed; z-index: 200; left: 50%; top: calc(var(--top) + 8px); transform: translateX(-50%); display: flex; gap: 2px; padding: 3px; border-radius: 99px; background: rgba(255, 255, 255, 0.85); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.skin-switch button { height: 28px; padding: 0 10px; border-radius: 99px; font-size: 11.5px; font-weight: 700; white-space: nowrap; color: var(--muted); }
.skin-switch button.is-on { background: var(--ink); color: #fff; }
.page { padding-top: calc(var(--top) + 46px); }
.push { padding-top: calc(var(--top) + 44px); }
.page--chat { padding-top: 0; }
.tg-head { padding-top: calc(var(--top) + 44px); }

/* Появление при прокрутке */
.rv { transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.rv:not(.in) { opacity: 0; transform: translateY(18px); }
.rv.sweep-in { transition: none; }
@media (prefers-reduced-motion: reduce) { .rv:not(.in) { opacity: 1; transform: none; } }

/* ---------- Поддержка в стиле Serus ---------- */
.sx { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 20px; margin-bottom: 210px; }
.sx__loader { position: relative; width: 34px; height: 34px; margin-bottom: 18px; }
.sx__loader i { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: var(--ink); transform: rotate(calc(var(--i) * 30deg)) translateY(-14px); animation: sx-dot 1.2s linear infinite; animation-delay: calc(var(--i) * 0.1s); opacity: 0.15; }
@keyframes sx-dot { 0% { opacity: 1; } 100% { opacity: 0.15; } }
.sx__title { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 700; letter-spacing: -0.045em; line-height: 1.1; }
.sx__title span { display: inline-block; transition: opacity 0.26s ease, transform 0.26s ease, filter 0.26s ease; }
.sx__title span.out { opacity: 0; transform: translateY(-8px); filter: blur(4px); }
.sx__sub { margin: 10px 0 0; max-width: 280px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
/* пустой чат: поле ввода становится большой карточкой по центру */
.page--chat.is-empty .tg-input { position: absolute; left: 14px; right: 14px; top: 50%; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px; border-radius: 28px; background: #fff; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.35), inset 0 0 0 1px var(--line); transform: translateY(-10px); }
.page--chat.is-empty .tg-input__field { order: -1; flex: 1 0 100%; background: transparent; box-shadow: none; min-height: 72px; }
.page--chat.is-empty .tg-input textarea { min-height: 72px; font-size: 17px; padding: 6px 8px; }
.page--chat.is-empty .tg-input textarea::placeholder { color: var(--faint); }
.page--chat.is-empty .tg-input__icon.tg-glass { background: var(--soft); box-shadow: none; }
.page--chat.is-empty .tg-input__mic { margin-left: auto; }
.page--chat.is-empty .tg-input::after { content: 'Отвечает команда, а не робот · обычно за час'; position: absolute; left: 0; right: 0; top: calc(100% + 14px); text-align: center; font-size: 12.5px; color: var(--faint); }
.page--chat.is-empty .quick { display: none; }
.page--chat.is-empty .tg-head__pill { opacity: 0; pointer-events: none; }
body.typing .page--chat.is-empty .tg-input { top: auto; bottom: calc(var(--bottom) + 10px); transform: none; }

/* ---------- Первый экран Pro (CoolDock) ---------- */
.ch { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0 calc(var(--gutter) * -1); padding: 18px var(--gutter) 0; }
.ch__line { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.ch__line i { width: 24px; height: 24px; background: currentColor; -webkit-mask: url('assets/favicon-bird.webp') center / contain no-repeat; mask: url('assets/favicon-bird.webp') center / contain no-repeat; }
.ch__title { margin: 14px 0 0; font-family: var(--serif); font-size: 46px; font-weight: 700; letter-spacing: -0.055em; line-height: 0.98; }
.ch__sub { margin: 14px 0 0; max-width: 310px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.ch__cta { margin-top: 22px; height: 56px; border-radius: 99px; font-size: 16px; }
.ch__cta s { opacity: 0.5; font-weight: 600; margin-left: 6px; }
.ch__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin-top: 14px; font-size: 12.5px; font-weight: 600; color: var(--faint); }
.ch__stage { position: relative; width: calc(100% + var(--gutter) * 2); height: 300px; margin-top: 18px; overflow: hidden; }
.ch__land { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #eef0ea 55%, #dfe5da 100%); }
.ch__land i { position: absolute; bottom: -60px; border-radius: 50%; filter: blur(2px); }
.ch__land i:nth-child(1) { left: -30%; width: 120%; height: 180px; background: radial-gradient(closest-side, #c9d6bf, #b9c9ad 70%, transparent 72%); }
.ch__land i:nth-child(2) { right: -35%; width: 110%; height: 210px; background: radial-gradient(closest-side, #d3decb, #c2d1b6 70%, transparent 72%); bottom: -90px; }
.ch__land i:nth-child(3) { left: 10%; width: 90%; height: 120px; bottom: -40px; background: radial-gradient(closest-side, #adc0a1, #9fb593 70%, transparent 72%); }
.ch__land::after { content: ''; position: absolute; inset: 0; background-image: var(--noise); background-size: 200px; opacity: 0.25; mix-blend-mode: multiply; }
.ch__device { position: absolute; left: 50%; top: 22px; transform: translateX(-50%); width: 300px; height: 280px; }
.ch__device .mock-browser { position: absolute; left: 0; top: 18px; width: 230px; transform: rotate(-3deg); }
.ch__device .mock-phone { position: absolute; right: 0; top: 0; height: 290px; transform: rotate(4deg) scale(0.82); transform-origin: top right; }
.ch__badges { display: flex; justify-content: center; gap: 14px; margin: 26px 0 6px; }
.ch__badge { position: relative; width: 92px; height: 92px; display: grid; place-items: center; }
.badge-ring { position: absolute; inset: 0; animation: spin 24s linear infinite; }
.badge-ring text { font-size: 9.4px; font-weight: 700; letter-spacing: 0.12em; fill: var(--muted); font-family: var(--font); }
.ch__badge b { font-family: var(--serif); font-size: 18px; font-weight: 700; letter-spacing: -0.04em; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ======================================================================
   A · Облако — Bevel: белый холст, облачные карточки, небесная атмосфера
   ====================================================================== */
[data-skin='a'] { --soft: #ebf0f8; --soft-2: #dfe6f1; --muted: #747679; --ink: #1f2025; --line: rgba(31, 32, 37, 0.07); --r: 24px; --r-lg: 32px; --accent: #415eee; }
[data-skin='a'] .page, [data-skin='a'] .push { background: linear-gradient(180deg, #e8f0fb 0px, #f6f3ee 260px, #ffffff 520px) no-repeat, #fff; }
[data-skin='a'] .btn { border-radius: 99px; }
[data-skin='a'] .btn--soft { background: #ebf0f8; }
[data-skin='a'] .banner.sf, [data-skin='a'] .why-card, [data-skin='a'] .service, [data-skin='a'] .menu, [data-skin='a'] .price-card, [data-skin='a'] .period, [data-skin='a'] .health { box-shadow: none; }
[data-skin='a'] .banner.sf { background: linear-gradient(160deg, #f3f7fd, #e3ebf7); color: var(--ink); }
[data-skin='a'] .banner.sf::before { background: radial-gradient(60% 60% at 80% 20%, rgba(255, 171, 148, 0.45), transparent 70%), radial-gradient(50% 50% at 20% 90%, rgba(185, 166, 255, 0.35), transparent 70%); }
[data-skin='a'] .banner.sf .eyebrow { color: var(--muted); }
[data-skin='a'] .banner.sf .btn--ink { background: var(--ink); color: #fff; }
[data-skin='a'] .why-card, [data-skin='a'] .price-card, [data-skin='a'] .menu, [data-skin='a'] .health, [data-skin='a'] .period { background: #ebf0f8; }
[data-skin='a'] .why-card__art.sf { background: linear-gradient(180deg, #f6f9fe, #e4ecf8); }
[data-skin='a'] .service { background: #ebf0f8; }
[data-skin='a'] .service__art.sf { background: radial-gradient(60% 60% at 50% 40%, #fff, transparent 70%), linear-gradient(180deg, #eaf1fb, #dbe5f3); }
[data-skin='a'] .period.is-active { box-shadow: inset 0 0 0 2px var(--ink); }
[data-skin='a'] .menu__icon { background: #fff; }
[data-skin='a'] .me--cut.sf, [data-skin='a'] .site-top.sf, [data-skin='a'] .pro-top--card, [data-skin='a'] .ref-top--card { background: linear-gradient(180deg, #e5eefa, #f6f3ee); }
[data-skin='a'] .me--cut.sf::before, [data-skin='a'] .site-top.sf::before { background: radial-gradient(50% 60% at 80% 10%, rgba(255, 171, 148, 0.35), transparent 70%); -webkit-mask: none; mask: none; }
[data-skin='a'] .subcard.sf--ink { background: radial-gradient(70% 80% at 100% 0%, rgba(65, 94, 238, 0.55), transparent 60%), linear-gradient(160deg, #23242a, #1f2025); }
[data-skin='a'] .ch__land { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #eaf0f8 50%, #dde6f2 100%); }
[data-skin='a'] .ch__land i:nth-child(1) { background: radial-gradient(closest-side, #d4def0, #c3d1ea 70%, transparent 72%); }
[data-skin='a'] .ch__land i:nth-child(2) { background: radial-gradient(closest-side, #f6dccf, #efcbbb 70%, transparent 72%); }
[data-skin='a'] .ch__land i:nth-child(3) { background: radial-gradient(closest-side, #c9d5ec, #b7c6e4 70%, transparent 72%); }
[data-skin='a'] .tab.is-active { color: var(--ink); }
[data-skin='a'] .page--chat, [data-skin='a'] .chat-body { background: linear-gradient(180deg, #eef3fb, #fff 60%); }

/* ======================================================================
   B · Витрина — Apple Ultra + FacilPay: белый, тёмные «залы» со светом
   ====================================================================== */
[data-skin='b'] { --soft: #f5f5f7; --ink: #1d1d1f; --muted: #6e6e73; --r: 22px; --r-lg: 28px; }
[data-skin='b'] .btn { border-radius: 980px; }
[data-skin='b'] .banner.sf, [data-skin='b'] .service__art.sf, [data-skin='b'] .why-card__art.sf, [data-skin='b'] .subcard.sf, [data-skin='b'] .pro-top--card, [data-skin='b'] .ref-top--card { color: #f5f5f7; background: radial-gradient(60% 70% at 70% 60%, rgba(255, 90, 0, 0.35), transparent 65%), radial-gradient(80% 60% at 20% 0%, #26262b, transparent 70%), #000; }
[data-skin='b'] .banner.sf::after, [data-skin='b'] .service__art.sf::after, [data-skin='b'] .why-card__art.sf::after { background-image: var(--grain); opacity: 0.25; mix-blend-mode: overlay; }
[data-skin='b'] .banner.sf::before, [data-skin='b'] .why-card__art.sf::before, [data-skin='b'] .service__art.sf::before { background: none; }
[data-skin='b'] .banner.sf .eyebrow { color: rgba(245, 245, 247, 0.6); }
[data-skin='b'] .banner.sf .btn--ink { background: #ff5a00; color: #fff; }
[data-skin='b'] .mock-phone, [data-skin='b'] .mock-browser, [data-skin='b'] .mk-status, [data-skin='b'] .mk-note { box-shadow: 0 0 0 1px rgba(150, 170, 255, 0.4), 0 0 34px -4px rgba(90, 120, 255, 0.45), 0 30px 60px -20px rgba(0, 0, 0, 0.8); }
[data-skin='b'] .pro-top--card p, [data-skin='b'] .ref-top--card p { color: rgba(245, 245, 247, 0.7); }
[data-skin='b'] .pro-top--card .pro-lockup i { background: #fff; }
[data-skin='b'] .pro-top--card .pro-lockup b { color: #fff; }
[data-skin='b'] .pro-top--card .pro-lockup em { background: #ff5a00; }
[data-skin='b'] .why-card__body b, [data-skin='b'] .fact > b { font-size: 34px; }
[data-skin='b'] .ch { color: #f5f5f7; background: radial-gradient(70% 45% at 50% 72%, rgba(255, 90, 0, 0.45), transparent 70%), #000; margin-top: calc((var(--top) + 44px) * -1); padding-top: calc(var(--top) + 64px); border-radius: 0 0 32px 32px; }
[data-skin='b'] .ch .ch__sub { color: rgba(245, 245, 247, 0.65); }
[data-skin='b'] .ch .ch__facts { color: rgba(245, 245, 247, 0.45); }
[data-skin='b'] .ch .ch__cta { background: #ff5a00; }
[data-skin='b'] .ch__land { display: none; }
[data-skin='b'] .ch__title { font-size: 50px; }
[data-skin='b'] .ch__badges { padding-bottom: 22px; }
[data-skin='b'] .badge-ring text { fill: rgba(245, 245, 247, 0.55); }
[data-skin='b'] .push:has(.ch) .push__bar { position: relative; z-index: 2; }
[data-skin='b'] .push:has(.ch) .push__bar h1 { color: #fff; }
[data-skin='b'] .push:has(.ch) .push__bar .icon-btn { background: rgba(255, 255, 255, 0.12); color: #fff; }
[data-skin='b'] .me--cut.sf, [data-skin='b'] .site-top.sf { background: #f5f5f7; }
[data-skin='b'] .me--cut.sf::before, [data-skin='b'] .site-top.sf::before { background: none; }
[data-skin='b'] .page--chat { background: #fff; }

/* ======================================================================
   C · Тёплый — Subscrr + Mira: молочный фон, узкие заголовки, оранжевый
   ====================================================================== */
[data-skin='c'] { --bg: #f4f2ee; --soft: #ebe6de; --soft-2: #e2dbd0; --ink: #141414; --muted: #6b665e; --line: rgba(20, 20, 20, 0.08); --accent: #ef4423; --r: 22px; --r-lg: 28px; }
[data-skin='c'] body, [data-skin='c'] .page, [data-skin='c'] .push, [data-skin='c'] .chat-body, [data-skin='c'] .page--chat { background: #f4f2ee; }
[data-skin='c'] .section__head h2, [data-skin='c'] .banner__title, [data-skin='c'] .ch__title, [data-skin='c'] .service__title, [data-skin='c'] .sx__title, [data-skin='c'] .me h2, [data-skin='c'] .site-top h2, [data-skin='c'] .ref-top__amount, [data-skin='c'] .why-card__body b, [data-skin='c'] .pro-lockup b { font-family: OswaldV, var(--serif); font-weight: 600; text-transform: uppercase; letter-spacing: -0.01em; }
[data-skin='c'] .section__head h2 { font-size: 26px; }
[data-skin='c'] .banner__title { font-size: 26px; line-height: 1; }
[data-skin='c'] .ch__title { font-size: 54px; line-height: 0.95; }
[data-skin='c'] .btn--ink, [data-skin='c'] .btn:not(.btn--soft):not(.btn--white):not(.btn--glass) { background: #ef4423; color: #fff; }
[data-skin='c'] .btn { border-radius: 99px; }
[data-skin='c'] .banner.sf, [data-skin='c'] .why-card__art.sf, [data-skin='c'] .service__art.sf { background: #e9e3d9; color: var(--ink); }
[data-skin='c'] .banner.sf::before, [data-skin='c'] .why-card__art.sf::before, [data-skin='c'] .service__art.sf::before { -webkit-mask: none; mask: none; background: repeating-linear-gradient(90deg, rgba(239, 68, 35, 0) 0 7px, rgba(239, 68, 35, 0.55) 7px 10px); -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%); mask-image: radial-gradient(closest-side, #000 30%, transparent 100%); -webkit-mask-size: 180px 180px; mask-size: 180px 180px; -webkit-mask-position: 100% 100%; mask-position: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; filter: blur(1px); }
[data-skin='c'] .banner.sf .eyebrow { color: var(--muted); }
[data-skin='c'] .why-card, [data-skin='c'] .menu, [data-skin='c'] .price-card, [data-skin='c'] .period, [data-skin='c'] .health, [data-skin='c'] .service { background: #fff; box-shadow: none; }
[data-skin='c'] .feature__icon, [data-skin='c'] .menu__icon, [data-skin='c'] .nlist__item em { background: rgba(239, 68, 35, 0.1); color: #ef4423; }
[data-skin='c'] .me--cut.sf, [data-skin='c'] .site-top.sf, [data-skin='c'] .pro-top--card, [data-skin='c'] .ref-top--card { background: #ebe6de; }
[data-skin='c'] .me--cut.sf::before, [data-skin='c'] .site-top.sf::before { background: none; }
[data-skin='c'] .subcard.sf--ink { background: radial-gradient(60% 80% at 100% 100%, rgba(239, 68, 35, 0.7), transparent 60%), #141414; }
[data-skin='c'] .chip--accent, [data-skin='c'] .period .chip { background: #ef4423; }
[data-skin='c'] .period.is-active { box-shadow: inset 0 0 0 2px #ef4423; }
[data-skin='c'] .period.is-active .period__radio { box-shadow: inset 0 0 0 6px #ef4423; }
[data-skin='c'] .ch__land { background: linear-gradient(180deg, rgba(244, 242, 238, 0) 0%, #ece3d6 50%, #e3d4c0 100%); }
[data-skin='c'] .ch__land i:nth-child(1) { background: radial-gradient(closest-side, #e7cdb2, #ddbd9c 70%, transparent 72%); }
[data-skin='c'] .ch__land i:nth-child(2) { background: radial-gradient(closest-side, #f0d6bf, #e8c6a6 70%, transparent 72%); }
[data-skin='c'] .ch__land i:nth-child(3) { background: radial-gradient(closest-side, #d7ad86, #cc9c73 70%, transparent 72%); }
[data-skin='c'] .ch__badge b { font-family: OswaldV, var(--serif); }
[data-skin='c'] .tab.is-active { color: #ef4423; }
[data-skin='c'] .tabbar__glass { background: rgba(255, 255, 255, 0.75); }
[data-skin='c'] .sx__loader i { background: #ef4423; }
/* «сфера» из полос (Mira) за заголовком поддержки */
[data-skin='c'] .sx::before { content: ''; width: 150px; height: 150px; margin-bottom: -96px; border-radius: 50%; background: repeating-linear-gradient(90deg, rgba(239, 68, 35, 0.9) 0 6px, rgba(255, 180, 120, 0.25) 6px 11px); -webkit-mask: radial-gradient(closest-side, #000 55%, transparent 100%); mask: radial-gradient(closest-side, #000 55%, transparent 100%); filter: blur(1.5px); opacity: 0.55; animation: orb 7s ease-in-out infinite; }
@keyframes orb { 50% { transform: scale(1.08) rotate(6deg); opacity: 0.75; } }
.page--chat.is-empty .tg-input { top: 58%; }
.sx { margin-bottom: 300px; }

/* ============ v9: правки «Витрины» ============ */
/* без логотипа */
.logo__text { padding-left: 0; border-left: 0; }
.mock-browser__hero { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding: 0 14px; background: linear-gradient(135deg, #f4f4f6, #e9e9ee); }
.mock-browser__h { width: 70%; height: 9px; border-radius: 4px; background: #1d1d1f; }
.mock-browser__h--s { width: 46%; height: 6px; background: #a8a8ae; }
.mock-browser__btn { width: 52px; height: 14px; border-radius: 7px; background: #ff5a00; margin-top: 4px; }
.pro-lockup { gap: 8px; }
.ch__line { color: var(--muted); }
/* поддержка: только «Отвечает команда, а не робот» */
.page--chat.is-empty .tg-input::after { content: 'Отвечает команда, а не робот'; }
/* спокойная анимированная форма вместо «загрузки» */
.sx__orb { position: relative; width: 74px; height: 74px; margin-bottom: 20px; }
.sx__orb i { position: absolute; inset: 0; border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; mix-blend-mode: multiply; animation: sx-morph 9s ease-in-out infinite; }
.sx__orb i:nth-child(1) { background: radial-gradient(circle at 30% 30%, #ffd2b8, #ff8a4c 70%); opacity: 0.75; }
.sx__orb i:nth-child(2) { background: radial-gradient(circle at 70% 40%, #e7e9ff, #9aa7ff 70%); opacity: 0.55; animation-duration: 11s; animation-direction: reverse; }
.sx__orb i:nth-child(3) { background: radial-gradient(circle at 50% 70%, #fff, #e9e9ee 70%); opacity: 0.6; animation-duration: 13s; }
@keyframes sx-morph {
  0% { border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; transform: rotate(0deg) scale(1); }
  50% { border-radius: 58% 42% 45% 55% / 40% 58% 42% 60%; transform: rotate(180deg) scale(1.06); }
  100% { border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; transform: rotate(360deg) scale(1); }
}
/* статус сайта — прежний шрифт */
.health__ago, .health__rows b { font-family: var(--font); font-size: 13.5px; }
/* партнёрка: «Запросить вывод» в одну строку */
.balance .btn--sm { white-space: nowrap; flex: none; }
/* «Витрина» — строго белая: без кремовых подложек */
[data-skin='b'] .pro-top--card, [data-skin='b'] .ref-top--card { color: #f5f5f7; }
[data-skin='b'] .step-v__art.sf { background: #f5f5f7; }
[data-skin='b'] .step-v__art.sf::before { background: none; }

/* v10 — шапка аккаунта с живым градиентом favikon.store (ShaderGradient, 1:1 с мобильной версией) */
.me.me--cut.me--video.sf { background: #000 url(assets/me-gradient.jpg) center / cover; color: #fff; }
.me.me--cut.me--video.sf::before { background: none; -webkit-mask: none; mask: none; }
/* шум поверх, как .studio-page:after на сайте */
.me.me--cut.me--video.sf::after { z-index: 0; opacity: 0.035; mix-blend-mode: normal; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); background-size: 180px 180px; }
.me--video > :not(.me__gfx) { position: relative; z-index: 1; }
.me__gfx { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
/* холст размером с мобильный экран сайта, по центру шейпа — та же композиция */
.me__gfx #hero-gradient { position: absolute; left: 0; right: 0; top: 50%; height: 100lvh; min-height: 640px; transform: translateY(-50%); background: transparent; }
.me__gfx #hero-gradient canvas { display: block; pointer-events: none; }
.me__gfx #hero-animation-toggle { display: none !important; }
.me--video .me__ava { color: #fff; background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 18px 40px -18px rgba(0, 0, 0, 0.6); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.me--video h2 { color: #fff; }
.me--video .me__handle { color: rgba(255, 255, 255, 0.68); }
.me.me--video .status-chip { color: #fff; background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }

/* v11 — появление как на refero.design: радужная полоса проявляет текст, блоки проявляются той же волной */
.ink-in {
  /* слева — цвет текста, затем радужная полоса, справа — прозрачно; окно едет справа налево → текст проявляется слева направо */
  background-image: linear-gradient(100deg, var(--ink-to, #13151b) 0%, var(--ink-to, #13151b) 34%, #f384ff 40%, #ff4400 44%, #ffcb5c 48%, #e1e1fe 52%, #00aaff 56%, rgba(255, 255, 255, 0) 63%, rgba(255, 255, 255, 0) 100%);
  background-size: 300% 100%; background-position: 100% 50%;
  -webkit-background-clip: text; background-clip: text; color: transparent !important;
  animation: ink-in 0.75s linear both;
}
@keyframes ink-in { 0% { background-position: 100% 50%; } 80%, 100% { background-position: 0 50%; } }
.sweep-in {
  -webkit-mask-image: linear-gradient(100deg, #000 0%, #000 36%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0) 54%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(100deg, #000 0%, #000 36%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0) 54%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
  animation: sweep-in 0.7s cubic-bezier(0.3, 0.7, 0.2, 1) both;
}
@keyframes sweep-in {
  from { -webkit-mask-position: 100% 0; mask-position: 100% 0; transform: translateY(8px); }
  to { -webkit-mask-position: 0 0; mask-position: 0 0; transform: none; }
}

/* v12 — частые вопросы внутри меню (стиль «Управление») */
.menu--faq .acc { border-bottom: 0; position: relative; }
.menu--faq .acc + .acc::before, .menu--faq .acc + .menu__item::before { content: ''; position: absolute; top: 0; left: 16px; right: 0; height: 1px; background: var(--line); }
.menu--faq .acc__q b { font-size: 15px; font-weight: 700; text-align: left; white-space: normal; }
.menu--faq .acc__a p { padding: 0 16px 16px; }

/* v13: без капса в подписях и без красного зачёркивания */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: -0.005em; text-transform: none; }
.price-swap > s { text-decoration-color: currentColor; text-decoration-thickness: 2.5px; }
.sx__orb--lens { width: 132px; height: 132px; margin-bottom: 8px; }
.sx__orb--lens canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* v14 — сторис услуги на живом тёмном градиенте */
.stories:has(.story--fx) { background: #030407; }
.story.story--fx { color: #fff; background: #030407; isolation: isolate; }
.story--fx .story__fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.story--fx::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(3, 4, 7, 0.25), rgba(3, 4, 7, 0) 30%, rgba(3, 4, 7, 0.55) 72%, rgba(3, 4, 7, 0.85)); }
.story--fx .story__bars i { background: rgba(255, 255, 255, 0.22); }
.story--fx .story__bars i b { background: #fff; }
.story--fx .story__close { color: #fff; background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.story--fx .story__head { color: #fff; }
.story--fx .story__text .eyebrow { color: rgba(255, 255, 255, 0.62); }
.story--fx .story__p { color: rgba(255, 255, 255, 0.78); }
.story__btn { background: #fff; color: #111113; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.5); }
.story__btn--glass { color: #fff; background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }

/* v15 — сторис: без обводок у макетов, белые карточки с тёмным текстом, новый блок стоимости */
.story--fx .sv { color: var(--ink); }
.story--fx .mock-phone, .story--fx .sv-pay, .story--fx .sv-notify__item, .story--fx .sv-flow__node, .story--fx .sv-price { box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.65); }
.story--fx .sv-flow__node { background: rgba(255, 255, 255, 0.96); }
.story--fx .sv-price { width: 290px; padding: 20px; border-radius: 26px; text-align: left; background: #fff; }
.story--fx .sv-price__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.story--fx .sv-price__top small { font-size: 13px; font-weight: 600; color: var(--muted); }
.story--fx .sv-price__top span { height: 26px; padding: 0 10px; border-radius: 99px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; background: #f1f2f5; }
.story--fx .sv-price > b { display: block; margin-top: 10px; font-family: var(--serif); font-size: 40px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.story--fx .sv-price__note { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.story--fx .sv-price ul { margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.story--fx .sv-price li { display: flex; align-items: center; gap: 12px; }
.story--fx .sv-price li i { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: #111113; }
.story--fx .sv-price li i svg { width: 15px; height: 15px; color: #fff; }
.story--fx .sv-price li b { display: block; font-size: 14.5px; font-weight: 700; letter-spacing: -0.02em; }
.story--fx .sv-price li small { display: block; margin-top: 1px; font-size: 12.5px; color: var(--muted); }

/* v16 — в пустом чате без подписи под полем ввода */
.page--chat.is-empty .tg-input::after { content: none; display: none; }

/* v17 — шар службы заботы виден и когда в чате уже есть сообщения */
.sx.sx--top { margin: 6px 0 22px; padding: 0 20px; }
.sx--top .sx__orb--lens { width: 104px; height: 104px; margin-bottom: 6px; }
.sx--top .sx__name { font-family: var(--serif); font-size: 19px; font-weight: 700; letter-spacing: -0.03em; }
.sx--top .sx__sub { margin-top: 4px; font-size: 13.5px; }


/* v18 — правило близости: заголовок ближе к своему блоку, сами разделы дальше друг от друга */
.section { margin-top: 54px; }
.section--sm { margin-top: 44px; }
.section__head { margin-bottom: 12px; }
.section--sm .section__head { margin-bottom: 10px; }
.section__lead { margin-top: -4px; margin-bottom: 16px; }

/* v19 — «Служба заботы»: сверху пульсирует прелоудер в небольшом круге, шапка без логотипа */
.sx__orb--pre { width: 112px; height: 112px; border-radius: 50%; }
.sx--top .sx__orb--pre { width: 104px; height: 104px; margin-bottom: 0; }
.tg-head__pill--plain { justify-content: center; padding: 8px 18px; }
.tg-head__pill--plain .tg-head__title { text-align: center; }
.tg-head__pill--plain .tg-head__title span { justify-content: center; }
.tg-head__pill--plain .tg-head__title span::before { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.5); animation: online-ping 2s ease-out infinite; }
@keyframes online-ping { 0% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.5); } 70%, 100% { box-shadow: 0 0 0 6px rgba(52, 199, 89, 0); } }

/* Плавное появление клавиатуры: поле ввода не перескакивает, а переезжает */
.tg-input { transition: padding-bottom .38s cubic-bezier(.32,.72,0,1), transform .45s cubic-bezier(.32,.72,0,1); }
.page--chat.is-empty .tg-input, .page--chat.is-empty .tg-input:is(*) { top: auto !important; bottom: calc(var(--bottom) + 10px); transform: translateY(calc(-1 * var(--lift, max(0px, 42svh - 170px)))); }
body.typing .page--chat.is-empty .tg-input { --lift: 0px; transform: translateY(0); }
.page--chat.is-empty .tg-input::after { transition: opacity .25s; }
body.typing .page--chat.is-empty .tg-input::after { opacity: 0; }

/* «Показать сайт друзьям»: карточка для историй */
.shr-wrap { display: grid; place-items: center; padding: 6px 0 4px; }
.shr { position: relative; width: min(340px, 84vw); aspect-ratio: 9 / 16; border-radius: 30px; overflow: hidden; color: #fff; isolation: isolate; box-shadow: 0 30px 60px -30px rgba(40, 20, 90, 0.55); }
.shr__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 45% at 15% 8%, #8a63ff 0%, transparent 62%), radial-gradient(60% 40% at 100% 38%, #ff7a59 0%, transparent 60%), radial-gradient(80% 55% at 40% 100%, #2a6cff 0%, transparent 65%), linear-gradient(180deg, #120a2e, #0b0b1a); }
.shr__bg::after { content: ""; position: absolute; inset: 0; opacity: .18; mix-blend-mode: overlay; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.shr__top { position: absolute; left: 0; right: 0; top: 9%; text-align: center; }
.shr__top small { display: block; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.7); letter-spacing: -0.01em; }
.shr__top b { display: block; margin-top: 6px; font-size: clamp(24px, 7.4vw, 30px); font-weight: 750; letter-spacing: -0.045em; }
.shr__dev { position: absolute; left: 0; right: 0; top: 27%; height: 50%; perspective: 900px; }
.shr__pc { position: absolute; left: 6%; width: 88%; top: 4%; aspect-ratio: 16 / 10.4; border-radius: 12px; overflow: hidden; background: #fff; transform: rotateX(8deg) rotateY(-10deg) rotateZ(-2deg); box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.25); }
.shr__pc > i { display: block; height: 14px; background: radial-gradient(circle, #ff5f57 2.2px, transparent 2.7px) 8px 50%/8px 8px no-repeat, radial-gradient(circle, #febc2e 2.2px, transparent 2.7px) 19px 50%/8px 8px no-repeat, radial-gradient(circle, #28c840 2.2px, transparent 2.7px) 30px 50%/8px 8px no-repeat, #f4f4f6; }
.shr__pc img { display: block; width: 100%; height: calc(100% - 14px); object-fit: cover; object-position: 50% 0; }
.shr__phone { position: absolute; right: 7%; top: 30%; width: 33%; aspect-ratio: 9 / 19.5; border-radius: 22px; padding: 4px; background: #0b0b0f; transform: rotateZ(6deg); box-shadow: 0 30px 50px -16px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.shr__phone img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; border-radius: 18px; }
.shr__ph { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(160deg, #f4f4f6, #dcdde3); color: #333; font-size: 12px; font-weight: 650; }
.shr__made { position: absolute; left: 50%; bottom: 11%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 18px 0 12px; border-radius: 99px; white-space: nowrap; font-size: 14.5px; background: rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.shr__made b { font-weight: 750; }
.shr__bird { width: 22px; height: 22px; background: #fff; -webkit-mask: url(assets/favicon-bird-192.png) center/contain no-repeat; mask: url(assets/favicon-bird-192.png) center/contain no-repeat; }
.shr__sub { position: absolute; left: 0; right: 0; bottom: 6%; text-align: center; font-size: 12px; color: rgba(255, 255, 255, 0.65); }
.shr-actions { margin-top: 18px; }
.shr-actions .btn svg { width: 18px; height: 18px; margin-right: 8px; }

/* Карточка «Сайт на фоне»: размытый сайт, стеклянная карточка с устройствами */
.shr--bg { background: #2a1408; }
.shr__blur { position: absolute; inset: -12%; z-index: -1; }
.shr__blur img { width: 100%; height: 100%; object-fit: cover; filter: blur(28px) saturate(1.4) brightness(0.75); }
.shr__glass { position: absolute; left: 6%; right: 6%; top: 6%; bottom: 22%; border-radius: 24px; background: rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.shr--bg .shr__top { top: 7%; }
.shr--bg .shr__dev { top: 26%; height: 64%; }
.shr--bg .shr__pc { transform: none; }
.shr--bg .shr__phone { transform: none; }
.shr--bg .shr__made { bottom: 8%; }

/* Ассистент печатает */
.bubble--typing { display: inline-flex; gap: 5px; align-items: center; min-height: 40px; padding: 0 16px; }
.bubble--typing i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.35; animation: typingDot 1.2s infinite ease-in-out; }
.bubble--typing i:nth-child(2) { animation-delay: 0.15s; }
.bubble--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingDot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.35; } 30% { transform: translateY(-4px); opacity: 0.8; } }
