/* Тема «11.11». Распродажа: белая витрина, распродажный красный,
   жёлтые ценники. Подпись темы — заголовок обложки на жёлтой бирке
   с дыркой под нитку. Летящие ценники — отдельный слой body::before,
   под панелью слайда: при экспорте в Google Slides он уходит в GIF-фон. */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url("fonts/unbounded-normal-700-900-cyrillic.woff2?v=c3880f0c5a") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url("fonts/unbounded-normal-700-900-latin.woff2?v=d7f07f8a30") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/caveat-normal-400-700-cyrillic.woff2?v=cb0aa78eef") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/caveat-normal-400-700-latin.woff2?v=7a0049db01") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root,
:root[data-theme="light"] {
  color-scheme: light;
  --craft-bg: #fffaf2;
  --craft-surface: #ffffff;
  --craft-surface-muted: #fbefdc;
  --craft-sunken: #1a0a10;
  --craft-text: #1a0a10;
  --craft-text-body: #2e1820;
  --craft-muted: #57404a;
  --craft-line: #ecd6c4;
  --craft-line-strong: #1a0a10;
  --craft-accent: #c4001a;
  --craft-accent-mark: #e3001f;
  --craft-accent-fill: #c4001a;
  --craft-accent-tint: rgb(227 0 31 / .1);
  --craft-on-accent: #ffffff;
  --craft-on-accent-muted: #ffdfe2;
  --craft-on-accent-line: rgb(255 255 255 / .4);
  --craft-data-blue: #2d5bd6;
  --craft-data-amber: #a86a00;
  --craft-data-green: #2f8a3e;
  --craft-selection: rgb(227 0 31 / .2);
  --craft-code-text: #1a0a10;
  --craft-code-gold: #8a5600;
  --craft-code-blue: #2d5bd6;
}

/* Подпись: hero-строка обложки на жёлтой бирке. Бирка — фон элемента,
   дырка под нитку — радиальная маска слева, текст на ней не лежит. */
.s-cover .type-hero {
  font-family: "Unbounded", var(--font-display);
  font-weight: 900;
  letter-spacing: -.01em;
  font-size: 5.6cqw;
  line-height: 1.08;
  max-width: 66cqw;
  color: #1a0a10;
  background: #ffd400;
  padding: 3.4cqh 4cqw 3.4cqh 7cqw;
  clip-path: polygon(3.4cqw 0, 100% 0, 100% 100%, 3.4cqw 100%, 0 50%);
  -webkit-mask: radial-gradient(circle at 3.6cqw 50%, transparent .9cqw, #000 1cqw);
          mask: radial-gradient(circle at 3.6cqw 50%, transparent .9cqw, #000 1cqw);
}

/* Обложка — постер распродажи: красная заливка и огромное «11.11» краской справа. */
.s-cover.surface-accent { background: #c4001a; }
.s-cover .lanes { display: none; }
.s-cover .pad { justify-content: flex-start; padding-top: 11cqh; }
/* «11.11» — краска справа внизу, как раньше; поверх — исправление от руки
   на 10.11 (митап 10 ноября): зачёркивание и «10» в одной статичной SVG. */
.s-cover::after {
  content: "";
  position: absolute;
  right: -2cqw; bottom: 6cqh;
  width: 62cqw; height: 46cqh;
  z-index: -1;
  pointer-events: none;
  opacity: .8;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 960 260'><text x='950' y='230' text-anchor='end' font-family='Arial Black,Arial,sans-serif' font-weight='900' font-size='250' fill='%23ffd400'>11.11</text></svg>") right bottom / contain no-repeat;
}
.s-cover .cover-date {
  position: absolute;
  right: -2cqw; bottom: 6cqh;
  width: 62cqw; height: 46cqh;
  overflow: visible;
  pointer-events: none;
}
.s-cover .cover-date__strike {
  fill: none;
  stroke: #10131f;
  stroke-width: 13;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.s-cover .cover-date__ink {
  font: 700 190px/1 "Caveat", cursive;
  fill: #10131f;
}

/* Разделы — чёрная пятница: почти чёрный фон, жёлтый номер. */
.s-section {
  background: #1a0a10;
  color: #fff4f0;
  --text: #fff4f0;
  --muted: #e2c6c9;
}
.s-section .lanes { display: none; }
.s-section .jersey { color: #ffd400; }
.s-section .type-hero { font-family: "Unbounded", var(--font-display); font-weight: 800; }

/* Тонкая «ценниковая» перфорация по верху обычных слайдов. Статично. */
.slide:not(.s-cover, .s-section)::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: .7cqh;
  z-index: -1;
  background: repeating-linear-gradient(90deg, #e3001f 0 3cqw, #ffd400 3cqw 6cqw);
}

/* Слоты под мемы: пустая витрина. */
.slide .placeholder {
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, rgb(227 0 31 / .06) 14px 15px),
    var(--craft-surface-muted);
  color: var(--craft-muted);
}

/* Летящие ценники — один слой на всю деку, под панелями слайдов.
   Шесть слоёв, по одному знаку на слой. Размеры плиток без общего шага,
   каждый слой летит в свою сторону: картинка не складывается в ряды.
   Двигается только background-position, M останавливает. За 33 с каждый
   слой проходит ровно одну плитку, цикл бесшовный (для bg.gif). */
@media screen and (min-width: 700px) { :root { --stage-pad: 5vh; } }
@media screen {
  .deck { position: relative; z-index: 1; }
  body { background: #1a0a10; }
  .deck:not([data-mode="grid"], [data-mode="strip"]) .slide {
    box-shadow: 0 0 0 .4vh #ffd400;
  }
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
      url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='410' height='290'><text x='240' y='71' font-size='22'>%F0%9F%8F%B7%EF%B8%8F</text><text x='72' y='48' font-size='30'>%F0%9F%8F%B7%EF%B8%8F</text><text x='57' y='236' font-size='20'>%F0%9F%8F%B7%EF%B8%8F</text></svg>") 0 0 / 41vw 29vw,
      url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='470' height='370'><text x='75' y='44' font-size='24'>%F0%9F%9B%8D%EF%B8%8F</text><text x='69' y='163' font-size='18'>%F0%9F%9B%8D%EF%B8%8F</text><text x='289' y='299' font-size='30'>%F0%9F%9B%8D%EF%B8%8F</text></svg>") 0 0 / 47vw 37vw,
      url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='370' height='430'><text x='303' y='67' font-size='26' font-family='Arial Black,Arial' font-weight='900' fill='%23ffd400'>%25</text><text x='10' y='411' font-size='20' font-family='Arial Black,Arial' font-weight='900' fill='%23ffd400'>%25</text><text x='174' y='227' font-size='32' font-family='Arial Black,Arial' font-weight='900' fill='%23ffd400'>%25</text></svg>") 0 0 / 37vw 43vw,
      url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='530' height='310'><text x='169' y='220' font-size='22'>%F0%9F%9B%92</text><text x='355' y='111' font-size='28'>%F0%9F%9B%92</text></svg>") 0 0 / 53vw 31vw,
      url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='430' height='230'><text x='299' y='196' font-size='22' font-family='Arial Black,Arial' font-weight='900' fill='%23e3001f'>11.11</text><text x='26' y='129' font-size='16' font-family='Arial Black,Arial' font-weight='900' fill='%23e3001f'>11.11</text></svg>") 0 0 / 43vw 23vw,
      url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='590' height='410'><text x='151' y='212' font-size='24'>%F0%9F%92%B8</text><text x='88' y='390' font-size='18'>%F0%9F%92%B8</text><text x='449' y='323' font-size='30'>%F0%9F%92%B8</text></svg>") 0 0 / 59vw 41vw;
    opacity: .7;
    animation: sale-drift 33s linear infinite;
  }
}
@keyframes sale-drift { to { background-position: 41vw -29vw, -47vw 37vw, 0vw -43vw, 0vw 31vw, -43vw 0vw, 59vw 41vw; } }

/* Ценник: старая цена красная и зачёркнута, новая — на жёлтой бирке. */
.s-pricetag .is-before .comparison-value s {
  /* Черта цвета текста: при проверке контраста прячется вместе с буквами. */
  text-decoration: line-through currentColor .4cqw;
  color: var(--craft-accent);
}
.s-pricetag .is-after .comparison-value {
  justify-self: start;
  width: fit-content;
  background: #ffd400;
  color: #1a0a10;
  padding: .4cqw 1.6cqw .4cqw 2.6cqw;
  clip-path: polygon(1.2cqw 0, 100% 0, 100% 100%, 1.2cqw 100%, 0 50%);
}


/* ===== Раскладка слайдов (раунд 6: собрано из правок раундов 3–5) ===== */

/* Контент под заголовком стартует с общей линии движка, а внутри области
   центрируется по высоте: auto-поля делят пустоту поровну. */
.pad:has(> .slide-title) > .slide-title + * { margin-top: auto; }
.pad:has(> .slide-title) > :last-child:not(.slide-title) { margin-bottom: auto; }

/* Без полосок между пунктами: отбивка воздухом. */
.plain-list > li, .bullets > li { border-top: 0; }
.bullets li::after { display: none; }
.bullets > li { grid-template-columns: 6cqw 1fr; }
.bullets li > div { padding-left: 1cqw; }

/* Акцент в тексте — слово контраста, красным. Смысл держит и позиция. */
.slide em { font-style: normal; color: var(--craft-accent); }

/* Обо мне: крупно, каждая строка в одну строку, QR по центру правой половины. */
.slide[data-key="about"] .about { grid-template-columns: 1.35fr 1fr; align-items: center; column-gap: 3cqw; }
.slide[data-key="about"] .about p { white-space: nowrap; max-width: none; font-size: 2.6cqw; line-height: 1.35; margin: 0 0 2.6cqh; }
.slide[data-key="about"] .about .name { font-size: 7.6cqw; line-height: 1; margin-bottom: 3.6cqh; }
.slide[data-key="about"] .about .role { font-weight: 600; font-size: 3cqw; margin-bottom: 6cqh; }
.slide[data-key="about"] .qr-link { justify-self: center; justify-items: center; }
.slide[data-key="about"] .qr { width: 27cqw; }
.slide[data-key="about"] .where { font-size: 2.2cqw; }

/* Фрейм: заголовок и вопрос одного кегля, три плашки на всю ширину. */
.s-framing .pad { gap: 7cqh; }
.s-framing .type-hero { font-size: 4.6cqw; max-width: none; }
.s-framing .chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; }
.s-framing .chips li {
  font: 600 3.6cqw/1 var(--font-display); letter-spacing: -.02em;
  padding: 5.5cqh 2.4cqw; text-align: center;
  background: var(--craft-surface-muted);
  border: var(--rule) solid var(--craft-line);
}
.s-framing .framing-ask { font: 500 3.6cqw/1.25 var(--font-text); letter-spacing: -.01em; color: var(--craft-text); max-width: none; }

/* Скриншоты Crashlytics: картинке ~65% ширины, пункты крупные. */
.s-figure[data-key="crashlytics"] .content-aside { grid-template-columns: 1.85fr 1fr; gap: 3.4cqw; }
.s-figure[data-key="crashlytics"] .plain-list { --row-pad: 2.4cqh; --marker-size: .9cqw; }
.s-figure[data-key="crashlytics"] .plain-list > li { font: 400 2.3cqw/1.3 var(--font-text); align-items: start; }
/* Маркер — на уровне первой строки, а не по центру двустрочного пункта. */
.s-figure[data-key="crashlytics"] .plain-list > li::before { margin-top: calc((1.3em - var(--marker-size)) / 2); }
/* Два скриншота в одной рамке. Рамка в разметке между третьим и четвёртым
   пунктом (порядок шагов — по DOM), на сетке — слева на всю высоту. Карточка
   краша ложится поверх обзора. */
.crashlytics-grid { grid-template-rows: auto auto; align-content: center; }
.crashlytics-grid > .crashlytics-shots { grid-column: 1; grid-row: 1 / 3; display: grid; }
.crashlytics-grid > .list-a { grid-column: 2; grid-row: 1; align-self: end; }
.crashlytics-grid > .list-b { grid-column: 2; grid-row: 2; align-self: start; }
.crashlytics-shots { position: relative; }
.crashlytics-shots .shot-issue { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--craft-surface); }

/* Анализ руками: четыре коротких пункта — крупно. */
.slide[data-key="crash-manual"] .bullets { --row-pad: 2.6cqh; }
.slide[data-key="crash-manual"] .bullets li::before { font-size: 3.8cqw; }
.slide[data-key="crash-manual"] .bullets li h3 { font-size: 3.4cqw; margin: 0; }
.slide[data-key="crash-manual"] .bullets > li { align-items: center; }

/* Первый пункт шкалы виден сразу: акцент ведёт с первого события. */
.deck[data-reveal-mode="steps"] .timeline > li:first-child:not(:has(~ .frag[data-shown])) > i::after { background: var(--accent-mark); }
.deck[data-reveal-mode="steps"] .timeline > li:first-child:not(:has(~ .frag[data-shown])) :is(.timeline-key, h3) { color: var(--accent); }
.timeline > li:first-child:not(:has(~ .frag[data-shown])) > i::before { display: none; }

/* Эволюция: справа одна и та же рамка-окно; окна шагов ложатся друг на друга. */
.s-evo .evo { position: relative; flex: 1; min-height: 0; }
.s-evo .evo-shot {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 56%;
  margin: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  background: var(--craft-surface);
  border: var(--rule) solid var(--craft-line-strong);
}
.s-evo .evo-bar {
  display: flex; align-items: center; gap: .6cqw;
  padding: 1.2cqh 1.2cqw;
  background: #1a0a10; color: #fff4f0;
  font: 500 1.5cqw/1 var(--font-text);
}
.s-evo .evo-bar i { width: .8cqw; aspect-ratio: 1; border-radius: 50%; background: #ff5f57; }
.s-evo .evo-bar i:nth-child(2) { background: #ffd400; }
.s-evo .evo-bar i:nth-child(3) { background: #28c840; }
/* Подпись инструмента — краска (attr): окна ложатся друг на друга без наложения текста. */
.s-evo .evo-bar::after { content: attr(data-tool); margin-left: .8cqw; }
.s-evo .evo-body {
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 2cqh 1.4cqw;
  background: var(--craft-surface-muted);
}
.s-evo .evo-body img { width: 100%; height: 100%; min-height: 0; object-fit: contain; object-position: 50% 50%; }
.s-evo .evo-pair { grid-template-rows: 1fr 1fr; gap: 1.6cqh; }
.s-evo .evo-pair img { min-height: 0; height: 100%; object-fit: contain; }
/* Приписка от руки прямо по скриншоту: картинка (svg role=img), не текст. */
.s-evo .evo-note {
  position: absolute; right: 2cqw; bottom: 5cqh;
  width: 34cqw; height: auto;
  overflow: visible; pointer-events: none;
}
.s-evo .evo-note text { font: 700 64px/1 "Caveat", cursive; fill: #10131f; }

/* Таблица Desktop против плагина: сетка ячеек с зазорами вместо линий. */
.slide[data-key="desktop-vs-plugin"] .data-table {
  table-layout: fixed; width: 100%;
  border-collapse: separate; border-spacing: .6cqw 1cqh;
  margin-inline: -.6cqw; width: calc(100% + 1.2cqw);
  font: 500 1.95cqw/1.3 var(--font-text);
}
.slide[data-key="desktop-vs-plugin"] .data-table col:nth-child(1) { width: 15%; }
.slide[data-key="desktop-vs-plugin"] .data-table col:nth-child(2) { width: 37%; }
.slide[data-key="desktop-vs-plugin"] .data-table :is(th, td) { padding: 2.2cqh 1.6cqw; border: 0; vertical-align: middle; }
.slide[data-key="desktop-vs-plugin"] .data-table td { background: var(--craft-surface-muted); white-space: nowrap; }
.slide[data-key="desktop-vs-plugin"] .data-table th {
  font: 600 1.8cqw/1.2 var(--font-display);
  background: #f0d6b8; color: var(--craft-text);
}
.slide[data-key="desktop-vs-plugin"] .data-table td:first-child {
  background: none; padding-left: .2cqw;
  font: 700 1.95cqw/1.2 var(--font-display); color: var(--craft-text);
}
.slide[data-key="desktop-vs-plugin"] .data-table th:first-child { background: none; padding-left: .2cqw; color: var(--craft-muted); }
.slide[data-key="desktop-vs-plugin"] .data-table tbody tr { border: 0; }

/* Окна кода: тёмный терминал темы (движок даёт форму окна и перенос строк). */
.code-window { border-radius: .8cqw; background: #1a0a10; box-shadow: 0 0 0 1px #1a0a10; display: grid; grid-template-rows: auto 1fr; min-height: 0; }
.code-window-bar { background: #2e1820; color: #f3dfe2; }
.code-window-bar i { background: #ff5f57; }
.code-window-bar i:nth-child(2) { background: #ffd400; }
.code-window-bar i:nth-child(3) { background: #28c840; }
.code-window .code { margin: 0; color: #f3dfe2; background: transparent; }

/* Два отчёта: пара окон, Detailed шире. Ключи отчёта — жёлтым (язык report),
   значения светлые. Полный текст: кегль — максимум, что влезает. */
.s-reports .code-windows--pair { flex: 1; min-height: 0; grid-template-columns: 1.8fr 1fr; gap: 1.4cqw; align-items: stretch; }
.s-reports .pad { padding-bottom: calc(var(--pad-y) + 7cqh); }
.s-reports .code-window .code { padding: 1.4cqh 1.1cqw; overflow: hidden; }
.s-reports .code-window .code-line { min-height: 0; padding-top: 0; padding-bottom: 0; line-height: inherit; }
.s-reports .report--detailed .code { font-size: .74cqw; line-height: 1.17; }
.s-reports .report--brief .code { font-size: .86cqw; line-height: 1.2; }
.s-reports .code [class^="hljs-"] { color: #f3dfe2; font-weight: 400; }
.s-reports .code .hljs-attr { color: #ffd400; font-weight: 700; }

/* Скрипты: подписи метрик читаемые. */
.slide[data-key="crash-gate"] .scoreboard .k { font-size: 1.9cqw; line-height: 1.35; }
.slide[data-key="review-numbers"] .type-note { font-size: 1.85cqw; color: var(--craft-text-body); }

/* Ценник: перфорация поверх обеих панелей. Колонки на общей сетке:
   подпись, цена, пункты на одних уровнях; три пункта справа равноправны.
   Зачёркивание старой цены появляется вместе с новой. */
.slide.s-pricetag.s-comparison::after { z-index: 3; }
.s-pricetag .comparison-side { justify-content: flex-start; padding-top: 24cqh; }
.s-pricetag .comparison-label { font-size: 2.1cqw; }
.s-pricetag .comparison-value { --metric-size: 8cqw; line-height: 1; padding-block: .4cqw; }
.s-pricetag .comparison-points { font-size: 2.5cqw; }
.s-pricetag .comparison-side .comparison-points.plain-list { --row-pad: 1.9cqh; --marker-size: .65cqw; }
.s-pricetag .comparison-points > li { align-items: start; }
.s-pricetag .comparison-points code { font-size: .9em; }
.s-pricetag .comparison-points > li::before { margin-top: calc((1.3em - var(--marker-size)) / 2); }
.s-pricetag .is-before .comparison-value s { text-decoration: none; }
.s-pricetag:not(:has(.is-after.frag:not([data-shown]))) .is-before .comparison-value s { text-decoration: line-through currentColor .45cqw; }

/* «11» в «Цена 11.11» зачёркнуто от руки, сверху приписано «10». */
.date-fix { position: relative; display: inline-block; }
.date-fix__old::before { content: "11"; }
.date-fix__strike { position: absolute; left: -6%; top: 22%; width: 112%; height: 60%; overflow: visible; }
.date-fix__strike path { fill: none; stroke: #ffd400; stroke-width: .35cqw; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.date-fix__ink {
  position: absolute; left: 4%; bottom: 78%;
  font: 700 1.25em/1 "Caveat", cursive;
  color: #ffd400;
  transform: rotate(-9deg);
  white-space: nowrap;
}

/* Ревью: агенты и минусы. */
.slide[data-key="review-agents"] .bullets { --row-pad: 1.3cqh; }
.slide[data-key="review-agents"] .bullets li h3 { font-size: 2.6cqw; margin-bottom: .3cqh; }
.slide[data-key="review-agents"] .bullets li small { font-size: 1.85cqw; line-height: 1.3; }
/* Роль крупно, имя агента мелким моноширинным: залу важна роль. */
.slide[data-key="review-agents"] .bullets li small code { font-size: .9em; color: var(--craft-text-body); }
.slide[data-key="review-agents"] .type-note { font-size: 1.85cqw; margin-top: 1cqh; color: var(--craft-text-body); }
.slide[data-key="review-cons"] .bullets { --row-pad: 2cqh; }
.slide[data-key="review-cons"] .bullets li h3 { font-size: 2.4cqw; }
.slide[data-key="review-cons"] .bullets li small { font-size: 1.75cqw; }

/* Находки: три карточки на всю высоту области. */
.plain-list.finds { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4cqw; align-items: stretch; }
.plain-list.finds > li { display: block; padding: 7cqh 1.8cqw; border: var(--rule) solid var(--craft-line-strong); background: var(--craft-surface); }
.plain-list.finds > li::before { display: none; }
.plain-list.finds h3 { font: 700 2.55cqw/1.15 var(--font-display); letter-spacing: -.02em; white-space: nowrap; margin: 0 0 3.6cqh; color: var(--craft-text); }
.plain-list.finds p { font: 400 2.25cqw/1.4 var(--font-text); margin: 0; color: var(--craft-text-body); }

/* Подключение: окна команд, QR на репу справа с полным адресом. */
.s-plugins .plugins-grid { flex: 1; min-height: 0; align-self: stretch; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4cqw; align-items: center; }
.s-plugins .plugins-qr { display: grid; justify-items: center; }
.s-plugins .qr-link { justify-items: center; }
.s-plugins .qr { width: 17cqw; }
.s-plugins .plugins-note { font-size: 1.6cqw; color: var(--craft-text-body); margin: 0; }
.s-plugins .where { font-size: 1.5cqw; text-align: center; max-width: 24cqw; }

/* Выводы: пять пунктов — крупно и с воздухом. */
.slide[data-key="takeaways"] .bullets { --row-pad: 2cqh; }
.slide[data-key="takeaways"] .bullets li h3 { font-size: 2.6cqw; margin: 0; }
.slide[data-key="takeaways"] .bullets > li { align-items: center; }

/* Harold: без имени, QR по центру свободного места справа. */
.s-harold .harold-side { flex: 1; display: grid; justify-items: center; align-self: stretch; align-content: center; row-gap: 4cqh; }
.s-harold .qr { width: 15cqw; }
.s-harold .qr-link { justify-items: center; }
.s-harold .where { font-size: 1.8cqw; }

/* ===== Паттерны 11.11 (раунд 9): колба, трекеры заказа, корзина, купоны ===== */
/* Движение — только у нарисованного (жидкость, линии, точки, галочки) и только
   на прямом шаге: [data-reveal] задаёт стартовый кадр, обычный стиль — финальный.
   Текст появляется сразу, вместе со своим шагом. */
@keyframes mark-pop { from { scale: 0; } }

/* Колба «продано N%»: стеклянная трубка, доли тредов наливаются по одной.
   Подпись доли — под своим сегментом на отводке, узкие доли лесенкой. */
.s-flask .flask-board { display: grid; gap: 6cqh; width: 100%; }
.s-flask .flask-kpis { display: flex; gap: 8cqw; }
.s-flask .flask-kpi .k { font-size: 1.9cqw; line-height: 1.35; color: var(--craft-muted); margin-top: 1cqh; }
.s-flask .flask { position: relative; height: 5.2cqw; margin-bottom: 10.5cqw; }
.s-flask .flask-glass {
  position: absolute; inset: 0;
  border-radius: 2.6cqw;
  border: .2cqw solid rgb(87 64 74 / .3);
  background: linear-gradient(var(--craft-surface), var(--craft-surface-muted));
  box-shadow: inset 0 -.5cqw .8cqw rgb(26 10 16 / .06);
}
.s-flask .flask-shine {
  position: absolute; left: 2.2cqw; right: 2.2cqw; top: .65cqw; height: .7cqw;
  border-radius: 1cqw; pointer-events: none;
  background: linear-gradient(90deg, rgb(255 255 255 / 0), rgb(255 255 255 / .75) 12%, rgb(255 255 255 / .45) 70%, rgb(255 255 255 / 0));
}
.s-flask .flask-fill { position: absolute; inset: .2cqw; }
.s-flask .flask-seg { position: absolute; top: 0; bottom: 0; --d: 1s; --dl: 0s; }
.s-flask .is-fixed { left: 0; width: 77%; --c: var(--craft-accent-fill); --d: 1.5s; --dl: .1s; }
.s-flask .is-rejected { left: 77%; width: 11%; --c: #cfae9a; }
.s-flask .is-tasks { left: 88%; width: 5%; --c: #e0c4ae; }
.s-flask .is-unknown { left: 93%; width: 7%; --c: #eedccb; }
.s-flask .flask-clip { position: absolute; inset: 0; overflow: hidden; }
.s-flask .is-fixed .flask-clip { border-radius: 2.4cqw 0 0 2.4cqw; }
.s-flask .is-unknown .flask-clip { border-radius: 0 2.4cqw 2.4cqw 0; }
.s-flask .liq { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--c); }
/* Фронт жидкости — волна по вертикали; в финале сжата в ноль, край прямой. */
.s-flask .front {
  position: absolute; left: 100%; top: 0; bottom: 0; width: 1.6cqw;
  background: var(--c);
  transform: scaleX(0); transform-origin: left;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0H10C20 5 20 15 10 20C0 25 0 35 10 40H0Z'/%3E%3C/svg%3E") 0 -9.6cqw / 100% 2.4cqw repeat-y;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0H10C20 5 20 15 10 20C0 25 0 35 10 40H0Z'/%3E%3C/svg%3E") 0 -9.6cqw / 100% 2.4cqw repeat-y;
}
.s-flask .bub { position: absolute; bottom: .5cqw; width: .55cqw; height: .55cqw; border-radius: 50%; border: .12cqw solid rgb(255 255 255 / .85); opacity: 0; }
.s-flask .flask-pct { position: absolute; left: 2cqw; top: 50%; translate: 0 -50%; font: 900 2.6cqw/1 "Unbounded", var(--font-display); color: var(--craft-on-accent); }
.s-flask .flask-label { position: absolute; left: 0; right: 0; top: calc(100% + .2cqw); margin: 0; font-size: 1.8cqw; line-height: 1.2; color: var(--craft-text-body); white-space: nowrap; }
.s-flask .flask-label i { position: absolute; left: 50%; top: .2cqw; width: .16cqw; height: calc(1cqw + var(--row) * 3cqw); background: #c9b2a2; }
.s-flask .flask-label span { position: absolute; right: calc(50% - .5cqw); top: calc(1.2cqw + var(--row) * 3cqw); }
.s-flask .flask-label b { font: 700 1em/1.2 var(--font-display); color: var(--craft-text); }
.s-flask .is-fixed .flask-label i { display: none; }
.s-flask .is-fixed .flask-label span { left: 0; right: auto; top: 1.2cqw; }
.s-flask .is-fixed .flask-label b { color: var(--craft-accent); }
.s-flask .flask-foot { margin-top: 0; }

@keyframes flask-pour { from { width: 0; } }
@keyframes flask-level { 0% { top: 34%; } 40% { top: 9%; } 58% { top: 15%; } 74% { top: 4%; } 88% { top: 7%; } }
@keyframes flask-run { from { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@keyframes flask-settle { 0%, 55% { transform: scaleX(1); } 80% { transform: scaleX(.45); } }
@keyframes flask-bubble {
  0% { opacity: 0; transform: translateY(0) scale(.5); }
  20% { opacity: .9; }
  75% { opacity: .9; transform: translateY(-2.6cqw) scale(1); }
  95% { opacity: 0; transform: translateY(-3cqw) scale(1.7); }
}
:is(.s-flask .flask[data-reveal] .is-fixed, .s-flask .flask-seg[data-reveal]) .liq {
  animation: flask-pour var(--d) cubic-bezier(.35, .1, .25, 1) var(--dl) both, flask-level var(--d) ease-out var(--dl) both;
}
:is(.s-flask .flask[data-reveal] .is-fixed, .s-flask .flask-seg[data-reveal]) .front {
  animation: flask-run var(--d) linear var(--dl) both, flask-settle calc(var(--d) + .35s) ease-out var(--dl) both;
}
:is(.s-flask .flask[data-reveal] .is-fixed, .s-flask .flask-seg[data-reveal]) .bub {
  animation: flask-bubble .9s ease-out var(--bd, 0ms) both;
}

/* Трекер заказа (цикл ревью): линия пути и четыре точки статуса.
   Будущие статусы видны заранее, приглушённо; достигнутый — красная точка
   с галочкой, конечная точка «Аппрув» — жёлтая. */
.s-ordertrack .order-track {
  --future: color-mix(in srgb, var(--craft-muted) 75%, var(--craft-bg));
  position: relative; width: 100%; margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.s-ordertrack .order-track::before,
.s-ordertrack .order-track::after {
  content: ""; position: absolute; left: 1.8cqw; top: 1.55cqw; height: .5cqw;
}
.s-ordertrack .order-track::before { width: 75%; background: var(--craft-line); }
.s-ordertrack .order-track::after { width: var(--fill, 0%); background: var(--craft-accent-mark); }
.s-ordertrack .order-track:has(> li:nth-child(2) > .ot-mark[data-shown]) { --fill: 25%; --from: 0%; }
.s-ordertrack .order-track:has(> li:nth-child(3) > .ot-mark[data-shown]) { --fill: 50%; --from: 25%; }
.s-ordertrack .order-track:has(> li:nth-child(4) > .ot-mark[data-shown]) { --fill: 75%; --from: 50%; }
@keyframes ot-rail { from { width: var(--from); } }
.s-ordertrack .order-track:has(> li > .ot-mark[data-reveal])::after { animation: ot-rail 600ms cubic-bezier(.45, 0, .1, 1) both; }
.s-ordertrack .ot-step { position: relative; padding-right: 2cqw; }
.s-ordertrack .ot-dot { position: relative; z-index: 1; display: block; width: 3.6cqw; height: 3.6cqw; border-radius: 50%; border: .3cqw solid var(--craft-line); background: var(--craft-bg); }
.s-ordertrack .ot-mark { position: absolute; left: 0; top: 0; z-index: 2; width: 3.6cqw; height: 3.6cqw; border-radius: 50%; display: grid; place-items: center; background: var(--craft-accent-mark); }
.s-ordertrack .ot-mark svg { width: 1.9cqw; height: 1.9cqw; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.s-ordertrack .is-final .ot-mark { background: #ffd400; box-shadow: 0 0 0 .5cqw var(--craft-bg), 0 0 0 .75cqw var(--craft-text); }
.s-ordertrack .is-final .ot-mark svg { stroke: #1a0a10; }
.s-ordertrack .ot-mark[data-reveal] { animation: mark-pop 500ms cubic-bezier(.34, 1.56, .64, 1) 450ms both; }
.s-ordertrack .ot-n { display: block; margin-top: 2.2cqw; font: 900 1.5cqw/1 "Unbounded", var(--font-display); color: var(--future); }
.s-ordertrack .ot-step h3 { margin: .7cqw 0 0; font: 700 2.5cqw/1.15 var(--font-display); color: var(--future); }
.s-ordertrack .ot-step p { margin: .9cqw 0 0; font-size: 1.95cqw; line-height: 1.4; color: var(--craft-text-body); }
.s-ordertrack .ot-step:is(:first-child, :has(> .ot-mark[data-shown])) .ot-n { color: var(--craft-accent); }
.s-ordertrack .ot-step:is(:first-child, :has(> .ot-mark[data-shown])) h3 { color: var(--craft-text); }
.s-ordertrack .type-note { font-size: 1.85cqw; color: var(--craft-text-body); margin-top: 7cqh; max-width: none; }

/* Корзина (агенты анализа): позиция — этап, вариант — модель, цена — время.
   Сборщик данных — необязательная позиция без галочки. Кнопка оформления
   краснеет, когда появляется итог. */
.s-cart .cart-row { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 22cqw; gap: 4cqw; align-items: center; }
.s-cart .cart { background: var(--craft-surface); border: var(--rule) solid var(--craft-line); border-radius: 1cqw; box-shadow: 0 .3cqw 1.2cqw rgb(26 10 16 / .08); }
.s-cart .cart-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0; padding: 1.1cqw 2cqw; border-bottom: var(--rule) solid var(--craft-line); }
.s-cart .cart-head strong { font: 700 2cqw/1.2 var(--font-display); color: var(--craft-text); }
.s-cart .cart-head span { font-size: 1.5cqw; color: var(--craft-muted); }
.s-cart .cart-items { list-style: none; margin: 0; padding: 0; }
.s-cart .cart-item { display: grid; grid-template-columns: 2.2cqw 4.6cqw minmax(0, 1fr) auto; gap: 1.6cqw; align-items: center; padding: .8cqw 2cqw; border-bottom: var(--rule) solid var(--craft-line); }
.s-cart .cart-check { width: 2.2cqw; height: 2.2cqw; border-radius: .4cqw; display: grid; place-items: center; background: var(--craft-accent-mark); }
.s-cart .cart-check svg { width: 1.4cqw; height: 1.4cqw; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.s-cart .is-optional .cart-check { background: var(--craft-surface); border: .2cqw solid #c9b2a2; }
.s-cart .cart-photo { width: 4.6cqw; height: 4.6cqw; border-radius: .6cqw; display: grid; place-items: center; background: var(--craft-surface-muted); }
.s-cart .cart-photo svg { width: 2.5cqw; height: 2.5cqw; fill: none; stroke: var(--craft-muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.s-cart .cart-name strong { display: block; font: 700 2.1cqw/1.15 var(--font-display); color: var(--craft-text); }
.s-cart .cart-variant { display: inline-block; margin-top: .5cqw; padding: .25cqw .8cqw; border-radius: .4cqw; background: var(--craft-surface-muted); font-size: 1.5cqw; line-height: 1.3; color: var(--craft-muted); }
.s-cart .cart-variant b { font-weight: 600; color: var(--craft-text); }
.s-cart .cart-price { font: 800 2cqw/1 "Unbounded", var(--font-display); white-space: nowrap; color: var(--craft-text); }
.s-cart .is-optional :is(strong, .cart-price) { color: var(--craft-muted); }
.s-cart .cart-foot { display: flex; justify-content: space-between; align-items: center; gap: 2cqw; padding: 1.1cqw 2cqw; }
.s-cart .cart-total { margin: 0; display: flex; align-items: baseline; gap: 1.2cqw; font: 700 2cqw/1 var(--font-display); color: var(--craft-text); }
.s-cart .cart-total b { font: 900 3cqw/1 "Unbounded", var(--font-display); }
.s-cart .cart-pay { padding: 1cqw 2.2cqw; border-radius: 3cqw; background: var(--craft-surface-muted); color: var(--craft-muted); }
.s-cart .cart-pay code { font-size: 1.6cqw; color: inherit; background: none; }
.s-cart .cart:has(.cart-total[data-shown]) .cart-pay { background: var(--craft-accent-fill); color: var(--craft-on-accent); }
@keyframes cart-pay-in { from { background: var(--craft-surface-muted); color: var(--craft-muted); } }
.s-cart .cart-total[data-reveal] + .cart-pay { animation: cart-pay-in 200ms ease-out both; }
.s-cart .cart-item[data-reveal] .cart-check { animation: mark-pop 400ms cubic-bezier(.34, 1.56, .64, 1) 100ms both; }
.s-cart .cart-note { font-size: 1.85cqw; line-height: 1.4; color: var(--craft-text-body); margin: 0; max-width: none; }

/* Купоны с линией отрыва: красный корешок, пунктир с полукруглыми вырезами,
   команды — «промокод». */
.s-plugins .coupons { display: grid; gap: 2.4cqw; min-width: 0; }
.s-plugins .plugins-grid { gap: 3cqw; }
.s-plugins .coupon { --n: 1.3cqw; margin: 0; display: grid; grid-template-columns: 11cqw minmax(0, 1fr); filter: drop-shadow(0 .3cqw .6cqw rgb(26 10 16 / .12)); }
.s-plugins .coupon-stub,
.s-plugins .coupon-code {
  -webkit-mask: radial-gradient(circle var(--n) at var(--x) 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--n) at var(--x) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle var(--n) at var(--x) 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--n) at var(--x) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
.s-plugins .coupon-stub { --x: 100%; display: flex; flex-direction: column; justify-content: center; gap: .6cqw; padding: 1.8cqw 1.4cqw; background: var(--craft-accent-fill); color: var(--craft-on-accent); }
.s-plugins .coupon-stub strong { font: 900 1.8cqw/1.1 "Unbounded", var(--font-display); }
.s-plugins .coupon-stub span { font-size: 1.25cqw; line-height: 1.3; color: var(--craft-on-accent-muted); }
.s-plugins .coupon-code { --x: 0; margin: 0; padding: 1.6cqw 1.6cqw 1.6cqw 1.8cqw; white-space: normal; background: var(--craft-surface); border-left: .25cqw dashed var(--craft-accent-mark); font-size: 1.35cqw; line-height: 1.85; color: var(--craft-text); overflow: hidden; }
.s-plugins .coupon-code code { font: inherit; color: inherit; background: none; }
.s-plugins .coupon-line { display: block; white-space: nowrap; }
.s-plugins .coupon-line::before { content: "❯ "; color: var(--craft-accent); }

/* Эволюция: трекер посылки сверху вниз. Дата — отметка трекинга, заголовок —
   статус. Пройденные точки с галочкой, последняя достигнутая — с ореолом
   («в пути»), будущие — пустые и приглушённые. */
.s-evo .vtrack {
  --future: color-mix(in srgb, var(--craft-muted) 75%, var(--craft-bg));
  list-style: none; margin: 0; padding: 0;
  width: 40%; height: 100%;
  display: grid; align-content: center;
}
.s-evo .vtrack > li { display: grid; grid-template-columns: 2.4cqw minmax(0, 1fr); column-gap: 1.6cqw; padding-bottom: 2.4cqh; }
.s-evo .vtrack > li:last-child { padding-bottom: 0; }
.s-evo .vtrack > li > :is(.vkey, h3, p) { grid-column: 2; }
.s-evo .vdot, .s-evo .vmark { grid-column: 1; grid-row: 1; width: 2.4cqw; height: 2.4cqw; border-radius: 50%; }
.s-evo .vdot { position: relative; z-index: 1; border: .25cqw solid var(--craft-line); background: var(--craft-bg); }
.s-evo .vmark { position: relative; z-index: 2; display: grid; place-items: center; background: var(--craft-accent-mark); }
.s-evo .vmark svg { width: 1.3cqw; height: 1.3cqw; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
/* Линия к следующей точке — сквозь отступ до следующего пункта. */
.s-evo .vline { grid-column: 1; grid-row: 2 / span 2; justify-self: center; position: relative; width: .4cqw; margin-bottom: -2.4cqh; background: var(--craft-line); }
.s-evo .vline::after { content: ""; position: absolute; inset: 0; transform-origin: top; }
.s-evo .vtrack > li:has(+ li > .vmark[data-shown]) > .vline::after { background: var(--craft-accent-mark); }
@keyframes vline-draw { from { transform: scaleY(0); } }
.s-evo .vtrack > li:has(+ li > .vmark[data-reveal]) > .vline::after { animation: vline-draw 600ms cubic-bezier(.45, 0, .1, 1) both; }
.s-evo .vmark[data-reveal] { animation: mark-pop 500ms cubic-bezier(.34, 1.56, .64, 1) 450ms both; }
.s-evo .vtrack > li:has(+ li > .vmark[data-reveal]) > .vmark svg { animation: mark-pop 300ms ease-out 300ms both; }
/* Последний достигнутый статус: без галочки, с ореолом; на входе ореол
   дважды расходится кольцом и останавливается. */
.s-evo .vtrack > li:has(> .vmark:is(:not(.frag), [data-shown])):not(:has(~ li > .vmark[data-shown])) > .vmark { box-shadow: 0 0 0 .55cqw rgb(196 0 26 / .16); }
.s-evo .vtrack > li:has(> .vmark:is(:not(.frag), [data-shown])):not(:has(~ li > .vmark[data-shown])) > .vmark svg { visibility: hidden; }
@keyframes vmark-ring { from { transform: scale(1); opacity: .6; } to { transform: scale(2.3); opacity: 0; } }
.s-evo .vmark[data-reveal]::after { content: ""; position: absolute; inset: -.25cqw; border-radius: 50%; border: .25cqw solid var(--craft-accent-mark); opacity: 0; animation: vmark-ring 800ms ease-out 800ms 2; }
.s-evo .vkey { font-size: 1.6cqw; line-height: 2.4cqw; color: var(--future); }
.s-evo .vtrack h3 { margin: .2cqh 0 0; font: 700 2.1cqw/1.15 var(--font-display); color: var(--future); }
.s-evo .vtrack p { margin: .4cqh 0 0; font-size: 1.55cqw; line-height: 1.4; color: var(--craft-text-body); max-width: none; }
.s-evo .vtrack > li:has(> .vmark:is(:not(.frag), [data-shown])) .vkey { color: var(--craft-muted); }
.s-evo .vtrack > li:has(> .vmark:is(:not(.frag), [data-shown])) h3 { color: var(--craft-text); }
.s-evo .vtrack > li:has(> .vmark:is(:not(.frag), [data-shown])):not(:has(~ li > .vmark[data-shown])) .vkey { color: var(--craft-accent); }
