/* [docma] «Звонок врачу — шаг за шагом» для /video-appeal/ (черновик 26.10.2026, варианты).
   Путь пациента целиком: группа консультации в DocMa 1.77.3 → сообщение Docma BOT (текст — как в боевом) →
   договорились о времени → «-->ВОЙТИ» → Safari → комната BBB (баннер «Welcome», презентации нет, вход без звука) →
   звук и камера → разговор → звонок завершает врач → ссылка на запись в чате, чат только для чтения.
   Мерки BBB: 3.0.9 с bbb2.docma.ru (27.09) + исходники 3.0.9 для вида пациента; строки — ru.json с сервера.
   Телефон — 390×844 точек iPhone, ноутбук врача (вариант 2) — экран 1280×800. Анимируются transform и opacity.
   Всё внутри .dvc, чтобы не задевать страницу. */
.dvc{
	--ice:#EAF6FF; --ice-2:rgba(234,246,255,.76); --ice-3:rgba(234,246,255,.56);
	--teal:#02B5BC; --teal-hi:#5FE6EB; --pink:#FE3F7A; --gline:rgba(234,246,255,.11);
	--out:cubic-bezier(.16,1,.3,1); --in:cubic-bezier(.55,0,.8,.3); --io:cubic-bezier(.65,0,.35,1); --ios:cubic-bezier(.2,.8,.2,1);
	--font:'Montserrat',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
	--bbb:'Source Sans 3','Source Sans Pro',Arial,sans-serif;
	--sys:-apple-system,'SF Pro Text',system-ui,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
	--app:'Inter',-apple-system,'SF Pro Text',system-ui,'Segoe UI',Roboto,sans-serif;
	/* DocMa 1.77.3, светлая тема (app/lib/constants/palettes.ts) */
	--a-room:#FFFCF7; --a-light:#FFFDF9; --a-neutral:#F2E7DA; --a-selected:#EBDDCC; --a-stroke:#E3D4C3; --a-stroke-m:#C4AF99;
	--a-title:#2B211B; --a-text:#3A2E26; --a-sub:#7A6655; --a-ann:#A08B78; --a-info:#0B7A81; --a-primary:#C9381F;
	--a-me:#9C2516; --a-other:#7E5200;
	margin:56px 0 0; font-family:var(--font); line-height:normal; color:var(--ice); -webkit-font-smoothing:antialiased;
}
.dvc *,.dvc *::before,.dvc *::after{box-sizing:border-box}
.dvc :where(p,ol,h3,h4,h1){margin:0; padding:0}
.dvc ol{list-style:none}
.dvc i{font-style:normal}
.dvc button{margin:0; padding:0; border:0; background:none; font:inherit; color:inherit; cursor:pointer; -webkit-tap-highlight-color:transparent}

/* ---------- карточка ---------- */
.dvc .dvc-card{position:relative; isolation:isolate; overflow:hidden; overflow:clip; display:grid; grid-template-columns:minmax(0,1fr);
	border-radius:28px; border:1px solid rgba(255,255,255,.06);
	background:radial-gradient(900px 620px at 88% 8%, rgba(2,181,188,.17), transparent 60%),
		radial-gradient(700px 520px at 0% 100%, rgba(254,63,122,.12), transparent 62%),
		linear-gradient(165deg,#0B1B33 0%,#071224 55%,#040A15 100%);
	box-shadow:0 40px 90px -50px rgba(11,27,51,.75)}
.dvc .dvc-side{padding:26px 20px 0}
.dvc .dvc-kicker{display:inline-flex; align-items:center; gap:9px; padding:7px 12px 7px 10px; border-radius:999px; background:rgba(255,255,255,.06); border:1px solid var(--gline); color:var(--ice-2); font:600 13px/1 var(--font)}
.dvc .dvc-live{position:relative; flex:none; width:9px; height:9px; border-radius:50%; background:#FF5A5F}
.dvc .dvc-live::after{content:""; position:absolute; inset:0; border-radius:50%; background:rgba(255,90,95,.6); animation:dvc-rec 2s ease-out infinite}
.dvc .dvc-h{margin:16px 0 12px; color:#fff; font:800 clamp(27px,3vw,40px)/1.08 var(--font); letter-spacing:-.03em; text-wrap:balance}
.dvc .dvc-lead{max-width:34em; color:var(--ice-2); font:500 15.5px/1.55 var(--font)}
.dvc .dvc-seg{display:flex; gap:5px; margin:22px 0 16px}
.dvc .dvc-seg i{position:relative; flex:1; height:4px; border-radius:2px; background:rgba(234,246,255,.16); overflow:hidden}
.dvc .dvc-seg b{position:absolute; inset:0; border-radius:inherit; background:linear-gradient(90deg,var(--teal),var(--pink)); transform-origin:left center; transform:scaleX(0)}
.dvc .dvc-steps{display:grid}
.dvc .dvc-st{grid-area:1 / 1; position:relative; opacity:0; transition:opacity .35s var(--out); pointer-events:none}
.dvc .dvc-st.is-on{opacity:1}
.dvc .dvc-st__b{display:flex; align-items:center; gap:11px; width:100%; text-align:left; cursor:default}
.dvc .dvc-st__n{position:relative; flex:none; display:grid; place-items:center; width:30px; height:30px; border-radius:50%; color:#fff; font:800 14px/1 var(--font)}
.dvc .dvc-st__n::before{content:""; position:absolute; inset:0; border-radius:50%; background:linear-gradient(135deg,var(--teal),var(--pink))}
.dvc .dvc-st__n b{position:relative; font-weight:800}
.dvc .dvc-st__t{color:#fff; font:800 20px/1.2 var(--font); letter-spacing:-.015em}
.dvc .dvc-st__d{margin-top:8px; color:var(--ice-2); font:500 15px/1.5 var(--font); text-wrap:pretty}
.dvc .dvc-st__d q{quotes:"«" "»"; color:#fff; font-weight:600; white-space:nowrap}
.dvc .dvc-nw{white-space:nowrap}
.dvc .dvc-st__bar{display:none}

/* ---------- сцена и камера ---------- */
.dvc .dvc-stage{position:relative; overflow:hidden; margin-top:18px; aspect-ratio:343 / 470; max-height:600px; touch-action:pan-y; -webkit-user-select:none; user-select:none;
	background:radial-gradient(62% 46% at 50% 46%, rgba(95,230,235,.13), transparent 70%), rgba(4,10,21,.32)}
.dvc .dvc-stage::before,.dvc .dvc-stage::after{content:""; position:absolute; z-index:0; width:300px; height:300px; border-radius:50%; pointer-events:none;
	background:radial-gradient(circle, rgba(95,230,235,.20), transparent 62%); top:-50px; right:-40px; transform:scale(1.6); animation:dvc-drift 17s ease-in-out infinite alternate}
.dvc .dvc-stage::after{background:radial-gradient(circle, rgba(254,63,122,.15), transparent 62%); top:auto; right:auto; bottom:-70px; left:-60px; animation-duration:22s; animation-direction:alternate-reverse}
.dvc .dvc-float{position:absolute; inset:0; z-index:1; animation:dvc-float 7s ease-in-out infinite alternate}
.dvc .dvc-tilt{position:absolute; inset:0; transition:transform .6s var(--out)}
.dvc .dvc-world{position:absolute; left:50%; top:50%; transform-origin:50% 50%; transition:transform .95s var(--io), opacity .45s ease}
.dvc.is-fade .dvc-world{opacity:0}
.dvc.is-cut .dvc-world{opacity:0; transition:opacity .16s ease}   /* ручной выбор шага: короткое затемнение */
.dvc .dvc-dev{position:absolute; left:0; top:0}

/* ---------- телефон: 414×868, экран 390×844 ---------- */
.dvc .dvc-phone{width:414px; height:868px; border-radius:64px;
	background:linear-gradient(150deg,#2E394C 0%,#0D121A 42%,#1D2635 100%);
	box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.16), inset 0 0 0 6px #070A0F, 0 80px 120px -50px rgba(0,0,0,.9), 0 30px 80px -40px rgba(2,181,188,.4)}
.dvc .ph-k{position:absolute; width:4px; border-radius:2px; background:linear-gradient(90deg,#161C27,#3A4659)}
.dvc .ph-k--1{left:-3px; top:160px; height:34px} .dvc .ph-k--2{left:-3px; top:212px; height:64px} .dvc .ph-k--3{right:-3px; top:232px; height:96px}
.dvc .dvc-scr{position:absolute; left:12px; top:12px; width:390px; height:844px; border-radius:52px; overflow:hidden; background:#000; isolation:isolate; text-align:left; line-height:normal}
.dvc .dvc-island{position:absolute; z-index:70; left:133px; top:11px; width:124px; height:36px; border-radius:20px; background:#050608}
.dvc .ph-glare{position:absolute; z-index:69; left:12px; top:12px; width:390px; height:844px; border-radius:52px; pointer-events:none;
	background:linear-gradient(118deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,.02) 26%, transparent 40%)}
.dvc .ic{display:block; width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
.dvc .ic-f{fill:currentColor; stroke:none}

/* строка состояния iOS: в DocMa — часы, в Safari — «◀ DocMa» (вернуться в приложение) */
.dvc .dvc-sb{position:absolute; left:0; top:0; right:0; height:54px; z-index:60; display:flex; align-items:center; justify-content:space-between; padding:6px 32px 0 44px;
	font:600 17px/1 var(--sys); color:var(--a-title); pointer-events:none; transition:color .3s}
.dvc .s-sf .dvc-sb{color:#fff}
.dvc .dvc-sb__l{position:relative; min-width:58px; height:22px; display:flex; align-items:center}
.dvc .dvc-sb__time,.dvc .dvc-crumb{position:absolute; left:0; top:50%; transform:translateY(-50%); white-space:nowrap; transition:opacity .25s}
.dvc .dvc-sb__time{font-variant-numeric:tabular-nums; letter-spacing:-.2px}
.dvc .dvc-crumb{display:flex; align-items:center; gap:3px; font:600 14px/1 var(--sys); opacity:0; pointer-events:none; left:-8px; padding:4px 6px; border-radius:8px}
.dvc .dvc-crumb svg{width:9px; height:13px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round}
.dvc .s-sf .dvc-crumb{opacity:1}
.dvc .s-sf .dvc-sb__time{opacity:0}
.dvc .dvc-crumb.is-press{background:rgba(255,255,255,.18)}
.dvc .dvc-sb__r{display:flex; gap:6px; align-items:center}
.dvc .dvc-sb__r svg{display:block; fill:currentColor}
.dvc .dvc-ffw{position:absolute; left:50%; top:60px; z-index:62; transform:translate(-50%,-8px); opacity:0; padding:8px 13px; border-radius:999px;
	background:rgba(43,33,27,.84); color:#fff; font:600 14px/1 var(--app); white-space:nowrap; transition:opacity .3s,transform .4s var(--out); pointer-events:none}
.dvc .s-sf .dvc-ffw{background:rgba(255,255,255,.92); color:#06172A}
.dvc .dvc-ffw.is-on{opacity:1; transform:translate(-50%,0)}
.dvc .dvc-home{position:absolute; left:50%; bottom:8px; width:134px; height:5px; margin-left:-67px; border-radius:3px; background:var(--a-title); z-index:61; opacity:.85; transition:background .3s}
.dvc .s-sf .dvc-home{background:#fff}

/* ---------- DocMa: группа консультации ---------- */
.dvc .dvc-app{position:absolute; inset:0; overflow:hidden; font-family:var(--app); font-feature-settings:"calt" 0, "liga" 0; color:var(--a-text); background:var(--a-room); transition:transform .5s var(--ios), filter .5s}
.dvc .s-sf .dvc-app{transform:translateX(-28%); filter:brightness(.8)}
.dvc .dvc-hdr{position:absolute; left:0; right:0; top:0; height:98px; padding:54px 6px 0; background:var(--a-neutral); display:flex; align-items:center; gap:4px; z-index:5}
.dvc .dvc-ic{width:44px; height:44px; display:grid; place-items:center; flex:none}
.dvc .dvc-ic svg{width:24px; height:24px; stroke:var(--a-title); fill:none; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round}
.dvc .dvc-ht{flex:1; min-width:0; font:600 17px/22px var(--app); color:var(--a-title)}
.dvc .dvc-ht b{display:block; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.dvc .dvc-ht i{display:block; font:400 12.5px/16px var(--app); color:var(--a-sub); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.dvc .dvc-ht i.is-typing{color:var(--a-info)}
.dvc .dvc-body{position:absolute; left:0; right:0; top:98px; bottom:82px; overflow:hidden; background:var(--a-room); transition:bottom .42s var(--ios)}
.dvc .dvc-scroll{position:absolute; left:0; right:0; top:0; padding:8px 0 6px; transition:transform .9s var(--io)}
.dvc .dvc-scroll.is-fast{transition:none}
.dvc .dvc-day{display:flex; align-items:center; gap:10px; padding:10px 16px 6px; font:500 13px/18px var(--app); color:var(--a-sub)}
.dvc .dvc-day::before,.dvc .dvc-day::after{content:""; flex:1; height:1px; background:var(--a-stroke)}
.dvc .dvc-m{display:flex; padding:4px 12px; opacity:0; transform:translateY(10px); transition:opacity .3s,transform .45s var(--out)}
.dvc .dvc-m.is-in{opacity:1; transform:none}
.dvc .dvc-mav{width:36px; height:36px; border-radius:4px; flex:none; margin-top:4px; display:grid; place-items:center; color:#fff; font:600 15px/1 var(--app); overflow:hidden}
.dvc .dvc-mav img{width:100%; height:100%; object-fit:cover; max-width:none; display:block}
.dvc .dvc-m.is-cont .dvc-mav{visibility:hidden; height:0; margin-top:0}
.dvc .dvc-mc{flex:1; min-width:0; margin-left:10px}
.dvc .dvc-mh{display:flex; align-items:baseline; gap:8px}
.dvc .dvc-mh b{font:600 16px/22px var(--app); color:var(--a-title)}
.dvc .dvc-mh time{font:400 13px/18px var(--app); color:var(--a-sub)}
.dvc .dvc-m.is-cont .dvc-mh{display:none}
.dvc .dvc-mt{font:400 16px/22px var(--app); color:var(--a-text); white-space:pre-line; overflow-wrap:anywhere}
.dvc .dvc-mt b{font-weight:700}
.dvc .dvc-men{font-weight:600; color:var(--a-other)}
.dvc .dvc-men.is-me{color:var(--a-me)}
.dvc .dvc-lnk{position:relative; color:var(--a-info); white-space:nowrap; font-feature-settings:"calt" 0}   /* Inter склеивает «->» в стрелку; сокращение font у текста этот запрет сбрасывает — ставим на саму ссылку */
.dvc .dvc-lnk::before{content:""; position:absolute; inset:-3px -5px; border-radius:6px; background:rgba(11,122,129,.16); opacity:0; transition:opacity .12s}
.dvc .dvc-lnk.is-press::before{opacity:1}
.dvc .dvc-emo{font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif; font-weight:400}
/* маркер «читаем»: мягкая подсветка ключевых слов памятки (фоном строки — переносится вместе с текстом) */
.dvc .dvc-hl{padding:0 2px; margin:0 -2px; border-radius:4px; -webkit-box-decoration-break:clone; box-decoration-break:clone;
	background:linear-gradient(rgba(2,181,188,.24),rgba(2,181,188,.24)) no-repeat 0 0 / 0% 100%; transition:background-size .6s var(--out), background-color .6s}
.dvc .dvc-hl.is-on{background-size:100% 100%}
.dvc .dvc-hl.is-off{background-size:100% 100%; background-image:linear-gradient(rgba(2,181,188,0),rgba(2,181,188,0))}
.dvc .dvc-cmp{position:absolute; left:0; right:0; bottom:0; padding:0 0 34px; background:var(--a-light); border-top:1px solid var(--a-stroke); transition:bottom .42s var(--ios), opacity .35s}
.dvc .dvc-cmp-row{height:48px; display:flex; align-items:center; padding:0 12px}
.dvc .dvc-cmp-row svg{width:24px; height:24px; stroke:var(--a-sub); fill:none; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; flex:none}
.dvc .dvc-cin{flex:1; min-width:0; margin:0 12px; font:400 16px/22px var(--app); color:var(--a-text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.dvc .dvc-ph{color:var(--a-ann)}
.dvc .dvc-send{width:32px; height:32px; border-radius:16px; background:var(--a-primary); display:grid; place-items:center; flex:none; transform:scale(0); transition:transform .25s var(--out)}
.dvc .dvc-send svg{width:18px; height:18px; stroke:#fff; stroke-width:2.2}
.dvc .dvc-cmp.is-text .dvc-send{transform:none}
.dvc .dvc-cmp.is-text .dvc-mic{display:none}
.dvc .dvc-cmp.is-focus .dvc-cmp-row{height:auto; min-height:48px; padding-block:10px; align-items:flex-end}
.dvc .dvc-cmp.is-focus .dvc-cin{white-space:normal; max-height:88px}
.dvc .dvc-tools{height:0; overflow:hidden; display:flex; align-items:center; gap:22px; padding:0 14px; transition:height .25s}
.dvc .dvc-cmp.is-focus .dvc-tools{height:40px}
.dvc .dvc-tools svg{width:22px; height:22px; stroke:var(--a-sub); fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round}
.dvc .dvc-cmp.is-focus{padding-bottom:0}
.dvc .dvc-caret{display:inline-block; width:2px; height:20px; margin-left:1px; vertical-align:-4px; background:var(--a-info); animation:dvc-caret 1s steps(1) infinite}
/* чат закрыт: вместо поля ввода — строка «только для чтения» (RoomFooter/Preview.tsx) */
.dvc .dvc-ro{position:absolute; left:16px; right:16px; bottom:0; padding:0 0 66px; text-align:center; font:600 16px/24px var(--app); color:var(--a-title); opacity:0; transform:translateY(8px); transition:opacity .4s, transform .5s var(--out)}
.dvc .c-ro .dvc-ro{opacity:1; transform:none}
.dvc .c-ro .dvc-cmp{opacity:0; pointer-events:none}
/* клавиатура iOS */
.dvc .dvc-kb{position:absolute; left:0; right:0; bottom:0; height:300px; z-index:48; background:#D3D6DD; transform:translateY(100%); transition:transform .42s var(--ios); padding:8px 3px 0}
.dvc .dvc-kb.is-on{transform:none}
.dvc .dvc-krow{display:flex; justify-content:center; gap:5px; margin-bottom:11px}
.dvc .dvc-k{position:relative; flex:1 1 0; max-width:34px; height:43px; border-radius:6px; background:#fff; box-shadow:0 1px 0 rgba(0,0,0,.28);
	display:grid; place-items:center; font:400 23px/1 var(--sys); color:#000}
.dvc .dvc-kb .dvc-ch{max-width:31px}
.dvc .dvc-k.dvc-sp{flex:5 1 0; max-width:none; font-size:16px}
.dvc .dvc-k.dvc-fn{background:#ABB1BC; max-width:46px; font-size:16px}
.dvc .dvc-k.dvc-ret{flex:2 1 0; max-width:92px; font-size:16px}
.dvc .dvc-k.is-down{background:#ABB1BC}
.dvc .dvc-k.is-down.dvc-ch::after{content:attr(data-c); position:absolute; bottom:34px; left:50%; width:52px; height:56px; margin-left:-26px; border-radius:10px 10px 8px 8px; background:#fff;
	box-shadow:0 2px 6px rgba(0,0,0,.25); font:400 34px/56px var(--sys); color:#000; text-align:center}
.dvc .dvc-gap{flex:.5 1 0; max-width:18px}
.dvc .dvc-kbot{display:flex; justify-content:space-between; padding:4px 26px 0; color:#3C3C43}
.dvc .dvc-kbot svg{width:26px; height:26px; stroke:currentColor; fill:none; stroke-width:1.6}

/* ---------- Safari (iOS 26, компактная панель снизу) ---------- */
.dvc .dvc-sf{position:absolute; inset:0; z-index:20; background:#06172A; transform:translateX(102%); transition:transform .5s var(--ios); box-shadow:-30px 0 60px rgba(0,0,0,.35)}
.dvc .s-sf .dvc-sf{transform:none}
.dvc .dvc-sfbar{position:absolute; left:0; right:0; bottom:0; height:90px; z-index:6; background:#06172A}
.dvc .dvc-sfpill{position:absolute; left:12px; right:12px; bottom:28px; height:52px; display:flex; align-items:center; gap:8px}
.dvc .dvc-sfb{flex:none; width:52px; height:52px; border-radius:50%; display:grid; place-items:center; color:#fff;
	background:linear-gradient(180deg,#3A3F49,#2B2F37); box-shadow:inset 0 0 0 1px rgba(255,255,255,.14), 0 8px 24px rgba(0,0,0,.35)}
.dvc .dvc-sfb svg{width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round}
.dvc .dvc-sfb.is-dim{color:rgba(255,255,255,.42)}
.dvc .dvc-sfurl{position:relative; flex:1; min-width:0; height:52px; border-radius:26px; display:flex; align-items:center; justify-content:center; gap:7px; overflow:hidden;
	background:linear-gradient(180deg,#3A3F49,#2B2F37); box-shadow:inset 0 0 0 1px rgba(255,255,255,.14), 0 8px 24px rgba(0,0,0,.35);
	font:600 16px/1 var(--sys); color:#fff; letter-spacing:-.2px}
.dvc .dvc-sfurl svg{width:13px; height:13px; fill:none; stroke:rgba(255,255,255,.7); stroke-width:2.2}
.dvc .dvc-sfprog{position:absolute; left:16px; right:16px; bottom:0; height:3px; border-radius:2px; background:#0A84FF; transform-origin:left center; transform:scaleX(0); opacity:0}
.dvc .w-load .dvc-sfprog{opacity:1; transform:scaleX(.82); transition:transform 1.3s cubic-bezier(.2,.7,.3,1), opacity .1s}
.dvc .w-room .dvc-sfprog{opacity:0; transform:scaleX(1); transition:transform .25s ease-out, opacity .3s .25s}

/* ---------- системное окно iOS «… запрашивает доступ к …» ---------- */
.dvc .dvc-al{position:absolute; inset:0; z-index:50; display:grid; place-items:center; background:rgba(0,0,0,0); transition:background .25s; pointer-events:none}
.dvc .p-mic .dvc-al,.dvc .p-cam .dvc-al{background:rgba(0,0,0,.36)}
.dvc .dvc-alc{position:absolute; left:45px; width:300px; top:50%; padding:22px 18px 16px; border-radius:32px; text-align:center; color:#000; font-family:var(--sys);
	background:#F4F4F6; box-shadow:0 24px 60px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.6);
	opacity:0; transform:translateY(-50%) scale(1.12); transition:opacity .15s, transform .15s}
.dvc .p-mic .dvc-alc--mic,.dvc .p-cam .dvc-alc--cam{opacity:1; transform:translateY(-50%) scale(1); transition:opacity .22s, transform .32s var(--out)}
.dvc .dvc-alc h4{font:600 17px/22px var(--sys); letter-spacing:-.3px; margin:0 6px}
.dvc .dvc-alb{display:flex; gap:10px; margin-top:18px}
.dvc .dvc-alb span{position:relative; flex:1; height:48px; border-radius:24px; display:grid; place-items:center; font:500 17px/1 var(--sys); letter-spacing:-.3px;
	background:rgba(120,120,128,.16); color:#000; transition:transform .12s}
.dvc .dvc-alb .dvc-ok{background:#0A84FF; color:#fff; font-weight:600}
.dvc .dvc-alb span.is-press{transform:scale(.95); filter:brightness(.9)}

/* ---------- BBB у пациента: страница 390×700 (между строкой состояния и панелью Safari) ---------- */
.dvc .dvc-bbb{position:absolute; left:0; top:54px; width:390px; height:700px; overflow:hidden; background:#06172A; color:#fff; font-family:var(--bbb)}
.dvc .bb-load{position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:22px; opacity:0; transition:opacity .25s}
.dvc .w-load .bb-load{opacity:1}
.dvc .bb-load__t{font:400 17px/1 var(--bbb); color:#F3F6F9}
.dvc .bb-dots{display:flex; gap:9px}
.dvc .bb-dots i{width:12px; height:12px; border-radius:50%; background:#F3F6F9; transform:scale(.4)}
.dvc .w-load .bb-load .bb-dots i,.dvc .m-find .bb-find .bb-dots i,.dvc .m-conn .bb-conn .bb-dots i{animation:dvc-bounce 1.4s ease-in-out infinite}
.dvc .bb-dots i:nth-child(2){animation-delay:.16s!important} .dvc .bb-dots i:nth-child(3){animation-delay:.32s!important}
.dvc .bb-room{position:absolute; inset:0; opacity:0; transition:opacity .2s}
.dvc .w-room .bb-room{opacity:1; transition:opacity .5s var(--out)}
.dvc .bb-banner{position:absolute; left:0; top:0; width:390px; height:28px; display:grid; place-items:center; background:#02B5BC; color:#fff; font:700 12px/1 var(--bbb)}
.dvc .bb-nav{position:absolute; left:0; top:28px; width:390px; height:72px}
.dvc .bn{position:absolute; display:grid; place-items:center; color:#fff}
.dvc .bn-users{left:11px; top:17px; width:35px; height:35px; border-radius:50%; box-shadow:inset 0 0 0 1px rgba(255,255,255,.45)}
.dvc .bn-users .ic{width:19px; height:19px; stroke-width:1.6}
.dvc .bn-c{position:absolute; left:52px; right:150px; top:17px; height:35px; display:flex; align-items:center; justify-content:center; min-width:0}
.dvc .bn-title{min-width:0; max-width:117px; display:flex; align-items:center; font:400 16px/24px var(--bbb); color:#fff}
.dvc .bn-title span{min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.dvc .bn-title svg{flex:none; width:12px; height:12px; margin:0 6px; fill:none; stroke:#fff; stroke-width:2.4}
.dvc .bn-rec{flex:none; display:none; align-items:center; gap:7px; margin-left:8px; padding:3px 6px 3px 5px; border-radius:10px; background:#AE1010; box-shadow:0 0 0 3px #AE1010; font:400 15px/18px var(--bbb); font-variant-numeric:tabular-nums}
.dvc[data-rec="1"] .bn-rec{display:flex}
.dvc .bn-rec i{position:relative; width:16px; height:16px; border-radius:50%; box-shadow:inset 0 0 0 2px #fff}
.dvc .bn-rec i::after{content:""; position:absolute; inset:4px; border-radius:50%; background:#fff}
.dvc .bn-stat{left:257px; top:20px; width:31px; height:31px; border-radius:50%; background:#0C7E7F}
.dvc .bn-stat svg{width:15px; height:13px; fill:#fff}
.dvc .bn-leave{left:295px; top:19px; width:49px; height:32px; border-radius:15.4px; background:#DF2721}
.dvc .bn-leave .ic{width:18px; height:18px; stroke-width:2}
.dvc .bn-more{left:344px; top:17px; width:35px; height:35px}
.dvc .bn-more .ic{width:22px; height:22px}
/* «кто говорит» — синяя плашка во втором ряду (talking-indicator, 3.0.9) */
.dvc .bn-talk{position:absolute; left:13px; top:51px; display:flex; align-items:center; gap:8px; max-width:200px; padding:2px 12px 2px 6px; border-radius:2rem; background:#0F70D7;
	font:400 14px/18px var(--bbb); color:#fff; opacity:0; transform:translateY(-4px); transition:opacity .2s, transform .3s var(--out)}
.dvc .bn-talk span{min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.dvc .bn-talk i{flex:none; width:16px; height:16px; border-radius:50%; background:#008081; display:grid; place-items:center}
.dvc .bn-talk i svg{width:10px; height:10px; fill:none; stroke:#fff; stroke-width:2.6; stroke-linecap:round}
.dvc .bn-talk.is-on{opacity:1; transform:none}
.dvc .bn-talk.is-spoke{opacity:.5; transform:none}
.dvc .bb-vid{position:absolute; left:0; top:100px; width:390px; height:533px}
.dvc .tile{position:absolute; left:0; top:0; width:370px; height:278px; border-radius:10px; overflow:hidden; background:#000; transform-origin:0 0;
	transition:transform .7s var(--io), opacity .45s var(--out)}
.dvc .tile::after{content:""; position:absolute; inset:0; z-index:4; border-radius:10px; box-shadow:inset 0 0 0 2px #0F70D7; opacity:0; transition:opacity .1s}
.dvc .t-doc .tile-doc::after,.dvc .t-me .tile-me::after{opacity:1}
.dvc .tile-me{opacity:0}
.dvc .v-me .tile-me{opacity:1}
.dvc .av-slot{position:absolute; inset:0; display:block}
.dvc .tile-nm{position:absolute; z-index:3; left:7px; bottom:6px; display:flex; align-items:center; gap:4px; max-width:78%; padding:4px 8px 4px 5px; border-radius:5px; background:rgba(0,0,0,.55); color:#fff; font:600 13px/1 var(--bbb); white-space:nowrap}
.dvc .tile-nm span{min-width:0; overflow:hidden; text-overflow:ellipsis}
.dvc .tile-nm .ic{flex:none; width:14px; height:14px; stroke-width:2}
.dvc .tile-conn{position:absolute; inset:0; z-index:2; display:grid; place-items:center; padding:0 34px; background:#0B1E33; color:#F3F6F9; font:400 15px/1.35 var(--bbb); text-align:center; transition:opacity .5s}
.dvc .v-me-live .tile-conn{opacity:0}
.dvc .tile-me .av-slot{opacity:0; transition:opacity .6s}
.dvc .v-me-live .tile-me .av-slot{opacity:1}
.dvc .bb-bar{position:absolute; left:0; top:633px; width:390px; height:67px}
.dvc .bb{position:absolute; top:12.5px; width:42px; height:42px; border-radius:50%; background:#fff; color:#4E5A66; display:grid; place-items:center; transition:transform .2s var(--out)}
.dvc .bb > .ic,.dvc .bb-on .ic{width:22px; height:22px; stroke-width:1.7}
.dvc .bb.is-press{transform:scale(.9); transition-duration:.1s}
.dvc .bb-aud,.dvc .bb-mic{left:86px} .dvc .bb-cam{left:147px} .dvc .bb-rea{left:204px} .dvc .bb-hand{left:261px}
.dvc .bb-mic,.dvc .bb-caret{opacity:0; transition:opacity .25s}
.dvc .a-joined .bb-mic,.dvc .a-joined .bb-caret{opacity:1}
.dvc .a-joined .bb-aud{opacity:0}
.dvc .bb-aud{transition:opacity .25s}
.dvc .bb-on{position:absolute; inset:0; border-radius:50%; background:#0F70D7; color:#fff; display:grid; place-items:center; opacity:0; transform:scale(.5); transition:opacity .15s, transform .2s}
.dvc .a-on .bb-mic .bb-on,.dvc .v-cam-on .bb-cam .bb-on{opacity:1; transform:none; transition:opacity .2s, transform .35s var(--out)}
.dvc .bb-ring{position:absolute; inset:-7px; border-radius:50%; box-shadow:0 0 0 2.5px var(--pink); opacity:0}
.dvc .hint-mic .bb-mic .bb-ring,.dvc .hint-cam .bb-cam .bb-ring{animation:dvc-hint 1s var(--out) 2}
.dvc .bb-caret{position:absolute; left:121px; top:40.5px; width:14px; height:14px; border-radius:50%; background:#fff; color:#4E5A66; display:grid; place-items:center; box-shadow:0 0 0 2px #06172A}
.dvc .bb-caret .ic{width:11px; height:11px; stroke-width:2.6}
/* модальные окна BBB: ширина 95%, скругление .2rem */
.dvc .bb-ov{position:absolute; inset:0; z-index:20; background:rgba(6,23,42,.75); opacity:0; transition:opacity .2s ease-in; pointer-events:none}
.dvc .m-audio .bb-ov,.dvc .m-aset .bb-ov,.dvc .m-cam .bb-ov,.dvc .m-sd .bb-ov{opacity:1; transition:opacity .3s var(--out)}
.dvc .dlg{position:absolute; z-index:21; left:10px; width:370px; border-radius:3.2px; background:#fff; color:#06172A; font-family:var(--bbb);
	opacity:0; transform:translateY(12px) scale(.965); transition:opacity .16s ease-in, transform .18s ease-in; pointer-events:none}
.dvc .m-audio .dlg-audio,.dvc .m-aset .dlg-aset,.dvc .m-cam .dlg-cam,.dvc .m-sd .dlg-sd{opacity:1; transform:none; transition:opacity .28s var(--out), transform .38s var(--out)}
/* «Детали сеанса» (session-details, 3.0.9): всплывает при первом входе, как только закрылось окно звука; у пациента — только приветствие */
.dvc .dlg-sd{top:92px; padding:16px; box-shadow:0 0 15px rgba(0,0,0,.5)}
.dvc .sd-chev{position:absolute; top:-10px; left:50%; margin-left:-10px; width:0; height:0; border-left:10px solid transparent; border-right:10px solid transparent; border-bottom:10px solid #fff}
.dvc .sd-h{display:grid; grid-template-columns:auto min-content; align-items:center; padding:8px 0; border-bottom:2px solid #A7B3BD}
.dvc .sd-t{padding:0 0 0 38px; font:500 16px/32px var(--bbb); color:#06172A; text-align:center}
.dvc .sd-x{width:38px; height:38px; border-radius:50%; display:grid; place-items:center; color:#4E5A66; transition:background .12s}
.dvc .sd-x.is-press{background:#E4ECF2}
.dvc .sd-x .ic{width:18px; height:18px; stroke-width:1.8}
.dvc .sd-c{padding:10px 10px 26px; font:400 16px/1.35 var(--bbb); color:#4E5A66; overflow-wrap:anywhere}
.dvc .dlg-x{position:absolute; right:15px; top:16px; width:39px; height:39px; display:grid; place-items:center; color:#4E5A66}
.dvc .dlg-x .ic{width:19px; height:19px; stroke-width:1.6}
.dvc .dlg-t{position:absolute; left:18px; right:18px; top:55px; font:500 16px/32px var(--bbb); color:#06172A; text-align:center}
.dvc .dlg-audio{top:190px; height:320px}
.dvc .au{position:absolute; top:111px; display:flex; flex-direction:column; align-items:center}
.dvc .au-mic{left:56px; width:108px} .dvc .au-lo{left:183px; width:129px}
.dvc .au-c{position:relative; width:108px; height:108px; border-radius:50%; background:#F1F8FF; color:#3C5764; display:grid; place-items:center; transition:transform .15s}
.dvc .au-c::after{content:""; position:absolute; inset:0; border-radius:50%; background:#D9E9FA; opacity:0; transition:opacity .12s}
.dvc .au-c.is-press{transform:scale(.94)}
.dvc .au-c.is-press::after{opacity:1}
.dvc .au-c .ic{position:relative; z-index:1; width:50px; height:50px; stroke-width:1.25}
.dvc .au b{margin-top:6px; font:600 16px/26px var(--bbb); color:#000; white-space:nowrap}
.dvc .dlg-aset{top:112px; height:476px}
.dvc .dlg-aset .dlg-t{top:50px}
.dvc .aset-note{position:absolute; left:24px; right:24px; top:92px; font:400 14px/20px var(--bbb); color:#4E5A66; text-align:center}
.dvc .aset-l{position:absolute; left:22px; font:600 13px/1 var(--bbb); color:#4E5A66}
.dvc .aset-sel{position:absolute; left:22px; right:22px; height:38px; display:flex; align-items:center; justify-content:space-between; padding:0 10px 0 12px; border:1px solid #D4D9DF; border-radius:3px; font:400 14.5px/1 var(--bbb); color:#06172A}
.dvc .aset-sel .ic{width:16px; height:16px; color:#4E5A66; stroke-width:2}
.dvc .aset-l1{top:166px} .dvc .aset-s1{top:184px} .dvc .aset-l2{top:236px} .dvc .aset-l3{top:284px} .dvc .aset-s2{top:302px} .dvc .aset-l4{top:354px}
.dvc .aset-test{position:absolute; left:22px; top:372px; height:34px; display:flex; align-items:center; gap:7px; padding:0 12px 0 10px; border:1px solid #D4D9DF; border-radius:3px; font:600 13px/1 var(--bbb); color:#4E5A66}
.dvc .aset-test .ic{width:15px; height:15px; stroke-width:2}
.dvc .aset-m{position:absolute; left:22px; right:22px; top:256px; height:10px; border-radius:5px; background:#E4ECF2; overflow:hidden}
.dvc .aset-fill{position:absolute; inset:0; border-radius:inherit; background:linear-gradient(90deg,#0F70D7,#54A1F3); transform-origin:left center; transform:scaleX(.04)}
.dvc .dlg-sep{position:absolute; left:16px; right:16px; height:1px; background:#D4D9DF}
.dvc .aset-sep{top:420px}
.dvc .dlg-btns{position:absolute; left:0; right:0; display:flex; justify-content:center; gap:15px}
.dvc .aset-btns{top:432px}
.dvc .btn2{height:35px; padding:0 14px; border-radius:2px; background:#fff; color:#4E5A66; font:600 13px/35px var(--bbb); white-space:nowrap}
.dvc .btn1{position:relative; height:35px; padding:0 18px; border-radius:2px; background:#0F70D7; color:#fff; font:600 13px/35px var(--bbb); white-space:nowrap; transition:transform .15s}
.dvc .btn1::after{content:""; position:absolute; inset:0; border-radius:inherit; background:#0A4B8F; opacity:0; transition:opacity .1s}
.dvc .btn1 span{position:relative; z-index:1}
.dvc .btn1.is-press{transform:scale(.95)}
.dvc .btn1.is-press::after{opacity:1}
.dvc .bb-find,.dvc .bb-conn{position:absolute; left:0; right:0; top:44px; bottom:0; z-index:2; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:24px; padding:0 34px 40px;
	background:#fff; color:#06172A; font:500 16px/1.45 var(--bbb); text-align:center; opacity:0; transition:opacity .25s}
.dvc .m-find .bb-find,.dvc .m-conn .bb-conn{opacity:1}
.dvc .bb-find .bb-dots i,.dvc .bb-conn .bb-dots i{background:#0F70D7}
.dvc .dlg-cam{top:113px; height:474px}
.dvc .cam-tabs{position:absolute; left:18px; right:18px; top:56px; display:grid; grid-template-columns:1fr 1px 1fr; gap:14px; align-items:center}
.dvc .cam-tab{display:flex; gap:9px; align-items:flex-start; font:700 15.5px/1.5 var(--bbb); color:#06172A}
.dvc .cam-tab .ic{flex:none; width:22px; height:22px; margin-top:1px}
.dvc .cam-tab--off{color:#A7B3BD}
.dvc .cam-div{width:1px; height:26px; background:#06172A}
.dvc .cam-pv{position:absolute; left:23px; top:150px; width:324px; height:243px; border-radius:4px; overflow:hidden; background:#000}
.dvc .cam-sep{top:409px}
.dvc .cam-btns{top:425px}
/* «Этот сеанс был завершен …» (meeting-ended, 3.0.9): окно 95% ширины, заголовок 20 px, текст 14 px, кнопка 48 px */
.dvc .bb-end{position:absolute; inset:0; z-index:30; display:grid; place-items:center; background:#06172A; opacity:0; transition:opacity .2s; pointer-events:none}
.dvc .m-end .bb-end{opacity:1; transition:opacity .45s var(--out)}
.dvc .end-card{width:370px; padding:20px; border-radius:3.2px; background:#fff; color:#06172A; text-align:center;
	opacity:0; transform:translateY(14px) scale(.97); transition:opacity .15s, transform .15s}
.dvc .m-end .end-card{opacity:1; transform:none; transition:opacity .35s var(--out) .15s, transform .45s var(--out) .15s}
.dvc .end-h{font:500 20px/1.3 var(--bbb); color:#06172A; text-wrap:balance}
.dvc .end-p{padding:16px 0; font:400 14px/1.25 var(--bbb); color:#4E5A66}
.dvc .end-ok{display:flex; align-items:center; justify-content:center; height:48px; margin:0 auto; padding:0 10px; min-width:60px; width:max-content; border-radius:2px; background:#0F70D7; color:#fff; font:600 16px/1 var(--bbb)}

/* ---------- нарисованные собеседники: вместо живого видео, лиц реальных людей нет ---------- */
.dvc .av{position:absolute; inset:0; display:block; overflow:hidden; background:#101826}
.dvc .av svg{position:absolute; inset:0; width:100%; height:100%; display:block}
.dvc .av-person,.dvc .av-head,.dvc .av-nod{position:absolute; inset:0; display:block}
.dvc .av-person{animation:dvc-breathe 4.8s ease-in-out infinite}
.dvc .av-head{transform-origin:50% 72%; animation:dvc-sway 6.5s ease-in-out infinite alternate}
.dvc .av-nod{transform-origin:50% 70%}
.dvc .av-eye{position:absolute; top:43.4%; width:2.1%; height:3.6%; border-radius:50%; background:#1B2230; transform:translate(-50%,-50%); animation:dvc-blink 5.3s infinite}
.dvc .tile-me .av-eye,.dvc .cam-pv .av-eye{animation-duration:6.4s}
.dvc .av-mouth{position:absolute; left:50%; top:55%; width:5.4%; height:3.9%; border-radius:18% 18% 50% 50% / 25% 25% 75% 75%; background:#7E2F3B; transform:translate(-50%,-50%) scale(.9,.3)}
.dvc .av::after{content:""; position:absolute; inset:0; pointer-events:none; background:radial-gradient(130% 100% at 50% 38%, transparent 58%, rgba(0,0,0,.26))}
.dvc .t-doc .tile-doc .av-mouth,.dvc .t-me .tile-me .av-mouth,.dvc .t-doc .lt-doc .av-mouth,.dvc .t-me .lt-me .av-mouth{animation:dvc-talk .8s linear infinite}
.dvc .t-doc .tile-doc .av-nod,.dvc .t-me .tile-me .av-nod,.dvc .t-doc .lt-doc .av-nod,.dvc .t-me .lt-me .av-nod{animation:dvc-speak 2.2s ease-in-out infinite}
.dvc .t-me .tile-doc .av-nod,.dvc .t-doc .tile-me .av-nod,.dvc .t-me .lt-doc .av-nod,.dvc .t-doc .lt-me .av-nod{animation:dvc-nod 2.4s ease-in-out infinite}
.dvc .av--still *{animation:none !important}

/* «палец» на телефоне */
.dvc .fg{position:absolute; left:0; top:0; z-index:80; width:54px; height:54px; margin:-27px 0 0 -27px; pointer-events:none; opacity:0; transition:transform .5s var(--io), opacity .22s ease}
.dvc .fg.is-on{opacity:1}
.dvc .fg-dot{position:absolute; inset:0; border-radius:50%; background:rgba(254,63,122,.24); box-shadow:inset 0 0 0 2.5px rgba(254,63,122,.95), 0 8px 20px rgba(4,10,21,.3); transition:transform .14s ease}
.dvc .fg.is-down .fg-dot{transform:scale(.78)}
.dvc .fg-ring{position:absolute; inset:0; border-radius:50%; box-shadow:inset 0 0 0 2px rgba(254,63,122,.9); opacity:0}
/* вариант 3: «нажмите сами» — пульс на том, что нужно нажать */
.dvc .dvc-want{position:absolute; z-index:79; left:0; top:0; width:64px; height:64px; margin:-32px 0 0 -32px; border-radius:50%; pointer-events:none; opacity:0; transition:opacity .25s}
.dvc .dvc-want.is-on{opacity:1}
.dvc .dvc-want::before,.dvc .dvc-want::after{content:""; position:absolute; inset:0; border-radius:50%; box-shadow:0 0 0 3px var(--pink); animation:dvc-want 1.6s var(--out) infinite}
.dvc .dvc-want::after{animation-delay:.8s}
.dvc .dvc-want b{position:absolute; left:50%; top:-34px; transform:translateX(-50%); padding:6px 10px; border-radius:999px; background:var(--pink); color:#fff; font:700 13px/1 var(--font); white-space:nowrap; box-shadow:0 8px 20px rgba(254,63,122,.35)}
.dvc .dvc-want.is-below b{top:auto; bottom:-34px}
.dvc[data-v="3"] .dvc-scr{cursor:pointer}

/* ---------- управление ---------- */
.dvc .dvc-ctrl{display:flex; flex-wrap:wrap; align-items:center; gap:10px; padding:14px 18px 20px}
.dvc .dvc-c{flex:none; display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:rgba(255,255,255,.07); box-shadow:inset 0 0 0 1px var(--gline); color:#fff}
.dvc .dvc-c svg{width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round}
.dvc .dvc-c:focus-visible,.dvc .dvc-st__b:focus-visible{outline:2px solid var(--teal-hi); outline-offset:2px}
.dvc .dvc-pp .i-play{display:none}
.dvc.is-user-paused .dvc-pp .i-play{display:block}
.dvc.is-user-paused .dvc-pp .i-pause{display:none}
.dvc .dvc-note{flex:1 1 100%; min-width:0; margin-top:2px; font:500 12px/1.4 var(--font); color:var(--ice-3)}
.dvc .dvc-ctrl .dvc-c:first-child{margin-left:auto} .dvc .dvc-ctrl .dvc-next{margin-right:auto}
@media (hover:hover){ .dvc .dvc-c:hover{background:rgba(255,255,255,.13)} }

/* ---------- компьютер ---------- */
@media (min-width:768px) and (max-width:991px){ .dvc .dvc-card{grid-template-columns:minmax(0,1fr) minmax(0,330px) !important} .dvc .dvc-h{font-size:26px} }
@media (min-width:768px){
	.dvc .dvc-card{grid-template-columns:minmax(0,1fr) minmax(0,540px); grid-template-rows:auto 1fr; column-gap:clamp(24px,3.5vw,56px); padding:clamp(28px,3.2vw,44px)}
	.dvc .dvc-side{grid-column:1; grid-row:1; padding:0}
	.dvc .dvc-ctrl{grid-column:1; grid-row:2; align-self:end; padding:18px 0 0; flex-wrap:nowrap}
	.dvc .dvc-stage{grid-column:2; grid-row:1 / span 2; align-self:start; position:sticky; top:24px; margin:0; aspect-ratio:auto; max-height:none; height:clamp(620px,82vh,800px); border-radius:24px}
	.dvc .dvc-ctrl .dvc-c:first-child{margin-left:0}
	.dvc .dvc-note{flex:1 1 auto; margin:0 0 0 4px}
	.dvc .dvc-seg,.dvc .dvc-prev,.dvc .dvc-next{display:none}
	.dvc .dvc-steps{display:flex; flex-direction:column; gap:2px; margin:24px 0 0}
	.dvc .dvc-st{grid-area:auto; opacity:1; pointer-events:auto}
	.dvc .dvc-st::before{content:""; position:absolute; inset:0; border-radius:16px; background:rgba(255,255,255,.065); box-shadow:inset 0 0 0 1px rgba(234,246,255,.12); opacity:0; transition:opacity .35s var(--out)}
	.dvc .dvc-st.is-on::before{opacity:1}
	.dvc .dvc-st__b{position:relative; padding:11px 14px 0; cursor:pointer; border-radius:14px}
	.dvc .dvc-st__n{font-size:13px; color:var(--ice-2); box-shadow:inset 0 0 0 1.5px rgba(234,246,255,.28)}
	.dvc .dvc-st__n::before{opacity:0; transition:opacity .35s}
	.dvc .dvc-st.is-on .dvc-st__n{color:#fff}
	.dvc .dvc-st.is-on .dvc-st__n::before{opacity:1}
	.dvc .dvc-st__t{font-size:17px; transition:opacity .35s}
	.dvc .dvc-st:not(.is-on) .dvc-st__t{opacity:.74}
	.dvc .dvc-st__d{position:relative; margin:3px 0 0; padding:0 16px 12px 55px; font-size:14px; line-height:1.45; transition:opacity .35s}
	.dvc .dvc-st:not(.is-on) .dvc-st__d{opacity:.5}
	.dvc .dvc-st__bar{display:block; position:absolute; left:55px; right:16px; bottom:6px; height:2px; border-radius:2px; background:linear-gradient(90deg,var(--teal),var(--pink)); transform-origin:left center; transform:scaleX(0); opacity:0; transition:opacity .3s}
	.dvc .dvc-st.is-on .dvc-st__bar{opacity:1}
	@media (hover:hover){ .dvc .dvc-st:not(.is-on):hover .dvc-st__t{opacity:1} }
}

/* всё стоит: пауза, блок не на экране, вкладка скрыта */
.dvc.is-still *,.dvc.is-still *::before,.dvc.is-still *::after{animation-play-state:paused !important}
.dvc.is-snap *,.dvc.is-snap *::before,.dvc.is-snap *::after{transition:none !important}

@keyframes dvc-rec{0%{transform:scale(1); opacity:.9} 80%,100%{transform:scale(3); opacity:0}}
@keyframes dvc-drift{from{transform:translate3d(0,0,0) scale(1.6)} to{transform:translate3d(-50px,40px,0) scale(1.85)}}
@keyframes dvc-float{from{transform:translateY(-4px)} to{transform:translateY(5px)}}
@keyframes dvc-bounce{0%,80%,100%{transform:scale(.4)} 40%{transform:scale(1)}}
@keyframes dvc-hint{0%{transform:scale(.85); opacity:.95} 100%{transform:scale(1.5); opacity:0}}
@keyframes dvc-want{0%{transform:scale(.7); opacity:1} 100%{transform:scale(1.35); opacity:0}}
@keyframes dvc-caret{50%{opacity:0}}
@keyframes dvc-blink{0%,93%,100%{transform:translate(-50%,-50%) scaleY(1)} 96%{transform:translate(-50%,-50%) scaleY(.1)}}
@keyframes dvc-talk{0%{transform:translate(-50%,-50%) scale(.9,.3)} 12%{transform:translate(-50%,-50%) scale(1,.95)} 24%{transform:translate(-50%,-50%) scale(.92,.45)} 38%{transform:translate(-50%,-50%) scale(1,1)} 52%{transform:translate(-50%,-50%) scale(.9,.35)} 66%{transform:translate(-50%,-50%) scale(.98,.8)} 80%{transform:translate(-50%,-50%) scale(.9,.4)} 100%{transform:translate(-50%,-50%) scale(.9,.3)}}
@keyframes dvc-sway{from{transform:rotate(-1.6deg)} to{transform:rotate(1.4deg)}}
@keyframes dvc-breathe{0%,100%{transform:translateY(0)} 50%{transform:translateY(-.9%)}}
@keyframes dvc-nod{0%,100%{transform:rotate(0)} 30%{transform:rotate(2.2deg) translateY(.6%)} 60%{transform:rotate(-.6deg)}}
@keyframes dvc-speak{0%,100%{transform:rotate(0)} 25%{transform:rotate(-1.2deg)} 50%{transform:rotate(.8deg)} 75%{transform:rotate(-.5deg)}}

/* «Уменьшить движение»: показываем ключевые кадры шагов без анимации (кроме черновика: там data-force-motion) */
@media (prefers-reduced-motion:reduce){
	.dvc:not(.dvc-force) *,.dvc:not(.dvc-force) *::before,.dvc:not(.dvc-force) *::after{animation:none !important; transition:none !important}
}

/* ---------- вариант 2: ноутбук врача (экран 1280×800: браузер 86 + BBB 1280×714, вид модератора, компьютер) ---------- */
.dvc .dvc-laptop{width:1460px; height:878px; z-index:0; isolation:isolate}   /* свои слои ноутбука не выходят поверх телефона */
.dvc.dvc-two .dvc-phone{z-index:1}
.dvc .lp-lid{position:absolute; left:72px; top:0; width:1316px; height:848px; border-radius:26px 26px 10px 10px;
	background:linear-gradient(160deg,#2B3442,#11161E 60%,#1C2330); box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.12), 0 60px 110px -50px rgba(0,0,0,.85)}
.dvc .lp-cam{position:absolute; left:50%; top:8px; width:7px; height:7px; margin-left:-3.5px; border-radius:50%; background:#0A0D12; box-shadow:inset 0 0 0 1.5px #2A3240}
.dvc .lp-scr{position:absolute; left:18px; top:22px; width:1280px; height:800px; overflow:hidden; background:#06172A; border-radius:3px}
.dvc .lp-base{position:absolute; left:0; top:844px; width:1460px; height:30px; border-radius:2px 2px 18px 18px; background:linear-gradient(180deg,#C9D1DB,#8D97A5 60%,#5D6673); box-shadow:0 30px 50px -20px rgba(0,0,0,.7)}
.dvc .lp-base::before{content:""; position:absolute; left:50%; top:0; width:220px; height:9px; margin-left:-110px; border-radius:0 0 10px 10px; background:#7B8593}
.dvc .lp-sleep{position:absolute; inset:0; z-index:70; background:linear-gradient(150deg,#0B1018,#04070B); transition:opacity 1s var(--out)}
.dvc .l-awake .lp-sleep{opacity:0}
.dvc .lp-chrome{position:absolute; left:0; top:0; width:1280px; height:86px; background:#fff; font-family:var(--sys); color:#1F1F1F}
.dvc .lp-tabs{height:40px; background:#DEE1E6; display:flex; align-items:flex-end; gap:6px; padding:0 10px 0 14px}
.dvc .lp-dots{display:flex; gap:8px; align-self:center; margin-right:14px}
.dvc .lp-dots i{width:12px; height:12px; border-radius:50%; background:#FF5F57}
.dvc .lp-dots i:nth-child(2){background:#FEBC2E} .dvc .lp-dots i:nth-child(3){background:#28C840}
.dvc .lp-tab{display:flex; align-items:center; gap:8px; width:280px; height:32px; padding:0 12px; border-radius:10px 10px 0 0; background:#fff; font:400 13px/1 var(--sys); white-space:nowrap; overflow:hidden}
.dvc .lp-tab b{margin-left:auto; padding-left:8px; font-weight:400; color:#5F6368}
.dvc .lp-fav{flex:none; width:16px; height:16px; border-radius:4px; background:linear-gradient(135deg,#283274,#0F70D7)}
.dvc .lp-plus{align-self:center; margin-left:4px; color:#5F6368; font:400 20px/1 var(--sys)}
.dvc .lp-bar{height:46px; display:flex; align-items:center; gap:14px; padding:0 12px; border-bottom:1px solid #DADCE0}
.dvc .lp-nav{display:flex; gap:14px; color:#5F6368}
.dvc .lp-nav .ic{width:18px; height:18px; stroke-width:2}
.dvc .lp-omni{flex:1; height:34px; border-radius:17px; background:#F1F3F4; display:flex; align-items:center; gap:8px; padding:0 14px; font:400 14px/1 var(--sys); color:#5F6368; white-space:nowrap; overflow:hidden}
.dvc .lp-omni b{font-weight:400; color:#1F1F1F}
.dvc .lp-omni .ic{width:14px; height:14px; stroke-width:2}
.dvc .lb{position:absolute; left:0; top:86px; width:1280px; height:714px; overflow:hidden; background:#06172A; color:#fff; font-family:var(--bbb)}
.dvc .lb-banner{position:absolute; left:0; top:0; width:1280px; height:34px; display:grid; place-items:center; background:#02B5BC; font:700 14px/1 var(--bbb)}
.dvc .lb-nav{position:absolute; left:0; top:34px; bottom:0; width:240px; padding:10px 0; background:#F3F6F9; color:#06172A}
.dvc .lb-sec{display:flex; align-items:center; justify-content:space-between; padding:14px 16px 8px; font:600 13px/1 var(--bbb); color:#4E5A66; text-transform:uppercase; letter-spacing:.02em}
.dvc .lb-sec b{font-weight:600}
.dvc .lb-sec .ic{width:16px; height:16px}
.dvc .lb-users{justify-content:flex-start; gap:4px}
.dvc .lb-users .ic{margin-left:auto}
.dvc .lb-item{display:flex; align-items:center; gap:10px; margin:0 8px; padding:9px 10px; border-radius:6px; font:400 15px/1 var(--bbb)}
.dvc .lb-item .ic{width:18px; height:18px; color:#4E5A66}
.dvc .lb-item.is-on{background:#E4ECF2}
.dvc .lb-user{display:flex; align-items:center; gap:12px; margin:0 8px; padding:8px 10px; font:400 15px/1.2 var(--bbb)}
.dvc .lb-un{min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.dvc .lb-un em{font-style:normal; color:#4E5A66}
.dvc .lb-av{position:relative; flex:none; width:34px; height:34px; border-radius:50%; display:grid; place-items:center; color:#fff; font:600 13px/1 var(--bbb)}
.dvc .lb-av--mod{border-radius:6px}
.dvc .lb-badge{position:absolute; right:-6px; bottom:-6px; width:18px; height:18px; border-radius:50%; background:#DF2721; color:#fff; display:grid; place-items:center; box-shadow:0 0 0 2px #F3F6F9}
.dvc .lb-badge.is-on,.dvc .lb-badge--on{background:#008081}
.dvc .lb-badge .ic{width:11px; height:11px; stroke-width:2.2}
.dvc .lb-user--pat{opacity:0; transform:translateY(-6px); transition:opacity .4s, transform .5s var(--out)}
.dvc .l-pat .lb-user--pat{opacity:1; transform:none}
.dvc .lb-chat{position:absolute; left:240px; top:34px; bottom:0; width:340px; background:#fff; color:#06172A; border-left:1px solid #E4ECF2}
.dvc .lb-chat header{display:flex; align-items:center; justify-content:space-between; height:56px; padding:0 14px 0 18px; border-bottom:1px solid #E4ECF2; font:500 17px/1 var(--bbb)}
.dvc .lb-chat header b{font-weight:500}
.dvc .lb-chat header span{display:flex; gap:12px; color:#4E5A66}
.dvc .lb-chat header .ic{width:18px; height:18px}
.dvc .lb-msgs{padding:16px 18px}
.dvc .lb-welcome{padding:10px 12px; border-radius:6px; background:#F3F6F9; font:400 14px/1.35 var(--bbb); color:#4E5A66; overflow-wrap:anywhere}
.dvc .lb-chat footer{position:absolute; left:14px; right:14px; bottom:14px; display:flex; gap:8px; align-items:center}
.dvc .lb-input{flex:1; height:42px; display:flex; align-items:center; padding:0 12px; border:1px solid #D4D9DF; border-radius:4px; font:400 14px/1 var(--bbb); color:#8B9AA8}
.dvc .lb-send{width:42px; height:42px; border-radius:4px; background:#0F70D7; color:#fff; display:grid; place-items:center}
.dvc .lb-send .ic{width:18px; height:18px}
.dvc .lb-media{position:absolute; left:580px; top:34px; bottom:0; width:700px}
.dvc .lb-top{position:absolute; left:0; right:0; top:0; height:60px; padding:12.8px 12.8px 0; display:flex; align-items:center; gap:10px}
.dvc .lb-tog{flex:none; width:38px; height:38px; border-radius:50%; display:grid; place-items:center; box-shadow:inset 0 0 0 1px rgba(255,255,255,.45)}
.dvc .lb-tog .ic{width:20px; height:20px}
.dvc .lb-title{flex:0 1 auto; display:flex; align-items:center; min-width:0; max-width:300px; margin-left:auto; font:400 16px/24px var(--bbb)}
.dvc .lb-title span{min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.dvc .lb-title svg{flex:none; width:12px; height:12px; margin:0 8px; fill:none; stroke:#fff; stroke-width:2.4}
.dvc .lb-rec{flex:none; display:flex; align-items:center; margin-right:auto}
.dvc .lb-sep{font-style:normal; color:#4E5A66; margin:0 14px}
.dvc .lb-recb{display:flex; align-items:center; gap:8px; padding:3px 7px 3px 5px; border-radius:10px; background:#AE1010; box-shadow:0 0 0 3px #AE1010; font:400 16px/18px var(--bbb); font-variant-numeric:tabular-nums}
.dvc .lb-recb i{position:relative; width:18px; height:18px; border-radius:50%; box-shadow:inset 0 0 0 2px #fff}
.dvc .lb-recb i::after{content:""; position:absolute; inset:4.5px; border-radius:50%; background:#fff}
.dvc[data-rec="0"] .lb-rec{display:none}
.dvc .lb-right{flex:none; display:flex; align-items:center; gap:8px}
.dvc .lb-stat{width:34px; height:34px; border-radius:50%; background:#0C7E7F; display:grid; place-items:center}
.dvc .lb-stat svg{width:15px; height:13px; fill:#fff}
.dvc .lb-leave{width:52px; height:36px; margin-left:8px; border-radius:1.1rem; background:#DF2721; display:grid; place-items:center; transition:transform .12s, filter .12s}
.dvc .lb-leave.is-press{transform:scale(.93); filter:brightness(.88)}
.dvc .lb-leave .ic{width:20px; height:20px; stroke-width:2}
.dvc .lb-more{width:36px; height:36px; display:grid; place-items:center}
.dvc .lb-more .ic{width:22px; height:22px}
.dvc .lb-talk{position:absolute; left:13px; top:58px; display:flex; align-items:center; gap:8px; max-width:220px; padding:2px 12px 2px 6px; border-radius:2rem; background:#0F70D7;
	font:400 16px/20px var(--bbb); color:#fff; opacity:0; transition:opacity .2s}
.dvc .lb-talk span{min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.dvc .lb-talk i{flex:none; width:18px; height:18px; border-radius:50%; background:#008081; display:grid; place-items:center}
.dvc .lb-talk i .ic{width:11px; height:11px; stroke-width:2.4}
.dvc .lb-talk.is-on{opacity:1}
.dvc .lb-talk.is-spoke{opacity:.5}
.dvc .lb-vid{position:absolute; left:0; top:85px; width:700px; height:531px}
.dvc .lt{position:absolute; left:0; top:0; width:680px; height:510px; border-radius:10px; overflow:hidden; background:#000; transform-origin:0 0; transition:transform .7s var(--io), opacity .45s var(--out)}
.dvc .lt::after{content:""; position:absolute; inset:0; z-index:4; border-radius:10px; box-shadow:inset 0 0 0 3px #0F70D7; opacity:0; transition:opacity .1s}
.dvc .dvc-laptop.t-doc .lt-doc::after,.dvc .dvc-laptop.t-me .lt-me::after{opacity:1}
.dvc .lt-me{opacity:0}
.dvc .l-me .lt-me{opacity:1}
.dvc .lt-me .av-slot{opacity:0; transition:opacity .6s}
.dvc .l-me-live .lt-me .av-slot{opacity:1}
.dvc .l-me-live .lt-me .tile-conn{opacity:0}
.dvc .lt .tile-nm{left:12px; bottom:12px; padding:6px 12px 6px 8px; font-size:22px; gap:6px}
.dvc .lt .tile-nm .ic{width:22px; height:22px}
.dvc .lt .tile-conn{font-size:28px}
.dvc .lb-bar{position:absolute; left:0; right:0; bottom:0; height:64px; display:flex; align-items:center; padding:0 12px}
.dvc .lbb{flex:none; width:42px; height:42px; border-radius:50%; background:#fff; color:#4E5A66; display:grid; place-items:center}
.dvc .lbb.is-on,.dvc .lbb-plus{background:#0F70D7; color:#fff}
.dvc .lbb .ic{width:22px; height:22px; stroke-width:1.7}
.dvc .lbb-c{flex:1; display:flex; justify-content:center; gap:12px}
.dvc .lb-menu{position:absolute; right:52px; top:58px; z-index:5; width:280px; padding:6px 0; border-radius:4px; background:#fff; color:#06172A; box-shadow:0 8px 28px rgba(0,0,0,.35);
	opacity:0; transform:translateY(-6px); transition:opacity .15s, transform .2s}
.dvc .l-menu .lb-menu{opacity:1; transform:none}
.dvc .lb-mi{display:flex; align-items:center; gap:12px; padding:13px 16px; font:400 16px/1 var(--bbb); transition:background .12s}
.dvc .lb-mi .ic{width:20px; height:20px; color:#4E5A66}
.dvc .lb-mi.is-press{background:#E4ECF2}
.dvc .lb-ov{position:absolute; inset:0; z-index:8; background:rgba(6,23,42,.75); opacity:0; transition:opacity .25s}
.dvc .l-modal .lb-ov{opacity:1}
.dvc .lb-modal{position:absolute; z-index:9; left:340px; top:150px; width:600px; padding:16px; border-radius:3.2px; background:#fff; color:#06172A; box-shadow:0 0 15px rgba(0,0,0,.5);
	opacity:0; transform:translateY(12px) scale(.97); transition:opacity .2s, transform .3s var(--out)}
.dvc .l-modal .lb-modal{opacity:1; transform:none}
.dvc .lb-mh{display:grid; grid-template-columns:auto min-content; align-items:center; padding:8px 0; border-bottom:2px solid #A7B3BD}
.dvc .lb-mt{padding-left:38px; font:500 20.8px/32px var(--bbb); text-align:center; overflow-wrap:anywhere}
.dvc .lb-mh span{width:38px; height:38px; display:grid; place-items:center; color:#4E5A66}
.dvc .lb-mh .ic{width:19px; height:19px}
.dvc .lb-md{margin:16px 8px 24px; font:400 16px/1.25 var(--bbb); color:#4E5A66; text-align:center}
.dvc .lb-mf{display:flex; justify-content:center; gap:12px; margin-bottom:9.6px}
.dvc .lb-yes{height:42px; padding:0 24px; border-radius:2px; background:#DF2721; color:#fff; font:600 15px/42px var(--bbb); transition:transform .12s, filter .12s}
.dvc .lb-yes.is-press{transform:scale(.96); filter:brightness(.86)}
.dvc .lb-no{height:42px; padding:0 24px; border-radius:2px; background:#fff; color:#4E5A66; font:600 15px/42px var(--bbb); box-shadow:inset 0 0 0 1px #D4D9DF}
.dvc .lb-end{position:absolute; inset:0; z-index:20; display:grid; place-items:center; background:#06172A; opacity:0; transition:opacity .45s var(--out)}
.dvc .l-end .lb-end{opacity:1}
.dvc .lb-endc{width:600px; padding:20px; border-radius:3.2px; background:#fff; color:#06172A; text-align:center}
.dvc .lb-eh{font:500 20px/1.3 var(--bbb)}
.dvc .lb-ep{padding:16px 0; font:400 16px/1.25 var(--bbb); color:#4E5A66}
.dvc .lb-endb{display:inline-flex; align-items:center; justify-content:center; height:48px; min-width:60px; padding:0 10px; border-radius:2px; background:#0F70D7; color:#fff; font:600 16px/1 var(--bbb)}
.dvc .lb-endb--dash{background:#fff; color:#4E5A66; box-shadow:inset 0 0 0 1px #D4D9DF}
.dvc .lb-endb .ic{width:22px; height:22px}
.dvc .lp-cur{position:absolute; left:0; top:0; z-index:60; width:22px; height:33px; pointer-events:none; transform:translate(980px,520px)}
.dvc .lp-cur svg{width:100%; height:100%; display:block; filter:drop-shadow(0 2px 3px rgba(0,0,0,.35)); transform-origin:2px 2px; transition:transform .12s}
.dvc .lp-cur.is-down svg{transform:scale(.86)}

/* вариант 2 на компьютере: широкая сцена — заголовок, сцена во всю ширину карточки, шаги под ней (общий план с ноутбуком и телефоном); заставку главной не трогает.
   С 992 px — как контейнеры страницы видеообращения (960/1140/1320) */
@media (min-width:992px){
	.dvc.dvc-two:not(.dvc-teaser) .dvc-card{grid-template-columns:repeat(4,minmax(0,1fr)); grid-template-rows:none; column-gap:10px}
	.dvc.dvc-two:not(.dvc-teaser) .dvc-side{display:contents}
	.dvc.dvc-two:not(.dvc-teaser) .dvc-kicker{grid-column:1 / -1; justify-self:start}
	.dvc.dvc-two:not(.dvc-teaser) .dvc-h,.dvc.dvc-two:not(.dvc-teaser) .dvc-lead{grid-column:1 / -1}
	.dvc.dvc-two:not(.dvc-teaser) .dvc-stage{order:1; grid-column:1 / -1; grid-row:auto; position:relative; top:auto !important; height:clamp(500px,48vw,620px) !important; margin:22px 0 0}
	.dvc.dvc-two:not(.dvc-teaser) .dvc-steps{order:2; grid-column:1 / -1; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:2px 8px; margin:16px 0 0}
	.dvc.dvc-two:not(.dvc-teaser) .dvc-st__d{padding-right:10px}
	.dvc.dvc-two:not(.dvc-teaser) .dvc-ctrl{order:3; grid-column:1 / -1; grid-row:auto; padding-top:12px}
}

/* на сайте в телефоне: телефон целиком в рамке iPhone, без наездов камеры (решение владельца 27.10.2026) */
.dvc.dvc-mock .dvc-stage{width:min(340px,100%); aspect-ratio:414 / 880; max-height:none; margin:18px auto 0}
@media (min-width:768px){ .dvc.dvc-mock .dvc-stage{width:auto; aspect-ratio:auto; margin:0} }

/* что не видно — не анимируем: меньше работы на кадр, плавнее на телефоне */
.dvc .dvc-scr:not(.s-sf) .dvc-bbb .av *,.dvc .dvc-scr:not(.m-cam) .cam-pv .av *,.dvc .dvc-scr:not(.v-me-live) .tile-me .av *,.dvc .dvc-laptop:not(.l-awake) .av *,.dvc .dvc-laptop:not(.l-me-live) .lt-me .av *{animation-play-state:paused}

/* телефон (до 768 px), макет iPhone: как в «историях» — полоски шагов и плашка «номер — шаг» над телефоном,
   под ним — подпись-инструкция текущего шага, ниже кнопки. От 768 px шаги слева списком, плашка не нужна */
.dvc .dvc-hud{display:none}
@media (max-width:767px){
	.dvc.dvc-mock .dvc-hud{display:block; position:absolute; left:16px; right:16px; top:12px; z-index:3; pointer-events:none}
	.dvc.dvc-mock .dvc-side{display:contents}
	.dvc.dvc-mock .dvc-side > *{margin-left:20px; margin-right:20px}
	.dvc.dvc-mock .dvc-kicker{justify-self:start; margin-top:26px}
	.dvc.dvc-mock .dvc-seg{display:none}
	.dvc.dvc-mock .dvc-stage{order:1}
	.dvc.dvc-mock .dvc-steps{order:2; margin-top:16px}
	.dvc.dvc-mock .dvc-ctrl{order:3}
	.dvc.dvc-mock .dvc-st__b{display:none}
	.dvc.dvc-mock .dvc-st__d{margin:0; text-align:center; font-size:15px; line-height:1.5; color:var(--ice-2); text-wrap:balance}
}
.dvc .dvc-hbars{display:flex; gap:4px}
.dvc .dvc-hbars i{position:relative; flex:1; height:3px; border-radius:2px; background:rgba(234,246,255,.2); overflow:hidden}
.dvc .dvc-hbars b{position:absolute; inset:0; border-radius:inherit; background:linear-gradient(90deg,var(--teal),var(--pink)); transform-origin:left center; transform:scaleX(0)}
.dvc .dvc-hchip{display:flex; align-items:center; gap:9px; width:max-content; max-width:100%; margin:11px auto 0; padding:5px 14px 5px 5px; border-radius:999px;
	background:#fff; box-shadow:0 14px 34px -18px rgba(0,0,0,.6); color:#0E1A2B; font:700 14px/1.2 var(--font)}
.dvc .dvc-hchip b{flex:none; width:24px; height:24px; border-radius:50%; display:grid; place-items:center; background:#007A80; color:#fff; font:800 12px/1 var(--font); box-shadow:0 0 0 4px rgba(2,181,188,.16)}
.dvc .dvc-hchip span{min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.dvc .dvc-hchip{transition:opacity .18s ease, transform .3s var(--out)}
.dvc .dvc-hchip.is-swap{opacity:0; transform:translateY(-5px) scale(.96)}   /* плашка гаснет целиком — без пустой капсулы и прыжка ширины */
@media (max-width:767px){ .dvc.dvc-mock .dvc-stage{aspect-ratio:414 / 950} }

/* вариант 2: мягкая тень под ноутбуком, блик на спящем экране */
.dvc .lp-shadow{position:absolute; left:40px; right:40px; top:858px; height:70px; border-radius:50%; background:radial-gradient(50% 50% at 50% 40%, rgba(0,0,0,.5), rgba(0,0,0,0) 72%); pointer-events:none}
.dvc .lp-sleep::after{content:""; position:absolute; inset:0; background:linear-gradient(118deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.02) 28%, transparent 46%)}

/* без скрипта (или старый браузер): сцены нет, все шаги — списком */
.dvc:not(.dvc-on) .dvc-stage,.dvc:not(.dvc-on) .dvc-seg,.dvc:not(.dvc-on) .dvc-ctrl .dvc-c{display:none}
.dvc:not(.dvc-on) .dvc-steps{display:flex; flex-direction:column; gap:14px; margin-top:20px}
.dvc:not(.dvc-on) .dvc-st{opacity:1; pointer-events:auto}

/* ---------- заставка для главной: «приквел» к разбору на /video-appeal/ (teaser.js). Весь блок — ссылка ---------- */
.dvc.dvc-teaser{position:relative; display:block; margin:0; color:var(--ice); text-decoration:none; border-radius:34px; cursor:pointer; -webkit-tap-highlight-color:transparent}
.dvc.dvc-teaser:focus-visible{outline:3px solid var(--teal-hi); outline-offset:4px}
/* сцена заставки видна и до скрипта (место под неё занято сразу — страница не прыгает), без скрипта — тёмная «афиша» с ▶ */
.dvc.dvc-teaser .dvc-stage{display:block; position:relative; top:auto; grid-column:auto; grid-row:auto; align-self:auto; margin:0; width:100%; height:auto; aspect-ratio:440 / 600; max-height:none; border-radius:34px;
	background:radial-gradient(420px 320px at 50% 36%,rgba(2,181,188,.3),transparent 70%),radial-gradient(300px 220px at 10% 100%,rgba(254,63,122,.18),transparent 70%),linear-gradient(170deg,#12294A,#060F20);
	box-shadow:0 44px 90px -44px rgba(11,27,51,.7), inset 0 0 0 1px rgba(255,255,255,.07)}
@media (max-width:899px){ .dvc.dvc-teaser .dvc-stage{aspect-ratio:360 / 680; max-height:720px} }   /* телефон: iPhone крупно, под ним кнопка; на планшете не выше 720 */
.dvc.dvc-teaser .dvc-hud{display:none}
.dvc.dvc-tz-slides .dvc-hud{display:block; position:absolute; left:18px; right:18px; top:14px; z-index:3; pointer-events:none}
.dvc .dvc-tzo{position:absolute; inset:0; z-index:4; display:none; border-radius:34px; pointer-events:none}
/* «Афиша»: как ролик на паузе — кнопка ▶ и подпись; на компьютере сверху заголовок над ноутбуком */
.dvc.dvc-tz-poster .dvc-tzo--poster,.dvc.dvc-teaser:not(.dvc-on)[data-teaser="poster"] .dvc-tzo--poster{display:block; background:linear-gradient(180deg, rgba(6,15,32,0) 52%, rgba(6,15,32,.62))}
.dvc .dvc-tzt{position:absolute; left:26px; right:26px; top:26px; display:grid; gap:10px}
.dvc .dvc-tzt i{justify-self:start; display:inline-flex; align-items:center; gap:8px; padding:6px 12px 6px 10px; border-radius:999px; background:rgba(255,255,255,.08); box-shadow:inset 0 0 0 1px var(--gline); font:600 12px/1 var(--font); color:var(--ice-2)}
.dvc .dvc-tzt i::before{content:""; width:8px; height:8px; border-radius:50%; background:#FF5A5F; box-shadow:0 0 0 3px rgba(255,90,95,.22)}
.dvc .dvc-tzt b{font:800 27px/1.07 var(--font); letter-spacing:-.025em; color:#fff; text-wrap:balance}
.dvc.dvc-tz-poster.dvc-mock .dvc-tzt{display:none}
/* ▶ — по центру кадра (--tzdy из call.js): на компьютере — над ноутбуком, на телефоне — между врачом и пациентом */
.dvc .dvc-tzplay{--p:84px; position:absolute; left:50%; top:calc(50% + var(--tzdy, 0px)); width:var(--p); height:var(--p); margin:calc(var(--p) / -2) 0 0 calc(var(--p) / -2);
	border-radius:50%; background:#fff; display:grid; place-items:center; box-shadow:0 22px 50px -10px rgba(0,0,0,.55); transition:transform .35s var(--out)}
@media (max-width:899px){ .dvc .dvc-tzplay{--p:clamp(62px, 18vw, 76px)} }
.dvc .dvc-tzplay::before{content:""; position:absolute; inset:-10px; border-radius:50%; box-shadow:inset 0 0 0 2px rgba(255,255,255,.6); animation:dvc-tzring 2.4s var(--out) infinite}
.dvc .dvc-tzplay svg{width:36%; height:36%; margin-left:6%; fill:var(--pink)}
.dvc .dvc-tzlbl,.dvc .dvc-tzbtn{position:absolute; left:50%; bottom:18px; transform:translateX(-50%); display:inline-flex; align-items:center; gap:8px; white-space:nowrap; padding:12px 18px; border-radius:999px;
	background:#fff; color:#0E1A2B; font:700 14px/1 var(--font); box-shadow:0 14px 34px -14px rgba(0,0,0,.6); transition:transform .3s var(--out), background .2s}
.dvc .dvc-tzlbl svg,.dvc .dvc-tzbtn svg{width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round}
.dvc .dvc-tzlbl em{font-style:normal; color:#6A7A90; font-weight:600}
/* «За минуту до звонка»: стоп-кадр, когда комната открылась, и карточка «Что будет дальше?» */
.dvc.dvc-tz-prequel .dvc-tzo--pre{display:grid; align-items:end; justify-items:center; padding:0 16px 18px; background:rgba(6,15,32,0); transition:background .5s}
.dvc.dvc-tz-prequel.tz-freeze .dvc-tzo--pre{background:rgba(6,15,32,.52)}
.dvc .dvc-tzcard{display:grid; gap:7px; width:100%; max-width:340px; padding:17px 18px 16px; border-radius:20px; background:#fff; color:#0E1A2B; box-shadow:0 24px 60px -18px rgba(0,0,0,.65);
	opacity:0; transform:translateY(16px) scale(.98); transition:opacity .3s, transform .5s var(--out)}
.dvc.tz-freeze .dvc-tzcard{opacity:1; transform:none}
.dvc .dvc-tzcard b{font:800 19px/1.2 var(--font); letter-spacing:-.01em}
.dvc .dvc-tzcard > span{font:500 14px/1.45 var(--font); color:#44546A}
.dvc .dvc-tzcard i{display:inline-flex; align-items:center; gap:6px; margin-top:3px; font:700 14.5px/1 var(--font); color:#007A80}
.dvc .dvc-tzcard i svg{width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round}
.dvc .dvc-lnk.is-glow::before{opacity:1; animation:dvc-glow 1.1s var(--out) infinite}
/* «Оглавление»: полоски и плашка шага сверху, кнопка снизу */
.dvc.dvc-tz-slides .dvc-tzo--slides{display:block}
/* нажатие пальцем: карточка чуть проседает */
.dvc.dvc-teaser{transition:transform .35s var(--out)}
.dvc.dvc-teaser:active{transform:scale(.985); transition-duration:.12s}
@media (prefers-reduced-motion:reduce){ .dvc.dvc-teaser:not(.dvc-force){transition:none} .dvc.dvc-teaser:not(.dvc-force):active{transform:none} }
@media (hover:hover){
	.dvc.dvc-teaser:hover .dvc-tzplay{transform:scale(1.08)}
	.dvc.dvc-teaser:hover .dvc-tzlbl,.dvc.dvc-teaser:hover .dvc-tzbtn{transform:translateX(-50%) translateY(-2px)}
}
@keyframes dvc-tzring{0%{transform:scale(.92); opacity:.95} 100%{transform:scale(1.4); opacity:0}}
@keyframes dvc-glow{0%,100%{box-shadow:0 0 0 0 rgba(11,122,129,.0)} 50%{box-shadow:0 0 0 6px rgba(11,122,129,.18)}}
