/* Мини-игра /try: чёрная сцена как холст редактора, ролик с подписями снизу, белая панель только на регистрации. Макет внутри собран в единицах контейнера (cqw). */
.tp{min-height:100vh;background:var(--ink);padding:8px;display:flex;flex-direction:column;gap:8px}
.tp-top{display:flex;align-items:center;gap:16px;padding:6px 10px 2px;color:#fff}
/* логотип из бренд-кита (logo-dark.svg), сцена тёмная */
.tp-logo{display:inline-flex;line-height:0}
.tp-logo img{height:20px;width:auto}
.tp-top .btn.t{color:var(--sidetx)}
.tp-top .btn.t:hover{color:#fff}
.tp-body{flex:1;display:grid;grid-template-columns:1fr minmax(360px,440px);gap:8px;min-height:0}

/* сцена */
.tp-stage{position:relative;border-radius:22px;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:40px 24px;
  background:rgba(255,255,255,.04) radial-gradient(rgba(255,255,255,.07) 1px,transparent 1.2px) 0 0/22px 22px}
.tp-frame{flex:none;width:min(520px,calc(100vw - 760px),calc((100vh - 190px)*.8));transition:opacity .4s,transform .5s var(--ease)}
.tp-frame.away{opacity:0;transform:scale(.92);pointer-events:none;position:absolute}
.tp-fname{display:flex;justify-content:space-between;color:rgba(255,255,255,.5);font:500 12px Onest;margin-bottom:8px}
.tp-fname .mono{font-size:11px}
.tp-work{position:relative}
.tp-canvas{position:relative;box-shadow:0 30px 70px -24px rgba(0,0,0,.7)}

/* рамка выделения и курсор дизайнера */
.tp-sel{position:absolute;z-index:4;border:1.5px solid var(--lime);pointer-events:none;opacity:0;transition:left .38s var(--ease),top .38s var(--ease),width .38s var(--ease),height .38s var(--ease),opacity .2s}
.tp-sel:not([style]){visibility:hidden}
.tp-sel span{position:absolute;left:-1.5px;bottom:100%;margin-bottom:4px;background:var(--lime);color:var(--ink);font:600 11px Onest;padding:2px 7px;border-radius:4px;white-space:nowrap}
.tp-sel.inside span{bottom:auto;top:4px;left:4px;margin:0}
.tp-sel i{position:absolute;width:7px;height:7px;background:var(--ink);border:1.5px solid var(--lime)}
.tp-sel i:nth-of-type(1){left:-4px;top:-4px}.tp-sel i:nth-of-type(2){right:-4px;top:-4px}
.tp-sel i:nth-of-type(3){left:-4px;bottom:-4px}.tp-sel i:nth-of-type(4){right:-4px;bottom:-4px}
.tp-cur{position:absolute;left:60%;top:60%;z-index:5;display:flex;flex-direction:column;align-items:flex-start;pointer-events:none;opacity:0;transition:left .42s var(--ease),top .42s var(--ease),opacity .25s}
.tp-cur svg{width:24px;height:24px;filter:drop-shadow(0 2px 3px rgba(0,0,0,.3))}
.tp-cur span{background:var(--lime);color:var(--ink);font:600 11.5px Onest;padding:3px 9px;border-radius:99px;margin:-3px 0 0 16px;white-space:nowrap}
.tp.rec .tp-sel,.tp.rec .tp-cur{opacity:1}

/* панель слоёв как в редакторе */
.tp-layers{position:absolute;right:100%;top:22px;margin-right:24px;width:176px;max-height:calc(100% - 22px);overflow:hidden;background:rgba(255,255,255,.06);border-radius:14px;padding:10px 6px;color:rgba(255,255,255,.82);font:500 12.5px Onest;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);transition:opacity .4s}
.tp-layers.away{opacity:0}
.tp-lhd{font:600 11px Onest;color:rgba(255,255,255,.4);text-transform:uppercase;letter-spacing:.08em;padding:2px 8px 8px}
.tp-list{display:flex;flex-direction:column;gap:1px;min-height:120px}
.tp-lrow{display:flex;align-items:center;gap:8px;padding:4px 8px;white-space:nowrap;border-radius:7px;animation:tpRow .3s var(--ease)}
.tp-lrow.now{background:var(--lime);color:var(--ink)}
.tp-lrow b{width:14px;height:14px;flex:none;display:grid;place-items:center;font:700 10px Onest;opacity:.7}
.tp-lrow b.im{border:1.3px solid currentColor;border-radius:3px;width:12px;height:11px}
@keyframes tpRow{from{opacity:0;translate:0 -6px}}

/* панель шагов */
.tp-panel{position:relative;background:#fff;border-radius:22px;padding:56px 40px 40px;display:flex;flex-direction:column;justify-content:center;gap:16px}
.tp-panel h1{font:800 30px/1.05 Unbounded;letter-spacing:-.02em}
.tp-panel .sub{color:var(--ink2);font-size:15px}
.tp-panel>.btn.lg{align-self:flex-start}
.tp-panel form{display:flex;flex-direction:column;gap:14px}
.tp-panel form .btn{align-self:flex-start;margin-top:4px}
.tp-panel .alt{font-size:13.5px;color:var(--ink2)}
.tp-panel .alt a{color:var(--ink);font-weight:600;border-bottom:2px solid var(--pink)}
.tp-kick{font:500 12px Mono;letter-spacing:.02em;color:var(--ink2);text-transform:lowercase}
.tp-panel>.btn.lg{margin-top:6px}
.tp-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.tp-prog{height:4px;border-radius:4px;background:var(--line2);overflow:hidden}
.tp-prog i{display:block;height:100%;width:0;background:var(--ink);transition:width .4s var(--ease)}
.tp-skip{align-self:flex-start;color:var(--ink2)}
.tp-msg{align-self:flex-start;max-width:100%;background:var(--paper);border-radius:18px 18px 18px 6px;padding:12px 16px;font-size:15px;line-height:1.45}
.tp-msg small{display:block;font:600 12px Onest;color:var(--ink2);margin-bottom:3px}
@keyframes tpPulse{50%{opacity:.35}}
.tp-status{font:500 15px Onest;color:var(--ink);display:flex;align-items:center;gap:10px}
.tp-status::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--pink);animation:tpPulse 1s ease-in-out infinite}

/* телефон с согласованием */
.tp-phone{width:min(270px,70%);aspect-ratio:9/19;background:#000;border-radius:38px;padding:10px;box-shadow:0 0 0 2px #2b2a31,0 30px 60px -20px rgba(0,0,0,.6);position:relative;animation:tpUp .55s var(--ease)}
@keyframes tpUp{from{opacity:0;transform:translateY(30px) scale(.96)}}
.ph-notch{position:absolute;left:50%;top:16px;width:70px;height:20px;margin-left:-35px;background:#000;border-radius:20px;z-index:2}
.ph-scr{height:100%;background:#fff;border-radius:29px;overflow:hidden;display:flex;flex-direction:column;gap:10px;padding:44px 14px 14px}
.ph-hd b{display:block;font:800 12px Unbounded;letter-spacing:-.02em}
.ph-hd small{color:var(--ink2);font-size:11px}
.ph-scr .hp{border-radius:6px;flex:none}
.ph-btns{margin-top:auto;display:grid;grid-template-columns:1fr 1fr;gap:6px}
.ph-btns>*{height:36px;border-radius:10px;display:grid;place-items:center;font:600 11.5px Onest}
.ph-no{box-shadow:inset 0 0 0 1px var(--line2)}
.ph-ok{background:var(--ink);color:#fff;position:relative;transition:transform .15s}
.ph-ok.tap{transform:scale(.94)}
.ph-ok.tap::after{content:"";position:absolute;left:50%;top:50%;width:14px;height:14px;margin:-7px;border-radius:50%;background:rgba(255,61,127,.55);animation:tpTap .5s ease-out forwards}
@keyframes tpTap{to{transform:scale(6);opacity:0}}
.ph-done{margin:auto;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;animation:tpUp .4s var(--ease)}
.ph-check{width:64px;height:64px;border-radius:50%;background:var(--ok);color:#fff;display:grid;place-items:center;margin-bottom:6px}
.ph-check .ic{width:30px;height:30px;stroke-width:2.4}
.ph-done b{font:800 17px Unbounded;letter-spacing:-.02em}
.ph-done small{color:var(--ink2);font-size:12px}
.cf{position:absolute;top:-12px;width:9px;height:14px;border-radius:2px;z-index:9;pointer-events:none;animation:tpFall linear forwards}
@keyframes tpFall{to{top:105%;translate:var(--dx) 0;rotate:540deg}}

@media (max-width:1180px){.tp-layers{display:none}}

/* ролик: сцена на весь экран, подписи снизу по центру, как приветствие нового айфона. Белая панель только на регистрации */
.tp-sp{flex:1}
.tp.film{--ch:150px}
.tp.film .tp-body{grid-template-columns:1fr}
.tp.film:not([data-step="2"]) .tp-panel{display:none}
.tp.film[data-step="2"] .tp-stage{display:none}
.tp.film[data-step="2"] .tp-panel{margin:auto;width:min(520px,100%);padding:44px 40px 36px;justify-content:flex-start}
.tp.film .tp-stage{padding:28px 24px calc(var(--ch) + 44px)}
.tp.film .tp-frame{width:min(540px,calc(100vw - 560px),calc((100vh - 170px - var(--ch))*.8))}
.tp-work{transition:opacity 1.2s ease,scale 1.4s var(--ease)}
/* «Привет» на пустом экране: холста нет, подпись в центре; в play холст проявляется, подпись уже внизу */
.tp[data-phase=hello] .tp-work{opacity:0;scale:.94}
.tp.film[data-phase=hello] .tp-cap{bottom:calc(50% - var(--ch) / 2);align-content:center}
.tp.film[data-phase=hello] .cap.hello b{font-size:128px}
.tp.film[data-phase=hello] .cap b{font-size:64px}
.tp.film[data-phase=hello] .cap>span{font-size:20px}
/* мягкое тёплое свечение за приветствием */
.tp-cap::before{content:'';position:absolute;left:50%;top:50%;width:min(760px,120vw);aspect-ratio:2;translate:-50% -50%;background:radial-gradient(closest-side,rgba(255,61,127,.14),rgba(255,154,90,.05) 55%,transparent);opacity:0;transition:opacity 1.4s ease;pointer-events:none}
.tp.film[data-phase=hello] .tp-cap::before{opacity:1}
.cap{position:relative}
.tp-ghost{position:absolute;left:0;top:0;width:100%;visibility:hidden;pointer-events:none}

.tp-cap{position:absolute;left:0;right:0;bottom:30px;height:var(--ch);display:grid;justify-items:center;align-content:start;padding:0 24px;text-align:center;color:#fff;pointer-events:none}
.cap{grid-area:1/1;display:flex;flex-direction:column;align-items:center;gap:10px;opacity:0;filter:blur(14px);translate:0 18px;transition:opacity .8s ease,filter .8s ease,translate 1s cubic-bezier(.2,.8,.2,1)}
.cap.in{opacity:1;filter:blur(0);translate:0 0;pointer-events:auto}
.cap.out{opacity:0;filter:blur(10px);translate:0 -14px;transition-duration:.5s}
.cap b{font:600 40px/1.1 Onest;letter-spacing:-.035em}
.cap em{font-style:normal;white-space:nowrap;color:var(--lime)}
.cap>span{font:400 17px/1.4 Onest;color:rgba(255,255,255,.58);max-width:560px}
/* «Привет» пишется от руки: маска уезжает слева направо */
.cap.hello{filter:none;translate:none}
.cap.hello b{font:700 104px/1 Caveat;letter-spacing:0;padding:0 .25em;
  -webkit-mask:linear-gradient(90deg,#000 40%,transparent 60%) 100% 0/250% 100% no-repeat;mask:linear-gradient(90deg,#000 40%,transparent 60%) 100% 0/250% 100% no-repeat}
.cap.hello.in b{animation:capWrite 1.5s cubic-bezier(.45,0,.25,1) forwards}
@keyframes capWrite{to{-webkit-mask-position:0 0;mask-position:0 0}}
.cap-acts{display:flex;align-items:center;gap:20px;margin-top:10px}
.cap-link{background:none;border:0;cursor:pointer;font:500 14px Onest;color:rgba(255,255,255,.6);border-bottom:1px solid rgba(255,255,255,.25);padding:0 0 2px}
.cap-link:hover{color:#fff}
.tp-corner{position:absolute;right:20px;top:16px;display:flex;align-items:center;gap:14px;font:500 12px Onest;color:rgba(255,255,255,.32);z-index:8}
.tp-safe{position:absolute;inset:3.2% 4.4%;z-index:5;pointer-events:none;border:1.5px dashed var(--lime);border-radius:2px;opacity:0;scale:1.04;transition:opacity .45s,scale .6s var(--ease)}
.safe-on .tp-safe{opacity:1;scale:1}
.safe-on .tp-sel{opacity:0!important}
.tp-safe span{position:absolute;left:50%;top:-1.5px;translate:-50% 0;background:var(--lime);color:var(--ink);font:600 11px/1 Onest;padding:5px 9px 6px;border-radius:0 0 6px 6px}
.tp.film .tp-skip{align-self:auto;background:none;border:0;cursor:pointer;color:rgba(255,255,255,.62);font:500 12px Onest;padding:6px 13px;border-radius:99px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);transition:color .2s,opacity .4s}
.tp.film .tp-skip:hover{color:#fff}
.tp[data-phase=end] .tp-skip{opacity:0;pointer-events:none}
/* телефон выезжает справа от макета */
.tp.film .tp-phone{position:absolute;left:calc(100% + 36px);bottom:0;height:88%;width:auto;aspect-ratio:9/19;border-radius:34px}
@media (prefers-reduced-motion:reduce){.cap,.cap.hello.in b{transition:none;animation:none;-webkit-mask:none;mask:none}}

@media (max-width:900px){
  .tp-panel{padding:26px 22px 28px;justify-content:flex-start;gap:14px}
  .tp-panel h1{font-size:26px}
  .tp.film[data-step="2"] .tp-panel{padding:40px 22px 28px}
  .tp.film .tp-stage{padding:46px 16px 18px;justify-content:flex-start;gap:0}
  .tp.film .tp-frame{width:min(300px,76vw,calc((100vh - 300px)*.8))}
  .tp-fname{font-size:11px}
  .tp-cap{position:relative;bottom:auto;height:150px;margin-top:22px;padding:0}
  .cap b{font-size:26px}
  .cap>span{font-size:14.5px}
  .cap.hello b{font-size:76px}
  .tp.film[data-phase=hello] .tp-cap{position:absolute;left:0;right:0;top:calc(50% - 75px);margin:0;align-content:center}
  .tp.film[data-phase=hello] .cap.hello b{font-size:92px}
  .tp.film[data-phase=hello] .cap b{font-size:38px}
  .tp.film[data-phase=hello] .cap>span{font-size:16px}
  .tp-corner{right:14px;top:12px}
  .tp.film .tp-phone{left:50%;bottom:-6px;translate:-50% 0;height:94%;border-radius:30px}
  .tp.film .tp-canvas{transition:opacity .5s}
  .tp.film.phone .tp-canvas{opacity:.18}
  /* финал на мобиле: телефон уходит, в кадре снова готовый макет */
  .tp.film .tp-phone{transition:opacity .5s,scale .5s var(--ease)}
  .tp.film[data-phase=end] .tp-phone{opacity:0;scale:.92;pointer-events:none}
  .tp.film.phone[data-phase=end] .tp-canvas{opacity:1}
}

/* ===== Новая оболочка ролика (?v=2): чёрный зал, свет идёт от макета, интерфейс почти исчезает =====
   Цвет в посте, интерфейс белый и серый; с 16.11 (P3+) фирменный чёрный #0E0D12 и лайм в метке дизайнера, полоске хода и кнопках. Без конфетти */
.tp.x{--ch:132px;position:relative;background:var(--ink);padding:0;gap:0;min-height:100vh;min-height:100dvh}
.tp.x .tp-body{gap:0}
.tp.x .tp-top{position:absolute;top:0;left:0;right:0;z-index:10;padding:24px 34px;gap:30px}
.tp.x .tp-logo{color:#fff;opacity:.94}
.tp.x .tp-skip,.tp.x .tp-in{background:none;border:0;box-shadow:none;padding:4px 0;cursor:pointer;font:500 13px/1 Onest;letter-spacing:-.005em;color:rgba(255,255,255,.5);transition:color .2s,opacity .5s}
.tp.x .tp-skip:hover,.tp.x .tp-in:hover{color:#fff}
.tp.x[data-step="2"] .tp-skip{display:none}
.tp.x .tp-stage{border-radius:0;background:var(--ink);padding:84px 24px calc(var(--ch) + 46px)}
.tp.x .tp-frame{width:min(560px,calc(100vw - 540px),calc((100vh - 84px - 46px - var(--ch) - 24px)*.8))}
.tp.x .tp-fname{display:none}
.tp.x .tp-work{isolation:isolate}
.tp.x .tp-canvas{box-shadow:0 0 0 .5px rgba(255,255,255,.1),0 60px 110px -40px rgba(0,0,0,1)}
.tp.x .tp-canvas>.hp{border-radius:6px}

/* свет зала: заранее размытые пятна, только прозрачность меняется, поэтому дёшево */
.tp-amb{position:absolute;left:50%;top:50%;width:260%;aspect-ratio:1;translate:-50% -50%;z-index:-1;pointer-events:none}
.tp-amb i{position:absolute;inset:0;opacity:0;transition:opacity 2.6s ease}
.tp-amb .a1{background:radial-gradient(closest-side at 50% 46%,rgba(255,64,150,.30),rgba(255,64,150,.09) 42%,transparent 70%)}
.tp-amb .a2{background:radial-gradient(42% 30% at 50% 62%,rgba(255,118,40,.24),rgba(255,118,40,.06) 55%,transparent)}
.tp-amb .a3{background:radial-gradient(closest-side at 50% 48%,rgba(255,150,170,.16),transparent 55%)}
.tp.x.a1 .tp-amb .a1,.tp.x.a2 .tp-amb .a2,.tp.x.a3 .tp-amb .a3{opacity:1}

/* панель слоёв: тонкое стекло, низ растворяется */
.tp.x .tp-layers{top:0;max-height:100%;margin-right:30px;width:184px;padding:12px 6px;border-radius:16px;background:rgba(255,255,255,.04);-webkit-backdrop-filter:blur(24px) saturate(1.3);backdrop-filter:blur(24px) saturate(1.3);box-shadow:inset 0 0 0 .5px rgba(255,255,255,.14);color:rgba(255,255,255,.5);font:500 12.5px Onest;
  -webkit-mask:linear-gradient(#000 62%,transparent);mask:linear-gradient(#000 62%,transparent)}
.tp.x .tp-lhd{text-transform:none;letter-spacing:-.01em;font:600 12.5px Onest;color:rgba(255,255,255,.9);padding:2px 10px 10px}
.tp.x .tp-lrow{padding:5px 10px;border-radius:8px}
.tp.x .tp-lrow.now{background:rgba(255,255,255,.12);color:#fff}
.tp.x .tp-lrow b{opacity:.5}

/* выделение и курсор: тонкая белая линия вместо синей рамки */
.tp.x .tp-sel{border:1px solid rgba(255,255,255,.95)}
.tp.x .tp-sel i{width:6px;height:6px;background:#fff;border:0;border-radius:1.5px;box-shadow:0 0 0 .5px rgba(0,0,0,.35)}
.tp.x .tp-sel i:nth-of-type(1){left:-3.5px;top:-3.5px}.tp.x .tp-sel i:nth-of-type(2){right:-3.5px;top:-3.5px}
.tp.x .tp-sel i:nth-of-type(3){left:-3.5px;bottom:-3.5px}.tp.x .tp-sel i:nth-of-type(4){right:-3.5px;bottom:-3.5px}
.tp.x .tp-sel span{left:-1px;margin-bottom:6px;background:var(--lime);color:var(--ink);font:600 11px/1 Onest;letter-spacing:-.005em;padding:4px 7px 5px;border-radius:5px}
.tp.x .tp-cur svg{width:21px;height:21px;filter:drop-shadow(0 2px 4px rgba(0,0,0,.45))}
.tp.x .tp-safe{border:1px dashed rgba(255,255,255,.8)}
.tp.x .tp-safe span{background:#fff;color:var(--ink);border-radius:0 0 5px 5px}

/* подписи: белое утверждение и серое пояснение одной фразой */
.tp.x .tp-cap::before{display:none}
.tp.x .cap{gap:26px}
.tp.x .cap p{margin:0;max-width:760px;font:600 30px/1.22 Onest;letter-spacing:-.022em;text-wrap:balance}
.tp.x .cap p b{font:inherit;letter-spacing:inherit;color:#fff}
.tp.x .cap p span{color:rgba(255,255,255,.44)}
.tp.x.film[data-phase=hello] .cap p{max-width:860px;font-size:54px;line-height:1.12;letter-spacing:-.032em}
.tp.x.film[data-phase=hello] .cap p b{font-size:inherit}
.tp.x .cap.hello .hw{display:block;height:164px;width:auto;overflow:visible}
.tp.x .cap.hello text{font:700 100px Caveat;fill:#fff}
.tp.x .cap-acts{gap:30px;margin-top:0}
/* главная кнопка на тёмном: лайм без обводки, чёрный текст */
.tp-cta{display:inline-flex;align-items:center;justify-content:center;height:50px;padding:0 30px;border:0;border-radius:99px;background:var(--lime);color:var(--ink);font:600 16px/1 Onest;letter-spacing:-.01em;cursor:pointer;transition:background .2s,transform .2s var(--ease)}
.tp-cta:hover{background:#D4FF33}
.tp-cta:active{transform:scale(.97)}
.tp-cta:focus-visible{outline:2px solid #fff;outline-offset:3px}
.tp.x .cap-link{border:0;padding:0;font:500 16px/1 Onest;letter-spacing:-.01em;color:rgba(255,255,255,.6)}
.tp.x .cap-link:hover{color:#fff}

/* тонкая полоска хода ролика по нижнему краю */
.tp-pg{position:absolute;left:0;right:0;bottom:0;height:2px;background:rgba(255,255,255,.07);transition:opacity .8s}
.tp-pg i{display:block;height:100%;width:calc(var(--pg,0) * 100%);background:var(--lime);transition:width 1.4s linear}
.tp.x[data-phase=hello] .tp-pg{opacity:0}
.tp.x[data-phase=end] .tp-pg{opacity:0;transition-delay:1.2s}

/* телефон: титановая грань, чёрная рамка, Dynamic Island, тёмный экран как в мессенджере */
.tp.x .tp-phone{padding:3px;border-radius:46px;background:linear-gradient(150deg,#6a6a71,#202023 28%,#2c2c30 72%,#5a5a61);box-shadow:0 0 0 .5px rgba(255,255,255,.18),0 70px 120px -40px rgba(0,0,0,1)}
.tp.x .tp-phone::before,.tp.x .tp-phone::after{content:'';position:absolute;width:3px;border-radius:2px;background:#3b3b40}
.tp.x .tp-phone::before{left:-2.5px;top:20%;height:9%}
.tp.x .tp-phone::after{right:-2.5px;top:26%;height:13%}
.ph-island{position:absolute;left:50%;top:17px;width:30%;height:21px;translate:-50% 0;background:#000;border-radius:20px;z-index:2}
.tp.x .ph-scr{position:relative;height:100%;background:var(--ink);border:7px solid #000;border-radius:43px;padding:44px 11px 12px;gap:12px;color:#fff}
.ph-bar{position:absolute;left:20px;right:18px;top:9px;display:flex;justify-content:space-between;align-items:center;font:600 11.5px/1 Onest;letter-spacing:-.01em}
.ph-bar i{width:19px;height:9px;border-radius:3px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.75);position:relative}
.ph-bar i::after{content:'';position:absolute;inset:2px 5px 2px 2px;background:#fff;border-radius:1px}
.tp.x .ph-hd{display:flex;align-items:center;gap:9px;padding:0 3px 11px;box-shadow:0 .5px 0 rgba(255,255,255,.1)}
.ph-day{margin-top:auto;align-self:center;color:rgba(255,255,255,.4);font:500 10.5px/1 Onest}
.ph-av{width:30px;height:30px;flex:none;border-radius:50%;background:#FF4FA3;color:#130E0D;display:grid;place-items:center;font:12px/1 Dela}
.tp.x .ph-hd b{display:block;font:600 13.5px/1.2 Onest;letter-spacing:-.01em}
.tp.x .ph-hd small{display:block;color:rgba(255,255,255,.45);font:400 11px/1.3 Onest}
.ph-card{flex:none;padding:4px;border-radius:16px;background:#1C1C1F}
.ph-card .hp{border-radius:12px}
.tp.x .ph-btns{gap:7px}
.tp.x .ph-btns>*{height:40px;border-radius:13px;font:600 12.5px Onest;letter-spacing:-.01em}
.tp.x .ph-no{box-shadow:none;background:rgba(255,255,255,.1);color:#fff}
.tp.x .ph-ok{background:var(--lime);color:var(--ink)}
.tp.x .ph-ok.tap::after{background:rgba(0,0,0,.18)}
.tp.x .ph-done{position:relative;gap:8px}
.ph-mark{width:66px;height:66px;margin-bottom:8px;fill:none;stroke:#fff;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.ph-mark *{stroke-dasharray:1;stroke-dashoffset:1;animation:phDraw .7s cubic-bezier(.6,0,.3,1) forwards}
.ph-mark path{animation-delay:.42s;animation-duration:.45s}
@keyframes phDraw{to{stroke-dashoffset:0}}
.ph-ring{position:absolute;left:50%;top:0;width:66px;height:66px;margin-left:-33px;border-radius:50%;box-shadow:0 0 0 1.5px rgba(255,255,255,.55);opacity:0;animation:phRing 1.3s .55s cubic-bezier(.2,.7,.3,1)}
@keyframes phRing{from{opacity:1;scale:1}to{opacity:0;scale:2.4}}
.tp.x .ph-done b{font:600 18px/1.2 Onest;letter-spacing:-.02em}
.tp.x .ph-done small{color:rgba(255,255,255,.45);font-size:12px}

/* регистрация в том же зале: тёмная форма, белая кнопка */
.tp.x[data-step="2"] .tp-panel{background:transparent;color:#fff;width:min(440px,100%);padding:110px 24px 48px;gap:18px}
.tp.x .tp-panel h1{font:800 34px/1.08 Unbounded;letter-spacing:-.02em}
.tp.x .tp-panel .sub{color:rgba(255,255,255,.5);font-size:16px;line-height:1.45}
.tp.x .tp-panel .fld>span{color:rgba(255,255,255,.62)}
.tp.x .tp-panel .inp{height:48px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);color:#fff}
.tp.x .tp-panel .inp:hover{border-color:rgba(255,255,255,.22)}
.tp.x .tp-panel .inp:focus{border-color:var(--lime);box-shadow:0 0 0 3px rgba(200,255,0,.18)}
.tp.x .tp-panel .inp::placeholder{color:rgba(255,255,255,.32)}
.tp.x .tp-panel .inp:-webkit-autofill{-webkit-box-shadow:0 0 0 100px var(--ink) inset;-webkit-text-fill-color:#fff;caret-color:#fff}
.tp.x .tp-panel form .tp-cta{align-self:stretch;margin-top:8px}
.tp.x .tp-panel .err{color:#FF7A7A}
.tp.x .tp-panel .alt{color:rgba(255,255,255,.5)}
.tp.x .tp-panel .alt a{color:#fff;border-bottom:1px solid rgba(255,255,255,.3)}
@media (prefers-reduced-motion:reduce){.ph-mark *,.ph-ring{animation:none;stroke-dashoffset:0}}

@media (max-width:900px){
  .tp.x .tp-top{padding:16px 20px;gap:22px}
  .tp.x .tp-stage{padding:66px 16px 22px}
  .tp.x .tp-frame{width:min(300px,76vw,calc((100vh - 300px)*.8))}
  .tp.x .cap p{font-size:19px;line-height:1.3;letter-spacing:-.016em}
  .tp.x.film[data-phase=hello] .cap p{font-size:29px;line-height:1.16}
  .tp.x .cap.hello .hw{height:104px}
  .tp.x .cap{gap:20px}
  .tp.x .cap-acts{gap:24px}
  .tp-cta{height:48px;padding:0 26px;font-size:15px}
  .tp.x .cap-link{font-size:15px}
  .tp.x .tp-phone{border-radius:34px}
  .tp.x .ph-scr{border-radius:31px;border-width:5px;padding:31px 7px 8px;gap:8px}
  .tp.x .ph-island{top:11px;height:15px}
  .tp.x .ph-bar{top:6px;left:15px;right:14px;font-size:9.5px}
  .tp.x .ph-bar i{width:15px;height:7px}
  .tp.x .ph-hd{gap:7px;padding:0 2px 7px}
  .tp.x .ph-av{width:22px;height:22px;font-size:9px}
  .tp.x .ph-hd b{font-size:11px}
  .tp.x .ph-hd small{font-size:9px;white-space:nowrap}
  .tp.x .ph-day{display:none}
  .tp.x .ph-card{margin-top:auto;padding:3px;border-radius:12px}
  .tp.x .ph-card .hp{border-radius:9px}
  .tp.x .ph-btns{gap:5px}
  .tp.x .ph-btns>*{height:30px;border-radius:10px;font-size:9.5px;letter-spacing:-.02em}
  .tp.x .ph-done b{font-size:15px}
  .tp.x[data-step="2"] .tp-panel{padding:84px 22px 36px}
  .tp.x .tp-panel h1{font-size:26px}
}

/* согласия и заявка в тёмном зале */
.tp.x .tp-panel .chk{color:rgba(255,255,255,.6)}
.tp.x .tp-panel .chk input{background-color:transparent;border-color:rgba(255,255,255,.3)}
.tp.x .tp-panel .chk input:hover{border-color:rgba(255,255,255,.7)}
.tp.x .tp-panel .chk input:checked{background-color:var(--lime);border-color:var(--lime);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%230E0D12' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.tp.x .tp-panel .chk input:focus-visible{outline-color:#fff}
.tp.x .tp-panel .chk a,.tp.x .tp-panel .legal-note a{color:#fff}
.tp.x .tp-panel .legal-note{color:rgba(255,255,255,.42);margin-top:-4px}
.tp.x .tp-panel .pills span{border-color:rgba(255,255,255,.16);color:rgba(255,255,255,.75)}
.tp.x .tp-panel .pills input:checked+span{background:var(--lime);border-color:var(--lime);color:var(--ink)}
.tp.x .tp-panel textarea.inp{height:auto;padding-top:12px;padding-bottom:12px;resize:vertical}
.tp.x .tp-panel .tp-cta:disabled{opacity:.35}
