/* Celebrity-воронка на скелете astrocarto. Вёрстка своя, без Next:
   одна колонка шириной с телефон, на десктопе по центру. */
:root{
  --font:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  --bg:#FAF8FF; --ink:#1E1B33; --muted:#6B6585; --acc:#7C4DFF; --card:#FFFFFF;
  --opt:#FFFFFF; --optb:#E6E0F6; --optsel:#F2ECFF;
  --cta:linear-gradient(90deg,#7A3EF0,#A56BFF); --ctaink:#fff; --ctash:0 8px 18px -8px rgba(122,62,240,.6);
  --dbg:#17122B; --dink:#F3EEFF; --dmuted:#B9AFD6;
  --page:#ECE8F6;
  color-scheme:light;
}
*{box-sizing:border-box}
html,body{height:100%;margin:0}
body{background:var(--page);color:var(--ink);font:15px/1.5 var(--font);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}
button{font:inherit;color:inherit;cursor:pointer}
button:focus-visible,select:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid var(--acc);outline-offset:2px}
img{max-width:100%}

.app{position:relative;height:100%;max-width:480px;margin:0 auto;background:var(--bg);overflow:hidden}
@media (min-width:600px){.app{box-shadow:0 0 60px -20px rgba(40,20,90,.25)}}
html.mgp-kb .app{height:var(--mgp-kb-h,100%)}
#screen{position:relative;height:100%;display:flex;flex-direction:column;background:linear-gradient(180deg,#FFFFFF 0%,#F4EFFF 100%)}
#screen.dark{background:var(--dbg);color:var(--dink)}
.content{flex:1;overflow-y:auto;padding:18px 20px 0;display:flex;flex-direction:column;gap:14px;-webkit-overflow-scrolling:touch}
.dock{position:sticky;bottom:0;margin:auto -20px 0;padding:14px 20px calc(16px + env(safe-area-inset-bottom,0px));background:linear-gradient(to top,#F4EFFF 70%,rgba(244,239,255,0))}
.content > .page{display:flex;flex-direction:column;gap:14px;flex:1}

/* шапка */
.hd{padding:calc(10px + env(safe-area-inset-top,0px)) 16px 0;display:grid;gap:8px;flex:0 0 auto}
.hd .logo{display:grid;grid-template-columns:36px 1fr 36px;align-items:center}
.hd .logo span{font-family:"Playfair Display",Georgia,serif;font-style:italic;font-weight:600;font-size:25px;color:#8E5CF5;text-align:center;letter-spacing:-.01em}
.mn{background:none;border:0;font-size:20px;color:#3A3550;padding:6px;justify-self:end;min-width:36px;min-height:36px}
.hd .row{display:grid;grid-template-columns:36px 1fr 48px;align-items:center;font-size:13px;color:#4B4663}
.hd .bk{background:none;border:0;color:#7C4DFF;font-size:24px;line-height:1;padding:6px 8px 6px 0;text-align:left;min-height:36px}
.hd .t{text-align:center}
.hd .n{justify-self:end;background:#ECE4FF;color:#7C4DFF;border-radius:10px;padding:1px 8px;font-weight:600;font-size:12px;font-variant-numeric:tabular-nums}
.hd .bar{height:4px;border-radius:2px;background:#E7E0F8;overflow:hidden}
.hd .bar i{display:block;height:100%;background:linear-gradient(90deg,#7A3EF0,#A56BFF);border-radius:2px;transition:width .3s}

/* общие элементы экрана */
.q{margin:0;font-size:24px;line-height:1.2;font-weight:700;text-align:center;text-wrap:balance;letter-spacing:-.01em}
.sub{margin:-4px 0 0;color:var(--muted);font-size:14.5px;text-align:center;line-height:1.45}
.opts{display:grid;gap:10px}
.opt{display:flex;align-items:center;gap:12px;text-align:left;background:var(--opt);border:1.5px solid var(--optb);border-radius:14px;padding:14px 16px;min-height:56px;font-size:15.5px;color:var(--ink);transition:border-color .15s,background .15s}
.opt .em{font-size:24px;line-height:1;width:30px;text-align:center;flex:0 0 30px}
.opt .ot{flex:1}
.opt .ot small{display:block;color:var(--muted);font-size:12.5px;margin-top:2px}
.opt.sel{border-color:var(--acc);background:var(--optsel)}
.opt .box{width:22px;height:22px;border-radius:6px;border:1.5px solid var(--optb);flex:0 0 22px;background:#fff}
.opt.sel .box{background:var(--acc);border-color:var(--acc);box-shadow:inset 0 0 0 4px #fff}
.opt.has-img{padding:8px 14px 8px 8px}
.opt img{width:52px;height:64px;object-fit:cover;object-position:50% 20%;border-radius:10px;flex:0 0 52px}
.foot{margin:0;text-align:center;color:var(--muted);font-size:12.5px;letter-spacing:.02em}
.cta{display:block;width:100%;border:0;border-radius:14px;background:var(--cta);color:var(--ctaink);font-weight:600;font-size:17px;padding:16px;min-height:54px;box-shadow:var(--ctash);text-align:center;text-decoration:none}
.cta:disabled{opacity:.4;cursor:default;box-shadow:none}
.cta.ghost{background:transparent;color:var(--acc);box-shadow:inset 0 0 0 1.5px var(--acc)}
.linkbtn{background:none;border:0;color:var(--acc);text-decoration:underline;font-size:14px;padding:10px;align-self:center;min-height:44px}
.hero-img{margin:0 auto;position:relative;width:fit-content;max-width:100%}
/* Картинки героев — before/after 4:5 целиком: высота от экрана, ширина по пропорции. */
.hero-img img{display:block;width:auto;max-width:100%;height:min(46vh,112vw);height:min(46dvh,112vw);aspect-ratio:4/5;object-fit:cover;object-position:50% 30%;border-radius:18px;background:#2A2240}
.hero-img::after{content:"";position:absolute;inset:55% 0 0 0;background:linear-gradient(to top,rgba(0,0,0,.45),transparent);border-radius:0 0 18px 18px;pointer-events:none}
.cap{position:absolute;left:12px;right:12px;bottom:14px;z-index:1;text-align:center;font-family:"Archivo","Arial Narrow",sans-serif;font-stretch:78%;font-weight:900;text-transform:uppercase;color:#fff;font-size:21px;line-height:1.12;text-shadow:0 2px 8px rgba(0,0,0,.55)}
.cap em{font-style:normal;background:#2448F2;padding:0 4px;box-decoration-break:clone;-webkit-box-decoration-break:clone;text-shadow:none}
.info-t{display:grid;gap:10px}
.pick{display:grid;grid-template-columns:1.6fr 1fr 1.2fr;gap:8px;margin-top:8px}
.pick select{appearance:none;-webkit-appearance:none;background:var(--optsel);border:1.5px solid var(--optb);border-radius:12px;padding:14px 10px;font:600 16px var(--font);color:var(--ink);text-align:center;text-align-last:center;min-height:52px}
.zod{position:relative;width:190px;height:190px;margin:4px auto 0;border-radius:50%;border:1.5px solid var(--optb)}
.zod::after{content:"";position:absolute;inset:34%;border-radius:50%;border:1.5px solid var(--optb)}
.zs{position:absolute;transform:translate(-50%,-50%);width:30px;height:30px;border-radius:9px;display:grid;place-items:center;font-size:17px;color:var(--acc);background:var(--optsel);transition:all .2s}
.zs.on{background:var(--acc);color:#fff;transform:translate(-50%,-50%) scale(1.25);box-shadow:0 4px 12px rgba(124,77,255,.4)}

/* место рождения: классы те же, что у прежней сборки — на них завязан flow.js */
.place-field{position:relative}
.place-field input,.page input[type=email]{width:100%;border:1.5px solid var(--optb);border-radius:14px;padding:15px 16px;font:16px var(--font);color:var(--ink);background:#fff}
.place-list{list-style:none;margin:6px 0 0;padding:0;display:grid;border-radius:12px;overflow:hidden;border:1px solid var(--optb);background:#fff}
.place-list li button{width:100%;background:#fff;border:0;border-bottom:1px solid var(--optb);text-align:left;padding:13px 14px;font-size:14.5px;min-height:44px}
.place-list li:last-child button{border-bottom:0}
.place-state{margin:0;font-size:13px;color:var(--muted);text-align:center}
.place-state.err{color:#B3261E}

/* почта: подсказки доменов рисует flow.js */
.mgp-hints{list-style:none;margin:6px 0 0;padding:0;border:1px solid var(--optb);border-radius:12px;background:#fff;overflow:hidden}
.mgp-hint{padding:12px 14px;border-bottom:1px solid var(--optb);font-size:14.5px;cursor:pointer}
.mgp-hint:last-child{border-bottom:0}
.legal{margin:0;color:var(--muted);font-size:12.5px;text-align:center;line-height:1.5}
.legal a{color:inherit}
.err-t{margin:0;color:#B3261E;font-size:13.5px;text-align:center}

/* лоадер */
.ld{flex:1;display:grid;align-content:center;justify-items:center;gap:18px;padding-bottom:30px}
.ring{position:relative;width:150px;height:150px}
.ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.ring circle{fill:none;stroke-width:6}
.ring .tr{stroke:var(--optb)}
.ring .pr{stroke:var(--acc);stroke-linecap:round}
.ring span{position:absolute;inset:0;display:grid;place-items:center;font-size:30px;font-weight:700;color:var(--acc);font-variant-numeric:tabular-nums}
.ld-t{margin:0;font-size:17px;color:var(--acc);text-align:center;min-height:2.6em;max-width:280px}
.ld-card{display:grid;grid-template-columns:64px 1fr;gap:12px;align-items:center;background:#fff;border:1px solid var(--optb);border-radius:16px;padding:8px;width:100%;max-width:320px;min-height:88px}
.ld-card img{width:64px;height:72px;object-fit:cover;object-position:50% 20%;border-radius:10px}
.ld-card b{display:block;font-size:15px}
.ld-card span{font-size:13.5px;color:var(--muted)}
.ld-card.in{animation:rise .5s ease}
@keyframes rise{from{opacity:.2;transform:translateY(8px)}to{opacity:1;transform:none}}

/* модалки и меню */
.mdl{position:absolute;inset:0;z-index:20;background:rgba(15,12,30,.5);display:grid;align-items:end;padding:14px 14px calc(14px + env(safe-area-inset-bottom,0px))}
.mdl-b{background:#fff;color:var(--ink);border-radius:20px;padding:22px 20px 18px;display:grid;gap:10px;animation:rise .25s ease}
.mdl-b h2{margin:0;font-size:20px;line-height:1.25;text-align:center}
.mdl-b p{margin:0;color:var(--muted);text-align:center;font-size:14.5px}
.mdl-a{display:grid;gap:10px;margin-top:8px}
.mdl-a .cta{font-size:16px;min-height:50px;padding:13px}
.menu a{display:block;padding:14px 4px;border-bottom:1px solid var(--optb);color:var(--ink);text-decoration:none;font-size:15.5px}
.menu a:last-child{border-bottom:0}

/* доска с паттерном */
.board{position:relative;background:#8C6743 radial-gradient(circle at 30% 20%,#A07A53,transparent 60%);border-radius:14px;padding:14px;display:grid;grid-template-columns:1fr 1fr;gap:16px 14px;box-shadow:inset 0 0 0 5px #6B4B2E}
.board svg{position:absolute;inset:14px;width:calc(100% - 28px);height:calc(100% - 28px);pointer-events:none;z-index:0}
.pol{background:#FBF8F1;padding:6px 6px 8px;box-shadow:0 3px 6px rgba(0,0,0,.35);color:#2A2233;display:grid;gap:2px;position:relative;z-index:1}
.pol img{width:100%;aspect-ratio:1;object-fit:cover;object-position:50% 40%;display:block}
.pol b{font-size:13px;line-height:1.1;margin-top:3px}
.pol span{font-size:11px;color:#5A5266;line-height:1.2}
.pol.p0{transform:rotate(-3deg)}.pol.p1{transform:rotate(2.5deg)}.pol.p2{transform:rotate(2deg)}.pol.p3{transform:rotate(-2deg)}
.pol::before{content:"";position:absolute;top:-4px;left:50%;width:10px;height:10px;margin-left:-5px;border-radius:50%;background:#C0262D;box-shadow:0 1px 2px rgba(0,0,0,.4);z-index:3}

/* приветствие */
.wel{margin:-18px -20px 0;flex:1;display:flex;flex-direction:column;background:#120E20;color:#F6F2FF}
.wel .ph{position:relative}
.wel .ph img{width:100%;display:block;aspect-ratio:1/0.92;object-fit:cover;object-position:50% 20%;background:#231a3a}
.wel .ph::after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(to top,#120E20,transparent)}
.wel .ph .lg{position:absolute;top:calc(12px + env(safe-area-inset-top,0px));left:0;right:0;text-align:center;font-family:"Playfair Display",serif;font-style:italic;font-weight:600;font-size:24px;color:#E7D9FF;z-index:2;text-shadow:0 2px 8px rgba(0,0,0,.5)}
.wel .ph .mn{position:absolute;top:calc(8px + env(safe-area-inset-top,0px));right:10px;z-index:3;background:rgba(0,0,0,.25);color:#fff;border-radius:10px}
.wel .tx{padding:0 20px calc(18px + env(safe-area-inset-bottom,0px));display:grid;gap:12px;margin-top:-34px;position:relative;z-index:2}
.wel .eb{font-family:"Archivo",sans-serif;font-stretch:75%;font-weight:800;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:#B9A4FF;text-align:center}
.wel h1{margin:0;font-family:"Archivo","Arial Narrow",sans-serif;font-stretch:80%;font-weight:900;text-transform:uppercase;font-size:34px;line-height:1.02;text-align:center}
.wel h1 em{font-style:normal;background:#2448F2;padding:0 5px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.wel p{margin:0;text-align:center;color:#C8BEE3;font-size:14.5px;line-height:1.45}
.wel .gs{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.wel .gs button{border:0;border-radius:14px;padding:15px;font-weight:600;font-size:16px;background:linear-gradient(90deg,#7A3EF0,#A56BFF);color:#fff;min-height:52px}
.wel .lbl{font-weight:600;color:#fff;text-align:center;font-size:15px}
.wel small{display:block;text-align:center;color:#8F86A9;font-size:11.5px;line-height:1.5}
.wel small a{color:inherit}

/* выбор цены: .price-grid/.price-cell/.cost-note читает flow.js */
.tp{display:grid;gap:14px;padding-top:8px}
.tp .eb{font-size:12px;font-weight:700;letter-spacing:.08em;color:#7C4DFF;text-align:center;text-transform:uppercase}
.tp p{margin:0;text-align:center;color:var(--muted);font-size:14px;line-height:1.5}
.tp p b{color:var(--ink)}
.price-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.price-cell{border:1.5px solid var(--optb);background:#fff;border-radius:16px;padding:14px 6px;display:grid;gap:2px;justify-items:center;align-content:center;min-height:72px}
.price-cell b{font-size:24px;letter-spacing:-.01em}
.price-cell small{font-size:11.5px;color:var(--muted)}
.price-cell.selected{border-color:#7C4DFF;background:#F2ECFF;box-shadow:0 0 0 3px rgba(124,77,255,.15)}
.tp .arrow{font-size:12.5px;color:#7C4DFF;text-align:right;margin-top:-4px}
.cost-note{font-size:12px!important}

/* оффер: тёмный, как отчёт в конце роликов */
.of{margin:-18px -20px 0;background:#17122B;color:#F3EEFF;display:grid;gap:16px;padding:0 18px calc(22px + env(safe-area-inset-bottom,0px))}
.of .tm{position:sticky;top:-18px;z-index:4;margin:0 -18px;background:#2A1F4A;color:#FFD9B5;text-align:center;padding:calc(10px + env(safe-area-inset-top,0px)) 44px 10px;font-size:14px;font-weight:600}
.of .tm b{font-variant-numeric:tabular-nums;color:#fff}
.of .tm .mn{position:absolute;right:6px;top:calc(4px + env(safe-area-inset-top,0px));color:#D9CFF5}
.of h1{margin:0;font-size:27px;line-height:1.15;text-align:center;font-weight:800}
.of .sb{margin:-6px 0 0;text-align:center;color:#C4B9E0;font-size:14.5px}
.of .for{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
.of .for span{background:#2A2342;border:1px solid #3B3160;border-radius:999px;padding:4px 10px;font-size:12.5px;color:#DCD2F6}
.rep{position:relative;border-radius:16px;overflow:hidden;border:1px solid #3B3160}
.rep img{width:100%;display:block;aspect-ratio:1/0.9;object-fit:cover;object-position:50% 12%;background:#221B3A}
.rep .veil{position:absolute;inset:38% 0 0;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);background:rgba(23,18,43,.45);display:grid;place-items:center}
.rep .veil span{background:#fff;color:#1E1B33;border-radius:999px;padding:7px 14px;font-size:13px;font-weight:600}
.locs{display:grid;gap:8px}
.loc{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:center;background:#221B3A;border:1px solid #3B3160;border-radius:14px;padding:10px 12px}
.loc .i{width:34px;height:34px;border-radius:10px;background:#342A57;display:grid;place-items:center}
.loc small{display:block;font-size:12px;color:#AFA4CF}
.loc b{font-size:15px;letter-spacing:.2em;color:#8A7FB0}
.pr{background:#221B3A;border:1px solid #3B3160;border-radius:14px;padding:12px 14px;display:flex;justify-content:space-between;align-items:center;gap:10px}
.pr .offer-price{font-size:26px;font-weight:800}
.pr s{color:#9C92BD;font-size:15px;margin-right:6px}
.pr small{display:block;color:#AFA4CF;font-size:12px}
.of .h2{margin:8px 0 0;font-size:21px;line-height:1.2;font-weight:700;text-align:center;color:#fff}
.list{display:grid;gap:10px}
.li{display:grid;grid-template-columns:36px 1fr;gap:10px;align-items:start;background:#221B3A;border:1px solid #3B3160;border-radius:14px;padding:12px 14px}
.li .i{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#342A57;font-size:18px}
.li b{display:block;font-size:15px}
.li span{font-size:13.5px;color:#C4B9E0;line-height:1.4}
.celeb{border-radius:18px;overflow:hidden;background:#221B3A;border:1px solid #3B3160}
.celeb img{width:100%;display:block;aspect-ratio:16/10;object-fit:cover;object-position:50% 30%}
.celeb div{padding:14px 16px 16px;display:grid;gap:6px}
.celeb h3{margin:0;font-size:18px;line-height:1.2}
.celeb p{margin:0;font-size:14px;color:#CFC6E6;line-height:1.45}
.review-list{display:grid;gap:10px}
.review-card{background:#221B3A;border:1px solid #3B3160;border-radius:16px;padding:14px 16px;display:grid;gap:6px}
.review-stars{color:#F5A524;letter-spacing:2px;font-size:14px}
.review-card p{margin:0;font-size:14.5px;line-height:1.45}
.review-meta{font-size:12.5px;color:#AFA4CF;display:flex;gap:6px}
.review-meta small{font-size:inherit}
.mgp-rating{display:flex;align-items:baseline;justify-content:center;gap:8px;flex-wrap:wrap}
.mgp-rating-score{font-size:28px;font-weight:800}
.mgp-rating-stars{color:#F5A524;letter-spacing:2px}
.mgp-rating-note{color:#AFA4CF;font-size:13px}
.gar{border:1px solid #3B3160;border-radius:14px;padding:14px;text-align:center;display:grid;gap:6px}
.gar b{font-size:16px}
.gar span{color:#C4B9E0;font-size:13.5px;line-height:1.5}
.gar a,.terms a{color:inherit}
.nope{background:none;border:0;color:#9C92BD;text-decoration:underline;font-size:14px;padding:10px;min-height:44px}
.terms{font-size:11.5px;color:#8C82AD;text-align:center;margin:0;line-height:1.5}
.acc{color:#FFD9B5;font-size:13px;text-align:center;margin:0}
.secure{text-align:center;color:#AFA4CF;font-size:12.5px;margin:-6px 0 0}

/* даунселл */
.di{flex:1;display:grid;align-content:center;gap:14px;text-align:center}
.di .eb{font-size:13px;font-weight:800;letter-spacing:.1em;color:#E0457B}
.di img{width:190px;justify-self:center;border-radius:16px;filter:blur(1.5px);box-shadow:0 12px 30px -10px rgba(124,77,255,.5)}
.di .big{font-size:44px;font-weight:800;color:#7C4DFF}
.di s{color:var(--muted);font-size:18px}
.di .pct{justify-self:center;background:#FFE3EC;color:#C2185B;font-weight:700;border-radius:999px;padding:4px 12px;font-size:13px}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* ── правки 29.09: разные герои, интрига на карте, иконки, закреплённая оплата ── */
svg{flex:0 0 auto}

.match{display:flex;flex-direction:column;gap:12px}
.match .eb,.lines .eb{align-self:center;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--acc);background:var(--optsel);border-radius:999px;padding:4px 12px}
.why{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.why li{display:grid;grid-template-columns:36px 1fr;gap:10px;align-items:center;background:#fff;border:1px solid var(--optb);border-radius:14px;padding:10px 12px;font-size:14.5px;line-height:1.4}
.why .ic{width:36px;height:36px;border-radius:10px;background:var(--optsel);color:var(--acc);display:grid;place-items:center}
.lines{display:flex;flex-direction:column;gap:12px}
.lmap{position:relative;margin:0;border-radius:18px;overflow:hidden;background:#0E0B1F}
.lmap img{width:100%;display:block;aspect-ratio:1448/1086}
.lpin{position:absolute;display:flex;align-items:center;gap:5px;background:rgba(20,14,40,.82);border:1px solid rgba(255,255,255,.25);color:#fff;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:600;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.lpin svg{width:14px;height:14px}
.lpin.p1{left:6%;top:26%}.lpin.p2{left:42%;top:14%}.lpin.p3{right:4%;top:48%}
.lbadge{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);background:#fff;color:var(--ink);border-radius:999px;padding:6px 12px;font-size:13px;font-weight:700;white-space:nowrap;box-shadow:0 6px 16px rgba(0,0,0,.3)}
.tp-map{position:relative;border-radius:16px;overflow:hidden;background:#0E0B1F}
.tp-map img{width:100%;display:block;aspect-ratio:16/7;object-fit:cover;object-position:50% 40%}
.tp-map span{position:absolute;left:10px;bottom:10px;display:flex;align-items:center;gap:6px;background:rgba(255,255,255,.95);color:var(--ink);border-radius:999px;padding:5px 11px;font-size:12.5px;font-weight:600}
.tp-map svg{width:14px;height:14px}
.tp .hint{display:flex;align-items:center;justify-content:center;gap:8px;color:var(--acc);font-size:13.5px;text-align:left!important;max-width:320px;margin:0 auto!important}
.tp .hint svg{width:18px;height:18px}
.of .for span{display:inline-flex;align-items:center;gap:6px}
.of .for svg{width:15px;height:15px;color:#B9A4FF}
.rep{position:relative}
.rep img{aspect-ratio:1080/1350;object-fit:cover}
.rep-lock{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);display:flex;align-items:center;gap:6px;background:#fff;color:#1E1B33;border-radius:999px;padding:7px 14px;font-size:13px;font-weight:600;white-space:nowrap}
.rep-lock svg{width:15px;height:15px}
.loc{grid-template-columns:34px 1fr 20px}
.loc .i,.li .i{color:#C9B8FF}
.loc .lk{color:#8A7FB0}
.loc .lk svg{width:18px;height:18px}
.gar .gi{justify-self:center;color:#C9B8FF}
.gar .gi svg{width:28px;height:28px}
.paybar{position:sticky;bottom:0;z-index:5;margin:0 -20px;padding:12px 18px calc(12px + env(safe-area-inset-bottom,0px));background:linear-gradient(to top,#17122B 75%,rgba(23,18,43,0));display:grid;gap:6px}
.paybar .secure{display:flex;align-items:center;justify-content:center;gap:6px;margin:0}
.paybar .secure svg{width:15px;height:15px}
@keyframes pulse{0%,100%{transform:scale(1);box-shadow:0 8px 18px -8px rgba(122,62,240,.6),0 0 0 0 rgba(165,107,255,.55)}50%{transform:scale(1.03);box-shadow:0 8px 18px -8px rgba(122,62,240,.6),0 0 0 12px rgba(165,107,255,0)}}
.cta.pulse{animation:pulse 1.6s ease-in-out infinite}

/* посадочный талон — герои без фото (переехали взрослыми) */
.tkt{position:relative;background:#F7F1E3;color:#231B30;border-radius:14px;padding:14px 16px 12px;display:grid;gap:10px;box-shadow:0 10px 24px -12px rgba(35,27,48,.45);overflow:hidden}
.tkt::before,.tkt::after{content:"";position:absolute;top:calc(50% + 6px);width:18px;height:18px;border-radius:50%;background:var(--bg)}
.tkt::before{left:-9px}.tkt::after{right:-9px}
.tk-top{display:flex;justify-content:space-between;font:800 11px/1 "Archivo",sans-serif;font-stretch:80%;letter-spacing:.14em;text-transform:uppercase;color:#C0262D}
.tk-route{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:8px}
.tk-route div:last-child{text-align:right}
.tk-route small,.tk-age small{display:block;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#8A7F72}
.tk-route b{font:900 22px/1.05 "Archivo","Arial Narrow",sans-serif;font-stretch:78%;text-transform:uppercase}
.tk-plane{color:#C0262D;padding-bottom:3px}
.tk-foot{display:flex;justify-content:space-between;align-items:end;border-top:1.5px dashed #CDBFA8;padding-top:10px}
.tk-name{font-weight:700;font-size:16px}
.tk-age{text-align:right}
.tk-age b{font:900 34px/1 "Archivo",sans-serif;font-stretch:78%;color:#231B30}
.tkt.big{padding:22px 20px 18px;gap:16px}
.tkt.big .tk-route b{font-size:32px}
.tkt.big .tk-age b{font-size:56px}
.tkt.big .tk-name{font-size:20px}
.tk-cap{margin:0;text-align:center;font:900 20px/1.15 "Archivo",sans-serif;font-stretch:78%;text-transform:uppercase}
.tk-cap em{font-style:normal;background:#2448F2;color:#fff;padding:0 4px}
.pol.tk{padding:0;background:transparent;box-shadow:none}
.pol.tk .tkt{border-radius:4px;padding:9px 9px 8px;gap:6px;box-shadow:0 3px 6px rgba(0,0,0,.35)}
.pol.tk .tkt::before,.pol.tk .tkt::after{display:none}
.pol.tk .tk-top{font-size:8px}
.pol.tk .tk-route{grid-template-columns:1fr;gap:2px}
.pol.tk .tk-route div:last-child{text-align:left}
.pol.tk .tk-route b{font-size:15px}
.pol.tk .tk-plane{display:none}
.pol.tk .tk-foot{padding-top:6px}
.pol.tk .tk-name{font-size:12px;line-height:1.15}
.pol.tk .tk-age b{font-size:24px}
.tk-thumb{flex:0 0 52px;width:52px;height:64px;border-radius:10px;background:#F7F1E3;color:#231B30;display:grid;place-items:center;align-content:center;border:1.5px dashed #CDBFA8}
.tk-thumb b{font:900 22px/1 "Archivo",sans-serif;font-stretch:78%}
.tk-thumb small{font-size:10px;color:#8A7F72}
.ld-card .tk-thumb{width:64px;height:72px}

/* золотые иконки оплаты, подписи фото */
.li .i,.loc .i{width:44px;height:44px;padding:0;overflow:hidden;background:#2A1F4A}
.li{grid-template-columns:44px 1fr}
.loc{grid-template-columns:44px 1fr 20px}
img.gold{width:100%;height:100%;display:block;object-fit:cover;border-radius:10px}
.gar .gi{width:56px;height:56px;border-radius:14px;overflow:hidden}
.credit{margin:-6px 0 0;font-size:11px;color:var(--muted);text-align:center}
.credit a{color:inherit}
.of .credit{color:#8C82AD}
.tp-map img{aspect-ratio:2/1;object-position:50% 55%}

/* карта человека, текущий город против линий, варианты первого экрана */
.chart{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.chart span{background:#fff;border:1px solid var(--optb);border-radius:999px;padding:4px 10px;font-size:12.5px;color:var(--muted)}
.chart i{font-style:normal;color:var(--acc);margin-right:4px}
.chart b{color:var(--ink);font-weight:600}
.here{display:grid;grid-template-columns:36px 1fr;gap:10px;align-items:center;background:#fff;border:1px solid var(--optb);border-radius:14px;padding:12px;text-align:left}
.here>svg{width:36px;height:36px;padding:7px;border-radius:10px;background:var(--optsel);color:var(--acc)}
.here b{display:block;font-size:15px}
.here span{font-size:14px;color:var(--muted);line-height:1.4}
.sub.small{font-size:12.5px}
.vs{display:grid;gap:8px}
.vs-row{display:grid;grid-template-columns:44px 1fr auto;gap:10px;align-items:center;background:#221B3A;border:1px solid #3B3160;border-radius:14px;padding:10px 12px}
.vs-row.now{border-color:#7C4DFF;background:#2A2150}
.vs-row .i{width:44px;height:44px;border-radius:10px;overflow:hidden}
.vs-row b{display:block;font-size:15px}
.vs-row:not(.now) b{letter-spacing:.2em;color:#8A7FB0}
.vs-row small{display:block;font-size:12px;color:#AFA4CF}
.vs-row .d{text-align:right;font-weight:700;font-size:15px;color:#FFD9B5;display:grid;justify-items:end}
.vs-row .d svg{width:18px;height:18px;color:#8A7FB0}
.vs-row .d small{max-width:120px}
.vs-note{margin:2px 4px 4px;font-size:14px;line-height:1.45;color:#D9CFF5;text-align:center}
.bubble{position:absolute;left:16px;right:60px;top:calc(56px + env(safe-area-inset-top,0px));z-index:3;background:#fff;color:#1E1B33;border-radius:16px 16px 16px 4px;padding:10px 14px;font-size:14.5px;font-weight:600;box-shadow:0 8px 24px rgba(0,0,0,.35)}
.wel-det .wel-board{padding:calc(56px + env(safe-area-inset-top,0px)) 16px 0}
.wel-det .tx{margin-top:0;padding-top:14px}

/* «что мешает сейчас → что на карте» */
.pain{display:grid;gap:10px}
.pn{display:grid;border-radius:14px;overflow:hidden;border:1px solid #3B3160}
.pn small{display:block;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#AFA4CF;margin-bottom:2px}
.pn b{font-size:15px;line-height:1.35;font-weight:600}
.pn-now{background:#221B3A;padding:10px 14px}
.pn-now b{color:#DCD2F6}
.pn-then{position:relative;background:#2A2150;padding:10px 40px 10px 14px;border-top:1px dashed #4A3F74}
.pn-then b{color:#FFD9B5}
.pn-then .lk{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#8A7FB0}
.pn-then .lk svg{width:18px;height:18px}

/* ── 29.09 вечер: без горизонтальной тряски, короткий экран цены, «вау» на оплате ── */
[hidden]{display:none!important}
html,body{overflow-x:hidden;overscroll-behavior:none}
.content{overflow-x:hidden;overscroll-behavior-x:none;touch-action:pan-y}
.app{touch-action:pan-y}

.tp2{display:flex;flex-direction:column;gap:14px;padding-top:6px}
.tp2 .eb{align-self:center;font-size:12px;font-weight:700;letter-spacing:.08em;color:var(--acc);text-transform:uppercase}
.tp2 .q{font-size:28px}
.tp-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.tp-chips span{display:inline-flex;align-items:center;gap:5px;background:#fff;border:1px solid var(--optb);border-radius:999px;padding:5px 11px;font-size:13px;color:var(--ink)}
.tp-chips svg{width:14px;height:14px;color:var(--acc)}
.tp2 .price-grid{margin-top:6px}
.tp2 .price-cell{min-height:92px}
.tp2 .price-cell b{font-size:30px}
.tp2 .hint{display:flex;align-items:flex-start;gap:8px;color:var(--muted);font-size:13px;line-height:1.4;margin:2px auto 0;max-width:330px}
.tp2 .hint svg{width:16px;height:16px;color:var(--acc);flex:0 0 16px;margin-top:2px}
.tp2 .cost-note{margin:0;text-align:center;color:var(--muted)}

/* оффер: появление блоков по очереди */
@keyframes up{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.of2>*:not(.tm){animation:up .55s cubic-bezier(.2,.8,.2,1) both}
.of2>*:nth-child(2){animation-delay:.05s}.of2>*:nth-child(3){animation-delay:.12s}.of2>*:nth-child(4){animation-delay:.2s}.of2>*:nth-child(5){animation-delay:.28s}.of2>*:nth-child(6){animation-delay:.36s}
.of2 h1{font-size:28px}

/* анимированная карта */
.amap{position:relative;border-radius:18px;overflow:hidden;border:1px solid #3B3160;background:#0E0B1F;box-shadow:0 20px 50px -20px rgba(124,77,255,.55)}
.amap img{width:100%;display:block;aspect-ratio:1448/1086;object-fit:cover;filter:saturate(1.1) brightness(.85)}
.amap>svg{position:absolute;inset:0;width:100%;height:100%}
.amap .ln{fill:none;stroke-width:7;stroke-linecap:round;stroke-dasharray:1800;stroke-dashoffset:1800;animation:draw 2.4s ease-out forwards;filter:drop-shadow(0 0 10px currentColor)}
.amap .l1{stroke:#F5C56E;color:#F5C56E;animation-delay:.3s}
.amap .l2{stroke:#B79BFF;color:#B79BFF;animation-delay:.9s}
.amap .l3{stroke:#FF8FB1;color:#FF8FB1;animation-delay:1.5s;stroke-width:5}
@keyframes draw{to{stroke-dashoffset:0}}
.amap .pin circle{fill:rgba(245,197,110,.25);transform-box:fill-box;transform-origin:center;animation:ping 2s ease-out infinite}
.amap .pin .core{fill:#FFE3A8;animation:none;filter:drop-shadow(0 0 8px #F5C56E)}
.amap .p1{transform:translate(520px,470px)}.amap .p2{transform:translate(935px,605px)}.amap .p3{transform:translate(1190px,290px)}
.amap .p2 circle{animation-delay:.6s}.amap .p3 circle{animation-delay:1.2s}
@keyframes ping{0%{transform:scale(.3);opacity:1}100%{transform:scale(1.6);opacity:0}}
.amap-lock{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);display:flex;align-items:center;gap:6px;background:rgba(255,255,255,.95);color:#1E1B33;border-radius:999px;padding:7px 14px;font-size:13px;font-weight:600;white-space:nowrap}
.amap-lock svg{width:15px;height:15px}

/* скрытые названия переливаются */
.shim{background:linear-gradient(90deg,#8A7FB0 0%,#E9DDFF 50%,#8A7FB0 100%);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent!important;animation:shim 2.2s linear infinite}
@keyframes shim{to{background-position:-200% 0}}

/* «что внутри» — сетка иконок */
.incg{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.incg div{background:#221B3A;border:1px solid #3B3160;border-radius:14px;padding:12px 6px;display:grid;justify-items:center;gap:8px;text-align:center}
.incg img.gold{width:48px;height:48px;border-radius:12px}
.incg span{font-size:12.5px;font-weight:600;line-height:1.2}

/* герои одной строкой */
.strip{display:flex;align-items:center;gap:10px;background:#221B3A;border:1px solid #3B3160;border-radius:16px;padding:10px 12px}
.strip img{width:38px;height:38px;border-radius:50%;object-fit:cover;object-position:50% 20%;border:2px solid #17122B;margin-right:-18px}
.strip img:nth-last-of-type(1){margin-right:0}
.strip p{margin:0 0 0 14px;font-size:13.5px;color:#DCD2F6;line-height:1.35}

/* отзывы каруселью */
.of2 .review-list{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -18px;padding:0 18px 4px;scrollbar-width:none}
.of2 .review-list::-webkit-scrollbar{display:none}
.of2 .review-card{flex:0 0 82%;scroll-snap-align:center}
.gar1{display:flex;align-items:center;gap:12px;border:1px solid #3B3160;border-radius:14px;padding:10px 12px;font-size:13.5px;color:#DCD2F6}
.gar1 img.gold{width:40px;height:40px;flex:0 0 40px}
.gar1 a{color:#C9B8FF}
@media (prefers-reduced-motion:reduce){.amap .ln{stroke-dashoffset:0}}

/* лоадер без рывков */
.ld-card{position:relative;display:block;height:88px;padding:0;background:none;border:0}
.ld-slide{position:absolute;inset:0;display:grid;grid-template-columns:64px 1fr;gap:12px;align-items:center;background:#fff;border:1px solid var(--optb);border-radius:16px;padding:8px;opacity:0;transform:translateY(10px);transition:opacity .5s ease,transform .5s ease}
.ld-slide.on{opacity:1;transform:none}
.ld-slide img{width:64px;height:72px;object-fit:cover;object-position:50% 20%;border-radius:10px}
.ld-slide b{display:block;font-size:15px}
.ld-slide span{font-size:13.5px;color:var(--muted)}
.ld-t{height:2.6em;display:flex;align-items:center;justify-content:center}
.ld-t.in{animation:fadein .45s ease}
@keyframes fadein{from{opacity:0}to{opacity:1}}
.ring .pr{will-change:stroke-dashoffset}
.ring span{font-variant-numeric:tabular-nums}

/* ── вау-экраны: тёмные, с анимацией ── */
#screen.dark .hd .logo span{color:#C9B8FF}
#screen.dark .hd .bar{background:#2A2248}
#screen.dark .q{color:#F3EEFF}
#screen.dark .dock{background:linear-gradient(to top,#17122B 70%,rgba(23,18,43,0))}
.safe{display:flex;align-items:center;justify-content:center;gap:6px;margin:0;font-size:13px;color:var(--muted)}
.safe svg{width:16px;height:16px;color:#3DBE7A}

/* шкала точности */
.acc2{flex:1;display:flex;flex-direction:column;align-items:center;gap:18px;padding-top:6px}
.amap2{position:relative;width:100%;max-width:420px;border-radius:18px;padding:14px 10px 12px;background:radial-gradient(120% 90% at 50% 40%,#2A2150 0%,#15102A 70%);box-shadow:0 0 0 1px rgba(255,255,255,.08),0 18px 50px rgba(91,140,255,.18);overflow:hidden}
.amap2 svg{display:block;width:100%;height:auto;overflow:visible}
.am-off{stroke:rgba(255,255,255,.16);stroke-width:1.9;stroke-linecap:round;fill:none}
.am-land{stroke:#8FE3D6;stroke-width:2.1;stroke-linecap:round;fill:none;filter:drop-shadow(0 0 1.5px rgba(143,227,214,.8))}
.am-ln{fill:none;stroke-width:1.6;stroke-linecap:round;opacity:.9}
.am-ln.sun{stroke:#F5C451}.am-ln.jup{stroke:#B69CFF}.am-ln.ven{stroke:#FF8FB8}
.am-pin .dot{fill:#fff}.am-pin .ring{fill:none;stroke:#fff;stroke-width:1.2;transform-box:fill-box;transform-origin:center;animation:ampin 1.8s ease-out infinite}
@keyframes ampin{from{transform:scale(.4);opacity:1}to{transform:scale(1.8);opacity:0}}
.am-scan{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:linear-gradient(transparent,#8FE3D6 30%,#8FE3D6 70%,transparent);box-shadow:0 0 14px 3px rgba(143,227,214,.55);transition:opacity .6s}
.amap2.done .am-scan{opacity:0}
.am-bar{width:100%;max-width:420px;display:flex;align-items:center;gap:12px;margin-top:-6px}
.am-bar span{flex:1;height:8px;border-radius:99px;background:rgba(255,255,255,.1);overflow:hidden}
.am-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#8FE3D6,#9D7BFF)}
.am-n{font:800 26px var(--font);color:#fff;font-variant-numeric:tabular-nums;min-width:62px;text-align:right}
.am-steps{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.am-steps li{font-size:13px;font-weight:600;padding:6px 11px;border-radius:99px;background:rgba(255,255,255,.07);color:rgba(255,255,255,.55)}
.am-steps li.ok{background:rgba(143,227,214,.16);color:#8FE3D6}
.say{display:grid;justify-items:center;gap:8px;max-width:330px}
.say p{margin:0;position:relative;background:#F4EEE2;color:#1E1B33;border-radius:18px;padding:12px 16px;font-size:15px;font-weight:600;text-align:center;line-height:1.4}
.say p::after{content:"";position:absolute;left:50%;bottom:-7px;width:14px;height:14px;margin-left:-7px;background:#F4EEE2;transform:rotate(45deg)}
.say img{width:40px;height:40px;border-radius:50%;object-fit:cover;object-position:50% 20%;border:2px solid #fff}

/* колесо карты */
.chart2{flex:1;display:flex;flex-direction:column;align-items:center;gap:14px}
.wheel{width:min(290px,78vw);aspect-ratio:1;border-radius:50%;box-shadow:0 0 0 10px rgba(143,227,214,.08),0 0 70px 10px rgba(143,227,214,.22);animation:glow 3s ease-in-out infinite alternate}
@keyframes glow{to{box-shadow:0 0 0 10px rgba(157,123,255,.1),0 0 90px 18px rgba(157,123,255,.3)}}
.wheel svg{width:100%;height:100%;overflow:visible}
.rim{fill:#0E0B1F;stroke:#6F63A0;stroke-width:1}
.rim.in{fill:#130F28}
.tick{stroke:#6F63A0;stroke-width:1}
.zg{fill:#C9B8FF;font-size:13px;text-anchor:middle;dominant-baseline:central}
.wheel .axis{stroke:#F5C451;stroke-width:1.4;opacity:.85}
.wheel .axl{fill:#F5C451;font-size:9px;font-weight:700;text-anchor:middle;dominant-baseline:central;letter-spacing:.04em}
.pl{opacity:0;animation:pop .45s ease-out forwards}
.pl circle{fill:#F4EEE2}
.pl text{fill:#1E1B33;font-size:13px;text-anchor:middle;dominant-baseline:central}
.stem{stroke:#8C82AD;stroke-width:.8}
@keyframes pop{from{opacity:0;transform:scale(.4)}to{opacity:1;transform:none}}
.pl{transform-box:fill-box;transform-origin:center}
.asp{stroke-width:1.4;stroke-dasharray:300;stroke-dashoffset:300;animation:draw 1s ease-out forwards}
.asp.soft{stroke:#8FE3D6}.asp.hard{stroke:#FF7A9A}.asp.conj{stroke:#F5C56E}
.late{opacity:0;animation:up .6s ease-out 2.7s forwards;display:grid;justify-items:center;gap:14px;width:100%}
.dock.late{display:block;width:auto}
.big3{display:flex;justify-content:center;gap:22px;color:#F3EEFF}
.big3 div{display:grid;justify-items:center;gap:2px}
.big3 i{font-style:normal;font-size:24px;color:#8FE3D6}
.big3 b{font-size:15px}
.big3 small{font-size:11.5px;color:#B9AFD6}

/* загрузка: три полосы */
.ld2{flex:1;display:flex;flex-direction:column;gap:22px;justify-content:center;padding-bottom:30px}
.bars{display:grid;gap:18px}
.b-top{display:flex;justify-content:space-between;font-size:14.5px;font-weight:600;margin-bottom:8px}
.b-top b{color:var(--acc);font-variant-numeric:tabular-nums}
.b-track{height:8px;border-radius:4px;background:#E7E0F8;overflow:hidden}
.b-track i{display:block;height:100%;background:linear-gradient(90deg,#7A3EF0,#A56BFF);transform-origin:left;transform:scaleX(0);border-radius:4px}
.spark{font-size:40px;text-align:center}

/* экран с линиями: короткие строки */
.rows{display:grid;gap:8px}
.row1{display:grid;grid-template-columns:40px 1fr;gap:10px;align-items:center;background:#fff;border:1px solid var(--optb);border-radius:14px;padding:8px 12px 8px 8px}
.row1 img{width:40px;height:40px;border-radius:50%;object-fit:cover}
.row1 p{margin:0;font-size:14px;line-height:1.35;color:var(--ink)}

/* оффер: звёздные города, планетные линии, доверие */
.stars{display:grid;gap:8px}
.star-row{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;background:#221B3A;border:1px solid #3B3160;border-radius:14px;padding:10px 12px}
.star-row .av{display:flex}
.star-row .av img{width:32px;height:32px;border-radius:50%;object-fit:cover;object-position:50% 20%;border:2px solid #17122B;margin-right:-10px}
.star-row .av img:last-child{margin-right:0}
.star-row b{display:block;font-size:15px}
.star-row small{display:block;font-size:12px;color:#AFA4CF}
.star-row .d{text-align:right;font-weight:700;font-size:13.5px;color:#FFD9B5}
.plc{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -18px;padding:0 18px 4px;scrollbar-width:none}
.plc::-webkit-scrollbar{display:none}
.pc{position:relative;flex:0 0 62%;scroll-snap-align:center;background:#1E1740;border:1px solid #3B3160;border-radius:18px;overflow:hidden;padding:0 14px 14px;display:grid;gap:4px}
.pc img{width:calc(100% + 28px);margin:0 -14px 4px;aspect-ratio:1.4;object-fit:cover}
.pc .lk{position:absolute;top:10px;right:10px;background:rgba(0,0,0,.35);border-radius:50%;width:30px;height:30px;display:grid;place-items:center;color:#fff}
.pc .lk svg{width:16px;height:16px}
.pc b{font-size:16px}
.pc em{font-style:normal;font-size:12px;letter-spacing:.04em;color:#F5C56E;font-weight:600}
.pc p{margin:0;font-size:13px;color:#C4B9E0;line-height:1.35}
.trust{display:grid;gap:10px}
.trust div{display:grid;grid-template-columns:40px 1fr;gap:10px;align-items:center}
.trust img.gold{width:40px;height:40px}
.trust b{display:block;font-size:14.5px}
.trust span{font-size:13px;color:#C4B9E0;line-height:1.35}

/* бонус Star Twin Pack (выключен флагом BONUS_STAR_TWINS в app.js) */
.bonus{position:relative;border-radius:18px;padding:18px 16px 16px;background:linear-gradient(135deg,#3A2466,#1E1740);border:1px solid #F5C56E;display:grid;gap:8px;text-align:center;box-shadow:0 0 30px -8px rgba(245,197,110,.45)}
.bonus .bn-tag{justify-self:center;background:#F5C56E;color:#1E1B33;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.bonus h2{margin:0;font-size:20px}
.bonus .av{display:flex;justify-content:center}
.bonus .av img{width:36px;height:36px;border-radius:50%;object-fit:cover;object-position:50% 20%;border:2px solid #1E1740;margin-right:-8px}
.bonus p{margin:0;font-size:14px;color:#DCD2F6;line-height:1.4}
.bonus small{font-size:12px;color:#F5C56E}

/* варианты-карточки 2×2 (вопрос «Which sounds most like you?») */
.opts.grid{grid-template-columns:1fr 1fr;gap:10px}
.opts.grid .opt{flex-direction:column;align-items:stretch;gap:8px;padding:0 0 12px;overflow:hidden;min-height:0;text-align:center}
.opts.grid .opt img{width:100%;height:auto;aspect-ratio:1/1;border-radius:0;flex:none;object-position:50% 38%}
.opts.grid .opt .ot{padding:0 10px;font-size:14.5px;font-weight:600;line-height:1.25}
.opts.grid .opt .ot small{font-weight:400;margin-top:4px}
.opts.grid .opt:last-child{grid-column:1/-1;padding:14px;min-height:0}
.opts.grid .opt:last-child .ot{font-weight:500;color:var(--muted)}

/* карта оффера: оживают точки самой картинки */
.amap-img{overflow:hidden}
.amap-img img{animation:kb 14s ease-in-out infinite alternate}
@keyframes kb{from{transform:scale(1)}to{transform:scale(1.08) translate(-1.5%,1%)}}
.sweep{position:absolute;inset:0;background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.14) 50%,transparent 65%);background-size:250% 100%;animation:sweep 4.5s ease-in-out infinite;pointer-events:none}
@keyframes sweep{from{background-position:120% 0}to{background-position:-120% 0}}
.ping{position:absolute;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;background:#FFE3A8;box-shadow:0 0 12px 4px rgba(245,197,110,.7)}
.ping::after{content:"";position:absolute;inset:-10px;border-radius:50%;border:2px solid currentColor;animation:ring 2s ease-out infinite;animation-delay:inherit}
.ping.g{color:#F5C56E}.ping.r{color:#FF7A9A;background:#FFD0DC}.ping.b{color:#7FB2FF;background:#D6E6FF}.ping.w{color:#C9B8FF;background:#EDE6FF}
@keyframes ring{0%{transform:scale(.4);opacity:1}100%{transform:scale(2.2);opacity:0}}

/* герои на оплате */
.celebs2{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -18px;padding:0 18px 4px;scrollbar-width:none}
.celebs2::-webkit-scrollbar{display:none}
.cc{flex:0 0 46%;scroll-snap-align:start;background:#221B3A;border:1px solid #3B3160;border-radius:16px;overflow:hidden;display:grid;gap:2px;padding-bottom:10px}
.cc img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:50% 15%;margin-bottom:6px}
.cc b,.cc span,.cc em{padding:0 10px}
.cc b{font-size:14px}
.cc span{font-size:12px;color:#C4B9E0}
.cc em{font-style:normal;font-size:12px;font-weight:700;color:#F5C56E}

/* строка с цифрами компании */
.proof{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.proof span{background:#221B3A;border:1px solid #3B3160;border-radius:999px;padding:5px 11px;font-size:12.5px;color:#DCD2F6}
.proof b{color:#FFD9B5}
.proof.lite span{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.14)}

/* первый экран: наезд на фото, текст появляется по очереди, блик на выделении */
.wel .ph img{animation:kb 16s ease-in-out infinite alternate}
.wel .ph{overflow:hidden}
.wel .tx>*{animation:up .6s cubic-bezier(.2,.8,.2,1) both}
.wel .tx>*:nth-child(1){animation-delay:.1s}.wel .tx>*:nth-child(2){animation-delay:.2s}.wel .tx>*:nth-child(3){animation-delay:.3s}.wel .tx>*:nth-child(4){animation-delay:.4s}.wel .tx>*:nth-child(5){animation-delay:.5s}.wel .tx>*:nth-child(6){animation-delay:.6s}
.wel h1 em{background:linear-gradient(100deg,#2448F2 40%,#6D8BFF 50%,#2448F2 60%);background-size:300% 100%;animation:hl 3.5s ease-in-out 1s infinite}
@keyframes hl{from{background-position:100% 0}to{background-position:0 0}}
.wel .gs button{animation:pulse 2.2s ease-in-out 1.5s infinite}

/* ── невысокие экраны (iPhone SE/8, Android 360×640…): экран должен влезать без прокрутки.
   Картинки ограничены по высоте экрана, отступы и списки — плотнее. */
.wel .ph img{max-height:46vh;max-height:46dvh}
.match .hero-img img{height:29vh;height:29dvh}
.lmap{width:100%;max-width:calc(32dvh * 1448 / 1086);margin-left:auto;margin-right:auto}
.wheel{width:min(290px,78vw,40dvh)}
.opts.grid .opt img{max-height:21dvh}
@media (max-height:760px){
  .content{gap:10px}
  .q{font-size:24px}
  .opt{padding:10px 14px;min-height:48px;font-size:15px}
  .opts{gap:8px}
  .opt img{height:52px}
  .why li:nth-child(3){display:none}
  .rows{gap:6px}
  .row1{padding:8px 10px}
  .big3{margin-top:4px}
  .chart2{gap:10px}
}
@media (max-height:680px){
  .match .hero-img img{height:28dvh}
  .wheel{width:min(290px,78vw,36dvh)}
  .wel .ph img{max-height:40dvh}
  .opts.grid .opt img{max-height:18dvh}
}
@media (max-height:760px){
  .opts.many{grid-template-columns:1fr 1fr}
  .opts.many .opt{gap:8px;padding:10px;min-height:46px;font-size:14.5px}
  .rows .row1:nth-child(n+4){display:none}
  .row1 p{font-size:14px}
}
@media (max-height:700px){
  .wheel{width:min(290px,78vw,33dvh)}
  .say p{font-size:14px;padding:10px 14px}
  .say img{width:34px;height:34px}
  .lmap{max-width:calc(26dvh * 1448 / 1086)}
  .match .hero-img img{height:24dvh}
  .q{font-size:22px}
  .di img{width:150px}
}
@media (max-height:700px){
  .chart2 .say img{display:none}
  .chart2 .say p::after{display:none}
  .match .hero-img img{height:22dvh}
}
@media (max-height:650px){
  .wel .ph img{max-height:34dvh}
  .wheel{width:min(290px,78vw,30dvh)}
  .match .hero-img img{height:19dvh}
  .lmap{max-width:calc(20dvh * 1448 / 1086)}
  .content{gap:8px}
}
@media (min-height:701px) and (max-height:760px) and (max-width:370px){
  .wel .ph img{max-height:40dvh}
  .opts.grid .opt img{max-height:19dvh}
  .wheel{width:min(290px,78vw,34dvh)}
  .lmap{max-width:calc(28dvh * 1448 / 1086)}
}
.am-lock{position:absolute;top:50%;max-width:30%;transform:translate(-50%,-50%);display:grid;justify-items:center;gap:4px;color:rgba(255,255,255,.6);text-align:center;opacity:0;transition:opacity .6s}
.am-lock svg{width:18px;height:18px}
.am-lock em{font-style:normal;font-size:11px;font-weight:600;line-height:1.25}
.amap2.done .am-lock{opacity:1}
.am-steps li i{font-style:normal}
.am-steps li.pop{animation:steppop .45s ease-out}
@keyframes steppop{0%{transform:scale(1)}40%{transform:scale(1.12)}100%{transform:scale(1)}}
.vs-goals{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}
.vs-goals span{font-size:12px;color:#CFC4F0;background:rgba(255,255,255,.07);border-radius:99px;padding:4px 10px;text-transform:capitalize}
.vs-goals b{color:#FFD9B5;font-weight:700;text-transform:none}
.am-reg{stroke:#F5C451;stroke-width:2.3;stroke-linecap:round;fill:none;filter:drop-shadow(0 0 2px rgba(245,196,81,.9))}
/* Клавиатура открыта на экране почты: кнопка не липнет к низу и не закрывает подсказки
   (@gmail.com …) — идёт сразу за ними, текст согласия — под кнопкой. */
html.mgp-kb .mgp-email .dock{position:static;order:2;margin:2px -20px 0;padding-bottom:10px;background:none}
html.mgp-kb .mgp-email .legal{order:3}
@media (max-height:760px){.hero-img img{height:40dvh}}
@media (max-height:680px){.hero-img img{height:35dvh}}
@media (max-height:650px){.hero-img img{height:31dvh}}
/* Колесо зодиака на экране даты: поворачивается, пока знак человека не встанет наверх. */
.zod .zr{position:absolute;inset:0;transition:transform 1.1s cubic-bezier(.3,1.35,.4,1)}
.zod .zs{transition:transform 1.1s cubic-bezier(.3,1.35,.4,1),background .3s,color .3s,box-shadow .3s}
.zod .zc{position:absolute;inset:0;display:grid;place-items:center;font-size:13px;font-weight:700;color:var(--acc);letter-spacing:.02em;z-index:1}
.zod .zc.pop{animation:zcpop .5s ease}
@keyframes zcpop{from{opacity:0;transform:scale(.7)}to{opacity:1;transform:none}}
/* Время рождения: «знаю / не знаю», часы появляются только после «знаю». */
.tob-ch{display:grid;gap:10px}
.tob-pick{display:grid;gap:8px;animation:fadein .35s ease}
.tob-hint{margin:0;text-align:center;font-size:13.5px;color:var(--muted)}
.tu{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;padding-bottom:20px}
.tu-ic{width:84px;height:84px;border-radius:50%;display:grid;place-items:center;font-size:40px;background:var(--optsel);box-shadow:0 0 0 10px rgba(124,77,255,.06);animation:zcpop .6s ease}
.tu .sub{max-width:320px;margin:0}
.tu-l{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:10px;text-align:left;width:100%;max-width:340px}
.tu-l li{display:grid;grid-template-columns:24px 1fr;gap:10px;align-items:center;background:#fff;border:1px solid var(--optb);border-radius:14px;padding:12px 14px;font-size:15px}
.tu-l svg{width:22px;height:22px;color:var(--acc)}
/* Загрузка: карта с линиями человека сверху, этапы, карточка героя на всю ширину. */
.ld2{justify-content:flex-start;gap:16px;padding-top:4px}
.ld2 .q{min-height:1.2em}
.ld-map{max-width:none;padding:10px 8px}
.ldl{fill:none;stroke-width:1.5;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;opacity:.95}
.ldl.sun{stroke:#F5C451}.ldl.jup{stroke:#B69CFF}.ldl.ven{stroke:#FF8FB8}
.ld2 .ld-card{max-width:none;width:100%}
.bar2 b svg{width:18px;height:18px;color:#2BB673;vertical-align:-3px}
.ld-ready{animation:fadein .5s ease}
.ld-ready p{margin:0;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:700;color:var(--acc);background:var(--optsel);border-radius:14px;padding:12px}
.ld-ready svg{width:20px;height:20px}
.ld2.ready .q{animation:zcpop .5s ease}
.ld2.ready .ld-map{box-shadow:0 0 0 1px rgba(255,255,255,.08),0 18px 50px rgba(124,77,255,.35)}
@media (max-height:700px){.ld2{gap:10px}.ld-map{padding:6px}}
.match .hero-img .cap{font-size:15px;bottom:10px}
@media (max-height:700px){.tu{gap:10px;padding-bottom:6px}.tu-ic{width:64px;height:64px;font-size:30px;box-shadow:none}.tu-l{gap:6px}.tu-l li{padding:9px 12px;font-size:14px}}
@media (max-height:650px){.tu-ic{display:none}}
/* Картинка героя занимает всё свободное место экрана (перебивка с целью, «чей путь»):
   высота — сколько осталось между заголовком и кнопкой, ширина — по пропорции. */
.hero-img.fill{flex:1 1 0;min-height:180px;width:100%;display:flex;justify-content:center}
.hero-img.fill::after{display:none}
.hero-img.fill .hi{position:relative;display:block;height:100%;max-width:100%}
.hero-img.fill .hi::after{content:"";position:absolute;inset:55% 0 0 0;background:linear-gradient(to top,rgba(0,0,0,.45),transparent);border-radius:0 0 18px 18px;pointer-events:none}
.hero-img.fill img,.match .hero-img.fill img{height:100%;width:auto;max-width:100%;aspect-ratio:4/5;max-height:none}
.hero-img.fill.sq img,.match .hero-img.fill.sq img{aspect-ratio:1/1;object-position:50% 40%}
.match{flex:1;min-height:0}
.match .hero-img.fill .cap{font-size:19px}
.mchips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.mchips span{background:#fff;border:1px solid var(--optb);border-radius:99px;padding:8px 12px;font-size:14px;font-weight:600}
.content > .info-t{flex:0 0 auto}
/* Загрузка: шкала точности под картой и этапы списком (крутится → галочка). */
.ld-acc{margin-top:-4px;max-width:none}
.ld-acc .am-n{color:var(--ink);font-size:22px}
.ld-acc span{background:#E7E0F8}
.ld-apx{display:block;text-align:center;font-size:11px;color:rgba(255,255,255,.55);margin-top:4px}
.stgs{display:grid;gap:10px}
.stg{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:600;color:var(--muted);transition:color .3s}
.stg .sp{width:20px;height:20px;border-radius:50%;border:2px solid #E7E0F8;flex:0 0 20px;position:relative}
.stg.act{color:var(--ink)}
.stg.act .sp{border-color:#E7E0F8;border-top-color:var(--acc);animation:spin .8s linear infinite}
.stg.done{color:var(--ink)}
.stg.done .sp{border:0;background:#2BB673}
.stg.done .sp::after{content:"";position:absolute;left:7px;top:4px;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
@keyframes spin{to{transform:rotate(360deg)}}
.tu-img{width:min(240px,62vw,34dvh);aspect-ratio:1;object-fit:cover;border-radius:28px;box-shadow:0 18px 40px rgba(124,77,255,.25);animation:zcpop .6s ease}
.mchips span{display:inline-flex;align-items:center;gap:7px}
.mchips i{font-style:normal;font-size:16px;line-height:1}
/* Закрытые места на оплате: размытый город с замком вместо «••••». */
.vs-row.lockd b{letter-spacing:0;color:#F3EEFF}
.vs-row .i.city{position:relative;overflow:hidden;border-radius:10px}
.vs-row .i.city img{width:44px;height:44px;object-fit:cover;display:block;transform:scale(1.15)}
.vs-row .i.city i{position:absolute;inset:0;display:grid;place-items:center;background:rgba(23,18,43,.35)}
.vs-row .i.city svg{width:18px;height:18px;color:#fff}
.vs-row .d.hid{font-size:11.5px;font-weight:600;color:#AFA4CF;line-height:1.3}
.offer-price.from{font-size:28px}
.tp-terms{margin:8px 0 0;font-size:11px;line-height:1.45;color:var(--muted);text-align:center}
.tp-terms a{color:inherit}
/* Логотип картинкой вместо набранного «Magnora». */
.hd .logo .lgi{display:flex;justify-content:center}
.hd .logo .lgi img{height:35px;width:auto;display:block}
.hd .logo .lg-d{display:none!important}
#screen.dark .hd .logo .lg-l{display:none!important}
#screen.dark .hd .logo .lg-d{display:block!important}
.wel .ph .lg img{height:38px;width:auto;display:inline-block;filter:drop-shadow(0 2px 8px rgba(0,0,0,.5))}

/* Доска героев: фото не режем по высоте — вся доска уменьшается под экран (в Telegram и
   Instagram на айфоне видимая высота меньше, раньше там от фото оставалась полоса). */
.board{width:min(100%, calc((100dvh - 300px) / 1.22));margin-left:auto;margin-right:auto}
.pol img{aspect-ratio:5/4;object-position:50% 38%}
/* Свечение колеса: анимированная размытая тень в WebKit (браузеры Telegram/Instagram)
   обрезается квадратом — делаем мягким круглым градиентом без размытия. */
.wheel{position:relative;isolation:isolate;box-shadow:0 0 0 10px rgba(143,227,214,.08);animation:none}
.wheel::before{content:"";position:absolute;inset:-22%;border-radius:50%;z-index:-1;pointer-events:none;
  background:radial-gradient(circle, rgba(157,123,255,.38) 0%, rgba(143,227,214,.14) 42%, rgba(23,18,43,0) 70%);animation:wglow 3s ease-in-out infinite alternate}
@keyframes wglow{from{opacity:.55}to{opacity:1}}
/* Совсем низкие окна (браузер Telegram, ~580–620 px): доска и перебивки плотнее. */
@media (max-height:620px){
  .board{width:min(100%, calc((100dvh - 280px) / 1.5));padding:10px;gap:10px 10px}
  .pol b{font-size:12px}.pol span{font-size:10px}
  .amap2{padding:8px 6px}
  .acc2{gap:10px}
  .acc2 .say img{display:none}
  .acc2 .say p::after{display:none}
  .acc2 .say p{font-size:13px;padding:8px 12px}
  .am-steps li{padding:4px 9px;font-size:12px}
}
@media (max-height:600px){
  .board{width:min(100%, calc((100dvh - 300px) / 1.5))}
  .opts.grid .opt img{max-height:15dvh}
  .opts.grid{gap:8px}
}
/* Колесо карты, редизайн: золотые ободки, сектора, бусины планет. */
.wheel{box-shadow:none}
.wheel .rim{fill:none;stroke:url(#wgold);stroke-width:1;opacity:.75}
.wheel .rim.in{fill:none;opacity:.5}
.wheel .rimo{fill:none;stroke:#F6DCA0;stroke-width:.6;opacity:.35}
.wheel .seg{fill:rgba(255,255,255,.025)}
.wheel .seg.alt{fill:rgba(201,160,255,.07)}
.wheel .tick{stroke:#C9A0FF;stroke-width:.7;opacity:.55}
.wheel .dg{stroke:#F6DCA0;stroke-width:.6;opacity:.5}
.wheel .zg{fill:#F2D394;font-size:14px}
.wheel .st{fill:#fff;opacity:.55}
.wheel .ctr{fill:#F6DCA0;font-size:12px;text-anchor:middle;dominant-baseline:central;opacity:.85}
.wheel .axis{stroke:#F6DCA0;stroke-width:1;opacity:.7;stroke-dasharray:3 2}
.wheel .axl{fill:#F6DCA0;font-size:8px;letter-spacing:.12em}
.wheel .pl .bead{fill:url(#wbead);stroke:#F6DCA0;stroke-width:.8}
.wheel .pl text{fill:#fff;font-size:12px}
.wheel .pl .deg{fill:#F6DCA0}
.wheel .stem{stroke:#B9A9E6;stroke-width:.6;opacity:.7}
.wheel .asp{stroke-width:1.1;stroke-linecap:round;opacity:.9}
.wheel .asp.soft{stroke:#7FE0D2}.wheel .asp.hard{stroke:#FF8FB8}.wheel .asp.conj{stroke:#F6DCA0}
/* Колесо крупнее: под ним было свободное место. */
.wheel{width:min(310px,84vw,44dvh)}
@media (max-height:760px){.wheel{width:min(310px,84vw,36dvh)}}
@media (max-height:760px) and (max-width:370px){.wheel{width:min(310px,84vw,31dvh)}}
@media (max-height:700px){.wheel{width:min(310px,84vw,35dvh)}}
@media (max-height:650px){.wheel{width:min(310px,84vw,32dvh)}}
@media (max-height:600px){.wheel{width:min(310px,84vw,27dvh)}}
.big3 i{color:#F2D394}
@media (max-height:600px){.chart2{gap:6px}.big3 small{display:none}}
/* Логотип на первом экране: общее правило «.wel .ph img» (большое фото героев — квадрат,
   обрезка, медленный зум) цепляло и его — оставался кусок «agn». */
.wel .ph .lg img{width:auto!important;height:38px!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;background:none!important;animation:none!important;display:inline-block}
