/* Личный сайт Владислава Двойневского для клиентов с Профи.ру.
   Стиль новых КП агентства (nevsky-kp-pro / nevsky-kp-ads-pro): белый лист,
   Onest, пометки от руки (Caveat), рисованные стрелки, обводки, галочки,
   мокапы браузера и iPhone, крупные цифры без плашек. Тёмный блок только
   для итога и «Как начать». */

@font-face { font-family: Onest; font-weight: 400 700; font-display: swap; src: url(fonts/onest-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Onest; font-weight: 400 700; font-display: swap; src: url(fonts/onest-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Caveat; font-weight: 400; font-display: swap; src: url(fonts/caveat-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Caveat; font-weight: 400; font-display: swap; src: url(fonts/caveat-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: Caveat; font-weight: 600; font-display: swap; src: url(fonts/caveat-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Caveat; font-weight: 600; font-display: swap; src: url(fonts/caveat-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Bad Script"; font-weight: 400; font-display: swap; src: url(fonts/bad-script-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Bad Script"; font-weight: 400; font-display: swap; src: url(fonts/bad-script-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --ink2: #48484a;
  --mut: #6e6e73;
  --cap: #8e8e93;
  --line: #ececf0;
  --soft: #f5f5f7;
  --acc: #2f6bff;
  --acc-l: #c9d8ff;
  --acc-xl: #e8efff;
  --pen: #2f5bea;
  --red: #e0383e;
  --green: #1f9d57;
  --yellow: #ffc53d;
  --mark: #ffe68a;
  --letter: #24346b;
  --dark: #1d1d1f;
  --w: 1120px;
  --g: 24px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: Onest, system-ui, sans-serif; color: var(--ink); background: #fff; font-size: 17px; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.wrap { max-width: calc(var(--w) + 2 * var(--g)); margin: 0 auto; padding: 0 var(--g); }
.nb { white-space: nowrap; }

/* ---------- шапка ---------- */
.top { position: sticky; top: 0; z-index: 40; background: #fff; transition: box-shadow .2s; }
.top.sh { box-shadow: 0 1px 0 var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.me { display: flex; align-items: center; gap: 12px; min-width: 0; }
.me img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.me b { display: block; font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.me span { display: block; font-size: 13px; color: var(--mut); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; color: var(--ink2); }
.nav a:hover { color: var(--acc); }
.top-r { display: flex; align-items: center; gap: 14px; }
.pr { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink2); white-space: nowrap; }
.pr .st { color: #ffb300; letter-spacing: 1px; }
.pr b { color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 25px; background: var(--acc); color: #fff; font-size: 16px; font-weight: 600; white-space: nowrap; transition: background .15s, transform .15s; }
.btn:hover { background: #1f5bf0; }
.btn:active { transform: scale(.98); }
.btn.sm { height: 40px; padding: 0 18px; font-size: 14px; border-radius: 20px; }
.btn.ghost { background: var(--soft); color: var(--ink); }
.btn.ghost:hover { background: #ebebef; }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: #eef1f8; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- общий текст ---------- */
section { padding: 110px 0 0; }
@media (min-width: 761px) and (min-height: 640px) {
  section.scr { min-height: calc(100svh - 68px); padding: 36px 0; display: flex; flex-direction: column; justify-content: center; }
  section.scr + section.scr { padding-top: 36px; }
  section.scr > .wrap { width: 100%; }
  html { scroll-padding-top: 68px; }
  .hero.scr { padding-top: 36px; }
}
.sec-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 44px; }
.sec-cta .hw.inl { font-size: 26px; }
.kick { font-size: 13px; font-weight: 600; color: var(--acc); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 12px; }
h1 { font-size: 58px; line-height: 1.04; font-weight: 600; letter-spacing: -1.6px; margin-bottom: 20px; }
h2 { font-size: 42px; line-height: 1.08; font-weight: 600; letter-spacing: -1px; margin-bottom: 14px; max-width: 900px; }
h3 { font-size: 26px; line-height: 1.15; font-weight: 600; letter-spacing: -.4px; margin-bottom: 10px; }
.lead { font-size: 19px; color: var(--ink2); max-width: 720px; margin-bottom: 40px; }
.cap { font-size: 13px; color: var(--cap); line-height: 1.45; }
.mut { color: var(--mut); }
.big { font-size: 46px; font-weight: 600; letter-spacing: -1.2px; line-height: 1.02; white-space: nowrap; }
.big small { font-size: 22px; letter-spacing: -.3px; font-weight: 600; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 10px; vertical-align: 2px; white-space: nowrap; }
.t-b { background: var(--acc-xl); color: var(--acc); }
.t-g { background: #ddf3e6; color: #1c7c4a; }
.t-y { background: #fff1c9; color: #8a6200; }
.t-r { background: #fdecec; color: #c4373c; }

/* ---------- сцена: всё внутри масштабируется вместе с шириной ---------- */
.stage { position: relative; container-type: inline-size; width: 100%; aspect-ratio: var(--dw, 1000) / var(--dh); }
.stage > * { --u: calc(100cqw / var(--dw, 1000)); }
.abs { position: absolute; left: calc(var(--x, 0) * var(--u)); top: calc(var(--y, 0) * var(--u)); width: calc(var(--w) * var(--u)); }
.stage > svg.ink { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 6; }
svg.ink path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

/* пометка от руки */
.hw { font-family: Caveat, cursive; font-weight: 400; color: var(--pen); line-height: 1.04; white-space: nowrap; z-index: 7; }
.stage > .hw { position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); font-size: calc(var(--f, 30) * var(--u)); transform: rotate(var(--r, -2deg)); transform-origin: left top; }
.hw.red { color: var(--red); font-weight: 600; }
.hw.green { color: var(--green); }
.hw.grey { color: var(--mut); }
.hw.yellow { color: var(--yellow); font-weight: 600; }
.hw .w { display: inline-block; }
.hw.inl { display: inline-block; font-size: 26px; transform: rotate(var(--r, -2deg)); }
.mnotes { display: none; }

/* браузер и телефон */
.shot { border-radius: calc(12 * var(--u)); overflow: hidden; background: #fff; box-shadow: 0 calc(16 * var(--u)) calc(44 * var(--u)) rgba(20, 30, 50, .16), 0 0 0 1px rgba(0, 0, 0, .06); }
.shot .bar { height: calc(30 * var(--u)); background: #f1f1f4; display: flex; align-items: center; gap: calc(7 * var(--u)); padding-left: calc(14 * var(--u)); }
.shot .bar i { width: calc(10 * var(--u)); height: calc(10 * var(--u)); border-radius: 50%; background: #d5d5da; }
.shot .bar span { margin-left: calc(14 * var(--u)); font-size: calc(13 * var(--u)); color: var(--cap); white-space: nowrap; }
.shot img, .shot video { width: 100%; height: auto; }
.shot .crop { overflow: hidden; }
.shot .crop img { width: 100%; }
/* телефон: iPhone в титановой рамке. Размер задаёт --pw, внутренности экрана в cqw.
   Строку состояния, вырез, кнопки и полоску «домой» дорисовывает site.js. */
.iph { --pw: 230px; position: relative; width: var(--pw); flex: none; padding: calc(var(--pw) * .013); border-radius: calc(var(--pw) * .175); background: linear-gradient(140deg, #5b5b60 0%, #2a2a2e 22%, #3d3d42 50%, #232326 78%, #4a4a4f 100%); box-shadow: 0 calc(var(--pw) * .09) calc(var(--pw) * .18) rgba(15, 25, 45, .24), 0 calc(var(--pw) * .02) calc(var(--pw) * .04) rgba(15, 25, 45, .18); }
.iph .bz { background: #000; padding: calc(var(--pw) * .028); border-radius: calc(var(--pw) * .162); }
.iph .scr { position: relative; overflow: hidden; container-type: inline-size; border-radius: calc(var(--pw) * .135); aspect-ratio: 393 / 852; background: var(--sb, #fff); }
.iph .scr > img { width: 100%; height: calc(100% - 13.4cqw); object-fit: cover; object-position: top; display: block; }
.shot img, .iph img, .photo img, .team-pic img { pointer-events: none; -webkit-user-drag: none; user-select: none; }
.iph .sbar { position: relative; height: 13.4cqw; background: var(--sb, #fff); color: #000; }
.iph .scr.night .sbar { color: #fff; }
.iph .sbar .tm { position: absolute; left: 0; width: 34cqw; top: 4.9cqw; text-align: center; font: 600 4.3cqw/1 -apple-system, "SF Pro Text", Onest, sans-serif; letter-spacing: -.1cqw; }
.iph .sbar svg { position: absolute; right: 6.2cqw; top: 5.3cqw; width: 17.6cqw; height: 3.2cqw; fill: currentColor; }
.iph .island { position: absolute; z-index: 3; left: 50%; top: 2.9cqw; width: 31.5cqw; height: 9.3cqw; transform: translateX(-50%); background: #000; border-radius: 99px; }
.iph .home { position: absolute; z-index: 3; left: 50%; bottom: 2.1cqw; width: 34cqw; height: 1.3cqw; transform: translateX(-50%); border-radius: 99px; background: rgba(0, 0, 0, .82); }
.iph .scr.night .home { background: rgba(255, 255, 255, .85); }
.iph .btn-s { position: absolute; width: calc(var(--pw) * .013); border-radius: 2px; background: linear-gradient(90deg, #2a2a2e, #56565b); }
.iph .btn-s.l { left: calc(var(--pw) * -.009); }
.iph .btn-s.r { right: calc(var(--pw) * -.009); background: linear-gradient(90deg, #56565b, #2a2a2e); }

/* ---------- первый экран ---------- */
.hero { padding: 40px 0 0; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--acc); }
.hero .lead { margin-bottom: 30px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--mut); }
.nums { display: flex; gap: 34px; margin-top: 48px; }
.nums .num .cap { max-width: 175px; }
.nums .big { font-size: 36px; }
.nums .big small { font-size: 18px; }
.mb { display: none; }
.num { position: relative; }
.num .cap { margin-top: 6px; }
.mk { position: relative; display: inline-block; }
.mk > svg { position: absolute; left: -8px; right: -8px; top: 14%; height: 78%; width: calc(100% + 16px); z-index: -1; overflow: visible; }
.mk > svg path { fill: var(--mark); stroke: none; }
.num .big, .num .mk { position: relative; z-index: 1; isolation: isolate; }

.photo { border-radius: calc(28 * var(--u)); overflow: hidden; background: #ececec; }
.photo img, .photo video { width: 100%; height: 100%; object-fit: cover; }
.badge { background: #fff; border-radius: calc(20 * var(--u)); padding: calc(18 * var(--u)) calc(22 * var(--u)); box-shadow: 0 calc(18 * var(--u)) calc(40 * var(--u)) rgba(20, 30, 50, .16), 0 0 0 1px rgba(0, 0, 0, .04); font-size: calc(19 * var(--u)); line-height: 1.3; white-space: nowrap; }
.badge b { font-size: calc(40 * var(--u)); letter-spacing: -1px; font-weight: 600; margin-right: calc(8 * var(--u)); }
.badge .st { color: #ffb300; font-size: calc(24 * var(--u)); letter-spacing: 2px; }
.badge span { display: block; color: var(--mut); font-size: calc(16 * var(--u)); }
.play { position: absolute; z-index: 5; display: flex; align-items: center; gap: calc(12 * var(--u)); background: #fff; border-radius: 99px; padding: calc(10 * var(--u)) calc(22 * var(--u)) calc(10 * var(--u)) calc(10 * var(--u)); font-size: calc(19 * var(--u)); font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.play i { width: calc(48 * var(--u)); height: calc(48 * var(--u)); border-radius: 50%; background: var(--acc); display: grid; place-items: center; }
.play i svg { width: 34%; fill: #fff; margin-left: 8%; }

/* ---------- с чем приходят ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.cl { list-style: none; }
.cl li { position: relative; padding: 9px 0 9px 38px; font-size: 18px; }
.cl li > svg { position: absolute; left: 0; top: 11px; width: 24px; height: 24px; overflow: visible; }
.cl li > svg path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.6; }
.cl.cols { columns: 2; column-gap: 40px; }
.cl.cols li { break-inside: avoid; }
.cl-h { font-size: 15px; font-weight: 600; color: var(--mut); margin-bottom: 6px; }

/* ситуация -> что сделаем */
.pairs { max-width: 1120px; }
.pairs-h { display: grid; grid-template-columns: 1fr 70px 1.15fr; font-size: 14px; font-weight: 600; color: var(--cap); padding-bottom: 10px; }
.pairs-h span:last-child { grid-column: 3; }
.pair { display: grid; grid-template-columns: 1fr 70px 1.15fr; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.pair p { font-size: 18px; color: var(--ink2); }
.pair p.q { font-size: 19px; color: var(--ink); font-weight: 500; }
.pair .arr { display: block; width: 38px; height: 16px; justify-self: center; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 16'%3E%3Cpath d='M2 8.6c8-.6 20-.2 32-.9M28 2.4l6.4 5.4-6.1 6' fill='none' stroke='%232f5bea' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
/* простой список без галочек */
.ln { list-style: none; }
.ln li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 17px; }
.ln li:last-child { border-bottom: 1px solid var(--line); }
.pc .ln { margin: 18px 0 24px; flex: 1; }
.pc .ln li { font-size: 15px; padding: 8px 0; }
.how-p { margin-top: 22px; font-size: 16px; color: var(--ink2); max-width: 700px; }

/* ---------- реклама ---------- */
.ggs { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: start; }
.vid { position: relative; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 16px 44px rgba(20, 30, 50, .16), 0 0 0 1px rgba(0, 0, 0, .06); }
.vid .bar { height: 28px; background: #f1f1f4; display: flex; align-items: center; gap: 7px; padding-left: 13px; }
.vid .bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.vid .bar i:nth-child(2) { background: #febc2e; }
.vid .bar i:nth-child(3) { background: #28c840; }
.vid .bar span { margin-left: 12px; font-size: 12px; color: var(--cap); }
.vid video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #111; }
.vid .vbtn { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 99px; padding: 7px 18px 7px 7px; font-size: 15px; font-weight: 600; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.vid .vbtn i { width: 34px; height: 34px; border-radius: 50%; background: var(--acc); display: grid; place-items: center; }
.vid .vbtn i svg { width: 11px; fill: #fff; margin-left: 2px; }
.vid .vbtn small { color: var(--mut); font-weight: 500; font-size: 14px; }
.vid.on .vbtn { display: none; }
.vcap { margin-top: 12px; }

.bars { position: absolute; display: flex; align-items: flex-end; gap: calc(var(--gap, 14) * var(--u)); height: calc(var(--h) * var(--u)); }
.bars > div { flex: 1; position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.bars > div i { display: block; width: 100%; height: calc(var(--v) * 100%); background: var(--acc-l); border-radius: calc(6 * var(--u)) calc(6 * var(--u)) calc(2 * var(--u)) calc(2 * var(--u)); transform-origin: bottom; }
.bars > div.hi i { background: var(--acc); }
.bars > div.gr i { background: var(--green); }
.bars > div b { font-size: max(12px, calc(var(--fs, 22) * var(--u))); font-weight: 600; margin-bottom: calc(6 * var(--u)); white-space: nowrap; }
.bars > div span { position: absolute; top: 100%; margin-top: calc(10 * var(--u)); font-size: max(10px, calc(var(--fs2, 16) * var(--u))); color: var(--cap); white-space: nowrap; }
.axis { position: absolute; font-size: max(11px, calc(17 * var(--u))); color: var(--cap); white-space: nowrap; }
.inview .bars > div i { animation: grow .9s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes grow { from { transform: scaleY(0); } }

.quote { position: relative; padding-left: 40px; margin-top: 30px; }
.quote::before { content: "«"; position: absolute; left: 0; top: -14px; font-size: 64px; line-height: 1; color: var(--acc); font-weight: 600; }
.quote p { font-size: 19px; line-height: 1.45; }
.quote .who { font-size: 14px; color: var(--mut); margin-top: 8px; }

.clinic { display: grid; grid-template-columns: 250px 1fr; gap: 48px; align-items: center; }
.clinic .stage { max-width: 760px; }
.clinic .chart .cap { margin-top: 10px; }
.cl.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 32px; margin-top: 30px; }
.cl.cols3 li { font-size: 16px; padding: 6px 0 6px 34px; }
.cl.cols3 li > svg { top: 7px; width: 22px; height: 22px; }
.clinic-nums { display: flex; flex-direction: column; gap: 26px; }
.clinic-nums .cap { margin-top: 6px; max-width: 220px; }

.more-ads { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.ma .iph { --pw: 170px; }
.ma .big { margin-top: 20px; }
.ma p { font-size: 16px; color: var(--ink2); margin-top: 6px; }
.ma .cap { margin-top: 8px; }

/* ---------- сайты ---------- */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.wk-more { display: none; }
.works.open .wk-more { display: block; }
.wk-v { position: relative; container-type: inline-size; padding: 0 9% 9% 0; }
.wk-v .shot { border-radius: 1.4cqw; overflow: hidden; background: #fff; box-shadow: 0 2.4cqw 5.5cqw rgba(20, 30, 50, .14), 0 0 0 1px rgba(0, 0, 0, .07); }
.wk-v .shot .bar { position: relative; height: 5.2cqw; background: #f2f2f4; border-bottom: 1px solid #e3e3e7; display: flex; align-items: center; gap: 1.1cqw; padding-left: 2.2cqw; }
.wk-v .shot .bar i { width: 1.5cqw; height: 1.5cqw; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .12); }
.wk-v .shot .bar i:nth-child(2) { background: #febc2e; }
.wk-v .shot .bar i:nth-child(3) { background: #28c840; }
.wk-v .shot .bar .url { position: absolute; left: 50%; transform: translateX(-50%); max-width: 46%; height: 3.3cqw; padding: 0 3cqw; border-radius: 1cqw; background: #e5e5ea; font-size: 1.85cqw; line-height: 3.3cqw; color: #55555a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wk-v .shot .bar .url::before { content: ""; display: inline-block; width: 1.3cqw; height: 1.5cqw; margin-right: .9cqw; vertical-align: -.15cqw; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M2 5V3.5a3 3 0 0 1 6 0V5h.5A1 1 0 0 1 9.5 6v5a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1H2Zm1.3 0h3.4V3.5a1.7 1.7 0 0 0-3.4 0V5Z' fill='%2388888d'/%3E%3C/svg%3E"); }
.wk-v .shot img { width: 100%; aspect-ratio: 1200 / 619; object-fit: cover; object-position: top; display: block; }
.wk-v .iph { --pw: 23cqw; position: absolute; right: 0; bottom: 0; }
.wk b { display: block; font-size: 16px; font-weight: 600; margin-top: 10px; }
.wk span { display: block; font-size: 14px; color: var(--mut); margin-top: 2px; }

/* ---------- SEO ---------- */
.seo { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.seo-note { margin-top: 18px; font-size: 16px; }
.seo .sec-cta { margin-top: 26px; }
.hbar { position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); width: calc(var(--w) * var(--u)); font-size: calc(19 * var(--u)); }
.hbar .r { display: grid; grid-template-columns: calc(270 * var(--u)) 1fr calc(96 * var(--u)); align-items: center; gap: calc(12 * var(--u)); height: calc(44 * var(--u)); }
.hbar .r > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbar .r .bv { height: calc(18 * var(--u)); border-radius: calc(5 * var(--u)); background: var(--acc-l); position: relative; }
.hbar .r .bv em { position: absolute; left: calc(100% + 8 * var(--u)); top: 50%; transform: translateY(-50%); font-style: normal; font-size: calc(16 * var(--u)); color: var(--mut); white-space: nowrap; }
.hbar .r.in .bv { background: var(--acc); }
.hbar .r .pos { text-align: right; font-weight: 600; white-space: nowrap; }
.hbar .r .pos.no { color: var(--red); }
.hbar .hd { display: grid; grid-template-columns: calc(270 * var(--u)) 1fr calc(96 * var(--u)); gap: calc(12 * var(--u)); color: var(--cap); font-size: calc(15 * var(--u)); margin-bottom: calc(6 * var(--u)); }
.hbar .hd span:last-child { text-align: right; }

/* ---------- команда ---------- */
.cmp { width: 100%; border-collapse: collapse; font-size: 17px; }
.cmp th { font-size: 15px; font-weight: 600; color: var(--mut); text-align: center; padding: 0 10px 14px; width: 18%; vertical-align: bottom; }
.cmp th.me-col { color: var(--acc); font-size: 17px; }
.cmp td { padding: 13px 10px; text-align: center; }
.cmp td:first-child { text-align: left; padding-left: 0; }
.cmp td.me-col { background: var(--acc-xl); }
.cmp tr:first-child th.me-col { border-radius: 16px 16px 0 0; background: var(--acc-xl); padding-top: 16px; }
.cmp tr:last-child td.me-col { border-radius: 0 0 16px 16px; }
.cmp td svg { width: 24px; height: 24px; overflow: visible; display: inline-block; vertical-align: middle; }
.cmp td svg path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.6; }
.cmp td small { display: block; font-size: 13px; color: var(--mut); }
.team-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.team-side p { color: var(--ink2); margin-bottom: 14px; }
.team-pic { position: relative; margin-bottom: 22px; }
.team-pic img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 18px; }
.team-pic .hw { position: absolute; right: 14px; top: -24px; font-size: 30px; transform: rotate(-4deg); background: #fff; padding: 0 8px; border-radius: 8px; }
.team-side .hw.inl { margin-top: 6px; }

/* ---------- отзывы ---------- */
.rv-top { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.rv-top h2 { margin-bottom: 0; }
.rv-score { display: flex; align-items: baseline; gap: 12px; flex: none; }
.rv-score b { font-size: 72px; letter-spacing: -3px; font-weight: 600; line-height: .9; }
.rv-score .st { color: #ffb300; font-size: 24px; letter-spacing: 3px; }
.rv-facts { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 34px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--soft); border-radius: 20px; padding: 8px 15px; font-size: 14px; white-space: nowrap; }
.chip svg { width: 15px; height: 15px; }
.rv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 40px; align-items: start; }
.rv article .st { color: #ffb300; font-size: 15px; letter-spacing: 2px; }
.rv article p { font-size: 16px; line-height: 1.5; margin-top: 6px; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.rv article.full p { -webkit-line-clamp: unset; display: block; cursor: auto; }
.rv article .who { font-size: 14px; color: var(--mut); margin-top: 10px; }
.rv article .who b { color: var(--ink); font-weight: 600; }
.rv article .more { font-size: 14px; color: var(--acc); margin-top: 4px; }
.rv article.full .more { display: none; }
.rv-more { display: none; }
.rv.open .rv-more { display: block; }
.rv-acts { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 36px; }
.rv-link { font-size: 15px; color: var(--acc); font-weight: 500; }
.rv-link:hover { text-decoration: underline; }

/* ---------- цены ---------- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pc { border: 1px solid var(--line); border-radius: 24px; padding: 28px 28px 30px; display: flex; flex-direction: column; }
.prices.four { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prices.four .pc { padding: 24px 22px 24px; }
.prices.four .pc .big { font-size: 34px; }
.pc-main { border-color: var(--acc); box-shadow: 0 0 0 1px var(--acc); }
.pc .kick { margin-bottom: 8px; }
.pc h3 { font-size: 22px; margin-bottom: 8px; }
.pc .big { font-size: 40px; }
.pc .per { font-size: 14px; color: var(--mut); margin-top: 6px; }
.pc .cl { margin: 16px 0 24px; flex: 1; }
.pc .cl li { font-size: 15px; padding: 6px 0 6px 30px; }
.pc .cl li > svg { top: 7px; width: 20px; height: 20px; }
.pc .more { font-size: 13.5px; line-height: 1.45; color: var(--mut); border-top: 1px dashed var(--line); padding-top: 12px; margin: -8px 0 18px; }
.pc .more b { display: block; font-size: 12px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.prices.four .pc .more { min-height: 92px; }
.pc .btn { width: 100%; }
.dark { background: var(--dark); color: #fff; border-radius: 26px; padding: 34px 40px; position: relative; }
.pay { margin-top: 28px; font-size: 15px; color: var(--ink2); max-width: 860px; }

/* ---------- как работаю ---------- */
.flow { position: relative; }
.flow ol { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; position: relative; z-index: 1; }
.flow li .n { font-family: Caveat, cursive; font-size: 44px; color: var(--pen); line-height: 1; }
.flow li b { display: block; font-size: 18px; font-weight: 600; margin-top: 8px; }
.flow li p { font-size: 15px; color: var(--ink2); margin-top: 6px; }
.flow li .cap { margin-top: 8px; color: var(--acc); font-weight: 600; }
.flow > svg.ink { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }

/* ---------- обо мне ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about .letter { margin-top: 28px; }
.letter { font-family: "Bad Script", cursive; color: var(--letter); font-size: 21px; line-height: 1.5; }
.letter p { margin-bottom: 18px; }
.sign { position: relative; display: inline-block; margin-top: 4px; font-size: 24px; }
.sign svg { position: absolute; left: -4px; right: -10px; bottom: -10px; width: calc(100% + 14px); height: 16px; overflow: visible; }
.sign svg path { fill: none; stroke: var(--letter); stroke-width: 2.2; stroke-linecap: round; }
.facts { list-style: none; }
.facts li { padding: 9px 0; font-size: 16px; color: var(--ink2); display: grid; grid-template-columns: 130px 1fr; gap: 16px; border-bottom: 1px solid var(--line); }
.facts li b { color: var(--ink); font-weight: 600; }

/* ---------- вопросы ---------- */
.faq-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.faq-cloud button { background: var(--soft); border-radius: 22px; padding: 11px 18px; font-size: 16px; transition: background .15s, color .15s; }
.faq-cloud button:hover { background: #ebebef; }
.faq-cloud button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.faq-ans { margin-top: 26px; min-height: 120px; max-width: 760px; position: relative; padding-left: 40px; }
.faq-ans::before { content: ""; position: absolute; left: 0; top: 8px; width: 22px; height: 22px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12.5c3-.3 9-.2 16-.6M14 6.8l5.6 5.1-5.4 5.4' fill='none' stroke='%232f5bea' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.faq-ans h4 { font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.faq-ans p { font-size: 18px; color: var(--ink2); }

/* ---------- как начать ---------- */
.start .dark { padding: 56px 60px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.start h2 { color: #fff; }
.start p { color: #c7c7cc; font-size: 18px; max-width: 520px; }
.st-me { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.st-me img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff; }
.start .hw.yellow { font-size: 34px; transform: rotate(-5deg); }
.st-alt { margin-top: 22px; font-size: 15px; color: #a1a1a6; }
.st-alt a { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.start .lead-form { background: #fff; color: var(--ink); border-radius: 20px; padding: 28px; }

/* ---------- форма заявки ---------- */
.lead-form .fl { display: block; margin-bottom: 12px; }
.lead-form .fl span { display: block; font-size: 13px; color: var(--mut); margin-bottom: 5px; }
.lead-form input[type=text], .lead-form input[type=tel] { width: 100%; height: 52px; border: 1px solid #dcdce2; border-radius: 14px; padding: 0 16px; font: inherit; font-size: 17px; color: var(--ink); background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
.lead-form input:focus { border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-xl); }
.lead-form .bad input[type=tel] { border-color: var(--red); }
.lead-form .ok-box { display: flex; gap: 10px; align-items: center; font-size: 13px; line-height: 1.35; color: var(--mut); margin: 6px 0 16px; cursor: pointer; }
.lead-form .ok-box input { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; margin: 0; flex: none; border: 1.5px solid #c7c7cf; border-radius: 6px; background: #fff no-repeat center / 13px 13px; cursor: pointer; transition: background-color .15s, border-color .15s; }
.lead-form .ok-box input:checked { background-color: var(--acc); border-color: var(--acc); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='m2.5 7.4 3 3 6-6.4' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.lead-form .ok-box input:focus-visible { box-shadow: 0 0 0 3px var(--acc-xl); }
.lead-form .ok-box.bad input { border-color: var(--red); }
.lead-form .ok-box a { color: var(--acc); }
.lead-form .ok-box.bad { color: var(--red); }
.lead-form .btn { width: 100%; height: 54px; }
.lead-form .btn[disabled] { opacity: .6; pointer-events: none; }
.lead-form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-form .msg { margin-top: 12px; font-size: 14px; color: var(--red); }
.lead-form .msg a { color: var(--acc); font-weight: 600; }
.lead-done { text-align: center; padding: 18px 0 6px; }
.lead-done b { display: block; font-size: 22px; margin: 8px 0 6px; }
.lead-done p { color: var(--mut); font-size: 15px; }
.lead-done .hw { font-size: 30px; color: var(--green); }
.lead-dlg { margin: auto; border: 0; border-radius: 26px; padding: 30px; width: min(440px, calc(100vw - 24px)); box-shadow: 0 30px 80px rgba(10, 20, 40, .35); color: var(--ink); }
.lead-dlg::backdrop { background: rgba(20, 22, 28, .55); backdrop-filter: blur(3px); }
.lead-dlg[open] { animation: dlg .25s cubic-bezier(.2, .7, .2, 1); }
@keyframes dlg { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.dlg-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: var(--soft); font-size: 20px; line-height: 36px; color: var(--mut); }
.dlg-head { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; padding-right: 30px; }
.dlg-head img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.dlg-head h3 { font-size: 22px; margin: 0 0 2px; }
.dlg-head p { font-size: 14px; color: var(--mut); }
body.dlg-on { overflow: hidden; }

footer { margin-top: 56px; padding: 40px 0 110px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mut); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px 40px; }
.f-me b { display: block; color: var(--ink); font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.f-links { display: flex; gap: 22px; justify-content: flex-end; flex-wrap: wrap; align-items: center; }
.f-links a { color: var(--ink); font-weight: 500; }
.f-links a:hover, .f-low a:hover { color: var(--acc); }
.f-low { grid-column: 1 / -1; display: flex; gap: 22px; font-size: 13px; color: var(--cap); }
.f-low a { color: var(--cap); }

/* ---------- кружок с видео ---------- */

.bub { position: fixed; left: 22px; bottom: 22px; z-index: 50; transition: transform .25s, opacity .25s; }
.bub.hide { transform: translateY(140%); opacity: 0; pointer-events: none; }
.bub-c { display: flex; align-items: center; padding: 5px; border-radius: 99px; background: #fff; box-shadow: 0 12px 34px rgba(15, 25, 45, .18), 0 0 0 1px rgba(0, 0, 0, .05); cursor: pointer; transition: transform .2s, box-shadow .2s; }
.bub-c:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(15, 25, 45, .22), 0 0 0 1px rgba(0, 0, 0, .05); }
.bub-ph { position: relative; display: block; width: 64px; height: 64px; flex: none; }
.bub-ph video { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #ececec; display: block; }
.bub-ph .pl { position: absolute; right: -2px; bottom: -2px; width: 24px; height: 24px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 2.5px #fff; display: grid; place-items: center; }
.bub-ph .pl svg { width: 8px; fill: #fff; margin-left: 2px; }
.bub-t { display: block; font-size: 13px; line-height: 1.3; color: var(--mut); white-space: nowrap; max-width: 0; overflow: hidden; opacity: 0; transition: max-width .35s, opacity .25s, margin .35s; }
.bub-c:hover .bub-t, .bub.intro .bub-t { max-width: 220px; opacity: 1; margin: 0 18px 0 12px; }
.bub-t b { display: block; font-size: 15px; color: var(--ink); font-weight: 600; }
.bub-x { position: absolute; top: -7px; left: 52px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .16); font-size: 13px; line-height: 22px; text-align: center; color: var(--mut); z-index: 2; opacity: 0; transition: opacity .2s; }
.bub:hover .bub-x { opacity: 1; }
.bub.open .bub-c, .bub.open .bub-x { visibility: hidden; }
/* карточка с роликом и формой */
.bub-card { position: absolute; left: 0; bottom: 0; width: 330px; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 70px rgba(10, 20, 40, .3), 0 0 0 1px rgba(0, 0, 0, .05); animation: bubIn .3s cubic-bezier(.2, .7, .2, 1); }
.bub-card[hidden] { display: none; }
@keyframes bubIn { from { opacity: 0; transform: translateY(16px) scale(.96); transform-origin: left bottom; } }
.bub-v { position: relative; background: #111; aspect-ratio: 4 / 5; max-height: calc(100vh - 380px); min-height: 220px; width: 100%; }
.bub-v video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; cursor: pointer; }
.bub-v button { position: absolute; display: grid; place-items: center; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff; backdrop-filter: blur(6px); }
.bv-x { top: 12px; right: 12px; width: 34px; height: 34px; font-size: 20px; line-height: 1; }
.bub-v .bv-snd { left: 12px; bottom: 16px; width: 36px; height: 36px; background: rgba(0, 0, 0, .45) no-repeat center / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9v6h4l5 4V5L8 9H4Z' fill='white'/%3E%3Cpath d='M16 8.5a5 5 0 0 1 0 7M18.5 6a8.5 8.5 0 0 1 0 12' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.bub-v.muted .bv-snd { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9v6h4l5 4V5L8 9H4Z' fill='white'/%3E%3Cpath d='m16 9 6 6m0-6-6 6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.bv-play { left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.bv-play svg { width: 18px; fill: #fff; margin-left: 4px; }
.bub-v.ended .bv-play, .bub-v.paused .bv-play { opacity: 1; pointer-events: auto; }
.bv-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .25); }
.bv-bar > i { display: block; height: 100%; width: 0; background: #fff; }
.bub-f { padding: 16px 18px 16px; }
.bub-f > b { display: block; font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.lead-form.compact .fl { margin-bottom: 8px; }
.lead-form.compact .fl span { display: none; }
.lead-form.compact input[type=text], .lead-form.compact input[type=tel] { height: 46px; font-size: 16px; border-radius: 12px; }
.lead-form.compact .ok-box { margin: 4px 0 12px; font-size: 12px; }
.lead-form.compact .btn { height: 48px; }
.bub-alt { margin-top: 10px; font-size: 13px; color: var(--mut); text-align: center; }
.bub-alt a { color: var(--ink); font-weight: 500; }

/* появление */
.rv-in { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.rv-in.inview { opacity: 1; transform: none; }
.draw path { stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); }
.inview .draw path, .draw.inview path { animation: draw .9s ease-out forwards; animation-delay: var(--d, .2s); }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  .rv-in { opacity: 1; transform: none; transition: none; }
  .draw path { stroke-dasharray: none; stroke-dashoffset: 0; animation: none !important; }
  .inview .bars > div i { animation: none; }
}

/* ---------- планшет ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  h1 { font-size: 48px; }
  .prices, .prices.four { grid-template-columns: 1fr 1fr; max-width: none; }
  .works { grid-template-columns: 1fr 1fr; }
  .clinic { grid-template-columns: 1fr; }
  .clinic-nums { flex-direction: row; flex-wrap: wrap; gap: 24px 40px; }
  .flow ol { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .rv { grid-template-columns: 1fr 1fr; }
}

/* ---------- телефон ---------- */
@media (max-width: 760px) {
  :root { --g: 16px; }
  body { font-size: 16px; }
  section { padding-top: 72px; }
  h1 { font-size: 36px; letter-spacing: -1px; }
  h2 { font-size: 28px; letter-spacing: -.6px; }
  h3 { font-size: 22px; }
  .lead { font-size: 17px; margin-bottom: 26px; }
  .big { font-size: 36px; }
  .top .wrap { height: 60px; }
  .pr { display: none; }
  .me span { display: none; }
  .hero { padding-top: 16px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 30px; }
  .hero-media { max-width: 400px; }
  .nums { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; margin-top: 34px; }
  .nums .num:first-child { grid-column: 1 / -1; }
  .nums .big { font-size: 30px; }
  .dk { display: none; }
  .mb { display: inline; }
  .two, .ggs, .seo, .team-wrap, .about { grid-template-columns: 1fr; gap: 30px; }
  .sec-cta { margin-top: 32px; gap: 10px 16px; }
  .sec-cta .hw.inl { font-size: 22px; }
  .more-ads { grid-template-columns: 1fr; gap: 56px; margin-top: 26px; }
  .ma .iph { --pw: 210px; }
  .clinic-nums { gap: 20px 32px; }
  .cl.cols3 { grid-template-columns: 1fr; }
  .works { grid-template-columns: 1fr; gap: 32px; }
  .works:not(.open) .wk:nth-child(n+4) { display: none; }
  .cl li { font-size: 16px; }
  .pairs-h { display: none; }
  .pair { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .pair .arr { display: none; }
  .pair p.q { font-size: 17px; }
  .pair p { font-size: 16px; }
  .pair p:last-child::before { content: "→ "; color: var(--pen); }
  .rv-top { flex-direction: column; align-items: start; gap: 14px; }
  .rv-score b { font-size: 56px; }
  .rv { grid-template-columns: 1fr; gap: 28px; }
  .rv:not(.open) article:nth-of-type(n+4) { display: none; }
  .rv-acts { gap: 14px 20px; }
  .pc { padding: 24px 22px 24px; }
  .prices.four { grid-template-columns: 1fr; }
  .prices.four .pc .more { min-height: 0; }
  .dark { padding: 28px 22px; border-radius: 22px; }
  .flow ol { grid-template-columns: 1fr; gap: 22px; }
  .flow li { display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; }
  .flow li .n { grid-row: span 3; font-size: 38px; }
  .flow li b { margin-top: 2px; }
  .flow > svg.ink { display: none; }
  .letter { font-size: 19px; }
  .facts li { grid-template-columns: 1fr; gap: 0; }
  .faq-cloud button { font-size: 15px; padding: 9px 14px; }
  .faq-ans { padding-left: 32px; }
  .start .dark { grid-template-columns: 1fr; padding: 30px 18px 18px; gap: 26px; }
  .start .lead-form { padding: 20px 18px; }
  .start .hw.yellow { font-size: 28px; }
  .st-me img { width: 68px; height: 68px; }
  footer .wrap { grid-template-columns: 1fr; }
  .f-links { justify-content: flex-start; }
  .f-low { flex-direction: column; gap: 6px; }
  .lead-dlg { padding: 24px 18px 20px; border-radius: 22px; }
  .cmp { font-size: 15px; }
  .cmp th { font-size: 12px; padding: 0 4px 10px; width: 21%; }
  .cmp th.me-col { font-size: 13px; }
  .cmp td { padding: 11px 4px; }
  .cmp td svg { width: 20px; height: 20px; }
  .cmp td small { display: none; }
  /* пометки сцены уходят под картинку списком, стрелки прячем */
  .stage > .hw.m-off, .stage > svg.ink .a { display: none; }
  .mnotes { display: block; list-style: none; margin-top: 18px; }
  .mnotes li { font-family: Caveat, cursive; font-size: 23px; line-height: 1.12; color: var(--pen); padding: 3px 0 3px 26px; position: relative; }
  .mnotes li::before { content: ""; position: absolute; left: 0; top: 12px; width: 16px; height: 2px; background: currentColor; border-radius: 2px; transform: rotate(-8deg); }
  .mnotes li.red { color: var(--red); font-weight: 600; }
  .mnotes li.green { color: var(--green); }
  .mnotes li.grey { color: var(--mut); }
  .bub { left: 12px; bottom: 12px; }
  .bub-c { padding: 4px; }
  .bub-ph { width: 58px; height: 58px; }
  .bub-t { display: none; }
  .bub-x { opacity: 1; left: 46px; top: -6px; }
  .bub.open { left: 8px; right: 8px; bottom: 8px; }
  .bub-card { width: auto; right: 0; max-width: 420px; }
  .bub-v { max-height: calc(100svh - 330px); min-height: 200px; }
  .stage[style*="--cut"] { margin-top: calc(var(--cut) * -100% / var(--dw)); }
}
