/* Лендинг DreamList (вариант B, тёмный герой). Шрифты: заголовки Russo One, акцент Cormorant Garamond Italic, текст Golos Text.
   Интервалы: абзацы 1.6, заголовки 1.1. Фоны однотонные, пузыри живут в слое .bubble-layer (site.js). */
:root { --pink:#FD478F; --teal:#38B3CE; --cream:#FDF5F1; --ink:#2A2635; --white:#fff; --muted:#6A6577; --muted-d:#B3AEC2; --line:#EADFD8; --deep:#1F1C2A;
  --f-head: 'Russo One', 'Arial Black', system-ui, sans-serif; --f-acc: 'Cormorant Garamond', Georgia, serif; --f-text: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif; --lh: 1.6;
  /* режим «обычный»: тёмный первый блок, остальное светлое */
  --hero-bg: #2A2635; --hero-fg: #fff; --hero-muted: #B3AEC2;
  --s1: #FDF5F1; --s2: #fff; --s3: #2A2635; --txt: #2A2635; --txt-muted: #6A6577;
  --card-bg: #fff; --card-fg: #2A2635; --card-muted: #6A6577; --card-line: #EADFD8;
  --cinv-bg: #2A2635; --cinv-fg: #fff; --foot-bg: #2A2635; --rule: #EADFD8; }
/* режим «наоборот» (переключатель-подарок в заголовке): светлый первый блок, остальное тёмное */
html[data-mode="invert"] { --hero-bg: #FDF5F1; --hero-fg: #2A2635; --hero-muted: #6A6577;
  --s1: #2A2635; --s2: #232030; --s3: #1A1824; --txt: #fff; --txt-muted: #B3AEC2;
  --card-bg: #3A3548; --card-fg: #fff; --card-muted: #B3AEC2; --card-line: #4A4560;
  --cinv-bg: #FDF5F1; --cinv-fg: #2A2635; --foot-bg: #1A1824; --rule: #4A4560; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--s1); color: var(--txt); font: 400 17px/var(--lh) var(--f-text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: clamp(20px, 5.5vw, 80px); }
em { display: inline-block; font-family: var(--f-acc); font-style: italic; font-weight: 700; text-transform: none; letter-spacing: -0.01em; font-size: 1.22em; line-height: 0; transform: skewX(-9deg); transform-origin: 50% 80%; padding-right: .06em; }
h1, h2, h3 { margin: 0; font-family: var(--f-head); font-weight: 400; text-transform: uppercase; letter-spacing: 0; line-height: 1.1; }
h3 { line-height: 1.2; }
p { line-height: var(--lh); }

/* Кнопки-пилюли */
.pill { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 12px 22px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease; white-space: nowrap; }
.pill:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.pill:focus-visible, .circle:focus-visible, a:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.pill.big { padding: 16px 28px; font-size: 18px; }
.pill-light { background: var(--white); color: var(--ink); }
.pill-white { background: var(--white); }
.pill-white.teal { color: #1b8aa3; } .pill-white.pinkt { color: #D81B6A; }
.pill-pink { background: var(--pink); color: var(--white); }
.pill-ink { background: var(--ink); color: var(--white); }
.pill-teal { background: var(--teal); color: var(--white); }
.pill-outline { border-color: var(--white); color: var(--white); }

/* Герой */
.hero, .welcome, .band { position: relative; isolation: isolate; overflow: hidden; }
.hero { background: var(--hero-bg); color: var(--hero-fg); transition: background .4s ease, color .4s ease; }
.wrap, .band > *:not(.bubble-layer) { position: relative; z-index: 1; }
.topnav { position: sticky; top: 0; z-index: 100; margin-bottom: calc(var(--nav-h, 80px) * -1); color: var(--hero-fg);
  background: color-mix(in srgb, var(--hero-bg) 68%, transparent); border-bottom: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 8px 30px rgba(0,0,0,.12); transition: color .4s ease, background .4s ease; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .topnav { background: var(--hero-bg); } }
html[data-mode="invert"] .topnav { border-bottom-color: rgba(42,38,53,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 8px 30px rgba(0,0,0,.12); }
.hero { padding-top: var(--nav-h, 80px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.social { display: flex; align-items: center; gap: 22px; } .social a { display: grid; place-items: center; transition: transform .15s ease; } .social a:hover { transform: translateY(-2px) scale(1.08); } .social img { display: block; height: 28px; width: auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: auto; }   /* знак и надпись выбираются по имени файла, а не по порядку: в шапке по четыре картинки (два набора для тёмной и светлой темы), и порядок съезжал */
.menu { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; }
.menu a { text-decoration: none; font-weight: 700; font-size: 16px; opacity: .92; }
.menu a.on { opacity: 1; color: var(--teal); } .menu a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.hero-body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 24px; align-items: center; padding-block: 24px 80px; }
.hero h1 { font-size: clamp(30px, 4.7vw, 70px); } .hero h1 > span { white-space: nowrap; } .hero h1 > span, .hero h1 > em { display: block; } .hero h1 > em { line-height: 1.12; margin-top: .04em; }
.chip-gift { display: inline-grid; place-items: center; width: 1.9em; height: .95em; border-radius: 999px; background: var(--teal); font-size: .5em; vertical-align: middle; margin-inline: .1em; text-transform: none; line-height: 1; }
.hero h1 em { color: var(--hero-fg); }
.lead { max-width: 520px; font-size: 20px; line-height: var(--lh); color: var(--hero-muted); margin: 28px 0; }
.cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.circle { display: grid; place-items: center; align-content: center; gap: 2px; width: 136px; height: 136px; border-radius: 50%; background: var(--pink); color: var(--white); text-decoration: none; font-family: var(--f-head); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; transition: transform .2s; }
.circle:hover { transform: scale(1.06) rotate(-4deg); } .circle img { display: block; margin-bottom: 4px; }
.tagline { margin: 0; display: grid; font-weight: 700; text-transform: uppercase; font-size: 21px; letter-spacing: .01em; } .tagline > * { display: block; line-height: 40px; height: 40px; } .tagline em { font-size: 40px; text-transform: none; color: var(--pink); transform: skewX(-9deg); align-self: center; line-height: 40px; }
.hero-art { position: relative; min-height: 640px; max-width: 520px; width: 100%; margin-inline: auto; }
.disc { position: absolute; width: 82%; aspect-ratio: 1; left: 9%; top: 9%; border-radius: 50%; background: var(--teal); opacity: .92; }
.phone { position: relative; border-radius: 38px; border: 9px solid #15131c; background: #15131c; overflow: hidden; box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.phone img { display: block; width: 100%; }
.hero-art .iphone { position: absolute; left: calc(50% - 150px); top: 8px; }

/* Копия iPhone: титановая рамка, Dynamic Island, строка состояния, кнопки по бокам, полоса «домой». Внутри живая лента подарков, её можно крутить */
.iphone { position: relative; width: 300px; height: 620px; padding: 11px; border-radius: 56px; background: linear-gradient(145deg, #4a4655, #1a1822 45%, #3b3747); box-shadow: 0 0 0 2px #0c0b10, 0 30px 60px rgba(0,0,0,.45), inset 0 0 0 2px rgba(255,255,255,.08); }
.iphone .btn-side { position: absolute; width: 4px; background: #34303f; border-radius: 2px; }
.iphone .b1 { left: -4px; top: 108px; height: 26px; } .iphone .b2 { left: -4px; top: 160px; height: 52px; } .iphone .b3 { left: -4px; top: 224px; height: 52px; } .iphone .b4 { right: -4px; top: 176px; height: 82px; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 46px; overflow: hidden; background: #FDF5F1; color: #2A2635; display: flex; flex-direction: column; font-family: var(--f-text); }
.status { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 14px 26px 6px; font: 600 14px/1 var(--f-text); height: 44px; flex: none; }
.status .island { position: absolute; left: 50%; top: 11px; width: 92px; height: 27px; margin-left: -46px; background: #000; border-radius: 20px; }
.status .sys { display: flex; gap: 6px; align-items: center; } .status svg { fill: #2A2635; }
.app { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 0 12px; }
.app-top { display: flex; align-items: center; gap: 10px; justify-content: flex-end; padding-top: 4px; } .app-top img { margin-right: auto; width: 54px; height: auto; }
.app-top .ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; background: rgba(42,38,53,.06); }
.app-hello { font: 400 18px/1.3 var(--f-head); margin: 6px 2px 8px; }
.gifts { flex: 1; min-height: 0; overflow-y: auto; display: grid; align-content: start; gap: 8px; padding: 2px 0 130px; scrollbar-width: none; -webkit-mask-image: linear-gradient(#000 92%, transparent); mask-image: linear-gradient(#000 92%, transparent); }
.gifts::-webkit-scrollbar { display: none; }
.gifts:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 12px; }
.gift { position: relative; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 9px 10px 9px 14px; box-shadow: 0 2px 8px rgba(42,38,53,.06); }
.gift::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px; border-radius: 0 3px 3px 0; background: var(--c); }
.g-green { --c: #3DBE74; } .g-yellow { --c: #F2C230; } .g-orange { --c: #F08A3C; } .g-red { --c: #E5484D; }
.gift i { flex: none; width: 38px; height: 38px; border-radius: 10px; background: #f1e7e4; display: grid; place-items: center; font-style: normal; font-size: 19px; }
.gift div { min-width: 0; } .gift b { display: block; font: 600 12.5px/1.3 var(--f-text); } .gift span { display: block; font: 400 11px/1.4 'Space Mono', monospace; color: #1b8aa3; }
.gift u { margin-left: auto; text-decoration: none; background: var(--pink); color: #fff; border-radius: 99px; font: 600 9.5px/1 var(--f-text); padding: 5px 8px; white-space: nowrap; }
.app-fab { position: absolute; left: 0; right: 0; bottom: 64px; padding: 30px 12px 8px; background: linear-gradient(to top, #FDF5F1 55%, rgba(253,245,241,0)); pointer-events: none; }
.app-fab span { display: block; text-align: center; background: var(--pink); color: #fff; border-radius: 14px; padding: 11px; font: 600 13.5px/1.2 var(--f-text); box-shadow: 0 8px 18px rgba(253,71,143,.4); }
.app-tabs { position: absolute; left: 0; right: 0; bottom: 0; height: 58px; display: flex; justify-content: space-around; align-items: flex-start; padding-top: 10px; background: #fff; border-top: 1px solid var(--line); font: 600 11px/1 var(--f-text); color: #8a8497; }
.app-tabs .on { color: #D81B6A; }
.home-bar { position: absolute; left: 50%; bottom: 6px; width: 104px; height: 4px; margin-left: -52px; border-radius: 3px; background: #2A2635; opacity: .85; }
.badge { position: absolute; right: 0; top: 0; width: 132px; height: 132px; border-radius: 50%; background: var(--pink); border: 3px solid var(--white); display: grid; place-content: center; text-align: center; transform: rotate(-12deg); gap: 2px; }
.badge b { text-transform: uppercase; font: 400 15px/1.1 var(--f-head); } .badge em { font-size: 24px; }
.booked { position: absolute; left: 66%; top: 120px; background: var(--white); color: #1b8aa3; font-weight: 800; font-size: 14px; border-radius: 999px; padding: 10px 16px; box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.chat { position: absolute; left: -70px; bottom: -28px; width: 310px; background: var(--white); color: var(--ink); border-radius: 22px; padding: 14px; display: grid; gap: 8px; box-shadow: 0 14px 34px rgba(0,0,0,.28); font-size: 14px; }
.msg { border-radius: 14px; padding: 9px 12px; } .msg.me { background: #e8f1fb; justify-self: end; max-width: 85%; overflow-wrap: anywhere; } .msg.bot { background: #f3eef0; } .msg.bot span { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }

/* Бегущая строка: две одинаковые ленты едут влево по кругу, при наведении стоят */
.marquee { position: relative; background: linear-gradient(90deg, #ffbcd8, #bfe8f2, #dccbfa, #ffd6bd, #ffbcd8); background-size: 300% 100%; animation: mqbg 18s ease-in-out infinite; color: #2A2635; border-block: 1px solid rgba(255,255,255,.7); overflow: hidden; }   /* тонкая полоса с мягким градиентом: цвета плавно перетекают */
/* стеклянность: цветной градиент полупрозрачный (степень задаётся ползунком «Прозрачность»), под ним размытие, блик сверху и снизу */
@supports (color: color-mix(in srgb, red 50%, transparent)) {
  .marquee { background-image: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 45%, rgba(255,255,255,.22)),
      linear-gradient(90deg, color-mix(in srgb, #ff9fc6 var(--glass-c), transparent), color-mix(in srgb, #8fd8ea var(--glass-c), transparent), color-mix(in srgb, #cdb4fa var(--glass-c), transparent), color-mix(in srgb, #ffc4a3 var(--glass-c), transparent), color-mix(in srgb, #ff9fc6 var(--glass-c), transparent));
    background-size: 100% 100%, 300% 100%; background-repeat: no-repeat, repeat; animation: mqbg2 18s ease-in-out infinite;
    -webkit-backdrop-filter: blur(14px) saturate(1.8); backdrop-filter: blur(14px) saturate(1.8);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.85), inset 0 -1px 0 rgba(255,255,255,.4), 0 8px 24px rgba(42,38,53,.1); }
  html.lens .marquee { -webkit-backdrop-filter: none; backdrop-filter: url(#dl-lens) blur(12px) saturate(1.8); }
}
@keyframes mqbg2 { 0%, 100% { background-position: 0 0, 0% 50%; } 50% { background-position: 0 0, 100% 50%; } }
@keyframes mqbg { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.marquee .track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee ul { display: flex; flex: none; gap: 30px; list-style: none; margin: 0; padding: 11px 15px; font: 600 16px/1.3 var(--f-text); white-space: nowrap; }
.marquee li .mq-e { margin-right: 7px; font-size: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Секции */
.sec { padding-block: clamp(56px, 8vw, 112px); position: relative; isolation: isolate; }
.cream { background: var(--s1); } .white, .welcome { background: var(--s2); } .sec.dark { background: var(--s3); color: var(--white); overflow: hidden; }
.welcome { padding-block: clamp(64px, 9vw, 120px); }
.center { text-align: center; }
.xl { font-size: clamp(30px, 4.6vw, 66px); }
.xl.light, .sub.light { color: var(--white); } .sub.light { color: var(--muted-d); }
.sub { max-width: 640px; font-size: 19px; line-height: var(--lh); color: var(--txt-muted); margin: 22px 0 0; }
.center .sub { margin-inline: auto; }
.grid { display: grid; gap: 22px; margin-top: clamp(32px, 4vw, 48px); } .gap20 { gap: 20px; }
.g4 { grid-template-columns: repeat(4, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g2 { grid-template-columns: repeat(2, 1fr); }
.card { border-radius: 36px; padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card h3 { font-size: 21px; } .card p { margin: 0; font-size: 16px; line-height: var(--lh); opacity: .92; }
.card .num { display: block; font-family: var(--f-head); font-size: clamp(52px, 5.4vw, 76px); line-height: 1; transform: skewX(-9deg); transform-origin: 0 100%; }
/* карточки шагов: общие строки (цифра, заголовок, текст) через subgrid, поэтому цифры и заголовки на одной высоте во всех четырёх */
@media (min-width: 1101px) {
  .g4 { grid-template-rows: repeat(3, auto); row-gap: 0; }
  .g4 .card { display: grid; grid-template-rows: subgrid; grid-row: span 3; gap: 12px; padding-block: 30px; }
}
.g4 .card { justify-content: center; }
.card .e { font-size: 36px; line-height: 1; }
.c-pink { background: var(--pink); color: var(--white); } .c-teal { background: var(--teal); color: var(--white); } .c-ink { background: var(--cinv-bg); color: var(--cinv-fg); }
.c-white { background: var(--card-bg); color: var(--card-fg); border: 1px solid var(--card-line); } .c-white p { color: var(--card-muted); opacity: 1; }
.c-cream { background: var(--cream); color: var(--ink); }
.card.big { border-radius: 44px; padding: 36px 32px; justify-content: space-between; gap: 28px; min-height: 380px; }
.card.big h3 { font-size: 24px; margin: 14px 0 10px; } .card.big code { display: block; font: 400 14px 'Space Mono', monospace; opacity: .8; margin-bottom: 14px; }
.tile { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--white); box-shadow: 0 6px 16px rgba(0,0,0,.16); } .tile img { display: block; }

/* Экраны */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 48px; }
.stage { margin: 0; text-align: center; }
.stage .phone.s { width: 196px; margin: 0 auto; }
.t-pink, .t-teal { border-radius: 44px; padding: 40px 20px 28px; }
.t-pink { background: rgba(253,71,143,.14); } .t-teal { background: rgba(56,179,206,.16); }
.stage figcaption { margin-top: 20px; font: 400 14px/1.4 var(--f-head); text-transform: uppercase; letter-spacing: .06em; }

.q { background: var(--card-bg); color: var(--card-fg); border: 1px solid var(--card-line); border-radius: 32px; padding: 26px 30px; } .q b { font: 400 18px/1.3 var(--f-head); text-transform: uppercase; } .q p { margin: 10px 0 0; color: var(--card-muted); font-size: 16px; }

/* Призыв и подвал */
.cta-wrap { background: var(--s1); padding-bottom: clamp(56px, 8vw, 112px); }
.band { position: relative; isolation: isolate; overflow: hidden; background: var(--pink); color: var(--white); border-radius: clamp(36px, 4.4vw, 64px); text-align: center; padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 80px); display: grid; gap: 24px; justify-items: center; }
.band p { margin: 0; font-size: 21px; opacity: .95; line-height: var(--lh); } .btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.foot { background: var(--foot-bg); color: var(--white); padding-block: 48px; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot p { margin: 10px 0 0; color: var(--muted-d); font-size: 14px; line-height: var(--lh); }
.foot nav { display: flex; flex-wrap: wrap; gap: 14px 28px; } .foot nav a { color: var(--teal); text-decoration: none; font-weight: 700; font-size: 15px; } .foot nav a:hover { text-decoration: underline; }

/* Планшет и телефон */
@media (max-width: 1100px) { .g4 { grid-template-columns: repeat(2, 1fr); } .shots { grid-template-columns: repeat(2, 1fr); } .menu { display: none; } }
@media (max-width: 900px) { .hero-body { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .hero-body { grid-template-columns: 1fr; padding-bottom: 56px; } .hero-art { min-height: 600px; }
  .g3, .g2 { grid-template-columns: 1fr; } .card.big { min-height: 0; }
}
@media (max-width: 560px) {
  .g4, .shots { grid-template-columns: 1fr; } .nav { padding-block: 18px; } .brand img[src*="/mark"] { width: 48px; } .brand img[src*="/wordmark"] { width: 128px; }
  .social { gap: 14px; } .social img { height: 22px; } .lead { font-size: 17px; } .circle { width: 104px; height: 104px; font-size: 12px; } .circle .emo { font-size: 30px; }
  .hero-art { min-height: 560px; } .hero-art .iphone { transform: scale(.88); transform-origin: top center; left: calc(50% - 150px); } .chat { width: 260px; left: 0; } .booked { left: 52%; top: 150px; font-size: 12px; } .badge { width: 100px; height: 100px; } .badge b { font-size: 13px; } .badge em { font-size: 15px; }
  .card { padding: 26px 22px; } .btns { flex-direction: column; width: 100%; } .btns .pill { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .pill, .circle { transition: none; } }

/* Пузыри: каждый плывёт сам, отталкивается от курсора или пальца, лопается по клику и появляется снизу заново */
.bubble-layer { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bubble { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform, opacity; transition: opacity .25s ease;
  background: radial-gradient(circle at 30% 28%, rgba(255,255,255,.9) 0 8%, transparent 9%), radial-gradient(circle at 50% 50%, transparent 55%, var(--b2) 100%), var(--b1);
  box-shadow: inset 0 0 0 1.5px var(--b3); }
.bubble.pop { opacity: 0; }
[data-tone="dark"] .bubble { --b1: rgba(255,255,255,.05); --b2: rgba(56,179,206,.28); --b3: rgba(255,255,255,.28); }
[data-tone="light"] .bubble { --b1: rgba(253,71,143,.06); --b2: rgba(56,179,206,.28); --b3: rgba(56,179,206,.5); }
[data-tone="pink"] .bubble { --b1: rgba(255,255,255,.08); --b2: rgba(255,255,255,.3); --b3: rgba(255,255,255,.55); }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; } .marquee .track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .marquee ul:nth-child(2) { display: none; } .marquee ul { white-space: normal; flex-wrap: wrap; justify-content: center; } }

/* Логотип: для тёмной подложки светлая обводка облака, для светлой тёмная */
.brand .on-light { display: none; }
html[data-mode="invert"] .topnav .brand .on-dark, html[data-mode="invert"] .topnav .social .on-dark { display: none; }
html[data-mode="invert"] .topnav .brand .on-light, html[data-mode="invert"] .topnav .social .on-light { display: block; }
.social .on-light { display: none; }
html[data-mode="invert"] .topnav .social a:nth-child(2) img { filter: none; }

/* Пузыри при смене режима: в светлом первом блоке «светлая» окраска, во всех остальных светлых блоках, ставших тёмными, «тёмная» */
html[data-mode="invert"] .hero .bubble { --b1: rgba(253,71,143,.06); --b2: rgba(56,179,206,.28); --b3: rgba(56,179,206,.5); }
html[data-mode="invert"] [data-tone="light"]:not(.hero) .bubble { --b1: rgba(255,255,255,.05); --b2: rgba(56,179,206,.28); --b3: rgba(255,255,255,.28); }

/* Переключатель темы: подарок в заголовке. Дорожка бирюзовая, при переключении розовая, подарок-ползунок уезжает вправо */
.theme-switch { all: unset; --h: clamp(44px, 3.7vw, 56px); box-sizing: border-box; display: inline-block; position: relative; vertical-align: middle; width: calc(var(--h) * 2); height: var(--h); margin-inline: .12em; border-radius: 999px; background: var(--teal); cursor: pointer; box-shadow: 0 6px 18px rgba(56,179,206,.4); }
.theme-switch.ready { transition: background .35s ease, box-shadow .2s ease; }
.theme-switch:hover { box-shadow: 0 8px 22px rgba(56,179,206,.55); }
.theme-switch:focus-visible { outline: 3px solid var(--hero-fg); outline-offset: 4px; }
.theme-switch .knob { position: absolute; top: 3px; left: 3px; width: calc(var(--h) - 6px); height: calc(var(--h) - 6px); display: grid; place-items: center; font-size: calc(var(--h) * .62); line-height: 1; filter: drop-shadow(0 3px 4px rgba(0,0,0,.25)); }
.theme-switch.ready .knob { transition: left .35s cubic-bezier(.5,1.4,.5,1), transform .35s ease; }
.theme-switch[aria-checked="true"] { background: var(--pink); box-shadow: 0 6px 18px rgba(253,71,143,.45); }
.theme-switch[aria-checked="true"]:hover { box-shadow: 0 8px 22px rgba(253,71,143,.6); }
.theme-switch[aria-checked="true"] .knob { left: calc(var(--h) + 3px); transform: rotate(360deg); }
@media (prefers-reduced-motion: reduce) { .theme-switch, .theme-switch .knob, .hero, .topnav { transition: none; } }

/* ═══════ Телефон: шапка не закреплена, бургер-меню, игра «Лопни их всех» ═══════ */
.burger { position: fixed; top: 12px; right: 12px; z-index: 300; width: 48px; height: 48px; border: 0; border-radius: 50%; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
  color: var(--hero-fg); background: color-mix(in srgb, var(--hero-bg) 68%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.8); backdrop-filter: blur(18px) saturate(1.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 8px 24px rgba(0,0,0,.25); transform: scale(.6); opacity: 0; pointer-events: none; transition: transform .25s cubic-bezier(.5,1.6,.5,1), opacity .2s ease; }
.burger span { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: currentColor; }
.burger.show { transform: none; opacity: 1; pointer-events: auto; }
.mmenu { position: fixed; inset: 0; z-index: 400; background: rgba(20,18,28,0); -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); transition: background .35s ease, backdrop-filter .35s ease, -webkit-backdrop-filter .35s ease; }
.mmenu[hidden] { display: none; }
.mmenu.open { background: rgba(20,18,28,.45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
/* панель выезжает справа на всю высоту, как шторка */
.mmenu-card { position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 340px); display: flex; flex-direction: column; gap: 10px; overflow-y: auto; padding: calc(64px + env(safe-area-inset-top, 0px)) 18px calc(22px + env(safe-area-inset-bottom, 0px)); border-radius: 32px 0 0 32px; color: var(--hero-fg);
  background: color-mix(in srgb, var(--hero-bg) 80%, transparent); -webkit-backdrop-filter: blur(26px) saturate(1.8); backdrop-filter: blur(26px) saturate(1.8); border-left: 1px solid rgba(255,255,255,.22);
  box-shadow: -24px 0 60px rgba(0,0,0,.4); transform: translateX(105%); transition: transform .38s cubic-bezier(.22,1,.36,1); }
.mmenu.open .mmenu-card { transform: none; }
.mmenu-close { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: inherit; font-size: 18px; cursor: pointer; }
.mmenu nav { display: grid; gap: 8px; margin-block: 4px; }
.mmenu nav a, .mm-go { display: block; text-align: center; text-decoration: none; padding: 15px 16px; border-radius: 16px; font: 400 18px/1.2 var(--f-head); text-transform: uppercase; color: inherit; background: rgba(255,255,255,.1); border: 0; cursor: pointer; opacity: 0; transform: translateX(24px); transition: opacity .3s ease, transform .4s cubic-bezier(.22,1,.36,1); }
.mmenu.open nav a, .mmenu.open .mm-go { opacity: 1; transform: none; }
.mmenu.open nav a:nth-child(1) { transition-delay: .08s; } .mmenu.open nav a:nth-child(2) { transition-delay: .12s; } .mmenu.open nav a:nth-child(3) { transition-delay: .16s; } .mmenu.open nav a:nth-child(4) { transition-delay: .2s; } .mmenu.open nav a:nth-child(5) { transition-delay: .24s; }
.mm-go { background: var(--teal); color: #fff; font-size: 16px; }
.mmenu nav a:active, .mm-go:active { transform: scale(.98); }
html.menu-open { overflow: hidden; }

.game-hud { position: fixed; right: 14px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 250; display: flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--pink); color: #fff; font: 400 22px/1 var(--f-head); box-shadow: 0 8px 22px rgba(253,71,143,.45); }
.game-hud[hidden] { display: none; } .game-hud .hud-ico { font-size: 20px; }
.game-hud.bump { animation: bump .28s ease; } @keyframes bump { 40% { transform: scale(1.18); } }
.splash { position: fixed; z-index: 270; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; pointer-events: none; box-shadow: 0 0 0 0 rgba(255,255,255,.9); background: transparent; animation: splash .55s ease-out forwards; border: 3px solid var(--teal); }
@keyframes splash { to { transform: scale(7); opacity: 0; border-width: 1px; } }

.gmodal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 20px; background: rgba(20,18,28,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s ease; }
.gmodal.in { opacity: 1; }
.gcard { width: min(100%, 360px); max-height: calc(100% - 24px); overflow: auto; text-align: center; padding: 28px 24px 22px; border-radius: 36px; background: #fff; color: var(--ink); box-shadow: 0 24px 60px rgba(0,0,0,.45); transform: translateY(60px) scale(.9); transition: transform .45s cubic-bezier(.4,1.5,.5,1); }
.gmodal.in .gcard { transform: none; }
.gemoji { font-size: 56px; line-height: 1; margin-bottom: 8px; }
.gtitle { font-size: 30px; line-height: 1.1; margin-bottom: 10px; }
.gtext { margin: 0 0 18px; color: var(--muted); font-size: 16px; line-height: var(--lh); }
.gbtn { display: block; width: 100%; border: 0; border-radius: 999px; padding: 15px 20px; background: var(--pink); color: #fff; font: 700 18px/1 var(--f-text); cursor: pointer; box-shadow: 0 10px 24px rgba(253,71,143,.4); }
.gbtn:disabled { opacity: .6; }
.glink { display: block; width: 100%; margin-top: 8px; padding: 12px; border: 0; background: none; color: var(--muted); font: 600 15px/1 var(--f-text); cursor: pointer; }
.gform { display: grid; gap: 10px; } .ginput { width: 100%; text-align: center; text-transform: uppercase; letter-spacing: .3em; padding: 14px 10px 14px 20px; border-radius: 18px; border: 2px solid var(--line); background: var(--cream); color: var(--ink); font: 400 30px/1 var(--f-head); }
.ginput:focus { outline: 3px solid var(--teal); border-color: transparent; }
.gerr { margin: 8px 0 0; color: #D81B6A; font-size: 14px; } .gerr[hidden] { display: none; }
.gtop { list-style: none; margin: 14px 0 6px; padding: 0; display: grid; gap: 6px; counter-reset: r; text-align: left; }
.gtop li { counter-increment: r; display: flex; align-items: center; gap: 12px; padding: 9px 14px; border-radius: 14px; background: var(--cream); font: 400 18px/1 var(--f-head); }
.gtop li::before { content: counter(r); width: 24px; color: var(--pink); } .gtop .tn { flex: 1; letter-spacing: .12em; } .gtop .ts { color: var(--teal); }
.gtop li:nth-child(1) { background: #FFF1C8; }

@media (max-width: 760px) {
  /* пузыри лежат за карточками: слой под содержимым, а тап проходит сквозь текст и пустые места к пузырю; карточки, кнопки и ссылки остаются нажимаемыми */
  .wrap { pointer-events: none; }
  .wrap a, .wrap button, .wrap input, .wrap .card, .wrap .q, .wrap .iphone, .wrap .phone, .wrap .chat, .wrap .stage, .wrap .circle, .wrap .theme-switch, .wrap .pill, .band a { pointer-events: auto; }
  .bubble-layer .bubble { pointer-events: auto; touch-action: manipulation; cursor: pointer; }
  .bubble-layer .bubble[data-depth="2"] { opacity: .85; } .bubble-layer .bubble[data-depth="0"] { opacity: .7; }
  .topnav { position: static; margin-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--hero-bg); box-shadow: none; }
  .hero { padding-top: 0; }
  .burger { display: flex; }
  .cta-row { flex-wrap: nowrap; gap: 14px; align-items: center; }
  .circle { flex: none; width: 92px; height: 92px; font-size: 11px; } .circle img { width: 38px; height: auto; }
  .tagline { min-width: 0; font-size: 15px; } .tagline > * { line-height: 30px; height: 30px; white-space: nowrap; } .tagline em { font-size: 26px; line-height: 30px; }
}
@media (prefers-reduced-motion: reduce) { .burger, .gmodal, .gcard, .mmenu, .mmenu-card, .mmenu nav a, .mm-go { transition: none; } }

/* Подсказка: пузырь светится и подписан «лопни», пока ничего не лопнуто */
.bubble.hint { z-index: 3 !important; filter: none !important; animation: hint-glow 1.2s ease-in-out infinite; }
.bubble.hint::after { content: "лопни"; position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%); padding: 5px 12px; border-radius: 999px; background: var(--pink); color: #fff; font: 400 13px/1 var(--f-head); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; box-shadow: 0 6px 16px rgba(253,71,143,.45); animation: hint-bob 1.2s ease-in-out infinite; pointer-events: none; }
@keyframes hint-glow { 0%, 100% { box-shadow: inset 0 0 0 2px #fff, 0 0 0 0 rgba(253,71,143,.7), 0 0 22px 4px rgba(253,71,143,.5); } 50% { box-shadow: inset 0 0 0 2px #fff, 0 0 0 12px rgba(253,71,143,0), 0 0 36px 10px rgba(253,71,143,.8); } }
@keyframes hint-bob { 50% { transform: translate(-50%, 4px); } }
/* на телефоне в первом блоке пузыри не подсвечиваем и не подписываем: внимание на заголовке и телефоне */
@media (max-width: 760px) { .hero .bubble.hint { animation: none; box-shadow: inset 0 0 0 1.5px var(--b3); z-index: auto !important; } .hero .bubble.hint::after { display: none; } }

.foot-in { position: relative; }
.admin-in { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: rgba(255,255,255,.45); opacity: .7; transition: opacity .2s, color .2s, background .2s; }
.admin-in:hover, .admin-in:focus-visible { opacity: 1; color: #fff; background: rgba(255,255,255,.12); outline: none; }

/* ——— цветные карточки и кнопки в стиле стекла ———
   --glass-c / --glass-b: сколько цвета остаётся (100% минус прозрачность из админ-панели). Преломление по краям и углам даёт фильтр #dl-lens в Chromium, в остальных браузерах размытие. */
:root { --glass-c: 62%; --glass-b: 80%; }
.c-pink, .pill-pink { --gl: var(--pink); } .c-teal, .pill-teal { --gl: var(--teal); } .c-ink, .pill-ink { --gl: var(--cinv-bg); }
.c-pink, .c-teal { --gp: var(--glass-c); } .c-ink { --gp: min(100%, calc(var(--glass-c) + 24%)); } .pill-pink, .pill-teal, .pill-ink { --gp: var(--glass-b); }
.c-pink, .c-teal, .c-ink, .pill-pink, .pill-teal, .pill-ink { background-color: var(--gl); }
@supports (color: color-mix(in srgb, red 50%, transparent)) {
  .c-pink, .c-teal, .c-ink, .pill-pink, .pill-teal, .pill-ink {
    border: 1px solid rgba(255,255,255,.55); background-color: transparent;
    background-image: radial-gradient(120% 90% at 0% 0%, rgba(255,255,255,.5), transparent 40%), radial-gradient(110% 90% at 100% 100%, rgba(255,255,255,.28), transparent 38%),
      linear-gradient(135deg, color-mix(in srgb, var(--gl) var(--gp), transparent), color-mix(in srgb, var(--gl) calc(var(--gp) * .8), transparent));
    -webkit-backdrop-filter: blur(16px) saturate(1.8); backdrop-filter: blur(16px) saturate(1.8);
    box-shadow: inset 0 2px 0 rgba(255,255,255,.7), inset 0 -12px 22px rgba(255,255,255,.14), inset 2px 0 8px rgba(255,255,255,.2), inset -2px 0 8px rgba(255,255,255,.16), 0 16px 36px rgba(42,38,53,.10); }
  .c-pink, .c-teal, .c-ink { border-width: 1px; }
  .pill-pink, .pill-teal, .pill-ink { border-width: 1px; text-shadow: 0 1px 3px rgba(42,38,53,.45); }
  .pill-pink:hover, .pill-teal:hover, .pill-ink:hover { box-shadow: inset 0 2px 0 rgba(255,255,255,.7), inset 0 -12px 22px rgba(255,255,255,.14), 0 12px 26px rgba(42,38,53,.18); }
  .c-pink h3, .c-pink p, .c-pink .num, .c-teal h3, .c-teal p, .c-teal .num { text-shadow: 0 1px 3px rgba(42,38,53,.5), 0 0 12px rgba(42,38,53,.18); }
  html.lens .c-pink, html.lens .c-teal, html.lens .c-ink, html.lens .pill-pink, html.lens .pill-teal, html.lens .pill-ink { -webkit-backdrop-filter: none; backdrop-filter: url(#dl-lens) blur(12px) saturate(1.8); }
}

/* ——— белые и светлые карточки и кнопки: то же стекло, текст остаётся тёмным ——— */
.c-white { --gl: var(--card-bg); --gp: var(--glass-c); } .c-cream { --gl: var(--cream); --gp: var(--glass-c); }
.pill-white, .pill-light { --gl: #fff; --gp: var(--glass-b); }
.c-white, .c-cream, .pill-white, .pill-light { background-color: var(--gl); }
@supports (color: color-mix(in srgb, red 50%, transparent)) {
  .c-white, .c-cream, .pill-white, .pill-light {
    background-color: transparent;
    background-image: radial-gradient(120% 90% at 0% 0%, rgba(255,255,255,.65), transparent 42%), radial-gradient(110% 90% at 100% 100%, rgba(255,255,255,.3), transparent 38%),
      linear-gradient(135deg, color-mix(in srgb, var(--gl) var(--gp), transparent), color-mix(in srgb, var(--gl) calc(var(--gp) * .75), transparent));
    -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
    box-shadow: inset 0 2px 0 rgba(255,255,255,.85), inset 0 -12px 22px rgba(255,255,255,.18), inset 2px 0 8px rgba(255,255,255,.3), inset -2px 0 8px rgba(255,255,255,.24), 0 14px 32px rgba(42,38,53,.10); }
  .c-white, .c-cream { border: 1px solid color-mix(in srgb, var(--card-line) 70%, rgba(255,255,255,.9)); }
  .pill-white, .pill-light { border-width: 1px; border-color: rgba(255,255,255,.8); }
  .pill-white:hover, .pill-light:hover { box-shadow: inset 0 2px 0 rgba(255,255,255,.85), inset 0 -12px 22px rgba(255,255,255,.18), 0 12px 26px rgba(42,38,53,.2); }
  html.lens .c-white, html.lens .c-cream, html.lens .pill-white, html.lens .pill-light { -webkit-backdrop-filter: none; backdrop-filter: url(#dl-lens) blur(12px) saturate(1.6); }
}

/* мягкие цветные пятна за карточками: без них стеклу нечего преломлять на гладком фоне */
.sec.cream, .sec.white { background-image: radial-gradient(38% 34% at 6% 22%, rgba(253,71,143,.18), transparent 70%), radial-gradient(40% 36% at 94% 78%, rgba(56,179,206,.22), transparent 70%), radial-gradient(30% 28% at 52% 100%, rgba(255,196,0,.10), transparent 70%); }

/* ——— экраны: телефон как iPhone (титановая рамка, чёрный ободок, «остров», боковые кнопки), подложки из цветного стекла ——— */
.stage .phone.s { border: 0; padding: 30px 8px 8px; border-radius: 48px; background: #0b0a10; overflow: visible;
  box-shadow: 0 0 0 2px #a9a5b4, 0 0 0 3.5px #4b4858, inset 0 0 0 1px #34313f, 0 26px 50px rgba(0,0,0,.35); }
.stage .phone.s img { border-radius: 40px; background: #fff; }
.stage .phone.s::before { content: ""; position: absolute; z-index: 2; top: 9px; left: 50%; width: 58px; height: 17px; margin-left: -29px; border-radius: 99px; background: #000; box-shadow: inset 0 0 0 1px #1d1b25; }
.stage .phone.s::after { content: ""; position: absolute; left: -6px; top: 84px; width: 3px; height: 26px; border-radius: 2px 0 0 2px; background: #a9a5b4;
  box-shadow: 0 44px 0 0 #a9a5b4, 0 90px 0 0 #a9a5b4, calc(var(--pw, 196px) + 9px) 40px 0 0 #a9a5b4; }
.t-pink, .t-teal { --gp: var(--glass-c); border: 1px solid rgba(255,255,255,.35); }
.t-pink { --gl: var(--pink); background: color-mix(in srgb, var(--pink) 14%, transparent); } .t-teal { --gl: var(--teal); background: color-mix(in srgb, var(--teal) 16%, transparent); }
@supports (color: color-mix(in srgb, red 50%, transparent)) {
  .t-pink, .t-teal { border: 1px solid rgba(255,255,255,.55); background-color: transparent;
    background-image: radial-gradient(120% 70% at 0% 0%, rgba(255,255,255,.5), transparent 40%), radial-gradient(110% 70% at 100% 100%, rgba(255,255,255,.25), transparent 38%),
      linear-gradient(135deg, color-mix(in srgb, var(--gl) var(--gp), transparent), color-mix(in srgb, var(--gl) calc(var(--gp) * .8), transparent));
    -webkit-backdrop-filter: blur(16px) saturate(1.8); backdrop-filter: blur(16px) saturate(1.8);
    box-shadow: inset 0 2px 0 rgba(255,255,255,.7), inset 0 -14px 24px rgba(255,255,255,.12), inset 2px 0 8px rgba(255,255,255,.2), inset -2px 0 8px rgba(255,255,255,.16), 0 18px 40px rgba(42,38,53,.12); }
  .t-pink figcaption, .t-teal figcaption { text-shadow: 0 1px 3px rgba(42,38,53,.35); }
  html.lens .t-pink, html.lens .t-teal { -webkit-backdrop-filter: none; backdrop-filter: url(#dl-lens) blur(12px) saturate(1.8); }
}

/* строка состояния и индикатор «домой» рисуем в чёрной рамке, чтобы пропорции были как у настоящего iPhone (около 9:19) */
.stage .phone.s { padding: 30px 8px 24px; background-color: #0b0a10; background-repeat: no-repeat; background-position: top center, bottom center; background-size: auto 30px, auto 22px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20196%2030%22%3E%3Cg%20fill=%22%23fff%22%3E%3Ctext%20x=%2226%22%20y=%2220%22%20font-family=%22-apple-system,Helvetica,Arial,sans-serif%22%20font-size=%2211%22%20font-weight=%22700%22%3E9:41%3C/text%3E%3Crect%20x=%22134%22%20y=%2216%22%20width=%222.4%22%20height=%224%22%20rx=%221%22/%3E%3Crect%20x=%22138.4%22%20y=%2214%22%20width=%222.4%22%20height=%226%22%20rx=%221%22/%3E%3Crect%20x=%22142.8%22%20y=%2212%22%20width=%222.4%22%20height=%228%22%20rx=%221%22/%3E%3Crect%20x=%22147.2%22%20y=%2210%22%20width=%222.4%22%20height=%2210%22%20rx=%221%22/%3E%3Cpath%20d=%22M156%2014.6a6%206%200%200%201%208.4%200l-1.1%201.2a4.4%204.4%200%200%200-6.2%200zM158.2%2016.9a3%203%200%200%201%204%200l-2%202.1z%22/%3E%3Crect%20x=%22167%22%20y=%2210.5%22%20width=%2216%22%20height=%229%22%20rx=%222.6%22%20fill=%22none%22%20stroke=%22%23fff%22%20stroke-opacity=%22.5%22/%3E%3Crect%20x=%22168.6%22%20y=%2212.1%22%20width=%2212%22%20height=%225.8%22%20rx=%221.4%22/%3E%3Crect%20x=%22184%22%20y=%2213.2%22%20width=%221.4%22%20height=%223.6%22%20rx=%22.7%22%20fill-opacity=%22.5%22/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20196%2022%22%3E%3Crect%20x=%2263%22%20y=%2212%22%20width=%2270%22%20height=%224%22%20rx=%222%22%20fill=%22%23fff%22%20fill-opacity=%22.85%22/%3E%3C/svg%3E"); border-radius: 52px; }
.stage .phone.s img { border-radius: 42px; }
@media (max-width: 560px) { .stage .phone.s { width: 236px; --pw: 236px; } .t-pink, .t-teal { padding-inline: 12px; } }

/* ——— iPhone 17: тонкая чёрная рамка, цвет экрана заходит под строку состояния и индикатор «домой», умеренные скругления ——— */
.stage .phone.s { --pw: 196px; --scr-top: #FDF5F2; --scr-bot: #FFFFFF; width: var(--pw); padding: 44px 0 32px; border: 4px solid #050507; border-radius: calc(var(--pw) * .185); background-color: #050507;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20196%2042%22%3E%3Cg%20fill=%22%231a1722%22%20transform=%22translate(0%2010)%22%3E%3Ctext%20x=%2230%22%20y=%2217%22%20font-family=%22-apple-system,Helvetica,Arial,sans-serif%22%20font-size=%2211.5%22%20font-weight=%22700%22%3E9:41%3C/text%3E%3Crect%20x=%22134%22%20y=%2213%22%20width=%222.4%22%20height=%224%22%20rx=%221%22/%3E%3Crect%20x=%22138.4%22%20y=%2211%22%20width=%222.4%22%20height=%226%22%20rx=%221%22/%3E%3Crect%20x=%22142.8%22%20y=%229%22%20width=%222.4%22%20height=%228%22%20rx=%221%22/%3E%3Crect%20x=%22147.2%22%20y=%227%22%20width=%222.4%22%20height=%2210%22%20rx=%221%22/%3E%3Cpath%20d=%22M156%2011.6a6%206%200%200%201%208.4%200l-1.1%201.2a4.4%204.4%200%200%200-6.2%200zM158.2%2013.9a3%203%200%200%201%204%200l-2%202.1z%22/%3E%3Crect%20x=%22167%22%20y=%227.5%22%20width=%2216%22%20height=%229%22%20rx=%222.6%22%20fill=%22none%22%20stroke=%22%231a1722%22%20stroke-opacity=%22.45%22/%3E%3Crect%20x=%22168.6%22%20y=%229.1%22%20width=%2212%22%20height=%225.8%22%20rx=%221.4%22/%3E%3Crect%20x=%22184%22%20y=%2210.2%22%20width=%221.4%22%20height=%223.6%22%20rx=%22.7%22%20fill-opacity=%22.45%22/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20196%2030%22%3E%3Crect%20x=%2263%22%20y=%2217%22%20width=%2270%22%20height=%224.5%22%20rx=%222.25%22%20fill=%22%231a1722%22%20fill-opacity=%22.9%22/%3E%3C/svg%3E"), linear-gradient(var(--scr-top), var(--scr-top)), linear-gradient(var(--scr-bot), var(--scr-bot));
  background-repeat: no-repeat; background-position: top center, bottom center, top, bottom; background-size: 100% 42px, 100% 30px, 100% 44px, 100% 32px;
  box-shadow: 0 0 0 1.5px #cfcbd6, 0 0 0 3px #7d7988, 0 0 0 4px #3e3b49, 0 26px 50px rgba(0,0,0,.35); }
.stage .phone.s img { border-radius: 0; width: 100%; }
.stage .phone.s:has(img[src$="shot-5.jpg"]) { --scr-top: #2A2635; --scr-bot: #1E1C29;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20196%2042%22%3E%3Cg%20fill=%22%23ffffff%22%20transform=%22translate(0%2010)%22%3E%3Ctext%20x=%2230%22%20y=%2217%22%20font-family=%22-apple-system,Helvetica,Arial,sans-serif%22%20font-size=%2211.5%22%20font-weight=%22700%22%3E9:41%3C/text%3E%3Crect%20x=%22134%22%20y=%2213%22%20width=%222.4%22%20height=%224%22%20rx=%221%22/%3E%3Crect%20x=%22138.4%22%20y=%2211%22%20width=%222.4%22%20height=%226%22%20rx=%221%22/%3E%3Crect%20x=%22142.8%22%20y=%229%22%20width=%222.4%22%20height=%228%22%20rx=%221%22/%3E%3Crect%20x=%22147.2%22%20y=%227%22%20width=%222.4%22%20height=%2210%22%20rx=%221%22/%3E%3Cpath%20d=%22M156%2011.6a6%206%200%200%201%208.4%200l-1.1%201.2a4.4%204.4%200%200%200-6.2%200zM158.2%2013.9a3%203%200%200%201%204%200l-2%202.1z%22/%3E%3Crect%20x=%22167%22%20y=%227.5%22%20width=%2216%22%20height=%229%22%20rx=%222.6%22%20fill=%22none%22%20stroke=%22%23ffffff%22%20stroke-opacity=%22.45%22/%3E%3Crect%20x=%22168.6%22%20y=%229.1%22%20width=%2212%22%20height=%225.8%22%20rx=%221.4%22/%3E%3Crect%20x=%22184%22%20y=%2210.2%22%20width=%221.4%22%20height=%223.6%22%20rx=%22.7%22%20fill-opacity=%22.45%22/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20196%2030%22%3E%3Crect%20x=%2263%22%20y=%2217%22%20width=%2270%22%20height=%224.5%22%20rx=%222.25%22%20fill=%22%23ffffff%22%20fill-opacity=%22.9%22/%3E%3C/svg%3E"), linear-gradient(var(--scr-top), var(--scr-top)), linear-gradient(var(--scr-bot), var(--scr-bot)); }
.stage .phone.s::before { top: 11px; width: 31%; height: 0; padding-bottom: 8.6%; margin-left: -15.5%; background: #000; border-radius: 99px; box-shadow: none; }
.stage .phone.s::after { left: -8px; top: 96px; width: 3.5px; height: 24px; box-shadow: 0 40px 0 0 #bdb9c6, 0 82px 0 0 #bdb9c6, calc(var(--pw) + 5px) 36px 0 0 #bdb9c6; background: #bdb9c6; }
@media (max-width: 560px) { .stage .phone.s { --pw: 236px; width: 236px; } }

/* ——— переключатель-подарок, круг «Открыть», бейдж «Бесплатно» и плашка брони: то же стекло ——— */
.theme-switch, .circle, .badge { --gl: var(--pink); --gp: var(--glass-b); } .theme-switch { --gl: var(--teal); } .theme-switch[aria-checked="true"] { --gl: var(--pink); }
.booked { --gl: #fff; --gp: 94%; color: #0f5f75; text-shadow: 0 1px 0 rgba(255,255,255,.7); text-align: center; line-height: 1.3; white-space: normal; width: 9.6em; box-sizing: content-box; padding: 11px 18px; border-radius: 34px; }   /* плашка почти белая и текст тёмно-бирюзовый: читается и на тёмном, и на светлом фоне, независимо от ползунка прозрачности */
.theme-switch, .circle, .badge, .booked { background-color: var(--gl); }
@supports (color: color-mix(in srgb, red 50%, transparent)) {
  .theme-switch, .circle, .badge, .booked {
    background-color: transparent;
    background-image: radial-gradient(120% 90% at 0% 0%, rgba(255,255,255,.55), transparent 42%), radial-gradient(110% 90% at 100% 100%, rgba(255,255,255,.3), transparent 38%),
      linear-gradient(135deg, color-mix(in srgb, var(--gl) var(--gp), transparent), color-mix(in srgb, var(--gl) calc(var(--gp) * .8), transparent));
    -webkit-backdrop-filter: blur(14px) saturate(1.8); backdrop-filter: blur(14px) saturate(1.8);
    box-shadow: inset 0 2px 0 rgba(255,255,255,.75), inset 0 -8px 16px rgba(255,255,255,.18), inset 2px 0 6px rgba(255,255,255,.25), inset -2px 0 6px rgba(255,255,255,.2), 0 10px 26px rgba(42,38,53,.18); }
  .theme-switch { border: 1px solid rgba(255,255,255,.6); }
  .circle { border: 1px solid rgba(255,255,255,.6); text-shadow: 0 1px 3px rgba(42,38,53,.4); }
  .badge { border-color: rgba(255,255,255,.75); }
  .booked { border: 1px solid rgba(255,255,255,.8); }
  html.lens .circle, html.lens .badge, html.lens .booked { -webkit-backdrop-filter: none; backdrop-filter: url(#dl-lens) blur(10px) saturate(1.8); }
}

/* ——— диалог в первом экране: «живой» ввод и ответ бота; фон — стекло ——— */
.chat { --gl: #fff; --gp: var(--glass-b); gap: 10px; background-color: var(--gl); }
.chat-log { display: grid; gap: 8px; align-content: end; min-height: 118px; }
.chat-log .msg { animation: chatpop .28s ease-out both; }
.chat-log.out { opacity: 0; transition: opacity .45s ease; }
.msg.dots { display: inline-flex; gap: 4px; align-items: center; width: fit-content; padding: 12px 14px; }
.msg.dots i { width: 6px; height: 6px; border-radius: 50%; background: #a79fb0; animation: chatdot 1s infinite ease-in-out; } .msg.dots i:nth-child(2) { animation-delay: .15s; } .msg.dots i:nth-child(3) { animation-delay: .3s; }
.chat-input { display: flex; align-items: center; gap: 4px; min-height: 40px; padding: 5px 6px 5px 14px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid rgba(42,38,53,.1); font-size: 14px; color: var(--ink); }
.chat-typed { white-space: nowrap; overflow: hidden; text-overflow: clip; }
.chat-typed:empty::before { content: "Сообщение"; color: #a79fb0; }
.caret { flex: none; width: 2px; height: 17px; background: var(--teal); animation: chatcaret 1s steps(1) infinite; margin-right: auto; }
.chat-send { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #c9c3cf; color: #fff; font: 700 16px/1 var(--f-text); transition: background .2s, transform .2s; }
.chat-send.on { background: var(--teal); transform: scale(1.12); }
@keyframes chatpop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes chatdot { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes chatcaret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .caret, .msg.dots i, .chat-log .msg { animation: none; } }
@supports (color: color-mix(in srgb, red 50%, transparent)) {
  .chat { background-color: transparent; border: 1px solid rgba(255,255,255,.8);
    background-image: radial-gradient(120% 90% at 0% 0%, rgba(255,255,255,.6), transparent 42%), radial-gradient(110% 90% at 100% 100%, rgba(255,255,255,.3), transparent 38%),
      linear-gradient(135deg, color-mix(in srgb, var(--gl) var(--gp), transparent), color-mix(in srgb, var(--gl) calc(var(--gp) * .8), transparent));
    -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
    box-shadow: inset 0 2px 0 rgba(255,255,255,.85), inset 0 -10px 20px rgba(255,255,255,.18), 0 14px 34px rgba(0,0,0,.25); }
  html.lens .chat { -webkit-backdrop-filter: none; backdrop-filter: url(#dl-lens) blur(12px) saturate(1.6); }
}
.chat { --gp: min(100%, calc(var(--glass-b) + 12%)); }
.chat .msg.bot { background: rgba(255,255,255,.92); color: var(--ink); } .chat .msg.bot span { color: var(--muted); }
.chat .msg.me { background: #dcebfb; color: var(--ink); }
.chat .msg.dots { background: rgba(255,255,255,.92); }

/* ——— читаемость текста на цветном стекле: на светлом фоне тёмный, на тёмном белый (смена темы переключателем-подарком) ——— */
.sec .c-pink, .sec .c-teal { color: var(--ink); }
.sec .c-pink h3, .sec .c-pink p, .sec .c-pink .num, .sec .c-teal h3, .sec .c-teal p, .sec .c-teal .num { text-shadow: 0 1px 0 rgba(255,255,255,.35); }
html[data-mode="invert"] .sec:not(.dark) .c-pink, html[data-mode="invert"] .sec:not(.dark) .c-teal, .sec.dark .c-pink, .sec.dark .c-teal { color: #fff; }
html[data-mode="invert"] .sec:not(.dark) .c-pink h3, html[data-mode="invert"] .sec:not(.dark) .c-pink p, html[data-mode="invert"] .sec:not(.dark) .c-pink .num,
html[data-mode="invert"] .sec:not(.dark) .c-teal h3, html[data-mode="invert"] .sec:not(.dark) .c-teal p, html[data-mode="invert"] .sec:not(.dark) .c-teal .num,
.sec.dark .c-pink h3, .sec.dark .c-pink p, .sec.dark .c-pink .num, .sec.dark .c-teal h3, .sec.dark .c-teal p, .sec.dark .c-teal .num { text-shadow: 0 1px 3px rgba(42,38,53,.5), 0 0 12px rgba(42,38,53,.18); }

/* ——— белые и кремовые карточки: заметнее стекло (прозрачнее, больше цветных пятен за ними, яркая кромка) ——— */
.c-white, .c-cream { --gp: max(18%, calc(var(--glass-c) - 24%)); }
.sec.cream, .sec.white { background-image:
  radial-gradient(26% 30% at 4% 18%, rgba(253,71,143,.30), transparent 70%), radial-gradient(28% 32% at 96% 82%, rgba(56,179,206,.34), transparent 70%),
  radial-gradient(22% 26% at 34% 62%, rgba(56,179,206,.20), transparent 70%), radial-gradient(22% 26% at 68% 30%, rgba(253,71,143,.18), transparent 70%), radial-gradient(24% 24% at 52% 100%, rgba(255,196,0,.20), transparent 70%); }
@supports (color: color-mix(in srgb, red 50%, transparent)) {
  .c-white, .c-cream { border: 1px solid rgba(255,255,255,.9);
    box-shadow: inset 0 2px 0 rgba(255,255,255,.95), inset 0 -14px 26px rgba(255,255,255,.28), inset 3px 0 10px rgba(255,255,255,.4), inset -3px 0 10px rgba(255,255,255,.34), 0 0 0 1px rgba(42,38,53,.05), 0 16px 36px rgba(42,38,53,.10); }
}

/* ——— значки платформ: стеклянные круги, не выделяются на карточке ——— */
.tile { --gl: #fff; --gp: 38%; background-color: var(--gl); }
@supports (color: color-mix(in srgb, red 50%, transparent)) {
  .tile { background-color: transparent; border: 1px solid rgba(255,255,255,.7);
    background-image: radial-gradient(120% 90% at 0% 0%, rgba(255,255,255,.6), transparent 45%), linear-gradient(135deg, color-mix(in srgb, var(--gl) var(--gp), transparent), color-mix(in srgb, var(--gl) calc(var(--gp) * .6), transparent));
    -webkit-backdrop-filter: blur(10px) saturate(1.6); backdrop-filter: blur(10px) saturate(1.6);
    box-shadow: inset 0 2px 0 rgba(255,255,255,.8), inset 0 -6px 12px rgba(255,255,255,.2), 0 6px 16px rgba(0,0,0,.12); }
  html.lens .tile { -webkit-backdrop-filter: none; backdrop-filter: url(#dl-lens) blur(8px) saturate(1.6); }
}

/* ——— появление при прокрутке, параллакс, подъём карточек при наведении ——— */
.js-rv .rv, .js-rv .rw { opacity: 0; translate: 0 42px; transition: opacity .9s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), translate 1s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.js-rv .rv.in, .js-rv .rw.in { opacity: 1; translate: 0 0; }
.rw { display: inline-block; }
.hero-art .iphone, .hero-art .chat, .hero-art .badge, .hero-art .booked { will-change: translate; }
.stage .phone.s { translate: 0 calc(var(--py, 0) * 1px); }
.sec.cream, .sec.white { background-size: 100% 130%; background-repeat: no-repeat; background-position: 50% var(--pp, 50%); }
@media (hover: hover) {
  .card, .q, .stage, .gcard { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
  .card:hover, .q:hover { transform: translateY(-6px); }
  .stage:hover { transform: translateY(-8px); }
  .card:hover, .q:hover { box-shadow: 0 22px 44px rgba(42,38,53,.16); }
}
@media (prefers-reduced-motion: reduce) { .js-rv .rv, .js-rv .rw { opacity: 1; translate: none; transition: none; } .stage .phone.s { translate: none; } }

/* ——— мини-игра «загони пузыри в ворота» в блоке приветствия ——— */
.goal-btn { position: absolute; right: 14px; bottom: 14px; z-index: 6; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; padding: 0; background: none; cursor: pointer;
  color: var(--txt-muted); opacity: .7; transition: opacity .2s, color .2s, background .2s; }
.goal-btn:hover, .goal-btn:focus-visible { opacity: 1; color: var(--txt); background: color-mix(in srgb, var(--txt) 10%, transparent); outline: none; }
.welcome.goal-on .goal-btn { display: none; }
.goal-canvas { position: absolute; inset: 0; z-index: 5; touch-action: none; cursor: crosshair; }
.welcome.goal-on .bubble-layer { opacity: 0; transition: opacity .6s ease; }
.welcome .bubble-layer { transition: opacity .6s ease; }
.goal-quit { position: absolute; top: 14px; right: 14px; z-index: 7; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(42,38,53,.65); color: #fff; font-size: 16px; cursor: pointer; }
.goal-hud { position: fixed; right: 14px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 260; display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 999px; background: var(--pink); color: #fff; font: 400 20px/1 var(--f-head); box-shadow: 0 8px 22px rgba(253,71,143,.45); }
.goal-hud .gh-ico { font-size: 18px; } .goal-hud .gh-t { font-variant-numeric: tabular-nums; opacity: .95; } .goal-hud .gh-h { font: 600 11px/1 var(--f-text); letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.goal-hud.bump { animation: bump .28s ease; }
@media (max-width: 760px) { .goal-btn { right: 10px; bottom: 10px; } .goal-quit { top: 10px; right: 10px; } }
@media (prefers-reduced-motion: reduce) { .goal-btn { transition: none; } }

/* строка состояния iPhone: значки прижаты к правому краю, остров поуже, поэтому ничего не заходит под остров ни на телефоне, ни на компьютере */
.stage .phone.s { background-size: 100% 42px, 100% 30px, 100% 44px, 100% 32px; background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20188%2042%22%3E%3Cg%20fill=%22%231a1722%22%20transform=%22translate(0%2010)%22%3E%3Ctext%20x=%2222%22%20y=%2217%22%20font-family=%22-apple-system,Helvetica,Arial,sans-serif%22%20font-size=%2211.5%22%20font-weight=%22700%22%3E9:41%3C/text%3E%3Cg%20transform=%22translate(119%200)%22%3E%3Crect%20x=%220%22%20y=%2213%22%20width=%222.4%22%20height=%224%22%20rx=%221%22/%3E%3Crect%20x=%224.4%22%20y=%2211%22%20width=%222.4%22%20height=%226%22%20rx=%221%22/%3E%3Crect%20x=%228.8%22%20y=%229%22%20width=%222.4%22%20height=%228%22%20rx=%221%22/%3E%3Crect%20x=%2213.2%22%20y=%227%22%20width=%222.4%22%20height=%2210%22%20rx=%221%22/%3E%3Cpath%20d=%22M21.6%2011.6a6%206%200%200%201%208.4%200l-1.1%201.2a4.4%204.4%200%200%200-6.2%200zM23.8%2013.9a3%203%200%200%201%204%200l-2%202.1z%22/%3E%3Crect%20x=%2232.6%22%20y=%227.5%22%20width=%2216%22%20height=%229%22%20rx=%222.6%22%20fill=%22none%22%20stroke=%22%231a1722%22%20stroke-opacity=%22.45%22/%3E%3Crect%20x=%2234.2%22%20y=%229.1%22%20width=%2212%22%20height=%225.8%22%20rx=%221.4%22/%3E%3Crect%20x=%2249.6%22%20y=%2210.2%22%20width=%221.4%22%20height=%223.6%22%20rx=%22.7%22%20fill-opacity=%22.45%22/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20196%2030%22%3E%3Crect%20x=%2263%22%20y=%2217%22%20width=%2270%22%20height=%224.5%22%20rx=%222.25%22%20fill=%22%231a1722%22%20fill-opacity=%22.9%22/%3E%3C/svg%3E"), linear-gradient(var(--scr-top), var(--scr-top)), linear-gradient(var(--scr-bot), var(--scr-bot)); }
.stage .phone.s:has(img[src$="shot-5.jpg"]) { background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20188%2042%22%3E%3Cg%20fill=%22%23ffffff%22%20transform=%22translate(0%2010)%22%3E%3Ctext%20x=%2222%22%20y=%2217%22%20font-family=%22-apple-system,Helvetica,Arial,sans-serif%22%20font-size=%2211.5%22%20font-weight=%22700%22%3E9:41%3C/text%3E%3Cg%20transform=%22translate(119%200)%22%3E%3Crect%20x=%220%22%20y=%2213%22%20width=%222.4%22%20height=%224%22%20rx=%221%22/%3E%3Crect%20x=%224.4%22%20y=%2211%22%20width=%222.4%22%20height=%226%22%20rx=%221%22/%3E%3Crect%20x=%228.8%22%20y=%229%22%20width=%222.4%22%20height=%228%22%20rx=%221%22/%3E%3Crect%20x=%2213.2%22%20y=%227%22%20width=%222.4%22%20height=%2210%22%20rx=%221%22/%3E%3Cpath%20d=%22M21.6%2011.6a6%206%200%200%201%208.4%200l-1.1%201.2a4.4%204.4%200%200%200-6.2%200zM23.8%2013.9a3%203%200%200%201%204%200l-2%202.1z%22/%3E%3Crect%20x=%2232.6%22%20y=%227.5%22%20width=%2216%22%20height=%229%22%20rx=%222.6%22%20fill=%22none%22%20stroke=%22%23ffffff%22%20stroke-opacity=%22.45%22/%3E%3Crect%20x=%2234.2%22%20y=%229.1%22%20width=%2212%22%20height=%225.8%22%20rx=%221.4%22/%3E%3Crect%20x=%2249.6%22%20y=%2210.2%22%20width=%221.4%22%20height=%223.6%22%20rx=%22.7%22%20fill-opacity=%22.45%22/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20196%2030%22%3E%3Crect%20x=%2263%22%20y=%2217%22%20width=%2270%22%20height=%224.5%22%20rx=%222.25%22%20fill=%22%23ffffff%22%20fill-opacity=%22.9%22/%3E%3C/svg%3E"), linear-gradient(var(--scr-top), var(--scr-top)), linear-gradient(var(--scr-bot), var(--scr-bot)); }
.stage .phone.s::before { width: 25%; margin-left: -12.5%; padding-bottom: 7.2%; }
@media (max-width: 560px) {
  .stage .phone.s { background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20228%2042%22%3E%3Cg%20fill=%22%231a1722%22%20transform=%22translate(0%2010)%22%3E%3Ctext%20x=%2222%22%20y=%2217%22%20font-family=%22-apple-system,Helvetica,Arial,sans-serif%22%20font-size=%2211.5%22%20font-weight=%22700%22%3E9:41%3C/text%3E%3Cg%20transform=%22translate(159%200)%22%3E%3Crect%20x=%220%22%20y=%2213%22%20width=%222.4%22%20height=%224%22%20rx=%221%22/%3E%3Crect%20x=%224.4%22%20y=%2211%22%20width=%222.4%22%20height=%226%22%20rx=%221%22/%3E%3Crect%20x=%228.8%22%20y=%229%22%20width=%222.4%22%20height=%228%22%20rx=%221%22/%3E%3Crect%20x=%2213.2%22%20y=%227%22%20width=%222.4%22%20height=%2210%22%20rx=%221%22/%3E%3Cpath%20d=%22M21.6%2011.6a6%206%200%200%201%208.4%200l-1.1%201.2a4.4%204.4%200%200%200-6.2%200zM23.8%2013.9a3%203%200%200%201%204%200l-2%202.1z%22/%3E%3Crect%20x=%2232.6%22%20y=%227.5%22%20width=%2216%22%20height=%229%22%20rx=%222.6%22%20fill=%22none%22%20stroke=%22%231a1722%22%20stroke-opacity=%22.45%22/%3E%3Crect%20x=%2234.2%22%20y=%229.1%22%20width=%2212%22%20height=%225.8%22%20rx=%221.4%22/%3E%3Crect%20x=%2249.6%22%20y=%2210.2%22%20width=%221.4%22%20height=%223.6%22%20rx=%22.7%22%20fill-opacity=%22.45%22/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20196%2030%22%3E%3Crect%20x=%2263%22%20y=%2217%22%20width=%2270%22%20height=%224.5%22%20rx=%222.25%22%20fill=%22%231a1722%22%20fill-opacity=%22.9%22/%3E%3C/svg%3E"), linear-gradient(var(--scr-top), var(--scr-top)), linear-gradient(var(--scr-bot), var(--scr-bot)); }
  .stage .phone.s:has(img[src$="shot-5.jpg"]) { background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20228%2042%22%3E%3Cg%20fill=%22%23ffffff%22%20transform=%22translate(0%2010)%22%3E%3Ctext%20x=%2222%22%20y=%2217%22%20font-family=%22-apple-system,Helvetica,Arial,sans-serif%22%20font-size=%2211.5%22%20font-weight=%22700%22%3E9:41%3C/text%3E%3Cg%20transform=%22translate(159%200)%22%3E%3Crect%20x=%220%22%20y=%2213%22%20width=%222.4%22%20height=%224%22%20rx=%221%22/%3E%3Crect%20x=%224.4%22%20y=%2211%22%20width=%222.4%22%20height=%226%22%20rx=%221%22/%3E%3Crect%20x=%228.8%22%20y=%229%22%20width=%222.4%22%20height=%228%22%20rx=%221%22/%3E%3Crect%20x=%2213.2%22%20y=%227%22%20width=%222.4%22%20height=%2210%22%20rx=%221%22/%3E%3Cpath%20d=%22M21.6%2011.6a6%206%200%200%201%208.4%200l-1.1%201.2a4.4%204.4%200%200%200-6.2%200zM23.8%2013.9a3%203%200%200%201%204%200l-2%202.1z%22/%3E%3Crect%20x=%2232.6%22%20y=%227.5%22%20width=%2216%22%20height=%229%22%20rx=%222.6%22%20fill=%22none%22%20stroke=%22%23ffffff%22%20stroke-opacity=%22.45%22/%3E%3Crect%20x=%2234.2%22%20y=%229.1%22%20width=%2212%22%20height=%225.8%22%20rx=%221.4%22/%3E%3Crect%20x=%2249.6%22%20y=%2210.2%22%20width=%221.4%22%20height=%223.6%22%20rx=%22.7%22%20fill-opacity=%22.45%22/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20196%2030%22%3E%3Crect%20x=%2263%22%20y=%2217%22%20width=%2270%22%20height=%224.5%22%20rx=%222.25%22%20fill=%22%23ffffff%22%20fill-opacity=%22.9%22/%3E%3C/svg%3E"), linear-gradient(var(--scr-top), var(--scr-top)), linear-gradient(var(--scr-bot), var(--scr-bot)); }
}

/* кнопка меню собирается из палок: пока они летят, полоски внутри скрыты и появляются по мере прилёта */
.burger.assembling span { opacity: 0; }
.burger.snap { animation: burgersnap .26s ease; }
@keyframes burgersnap { 50% { transform: scale(1.12); } }
.stick-fly { position: fixed; left: 0; top: 0; z-index: 299; width: 66px; height: 7.5px; border-radius: 6px; background: linear-gradient(90deg, var(--pink), var(--teal)); box-shadow: 0 2px 10px rgba(253,71,143,.45); pointer-events: none; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .burger.snap { animation: none; } }
