/* Тёплый кадр — тема «Мягкий свет» (по концепции site/koncept/f3/).
   Подключается ПОСЛЕ app.css и переопределяет токены и ключевые компоненты.
   Логика и разметка страниц не меняются. Образцы: site/koncept/etalon/. */

:root {
  /* Палитра концепции */
  --bg: #F7F6FB;
  --paper: #FFFFFF;
  --ink: #1B1830;
  --ink-soft: #575270;
  --crimson: #F2644A;          /* коралл: выбранное, акценты, метки */
  --crimson-press: #C8402A;    /* коралл темнее: ссылки-кнопки, 5:1 на белом */
  --envelope: #FFE9DB;         /* персик: открытка, плитки */
  --peach: #FFE2D0; --lilac: #E6DFFF; --mint: #D9F2E6; --butter: #FFF0C4; --night: #231F3D;
  --field: #F3F1F9; --field-hover: #ECE9F5;
  --sel: #FFEDE6;
  --line: #E8E5F0; --line-strong: #8A86A0;
  --seg-done: #B9ADF5;
  --disabled-bg: #E6E3F0; --disabled-ink: #57526F;
  --ok: #1E8F6E; --ok-bg: #DDF4EA;
  --warn-bg: #FFF1E0;

  /* Шрифт и шкала покрупнее */
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-sm: 16px; --fs-base: 18px; --fs-lead: 20px; --fs-h2: 28px; --fs-h1: 36px; --fs-xl: 56px;

  /* Скругления и тени мягче */
  --r-ui: 16px; --r-card: 28px; --r-big: 36px;
  --shadow-float: 0 24px 50px -30px rgba(27, 24, 48, .45);
  --hair: inset 0 0 0 1px rgba(27, 24, 48, .08);
  --glass: rgba(255, 255, 255, .72);
}

/* Фон: мягкие засветки, как на главной */
body { position: relative; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60vw 45vh at 90% -5%, rgba(255, 196, 160, .45), transparent 65%),
              radial-gradient(45vw 40vh at -5% 70%, rgba(214, 200, 255, .4), transparent 65%); }
h1, h2 { letter-spacing: -.02em; line-height: 1.08; } /* свободнее, чтобы легко читалось с телефона (23.10) */
h3 { font-weight: 800; letter-spacing: -.01em; }
.lead { font-size: var(--fs-lead); }
:focus-visible { outline: 3px solid var(--crimson); outline-offset: 3px; }

/* Шапка и меню */
.site-top, .top { min-height: 72px; }
.logo { font-weight: 800; letter-spacing: -.02em; }
.logo-mark { width: 30px; height: 30px; }
@media (max-width: 760px) { .logo { font-size: 22px; } .logo-mark { width: 36px; height: 36px; } } /* телефон: логотип в шапке крупнее (22.10) */
.menu-btn { background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px #fff, 0 10px 24px -18px rgba(27, 24, 48, .5); }
.nav a { border-radius: 999px; font-weight: 700; color: var(--ink-soft); }
.nav a:hover { background: #fff; color: var(--ink); }
.site-top .nav a[aria-current="page"] { color: var(--ink); background: #fff; box-shadow: var(--hair); border-radius: 999px; }
.menu a[aria-current="page"] { color: var(--crimson-press); }
.crumbs { color: var(--ink-soft); }

/* Кнопки: главная — тёмная «чернильная», как на главной */
.btn { border-radius: 18px; font-weight: 800; transition: transform .2s, box-shadow .2s, background-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn-main { background: var(--ink); color: #fff; box-shadow: 0 14px 28px -14px rgba(27, 24, 48, .6); }
.btn-main:hover { background: #2B2650; }
.btn-main[aria-disabled="true"] { background: var(--disabled-bg); color: var(--disabled-ink); box-shadow: none; transform: none; }
.btn-soft { background: #fff; color: var(--ink); box-shadow: var(--hair), 0 10px 24px -18px rgba(27, 24, 48, .4); }
.btn-soft:hover { background: #fff; }
.btn-line { box-shadow: inset 0 0 0 1.5px var(--ink); background: transparent; }
.btn-line:hover { background: #fff; }
.link-btn, .more-link { color: var(--crimson-press); }

/* Карточки и секции */
.card, .remind, .format, .postcard, .music-group { box-shadow: var(--hair); }
.card { border-radius: var(--r-card); }
.block { padding-top: var(--s8); }
.sec-head h2 { max-width: 18ch; }
.intro { gap: var(--s2); }
.intro h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.08; letter-spacing: -.02em; }
.intro p { font-size: var(--fs-lead); }

/* Открытка-поздравление: мягкий свет вместо плоского конверта */
.greet, .greet-hero { position: relative; overflow: hidden; border-radius: var(--r-big);
  background: linear-gradient(135deg, #FFE9DB 0%, #FFF6F0 40%, #E9E3FF 100%);
  box-shadow: inset 0 0 0 1px #fff, 0 40px 80px -60px rgba(27, 24, 48, .5); }
.greet::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 180, 140, .55), transparent); }
.greet > * { position: relative; }
.greet-note { color: var(--ink-soft); }
.cover { border-radius: 20px; background: linear-gradient(135deg, var(--peach), #fff 50%, var(--lilac)); box-shadow: inset 0 0 0 1px #fff; }

/* Плитки и ссылки-таблетки */
.tile { background: linear-gradient(145deg, var(--lilac), #F3F0FF); box-shadow: inset 0 0 0 1px #fff; }
.tile:hover { box-shadow: inset 0 0 0 1px #fff, var(--shadow-float); transform: translateY(-2px); }
.tiles li:nth-child(3n+2) .tile { background: linear-gradient(145deg, var(--peach), #FFF3EC); }
.tiles li:nth-child(3n) .tile { background: linear-gradient(145deg, var(--mint), #EFFAF4); }
.chip-link { background: #fff; box-shadow: var(--hair); font-weight: 700; }
.chip-link:hover { background: var(--ink); color: #fff; box-shadow: none; }
.format { border-radius: var(--r-card); }
a.format:hover { box-shadow: var(--hair), var(--shadow-float); }
.format-ico { box-shadow: none; background: var(--field); color: var(--ink); }

/* Шаги, выбор, нижняя панель */
.path .seg { height: 8px; }
.path .cur::before { border-radius: 999px; }
.opt { border-radius: var(--r-ui); background: #fff; box-shadow: var(--hair); }
.opt:hover { background: var(--field); }
.opt.more { grid-column: 1 / -1; justify-content: center; background: var(--field); box-shadow: none; font-weight: 700; color: var(--ink-soft); }
.opt.more:hover { background: var(--field-hover); color: var(--ink); }
.bar { background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-radius: 28px 28px 0 0; box-shadow: 0 -10px 40px -20px rgba(27, 24, 48, .35), inset 0 1px 0 #fff; }
.meter { background: var(--line); }
.bar-info b { font-size: 16px; line-height: 1.25; }
@media (max-width: 599px) { .mult .path li { font-size: 13.5px; } .mult .path .cur::before { font-size: 14px; } }

/* Поля и сообщения */
.input { border: 1.5px solid #CFCADF; border-radius: var(--r-ui); font-weight: 600; }
.input:hover { border-color: var(--line-strong); }
.input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 4px rgba(242, 100, 74, .18); }
.check, .radio-card, .plan-card, .notice, .hero, .slot, .photo, .music-group { border-radius: 18px; }
.check, .radio-card, .plan-card { background: #fff; box-shadow: var(--hair); }
.radio-card:has(input:checked), .plan-card:has(input:checked) { background: var(--sel); box-shadow: inset 0 0 0 2px var(--crimson); }
.notice { background: var(--field); }
.faq summary::after { color: var(--crimson); }
.faq, .faq details, .postcards, .rows { border-color: var(--line); }

/* Подвал: белая плита со скруглённым верхом */
.site-foot { background: #fff; border-radius: 40px 40px 0 0; box-shadow: inset 0 1px 0 #fff; }
.foot-h { font-weight: 800; letter-spacing: -.02em; }

/* Жёлтая демо-плашка — спокойнее */
.demo { background: var(--butter); color: #4A3A00; }

@media (min-width: 900px) {
  :root { --fs-h1: 44px; --fs-h2: 32px; }
  h1 { font-size: var(--fs-xl); }
  .intro h1 { font-size: clamp(36px, 4.2vw, 60px); }
  .order-box { border-radius: var(--r-big); padding: var(--s6); background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px #fff, var(--shadow-float); }
  .order-box .choose { background: transparent; box-shadow: none; }
  .order-box .bar { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; border-radius: 0; border-top: 1px solid var(--line); }
  .greet { top: 0; min-height: 520px; }
  .home-top .greet { position: sticky; top: var(--s5); }
  .page-hero .greet { min-height: 320px; }
  /* 3D-предмет в углу открытки, как на главной */
  .greet::after { content: ""; position: absolute; right: -4%; bottom: -6%; width: 34%; aspect-ratio: 1; pointer-events: none;
    background: url("/assets/img/3d/bumaga-envelope.webp") center / contain no-repeat; }
  .wiz-main .bar { border-radius: 24px; background: var(--glass); box-shadow: inset 0 0 0 1px #fff, var(--shadow-float); }
  .wiz-side .player { border-radius: var(--r-card); }
}
@media (prefers-reduced-motion: reduce) { .btn, .tile { transition: none; } .btn:hover, .tile:hover { transform: none; } }

/* ---------- Главная (по site/koncept/f3/) ---------- */
.home main.page { padding-inline: var(--gutter); }
.home .lead { color: var(--ink-soft); }
.home main img { height: auto; }
.h-screen { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: var(--s2);
  padding: 36px 20px 24px; border-radius: 32px;
  background: linear-gradient(135deg, #FFE9DB 0%, #FFF6F0 35%, #E9E3FF 100%); box-shadow: inset 0 0 0 1px #fff, 0 60px 100px -70px rgba(27, 24, 48, .55); }
.h-screen::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 180, 140, .6), transparent); }
.h-txt { position: relative; z-index: 2; align-self: start; }
.h-screen h1 { max-width: 14ch; font-size: clamp(36px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -.025em; }
.h-screen .lead { margin: 20px 0 26px; max-width: 26em; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; }
.h-hint { margin-top: 18px; font-size: 16px; color: var(--ink-soft); }
.h-quick { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.h-quick a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: var(--hair); font-weight: 700; font-size: 16px; text-decoration: none; }
.h-quick a span { font-weight: 600; color: var(--ink-soft); }
.h-quick a:hover { background: var(--ink); color: #fff; } .h-quick a:hover span { color: #fff; }
.h-prev { position: relative; z-index: 1; width: 100%; aspect-ratio: 16 / 10; display: grid; place-items: center; border-radius: 26px;
  background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px #fff, 0 40px 70px -50px rgba(27, 24, 48, .6); }
.h-cap { position: absolute; left: 18px; top: 16px; right: 18px; font-weight: 700; font-size: 16px; line-height: 1.3; }
.h-cap small { display: block; font-weight: 500; color: var(--ink-soft); font-size: 16px; }
/* Ролик «Как это работает»: обложка-кнопка, по нажатию — плеер (site.js) */
.h-video { overflow: hidden; background: var(--night); }
.h-vbtn { position: absolute; inset: 0; display: grid; place-items: center; padding: 0; border: 0; background: none; color: #fff; font: inherit; cursor: pointer; border-radius: inherit; }
.h-video .h-vbtn::before { content: ""; position: absolute; inset: 0 0 45% 0; z-index: 1; background: linear-gradient(rgba(27, 24, 48, .55), rgba(27, 24, 48, 0)); border-radius: inherit; }
.h-ph .h-vbtn img, .h-video .h-vbtn img, .h-video video, .h-ph video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.h-video .h-cap { z-index: 2; text-align: left; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.h-video .h-play, .h-ph .h-vbtn .h-play { z-index: 2; color: var(--ink); transition: transform .2s ease; }
.h-vbtn:hover .h-play { transform: scale(1.06); }
.h-ph .h-vbtn, .h-ph video { z-index: 1; }
.h-ph.playing figcaption { display: none; } /* подпись не закрывает кнопки плеера */
.h-ph:has(.h-vbtn) figcaption { pointer-events: none; } /* нажатие по подписи — тоже «смотреть» */
.h-ph video { background: var(--night); }
.h-vbtn:focus-visible { outline: 3px solid var(--crimson); outline-offset: -3px; }
@media (prefers-reduced-motion: reduce) { .h-video .h-play { transition: none; } }
.h-soon, .h-ph figcaption i { padding: 7px 12px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 16px/1 var(--font); font-style: normal; }
.h-soon { position: absolute; right: 14px; bottom: 14px; }
.h-play { position: relative; z-index: 1; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #fff; box-shadow: 0 20px 40px -16px rgba(27, 24, 48, .45); }
.h-play svg { width: 26px; height: 26px; margin-left: 4px; }
@keyframes h-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
/* Телефон: ролик «Как это работает» сразу под заголовком, чтобы он был на первом экране (решение владельца 22.10).
   Порядок: заголовок → ролик → кнопки → пояснение; на компьютере — как было, две колонки */
@media (max-width: 760px) {
  .h-screen { gap: 0; }
  .h-screen > .h-txt { display: contents; }
  .h-screen > .h-txt > * { position: relative; z-index: 2; }
  .h-screen h1 { order: 1; }
  .h-screen .h-prev { order: 2; margin-top: 20px; }
  .h-screen .btn-row { order: 3; margin-top: 20px; }
  .h-screen .btn-row .btn { flex: 1 1 100%; }
  .h-screen .lead { order: 4; margin: 20px 0 0; }
  .h-screen .h-hint { order: 5; }
}

.h-sec { padding-top: clamp(56px, 8vw, 112px); }
.h-head { margin-bottom: clamp(24px, 3vw, 40px); }
.h-head h2 { max-width: 18ch; font-size: clamp(30px, 4.2vw, 54px); line-height: 1.08; letter-spacing: -.02em; }
.h-head p { margin-top: 12px; max-width: 32em; color: var(--ink-soft); }

.h-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; counter-reset: n; }
.h-steps li { counter-increment: n; display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 24px; border-radius: 26px; background: #fff; box-shadow: var(--hair); }
.h-steps li::before { content: counter(n); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--ink); color: #fff; font: 800 20px/1 var(--font); }
.h-steps b { display: block; margin-bottom: 4px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.h-steps span { font-size: 16px; color: var(--ink-soft); }

.h-ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.h-gift { position: relative; overflow: hidden; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; padding: 18px; border-radius: 28px; text-decoration: none;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.h-gift img { align-self: start; width: 112px; height: auto; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.h-gift h3 { font-size: clamp(22px, 2.6vw, 34px); line-height: 1.08; letter-spacing: -.01em; }
.h-gift p { margin-top: 8px; max-width: 30em; color: var(--ink-soft); font-size: 16.5px; }
.h-pr { grid-column: 2; font: 800 clamp(24px, 2.4vw, 34px)/1 var(--font); letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.h-pr small { display: block; margin-top: 6px; max-width: 19em; font: 600 16px/1.35 var(--font); letter-spacing: 0; color: var(--ink-soft); white-space: normal; }
.h-gift.s1 { background: linear-gradient(145deg, var(--butter), #FFF8E6); }
.h-gift.s2 { background: linear-gradient(145deg, var(--mint), #EFFAF4); }
.h-gift.s3 { background: linear-gradient(145deg, var(--peach), #FFF3EC); }
.h-gift.s4 { background: linear-gradient(145deg, var(--lilac), #F3F0FF); }
.h-chip { display: inline-block; margin-bottom: 10px; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .85); font: 700 16px/1 var(--font); }
/* Телефон: сверху картинка и цена, текст ниже на всю ширину — описание не растягивается на 7–8 строк (22.10) */
@media (max-width: 760px) {
  .h-gift { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "img pr" "txt txt"; row-gap: 12px; padding: 20px; }
  /* без object-fit: Safari на iPhone рисовал вокруг картинки светлый прямоугольник */
  .h-gift img { grid-area: img; width: auto; height: 104px; max-width: 132px; align-self: center; }
  .h-gift > div { grid-area: txt; }
  .h-pr { grid-area: pr; grid-column: auto; align-self: center; text-align: right; }
  .h-pr small { max-width: 10.5em; margin-left: auto; }
}
.h-durs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 14px; max-width: 420px; }
.h-durs span { padding: 9px 8px; border-radius: 12px; background: rgba(255, 255, 255, .75); font-weight: 700; font-size: 16px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.h-durs small { display: block; font-weight: 600; color: var(--ink-soft); font-size: 16px; }

.h-ex { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: stretch; }
.h-ph { position: relative; overflow: hidden; display: grid; place-items: center; width: 100%; min-width: 0; justify-self: stretch; margin: 0; border-radius: 26px; background: #fff; box-shadow: var(--hair); }
/* Safari: элемент сетки с aspect-ratio не растягивается сам — ширина задана явно */
.h-ph::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, var(--peach), #fff 50%, var(--lilac)); }
.h-ph.v { aspect-ratio: 9 / 15; } .h-ph.w { aspect-ratio: 16 / 10; grid-column: 1 / -1; order: 1; } .h-ph.s { aspect-ratio: 9 / 15; }
.h-ph figcaption { position: absolute; z-index: 1; left: 10px; right: 10px; bottom: 10px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-weight: 700; font-size: 16px; line-height: 1.25; }

.h-styles { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter); }
.h-styles::-webkit-scrollbar { display: none; }
.h-styles figure { scroll-snap-align: start; margin: 0; }
.h-styles figure { padding: 8px; border-radius: 26px; background: #fff; box-shadow: var(--hair); }
.h-styles img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.h-styles figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 12px 8px 6px; font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.h-styles figcaption span { font-weight: 600; font-size: 16px; letter-spacing: 0; color: var(--ink-soft); }

.h-final { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 20px; padding: 32px 22px; border-radius: 36px; background: var(--night); color: #fff; }
.h-final::before { content: ""; position: absolute; inset: auto -10% -70% 30%; height: 140%; background: radial-gradient(closest-side, rgba(255, 150, 110, .5), transparent); pointer-events: none; }
.h-final > * { position: relative; }
.h-final h2 { max-width: 14ch; font-size: clamp(30px, 4.2vw, 54px); line-height: 1.08; letter-spacing: -.02em; }
.h-final p { margin: 16px 0 28px; max-width: 26em; color: #D6D1EA; }
.h-final .btn-main { background: #fff; color: var(--ink); }
.h-final .btn-main:hover { background: #F1EEFA; }
.h-final .btn-soft { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.h-final img { width: 56%; justify-self: center; animation: h-bob 7s ease-in-out infinite; }
.h-final :focus-visible { outline-color: #fff; }

@media (min-width: 761px) {
  .h-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .h-gift { grid-template-columns: 150px minmax(0, 1fr) auto; gap: 22px; padding: 22px 30px 22px 22px; border-radius: 34px; }
  .h-gift img { align-self: center; width: 150px; }
  .h-pr { grid-column: auto; text-align: right; }
  .h-durs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .h-ladder li:nth-child(2) > .h-gift { margin-left: 4%; } .h-ladder li:nth-child(3) > .h-gift { margin-left: 8%; } .h-ladder li:nth-child(4) > .h-gift { margin-left: 12%; }
  .h-gift:hover { transform: translateX(8px); box-shadow: 0 30px 50px -36px rgba(27, 24, 48, .45); }
  .h-gift:hover img { transform: rotate(-6deg) scale(1.06); }
  .h-ex { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr) minmax(0, .9fr); gap: 16px; }
  .h-ph.w { grid-column: auto; align-self: end; order: 0; } .h-ph.s { aspect-ratio: 1; align-self: end; }
  .h-ph figcaption { left: 16px; right: 16px; bottom: 14px; padding: 10px 14px; }
  .h-styles { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding: 0; }
  .h-final { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); padding: clamp(32px, 5vw, 64px); border-radius: 44px; }
  .h-final img { width: min(100%, 320px); }
  .h-screen { padding: 40px; border-radius: 40px; }
  .h-play { width: 84px; height: 84px; } .h-play svg { width: 30px; height: 30px; }
}
@media (min-width: 981px) {
  .h-screen { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: end; gap: 24px; min-height: min(78vh, 720px); min-height: min(78svh, 720px); padding: clamp(32px, 4vw, 56px); border-radius: 48px; }
  .h-screen h1 { max-width: none; font-size: clamp(40px, 4.4vw, 64px); }
  .h-txt { align-self: center; }
  .h-prev { justify-self: end; align-self: center; width: min(100%, 560px); border-radius: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .h-final img { animation: none; }
  .h-gift, .h-gift img { transition: none; } .h-gift:hover, .h-gift:hover img { transform: none; }
}

/* Мультфильм: пять шагов в одну строку */
#m-path { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 599px) { #m-path li { font-size: 16px; } }

/* Страницы с открыткой-примером: воздух до формы, надпись помельче */
.page-hero { padding-bottom: var(--s6); }
.demo + .intro, .demo + .page-head { padding-top: var(--s5); }
@media (min-width: 900px) { .page-hero .greet-text { font-size: clamp(48px, 5vw, 72px); } }

/* Примеры-открытки: белые карточки с полями вместо строк с линиями */
.postcards { display: grid; gap: var(--s3); border-top: 0; }
.postcard { padding: var(--s3); border-bottom: 0; border-radius: var(--r-card); background: #fff; }
@media (min-width: 900px) {
  .postcards { gap: var(--s4); }
  .postcard { padding: var(--s2) var(--s2) var(--s3); }
  .postcard-body { padding-inline: var(--s2); }
}

/* Мастер: заголовок карточки без лишнего отступа сверху, нижняя панель плотнее — фото под ней не просвечивают */
.choose .card > h3:first-child { margin-top: 0; }
.wiz .bar { background: rgba(255, 255, 255, .94); }
@media (min-width: 900px) { .wiz-main .bar { background: rgba(255, 255, 255, .94); } }

/* Узкие страницы (заказ, даты, поддержка, документы): заголовки в карточках спокойнее */
@media (min-width: 900px) {
  .narrow .card h1 { font-size: 44px; }
  .narrow .card h2 { font-size: 30px; }
}

/* Шаги «Как это работает»: тёмные номера, как «Три шага» на главной */
.howto li::before { border-radius: 14px; background: var(--ink); color: #fff; box-shadow: none; }
/* Обложка-открытка не растягивается под длинную надпись: все карточки примеров одной высоты */
.cover { overflow: hidden; }

/* Сетки карточек: колонки строго равные, длинное слово не раздувает свою колонку */
.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) {
  .formats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Заголовок страницы отделён от первого блока */
.page-head { padding-bottom: var(--s5); }

/* ---------- Safari на iPhone ---------- */
/* Высота экрана: 100vh в iOS больше видимой области — берём «малую» высоту, где она есть */
body { min-height: 100svh; }
/* Элементы сетки с aspect-ratio сами не растягиваются в Safari — ширина явно */
.cover, .photo, .slot { width: 100%; min-width: 0; }
.slot.slot-btn { height: auto; } /* у кнопки-слота высоту даёт aspect-ratio, а не 100% строки */
/* Скругление + overflow: hidden не обрезает анимированные предметы в Safari без отдельного слоя */
.h-screen, .h-final, .greet, .greet-hero, .h-gift { isolation: isolate; }
/* Список без системной стрелки и в старых iOS */
select.input { -webkit-appearance: none; }
/* Меню: прокрутка не уходит на страницу под ним, низ не прячется под полоску «домой» */
.menu { overscroll-behavior: contain; padding-bottom: calc(var(--s7) + env(safe-area-inset-bottom, 0px)); }
/* Выбор стиля мультфильма: галочка и без :has() (iOS до 15.4) */
.style-card input:checked ~ b::after { content: " ✓"; color: var(--crimson-press); }

/* Главная: напоминание о дате */
.h-remind { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: clamp(28px, 4vw, 48px); border-radius: 36px; background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px #fff, var(--shadow-float); }
.h-remind h2 { max-width: 14ch; }
.h-remind p { margin: 14px 0 24px; max-width: 30em; color: var(--ink-soft); }
.h-remind-obj { width: 150px; justify-self: end; margin: -8px -8px -24px 0; }
/* Телефон: нота крупно над заголовком, а не маленькая в углу (22.10) */
@media (max-width: 899px) { .h-remind-obj { order: -1; width: min(80%, 300px); justify-self: center; margin: -6px 0 2px; } }
@media (min-width: 900px) { .h-remind { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); align-items: center; } .h-remind-obj { width: min(100%, 260px); justify-self: center; margin: 0; } }

/* Главная: группа ВКонтакте и конкурс «Лучшее видео месяца» */
.h-vk { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: clamp(28px, 4vw, 48px); border-radius: 36px; background: linear-gradient(135deg, var(--peach) 0%, #FBD6E0 55%, var(--lilac) 100%); box-shadow: var(--shadow-float); }
.h-vk-tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .75); font-size: 16px; font-weight: 800; }
.h-vk h2 { max-width: 14ch; margin-top: 14px; }
.h-vk > div > p { margin: 14px 0 20px; max-width: 30em; color: var(--ink-soft); }
.h-vk-steps { display: grid; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.h-vk-steps li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; background: rgba(255, 255, 255, .7); font-weight: 700; }
.h-vk-steps b { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 16px; }
.h-vk .btn-soft { background: rgba(255, 255, 255, .75); }
.h-vk .h-vk-rules { margin: 14px 0 0; font-size: 16px; }
.h-vk-art { position: relative; justify-self: center; width: 170px; margin: -16px 0 -28px; }
.h-vk-art img { display: block; width: 100%; height: auto; animation: h-bob 7s ease-in-out infinite; }
.h-vk-prize { position: absolute; top: 6%; right: -8px; display: grid; justify-items: center; padding: 10px 16px; border-radius: 20px; background: var(--crimson-press); color: #fff; font-size: 16px; font-weight: 800; line-height: 1.15; transform: rotate(8deg); box-shadow: 0 14px 24px -10px rgba(27, 24, 48, .6); }
.h-vk-prize s { font-weight: 600; opacity: .65; }
.h-vk-prize big { font-size: 26px; }
/* Телефон: подарок над заголовком, «Приз» наклеен на его угол, как ценник (23.10) */
@media (max-width: 899px) {
  .h-vk-art { order: -1; width: 150px; margin: -6px auto 12px; }
  .h-vk-prize { top: -2px; right: -54px; padding: 8px 14px; }
  .h-vk-prize big { font-size: 30px; }
}
@media (min-width: 900px) { .h-vk { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: center; } .h-vk-art { width: min(100%, 280px); margin: 0; } }
@media (prefers-reduced-motion: reduce) { .h-vk-art img { animation: none; } }

/* ---------- Статьи-инструкции (/stati/): обложка с 3D-предметом, содержание сбоку, шаги, подсказки, кнопки заказа ---------- */
.art-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: var(--s3) 0 var(--s5); padding: clamp(26px, 4.5vw, 56px); border-radius: var(--r-big);
  background: linear-gradient(150deg, var(--peach), #fff 52%, var(--lilac)); box-shadow: var(--hair); }
.art-hero h1 { max-width: 16ch; margin: 0; font-size: clamp(34px, 5.2vw, 64px); line-height: 1.08; letter-spacing: -.02em; }
.art-hero .lead { max-width: 34em; margin: 8px 0 0; color: var(--ink-soft); }
.art-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.art-meta li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .8); font: 700 16px/1.2 var(--font); }
.art-hero .btn-row { margin-top: 10px; }
.art-obj { width: 132px; height: auto; justify-self: end; margin: -6px -6px -30px 0; animation: h-bob 7s ease-in-out infinite; }
.art { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); align-items: start; }
.art-toc { padding: 18px 20px; border-radius: 22px; background: #fff; box-shadow: var(--hair); }
.art-toc summary { cursor: pointer; font-weight: 800; min-height: var(--tap); display: flex; align-items: center; }
.art-toc ol { margin: 6px 0 0; padding-left: 1.3em; display: grid; gap: 6px; }
.art-toc a { color: var(--ink); text-decoration: none; font-weight: 600; }
.art-toc a:hover { color: var(--crimson-press); text-decoration: underline; }
.art-body { min-width: 0; max-width: 720px; }
.art-body > section { scroll-margin-top: 90px; padding-top: var(--s5); }
.art-body > section:first-child { padding-top: 0; }
.art-body h2 { margin: 0 0 14px; font-size: clamp(26px, 3.2vw, 38px); }
.art-body h3 { margin: 22px 0 8px; font-size: 20px; }
.art-body p, .art-body li { font-size: 18px; line-height: 1.7; }
.art-body p { margin: 0 0 14px; }
.art-body ul.art-list { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 10px; }
.art-body ul.art-list li { position: relative; padding-left: 30px; }
.art-body ul.art-list li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 12px; height: 12px; border-radius: 50%; background: var(--crimson); box-shadow: 0 0 0 5px var(--peach); }
.art-body a:not(.btn) { color: var(--crimson-press); font-weight: 700; }
.art-steps { list-style: none; margin: 6px 0 18px; padding: 0; display: grid; gap: 12px; counter-reset: n; }
.art-steps li { counter-increment: n; display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 18px; border-radius: 22px; background: #fff; box-shadow: var(--hair); font-size: 17px; line-height: 1.55; }
.art-steps li::before { content: counter(n); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--ink); color: #fff; font: 800 19px/1 var(--font); }
.art-steps b { display: block; margin-bottom: 2px; font-size: 18px; }
.art-tip { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin: 6px 0 18px; padding: 16px 18px; border-radius: 20px; background: var(--mint); }
.art-tip.warm { background: var(--butter); }
.art-tip b { display: block; }
.art-tip p { margin: 0; font-size: 17px; line-height: 1.6; }
.art-tip .ico { font-size: 24px; line-height: 1.2; }
.art-fig { margin: 8px 0 22px; padding: 8px; border-radius: 26px; background: #fff; box-shadow: var(--hair); }
.art-fig img { display: block; width: 100%; height: auto; border-radius: 20px; background: var(--field); }
.art-fig.tall img { max-width: 320px; margin-inline: auto; }
.art-fig figcaption { padding: 10px 8px 4px; color: var(--ink-soft); font-size: 16px; }
.art-figs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 8px 0 22px; }
.art-figs .art-fig { margin: 0; }
.art-figs figcaption b { color: var(--ink); }
.art-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 6px 0 18px; padding: 0; list-style: none; }
.art-prices li { padding: 16px; border-radius: 20px; background: #fff; box-shadow: var(--hair); font-size: 16px; line-height: 1.4; }
.art-prices b { display: block; font-size: 24px; letter-spacing: -.01em; }
.art-cta { position: relative; overflow: hidden; display: grid; gap: 6px; margin: 10px 0 24px; padding: 26px 24px; border-radius: 30px; background: var(--night); color: #fff; }
.art-cta::before { content: ""; position: absolute; inset: auto -20% -80% 35%; height: 160%; background: radial-gradient(closest-side, rgba(255, 150, 110, .45), transparent); pointer-events: none; }
.art-cta > * { position: relative; }
.art-cta h2, .art-cta h3 { margin: 0; color: #fff; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.02em; }
.art-cta p { margin: 4px 0 14px; color: #D6D1EA; font-size: 17px; line-height: 1.55; }
.art-cta .btn-main { justify-self: start; background: #fff; color: var(--ink); }
.art-cta .btn-main:hover { background: #F1EEFA; }
.art-cta :focus-visible { outline-color: #fff; }
.art-more { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.art-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 84px; align-items: center; gap: 12px; min-height: 120px; padding: 20px 22px; border-radius: 26px;
  background: linear-gradient(150deg, var(--peach), #fff 60%, var(--lilac)); box-shadow: var(--hair); color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.art-card:hover { transform: translateY(-2px); box-shadow: var(--hair), var(--shadow-float); }
.art-card b { display: block; font-size: 20px; line-height: 1.2; letter-spacing: -.02em; }
.art-card span { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 16px; }
.art-card img { width: 84px; height: auto; }
.art-card:focus-visible { outline: 3px solid var(--crimson); outline-offset: 3px; }
@media (min-width: 700px) { .art-figs { grid-template-columns: repeat(3, minmax(0, 1fr)); } .art-prices { grid-template-columns: repeat(4, minmax(0, 1fr)); } .art-more { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .art-hero { grid-template-columns: minmax(0, 1fr) 220px; align-items: center; }
  .art-obj { width: 220px; margin: 0; }
  .art { grid-template-columns: minmax(0, 1fr) 260px; }
  .art-toc { position: sticky; top: 96px; order: 2; }
  .art-toc summary { pointer-events: none; list-style: none; }
  .art-toc summary::-webkit-details-marker { display: none; }
}
@media (prefers-reduced-motion: reduce) { .art-obj { animation: none; } .art-card { transition: none; } .art-card:hover { transform: none; } }

/* Подвал как у сайтов-каталогов поздравлений: «Создать», «Праздники», «Поздравить», «Популярное», «Статьи и помощь».
   На телефоне — колонки друг под другом, на планшете — по две, на компьютере — пять в ряд */
@media (min-width: 600px) and (max-width: 899px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.foot-brand p { margin: 0; }
.foot-vk { justify-self: start; }
.site-foot .legal a { color: var(--ink-soft); }
.site-foot nav a { line-height: 1.3; }

/* Пример готовой работы на страницах продуктов (как на главной) и ссылка на него из шапки */
.ex-link { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 4px; font-weight: 800; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.ex-play { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; flex: none; }
.ex-play svg { width: 16px; height: 16px; margin-left: 2px; }
.p-ex { display: grid; gap: 12px; justify-items: start; }
.p-ex .h-ph.v { max-width: 340px; }
.p-ex .h-ph.w { max-width: 760px; }

/* Подвал на телефоне: группы ссылок сворачиваются (на широком экране site.js раскрывает их) */
.foot-d summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 48px; cursor: pointer; }
.foot-d summary::-webkit-details-marker { display: none; }
.foot-d summary::after { content: "+"; font-size: 26px; font-weight: 600; color: var(--crimson); }
.foot-d[open] summary::after { content: "−"; }
.foot-d .foot-h { margin: 0; }
@media (min-width: 600px) { .foot-d summary { pointer-events: none; min-height: 0; margin-bottom: var(--s2); } .foot-d summary::after { display: none; } }
/* свёрнутые группы — плотным списком с линиями, как вопросы */
@media (max-width: 599px) { .foot-grid > nav:has(.foot-d) { margin-top: calc(-1 * var(--s6)); border-top: 1px solid var(--line); } }
/* Тени у бумажных 3D-картинок — нарисованы в самих картинках: CSS-тень (filter: drop-shadow) Safari на iPhone рисует
   прямоугольником на тон светлее фона карточки (23.10) */
/* Первый экран страниц поводов и «кому»: ролик «Как это работает» вместо текстовой открытки */
.page-hero .h-video { align-self: center; }
/* Страницы открытки и оживления без карточки-надписи (23.10): первый шаг заказа один, по центру */
@media (min-width: 900px) { .home-top:not(.mult) { grid-template-columns: minmax(0, 720px); justify-content: center; } }

/* ===== Заказ мультфильма по образцу Celebrisa (23.10) ===== */
/* Шапка шага: «Шаг N из 5 · …» в цвете шага, тёплый заголовок */
.m-head { margin-bottom: 18px; }
.m-kicker { margin: 0 0 4px; color: var(--crimson-press); font-size: 16px; font-weight: 800; }
.m-head h2 { margin: 0; }
.m-sub { margin: 6px 0 0; color: var(--ink-soft); }
.m-head.s2 .m-kicker { color: #1E7A5E; }
.m-head.s3 .m-kicker { color: #5B43C4; }
.m-head.s4 .m-kicker { color: #8A5A00; }
/* Реклама, примеры и вопросы под заказом — только на первом шаге: дальше человек занят заказом */
.m-focus .intro, .m-focus .home-top.mult ~ * { display: none; }
/* Герои: белая карточка, метка состояния, счётчик, большая рамка для фото */
.hero-count { margin: 0 0 12px; font-weight: 800; color: #8A5A00; }
.hero-count.all { color: var(--ok); }
.hero { gap: 14px; background: #fff; box-shadow: var(--hair); }
.hero-top h3 { margin-right: auto; }
.hero-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--warn-bg); color: #8A5A00; font-size: 16px; font-weight: 800; white-space: nowrap; }
.hero-chip.ok { background: var(--ok-bg); color: var(--ok); }
.hero-chip svg { width: 18px; height: 18px; }
.hero-steps { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.hero-steps .label { font-weight: 800; }
.hero-frame { position: relative; display: grid; place-items: center; align-content: center; gap: 8px; width: 100%; max-width: 360px; aspect-ratio: 1; overflow: hidden; padding: 0; border: 2px dashed var(--line-strong); border-radius: 22px; background: var(--field); color: var(--crimson-press); font: inherit; font-weight: 800; cursor: pointer; }
.hero-frame svg { width: 34px; height: 34px; }
.hero-frame.has { border: 0; cursor: default; }
.hero-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-frame-cap { position: absolute; left: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 16px; font-weight: 700; }
.hero-frame-cap.busy { right: 10px; text-align: center; }
.hero-photos { margin-top: 10px; }
.hero-photos li { width: 72px; height: 72px; }
.hero-add { display: grid; place-items: center; width: 100%; height: 100%; padding: 0; border: 2px dashed var(--line-strong); border-radius: 12px; background: var(--field); color: var(--ink); cursor: pointer; }
.hero-add svg { width: 26px; height: 26px; }
.hero .btn-soft { background: var(--field); }
.hero .btn-soft svg, .sb-fix svg { width: 22px; height: 22px; }
.hero-more { border-top: 1px solid var(--line); padding-top: 4px; }
.hero-more summary { display: flex; align-items: center; gap: 6px; min-height: 48px; font-weight: 800; cursor: pointer; list-style: none; }
.hero-more summary::-webkit-details-marker { display: none; }
.hero-more summary::after { margin-left: auto; content: "+"; color: var(--crimson); font-size: 26px; font-weight: 600; }
.hero-more[open] summary::after { content: "−"; }
/* Сцены раскадровки — карточками: кадр, «Сцена N», фраза, «Исправить сцену» */
.sb-scene { grid-template-columns: minmax(0, 1fr); padding: 12px; border-radius: 20px; box-shadow: var(--hair); }
.sb-chip { justify-self: start; padding: 5px 12px; border-radius: 999px; background: var(--lilac); font-size: 16px; font-weight: 800; }
.sb-scene.key .sb-chip { background: var(--peach); }
.sb-fix { width: 100%; justify-content: center; background: var(--field); }

/* «Кого поздравляем»: бумажный портрет в плитке (23.10) */
@media (max-width: 599px) { .opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } } /* колонки не раздвигаются под длинное слово */
.opt.pic { justify-content: flex-start; gap: 8px; padding: 6px 10px 6px 4px; }
.opt.pic img { flex: none; width: 44px; height: 44px; object-fit: contain; }
.opt.pic span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.opt.pic[aria-pressed="true"]::after { content: none; } /* выбранную видно по рамке */
.m-head + .opts, .m-head ~ .opts { margin-top: 4px; }
/* Поводы с эмодзи, как в заказе мультфильма */
.chip-ico { margin-right: 6px; }
/* Подвал на компьютере плотнее: строки ниже, подчёркивание — при наведении (23.10) */
@media (min-width: 900px) {
  .site-foot { padding-top: 40px; }
  .foot-grid { row-gap: 24px; }
  .site-foot nav a { min-height: 0; padding: 4px 0; text-decoration: none; }
  .site-foot nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
  .site-foot nav li + li { margin-top: 2px; }
  .site-foot .legal { margin-top: 20px; }
}

/* Предпросмотр до загрузки фото — как готовое видео: кадр во весь экран в тёплых тонах, надпись белым снизу (23.10) */
.player .ph-empty { display: grid; place-content: center; justify-items: center; gap: 8px; padding-bottom: 28%; background: linear-gradient(165deg, #E7C3AE, #8E6474 70%, #4A3445); color: rgba(255, 255, 255, .92); }
.player .ph-empty.s3 { background: linear-gradient(165deg, #CDB8D8, #7B6290 70%, #3F3352); }
.player .ph-pic { width: 150px; max-width: 60vw; height: auto; }
.player .ph-cam { width: 2.6em; height: 2.6em; }
.player .ph-note { font-size: 16px; font-weight: 700; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
.player .ph-empty .cap { color: #fff; }
.player .pc-empty { background: linear-gradient(165deg, #E9C2A8, #9A6A6E 65%, #4A3445); color: #fff; }
.player .pc-empty .pc-title { text-shadow: 0 2px 14px rgba(0, 0, 0, .4); }
.player .pc-empty .prog { background: rgba(255, 255, 255, .25); }
/* Длина мультфильма: подсказка «в вашей истории N событий» отдельно от вариантов (23.10) */
.dur-why { margin-bottom: 12px; }
/* Подвал короче (23.10): по 5–8 ссылок в группе и «Все … →» */
.site-foot .foot-all { color: var(--crimson-press); font-weight: 700; }
.site-foot .foot-wide { grid-column: 1 / -1; }
/* Подвал на компьютере в одну строку (23.10): логотип и ВК слева, четыре короткие группы */
@media (min-width: 900px) {
  .foot-grid { grid-template-columns: auto 1fr 1fr 1.4fr 1fr; column-gap: 32px; }
  .foot-brand { grid-column: auto; grid-template-columns: 1fr; justify-items: start; row-gap: 16px; align-content: start; }
}
/* Бумажные значки вместо эмодзи (23.10) */
img.chip-ico { width: 24px; height: 24px; margin: -4px 6px -4px -4px; vertical-align: middle; object-fit: contain; }
.occ-toggle .e img.ic, .occ-row .e img.ic { display: block; width: 30px; height: 30px; object-fit: contain; }
.art-tip .ico img { width: 30px; height: 30px; object-fit: contain; }
/* Мультфильм, шаг оплаты: раскадровка, промокод и пояснение об оплате не слипаются (23.10) */
[data-mstep="5"] .sb-box, #m-promo, #m-pay-note { margin-top: 16px; }
#m-promo:empty { display: none; }
/* Значок повода в кнопке — в строку с текстом и поменьше (23.10) */
.chip:has(img.chip-ico) { display: inline-flex; align-items: center; gap: 6px; }
img.chip-ico { display: inline-block; width: 22px; height: 22px; margin: 0; flex: none; }
/* Ролик «Как это работает» играет сам без звука (site.js ставит .live): вместо «▶» — плашка «Со звуком» (24.10) */
.h-sound { display: none; position: absolute; z-index: 2; left: 16px; top: 46px; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .94); color: var(--ink); font-weight: 700; font-size: 15px; box-shadow: 0 12px 24px -14px rgba(27, 24, 48, .6); transition: transform .2s ease; }
.h-sound svg { width: 18px; height: 18px; }
.h-video.live .h-sound { display: inline-flex; }
@media (max-width: 980px) { .h-sound { left: auto; top: 12px; right: 12px; padding: 8px 12px; font-size: 14px; } .h-video.live .h-cap { right: 140px; } }
.h-video.live .h-play { display: none; }
.h-video.live .h-vbtn:hover .h-sound { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .h-sound { transition: none; } }
/* Первый экран: на компьютере текст слева, крупный ролик справа, за ним веером три карточки подарков (выбор владельца 24.10) */
.h-stage { position: relative; z-index: 1; }
.h-cards { display: none; }
@media (max-width: 760px) { .h-screen .h-stage { order: 2; margin-top: 20px; } .h-screen .h-stage .h-prev { margin-top: 0; } }
@media (min-width: 981px) {
  .h-screen { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
  .h-stage { justify-self: end; align-self: center; width: min(100%, 600px); margin: 190px 30px 40px 0; }
  .h-stage .h-prev { width: 100%; aspect-ratio: 16 / 9.4; }
  .h-cards { display: block; position: absolute; inset: 0; pointer-events: none; }
  .h-cards .cd { position: absolute; z-index: -1; width: 168px; border-radius: 20px; overflow: hidden; pointer-events: auto; text-decoration: none; color: var(--ink);
    box-shadow: 0 26px 44px -26px rgba(27, 24, 48, .65), 0 0 0 5px #fff; transition: translate .25s ease; }
  .h-cards img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
  .h-cards span { position: absolute; left: 50%; top: 10px; translate: -50% 0; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .94); font-size: 14px; font-weight: 700; white-space: nowrap; }
  .h-cards .cd1 { left: 2%; top: -196px; rotate: -8deg; }
  .h-cards .cd2 { left: 50%; top: -226px; margin-left: -84px; rotate: 1deg; z-index: -2; }
  .h-cards .cd3 { right: 2%; top: -196px; rotate: 8deg; }
  .h-cards .cd:hover, .h-cards .cd:focus-visible { translate: 0 -12px; }
}
@media (prefers-reduced-motion: reduce) { .h-cards .cd { transition: none; } }
