/* Раздел «Живые открытки»: язык сайта «Живой код» — белая основа, токены --vz-*, Unbounded и Onest,
   главная кнопка мандарином #cf4319 (контраст 4,5), вторая — белая с обводкой, метка-«пиксель». */

.pc-page { width: min(var(--vz-wrap, 1312px), calc(100% - 2 * var(--vz-pad, 16px))); margin: 0 auto; padding-bottom: 72px; color: var(--vz-ink, #111933); }
.pc-crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; color: var(--vz-muted); font: 500 13px/1.4 Onest, sans-serif; }
.pc-crumbs a { color: inherit; text-decoration: none; }
.pc-crumbs a:hover { color: var(--vz-cobalt); }
/* Надзаголовок как у страниц ЛЕГО и паспортов: метка-«пиксель» и общая жанровая метка сайта */
.pc-kicker { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0 0 14px; color: var(--vz-muted); font: 600 13px/1.3 Onest, sans-serif; }
.pc-kicker .seo-lead-mark { max-width: 100%; white-space: normal; }
.pc-mark { display: inline-flex; gap: 3px; }
.pc-mark i { width: 7px; height: 7px; border-radius: 2px; background: var(--vz-cobalt); }
.pc-mark i:nth-child(2) { background: var(--vz-mandarin); }
.pc-mark i:nth-child(3) { background: var(--vz-lime-2); }
.pc-page h1 { margin: 0 0 20px; font: 600 clamp(34px, 4.2vw, 58px)/1.06 Unbounded, sans-serif; letter-spacing: -.04em; text-wrap: balance; }
.pc-page h1 span { color: var(--vz-cobalt); }
.pc-page h2 { margin: 0 0 22px; font: 600 clamp(26px, 3vw, 42px)/1.1 Unbounded, sans-serif; letter-spacing: -.04em; text-wrap: balance; }
.pc-page h3 { margin: 0 0 6px; font: 600 18px/1.3 Onest, sans-serif; letter-spacing: -.02em; }
.pc-lead { margin: 0 0 26px; max-width: 580px; color: var(--vz-muted); font: 400 18px/1.65 Onest, sans-serif; }

/* Первый экран: поля и кнопки слева, живая открытка на сцене справа */
.pc-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding: 30px 0 56px; }
/* Колонки первого экрана сжимаются до ширины окна: длинная метка переносится, а не растягивает страницу */
.pc-hero > * { min-width: 0; }
.pc-showcase { position: relative; display: grid; justify-items: center; gap: 14px; padding: clamp(18px, 3vw, 34px); border-radius: var(--vz-r-xl); background: radial-gradient(circle, rgba(37, 72, 189, .13) 1.2px, transparent 1.6px) 0 0 / 22px 22px, var(--vz-tint); box-shadow: 0 0 0 1px var(--vz-line); }
.pc-host { width: min(100%, 460px); }
.pc-host > img { display: block; width: 100%; aspect-ratio: 3 / 4; height: auto; border-radius: var(--vz-r-xl); object-fit: cover; }
.pc-hint { min-height: 1.4em; margin: 0; color: var(--vz-muted); font: 500 14px/1.4 Onest, sans-serif; text-align: center; text-wrap: balance; opacity: 0; transition: opacity .6s; }
.pc-hint::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 3px; background: var(--vz-cobalt); vertical-align: middle; animation: pc-pulse 1.6s var(--vz-ease) infinite; }
.pc-hint.is-on { opacity: 1; }
@keyframes pc-pulse { 50% { transform: scale(.7); opacity: .55; } }

/* Живая открытка */
.pc-card { position: relative; width: 100%; aspect-ratio: 3 / 4; border-radius: var(--vz-r-xl); overflow: hidden; isolation: isolate; background: var(--vz-surface); cursor: pointer; container-type: inline-size; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
  box-shadow: var(--vz-panel-shadow), 0 40px 80px -50px rgba(37, 72, 189, .55); outline: none; }
.pc-card:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--vz-cobalt); }
.pc-stage { position: absolute; inset: 0; perspective: 1400px; perspective-origin: 50% 45%; }
.pc-scene { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.pc-layer { position: absolute; transform-style: preserve-3d; will-change: transform, opacity; pointer-events: none; }
.pc-inner { position: absolute; inset: 0; }
.pc-layer img, .pc-layer canvas, .pc-layer svg { display: block; width: 100%; height: 100%; -webkit-user-drag: none; }
.pc-greet { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: .5em; padding: 0 8%; text-align: center; }
.pc-greet p { margin: 0; }
.pc-greet.pc-haze::before { content: ""; position: absolute; inset: -10% 4%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0)); opacity: var(--haze, 0); }
.pc-to { font: 700 clamp(10px, 2.4cqw, 14px)/1.2 Onest, sans-serif; letter-spacing: .1em; text-transform: uppercase; opacity: 0; }
.pc-title { font: 600 clamp(22px, 8cqw, 46px)/1.04 Unbounded, sans-serif; letter-spacing: -.045em; }
.pc-w { display: inline-block; white-space: nowrap; }
.pc-ch { display: inline-block; opacity: 0; will-change: transform, opacity; }
.pc-line { font: 500 clamp(12px, 3.2cqw, 18px)/1.35 Onest, sans-serif; opacity: 0; }
.pc-act { position: absolute; left: 50%; bottom: 4.5%; z-index: 5; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border: 0; border-radius: 14px; background: #fff; color: var(--vz-ink); font: 700 14px/1.2 Onest, sans-serif; white-space: nowrap; cursor: pointer;
  box-shadow: 0 18px 36px -20px rgba(17, 25, 51, .55), 0 0 0 1px var(--vz-line); }
.pc-act::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--vz-mandarin); }
.pc-act[hidden] { display: none; }

/* Открытка конструктора: один холст, карточка наклоняется как предмет */
.pc-card.pc-live { will-change: transform; }
.pc-canvas { display: block; width: 100%; height: 100%; }
.pc-sr { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Конструктор: шаги «Сцена — Слова — Отправить» */
.pc-builder { max-width: 580px; margin: 0 0 18px; border-radius: var(--vz-r-lg); background: #fff; box-shadow: var(--vz-panel-shadow); }
.pc-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 8px; border-bottom: 1px solid var(--vz-line); }
.pc-tab { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 6px 8px; border: 0; border-radius: 14px; background: transparent; color: var(--vz-muted); font: 600 15px/1.2 Onest, sans-serif; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.pc-tab b { color: var(--vz-cobalt); font: 600 12px/1 Unbounded, sans-serif; letter-spacing: -.02em; }
.pc-tab:hover { color: var(--vz-ink); }
.pc-tab[aria-selected="true"] { background: var(--vz-tint); color: var(--vz-ink); box-shadow: inset 0 0 0 2px var(--vz-cobalt); }
.pc-tab:focus-visible, .pc-chip:focus-visible, .pc-thumb:focus-visible { outline: 3px solid var(--vz-cobalt); outline-offset: 2px; }
.pc-panel { display: grid; gap: 14px; padding: 16px 16px 18px; }
.pc-panel[hidden] { display: none; }
.pc-panel .pc-form, .pc-panel .pc-actions, .pc-panel .pc-share, .pc-panel .pc-status { margin: 0; }
.pc-panel .pc-form { max-width: none; }
#pc-scene { display: grid; gap: 14px; }
.pc-opt { display: grid; gap: 8px; min-width: 0; }
.pc-opt--row { display: flex; flex-wrap: wrap; }
.pc-opt-label { margin: 0; color: var(--vz-ink); font: 600 14px/1.3 Onest, sans-serif; }
.pc-opt-note { margin: 0; color: var(--vz-muted); font: 400 13px/1.45 Onest, sans-serif; }
.pc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-chip { min-height: 42px; padding: 8px 14px; border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--vz-field); color: var(--vz-ink); font: 600 14px/1.2 Onest, sans-serif; cursor: pointer; transition: box-shadow .2s, color .2s, background .2s, transform .25s var(--vz-ease); }
.pc-chip:hover { box-shadow: inset 0 0 0 1px var(--vz-cobalt); color: var(--vz-cobalt); }
.pc-chip:active { transform: scale(.96); }
.pc-chip[aria-pressed="true"] { background: var(--vz-tint); box-shadow: inset 0 0 0 2px var(--vz-cobalt); color: var(--vz-ink); }
.pc-chip--act { background: var(--vz-surface); box-shadow: inset 0 0 0 1px var(--vz-line); }
.pc-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.pc-thumb { aspect-ratio: 1; min-width: 0; padding: 5px; border: 0; border-radius: 14px; background: var(--vz-surface); box-shadow: inset 0 0 0 1px var(--vz-line); cursor: pointer; transition: transform .25s var(--vz-ease), box-shadow .2s, background .2s; }
.pc-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pc-chip { display: inline-flex; align-items: center; justify-content: center; }
.pc-dots { display: inline-flex; flex: none; gap: 3px; margin-right: 8px; }
.pc-dots i { width: 11px; height: 11px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(17, 25, 51, .16); }
.pc-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.pc-tiles--tall { grid-template-columns: repeat(3, minmax(0, 132px)); }
.pc-pic { display: grid; align-content: start; gap: 6px; min-width: 0; padding: 6px 6px 8px; border: 0; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--vz-line); color: var(--vz-ink); cursor: pointer; transition: transform .25s var(--vz-ease), box-shadow .2s; }
.pc-pic:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--vz-field), 0 14px 22px -18px rgba(37, 72, 189, .7); }
.pc-pic:active { transform: scale(.96); }
.pc-pic[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--vz-cobalt); }
.pc-pic:focus-visible { outline: 3px solid var(--vz-cobalt); outline-offset: 2px; }
.pc-pic-img { display: block; aspect-ratio: 1; border-radius: 11px; background: var(--vz-surface); overflow: hidden; }
.pc-pic-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pc-pic-img:empty { background: repeating-linear-gradient(-45deg, var(--vz-surface) 0 7px, #fff 7px 14px); }
.pc-tiles--tall .pc-pic-img { aspect-ratio: 3 / 4; }
.pc-tiles--tall .pc-pic-img img { object-fit: cover; }
.pc-pic-name { font: 600 12.5px/1.25 Onest, sans-serif; letter-spacing: -.01em; text-align: center; overflow-wrap: anywhere; }
/* Сцена догружает картинки выбранного варианта: в углу открытки крутится метка. */
.pc-card[data-loading]::after { content: ""; position: absolute; top: 14px; right: 14px; z-index: 2; width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: pc-spin .8s linear infinite; }
@keyframes pc-spin { to { transform: rotate(360deg); } }
.pc-thumb:hover { transform: translateY(-2px) scale(1.05); box-shadow: inset 0 0 0 1px var(--vz-field), 0 14px 22px -18px rgba(37, 72, 189, .7); }
.pc-thumb:active { transform: scale(.94); }
.pc-thumb[aria-pressed="true"] { background: #fff; box-shadow: inset 0 0 0 2px var(--vz-cobalt); }
.pc-step { display: flex; align-items: center; gap: 8px; }
.pc-step .pc-chip { min-width: 46px; font-size: 18px; }
.pc-step-value { width: 92px; min-height: 42px; padding: 0 8px; border: 1.5px solid var(--vz-field); border-radius: 12px; background: #fff; color: var(--vz-ink); font: 600 16px/1 Onest, sans-serif; text-align: center; }
.pc-step-value:focus { outline: none; border-color: var(--vz-cobalt); box-shadow: 0 0 0 4px var(--vz-cobalt-soft); }
.pc-field .pc-chips { margin-top: 2px; }
.pc-stagebar { display: flex; justify-content: center; }
.pc-btn--small { min-height: 44px; padding: 8px 16px; border-radius: 14px; font-size: 14px; }
.pc-btn[aria-pressed="true"] { border-color: var(--vz-cobalt); color: var(--vz-cobalt); }
.pc-share button:disabled { opacity: .55; cursor: progress; }
/* Открытка остаётся на виду, пока человек меняет настройки; первый экран занят конструктором, а не заголовком */
.pc-hero--builder { padding-top: 22px; }
.pc-hero--builder h1 { margin-bottom: 14px; font-size: clamp(28px, 3.1vw, 44px); }
.pc-hero--builder .pc-lead { margin-bottom: 18px; font-size: 16px; line-height: 1.6; }
.pc-hero--builder .pc-showcase { position: sticky; top: calc(var(--vz-head, 76px) + 14px); }
.pc-hero--builder .pc-host { width: min(100%, 460px, calc((100svh - var(--vz-head, 76px) - 190px) * 3 / 4)); }
.pc-feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pc-feats li { padding: 20px 22px 22px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--vz-line); transition: transform .3s var(--vz-ease), box-shadow .3s; }
.pc-feats li:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--vz-field), 0 22px 40px -32px rgba(37, 72, 189, .55); }
.pc-feats p { margin: 0; color: var(--vz-muted); font: 400 15px/1.55 Onest, sans-serif; }
.pc-grid.pc-grid--builders { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1010px; gap: 22px; }
.pc-tile--builder b::after { content: "Конструктор"; display: inline-block; margin-left: 8px; padding: 3px 8px; border-radius: 8px; background: var(--vz-cobalt-soft); color: var(--vz-cobalt); font: 600 11px/1.3 Onest, sans-serif; letter-spacing: .02em; vertical-align: 2px; }

/* Поля и кнопки */
.pc-form { display: grid; gap: 14px; max-width: 520px; margin: 0 0 22px; }
.pc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pc-field-note { margin: 2px 0 0; color: var(--vz-muted, #5b6478); font-size: 14px; line-height: 1.4; }
.pc-field { display: grid; gap: 7px; }
.pc-field label { font: 600 14px/1.2 Onest, sans-serif; }
.pc-field input, .pc-field select { width: 100%; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--vz-field); border-radius: var(--vz-r-sm); background: #fff; color: var(--vz-ink); font: 500 16px/1 Onest, sans-serif; transition: border-color .2s, box-shadow .2s; }
.pc-field input:focus, .pc-field select:focus { outline: none; border-color: var(--vz-cobalt); box-shadow: 0 0 0 4px var(--vz-cobalt-soft); }
.pc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.pc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 22px; border-radius: 16px; font: 700 16px/1.2 Onest, sans-serif; text-decoration: none; cursor: pointer; transition: transform .25s var(--vz-ease), box-shadow .25s, border-color .2s, color .2s; }
.pc-btn--main { border: 0; background: #cf4319; color: #fff; box-shadow: var(--vz-btn-shadow); }
.pc-btn--main:hover { transform: translateY(-2px); }
.pc-btn--ghost { border: 1.5px solid var(--vz-field); background: #fff; color: var(--vz-ink); }
.pc-btn--ghost:hover { border-color: var(--vz-cobalt); color: var(--vz-cobalt); }
.pc-btn:focus-visible { outline: 3px solid var(--vz-cobalt); outline-offset: 2px; }
/* Подпись главной кнопки витрины на узком экране переносится целыми строками: действие, затем название открытки */
#pc-open { flex-wrap: wrap; column-gap: .32em; row-gap: 2px; text-align: center; }
#pc-open-label { white-space: nowrap; }
.pc-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--vz-muted); font: 500 14px/1.4 Onest, sans-serif; }
.pc-share a, .pc-share button { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 1px solid var(--vz-line); border-radius: 12px; background: #fff; color: var(--vz-ink); font: 600 14px/1.2 Onest, sans-serif; text-decoration: none; cursor: pointer; }
.pc-share a:hover, .pc-share button:hover { border-color: var(--vz-cobalt); color: var(--vz-cobalt); }
.pc-status { min-height: 1.4em; margin: 0 0 12px; color: var(--vz-ok); font: 600 14px/1.4 Onest, sans-serif; }
.pc-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--vz-muted); font: 500 14px/1.4 Onest, sans-serif; }
.pc-facts li { display: inline-flex; align-items: center; gap: 8px; }
.pc-sq { width: 10px; height: 10px; flex: none; border-radius: 3px; background: var(--vz-cobalt); }
.pc-sq--mandarin { background: var(--vz-mandarin); }
.pc-sq--lime { background: var(--vz-lime-2); }

/* Выбор открытки на витрине (16.11.2026): поводы — плитки с веером постеров, под ними лента открыток повода.
   Веер раскрывается при наведении и у выбранного повода, лента выплывает при смене повода, постер наклоняется к указателю. */
.pc-deck { display: grid; gap: 12px; width: 100%; min-width: 0; }
.pc-groups { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.pc-group { position: relative; display: grid; justify-items: center; align-content: start; gap: 8px; min-width: 0; padding: 14px 6px 12px; border: 0; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--vz-line); color: var(--vz-ink); cursor: pointer; transition: box-shadow .25s, transform .3s var(--vz-ease); }
.pc-group:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--vz-field), 0 16px 28px -24px rgba(37, 72, 189, .7); }
.pc-group[aria-selected="true"] { box-shadow: inset 0 0 0 2px var(--vz-cobalt), 0 18px 30px -24px rgba(37, 72, 189, .8); }
.pc-group:focus-visible { outline: 3px solid var(--vz-cobalt); outline-offset: 2px; }
.pc-fan { position: relative; display: block; width: 76px; height: 48px; }
.pc-fan img { position: absolute; left: 50%; bottom: 0; width: 30px; height: 40px; margin-left: -15px; border-radius: 7px; object-fit: cover; box-shadow: 0 0 0 1.5px #fff, 0 8px 14px -8px rgba(17, 25, 51, .55); transform-origin: 50% 100%; transition: transform .45s var(--vz-ease); }
.pc-fan img:nth-child(1) { transform: translateX(-13px) rotate(-12deg); }
.pc-fan img:nth-child(2) { z-index: 2; transform: translateY(-3px); }
.pc-fan img:nth-child(3) { transform: translateX(13px) rotate(12deg); }
.pc-group:hover .pc-fan img:nth-child(1), .pc-group[aria-selected="true"] .pc-fan img:nth-child(1) { transform: translateX(-21px) translateY(-2px) rotate(-20deg); }
.pc-group:hover .pc-fan img:nth-child(2), .pc-group[aria-selected="true"] .pc-fan img:nth-child(2) { transform: translateY(-8px) scale(1.06); }
.pc-group:hover .pc-fan img:nth-child(3), .pc-group[aria-selected="true"] .pc-fan img:nth-child(3) { transform: translateX(21px) translateY(-2px) rotate(20deg); }
.pc-group-name { font: 600 13px/1.2 Onest, sans-serif; letter-spacing: -.01em; text-align: center; text-wrap: balance; }
.pc-group-n { position: absolute; top: 8px; right: 8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 7px; background: var(--vz-tint); color: var(--vz-cobalt); font: 600 11px/22px Unbounded, sans-serif; text-align: center; transition: background .25s, color .25s; }
.pc-group[aria-selected="true"] .pc-group-n { background: var(--vz-cobalt); color: #fff; }
.pc-rails { position: relative; min-width: 0; }
.pc-rail { display: flex; gap: 12px; min-width: 0; margin: 0 -6px; padding: 6px 6px 12px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 6px; scrollbar-width: none; overscroll-behavior-x: contain; }
.pc-rail::-webkit-scrollbar { display: none; }
.pc-rail[hidden] { display: none; }
/* Край ленты гаснет, пока за ним есть открытки */
.pc-rail.pc-more { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); }
.pc-rail-arrow { position: absolute; top: 54px; z-index: 2; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--vz-line), 0 12px 24px -12px rgba(17, 25, 51, .5); cursor: pointer; transition: transform .2s var(--vz-ease), box-shadow .2s; }
.pc-rail-arrow::before { content: ''; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; border-top: 2.5px solid var(--vz-cobalt); border-right: 2.5px solid var(--vz-cobalt); transform: translate(-65%, -50%) rotate(45deg); }
.pc-rail-arrow--prev { left: -10px; }
.pc-rail-arrow--prev::before { transform: translate(-35%, -50%) rotate(-135deg); }
.pc-rail-arrow--next { right: -10px; }
.pc-rail-arrow:hover { transform: scale(1.08); box-shadow: 0 0 0 1px var(--vz-field), 0 14px 26px -12px rgba(37, 72, 189, .6); }
.pc-rail-arrow:focus-visible { outline: 3px solid var(--vz-cobalt); outline-offset: 2px; }
.pc-rail-arrow[hidden] { display: none; }
@media (hover: none) { .pc-rail-arrow { display: none; } }
.pc-pick { flex: 0 0 112px; display: grid; align-content: start; gap: 8px; min-width: 0; padding: 0; border: 0; background: none; color: var(--vz-ink); text-align: left; cursor: pointer; scroll-snap-align: start; }
.pc-rail.is-in .pc-pick { animation: pc-float .55s var(--vz-ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes pc-float { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.pc-pick-img { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 16px; box-shadow: 0 0 0 1px var(--vz-line), 0 12px 24px -18px rgba(17, 25, 51, .55); transform: perspective(600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s var(--vz-ease), box-shadow .25s; }
.pc-pick-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--vz-ease); }
.pc-pick:hover .pc-pick-img { box-shadow: 0 0 0 1px var(--vz-field), 0 18px 30px -18px rgba(37, 72, 189, .65); }
.pc-pick:hover .pc-pick-img img { transform: scale(1.06); }
.pc-pick[aria-pressed="true"] .pc-pick-img { box-shadow: 0 0 0 3px var(--vz-cobalt), 0 18px 30px -18px rgba(37, 72, 189, .8); }
.pc-pick:focus-visible { outline: none; }
.pc-pick:focus-visible .pc-pick-img { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--vz-cobalt); }
.pc-pick-kind { position: absolute; bottom: 7px; left: 7px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px 3px 6px; border-radius: 8px; background: rgba(255, 255, 255, .92); color: var(--vz-ink); font: 600 10px/1.2 Onest, sans-serif; font-style: normal; }
.pc-pick-kind::before { content: ''; width: 7px; height: 7px; border-radius: 2px; background: var(--vz-cobalt); }
.pc-pick-kind--film::before { background: var(--vz-lime-2); }
.pc-pick-kind--scene::before { background: var(--vz-field); }
.pc-pick-name { font: 600 13px/1.25 Onest, sans-serif; letter-spacing: -.01em; }

/* Разделы ниже первого экрана */
.pc-section { padding: 56px 0 8px; border-top: 1px solid var(--vz-line); }
.pc-section > p { max-width: 760px; color: var(--vz-muted); font: 400 17px/1.65 Onest, sans-serif; }
.pc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.pc-tile { display: grid; gap: 10px; color: inherit; text-decoration: none; }
.pc-tile img { width: 100%; height: auto; aspect-ratio: 3 / 4; border-radius: var(--vz-r-lg); object-fit: cover; box-shadow: 0 0 0 1px var(--vz-line), 0 26px 46px -40px rgba(37, 72, 189, .7); transition: transform .35s var(--vz-ease), box-shadow .35s; }
.pc-tile:hover img { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 0 0 1px var(--vz-field), 0 34px 56px -40px rgba(37, 72, 189, .8); }
.pc-tile b { font: 600 17px/1.3 Onest, sans-serif; letter-spacing: -.02em; }
.pc-tile span { display: inline-flex; align-items: center; gap: 8px; color: var(--vz-muted); font: 500 14px/1.4 Onest, sans-serif; }
.pc-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.pc-steps li { padding: 22px 22px 24px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--vz-line); transition: transform .3s var(--vz-ease), box-shadow .3s; }
.pc-steps li:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--vz-field), 0 22px 40px -32px rgba(37, 72, 189, .55); }
.pc-steps li::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 12px; color: var(--vz-cobalt); font: 600 15px/1 Unbounded, sans-serif; }
.pc-steps p { margin: 0; color: var(--vz-muted); font: 400 15px/1.55 Onest, sans-serif; }
/* Вопросы: общий блок сайта .seo-faq (сетка с тёмными планками) сброшен до списка светлых карточек, как в разделе ЛЕГО */
.pc-faq.seo-faq { display: block; margin: 0; }
.pc-faq.seo-faq details { max-width: 860px; margin: 10px 0 0; padding: 0; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--vz-line); transition: box-shadow .25s; }
.pc-faq.seo-faq details::before { content: none; }
.pc-faq.seo-faq details:hover { box-shadow: inset 0 0 0 1px var(--vz-field); }
.pc-faq.seo-faq details[open] { box-shadow: inset 0 0 0 1px rgba(37, 72, 189, .38); }
.pc-faq.seo-faq summary { min-height: 0; padding: 17px 52px 17px 20px; color: var(--vz-ink); font: 600 16px/1.45 Onest, sans-serif; }
.pc-faq.seo-faq summary::after { top: 50%; right: 18px; transform: translateY(-50%); color: var(--vz-cobalt); font: 500 22px/1 Onest, sans-serif; }
.pc-faq.seo-faq details p { max-width: 760px; margin: 0; padding: 0 20px 18px; color: var(--vz-muted); font: 400 16px/1.6 Onest, sans-serif; }
.pc-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pc-links a { display: inline-flex; min-height: 44px; align-items: center; padding: 10px 16px; border: 1px solid var(--vz-line); border-radius: 14px; color: var(--vz-ink); font: 600 15px/1.3 Onest, sans-serif; text-decoration: none; }
.pc-links a:hover { border-color: var(--vz-cobalt); color: var(--vz-cobalt); }
.pc-note { margin: 0; color: var(--vz-muted); font: 400 14px/1.6 Onest, sans-serif; }
/* Блоки сайта «источники» и «связанные разделы» внутри секций раздела */
.pc-section .seo-sources, .pc-section .seo-next { display: block; margin: 0; padding: 0; border: 0; background: none; color: inherit; }
.pc-section .seo-sources > p { max-width: 760px; margin: 0 0 14px; color: var(--vz-muted); font: 400 17px/1.65 Onest, sans-serif; }
.pc-sources { margin: 0 0 14px; padding: 0; list-style: none; max-width: 760px; color: var(--vz-muted); font: 400 15px/1.6 Onest, sans-serif; }
/* Общий .seo-sources рассчитан на тёмную плашку со списком в две колонки: здесь — обычная строка текста со ссылкой */
.pc-section ul.pc-sources { display: block; margin: 0 0 14px; }
.pc-section .pc-sources li { display: block; padding: 0; border: 0; }
.pc-section .pc-sources a { display: inline; min-height: 0; overflow-wrap: anywhere; color: var(--vz-cobalt); font-size: inherit; font-weight: 600; }

/* QR-открытка: бумажная открытка с живым кодом личной ссылки и телефон, который её открывает.
   Сцена светлая: белая бумага и холодная подложка; тёмный только корпус телефона — это предмет, а не заливка блока. */
.pc-sheet { display: none; }
/* overflow: телефон въезжает из-за края сцены — без обрезки на 320 px он на миг давал бы прокрутку вбок */
.pc-qrc { position: relative; overflow: hidden; overflow: clip; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); grid-template-areas: "head stage" "copy stage"; grid-template-rows: auto 1fr; column-gap: clamp(24px, 4vw, 64px); padding: clamp(22px, 3.2vw, 48px); border-radius: var(--vz-r-xl); background: linear-gradient(180deg, var(--vz-tint), #fff 72%); box-shadow: var(--vz-panel-shadow); }
.pc-qrc-head { grid-area: head; min-width: 0; align-self: end; }
.pc-qrc-copy { grid-area: copy; min-width: 0; }
.pc-qrc-head h2 { margin: 10px 0 14px; }
.pc-qrc-lead { max-width: 540px; margin: 0 0 20px; color: var(--vz-muted); font: 400 17px/1.6 Onest, sans-serif; }
.pc-qrc-steps { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.pc-qrc-steps li { display: flex; align-items: center; gap: 14px; color: var(--vz-ink); font: 500 16px/1.4 Onest, sans-serif; }
.pc-qrc-steps b { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: #fff; box-shadow: inset 0 0 0 1px var(--vz-line); color: var(--vz-cobalt); font: 600 12px/1 Unbounded, sans-serif; letter-spacing: -.02em; }
.pc-qrc .pc-actions { margin: 0; }
.pc-qrc-more { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 0; font: 500 15px/1.4 Onest, sans-serif; }
.pc-qrc-more button, .pc-qrc-more a { padding: 0; border: 0; background: none; color: var(--vz-cobalt); font: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; cursor: pointer; }
.pc-qrc-more button:hover, .pc-qrc-more a:hover { text-decoration-thickness: 2px; }
.pc-qrc-check { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0 6px; color: var(--vz-ink); font: 500 15px/1.45 Onest, sans-serif; }
.pc-qrc-check .pc-sq { flex: none; margin-top: 5px; }
.pc-qrc-check[data-state="idle"] .pc-sq, .pc-qrc-check[data-state="busy"] .pc-sq { background: var(--vz-sky); }
.pc-qrc-check[data-state="busy"] .pc-sq { animation: pc-pulse 1.2s var(--vz-ease) infinite; }
.pc-qrc-check[data-state="fail"] .pc-sq { background: var(--vz-mandarin); }
.pc-qrc-size { margin: 0; color: var(--vz-muted); font: 400 14px/1.5 Onest, sans-serif; }
.pc-qrc.is-ping { animation: pc-qrc-ping 1.4s var(--vz-ease) 1; }
@keyframes pc-qrc-ping { 0% { box-shadow: var(--vz-panel-shadow), 0 0 0 0 rgba(37, 72, 189, .35); } 40% { box-shadow: var(--vz-panel-shadow), 0 0 0 10px rgba(37, 72, 189, .14); } 100% { box-shadow: var(--vz-panel-shadow), 0 0 0 18px rgba(37, 72, 189, 0); } }

.pc-qrc-stage { grid-area: stage; align-self: center; position: relative; height: clamp(380px, 38vw, 500px); perspective: 1400px; }
.pc-qrc-card { position: absolute; left: 3%; top: 3%; width: 56%; aspect-ratio: 105 / 148; overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 34px 60px -28px rgba(20, 27, 52, .45), 0 0 0 1px rgba(20, 27, 52, .06); transform: rotate(-5deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s var(--vz-ease); }
.pc-qrc-poster { display: block; width: 100%; height: 66%; object-fit: cover; }
.pc-qrc-foot { max-width: 50%; padding: 6% 0 0 7%; }
.pc-qrc-title { margin: 0; color: var(--vz-ink); font: 600 clamp(11px, 1.05vw, 15px)/1.2 Unbounded, sans-serif; letter-spacing: -.035em; overflow-wrap: anywhere; }
.pc-qrc-from { margin: 6px 0 0; color: var(--vz-muted); font: 600 clamp(11px, .95vw, 13px)/1.3 Onest, sans-serif; overflow-wrap: anywhere; }
.pc-qrc-sticker { position: absolute; right: 5%; bottom: 4%; width: 43%; padding: 4%; border-radius: 16px; background: #fff; box-shadow: 0 16px 28px -14px rgba(20, 27, 52, .45), 0 0 0 1px rgba(20, 27, 52, .07); cursor: zoom-in; }
.pc-qrc-code { display: block; aspect-ratio: 1; opacity: 0; transition: opacity .45s var(--vz-ease); }
.pc-qrc-code.is-on { opacity: 1; }
.pc-qrc-code svg, .pc-qrc-camcode svg, .pc-qrc-zoomcode svg { display: block; width: 100%; height: auto; }
.pc-qrc-sticker small { display: block; margin-top: 6%; color: var(--vz-muted); font: 600 clamp(8px, .75vw, 11px)/1 Onest, sans-serif; text-align: center; }
.pc-qrc-glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(110% 70% at var(--gx, 22%) var(--gy, 0%), rgba(255, 255, 255, .42), rgba(255, 255, 255, 0) 52%); }
.pc-qrc-phone { position: absolute; right: 2%; top: 9%; width: 36%; aspect-ratio: 9 / 18.5; padding: 2.2%; border-radius: clamp(26px, 3vw, 38px); background: linear-gradient(160deg, #2b3252, #141b34 42%); box-shadow: 0 40px 70px -30px rgba(20, 27, 52, .6), inset 0 0 0 1.5px rgba(255, 255, 255, .14); transform: rotate(7deg); }
.pc-qrc-screen { position: relative; height: 100%; overflow: hidden; border-radius: clamp(20px, 2.3vw, 30px); background: #0c1124; }
.pc-qrc-cam { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; }
.pc-qrc-cam img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(2.5px) brightness(.8) saturate(1.1); transform: scale(1.25); }
.pc-qrc-camcode { position: relative; width: 64%; padding: 7%; border-radius: 12px; background: #fff; box-shadow: 0 14px 30px rgba(0, 0, 0, .4); transform: perspective(500px) rotateX(10deg) rotate(-3deg); }
.pc-qrc-corners { --c: #fff; --l: 22%; --w: 3px; position: absolute; left: 50%; top: 50%; width: 84%; aspect-ratio: 1; translate: -50% -50%; border-radius: 6px; filter: drop-shadow(0 0 6px rgba(157, 184, 255, .9));
  background: linear-gradient(var(--c) 0 0) 0 0 / var(--l) var(--w) no-repeat, linear-gradient(var(--c) 0 0) 0 0 / var(--w) var(--l) no-repeat, linear-gradient(var(--c) 0 0) 100% 0 / var(--l) var(--w) no-repeat, linear-gradient(var(--c) 0 0) 100% 0 / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c) 0 0) 0 100% / var(--l) var(--w) no-repeat, linear-gradient(var(--c) 0 0) 0 100% / var(--w) var(--l) no-repeat, linear-gradient(var(--c) 0 0) 100% 100% / var(--l) var(--w) no-repeat, linear-gradient(var(--c) 0 0) 100% 100% / var(--w) var(--l) no-repeat; }
.pc-qrc-beam { position: absolute; left: 16%; right: 16%; top: 30%; height: 2px; background: linear-gradient(90deg, transparent, #9db8ff, #fff, #9db8ff, transparent); box-shadow: 0 0 14px 2px rgba(157, 184, 255, .75); opacity: 0; }
.pc-qrc-banner { position: absolute; left: 6%; right: 6%; top: 5%; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 14px; background: rgba(255, 255, 255, .95); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); transform: translateY(-150%); opacity: 0; }
.pc-qrc-banner > span:last-child { min-width: 0; }
.pc-qrc-bmark { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--vz-cobalt); color: #fff; font: 700 9px/1 Unbounded, sans-serif; letter-spacing: -.02em; }
.pc-qrc-banner small { display: block; color: var(--vz-muted); font: 600 9px/1.25 Onest, sans-serif; }
.pc-qrc-banner b { display: block; overflow: hidden; color: var(--vz-ink); font: 600 11px/1.25 Onest, sans-serif; white-space: nowrap; text-overflow: ellipsis; }
.pc-qrc-open { position: absolute; inset: 0; clip-path: circle(150% at 50% 12%); }
.pc-qrc-open img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pc-qrc-open p { position: relative; margin: 0; padding: 0 8%; color: #fff; text-align: center; text-shadow: 0 2px 14px rgba(0, 0, 0, .6); }
.pc-qrc-open .pc-qrc-oname { padding-top: 24%; color: #ffe2a8; font: 600 clamp(15px, 1.7vw, 22px)/1.1 Unbounded, sans-serif; letter-spacing: -.04em; overflow-wrap: anywhere; }
.pc-qrc-open .pc-qrc-otitle { margin-top: 6px; font: 600 clamp(10px, 1vw, 13px)/1.2 Unbounded, sans-serif; letter-spacing: -.03em; }
.pc-qrc-tap { position: absolute; left: 50%; top: 10%; z-index: 3; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: rgba(255, 255, 255, .7); opacity: 0; transform: scale(0); pointer-events: none; }
.pc-qrc-fx { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; pointer-events: none; }
/* Цикл на 9 секунд: телефон подносят → рамки ловят код → баннер ссылки → касание → открытка раскрывается */
.pc-qrc.is-live .pc-qrc-phone { animation: pc-qrc-phone 9s var(--vz-ease) infinite; }
.pc-qrc.is-live .pc-qrc-cam { animation: pc-qrc-cam 9s linear infinite; }
.pc-qrc.is-live .pc-qrc-corners { animation: pc-qrc-corners 9s var(--vz-ease) infinite; }
.pc-qrc.is-live .pc-qrc-beam { animation: pc-qrc-beam 9s linear infinite; }
.pc-qrc.is-live .pc-qrc-banner { animation: pc-qrc-banner 9s var(--vz-ease) infinite; }
.pc-qrc.is-live .pc-qrc-tap { animation: pc-qrc-tap 9s ease-out infinite; }
.pc-qrc.is-live .pc-qrc-open { animation: pc-qrc-open 9s var(--vz-ease) infinite; }
.pc-qrc.is-live .pc-qrc-open img { animation: pc-qrc-zoom 9s linear infinite; }
.pc-qrc.is-live .pc-qrc-open p { animation: pc-qrc-words 9s var(--vz-ease) infinite; }
.pc-qrc.is-live .pc-qrc-sticker { animation: pc-qrc-sticker 9s var(--vz-ease) infinite; }
@keyframes pc-qrc-phone { 0% { opacity: 0; transform: translate(26%, 12%) rotate(16deg); } 9%, 86% { opacity: 1; transform: translate(0, 0) rotate(7deg); } 96%, 100% { opacity: 0; transform: translate(26%, 12%) rotate(16deg); } }
@keyframes pc-qrc-cam { 0%, 35% { opacity: 1; } 40%, 100% { opacity: 0; } }
@keyframes pc-qrc-corners { 0%, 9% { opacity: 0; transform: scale(1.4); } 15% { opacity: 1; transform: scale(.93); } 18%, 34% { opacity: 1; transform: scale(1); } 38%, 100% { opacity: 0; transform: scale(1); } }
@keyframes pc-qrc-beam { 0%, 13% { top: 24%; opacity: 0; } 15% { opacity: 1; } 27% { top: 74%; opacity: 1; } 29%, 100% { top: 74%; opacity: 0; } }
@keyframes pc-qrc-banner { 0%, 24% { opacity: 0; transform: translateY(-150%); } 28%, 35% { opacity: 1; transform: translateY(0); } 40%, 100% { opacity: 0; transform: translateY(-150%); } }
@keyframes pc-qrc-tap { 0%, 31% { opacity: 0; transform: scale(0); } 32% { opacity: .85; transform: scale(.4); } 37%, 100% { opacity: 0; transform: scale(3.2); } }
@keyframes pc-qrc-open { 0%, 33% { clip-path: circle(0% at 50% 12%); } 43%, 100% { clip-path: circle(150% at 50% 12%); } }
@keyframes pc-qrc-zoom { 0%, 38% { transform: scale(1.18); } 90%, 100% { transform: scale(1); } }
@keyframes pc-qrc-words { 0%, 44% { opacity: 0; transform: translateY(8px); } 50%, 100% { opacity: 1; transform: none; } }
@keyframes pc-qrc-sticker { 0%, 11%, 36%, 100% { box-shadow: 0 16px 28px -14px rgba(20, 27, 52, .45), 0 0 0 1px rgba(20, 27, 52, .07); } 15%, 30% { box-shadow: 0 16px 28px -14px rgba(20, 27, 52, .45), 0 0 0 4px rgba(37, 72, 189, .25), 0 0 34px rgba(37, 72, 189, .35); } }
.pc-qrc-zoom { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(244, 246, 251, .88); backdrop-filter: blur(10px); }
.pc-qrc-zoom[hidden] { display: none; }
.pc-qrc-zoombox { width: min(92vw, 520px); padding: 28px; border-radius: var(--vz-r-xl); background: #fff; box-shadow: var(--vz-panel-shadow); text-align: center; }
.pc-qrc-zoomcode { display: block; width: min(78vw, 420px); margin: 0 auto 16px; }
.pc-qrc-zoombox p { margin: 0 0 16px; color: var(--vz-ink); font: 500 16px/1.5 Onest, sans-serif; }
@media (max-width: 900px) {
  /* На телефоне сцена сразу под заголовком: сначала видно, что получится, потом — как это сделать */
  .pc-qrc { grid-template-columns: 1fr; grid-template-areas: "head" "stage" "copy"; grid-template-rows: auto; }
  .pc-qrc-stage { width: 100%; max-width: 560px; height: auto; aspect-ratio: 100 / 92; margin: 4px auto 22px; }
}
@media (max-width: 480px) {
  .pc-qrc-card { left: 1%; width: 58%; border-radius: 16px; }
  .pc-qrc-phone { right: 0; width: 40%; border-radius: 24px; }
  .pc-qrc-screen { border-radius: 18px; }
  .pc-qrc-banner { padding: 6px 7px; gap: 6px; }
  .pc-qrc-bmark { width: 20px; height: 20px; border-radius: 6px; font-size: 7px; }
  .pc-qrc-banner b { font-size: 9px; }
  .pc-qrc-banner small { font-size: 8px; }
}

/* Режим получателя: открытка крупно, ответ в два касания */
.pc-reply { display: none; }
body.pc-recipient .pc-reply { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
body.pc-recipient .pc-hero { grid-template-columns: 1fr; justify-items: center; padding-top: 12px; }
body.pc-recipient .pc-hero-copy, body.pc-recipient .pc-stagebar { display: none; }
body.pc-recipient .pc-hero--builder .pc-showcase { position: static; }
#pc-replay { display: none; }
body.pc-recipient #pc-replay { display: inline-flex; }
body.pc-recipient .pc-showcase { width: min(100%, 640px); background: none; box-shadow: none; padding: 0; }
body.pc-recipient .pc-host { width: min(100%, calc((100svh - var(--vz-head, 76px) - 150px) * 3 / 4), 560px); }

@media (max-width: 1000px) {
  .pc-hero { grid-template-columns: 1fr; }
  /* Узкий экран: заголовок, затем открытка — она прилипает сверху и уменьшается, чтобы настройки были видны под ней */
  .pc-hero--builder { gap: 12px; padding-top: 14px; }
  .pc-hero--builder .pc-hero-copy { display: contents; }
  .pc-hero--builder .pc-kicker { order: 1; margin: 0; }
  .pc-hero--builder h1 { order: 2; margin: 0; font-size: clamp(25px, 6.6vw, 34px); }
  .pc-hero--builder .pc-showcase { order: 3; top: calc(var(--vz-head, 64px) + 6px); z-index: 3; gap: 8px; padding: 10px; }
  .pc-hero--builder .pc-builder { order: 4; margin: 0; }
  .pc-hero--builder .pc-lead { order: 5; margin: 0; }
  .pc-hero--builder .pc-host { width: min(100%, max(180px, calc((100svh - var(--vz-head, 64px) - 440px) * 3 / 4))); }
  .pc-hero--builder .pc-hint { font-size: 13px; }
  .pc-hero--builder .pc-btn--small { min-height: 40px; padding: 6px 14px; }
  body.pc-recipient .pc-hero--builder .pc-host { width: min(100%, calc((100svh - var(--vz-head, 64px) - 190px) * 3 / 4), 560px); }
  .pc-builder { max-width: none; }
  .pc-showcase { order: -1; }
  .pc-hero-copy { order: 1; }
}
@media (max-width: 640px) {
  .pc-hero { gap: 22px; padding: 18px 0 36px; }
  .pc-lead { font-size: 16px; }
  .pc-form-row { grid-template-columns: 1fr; }
  .pc-form-row--pair { grid-template-columns: 1fr 1fr; }
  .pc-actions .pc-btn { flex: 1 1 100%; }
  .pc-showcase { padding: 14px; }
  .pc-host { width: min(100%, 420px); }
  /* Поводы на телефоне — прокручиваемая строка плиток, лента открыток листается пальцем */
  .pc-groups { display: flex; gap: 8px; overflow-x: auto; margin: 0 -4px; padding: 2px 4px 6px; scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-x: contain; }
  .pc-groups::-webkit-scrollbar { display: none; }
  .pc-group { flex: 0 0 116px; scroll-snap-align: start; }
  .pc-pick { flex-basis: 104px; }
  .pc-grid.pc-grid--builders { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .pc-thumbs { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
  .pc-tiles { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 6px; }
  .pc-tiles--tall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pc-tab { font-size: 14px; gap: 5px; }
  .pc-panel { padding: 14px 12px 16px; }
  .pc-steps { grid-template-columns: 1fr; }
  body.pc-recipient .pc-host { width: min(100%, calc((100svh - var(--vz-head, 64px) - 140px) * 3 / 4)); }
}
/* Мини-фильм: холст поверх постера; кнопки звука и повтора — стеклянные метки на снегу внизу кадра */
.pc-film { background: #0d1d44 center / cover no-repeat; cursor: default; }
.pc-film-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.pc-film.is-live .pc-film-canvas { opacity: 1; }
.pc-film-src { position: absolute; width: 2px; height: 2px; opacity: 0; pointer-events: none; }
.pc-film-btn { position: absolute; bottom: 4%; z-index: 3; display: inline-flex; align-items: center; gap: clamp(6px, 1.8cqw, 9px); padding: clamp(7px, 2cqw, 10px) clamp(11px, 3.4cqw, 16px); border: 0; border-radius: 999px; background: rgba(10, 22, 54, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font: 600 clamp(12px, 3.3cqw, 14px)/1.2 Onest, sans-serif; white-space: nowrap; cursor: pointer; transition: background .2s, transform .2s var(--vz-ease); }
.pc-film-btn:hover { background: rgba(10, 22, 54, .66); transform: translateY(-1px); }
.pc-film-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.pc-film-btn[hidden] { display: none; }
.pc-film-sound { left: 4%; }
.pc-film-sound::before { content: ""; width: 9px; height: 9px; flex: none; border-radius: 3px; background: #9fb2e8; }
.pc-film-sound[aria-pressed="true"]::before { background: #ffcf7a; box-shadow: 0 0 10px #ffcf7a; }
.pc-film-again { right: 4%; }
.pc-film-again::before { content: ""; width: 0; height: 0; flex: none; border-left: 9px solid #ffcf7a; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
/* Запасной показ без WebGL: ролик и слова поверх кадра — в небе и на бирке */
.pc-film-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pc-film-video[hidden] { display: none; }
.pc-film-words { position: absolute; inset: 0; padding: 3% 4% 0 22%; color: #ffe2a8; text-align: center; text-shadow: 0 0 18px rgba(255, 170, 80, .6); opacity: 0; transition: opacity 1.2s; pointer-events: none; }
.pc-film-words.is-on { opacity: 1; }
.pc-film-words p { margin: 0; }
.pc-film-to { font: 600 clamp(20px, 8cqw, 44px)/1.05 Unbounded, sans-serif; letter-spacing: -.04em; }
.pc-film-words .pc-film-title { margin-top: 4px; font: 600 clamp(14px, 4.4cqw, 24px)/1.15 Unbounded, sans-serif; letter-spacing: -.03em; }
.pc-film-words .pc-film-line { margin-top: 6px; font: 500 clamp(12px, 3.2cqw, 17px)/1.35 Onest, sans-serif; }
.pc-film-words .pc-film-from { position: absolute; left: 64%; top: 69%; width: 16%; color: #2a1a10; text-shadow: none; font: 600 clamp(9px, 2.6cqw, 14px)/1.2 Onest, sans-serif; }
.pc-film-words--sign .pc-film-from { position: static; width: auto; margin-top: 8px; color: inherit; text-shadow: inherit; font-size: clamp(11px, 3cqw, 16px); }

@media (prefers-reduced-motion: reduce) {
  .pc-film-btn, .pc-film-canvas { transition: none; }
  .pc-hint::before { animation: none; }
  .pc-tile img, .pc-steps li, .pc-feats li, .pc-btn, .pc-pick, .pc-chip, .pc-thumb, .pc-pic, .pc-group, .pc-fan img, .pc-pick-img, .pc-pick-img img { transition: none; }
  .pc-rail.is-in .pc-pick { animation: none; }
  .pc-card[data-loading]::after { animation: none; }
  .pc-qrc *, .pc-qrc.is-ping { animation: none !important; }
  .pc-qrc-card, .pc-qrc-code { transition: none; }
}

/* Печать: только QR-открытка формата A6 (105×148 мм) с линией отреза. Видимость, поле листа и сетку
   задаёт общая печать сайта (.print-area в src/styles.css) — здесь только место и размер открытки. */
@media print {
  .pc-sheet { justify-items: center; align-content: start; }
  .pc-sheet img { width: 105mm; height: 148mm; margin-top: 10mm; outline: .25mm dashed #a3adc2; outline-offset: 0; }
}
