/* Общая карточка товара в витрине «Музыка»: шрифт темы и блок релиза (слот .pc-info). Разметку карточки не меняем. */
.pc-info h2 { font-weight: 800; letter-spacing: -.03em; font-size: 26px; }
.pc-info h3 { margin-top: 22px !important; font-size: 17px; font-weight: 800; }
.pc-info a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pc-info .facts { display: block; }
.pc-info .facts div { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid var(--pc-rule); font-size: 14.5px; }
.pc-info .facts dt { color: var(--pc-muted); }
.pc-info .facts dd { margin: 0; }
.pc-info .disc { margin: 14px 0 4px; font-size: 14px; }
.pc-info h3 small { font: 400 12px/1 "JetBrains Mono", ui-monospace, monospace; color: var(--pc-muted); margin-left: 8px; }
.pc-info .tracks { list-style: none; margin: 0; padding: 0; }
.pc-info .tracks li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; padding: 8px 0; border-top: 1px solid var(--pc-rule); font-size: 14.5px; overflow-wrap: anywhere; }
.pc-info .tracks__n, .pc-info .tracks__d { font: 400 12px/1.8 "JetBrains Mono", ui-monospace, monospace; color: var(--pc-muted); }
.pc-info .tag { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 4px; background: #ff4b1f; color: #111; font: 500 10px/1.8 "JetBrains Mono", monospace; text-transform: uppercase; text-decoration: none; vertical-align: 2px; }
.pc-info .art { display: block; position: relative; aspect-ratio: 5 / 7; background: var(--pc-wash); box-shadow: 0 8px 18px -10px rgba(0,0,0,.4); overflow: hidden; }
.pc-info .art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pc-info .pc-pair { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 16px; padding: 10px; border: 1px solid var(--pc-rule); border-radius: 12px; text-decoration: none; }
.pc-info .pc-pair small { display: block; color: var(--pc-muted); font-size: 12.5px; }
.pc-info .pc-pair b { display: block; overflow-wrap: anywhere; }
.pc-info .pc-more { list-style: none; margin: 0; padding: 0 0 6px; display: grid; grid-auto-flow: column; grid-auto-columns: 116px; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; }
.pc-info .pc-more a { display: block; text-decoration: none; text-align: center; scroll-snap-align: start; }
.pc-info .pc-more b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 8px; font-size: 13px; line-height: 1.25; overflow-wrap: anywhere; }
.pc-info .pc-more small { display: block; font-size: 12px; color: var(--pc-muted); }
.pc-info .pc-all { margin: 14px 0 0; font-weight: 700; }

/* общая карточка в музыке: без проявления блоков при прокрутке (первый экран сразу виден — LCP),
   плашка про cookie — над липкой панелью покупки, а не поверх неё */
.js [data-reveal] { opacity: 1 !important; translate: 0 0 !important; }
/* плашка cookie: на телефоне — компактная, над липкой панелью покупки; на десктопе — узкая слева, под галереей,
   чтобы не закрывать колонку покупки и блок отзывов */
@media (max-width: 899px) {
  .cookie-notice { bottom: calc(76px + env(safe-area-inset-bottom)) !important; left: 8px !important; right: 8px !important; padding: 10px 12px !important; gap: 8px 12px !important; flex-wrap: nowrap !important; font-size: 12px !important; line-height: 1.35 !important; }
  .cookie-notice p { flex: 1 1 auto !important; }
  .cookie-notice button { flex: none !important; padding: 8px 14px !important; font-size: 13px !important; }
}
@media (min-width: 900px) {
  .cookie-notice { left: 16px !important; right: auto !important; max-width: 380px !important; margin: 0 !important; font-size: 13px !important; }
}
/* телефон: галерея — обычный блок, не прилипает под шапкой (иначе при прокрутке видно меньше половины экрана) */
@media (max-width: 899px) {
  body .product-gallery { position: relative !important; top: auto !important; }
}
.pc-info .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }

/* ——— отзывы покупателей (слот под кнопкой покупки) ——— */
.rv { margin: 22px 0 6px; font-family: var(--pc-font-body); color: var(--pc-ink); }
.rv__h { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; }
.rv__title { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.rv__h a { font-size: 13px; font-weight: 700; color: inherit; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.rv__note { margin: 4px 0 12px; font-size: 12.5px; color: var(--pc-muted); }
.rv__note b { color: var(--pc-ink); }
.rv__list { list-style: none; margin: 0 -16px; padding: 0 16px 6px; display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rv__list::-webkit-scrollbar { display: none; }
.rv__c { scroll-snap-align: start; min-width: 0; }
.rv__b { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 14px; background: var(--pc-surface); box-shadow: inset 0 0 0 1px var(--pc-rule); overflow: hidden; text-align: left; font: inherit; color: inherit; cursor: zoom-in; }
.rv__ph { position: relative; display: block; aspect-ratio: 3 / 4; background: var(--pc-wash); }
.rv__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv__ph em { position: absolute; right: 8px; bottom: 8px; padding: 3px 8px; border-radius: 999px; background: rgba(17,17,17,.72); color: #fff; font: 600 11px/1.3 var(--pc-font-body); font-style: normal; }
.rv__t { display: flex; flex-direction: column; gap: 5px; padding: 10px 12px 12px; }
.rv__stars { color: #e6a400; letter-spacing: 1px; font-size: 12px; }
.rv__stars i { font-style: normal; color: var(--pc-rule); }
.rv__t q { quotes: none; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: 13.5px; line-height: 1.38; }
.rv__t small { font-size: 11.5px; color: var(--pc-muted); }
/* просмотр крупно: листание стрелками, свайпом и клавишами */
.rv-dlg { width: min(620px, 96vw); max-height: 94vh; padding: 0; border: 0; border-radius: 16px; background: var(--pc-surface, #fbfaf7); color: var(--pc-ink, #111); overflow: auto; overscroll-behavior: contain; }
.rv-dlg::backdrop { background: rgba(17,17,17,.72); }
.rv-dlg__ph { position: relative; background: #111; touch-action: pan-y; }
.rv-dlg__ph img { display: block; width: 100%; height: min(70vh, 760px); object-fit: contain; }
.rv-dlg__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: #111; font-size: 22px; line-height: 1; cursor: pointer; }
.rv-dlg__nav[data-go="-1"] { left: 8px; } .rv-dlg__nav[data-go="1"] { right: 8px; }
.rv-dlg__nav[disabled] { opacity: .35; cursor: default; }
.rv-dlg__n { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); padding: 3px 10px; border-radius: 999px; background: rgba(17,17,17,.7); color: #fff; font: 600 12px/1.4 var(--pc-font-body, system-ui); }
.rv-dlg__x { position: absolute; top: 8px; right: 8px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); font-size: 22px; line-height: 1; cursor: pointer; }
.rv-dlg__tx p { margin: 0; padding: 0 18px; font: 15px/1.5 var(--pc-font-body, system-ui); }
.rv-dlg__tx p:first-child { padding-top: 14px; }
.rv-dlg__tx p + p { margin-top: 8px; }
.rv-dlg__tx .rv__m { padding-bottom: 18px; font-size: 13px; color: var(--pc-muted, #77736b); }
@media (min-width: 900px) { .rv__list { margin: 0; padding: 0 0 6px; grid-auto-columns: calc((100% - 30px) / 4); } }
.rv__c--sk .rv__b { cursor: default; }
.rv__c--sk .rv__ph { background: linear-gradient(90deg, var(--pc-wash) 0 40%, var(--pc-surface) 50%, var(--pc-wash) 60% 100%) 0 0 / 300% 100%; animation: rvsk 1.4s linear infinite; }
.rv__c--sk .rv__t { min-height: 72px; }
@keyframes rvsk { to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .rv__c--sk .rv__ph { animation: none; } }
/* SEO-шапка карточки (ядро): кикер «Постер альбома» в h1 и строка «имя по-русски · год · жанр» под ним.
   Строка — во всю ширину под заголовком (а не колонкой рядом); надпись «Альбом · 1997» над h1 не дублирует кикер. */
.product-info div:has(> h1[data-keep]) { flex-wrap: wrap; row-gap: 0; }
.product-info div:has(> h1[data-keep]) > h1 { flex: 1 1 0; min-width: 0; }
.product-info div:has(> h1[data-keep]) > .pc-sub { order: 3; flex: 1 0 100%; }
.product-info > div:has(h1[data-keep]) > div:first-child:not(:has(h1)) { display: none; }
.pc-h1-kicker { opacity: .62 !important; letter-spacing: .06em !important; }

/* ───── «Постер трека»: переключатель над картинкой и строки треклиста ───── */
.trk-switch { flex: 1 0 100%; width: 100%; margin: 0 0 10px; scroll-margin-top: calc(var(--hd, 60px) + 8px); }
.product-gallery { scroll-margin-top: calc(var(--hd, 60px) + 8px); }
.trk-switch__row { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border: 1px solid var(--pc-rule); border-radius: 999px; background: var(--pc-wash); }
.trk-switch button { min-height: 40px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: inherit; font: 700 14px/1.2 inherit; font-family: inherit; cursor: pointer; }
.trk-switch button[aria-pressed="true"] { background: var(--pc-ink, #121212); color: var(--pc-paper, #fff); }
.trk-switch button:focus-visible { outline: 2px solid #ff4b1f; outline-offset: 2px; }
.trk-switch__note { margin: 6px 4px 0; font-size: 13.5px; color: var(--pc-muted); }
.trk-switch__note:empty { display: none; }
.trk-switch__note.is-error { color: #b42318; }
.trk-switch.is-busy ~ * { opacity: .55; transition: opacity .2s; }
.pc-info .trk-help { margin: 4px 0 8px; font-size: 13.5px; color: var(--pc-muted); }
.pc-info h3#tracklist { scroll-margin-top: calc(var(--hd, 60px) + 12px); }
.pc-info .tracks li.has-trk { position: relative; cursor: pointer; }
.pc-info .tracks a.trk { text-decoration: none; display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.pc-info .tracks a.trk::after { content: ""; position: absolute; inset: 0; }
.pc-info .tracks .tag { position: relative; z-index: 1; }
.pc-info .trk__mark { flex: none; padding: 0 8px; border: 1px solid currentColor; border-radius: 999px; font: 500 11px/1.8 "JetBrains Mono", ui-monospace, monospace; text-transform: uppercase; opacity: .75; }
.pc-info .tracks li.has-trk:hover .trk__mark { opacity: 1; background: var(--pc-wash); }
.pc-info .tracks a.trk[aria-current="true"] { font-weight: 800; }
.pc-info .tracks a.trk[aria-current="true"] .trk__mark { opacity: 1; background: #ff4b1f; border-color: #ff4b1f; color: #111; }
.pc-info .tracks a.trk:focus-visible { outline: none; }
.pc-info .tracks a.trk:focus-visible::after { outline: 2px solid #ff4b1f; outline-offset: -2px; }
.trk-attention .tracks li.has-trk { animation: trk-attention 1.2s ease-in-out 2; }
@keyframes trk-attention { 50% { background: rgba(255, 75, 31, .14); } }
@media (prefers-reduced-motion: reduce) { .trk-attention .tracks li.has-trk { animation: none; background: rgba(255, 75, 31, .1); } }
/* избранное хранит только релизы: у выбранного трека сердечко прячем */
.trk-picked .product-detail .heart { visibility: hidden; }
/* на компьютере сцена с картинкой занимает всю высоту колонки — отдаём переключателю его 60 px */
@media (min-width: 761px) { .product-gallery > .trk-switch ~ .pv:not([hidden]) { height: calc(100% - 60px); max-height: calc(100vh - var(--hd, 90px) - 156px); } }

/* «постер трека» создаётся: будущий постер собирается поверх галереи, пока рисуется настоящий */
.trk-make { position: absolute; inset: 0; z-index: 30; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 9px; box-sizing: border-box; border-radius: 4px; background: var(--pc-wash, #e9e6df); opacity: 1; transition: opacity .4s ease; overflow: hidden; }
/* на время отрисовки галерея приглушается — саму анимацию это не касается */
.product-gallery > .trk-make { opacity: 1 !important; }
.product-gallery > .trk-make.is-done { opacity: 0 !important; pointer-events: none; }
.trk-make__sheet { position: relative; height: calc(100% - 38px); max-height: 640px; aspect-ratio: 5 / 7; max-width: 100%; background: #16161a; box-shadow: 0 14px 34px rgba(0,0,0,.22); overflow: hidden; container-type: inline-size; animation: trk-sheet .5s ease both; }
.trk-make__cover { position: absolute; left: 10%; top: 7%; width: 80%; aspect-ratio: 1; background-size: 113.6% auto; background-position: 50% 13%; background-repeat: no-repeat; animation: trk-cover 1.9s cubic-bezier(.4,0,.2,1) both; }
.trk-make__title { position: absolute; left: 10%; right: 10%; top: 68%; color: #f6f4ef; line-height: 1.04; font-weight: 800; }
.trk-make__title span { display: block; overflow: hidden; }
.trk-make__artist { font-size: 8.4cqw; white-space: nowrap; text-overflow: ellipsis; }
.trk-make__track { font-size: 6.6cqw; margin-top: 1.4cqw; max-height: 2.1em; overflow-wrap: anywhere; }
.trk-make__title i { font-style: normal; white-space: pre-wrap; opacity: 0; animation: trk-letter .18s ease forwards; }
.trk-make__lines { position: absolute; left: 10%; bottom: 6%; width: 42%; display: grid; gap: 2.2cqw; }
.trk-make__lines b { height: 1.4cqw; background: rgba(246,244,239,.32); transform-origin: left; animation: trk-line 1.1s ease-in-out infinite alternate; }
.trk-make__lines b:nth-child(2) { width: 72%; animation-delay: .2s; }
.trk-make__lines b:nth-child(3) { width: 48%; animation-delay: .4s; }
.trk-make__scan { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #ff4b1f; box-shadow: 0 0 18px 5px rgba(255,75,31,.55); animation: trk-scan 1.9s cubic-bezier(.45,0,.55,1) infinite alternate; }
.trk-make__cap { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; color: var(--pc-ink, #111); }
.trk-make__eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.trk-make__eq b { width: 3px; height: 100%; background: #ff4b1f; transform-origin: bottom; animation: trk-eq .7s ease-in-out infinite alternate; }
.trk-make__eq b:nth-child(2) { animation-delay: .25s; }
.trk-make__eq b:nth-child(3) { animation-delay: .1s; }
.trk-make__eq b:nth-child(4) { animation-delay: .4s; }
.trk-make__bar { width: min(220px, 60%); height: 3px; background: rgba(17,17,17,.12); overflow: hidden; }
.trk-make__bar b { display: block; height: 100%; background: #ff4b1f; transform-origin: left; animation: trk-bar 4s cubic-bezier(.1,.7,.3,1) forwards; }
.trk-make.is-done .trk-make__bar b { animation: none; transform: scaleX(1); }
@keyframes trk-sheet { from { transform: translateY(14px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes trk-cover { from { clip-path: inset(0 0 100% 0); filter: blur(10px) saturate(.2); } to { clip-path: inset(0 0 0 0); filter: none; } }
@keyframes trk-letter { from { opacity: 0; } to { opacity: 1; } }
@keyframes trk-line { from { transform: scaleX(.35); opacity: .5; } to { transform: scaleX(1); opacity: 1; } }
@keyframes trk-scan { from { top: 0; } to { top: calc(100% - 3px); } }
@keyframes trk-eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
@keyframes trk-bar { from { transform: scaleX(.04); } to { transform: scaleX(.92); } }
@media (prefers-reduced-motion: reduce) {
  .trk-make, .trk-make * { animation: none !important; transition: none !important; }
  .trk-make__title i { opacity: 1; }
  .trk-make__scan { display: none; }
}

/* ═════ Облегчённый вариант (30.11): карточка релиза в музыке — белый фон, акцент только на кнопках и выбранном ═════
   Файл подключается только витриной «Музыка» (productTokens.fontsHref и отзывы на главной) — onllyart.ru не затрагивает. */
/* фон страницы карточки — белый: productTokens.wash = #fff (это и фон страницы, и подложки в ядре); количество — тонким контуром */
.product-detail .qty { background: #fff !important; box-shadow: inset 0 0 0 1px var(--pc-rule); }
/* кнопка покупки и «Перейти в корзину» — акцентом (тёмный текст на оранжевом — контраст 6:1) */
html body .buy-btn, html body .sticky-cta { background: #ff4b1f !important; color: #111 !important; }
html body .buy-btn:hover, html body .sticky-cta:hover { background: #ff6a45 !important; }
/* одна моноширинная гарнитура на витрине: подписи карточки (IBM Plex Mono в разметке ядра) — JetBrains Mono */
[style*="IBM Plex Mono"] { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace !important; }
/* «Весь альбом / Один трек»: выбранное — акцентом */
.trk-switch__row { background: #fff; border-color: var(--pc-rule); }
.trk-switch button[aria-pressed="true"] { background: #ff4b1f; color: #111; }
/* «О релизе»: подписи фактов — моноширинные, метки «сингл» — без цвета */
.pc-info h2 { font-weight: 750; letter-spacing: -.015em; font-stretch: 80%; }
.pc-info h3 { font-weight: 700; font-stretch: 80%; font-family: var(--pc-font-display); }
.pc-info .facts dt { font: 500 11px/1.9 "JetBrains Mono", ui-monospace, monospace; text-transform: uppercase; letter-spacing: .04em; }
.pc-info .tag { background: transparent; color: var(--pc-ink2); box-shadow: inset 0 0 0 1px var(--pc-rule); }
.pc-info .pc-pair { border-color: var(--pc-rule); }
/* отзывы: белые карточки, звёзды без цвета */
.rv__title { font-family: var(--pc-font-display); font-stretch: 80%; font-weight: 700; letter-spacing: -.01em; }
.rv__b { background: #fff; }
.rv__stars { color: #111; }
.rv__stars i { color: #d9d9d6; }

/* ───── «Дизайн постера»: 6 миниатюр строкой в конфигураторе (music-design.js) ───── */
.dsg { scroll-margin-top: calc(var(--hd, 60px) + 8px); }
.dsg__row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.dsg__row button { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; padding: 4px 2px 6px; border: 1px solid var(--pc-rule, #dedbd3); border-radius: 10px; background: var(--pc-paper, #fff); color: inherit; font-family: inherit; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.dsg__row img { display: block; width: 100%; max-width: 72px; height: auto; aspect-ratio: 72 / 102; border-radius: 3px; background: var(--pc-wash, #eeece6); }
.dsg__row b { font: 700 12px/1.1 inherit; font-family: inherit; }
.dsg__row small { max-width: 100%; font-size: 10.5px; line-height: 1.15; color: var(--pc-muted, #5c5c58); text-align: center; overflow-wrap: anywhere; }
.dsg__row button:hover { border-color: var(--pc-ink, #121212); }
.dsg__row button[aria-checked="true"] { border-color: var(--pc-ink, #121212); box-shadow: inset 0 0 0 1px var(--pc-ink, #121212); }
.dsg__row button:focus-visible { outline: 2px solid #ff4b1f; outline-offset: 2px; }
.dsg__note { margin: 0; font-size: 13px; color: var(--pc-muted); }
.dsg__note:empty { display: none; }
.dsg__note.is-error { color: #b42318; }
.dsg.is-busy .dsg__row button[aria-busy="true"] { border-style: dashed; }
.dsg-busy .product-gallery .pv img { opacity: .55; transition: opacity .2s; }
/* выбран трек — постер в макете сингла, дизайн альбома к нему не относится */
.trk-picked .dsg { display: none; }
@media (max-width: 380px) { .dsg__row { gap: 4px; } .dsg__row small { font-size: 9.5px; } }

/* «Похожие альбомы» в карточке релиза (seo-content 30.11) */
.pc-info .pc-similar { margin-top: 28px; }
.pc-info .pc-sim { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 12px 0 0; padding: 0; list-style: none; }
.pc-info .pc-sim a { display: grid; gap: 4px; text-decoration: none; color: inherit; }
.pc-info .pc-sim .art { display: block; aspect-ratio: 5 / 7; overflow: hidden; background: #f4f4f2; }
.pc-info .pc-sim .art img, .pc-info .pc-sim .art svg { display: block; width: 100%; height: 100%; object-fit: fill; }
.pc-info .pc-sim b { font-size: 14px; line-height: 1.25; overflow-wrap: anywhere; }
.pc-info .pc-sim span { font-size: 12.5px; color: var(--pc-ink2, #555); }
.pc-info .pc-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pc-info .pc-links a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--pc-rule, #e7e7e5); font-weight: 600; font-size: 14px; text-decoration: none; color: inherit; }
@media (min-width: 640px) { .pc-info .pc-sim { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* липкая шапка: прокрутка к картинке (выбор трека) и к треклисту останавливается под шапкой, а не под ней —
   иначе верх картинки и заголовок «Исполнитель — Альбом» уходили под шапку */
.product-gallery, .product-info, .pc-info .tracks, .pc-info h3 { scroll-margin-top: calc(var(--hd, 64px) + 14px); }

/* ───────── показ постера: интерьеры, деталь, лента кадров (music-scenes.js) ───────── */
/* бумага: тонкий светлый край листа, едва заметная фактура и мягкий блик (матовая бумага) */
.psc-paper, .pv-stage[data-kind=paper] .pv-img::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    linear-gradient(115deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,0) 38%, rgba(255,255,255,0) 62%, rgba(0,0,0,.035) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  box-shadow: inset 0 0 0 .5px rgba(255,255,255,.55), inset 0 0 0 1px rgba(0,0,0,.06); mix-blend-mode: normal; }
/* «Крупный план»: лист чуть отстоит от стены — мягкая тень от света сверху слева, плотная у края */
.pv-stage[data-kind=paper] .pv-piece { box-shadow:
  0 0 0 .5px rgba(30,24,16,.08),
  calc(var(--u)*.12) calc(var(--u)*.18) calc(var(--u)*.35) rgba(30,24,16,.22),
  calc(var(--u)*.7) calc(var(--u)*1.1) calc(var(--u)*2.6) calc(var(--u)*-.4) rgba(30,24,16,.2),
  calc(var(--u)*2) calc(var(--u)*3.4) calc(var(--u)*7) calc(var(--u)*-2) rgba(30,24,16,.14); }
.pv-stage[data-kind=paper] .pv-img { position: relative; }

.has-psc .pv-modes { display: none; }
.has-psc .pv-zoom { z-index: 5; }
.has-psc .pv-walls { z-index: 6; }
.psc, .psc-detail { position: absolute; inset: 0; z-index: 4; overflow: hidden; }
.psc[hidden], .psc-detail[hidden] { display: none; }
.psc { background: #e9e6e0; }
.psc-bg, .psc-tint, .psc-ph { position: absolute; max-width: none; }
.psc-ph { filter: blur(6px); }
.psc-bg { display: block; transition: opacity .35s ease; }
.psc.is-loading .psc-bg { opacity: 0; }
.psc.is-loading { filter: blur(0); }
.psc-tint { mix-blend-mode: multiply; pointer-events: none; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; transition: background-color .3s, opacity .3s; }
/* постер в интерьере: --c — css px на сантиметр стены; тень по свету сцены (--sx, --sy — направление) */
.psc-poster { position: absolute; cursor: zoom-in; background: #f6f4ef;
  transition: left .45s cubic-bezier(.22,1,.36,1), top .45s cubic-bezier(.22,1,.36,1), width .45s cubic-bezier(.22,1,.36,1), height .45s cubic-bezier(.22,1,.36,1);
  box-shadow:
    0 0 0 .5px rgba(20,16,10,.1),
    calc(var(--c)*.08*var(--sx)) calc(var(--c)*.1) calc(var(--c)*.25) rgba(20,16,10,.28),
    calc(var(--c)*.6*var(--sx)) calc(var(--c)*.7*var(--sy)) calc(var(--c)*1.8) calc(var(--c)*-.2) rgba(20,16,10,.2),
    calc(var(--c)*1.8*var(--sx)) calc(var(--c)*2.2*var(--sy)) calc(var(--c)*5) calc(var(--c)*-1.2) rgba(20,16,10,.12); }
.psc-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.psc-light { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; background-repeat: no-repeat; opacity: var(--ld, 1); }
.psc-chip { position: absolute; left: 10px; top: 10px; z-index: 2; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font: 600 11.5px/1.2 var(--pc-font-body, system-ui); color: #222; pointer-events: none; }
/* «Деталь»: лист крупно, свет сверху слева, стена ниже края */
.psc-detail { background: radial-gradient(120% 90% at 20% 10%, #f4f1eb, #e4e0d8); }
.psc-dsheet { position: absolute; cursor: zoom-in; box-shadow: 0 2px 4px rgba(20,16,10,.18), 6px 14px 30px -6px rgba(20,16,10,.28); transform: perspective(1600px) rotateX(2.5deg) rotateZ(-1deg); transform-origin: 50% 100%; }
.psc-dsheet img { display: block; width: 100%; height: 100%; object-fit: cover; }
.psc-dsheet::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(0,0,0,0) 40%, rgba(0,0,0,.08)); }

/* лента кадров под картинкой */
.has-psc .pv-bar { align-items: flex-start; }
.psc-strip { display: flex; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.psc-strip::-webkit-scrollbar { display: none; }
.psc-t { position: relative; flex: none; width: 54px; height: 54px; padding: 0; border: 1px solid var(--pc-rule, #dedbd3); border-radius: 8px; overflow: hidden; background: #ece9e3; cursor: pointer; }
.psc-t[aria-pressed=true] { border-color: var(--pc-ink, #121212); box-shadow: inset 0 0 0 1px var(--pc-ink, #121212); }
.psc-t:focus-visible { outline: 2px solid #ff4b1f; outline-offset: 2px; }
.psc-t__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.psc-t__p { position: absolute; display: block; box-shadow: .5px 1px 2px rgba(0,0,0,.3); background: #ddd; }
.psc-t__p img { display: block; width: 100%; height: 100%; object-fit: cover; }
.psc-t__wall { position: absolute; inset: 0; background: radial-gradient(120% 90% at 28% 12%, #f8f6f1, #e2ded6); }
.psc-t__wall .psc-t__p { left: 30%; top: 17%; width: 40%; height: 56%; }
.psc-t__det { position: absolute; inset: 0; background: #e4e0d8; }
.psc-t__det img { position: absolute; left: -40%; top: -150%; width: 180%; height: auto; max-width: none; transform: rotate(-1.2deg); }
@media (max-width: 760px) {
  /* телефон: лента — строкой под картинкой, не поверх неё */
  .has-psc .pv-bar { position: static; padding: 8px 0 0; pointer-events: auto; }
  .has-psc .pv-stage { height: min(78vw, 40vh) !important; }
  .psc-t { width: 50px; height: 50px; }
  .psc-chip { font-size: 10.5px; padding: 4px 8px; left: 8px; top: 8px; }
}
@media (prefers-reduced-motion: reduce) { .psc-poster, .psc-bg { transition: none; } }
