/* ============================================================
   Aniverse Flip — неоновая витрина: почти чёрная сцена,
   красная подсветка, стеклянные панели со светящейся кромкой.
   Перелив голограммы — на самих карточках.
   ============================================================ */
:root {
  --bg: #070103;        /* сцена — почти чёрная с красным отливом */
  --paper: #15050a;     /* панели */
  --paper-2: #23080f;   /* наведение на панель */
  --well: #0c0205;      /* поля ввода, ниши */
  --night: #050102;     /* тёмные секции */
  --ink: #000000;
  --text: #fbeff0;
  --grey: #c79aa0;      /* второстепенный текст */
  --line: rgba(255, 64, 90, .32);   /* светящаяся кромка панелей */
  --glow: rgba(255, 35, 65, .55);   /* неоновое свечение */
  --tone: rgba(255, 170, 170, .06);
  --red: #ff1f3d;
  --red-dark: #c10f28;
  --hot: #ff3552;
  --frame: 1px solid var(--line);
  --radius: 14px;
  --screentone: linear-gradient(transparent, transparent);
  --card-ratio: 780 / 1051;
  --display: "Dela Gothic One", "Arial Black", system-ui, sans-serif;
  --body: "Golos Text", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; letter-spacing: 0; }
:focus-visible { outline: 3px solid var(--hot); outline-offset: 3px; }

.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 32px); }

/* ---------- buttons ----------
   Главная — ярко-красная плашка со светлой «тенью-выносом», при нажатии вдавливается.
   Второстепенная — только контур, без заливки и тени: сразу видно, что она тише. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border: var(--frame); border-radius: 0;
  background: var(--hot); color: #fff; font-weight: 700;
  box-shadow: 0 0 22px -4px var(--glow);
  transition: transform .12s, box-shadow .12s, background .2s, border-color .2s, color .2s;
}
.btn:hover { background: #ff5566; }
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 10px -4px var(--glow); }
.btn--ghost { background: transparent; color: var(--text); border: 2px solid rgba(247, 235, 232, .45); box-shadow: none; }
.btn--ghost:hover { background: rgba(247, 235, 232, .08); border-color: var(--text); }
.btn--ghost:active { transform: none; }
.btn--sm { padding: 8px 16px; font-size: 14px; box-shadow: 0 0 22px -4px var(--glow); }
.btn--full { width: 100%; }

/* ---------- шапка ----------
   Слева название с жидким переливом, под ним звук · избранное · корзина.
   Справа соцсети и меню, между ними поиск. На телефоне поиск уходит
   во вторую строку, рядом с кнопками звука, избранного и корзины. */
.nav { position: sticky; top: 0; z-index: 50; background: var(--night); border-bottom: var(--frame); }
.nav__bar {
  position: relative; display: grid; align-items: center; column-gap: 20px; row-gap: 6px; padding: 10px 0 8px;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  grid-template-areas: "logo search social burger" "tools . . .";
}

/* Перелив: два светлых пятна медленно плывут по красному, как жидкость */
@property --lx1 { syntax: "<percentage>"; inherits: false; initial-value: 15%; }
@property --ly1 { syntax: "<percentage>"; inherits: false; initial-value: 30%; }
@property --lx2 { syntax: "<percentage>"; inherits: false; initial-value: 80%; }
@property --ly2 { syntax: "<percentage>"; inherits: false; initial-value: 70%; }
.logo {
  grid-area: logo; justify-self: start; display: inline-block; font-family: var(--display); font-size: 38px; line-height: 1.1; white-space: nowrap;
  background:
    radial-gradient(38% 90% at var(--lx1) var(--ly1), #fff4f6 0%, rgba(255, 228, 233, .85) 30%, rgba(255, 200, 210, 0) 70%),
    radial-gradient(34% 80% at var(--lx2) var(--ly2), #ffc2cd 0%, rgba(255, 140, 160, .7) 35%, rgba(255, 90, 120, 0) 72%),
    linear-gradient(100deg, #b50d21, #e3122b 35%, #ff4d6a 60%, #d10f29);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  animation: liquid-a 7s ease-in-out infinite alternate, liquid-b 11s ease-in-out infinite alternate;
}
@keyframes liquid-a {
  0% { --lx1: 8%; --ly1: 20%; } 35% { --lx1: 45%; --ly1: 85%; } 70% { --lx1: 70%; --ly1: 25%; } 100% { --lx1: 98%; --ly1: 65%; }
}
@keyframes liquid-b {
  0% { --lx2: 90%; --ly2: 80%; } 40% { --lx2: 55%; --ly2: 10%; } 75% { --lx2: 20%; --ly2: 75%; } 100% { --lx2: 2%; --ly2: 30%; }
}

.icon-btn {
  position: relative; display: grid; place-items: center; width: 40px; height: 40px; flex: none; padding: 0;
  border-radius: 50%; border: 2px solid rgba(247, 235, 232, .3); background: var(--paper); color: var(--text);
  transition: background .2s, border-color .2s, color .2s;
}
.icon-btn:hover { background: var(--paper-2); border-color: var(--hot); }
.icon-btn .ico, .icon-btn svg { width: 19px; height: 19px; }
.icon-btn--sm { width: 34px; height: 34px; }
.icon-btn--sm .ico { width: 15px; height: 15px; }
.icon-btn--label { width: auto; display: inline-flex; gap: 8px; padding: 0 16px 0 12px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.badge {
  position: absolute; top: -6px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--hot); color: #fff; border: 1px solid var(--line); font: 700 11px/16px var(--body); text-align: center;
}
.badge.is-bump { animation: bump .35s ease-out; }
@keyframes bump { 40% { transform: scale(1.4); } }

.nav__tools { grid-area: tools; display: flex; gap: 8px; }
.nav__social { grid-area: social; display: flex; gap: 4px; }
/* Соцсети — без подложки, чтобы не спорили с кнопками звука/избранного/корзины */
.nav__social .icon-btn { background: transparent; border-color: transparent; color: var(--grey); }
.nav__social .icon-btn:hover { color: var(--text); border-color: var(--hot); }

.burger {
  grid-area: burger; display: grid; place-content: center; gap: 4px; width: 42px; height: 42px; flex: none; padding: 0;
  border: 2px solid var(--text); background: var(--red); box-shadow: 0 0 22px -4px var(--glow);
}
.burger span { display: block; width: 18px; height: 2.5px; background: #fff; }
.burger:active { transform: translate(3px, 3px); box-shadow: none; }

.sound-toggle__off { display: none; }
.sound-toggle[aria-pressed="false"] { color: var(--grey); }
.sound-toggle[aria-pressed="false"] .sound-toggle__on { display: none; }
.sound-toggle[aria-pressed="false"] .sound-toggle__off { display: inline; }
.sound-toggle.is-playing { background: var(--red); color: #fff; border-color: var(--hot); }

/* Поиск и выпадающие результаты */
.search {
  grid-area: search; justify-self: center; width: 100%; max-width: 520px; height: 44px; position: relative;
  display: flex; align-items: center; gap: 10px; padding: 0 14px;
  background: var(--well); border: 2px solid rgba(247, 235, 232, .28); transition: border-color .2s;
}
.search:focus-within { border-color: var(--hot); }
.search .ico { color: var(--grey); }
.search input {
  flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent;
  color: var(--text); font: 16px var(--body);
}
.search input::placeholder { color: var(--grey); opacity: .8; }
.search input::-webkit-search-cancel-button { filter: invert(1) hue-rotate(180deg); }
.search__res {
  position: absolute; top: calc(100% + 8px); left: -2px; right: -2px; z-index: 5; max-height: min(420px, 60vh); overflow-y: auto;
  background: var(--paper); border: var(--frame); box-shadow: 0 18px 40px -18px #000, 0 0 24px -10px var(--glow);
}
.sres {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px; text-align: left;
  background: none; border: 0; border-bottom: 2px solid var(--paper-2);
}
.sres:last-child { border-bottom: 0; }
.sres:hover, .sres:focus-visible { background: var(--paper-2); outline-offset: -3px; }
.sres img { width: 40px; height: 40px; flex: none; border: 1px solid var(--line); }
.sres i { width: 32px; flex: none; aspect-ratio: var(--card-ratio); border: 1px solid var(--line); background: #000 center / cover no-repeat; }
.sres > span { display: grid; line-height: 1.3; min-width: 0; }
.sres > span span { color: var(--grey); font-size: 13px; }
.sres--none { display: grid; justify-items: start; gap: 12px; padding: 16px; color: var(--grey); font-size: 14px; }

/* ---------- выезжающие панели: меню, избранное, корзина ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; display: flex; justify-content: flex-end; background: rgba(13, 1, 3, .72); }
.drawer__panel {
  width: min(400px, 90vw); height: 100%; display: flex; flex-direction: column;
  background: var(--paper); border-left: var(--frame); animation: drawer-in .28s cubic-bezier(.2, .8, .2, 1);
}
@keyframes drawer-in { from { transform: translateX(100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 12px 20px; background: var(--night); border-bottom: var(--frame); }
.drawer__head h3 { font-size: 24px; line-height: 1.1; }
.drawer__foot { display: grid; gap: 14px; padding: 16px 20px calc(18px + env(safe-area-inset-bottom)); background: var(--night); border-top: var(--frame); }
.menu { flex: 1; overflow-y: auto; display: grid; align-content: start; padding: 4px 20px 12px; }
.menu a { padding: 13px 0; font-family: var(--display); font-size: 21px; line-height: 1.2; border-bottom: 2px solid var(--paper-2); }
.menu a:hover { color: var(--hot); }
.menu__social { display: flex; flex-wrap: wrap; gap: 8px; }

.dlist { flex: 1; overflow-y: auto; padding: 4px 16px 12px; }
.ditem { display: grid; grid-template-columns: 58px 1fr; gap: 8px 14px; padding: 14px 0; border-bottom: 2px solid var(--paper-2); }
.ditem__img { grid-row: span 2; width: 58px; aspect-ratio: var(--card-ratio); padding: 0; border: 1px solid var(--line); background: #000 center / cover no-repeat; }
.ditem__info { display: grid; line-height: 1.3; min-width: 0; }
.ditem__info b { font-size: 16px; }
.ditem__info span { color: var(--grey); font-size: 13px; }
.ditem__info em { font-style: normal; font-family: var(--display); font-size: 19px; margin-top: 4px; }
.ditem__act { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ditem__act .btn { box-shadow: 0 0 22px -4px var(--glow); }
.dempty { display: grid; gap: 18px; padding: 28px 4px; color: var(--grey); }
.dempty p { margin: 0; }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; font-weight: 700; }
.cart-total b { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; }

/* Сердечко «в избранное» */
.heart { display: grid; place-items: center; width: 36px; height: 36px; flex: none; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--grey); transition: color .2s, transform .15s; }
.heart .ico { width: 21px; height: 21px; }
.heart:hover { color: var(--hot); }
.heart:active { transform: scale(.85); }
.heart.is-on { color: var(--hot); }
.heart.is-on .ico { fill: currentColor; }
.heart--lg { width: 52px; height: auto; align-self: stretch; border: 2px solid rgba(247, 235, 232, .45); border-radius: 0; }
.heart--lg .ico { width: 24px; height: 24px; }

/* ---------- hero: витрина карточек на неоновых подиумах ---------- */
.hero { position: relative; padding: 26px 0 56px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 40% at 50% 62%, rgba(255, 30, 60, .38), transparent 70%),
    radial-gradient(30% 25% at 50% 20%, rgba(255, 60, 90, .18), transparent 70%),
    radial-gradient(25% 60% at 0% 40%, rgba(255, 20, 50, .22), transparent 70%),
    radial-gradient(25% 60% at 100% 40%, rgba(255, 20, 50, .22), transparent 70%);
}
/* Косые световые лучи, как в рендере макета */
.hero::after {
  content: ""; position: absolute; inset: -20% -10%; z-index: -1; pointer-events: none;
  background:
    linear-gradient(118deg, transparent 18%, rgba(255, 60, 90, .0) 20%, rgba(255, 70, 100, .35) 20.4%, transparent 21.2%),
    linear-gradient(118deg, transparent 24%, rgba(255, 90, 120, .18) 24.3%, transparent 25.5%),
    linear-gradient(62deg, transparent 74%, rgba(255, 70, 100, .3) 74.4%, transparent 75.2%),
    linear-gradient(62deg, transparent 79%, rgba(255, 90, 120, .14) 79.3%, transparent 80.6%),
    linear-gradient(170deg, transparent 8%, rgba(255, 40, 70, .12) 9%, transparent 14%);
  -webkit-mask: linear-gradient(transparent, #000 15%, #000 70%, transparent); mask: linear-gradient(transparent, #000 15%, #000 70%, transparent);
}
.hero__title { display: flex; align-items: center; justify-content: center; gap: 18px; font: 700 15px/1.2 var(--body); letter-spacing: .42em; text-transform: uppercase; color: #ffd3da; text-shadow: 0 0 14px var(--glow); }
.hero__title::before, .hero__title::after { content: ""; flex: 0 1 140px; height: 1px; background: linear-gradient(90deg, transparent, var(--hot)); box-shadow: 0 0 8px var(--glow); }
.hero__title::after { transform: scaleX(-1); }
.hero__title span { margin-right: -.42em; }

/* Сцена — на всю ширину экрана, края мягко уходят в темноту */
.cf { position: relative; margin: 4px calc(50% - 50vw) 0; --cw: 300px; }
/* Отражающий пол под подиумами */
.cf::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 40px; height: 42%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(22% 30% at 50% 26%, rgba(255, 90, 120, .4), transparent 70%),
    radial-gradient(55% 60% at 50% 22%, rgba(255, 30, 60, .2), transparent 72%),
    radial-gradient(80% 100% at 50% 0, rgba(40, 8, 14, .9), transparent 75%);
}
.cf__track {
  position: relative; display: flex; gap: 22px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 120px calc(50% - var(--cw) / 2) 130px; cursor: grab; scrollbar-width: none; outline: none;
}
.cf__track::-webkit-scrollbar { display: none; }
.cf::before {
  content: ""; position: absolute; inset: 0; z-index: 30; pointer-events: none;
  background: linear-gradient(90deg, var(--bg), transparent 12%, transparent 88%, var(--bg));
  -webkit-mask: linear-gradient(transparent, #000 20%, #000 75%, transparent); mask: linear-gradient(transparent, #000 20%, #000 75%, transparent);
}
.cf__track.is-drag { scroll-snap-type: none; cursor: grabbing; }
.cf__track:focus-visible .is-center .face--front { outline: 3px solid var(--hot); outline-offset: 6px; }
.cf__slide { position: relative; flex: none; width: var(--cw); scroll-snap-align: center; scroll-snap-stop: always; perspective: 1000px; }
.cf__item { position: relative; will-change: transform, opacity; }
/* В каталоге карточку крутят пальцем и горизонтальный жест у неё запрещён — в витрине он нужен ленте */
.cf__slide .flip { cursor: pointer; touch-action: pan-x pan-y; }
.cf__slide .face--front { box-shadow: 0 0 0 1px rgba(255, 140, 155, .45); }
.cf__slide.is-center .face--front { box-shadow: 0 0 0 1.5px rgba(255, 180, 190, .9), 0 0 24px rgba(255, 40, 70, .6); }
/* Перелив с режимами наложения — только у центральной, у соседей он всё равно почти не виден */
.cf__slide:not(.is-center) .face__holo, .cf__slide:not(.is-center) .face__sheen, .cf__slide:not(.is-center) .face__lines { display: none; }
/* Подиум и кольцо-держатель — детали из рендера макета (чёрный фон переведён в прозрачность) */
.cf__base {
  position: absolute; left: -34%; right: -34%; bottom: -78px; aspect-ratio: 840 / 192; pointer-events: none;
  background: url("assets/stage/pedestal.webp") center / 100% 100% no-repeat;
  opacity: .55; transition: opacity .3s;
}
.cf__base::before {
  content: ""; position: absolute; left: 22%; right: 22%; bottom: 46%; height: 130px; border-radius: 50% 50% 0 0;
  background: radial-gradient(50% 100% at 50% 100%, rgba(255, 80, 110, .45), transparent); opacity: 0; transition: opacity .3s;
}
.cf__halo {
  position: absolute; left: -18%; right: -18%; top: -98px; aspect-ratio: 628 / 160; pointer-events: none;
  background: url("assets/stage/halo.webp") center / 100% 100% no-repeat;
  opacity: .5; transition: opacity .3s;
}
.cf__halo::after {
  content: ""; position: absolute; left: 30%; right: 30%; top: 60%; height: 90px;
  background: radial-gradient(50% 100% at 50% 0, rgba(255, 120, 140, .3), transparent); opacity: 0; transition: opacity .3s;
}
.cf__slide.is-center .cf__base::before, .cf__slide.is-center .cf__halo::after { opacity: 1; }
/* Акриловая подставка: прозрачная рамка вокруг карточки, вращается вместе с ней */
.cf__slide .face--front { outline: 1.5px solid rgba(255, 190, 200, .35); outline-offset: 5px; }
.cf__slide.is-center .face--front { outline-color: rgba(255, 210, 218, .85); }
.cf__slide.is-center .cf__base, .cf__slide.is-center .cf__halo { opacity: 1; }

.cf__dots { display: flex; justify-content: center; gap: 6px; margin-top: -40px; position: relative; }
.cf__dots i { width: 16px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .22); transition: .3s; }
.cf__dots i.is-on { width: 34px; background: var(--hot); box-shadow: 0 0 10px var(--glow); }

.cf__cap { display: grid; justify-items: center; gap: 2px; margin: 14px 0 0; text-align: center; }
.cf__cap b { font-family: var(--display); font-weight: 400; font-style: italic; font-size: 30px; line-height: 1.1; text-shadow: 0 0 18px var(--glow); }
.cf__cap > span { color: var(--grey); font-size: 14px; }

/* Полоса коллекций */
.unis { display: flex; gap: 12px; margin-top: 26px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 4px 2px 8px; }
.unis::-webkit-scrollbar { display: none; }
.uni {
  position: relative; flex: 1 0 190px; height: 80px; padding: 0; overflow: hidden; scroll-snap-align: start;
  border: var(--frame); border-radius: 12px; background: #000; color: #fff; transition: border-color .2s, box-shadow .2s;
}
.uni img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; filter: saturate(.7); transition: opacity .2s, transform .4s; }
.uni--text img { filter: brightness(.5) saturate(1.2); }
.uni span:not(.sr) { position: relative; display: grid; place-items: center; height: 100%; padding: 0 12px; font-family: var(--display); font-size: 15px; line-height: 1.1; text-shadow: 0 2px 8px #000; }
.uni em { position: absolute; top: 6px; right: 6px; font-style: normal; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: rgba(0, 0, 0, .7); border: var(--frame); }
.uni:hover img { opacity: .85; }
.uni.is-on { border: 2px solid var(--hot); box-shadow: 0 0 22px var(--glow), inset 0 0 16px rgba(255, 40, 70, .35); }
.uni.is-on img { opacity: 1; filter: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.hero__text { max-width: 640px; margin: 34px auto 0; text-align: center; }
.lead { color: var(--grey); font-size: 17px; margin: 0 0 22px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero__meta { margin: 18px 0 0; color: var(--grey); font-size: 14px; }
.hero__meta b { color: var(--text); }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
/* Чёрная страница — как флешбэк в манге */
.section--dark { background: var(--night); color: var(--text); }
.h2 { position: relative; display: flex; align-items: flex-start; gap: 14px; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.05; }
/* Японская подпись вертикально, как звукоэффект на полях */
.h2::after {
  content: attr(data-jp); writing-mode: vertical-rl; font-family: var(--display); font-size: 17px; line-height: 1;
  color: var(--hot); text-orientation: upright; letter-spacing: .05em; margin-top: 4px;
}
.sub { color: var(--grey); margin: 14px 0 40px; max-width: 60ch; font-size: 17px; }
.section--dark .sub { color: var(--grey); }
.h2 + .steps, .h2 + .prices { margin-top: 44px; }
.h2 + .faq { margin-top: 32px; }

/* ---------- steps: четыре кадра одной страницы ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; counter-reset: step; }
.step { counter-increment: step; position: relative; border: var(--frame); padding: 22px 22px 24px; background: var(--paper); }
.step:nth-child(even) { background: var(--screentone), var(--paper); }
.step::before {
  content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px;
  background: var(--red); color: #fff; border: 1px solid var(--line); font-family: var(--display); font-size: 22px; line-height: 1;
}
.step h3 { font-size: 21px; line-height: 1.15; margin: 0 0 8px; }
.step h3, .step p { background: var(--paper); width: fit-content; }
.step p { margin: 0; font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }

/* ---------- flip card (механика — без изменений) ---------- */
.flip { perspective: 1200px; width: 100%; aspect-ratio: var(--card-ratio); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.flip__tilt { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; will-change: transform; }
.flip__turn { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.flip { cursor: grab; }
.flip[data-free] { touch-action: none; }
.flip.is-dragging:active { cursor: grabbing; }
.face {
  position: absolute; inset: 0; border-radius: 4.5% / 3.4%; overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: #000;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08);
}
.face--back { transform: rotateY(180deg); }
.face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.face .frame-b { opacity: var(--mix, 0); }
/* Голографический перелив: радужная полоса скользит по карточке при повороте */
.face__holo {
  position: absolute; inset: 0; pointer-events: none; z-index: 4; mix-blend-mode: color-dodge;
  opacity: calc(var(--holo, 0) * .38);
  background:
    radial-gradient(circle at var(--hpx, 50%) var(--hpy, 50%), rgba(255, 255, 255, .55), transparent 38%),
    linear-gradient(115deg, transparent 18%, #ff3d8b 32%, #ffd23d 42%, #3dffb5 52%, #3d8bff 62%, #b03dff 72%, transparent 86%);
  background-size: 100% 100%, 260% 260%;
  background-position: center, var(--hpx, 50%) var(--hpy, 50%);
}
.face--back .face__holo { opacity: calc(var(--holo, 0) * .3); }
.face__lines {
  position: absolute; inset: 0; pointer-events: none; opacity: .18; mix-blend-mode: overlay;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .5) 0 1px, transparent 1px 3px);
}
.face__sheen {
  position: absolute; inset: -20%; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .28) 48%, rgba(140, 220, 255, .18) 52%, transparent 65%);
  transform: translateX(var(--sheen, 0%));
}
.flip__badge {
  position: absolute; top: 10px; right: -8px; z-index: 3; transform: translateZ(40px) rotate(4deg);
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); font-size: 12px; font-weight: 700;
  padding: 4px 10px 4px 8px;
}
.flip__badge .ico { width: 14px; height: 14px; color: var(--red); }

/* custom (photo) card — оформление лица карточки, как у печатных */
.custom { position: absolute; inset: 0; --c: var(--red); background: #0d0c12; }
.custom__frame {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  box-shadow: inset 0 0 0 6px var(--c), inset 0 0 0 8px rgba(0, 0, 0, .7), inset 0 0 40px rgba(0, 0, 0, .6);
}
.custom__photo { position: absolute; inset: 0; }
.custom__photo img { object-fit: cover; }
.custom__empty { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .25);
  background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--c) 45%, transparent), transparent 60%), #111; }
.custom__empty svg { width: 58%; margin-top: -14%; }
.custom__top { position: absolute; top: 5%; left: 0; right: 0; display: flex; justify-content: center; z-index: 3; }
.custom__rarity { font-family: var(--display); font-size: clamp(16px, 6cqw, 30px); text-transform: uppercase;
  color: #fff; -webkit-text-stroke: 1px rgba(0, 0, 0, .6); text-shadow: 0 2px 0 var(--c), 0 0 14px var(--c); }
.custom__num { position: absolute; top: 4.5%; left: 5%; z-index: 3; background: #111; border: 2px solid var(--c); color: #fff;
  font-family: var(--display); font-size: clamp(10px, 3.4cqw, 16px); padding: 2px 9px; border-radius: 999px; }
.custom__bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 0 6% 6%; color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, .92) 30%); padding-top: 18%; text-align: center; }
.custom__name { display: inline-block; font-family: var(--display); font-size: clamp(16px, 6.5cqw, 32px);
  padding: 4px 18px; margin-bottom: 8px; text-transform: uppercase;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 70%, #000), #120d0d);
  border: 2px solid var(--c); border-radius: 6px; }
.custom__text { margin: 0; font-size: clamp(10px, 3.4cqw, 15px); line-height: 1.3; font-weight: 700; text-transform: uppercase; color: #eee; }
.custom .face__lines, .custom .face__sheen { z-index: 4; }
.flip { container-type: inline-size; }

/* ---------- builder: белые панели на чёрной странице ---------- */
.builder { display: grid; grid-template-columns: 1fr 400px; gap: 24px; align-items: start; }
.builder__form { display: grid; background: var(--paper); border: var(--frame); counter-reset: field; }
.builder__preview { position: sticky; top: 84px; display: grid; gap: 16px; }

.field { counter-increment: field; border: 0; border-top: var(--frame); padding: 24px; margin: 0; min-width: 0; }
.field:first-child { border-top: 0; }
.field legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 19px; margin-bottom: 16px; padding: 0; }
.field legend + * { clear: both; }
.field__n { display: grid; place-items: center; width: 32px; height: 32px; flex: none; background: var(--red); border: 1px solid var(--line); color: #fff; font-size: 16px; line-height: 1; }
.field__n::before { content: counter(field); }

.seg { display: flex; flex-wrap: wrap; border: var(--frame); }
.seg button { flex: 1; min-width: 120px; padding: 11px 14px; border: 0; background: var(--well); font-weight: 700; color: var(--grey); transition: background .15s; }
.seg button + button { border-left: var(--frame); }
.seg button:hover { background: var(--paper-2); color: var(--text); }
.seg button.is-on { background: var(--red); color: #fff; }
.seg button:disabled { color: #7d5559; background: var(--screentone), var(--well); cursor: not-allowed; }

.reveal { display: none; margin-top: 16px; }
.reveal.is-open { display: block; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chips--center { justify-content: center; margin-bottom: 32px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--well); font-size: 14px; font-weight: 600; transition: .15s; }
.chip img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.chip--plain { padding: 8px 16px; }
.chip:hover { background: var(--paper-2); }
.chip.is-on { background: var(--red); color: #fff; }

/* Выбор персонажа: миниатюра, имя под ней; выбранная — в яркой красной рамке */
.pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 14px 10px; }
.pick__item { display: grid; gap: 6px; padding: 0; border: 0; background: none; text-align: center; }
.pick__img { position: relative; display: grid; place-items: center; aspect-ratio: var(--card-ratio); border: var(--frame); background: var(--ink); overflow: hidden; transition: transform .15s; }
.pick__img img { width: 100%; height: 100%; object-fit: cover; }
.pick__name { font-size: 13px; font-weight: 600; }
.pick__item:hover .pick__img { transform: translateY(-3px); }
.pick__item.is-on .pick__img { border-color: var(--hot); box-shadow: 0 18px 40px -18px #000, 0 0 24px -10px var(--glow); }
.pick__item.is-on .pick__name { color: var(--hot); }
.pick__item--other .pick__img { border-style: dashed; border-color: var(--grey); background: var(--screentone), var(--well); color: var(--text); }
.pick__item--other.is-on .pick__img { border-style: solid; }
.pick__item--other b { font-family: var(--display); font-size: 40px; line-height: 1; font-weight: 400; background: var(--well); padding: 0 8px; }

.input { display: grid; gap: 6px; margin-top: 12px; }
.input span, .input__label { font-size: 13px; font-weight: 700; display: block; }
.input__label { margin: 14px 0 8px; }
.input input, .input textarea {
  width: 100%; padding: 12px 14px; border-radius: 0; border: 1px solid var(--line);
  background: var(--well); color: var(--text); font: inherit; resize: vertical;
}
.input input::placeholder, .input textarea::placeholder { color: #9a7076; }
.input input:focus, .input textarea:focus { outline: none; border-color: var(--hot); box-shadow: 0 18px 40px -18px #000, 0 0 24px -10px var(--glow); }

.uploads { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.upload { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px dashed var(--line); cursor: pointer; transition: .15s; }
.upload:hover { background: var(--paper-2); }
.upload:focus-within { outline: 3px solid var(--hot); outline-offset: 2px; }
.upload input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.upload__img { flex: none; width: 52px; height: 70px; border: 1px solid var(--line); background: var(--screentone) center/cover no-repeat, var(--well); display: grid; place-items: center; }
.upload__img:empty::before { content: "+"; font-family: var(--display); font-size: 26px; background: var(--well); padding: 0 4px; }
.upload__txt { font-size: 12px; color: var(--grey); line-height: 1.35; }
.upload__txt b { display: block; color: var(--text); font-size: 14px; }
@media (max-width: 480px) { .uploads { grid-template-columns: 1fr; } }

.qty { display: inline-flex; align-items: center; border: var(--frame); }
.qty button { width: 46px; height: 46px; border: 0; background: var(--well); font-size: 22px; font-weight: 700; }
.qty button:hover { background: var(--paper-2); }
.qty.qty--sm button { width: 34px; height: 34px; font-size: 18px; }
.qty.qty--sm output { min-width: 38px; font-size: 17px; line-height: 34px; }
.qty output { min-width: 52px; background: var(--paper); text-align: center; font-family: var(--display); font-size: 22px; line-height: 46px; border-inline: var(--frame); }

.note { color: var(--grey); font-size: 13px; margin: 10px 0 0; }
.note:empty { display: none; }
.note--center { text-align: center; }

/* Превью — кадр со скринтоном и линиями скорости */
.preview {
  border: var(--frame); padding: 28px 24px 20px; display: grid; justify-items: center; gap: 16px;
  background: radial-gradient(circle at 50% 42%, rgba(255, 40, 70, .22), transparent 62%), var(--paper);
}
.preview .flip { width: min(290px, 70vw); }
.preview__tools { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.tool { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1px solid var(--line); background: var(--well); color: var(--text); font-size: 13px; font-weight: 700; }
.tool .ico { width: 16px; height: 16px; color: var(--hot); }
.tool:hover { background: var(--paper-2); }

.summary { background: var(--paper); border: var(--frame); padding: 20px; }
.summary__rows { display: grid; gap: 8px; font-size: 14px; }
.summary__rows div { display: flex; justify-content: space-between; gap: 16px; }
.summary__rows span { color: var(--grey); }
.summary__rows b { text-align: right; font-weight: 600; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; border-top: var(--frame); margin: 16px 0; padding-top: 14px; font-weight: 700; }
.summary__total b { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; }

/* ---------- collections ---------- */
.collections { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.col-tile {
  position: relative; display: block; padding: 0; border: var(--frame); text-align: left;
  overflow: hidden; aspect-ratio: 791 / 1087; background: #000; isolation: isolate; color: #fff;
  transition: transform .15s, box-shadow .15s;
}
.col-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; z-index: -1; }
.col-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 50%, rgba(0, 0, 0, .94)); }
.col-tile:hover { transform: translate(-4px, -4px); box-shadow: 0 0 36px -8px var(--glow); }
.col-tile:hover img { transform: scale(1.04); }
.col-tile__info { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; display: grid; gap: 4px; }
.col-tile__info b { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.1; }
.col-tile__info span { font-size: 13px; color: #e2e2e2; }
.col-tile__info .col-tile__tag { justify-self: start; margin-bottom: 6px; font-size: 12px; font-weight: 700; padding: 3px 9px; color: #fff; background: var(--red); border: 1px solid var(--line); transform: rotate(-3deg); }
@media (max-width: 900px) { .collections { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.collection__head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.collection__icon { width: 52px; height: 52px; border: var(--frame); object-fit: cover; }
.collection__head h3 { font-size: 30px; line-height: 1.05; }
.collection__head .note { margin: 4px 0 0; display: block; }
.collection__empty { padding: 40px 24px; border: 1px dashed var(--line); background: var(--screentone), var(--paper); }
.collection__empty p { margin: 0 0 20px; display: inline-block; background: var(--paper); padding: 4px 8px; }
@media (max-width: 600px) {
  .col-tile__info { padding: 12px; }
  .col-tile__info b { font-size: 17px; overflow-wrap: anywhere; hyphens: auto; }
  .col-tile__info span { font-size: 12px; }
  .collection__head { display: grid; grid-template-columns: auto 1fr; gap: 12px 12px; margin-bottom: 20px; }
  .collection__head .tool { grid-column: 1 / -1; justify-self: start; }
  .collection__icon { width: 44px; height: 44px; }
  .collection__head h3 { font-size: 24px; }
  .collection__head .note { font-size: 12px; }
}
/* ---------- gallery (карточки внутри коллекции): растягиваются на всю ширину ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 32px 24px; }
.work { display: grid; gap: 10px; align-content: start; max-width: 320px; }
.work__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 15px; cursor: pointer; }
.work__meta b { font-weight: 700; }
.work__meta span { color: var(--grey); font-size: 13px; white-space: nowrap; margin-right: auto; }
.work__meta .heart { margin: -8px -6px -8px 0; align-self: center; }
.work__buy { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.work__buy b { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1; }
.work__buy .btn { padding: 7px 14px; font-size: 14px; }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr 1fr; gap: 24px 12px; } }

/* ---------- video slider (на чёрной странице) ---------- */
.vslider { --vw: min(340px, 66vw, calc((100svh - 220px) * 9 / 16)); position: relative; overflow: hidden; padding: 8px 0 0; }
.vslider__stage { position: relative; perspective: 1400px; height: calc(var(--vw) * 16 / 9); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.vslide {
  position: absolute; top: 0; left: 50%; width: var(--vw); aspect-ratio: 9 / 16; margin-left: calc(var(--vw) / -2);
  overflow: hidden; cursor: pointer; border: 3px solid var(--text);
  /* Пока видео не загрузилось — скринтон, а не чёрная дыра */
  background: radial-gradient(circle, #333 1.1px, transparent 1.4px) 0 0 / 7px 7px, #111;
  transition: transform .55s cubic-bezier(.2, .8, .2, 1), opacity .55s, filter .55s;
}
.vslide video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.vslide.is-active { cursor: default; box-shadow: 0 0 36px -8px var(--glow); }
.vslide__bar { position: absolute; left: 14px; right: 14px; top: 14px; height: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; opacity: 0; transition: opacity .3s; }
.vslide.is-active .vslide__bar { opacity: 1; }
.vslide__bar i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); }
/* Стрелки и точки — одной строкой под видео */
.vslider__controls { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 24px; }
.vslider__nav { width: 46px; height: 46px; border-radius: 50%; border: 2px solid #fff; background: transparent; display: grid; place-items: center; color: #fff; transition: background .15s, color .15s; }
.vslider__nav:hover { background: #fff; color: var(--ink); }
.vslider__dots { display: flex; justify-content: center; }
/* Видимая точка маленькая, а зона нажатия — 32×32 */
.vslider__dots button { position: relative; width: 32px; height: 32px; padding: 0; border: 0; background: none; }
.vslider__dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; transform: translate(-50%, -50%); border: 2px solid #fff; transition: width .3s, background .3s; }
.vslider__dots button.is-on::before { width: 28px; background: var(--red); }
@media (max-width: 600px) {
  .vslider { --vw: min(72vw, calc((100svh - 220px) * 9 / 16)); margin-inline: -16px; }
}

/* ---------- prices: три кадра; «Особая» — с плашкой-штампом ---------- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; border: var(--frame); padding: 30px 24px 24px; background: var(--paper); }
.price h3 { font-size: 24px; }
.price__v { font-family: var(--display); font-size: 46px; line-height: 1; margin: 12px 0 20px; }
.price ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; font-size: 15px; flex: 1; }
.price li { padding-left: 20px; position: relative; }
.price li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; background: var(--hot); transform: rotate(45deg); }
.price--hot { background: var(--screentone), var(--paper); box-shadow: 0 0 36px -8px var(--glow); }
.price--hot h3, .price--hot .price__v, .price--hot li { background: var(--paper); justify-self: start; width: fit-content; }
.price__tag { position: absolute; top: -16px; right: 16px; background: var(--red); color: #fff; border: var(--frame); font-weight: 700; font-size: 13px; padding: 4px 12px; transform: rotate(4deg); }
@media (max-width: 860px) {
  .prices { grid-template-columns: 1fr; gap: 22px; }
  .price { padding: 26px 20px 20px; }
  .price__v { font-size: 40px; }
}

/* ---------- о нас ---------- */
.about { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.about li { display: grid; align-content: start; gap: 4px; padding: 18px; background: var(--paper); border: var(--frame); box-shadow: 0 18px 40px -18px #000, 0 0 24px -10px var(--glow); }
.about b { font-family: var(--display); font-weight: 400; font-size: 18px; line-height: 1.2; }
.about li > span { color: var(--grey); font-size: 14px; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }

/* ---------- faq (на чёрной странице) ---------- */
.faq { border-bottom: 2px solid rgba(247, 235, 232, .35); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--display); font-size: 28px; color: var(--hot); transition: .2s; }
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { margin: 0 0 20px; color: var(--grey); max-width: 64ch; }

/* ---------- footer ---------- */
.footer { padding: 44px 0; border-top: var(--frame); background: var(--night); }
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer__contact { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer__contact b { color: var(--text); }

/* ---------- lightbox / окно товара ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; overflow-y: auto;
  background: radial-gradient(circle, rgba(255, 120, 120, .1) 1.1px, transparent 1.4px) 0 0 / 7px 7px, rgba(13, 1, 3, .94);
}
.lightbox[hidden] { display: none; }
.lightbox__inner { position: relative; display: grid; grid-template-columns: auto 360px; gap: 48px; align-items: center; }
.lightbox__card { display: grid; justify-items: center; gap: 18px; }
.lightbox .flip { width: min(400px, 80vw, calc((100vh - 220px) * .742)); }
.lightbox__meta { display: grid; gap: 16px; background: var(--paper); border: var(--frame); padding: 26px 24px 22px; box-shadow: 0 0 36px -8px var(--glow); }
.lb-uni { justify-self: start; font-size: 13px; font-weight: 700; background: var(--red); border: 1px solid var(--line); color: #fff; padding: 3px 10px; margin-bottom: -6px; }
.lightbox__meta h3 { font-size: 44px; line-height: 1; }
.lightbox__close {
  position: absolute; top: -12px; right: -12px; z-index: 5; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; border: var(--frame); background: var(--paper); color: var(--text);
}
.lightbox__close:hover { background: var(--paper-2); }
.seg--sm button { min-width: 0; padding: 10px 12px; }
.lb-buy { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lb-buy__price { text-align: right; display: grid; }
.lb-buy__price .note { margin: 0; }
.lb-buy__price b { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1.05; }
.lb-cta { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
.lb-cta .btn { padding-inline: 12px; }
.lb-links { display: flex; flex-wrap: wrap; gap: 8px; border-top: 2px solid var(--ink); padding-top: 16px; }
.lb-links .tool { flex: 1 1 auto; justify-content: center; white-space: nowrap; }
@media (max-width: 760px) {
  .lightbox { place-items: start center; padding: 60px 16px 24px; }
  .lightbox__inner { grid-template-columns: 1fr; gap: 22px; width: 100%; max-width: 420px; }
  .lightbox__meta { padding: 20px 16px 18px; box-shadow: 0 0 36px -8px var(--glow); }
  .lightbox__meta h3 { font-size: 34px; }
  .lb-links .tool { font-size: 12px; padding: 9px 8px; }
  .lightbox__close { position: fixed; top: 10px; right: 12px; }
}

/* ---------- оформление заказа ---------- */
.omodal {
  position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; overflow-y: auto;
  background: radial-gradient(circle, rgba(255, 120, 120, .1) 1.1px, transparent 1.4px) 0 0 / 7px 7px, rgba(13, 1, 3, .92);
}
.omodal__box { position: relative; width: min(440px, 100%); background: var(--paper); border: var(--frame); padding: 28px 24px 22px; box-shadow: 0 0 36px -8px var(--glow); }
.omodal__box .lightbox__close { top: 14px; right: 14px; width: 38px; height: 38px; border-width: 2px; }
.omodal h3 { font-size: 26px; line-height: 1.1; margin: 0 52px 18px 0; }
/* Состав заказа — как чек */
.omodal__lines { margin: 0 0 6px; padding: 14px 16px; border: 1px solid var(--line); background: var(--well); display: grid; gap: 6px; font-size: 14px; }
.omodal__lines div { display: flex; justify-content: space-between; gap: 16px; }
.omodal__lines dt { color: var(--grey); }
.omodal__lines dd { margin: 0; text-align: right; font-weight: 600; }
.omodal__lines .is-total { border-top: 2px dashed var(--grey); margin-top: 6px; padding-top: 10px; align-items: baseline; }
.omodal__lines .is-total dt { color: var(--text); font-weight: 700; }
.omodal__lines .is-total dd { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1; }
/* Где написать покупателю — кнопки-переключатели в одну-две строки */
.cpick { display: flex; flex-wrap: wrap; gap: 6px; }
.cpick button { flex: 1 1 auto; padding: 8px 6px; border: 1px solid var(--line); background: var(--well); color: var(--grey); font-size: 13px; font-weight: 700; }
.cpick button:hover { background: var(--paper-2); color: var(--text); }
.cpick button.is-on { background: var(--red); color: #fff; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin-top: 16px; font-size: 13px; color: var(--grey); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--red); }
.omodal .btn { margin-top: 18px; }
.omodal .btn:disabled { opacity: .6; cursor: progress; }
.omodal__err { margin: 12px 0 0; padding: 10px 12px; border: 2px solid var(--hot); color: #ffb3bb; font-size: 14px; font-weight: 600; }
.omodal__alt { display: block; margin: 12px auto 0; background: none; border: 0; color: var(--grey); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.omodal__done { text-align: center; padding: 6px 0 0; }
.omodal__done h3 { margin-right: 0; }
.omodal__done p { color: var(--grey); margin: 0; }
.omodal__ok { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--red); border: var(--frame); }
.omodal__ok .ico { width: 30px; height: 30px; stroke-width: 2.6; }
.input input.is-bad { border-color: var(--hot); box-shadow: 0 18px 40px -18px #000, 0 0 24px -10px var(--glow); }
@media (max-width: 600px) {
  .omodal { place-items: end center; padding: 0; }
  .omodal__box { width: 100%; box-shadow: none; border-width: 3px 0 0; padding: 26px 16px calc(18px + env(safe-area-inset-bottom)); }
  .omodal__box .lightbox__close { position: absolute; top: 14px; right: 12px; }
}

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; background: var(--paper); color: var(--text); border: var(--frame); padding: 12px 20px; font-weight: 700; font-size: 14px; box-shadow: 0 18px 40px -18px #000, 0 0 24px -10px var(--glow); max-width: calc(100% - 32px); text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .banners__track, .logo, .drawer__panel { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Бургер, нижняя панель, подсказки для тача — базовые стили
   ============================================================ */
.mbar { display: none; }
.on-touch { display: none; }
@media (hover: none) {
  .on-hover { display: none; }
  .on-touch { display: inline; }
}

/* ============================================================
   Планшеты и телефоны
   ============================================================ */
@media (max-width: 980px) {
  .builder { grid-template-columns: 1fr; gap: 14px; }
  .builder__preview { display: contents; }
  .preview { order: -1; padding: 20px 16px 16px; }
  .preview .flip { width: min(240px, 60vw); }
  .preview__tools { flex-wrap: nowrap; }
  .summary { order: 1; }

  /* Нижняя панель заказа */
  .mbar {
    display: flex; align-items: center; gap: 12px; color: var(--text);
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
    padding: 8px; background: var(--paper); border: var(--frame); box-shadow: 0 18px 40px -18px #000, 0 0 24px -10px var(--glow);
    transform: translateY(160%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
  }
  .mbar.is-on { transform: none; }
  .mbar__thumb {
    flex: none; width: 40px; aspect-ratio: var(--card-ratio); border: 1px solid var(--line); padding: 0;
    background: #000 center / cover no-repeat;
  }
  .mbar__info { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
  .mbar__info span { font-size: 12px; color: var(--grey); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mbar__info b { font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.1; }
  .mbar .btn { padding: 10px 16px; box-shadow: 0 0 22px -4px var(--glow); }
}

@media (max-width: 860px) {
  /* Шапка в две строки: название · соцсети · меню, ниже звук · избранное · корзина · поиск */
  .nav__bar {
    column-gap: 8px; row-gap: 8px; padding: 8px 0;
    /* Первая колонка — по ширине трёх кнопок, поэтому поиск начинается сразу за ними */
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-areas: "logo logo social burger" "tools search search search";
  }
  .logo { font-size: 23px; }
  .nav__social { justify-self: end; gap: 0; }
  .nav__social .icon-btn { width: 36px; height: 36px; }
  .nav__tools { gap: 6px; }
  .nav__tools .icon-btn { width: 40px; height: 40px; }
  .search { position: static; height: 40px; padding: 0 10px; gap: 8px; max-width: none; }
  .search__res { top: calc(100% + 2px); left: 0; right: 0; }

  /* Витрина на телефоне: карточка поменьше, соседи выглядывают по бокам */
  .hero { padding: 16px 0 40px; }
  .hero__title { font-size: 11px; letter-spacing: .26em; gap: 10px; white-space: nowrap; }
  .hero__title::before, .hero__title::after { flex-basis: 48px; }
  .hero__title span { margin-right: -.26em; }
  .cf { --cw: min(64vw, 270px); }
  .cf__track { gap: 0; }
  .cf__track { padding-block: 100px 112px; }
  .cf__slide { perspective: 750px; }
  .unis { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .uni { flex: 0 0 140px; height: 62px; }
  .uni span:not(.sr) { font-size: 12px; }
  h1 { font-size: inherit; }
  .lead { font-size: 15px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }

  .section { padding: 60px 0; }
  .sub { margin-bottom: 28px; font-size: 15px; }
  .h2 + .steps, .h2 + .prices { margin-top: 28px; }

  /* Чипы в одну строку с прокруткой; край затухает — видно, что дальше есть ещё */
  .chips, .chips--center {
    flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none;
    margin-inline: -16px; padding: 2px 16px; scroll-padding-inline: 16px;
    -webkit-mask: linear-gradient(90deg, #000 85%, transparent); mask: linear-gradient(90deg, #000 85%, transparent);
  }
  .field .chips { margin-inline: -24px; padding-inline: 24px; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; white-space: nowrap; }
  .chips--center { margin-bottom: 22px; }

  .footer { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
  .footer__row, .footer__contact { flex-direction: column; align-items: stretch; }
}

@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }

  .steps { grid-template-columns: 1fr; gap: 10px; }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 16px; }
  .step::before { grid-row: span 2; margin: 0; }
  .step h3 { font-size: 19px; margin: 0 0 4px; align-self: center; }

  .field { padding: 20px 16px; }
  .field .chips { margin-inline: -16px; padding-inline: 16px; }
  .field legend { font-size: 17px; margin-bottom: 14px; }
  .seg button { min-width: 0; padding: 12px 8px; font-size: 14px; }
  .pick { grid-template-columns: repeat(3, 1fr); gap: 12px 8px; }
  .upload__img { width: 44px; height: 60px; }
  .qty button { width: 48px; height: 48px; }

  .faq summary { font-size: 16px; padding: 18px 36px 18px 0; }

  .lightbox .flip { width: min(250px, 64vw, calc((100dvh - 380px) * .742)); }

  /* Наверху, чтобы не закрывать кнопки заказа и нижнюю панель */
  .toast { top: calc(12px + env(safe-area-inset-top)); bottom: auto; }
}

@media (max-width: 370px) {
  .logo { font-size: 19px; }
  .nav__social .icon-btn { width: 32px; }
  .nav__tools .icon-btn { width: 38px; height: 38px; }
  .search { padding: 0 8px; gap: 6px; }
}

@media (max-width: 340px) {
  .logo { font-size: 17px; }
}

@media (max-width: 360px) {
  .pick { grid-template-columns: repeat(2, 1fr); }
  .mbar .btn { padding: 10px 12px; }
}

/* ============================================================
   Неоновый слой: скругления, светящиеся кромки, подсветка сцены.
   Идёт последним, поэтому перекрывает базовые правила выше.
   ============================================================ */
body {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(255, 30, 60, .16), transparent 70%),
    radial-gradient(700px 500px at -10% 30%, rgba(255, 30, 60, .1), transparent 70%),
    var(--bg);
}
.section--dark { background: linear-gradient(180deg, rgba(255, 30, 60, .05), transparent 30%), var(--night); }

/* Логотип: курсив капсом, с искрой — как на макете */
.logo { text-transform: uppercase; font-style: italic; letter-spacing: -.01em; padding-right: .5em; position: relative; }
.logo::after {
  content: "✦"; position: absolute; right: 0; top: -.15em; font-size: .55em; font-style: normal;
  -webkit-text-fill-color: var(--hot); color: var(--hot); text-shadow: 0 0 10px var(--glow);
}
.nav { background: rgba(5, 1, 2, .96); border-bottom: 1px solid var(--line); box-shadow: 0 10px 30px -20px var(--glow); }
.search { border-radius: 999px; border: 1px solid var(--line); background: rgba(12, 2, 5, .8); }
.search:focus-within { border-color: var(--hot); box-shadow: 0 0 18px -4px var(--glow); }
.search__res { border-radius: var(--radius); overflow: hidden; }
.icon-btn { border: 1px solid var(--line); background: rgba(21, 5, 10, .8); }
.icon-btn:hover { box-shadow: 0 0 14px -2px var(--glow); }
.burger { border: 1px solid var(--hot); border-radius: 12px; background: rgba(255, 31, 61, .9); box-shadow: 0 0 18px -2px var(--glow); }
.burger:active { box-shadow: 0 0 6px var(--glow); }
.badge { border-color: #000; box-shadow: 0 0 8px var(--glow); }

/* Кнопки: главная — красный неон с градиентом, второстепенная — тонкий контур */
.btn { border: 1px solid rgba(255, 140, 155, .6); border-radius: 12px; background: linear-gradient(180deg, #ff4560, #e0122f); box-shadow: 0 0 22px -4px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn:hover { background: linear-gradient(180deg, #ff5a72, #ef1a38); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: rgba(255, 255, 255, .02); border: 1px solid rgba(251, 239, 240, .35); box-shadow: none; }
.btn--ghost:hover { background: rgba(255, 53, 82, .1); border-color: var(--hot); }

/* Заголовки: «хромированный» градиент, японская подпись светится */
.h2 { font-style: italic; }
.h2 { background: linear-gradient(180deg, #fff 20%, #ffc3cc 60%, #ff4d66); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.h2::after { -webkit-text-fill-color: var(--hot); text-shadow: 0 0 12px var(--glow); font-style: normal; }

/* Панели — стекло со светящейся кромкой */
.step, .builder__form, .preview, .summary, .price, .col-tile, .lightbox__meta, .omodal__box, .about li,
.collection__empty, .toast, .mbar, .vslider__stage video, .faq {
  border-radius: var(--radius);
}
.step, .builder__form, .preview, .summary, .price, .about li, .lightbox__meta, .omodal__box {
  background: linear-gradient(180deg, rgba(255, 60, 90, .06), transparent 40%), var(--paper);
  box-shadow: 0 0 0 1px var(--line), 0 20px 50px -30px #000;
  border-color: transparent;
}
.builder__form { overflow: hidden; }
.step::before, .field__n { border-radius: 10px; box-shadow: 0 0 14px -2px var(--glow); }
.price--hot { box-shadow: 0 0 0 1.5px var(--hot), 0 0 40px -8px var(--glow); }
.price__tag { border-radius: 999px; box-shadow: 0 0 14px var(--glow); }
.col-tile:hover { box-shadow: 0 0 30px -6px var(--glow); }
.seg, .qty, .tool, .chip, .input input, .input textarea, .upload, .pick__img, .cpick button, .lb-uni, .uni em { border-radius: 10px; }
.seg, .qty { overflow: hidden; }
.seg button.is-on, .chip.is-on, .cpick button.is-on { box-shadow: 0 0 16px -2px var(--glow); }
.pick__item.is-on .pick__img { box-shadow: 0 0 0 2px var(--hot), 0 0 20px -2px var(--glow); }
.input input, .input textarea { border: 1px solid var(--line); }
.input input:focus, .input textarea:focus { box-shadow: 0 0 16px -4px var(--glow); }
.faq { border-bottom-color: var(--line); border-radius: 0; }
.lightbox__close, .vslider__nav { border: 1px solid var(--hot); box-shadow: 0 0 14px -2px var(--glow); }
.heart--lg { border-radius: 12px; border: 1px solid var(--line); }
.footer { background: var(--night); border-top: 1px solid var(--line); }
.drawer__panel { border-left: 1px solid var(--line); box-shadow: -20px 0 60px -20px var(--glow); }
.drawer__head, .drawer__foot { border-color: var(--line); }
/* Подложки под текстом были нужны поверх скринтона — в неоне они лишние */
.step h3, .step p, .price--hot h3, .price--hot .price__v, .price--hot li, .collection__empty p { background: none; }
@media (max-width: 860px) {
  .logo { font-size: 17px; }
  .nav__social .icon-btn { width: 32px; }
}
@media (max-width: 340px) {
  .logo { font-size: 13px; }
}

/* ============================================================
   Шапка по макету: 1 строка — название · соцсети | звук,
   2 строка — меню-плитка · поиск · избранное · корзина
   ============================================================ */
.nav__bar {
  grid-template-columns: auto minmax(0, 1fr) auto auto; column-gap: 14px; row-gap: 0; padding: 0;
  grid-template-areas: "logo logo social social" "menu search fav cart";
}
.nav__bar > * { align-self: center; }
/* Строки не зависят друг от друга по ширине: название и соцсети делят верхнюю строку,
   а колонки задают кнопки нижней — поэтому избранное и корзина стоят рядом */
.nav__bar > .logo { grid-area: auto; grid-row: 1; grid-column: 1 / 3; padding-block: 0; margin-block: 14px; }
.nav__bar > .nav__social { grid-area: auto; grid-row: 1; grid-column: 2 / -1; }
.nav__social { justify-self: end; display: flex; align-items: center; gap: 14px; }
/* Разделитель между строками — светящаяся линия */
.nav__bar::after {
  content: ""; grid-column: 1 / -1; grid-row: 1; align-self: end; height: 1px; margin-bottom: -1px;
  background: linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent);
}
.nav__bar > .burger, .nav__bar > .search, .nav__bar > #favBtn, .nav__bar > #cartBtn { margin-block: 12px; }
.soc { display: grid; place-items: center; width: 30px; height: 30px; transition: transform .15s, filter .2s; }
.soc svg { width: 28px; height: 28px; }
.soc:hover { transform: translateY(-1px); filter: drop-shadow(0 0 8px rgba(255, 255, 255, .3)); }
.nav__sep { width: 1px; height: 26px; background: rgba(255, 255, 255, .22); }
.nav__social .sound-toggle { background: transparent; border: 0; width: 34px; height: 34px; color: var(--text); }
.nav__social .sound-toggle svg { width: 24px; height: 24px; }

/* Меню — «плитка» как на макете, тёплый жёлтый */
.burger {
  grid-area: menu; width: 46px; height: 46px; padding: 0; display: grid; place-items: center;
  background: transparent; border: 0; box-shadow: none; color: #ffb43c;
}
.burger svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.9; filter: drop-shadow(0 0 6px rgba(255, 170, 50, .55)); }
.burger:hover { color: #ffc766; }
.burger:active { transform: scale(.94); }
.search { grid-area: search; justify-self: stretch; max-width: none; }
#favBtn { grid-area: fav; }
#cartBtn { grid-area: cart; }
.icon-btn--fav, .icon-btn--cart { width: 46px; height: 46px; border-radius: 12px; background: rgba(10, 2, 4, .8); }
.icon-btn--fav { border: 1.5px solid rgba(255, 53, 82, .8); color: #ff4d66; box-shadow: 0 0 14px -4px var(--glow); }
.icon-btn--cart { border: 1.5px solid rgba(60, 220, 120, .8); color: #4be38a; box-shadow: 0 0 14px -4px rgba(60, 220, 120, .6); }
.icon-btn--fav .ico, .icon-btn--cart .ico { width: 22px; height: 22px; }
.icon-btn--cart .ico { stroke-width: 2; }
.icon-btn--cart:hover { border-color: #4be38a; background: rgba(60, 220, 120, .1); }

@media (max-width: 860px) {
  .nav__bar { column-gap: 8px; grid-template-areas: "logo logo social social" "menu search fav cart"; grid-template-columns: auto minmax(0, 1fr) auto auto; }
  .nav__bar > .logo { margin-block: 12px; }
  .nav__social { gap: 9px; }
  .soc { width: 24px; height: 24px; }
  .soc svg { width: 23px; height: 23px; }
  .nav__sep { height: 20px; }
  .nav__social .sound-toggle { width: 28px; height: 28px; }
  .nav__social .sound-toggle svg { width: 21px; height: 21px; }
  .burger { width: 40px; height: 40px; }
  .burger svg { width: 27px; height: 27px; }
  .icon-btn--fav, .icon-btn--cart { width: 42px; height: 42px; }
  .nav__bar > .burger, .nav__bar > .search, .nav__bar > #favBtn, .nav__bar > #cartBtn { margin-block: 10px; }
  .search { height: 42px; }
}
@media (max-width: 370px) {
  .nav__social { gap: 6px; }
  .soc, .nav__social .sound-toggle { width: 22px; }
  .soc svg { width: 20px; height: 20px; }
  .icon-btn--fav, .icon-btn--cart { width: 38px; height: 38px; }
}

/* ============================================================
   Точно по арту заказчика: сцена из пяти карточек, заголовок,
   полоса коллекций, шапка. Перекрывает правила выше.
   ============================================================ */
/* Шапка: красная вспышка за названием, крупный логотип со взмахом под FLIP */
.nav { background: radial-gradient(38% 160% at 28% -30%, rgba(255, 30, 60, .22), transparent 70%), linear-gradient(100deg, transparent 40%, rgba(255, 40, 70, .1) 55%, transparent 70%), rgba(5, 1, 2, .97); }
.logo { font-size: 58px; line-height: 1; letter-spacing: -.02em;
  background: linear-gradient(100deg, #b80d22 0%, #ff1f3d 38%, #ff5a72 56%, #fff1f4 64%, #ffd3db 82%, #ff9fb0 100%);
  background-size: 160% 100%; -webkit-background-clip: text; background-clip: text;
  animation: logo-flow 6s ease-in-out infinite alternate;
}
@keyframes logo-flow { from { background-position: 0 0; } to { background-position: 100% 0; } }
.logo::before {
  content: ""; position: absolute; right: .55em; bottom: -.16em; width: 2.4em; height: .42em; pointer-events: none;
  border-bottom: .05em solid var(--hot); border-radius: 0 0 60% 60% / 0 0 100% 100%; transform: rotate(-5deg);
  filter: drop-shadow(0 0 6px var(--glow));
}
.logo::after { top: -.05em; font-size: .5em; }
.nav__social .sound-toggle { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .03); }
.soc svg { width: 34px; height: 34px; }
.soc { width: 38px; height: 38px; }
.nav__social { gap: 22px; }
.nav__sep { height: 40px; }

/* Заголовок — узкий жирный шрифт вразрядку, светится */
.hero { padding-top: 22px; }
.hero__title { font: 700 26px/1 "Oswald", var(--body); letter-spacing: .55em; color: #ffd0d8; text-shadow: 0 0 16px rgba(255, 60, 90, .65); gap: 28px; }
.hero__title span { margin-right: -.55em; }
.hero__title::before, .hero__title::after { flex: 0 1 220px; }

/* Сцена: шаг ленты — 1,1 ширины карточки, соседи меньше и ближе (геометрию задаёт скрипт) */
.cf { --cw: 300px; }
.cf__track { gap: 0; padding: 130px calc(50% - var(--cw) * .55) 150px; }
.cf__slide { width: calc(var(--cw) * 1.1); perspective: 1200px; }
.cf__item { width: var(--cw); margin-inline: auto; }
/* Отражение подиума в глянцевом полу */
.cf__base::after {
  content: ""; position: absolute; left: 0; right: 0; top: 78%; height: 100%; pointer-events: none;
  background: inherit; transform: scaleY(-1); opacity: .25;
  -webkit-mask: linear-gradient(to top, #000, transparent 75%); mask: linear-gradient(to top, #000, transparent 75%);
}
/* Тёмный зал: красные огни-боке на заднем плане */
.cf::after {
  background:
    radial-gradient(4px 4px at 22% 8%, rgba(255, 70, 100, .9), transparent),
    radial-gradient(5px 5px at 78% 12%, rgba(255, 70, 100, .8), transparent),
    radial-gradient(3px 3px at 64% 4%, rgba(255, 120, 140, .8), transparent),
    radial-gradient(22% 30% at 50% 26%, rgba(255, 90, 120, .4), transparent 70%),
    radial-gradient(55% 60% at 50% 22%, rgba(255, 30, 60, .2), transparent 72%),
    radial-gradient(80% 100% at 50% 0, rgba(40, 8, 14, .9), transparent 75%);
}
.cf__dots { margin-top: -54px; }

/* Полоса коллекций: крупные плашки, активная залита красным, в конце — «дальше» */
.unis-wrap { display: flex; align-items: center; gap: 14px; margin-top: 34px; }
.unis { flex: 1; min-width: 0; margin-top: 0; gap: 14px; }
.uni { flex: 0 0 236px; height: 132px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .1); }
.uni::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; transition: background .2s; }
.uni.is-on { border: 2px solid #ff4a62; box-shadow: 0 0 26px rgba(255, 35, 65, .7), inset 0 0 22px rgba(255, 40, 70, .5); }
.uni.is-on::after { background: linear-gradient(180deg, rgba(255, 30, 60, .38), rgba(255, 30, 60, .12)); }
.uni span:not(.sr) { font-size: 20px; }
.unis__next {
  flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; padding: 0;
  border: 1.5px solid var(--hot); background: rgba(8, 1, 3, .8); color: #fff; box-shadow: 0 0 18px var(--glow);
}
.unis__next .ico { width: 24px; height: 24px; }

@media (max-width: 860px) {
  .logo { font-size: 19px; }
  .soc { width: 24px; height: 24px; }
  .soc svg { width: 23px; height: 23px; }
  .nav__social { gap: 10px; }
  .nav__sep { height: 20px; }
  .nav__social .sound-toggle { width: 32px; height: 32px; }
  .hero__title { font-size: 14px; letter-spacing: .34em; gap: 10px; }
  .hero__title span { margin-right: -.34em; }
  .hero__title::before, .hero__title::after { flex-basis: 34px; }
  .cf { --cw: 50vw; }
  .cf__track { padding-block: 92px 116px; }
  .cf__slide { perspective: 800px; }
  .cf__dots { margin-top: -46px; }
  .unis-wrap { margin-top: 24px; }
  .uni { flex: 0 0 31%; height: 82px; }
  .uni span:not(.sr) { font-size: 12px; }
  .unis__next { display: none; }
}
@media (max-width: 370px) {
  .logo { font-size: 16px; }
}
/* Подсветка зала — отдельным нижним слоем, контент витрины над ним
   (иначе прокручиваемая полоса коллекций перекрывала подсветку тёмным прямоугольником) */
.hero::before, .hero::after { z-index: 0; }
.hero > .wrap { position: relative; z-index: 1; }
@media (max-width: 860px) {
  .uni span:not(.sr) { font-size: 10.5px; padding: 0 6px; overflow-wrap: anywhere; }
}
/* Свечение активной плашки обрезалось краем прокрутки — даём полосе запас со всех сторон */
.unis { padding: 26px 22px; margin: -26px -22px; scroll-padding-inline: 22px; }
@media (max-width: 860px) { .unis { padding: 22px 16px; margin: -22px -16px; scroll-padding-inline: 16px; } }

/* Карточки витрины меньше — на телефоне в ~1,5 раза, — чтобы вокруг было воздуха.
   Подиум, кольцо и отступы считаются от ширины карточки и уменьшаются вместе с ней. */
.cf { --cw: 250px; }
.cf__base { bottom: calc(var(--cw) * -.26); }
.cf__halo { top: calc(var(--cw) * -.33); }
.cf__track { padding-block: calc(var(--cw) * .44) calc(var(--cw) * .5); }
.cf__dots { margin-top: calc(var(--cw) * -.15); }
@media (max-width: 860px) {
  .cf { --cw: min(34vw, 170px); }
  .hero { padding: 14px 0 34px; }
  .unis-wrap { margin-top: 18px; }
}

/* ============================================================
   Телефоны: меньше и спокойнее — больше воздуха, ничего не кричит
   ============================================================ */
/* Японские подписи у заголовков — остаток манга-стиля, на арте их нет */
.h2::after { content: none; }
@media (max-width: 860px) {
  .section { padding: 44px 0; }
  .h2 { font-size: 28px; }
  .sub { margin: 8px 0 20px; font-size: 14px; }
  .h2 + .steps, .h2 + .prices { margin-top: 20px; }
  .h2 + .faq { margin-top: 16px; }

  .steps { gap: 8px; }
  .step { padding: 14px; column-gap: 12px; grid-template-columns: 34px 1fr; }
  .step::before { width: 34px; height: 34px; font-size: 16px; }
  .step h3 { font-size: 16px; }
  .step p { font-size: 13.5px; line-height: 1.45; }

  .preview .flip { width: min(190px, 50vw); }
  .field { padding: 16px 14px; }
  .field legend { font-size: 15px; margin-bottom: 12px; }
  .summary__total b { font-size: 26px; }

  .collections { gap: 8px; }
  .col-tile__info { padding: 10px; }
  .col-tile__info b { font-size: 14px; line-height: 1.15; overflow-wrap: normal; hyphens: manual; }
  .col-tile__info span { font-size: 11px; }
  .col-tile__info .col-tile__tag { font-size: 10px; padding: 2px 8px; }

  .prices { gap: 14px; }
  .price { padding: 18px 16px; }
  .price h3 { font-size: 18px; }
  .price__v { font-size: 30px; }
  .price li { font-size: 13.5px; }

  .faq summary { font-size: 14.5px; padding: 14px 32px 14px 0; }
  .about li { padding: 14px; }
  .about b { font-size: 15px; }
  .about li > span { font-size: 13px; }
  .footer { padding-top: 30px; }
}
@media (max-width: 400px) {
  .logo { font-size: 16px; }
  .nav__social { gap: 8px; }
  .soc { width: 22px; height: 22px; }
  .soc svg { width: 21px; height: 21px; }
}
/* Карточка висит между кольцом и подиумом с зазором — не налезает на них */
.cf__halo { top: calc(var(--cw) * -.47); }
.cf__base { bottom: calc(var(--cw) * -.43); }
.cf__track { padding-block: calc(var(--cw) * .56) calc(var(--cw) * .62); }
.cf__dots { margin-top: calc(var(--cw) * -.2); }
.cf__slide .face { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
/* В витрине в покое обложка чистая: блик и перелив появляются только при наклоне */
.cf__slide .face__lines { display: none; }
.cf__slide .face__sheen { opacity: clamp(0, calc((var(--holo, 0) - .24) * 2.5), 1); }
.cf__slide .face--front .face__holo { opacity: clamp(0, calc((var(--holo, 0) - .2) * .6), .4); }
/* Верхнего кольца нет — сверху остаётся только небольшой отступ */
.cf__track { padding-top: calc(var(--cw) * .14); }
/* Центральную карточку крутят пальцем (горизонтальный жест — ей), листают за боковые */
.cf__slide.is-center .flip { touch-action: pan-y; cursor: grab; }
/* Подиум центральной карточки выступал за низ ленты, и она становилась чуть прокручиваемой
   по вертикали — вертикальный свайп застревал в ней вместо прокрутки страницы */
.cf__track { overflow-y: hidden; }
/* На странице одной коллекции общий заголовок «Коллекции» лишний — там свой, с названием серии */
body[data-page="collection"] #works .h2, body[data-page="collection"] #works .sub { display: none; }

/* ============================================================
   Макет «navy»: тёмно-синяя сцена, розово-красный акцент,
   золото — у выбранной коллекции. Перекрывает всё выше.
   ============================================================ */
:root {
  --bg: #07090f;
  --paper: #10131d;
  --paper-2: #171b28;
  --well: #0b0e16;
  --night: #07090f;
  --text: #f3f4f8;
  --grey: #9ea3b5;
  --line: rgba(255, 70, 115, .32);
  --glow: rgba(255, 50, 100, .5);
  --red: #ff2f5f;
  --red-dark: #d81c4a;
  --hot: #ff3d6e;
  --gold: #f2b55a;
}
body { background: radial-gradient(900px 600px at 50% -10%, rgba(255, 50, 100, .08), transparent 70%), var(--bg); }
.section--dark { background: var(--night); }

/* --- шапка --- */
.nav { background: linear-gradient(180deg, #0c0f18, #090b12); border-bottom: 1px solid rgba(255, 70, 115, .28); box-shadow: none; }
.nav__bar::after { background: linear-gradient(90deg, transparent, rgba(255, 70, 115, .45) 10%, rgba(255, 70, 115, .45) 90%, transparent); }
.logo {
  font-style: italic; text-transform: uppercase; animation: none;
  background: linear-gradient(180deg, #ffffff 30%, #c9ccd8 70%, #9aa0b4); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* «FLIP» — розовый перелив, медленно течёт, как жидкость */
.logo__accent {
  background: linear-gradient(100deg, #ff2f5f, #ff7a9c 40%, #ffd6e0 55%, #ff4d78 75%, #ff2f5f);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: logo-flow 5s ease-in-out infinite alternate;
}
.logo::before { border-bottom-color: #ff4d78; right: .2em; width: 2.2em; }
.logo::after { -webkit-text-fill-color: #ff4d78; color: #ff4d78; }
.soc { width: 44px; height: 44px; border-radius: 12px; background: #151925; border: 1px solid rgba(255, 255, 255, .06); }
.soc svg { width: 28px; height: 28px; }
.nav__social .sound-toggle { border: 1px solid rgba(255, 255, 255, .16); background: #0f121b; }
.burger { color: #f5b53c; }
.search { background: #0f121b; border: 1px solid rgba(255, 255, 255, .14); }
.search:focus-within { border-color: var(--hot); }
.icon-btn--fav { border-color: #ff3d6e; color: #ff4d78; background: #0f121b; }
.icon-btn--cart { border-color: #33d17a; color: #3ee083; background: #0f121b; }
/* Переключатель валюты BYN | RUS */
.region {
  grid-row: 2; grid-column: 3; display: flex; align-items: center; gap: 2px; height: 46px; padding: 0 14px; margin-block: 12px;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: #0f121b; color: var(--grey); font-size: 14px; font-weight: 600; letter-spacing: .04em;
}
.region button { padding: 4px 3px; border: 0; background: none; color: inherit; font: inherit; }
.region button.is-on { color: #fff; }
.region span { opacity: .5; padding: 0 2px; }
.nav__bar { grid-template-columns: auto minmax(0, 1fr) auto auto auto; grid-template-areas: "logo logo social social social" "menu search region fav cart"; }
.nav__bar > .nav__social { grid-column: 2 / -1; }
#favBtn { grid-column: 4; grid-row: 2; }
#cartBtn { grid-column: 5; grid-row: 2; }

/* --- витрина --- */
.hero { padding-bottom: 0; }
.hero::before, .hero::after { content: none; }
.hero > .wrap { padding-bottom: 28px; }
/* Тёмная сцена со скруглённым низом и дугами по бокам */
.hero__stage-bg, .hero { isolation: isolate; }
.hero { background:
  radial-gradient(60% 40% at 50% 62%, rgba(255, 60, 110, .12), transparent 70%),
  linear-gradient(180deg, #0b0e16, #0f121c 60%, #0b0e16);
  border-radius: 0 0 28px 28px; }
.cf::before { background: none; -webkit-mask: none; mask: none; }
.cf::after {
  left: -18vw; right: -18vw; bottom: auto; top: 6%; height: 92%;
  background:
    radial-gradient(closest-side, transparent 96%, rgba(255, 70, 115, .35) 98%, transparent 100%) -6vw 0 / 46vw 100% no-repeat,
    radial-gradient(closest-side, transparent 96%, rgba(255, 70, 115, .35) 98%, transparent 100%) calc(100% + 6vw) 0 / 46vw 100% no-repeat;
}
.hero__title { font: 500 15px/1 var(--body); letter-spacing: .5em; color: #fff; text-shadow: none; }
.hero__title::before, .hero__title::after { background: linear-gradient(90deg, transparent, #ff3d6e); box-shadow: none; height: 2px; }

.cf__track { padding-block: calc(var(--cw) * .1) calc(var(--cw) * .55); }
/* Держатель: светящаяся рамка вокруг карточки, внизу — подпись коллекции */
.cf__item::before {
  content: ""; position: absolute; left: -5%; right: -5%; top: -3.5%; bottom: calc(var(--cw) * -.2); z-index: -1;
  border-radius: 7% / 5%; background: rgba(13, 16, 25, .92);
  border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 0 18px rgba(255, 60, 110, .18);
  transition: border-color .3s, box-shadow .3s;
}
.cf__slide.is-center .cf__item::before { border: 1.5px solid rgba(255, 100, 140, .85); box-shadow: 0 0 22px rgba(255, 60, 110, .55), inset 0 0 14px rgba(255, 60, 110, .2); }
.cf__label {
  position: absolute; left: 0; right: 0; bottom: calc(var(--cw) * -.15); text-align: center;
  font: 600 calc(var(--cw) * .085)/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  opacity: 0; transition: opacity .3s;
}
.cf__slide.is-center .cf__label { opacity: 1; }
.cf__slide .face--front { box-shadow: none; outline: 0; }
.cf__slide.is-center .face--front { box-shadow: none; }
/* Подиум — тёмный глянцевый диск с розовой кромкой */
.cf__base {
  background: none; left: -24%; right: -24%; bottom: calc(var(--cw) * -.44); aspect-ratio: auto; height: calc(var(--cw) * .3); opacity: 1;
}
.cf__base::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 62%; border-radius: 50%; filter: none; opacity: 1; bottom: auto;
  background: radial-gradient(ellipse at 50% 35%, #2a3042, #151926 60%, #0e111a);
  box-shadow: inset 0 2px 0 rgba(255, 110, 150, .55), 0 0 26px rgba(255, 50, 100, .3);
}
.cf__base::after {
  content: ""; position: absolute; left: 0; right: 0; top: 31%; height: 45%; transform: none; opacity: 1; -webkit-mask: none; mask: none;
  background: linear-gradient(180deg, #121520, #07090f); border-radius: 0 0 50% 50% / 0 0 60% 60%;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .6);
}
.cf__slide:not(.is-center) .cf__base::before { box-shadow: inset 0 2px 0 rgba(255, 110, 150, .35), 0 0 14px rgba(255, 50, 100, .18); }
.cf__dots { margin-top: 6px; gap: 8px; align-items: center; }
.cf__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .28); box-shadow: none; }
.cf__dots i.is-on { width: 30px; height: 6px; border-radius: 3px; background: #ff3d6e; box-shadow: 0 0 10px var(--glow); }

/* --- полоса коллекций: картинка сверху, подпись снизу, выбранная — в золотой рамке --- */
.unis-wrap { margin-top: 22px; }
.uni { height: auto; aspect-ratio: auto; display: grid; grid-template-rows: 1fr auto; background: #10131d; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; }
.uni img { position: relative; inset: auto; height: 96px; opacity: .85; filter: none; }
.uni--text img { filter: brightness(.75); }
.uni span:not(.sr) { position: absolute; left: 0; right: 0; top: 0; height: 96px; }
.uni::after { content: none; }
.uni__cap { display: grid; gap: 3px; padding: 9px 8px 11px; text-align: center; text-transform: uppercase; }
.uni__cap small { font-size: 9px; letter-spacing: .3em; color: var(--grey); }
.uni__cap b { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uni.is-on { border: 1.5px solid var(--gold); box-shadow: 0 0 18px rgba(242, 181, 90, .35); }
.uni.is-on img { opacity: 1; }
.uni.is-on .uni__cap b { color: var(--gold); }
.unis__next { border-color: rgba(255, 255, 255, .2); box-shadow: none; }

/* --- заголовки разделов: белые, акцент розовым, короткая черта снизу --- */
.h2 { background: none; -webkit-text-fill-color: currentColor; color: #fff; display: block; }
.h2::after { content: ""; display: block; width: 46px; height: 3px; margin-top: 12px; border-radius: 2px; background: #ff3d6e; writing-mode: initial; }
.h2__accent { background: linear-gradient(90deg, #ff2f5f, #ff6b8f); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.step, .builder__form, .preview, .summary, .price, .about li, .lightbox__meta, .omodal__box {
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent 40%), var(--paper);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 20px 50px -30px #000;
}

@media (max-width: 860px) {
  .soc { width: 30px; height: 30px; border-radius: 9px; }
  .soc svg { width: 20px; height: 20px; }
  .nav__social { gap: 7px; }
  .nav__bar { column-gap: 7px; }
  .region { height: 38px; padding: 0 10px; font-size: 11.5px; margin-block: 10px; }
  .search { height: 38px; }
  .icon-btn--fav, .icon-btn--cart { width: 38px; height: 38px; border-radius: 10px; }
  .burger { width: 34px; }
  .hero__title { font-size: 12px; letter-spacing: .42em; }
  .cf { --cw: 37vw; }
  .uni { flex: 0 0 31%; }
  .uni img, .uni span:not(.sr) { height: 62px; }
  .uni__cap { padding: 6px 4px 8px; }
  .uni__cap small { font-size: 7px; }
  .uni__cap b { font-size: 10px; letter-spacing: .08em; }
  .hero { border-radius: 0 0 22px 22px; }
}
@media (max-width: 400px) {
  .soc { width: 27px; height: 27px; }
  .soc svg { width: 18px; height: 18px; }
  .region { padding: 0 8px; font-size: 10.5px; }
}
/* Подпись плашки — под картинкой, а не поверх неё */
.uni .uni__cap { position: static; height: auto; display: grid; place-items: center; font-family: var(--body); text-shadow: none; line-height: 1.15; }
.uni .uni__cap small, .uni .uni__cap b { position: static; height: auto; display: block; }
@media (max-width: 860px) {
  .region { padding: 0 8px; font-size: 10.5px; gap: 0; }
  .region button { padding: 4px 2px; }
  .search { gap: 6px; padding: 0 10px; }
  .search .ico { width: 16px; height: 16px; }
}
.uni > span.uni__cap { position: static; height: auto; display: grid; place-items: center; padding: 9px 8px 11px; font-family: var(--body); font-size: inherit; text-shadow: none; }
@media (max-width: 860px) {
  .uni > span.uni__cap { padding: 6px 4px 8px; }
  .nav__bar { column-gap: 6px; }
  .burger { width: 30px; }
  .burger svg { width: 25px; height: 25px; }
  .region { padding: 0 7px; font-size: 10px; }
}
.uni .uni__cap b { max-width: 100%; }

/* ============================================================
   Рендеры вместо CSS-рисунков: фон-зал и подиумы отрисованы в 3D
   (Three.js: физические материалы, контровой свет, свечение)
   ============================================================ */
.hero {
  background:
    radial-gradient(42% 30% at 50% 58%, rgba(255, 50, 100, .16), transparent 70%),
    linear-gradient(180deg, rgba(7, 9, 15, 0) 70%, #07090f),
    url("assets/stage/backdrop-m.webp") center 40px / 100% auto no-repeat,
    #07090f;
}
@media (min-width: 861px) {
  .hero { background:
    radial-gradient(30% 34% at 50% 56%, rgba(255, 50, 100, .14), transparent 70%),
    linear-gradient(180deg, rgba(7, 9, 15, 0) 72%, #07090f),
    url("assets/stage/backdrop-d.webp") center 0 / cover no-repeat,
    #07090f; }
}
.cf::after { content: none; }
.hero__title::before, .hero__title::after { height: 2px; background: linear-gradient(90deg, transparent, #ff3d6e 70%, #ff7a9c); box-shadow: 0 0 8px rgba(255, 60, 110, .8); }
.hero__title::after { background: linear-gradient(270deg, transparent, #ff3d6e 70%, #ff7a9c); transform: none; }

/* Подиум — отрендеренный глянцевый диск; у центральной карточки — с ярким розовым отсветом */
.cf__base {
  left: -22%; right: -22%; bottom: calc(var(--cw) * -.5); height: auto; aspect-ratio: 1160 / 333;
  background: url("assets/stage/pedestal-side.webp") center / 100% 100% no-repeat; opacity: 1;
}
.cf__slide.is-center .cf__base { background-image: url("assets/stage/pedestal-center.webp"); }
.cf__base::after { content: none; }
/* Отсвет держателя на крышке подиума */
.cf__base::before {
  content: ""; position: absolute; left: 18%; right: 18%; top: 2%; height: 34%; border-radius: 50%; box-shadow: none; opacity: 0;
  background: radial-gradient(closest-side, rgba(255, 70, 115, .75), rgba(255, 70, 115, .2) 60%, transparent);
  transition: opacity .3s;
}
.cf__slide.is-center .cf__base::before { opacity: 1; }

/* Держатель — тёмная акриловая пластина */
.cf__item::before {
  left: -6%; right: -6%; top: -4%; bottom: calc(var(--cw) * -.22); border-radius: 9% / 6.5%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .07), transparent 18%),
    linear-gradient(180deg, rgba(30, 34, 50, .78), rgba(14, 16, 26, .9));
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 18px 30px -12px rgba(0, 0, 0, .8);
}
.cf__slide.is-center .cf__item::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 16%),
    linear-gradient(180deg, rgba(58, 22, 40, .82), rgba(30, 14, 26, .94));
  border: 1px solid rgba(255, 150, 180, .55);
  box-shadow: inset 0 1px 0 rgba(255, 200, 215, .35), 0 0 26px rgba(255, 50, 100, .45), 0 0 70px rgba(255, 50, 100, .2);
}
/* Неоновая кромка вокруг самой карточки */
.cf__slide .face--front { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.cf__slide.is-center .face--front { box-shadow: 0 0 0 1.5px #ff6b8f, 0 0 14px rgba(255, 60, 110, .85); }
.cf__label { bottom: calc(var(--cw) * -.165); text-shadow: 0 0 10px rgba(242, 181, 90, .45); }
/* Держатель стоит на крышке подиума: подиум ниже и позади пластины */
.cf__base { bottom: calc(var(--cw) * -.6); z-index: -2; }
.cf__track { padding-bottom: calc(var(--cw) * .7); }

/* ============================================================
   Свет на максимум: луч сверху, блик по стеклу, отражения в полу
   ============================================================ */
:root { --hot: #ff2d6f; --glow: rgba(255, 40, 110, .75); }
/* Карточки в витрине не крутятся — свайп по любой из них листает ленту */
.cf__slide.is-center .flip, .cf__slide .flip { touch-action: pan-x pan-y; cursor: pointer; }

/* Луч прожектора сверху на центральную карточку */
.cf::before {
  content: ""; position: absolute; left: 50%; top: -6%; width: calc(var(--cw) * 2.6); height: 92%; z-index: 0; pointer-events: none;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 120, 160, .32), rgba(255, 60, 120, .1) 55%, transparent 85%);
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
  -webkit-mask: radial-gradient(70% 100% at 50% 0, #000 40%, transparent 85%); mask: radial-gradient(70% 100% at 50% 0, #000 40%, transparent 85%);
}
.cf__track { position: relative; z-index: 1; }

/* Неон держателя — насыщеннее */
.cf__slide.is-center .cf__item::before {
  border: 1.5px solid rgba(255, 120, 165, .9);
  box-shadow: inset 0 1px 0 rgba(255, 210, 225, .5), inset 0 0 22px rgba(255, 40, 110, .28), 0 0 22px rgba(255, 40, 110, .75), 0 0 60px rgba(255, 40, 110, .45), 0 0 120px rgba(255, 40, 110, .22);
}
.cf__slide.is-center .face--front { box-shadow: 0 0 0 2px #ff5c8d, 0 0 18px rgba(255, 40, 110, 1), 0 0 36px rgba(255, 40, 110, .5); }
.cf__label { color: #ffc566; text-shadow: 0 0 12px rgba(255, 190, 90, .75), 0 0 2px rgba(255, 220, 150, .9); }

/* Блик по стеклу держателя: косая полоса света, изредка проходит по пластине */
.cf__glare { position: absolute; left: -6%; right: -6%; top: -4%; bottom: calc(var(--cw) * -.22); border-radius: 9% / 6.5%; overflow: hidden; pointer-events: none; z-index: 3; opacity: 0; }
.cf__slide.is-center .cf__glare { opacity: 1; }
.cf__glare::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; width: 38%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .0) 20%, rgba(255, 255, 255, .28) 48%, rgba(255, 210, 230, .12) 56%, transparent 80%);
  transform: skewX(-18deg); animation: glare 6.5s ease-in-out infinite;
}
@keyframes glare { 0%, 62% { transform: translateX(0) skewX(-18deg); } 100% { transform: translateX(520%) skewX(-18deg); } }
/* Статичный блик-отражение в верхнем углу стекла */
.cf__glare::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 255, 255, .16), transparent 22%); }

/* Отражение подиума в глянцевом полу */
.cf__base::after {
  content: ""; position: absolute; left: 0; right: 0; top: 92%; height: 100%; pointer-events: none;
  background: inherit; transform: scaleY(-.7); transform-origin: top; opacity: .32;
  -webkit-mask: linear-gradient(to bottom, #000, transparent 70%); mask: linear-gradient(to bottom, #000, transparent 70%);
}
/* Розовое пятно света на полу под центральным подиумом */
.cf__slide.is-center .cf__base { filter: drop-shadow(0 12px 26px rgba(255, 40, 110, .55)); }

/* Заголовок и точки — ярче */
.hero__title { text-shadow: 0 0 18px rgba(255, 90, 140, .35); }
.hero__title::before, .hero__title::after { height: 2px; box-shadow: 0 0 10px rgba(255, 40, 110, 1), 0 0 22px rgba(255, 40, 110, .6); }
.cf__dots i.is-on { box-shadow: 0 0 12px rgba(255, 40, 110, 1), 0 0 24px rgba(255, 40, 110, .6); }
.uni.is-on { box-shadow: 0 0 16px rgba(255, 190, 90, .55), 0 0 40px rgba(255, 170, 60, .25); }
@media (prefers-reduced-motion: reduce) { .cf__glare::before { animation: none; } }
/* Луч — мягкий, без жёстких краёв */
.cf::before {
  top: 0; height: 88%; width: calc(var(--cw) * 2.4); clip-path: none; -webkit-mask: none; mask: none;
  background:
    radial-gradient(22% 70% at 50% 0, rgba(255, 190, 210, .22), transparent 70%),
    radial-gradient(48% 95% at 50% 0, rgba(255, 70, 130, .2), transparent 72%);
}
/* Запас снизу, чтобы свечение держателя и подиума не обрезалось краем ленты ровной линией */
.cf__track { padding-bottom: calc(var(--cw) * 1.15); }
/* Точки стоят рядом с витриной, а не внутри неё, поэтому отступ — в пикселях */
.cf__dots { margin-top: 0; position: relative; z-index: 2; }
@media (min-width: 861px) { .cf__dots { margin-top: -112px; } }

/* ============================================================
   «Голографическая галерея».
   Спокойная чернильная основа, тонкие линии, много воздуха.
   Яркое — только две вещи: цвет текущей серии на сцене
   и голографический перелив (на карточках и в акцентах).
   ============================================================ */
@property --acc { syntax: "<color>"; inherits: true; initial-value: #ff3b4e; }
:root {
  --bg: #0b0a10;
  --paper: #14131b;
  --paper-2: #1c1a25;
  --well: #100f16;
  --night: #0b0a10;
  --text: #f4f2f8;
  --grey: #9b97ab;
  --line: rgba(255, 255, 255, .09);
  --hot: #ff5fa2;
  --red: #ff4d8d;
  --glow: rgba(167, 123, 255, .35);
  --holo: linear-gradient(100deg, #ff5fa2, #a77bff 35%, #5ee7ff 65%, #ffd36e);
  --display: "Unbounded", "Golos Text", system-ui, sans-serif;
}
body {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    var(--bg);
}
.section--dark { background: transparent; }
.section { border-top: 1px solid var(--line); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; }

/* --- кнопки: главная — светлая, второстепенная — контур --- */
.btn { background: var(--text); color: var(--bg); border: 0; border-radius: 999px; box-shadow: none; font-weight: 700; }
.btn:hover { background: #fff; box-shadow: 0 0 0 3px rgba(167, 123, 255, .35); }
.btn:active { transform: scale(.98); box-shadow: none; }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid rgba(255, 255, 255, .22); }
.btn--ghost:hover { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .45); box-shadow: none; }
.btn--sm { box-shadow: none; }
.seg button.is-on, .chip.is-on, .cpick button.is-on { background: var(--text); color: var(--bg); box-shadow: none; }
.step::before, .field__n { background: var(--holo); color: #120f1a; box-shadow: none; border: 0; }
.price--hot { box-shadow: 0 0 0 1px rgba(167, 123, 255, .7), 0 24px 60px -30px rgba(167, 123, 255, .6); }
.price__tag { background: var(--holo); color: #120f1a; box-shadow: none; }
.pick__item.is-on .pick__img { box-shadow: 0 0 0 2px #a77bff; }
.pick__item.is-on .pick__name { color: var(--text); }
.step, .builder__form, .preview, .summary, .price, .about li, .lightbox__meta, .omodal__box {
  background: var(--paper); box-shadow: 0 0 0 1px var(--line);
}
.lightbox__close, .vslider__nav, .unis__next { border: 1px solid var(--line); box-shadow: none; background: var(--paper); }
.badge { background: var(--holo); color: #120f1a; box-shadow: none; }

/* --- заголовки разделов --- */
.h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 600; font-style: normal; }
.h2::after { width: 40px; height: 2px; background: var(--holo); }
.h2__accent { background: var(--holo); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* --- шапка: тихая, без подсветки --- */
.nav { background: rgba(11, 10, 16, .94); border-bottom: 1px solid var(--line); }
.nav__bar::after { background: var(--line); }
.logo { font-family: var(--display); font-style: normal; font-weight: 700; letter-spacing: -.02em; text-transform: uppercase;
  background: none; -webkit-text-fill-color: var(--text); color: var(--text); }
.logo__accent { background: var(--holo); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: logo-flow 8s ease-in-out infinite alternate; }
.logo::before { content: none; }
.logo::after { -webkit-text-fill-color: #a77bff; color: #a77bff; text-shadow: none; }
.soc, .nav__social .sound-toggle { background: transparent; border: 1px solid var(--line); border-radius: 50%; }
.burger { color: var(--text); }
.burger svg { filter: none; }
.search { background: var(--paper); border-color: var(--line); }
.search:focus-within { border-color: rgba(167, 123, 255, .7); box-shadow: none; }
.region { background: var(--paper); border-color: var(--line); }
.icon-btn--fav, .icon-btn--cart { background: var(--paper); border: 1px solid var(--line); color: var(--text); box-shadow: none; border-radius: 50%; }
.icon-btn--fav:hover, .icon-btn--cart:hover { border-color: rgba(255, 255, 255, .35); background: var(--paper-2); }

/* --- сцена: окрашивается в цвет серии --- */
.hero { position: relative; overflow: hidden; border-radius: 0; transition: --acc .7s ease;
  background: radial-gradient(60% 48% at 50% 50%, color-mix(in srgb, var(--acc) 22%, transparent), transparent 72%), var(--bg); }
.cf::before, .cf::after { content: none; }
.hero__title { font: 500 11px/1 var(--body); letter-spacing: .38em; color: var(--grey); text-shadow: none; }
.hero__title::before, .hero__title::after { height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25)); box-shadow: none; }
.hero__title::after { background: linear-gradient(270deg, transparent, rgba(255, 255, 255, .25)); }
.hero__mark {
  position: absolute; left: 50%; top: 21%; transform: translateX(-50%); z-index: 0; pointer-events: none; white-space: nowrap;
  font: 800 clamp(64px, 19vw, 240px)/1 var(--display); letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--acc) 70%, white); opacity: .32;
  -webkit-mask: linear-gradient(180deg, #000 30%, transparent 95%); mask: linear-gradient(180deg, #000 30%, transparent 95%);
}
.cf { z-index: 1; }
.cf__track { padding-block: calc(var(--cw) * .12) calc(var(--cw) * .5); }
/* Карточка без держателя и подиума: парит, под ней — тень и пятно цвета серии на полу */
.cf__item::before, .cf__glare::after { content: none; }
.cf__base { left: 8%; right: 8%; bottom: calc(var(--cw) * -.2); height: calc(var(--cw) * .14); aspect-ratio: auto; background: radial-gradient(closest-side, rgba(0, 0, 0, .75), transparent); filter: none; z-index: -1; }
.cf__slide.is-center .cf__base { background: radial-gradient(closest-side, color-mix(in srgb, var(--acc) 60%, transparent), transparent); filter: blur(4px); }
.cf__base::before, .cf__base::after { content: none; }
.cf__slide .face--front { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 50px -22px #000; }
.cf__slide.is-center .face--front { box-shadow: 0 0 0 1px rgba(255, 255, 255, .3), 0 0 46px -8px var(--acc), 0 40px 60px -24px #000; }
/* Отражение центральной карточки в полу */
.cf__slide.is-center .flip { -webkit-box-reflect: below 10px linear-gradient(transparent 72%, rgba(255, 255, 255, .14)); }
.cf__label {
  bottom: calc(var(--cw) * -.34); font: 600 11px/1 var(--display); letter-spacing: .16em; color: var(--text); text-shadow: none;
}
/* Голографическая полоса изредка проходит по центральной карточке */
.cf__glare { inset: 0; border-radius: 4.5% / 3.4%; z-index: 3; }
.cf__glare::before {
  width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 95, 162, .0) 15%, rgba(255, 95, 162, .22) 35%, rgba(94, 231, 255, .22) 55%, rgba(255, 211, 110, .16) 70%, transparent 85%);
  mix-blend-mode: screen; animation: glare 7s ease-in-out infinite;
}
.cf__dots { margin-top: 0; gap: 6px; }
.cf__dots i { width: 14px; height: 2px; border-radius: 1px; background: rgba(255, 255, 255, .22); }
.cf__dots i.is-on { width: 30px; height: 2px; background: var(--acc); box-shadow: 0 0 10px var(--acc); transition: width .3s, background-color .7s; }
@media (min-width: 861px) { .cf__dots { margin-top: 0; } .hero__mark { top: 16%; } }

/* --- полоса коллекций: аккуратные «пилюли» с иконкой серии --- */
.unis-wrap { margin-top: 18px; justify-content: center; }
.unis { flex: 0 1 auto; justify-content: flex-start; gap: 8px; }
.uni {
  flex: 0 0 auto; display: flex; align-items: center; gap: 10px; height: 48px; padding: 4px 18px 4px 4px; grid-template-rows: none;
  border-radius: 999px; border: 1px solid var(--line); background: var(--paper); box-shadow: none; transition: background .3s, border-color .3s;
}
.uni img { position: static; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; opacity: 1; filter: none; flex: none; }
.uni .uni__name { position: static; height: auto; display: block; padding: 0; font: 600 13px/1 var(--body); color: var(--grey); text-shadow: none; white-space: nowrap; }
.uni.is-on { border-color: var(--c); background: color-mix(in srgb, var(--c) 18%, var(--paper)); box-shadow: none; }
.uni.is-on .uni__name { color: var(--text); }
.unis__next { display: none; }
.hero > .wrap { padding-bottom: 36px; }

@media (max-width: 860px) {
  .logo { font-size: 15px; }
  .hero__mark { font-size: 26vw; top: 17%; }
  .cf { --cw: 46vw; }
  .uni { height: 40px; padding: 3px 14px 3px 3px; gap: 8px; }
  .uni img { width: 34px; height: 34px; }
  .uni .uni__name { font-size: 12px; }
  .unis-wrap { justify-content: flex-start; }
}
@media (max-width: 370px) { .logo { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .hero { transition: none; } }
/* «Пилюли»: перебиваем старые правила плашек-баннеров */
.unis > .uni > span.uni__name { position: static; display: block; height: auto; padding: 0; font: 600 13px/1 var(--body); letter-spacing: 0; color: var(--grey); text-shadow: none; overflow-wrap: normal; }
.unis > .uni.is-on > span.uni__name { color: var(--text); }
.unis > .uni > img { position: static; width: 40px; height: 40px; border-radius: 50%; }
.hero__mark { opacity: .55; -webkit-text-stroke: 1.2px color-mix(in srgb, var(--acc) 80%, white); }
@media (max-width: 860px) {
  .unis > .uni { flex: 0 0 auto; }
  .unis > .uni > span.uni__name { font-size: 12px; }
  .unis > .uni > img { width: 34px; height: 34px; }
  .hero__mark { opacity: .7; -webkit-text-stroke-width: 1px; }
}

/* ============================================================
   Плавность на телефоне: ничего не перерисовывается в покое
   и как можно меньше — при свайпе
   ============================================================ */
body { background: var(--bg); }                                   /* без «зерна» */
.cf__slide.is-center .flip { -webkit-box-reflect: none; }        /* отражение пересчитывалось каждый кадр */
.logo__accent { animation: none; }                               /* бесконечный перелив логотипа */
.cf__glare { display: none; }                                    /* бегущий блик по карточке */
.cf__slide.is-center .cf__base { filter: none; }                 /* размытие под карточкой */
.hero { transition: none; }
/* Карточки в витрине стоят обложкой — перелив с режимами наложения им не нужен */
.cf__slide .face__holo, .cf__slide .face__sheen, .cf__slide .face__lines { display: none !important; }

/* ============================================================
   Мрачнее и агрессивнее: почти чёрная основа, тёмно-кровавый красный
   ============================================================ */
@property --acc { syntax: "<color>"; inherits: true; initial-value: #c3122f; }
:root {
  --bg: #060507;
  --paper: #0f0c0e;
  --paper-2: #171215;
  --well: #0b090b;
  --night: #060507;
  --text: #f2eeee;
  --grey: #8f8689;
  --line: rgba(255, 255, 255, .07);
  --red: #d8112f;
  --red-dark: #8e0a1e;
  --hot: #e0163a;
  --glow: rgba(216, 17, 47, .5);
  --holo: linear-gradient(100deg, #8e0a1e, #d8112f 55%, #ff2a45);
}
/* Заголовки — жирнее, выделенное слово — просто красным, без градиента */
.h2 { font-weight: 800; letter-spacing: -.02em; }
.h2__accent { background: none; -webkit-text-fill-color: var(--hot); color: var(--hot); }
.h2::after { background: var(--hot); width: 36px; height: 3px; }
/* Кнопки и выделения — красные, углы жёстче */
.btn { background: var(--red); color: #fff; border-radius: 8px; font-weight: 800; letter-spacing: .01em; }
.btn:hover { background: #f0183a; box-shadow: 0 0 0 3px rgba(216, 17, 47, .3); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid rgba(255, 255, 255, .2); }
.btn--ghost:hover { background: rgba(216, 17, 47, .1); border-color: var(--red); box-shadow: none; }
.seg button.is-on, .chip.is-on, .cpick button.is-on { background: var(--red); color: #fff; }
.step::before, .field__n { background: var(--red); color: #fff; border-radius: 6px; }
.price--hot { box-shadow: 0 0 0 1px rgba(216, 17, 47, .8), 0 24px 60px -30px rgba(216, 17, 47, .7); }
.price__tag, .badge { background: var(--red); color: #fff; }
.pick__item.is-on .pick__img { box-shadow: 0 0 0 2px var(--red); }
.step, .builder__form, .preview, .summary, .price, .about li, .lightbox__meta, .omodal__box { background: var(--paper); border-radius: 10px; }
/* Логотип: «FLIP» — тёмно-красный, без анимации */
.logo__accent { background: linear-gradient(180deg, #ff2a45, #b30d27); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.logo::after { -webkit-text-fill-color: var(--red); color: var(--red); }
/* Сцена — темнее, по краям виньетка, цвет серии приглушён */
.hero {
  background:
    radial-gradient(58% 46% at 50% 50%, color-mix(in srgb, var(--acc) 20%, transparent), transparent 70%),
    radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .7)),
    var(--bg);
}
.hero__mark { -webkit-text-stroke: 1.2px color-mix(in srgb, var(--acc) 85%, black); opacity: .65; }
.cf__slide.is-center .face--front { box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 0 40px -10px var(--acc), 0 40px 60px -24px #000; }
.cf__dots i.is-on { background: var(--red); box-shadow: none; }
.uni.is-on { border-color: color-mix(in srgb, var(--c) 70%, black); background: color-mix(in srgb, var(--c) 14%, var(--paper)); }
.hero__title::before, .hero__title::after { background: linear-gradient(90deg, transparent, rgba(216, 17, 47, .7)); }
.hero__title::after { background: linear-gradient(270deg, transparent, rgba(216, 17, 47, .7)); }
/* Полоса коллекций под витриной убрана — коллекции листаются в самой витрине */
.unis-wrap { display: none; }
/* Логотип переливается: по надписи медленно проходит светлая волна (красная гамма) */
.logo {
  background: linear-gradient(100deg, #f2eeee 0%, #f2eeee 40%, #ffffff 46%, #ffb3be 50%, #f2eeee 56%, #f2eeee 100%);
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: logo-sheen 5s ease-in-out infinite;
}
.logo__accent {
  background: linear-gradient(100deg, #b30d27 0%, #e0163a 35%, #ff6b7f 47%, #ffd0d6 50%, #ff2a45 55%, #b30d27 100%);
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: logo-sheen 5s ease-in-out infinite;
}
@keyframes logo-sheen { 0% { background-position: 100% 0; } 60%, 100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .logo, .logo__accent { animation: none; } }

/* Цветные кнопки: меню — янтарное, избранное — красное, корзина — зелёная */
.burger { color: #f5b53c; }
.icon-btn--fav { color: #ff3b55; border-color: rgba(255, 59, 85, .55); background: rgba(255, 59, 85, .08); }
.icon-btn--cart { color: #3ee083; border-color: rgba(62, 224, 131, .55); background: rgba(62, 224, 131, .08); }
.icon-btn--fav:hover { border-color: #ff3b55; background: rgba(255, 59, 85, .15); }
.icon-btn--cart:hover { border-color: #3ee083; background: rgba(62, 224, 131, .15); }

/* ============================================================
   Тоньше и компактнее: меньше кнопки, тонкие приглушённые рамки
   ============================================================ */
:root { --line: rgba(255, 255, 255, .055); --frame: 1px solid var(--line); }
.ico { stroke-width: 1.7; }
/* Шапка */
.nav__bar > .burger, .nav__bar > .search, .nav__bar > #favBtn, .nav__bar > #cartBtn, .region { margin-block: 10px; }
.burger { width: 36px; height: 36px; }
.burger svg { width: 24px; height: 24px; stroke-width: 1.6; }
.search { height: 38px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.search .ico { width: 16px; height: 16px; }
.search input { font-size: 14px; }
.region { height: 38px; padding: 0 12px; font-size: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.icon-btn--fav, .icon-btn--cart { width: 38px; height: 38px; border-width: 1px; }
.icon-btn--fav { border-color: rgba(255, 59, 85, .3); background: rgba(255, 59, 85, .05); }
.icon-btn--cart { border-color: rgba(62, 224, 131, .3); background: rgba(62, 224, 131, .05); }
.icon-btn--fav .ico, .icon-btn--cart .ico { width: 18px; height: 18px; }
.soc { width: 36px; height: 36px; border: 1px solid var(--line); }
.soc svg { width: 20px; height: 20px; }
.nav__social .sound-toggle { width: 36px; height: 36px; border: 1px solid var(--line); }
.nav__social .sound-toggle svg { width: 18px; height: 18px; }
.nav__sep { height: 22px; background: var(--line); }
.nav, .nav__bar::after { border-color: var(--line); }
.nav__bar::after { background: var(--line); }
.badge { min-width: 16px; height: 16px; font-size: 10px; line-height: 14px; top: -4px; right: -4px; border-width: 1px; }
/* Разделы и панели */
.section { border-top: 1px solid var(--line); }
.h2::after { width: 28px; height: 2px; margin-top: 10px; }
.step, .builder__form, .preview, .summary, .price, .about li, .lightbox__meta, .omodal__box, .col-tile, .collection__empty { box-shadow: 0 0 0 1px var(--line); }
.field { border-top: 1px solid var(--line); }
.seg, .qty, .tool, .chip, .input input, .input textarea, .upload, .cpick button, .pick__img { border-width: 1px; border-color: rgba(255, 255, 255, .1); }
.seg button + button { border-left: 1px solid rgba(255, 255, 255, .1); }
.qty output { border-inline: 1px solid rgba(255, 255, 255, .1); }
.btn--ghost { border-color: rgba(255, 255, 255, .14); }
.faq { border-bottom: 1px solid var(--line); }
.footer, .drawer__head, .drawer__foot { border-color: var(--line); }
.drawer__panel { border-left: 1px solid var(--line); box-shadow: none; }
.lightbox__close, .vslider__nav { border: 1px solid var(--line); }
.hero__title::before, .hero__title::after { height: 1px; }
.cf__dots i { height: 2px; }
@media (max-width: 860px) {
  .nav__bar > .burger, .nav__bar > .search, .nav__bar > #favBtn, .nav__bar > #cartBtn, .region { margin-block: 8px; }
  .burger { width: 30px; height: 34px; }
  .burger svg { width: 22px; height: 22px; }
  .search { height: 34px; }
  .region { height: 34px; padding: 0 8px; font-size: 10px; }
  .icon-btn--fav, .icon-btn--cart { width: 34px; height: 34px; }
  .icon-btn--fav .ico, .icon-btn--cart .ico { width: 16px; height: 16px; }
  .soc, .nav__social .sound-toggle { width: 30px; height: 30px; }
  .soc svg { width: 17px; height: 17px; }
  .nav__social .sound-toggle svg { width: 16px; height: 16px; }
  .nav__sep { height: 18px; }
}

/* Ещё компактнее: кнопки, переключатели, номера, шапка */
.btn { padding: 10px 18px; font-size: 14px; border-radius: 7px; }
.btn--sm, .work__buy .btn { padding: 6px 12px; font-size: 12.5px; }
.seg button { padding: 8px 10px; font-size: 13px; }
.tool { padding: 6px 11px; font-size: 12px; gap: 5px; }
.tool .ico { width: 14px; height: 14px; }
.chip { font-size: 12.5px; }
.step::before { width: 28px; height: 28px; font-size: 14px; }
.field__n { width: 24px; height: 24px; font-size: 13px; }
.field legend { font-size: 15px; gap: 10px; }
.qty button { width: 36px; height: 36px; font-size: 18px; }
.qty output { min-width: 40px; line-height: 36px; font-size: 17px; }
.heart { width: 30px; height: 30px; }
.heart .ico { width: 17px; height: 17px; }
.icon-btn { width: 34px; height: 34px; }
@media (max-width: 860px) {
  .btn { padding: 9px 14px; font-size: 13px; }
  .hero__cta .btn, .btn--full { padding-block: 10px; }
  .seg button { padding: 7px 8px; font-size: 12.5px; }
  .step { grid-template-columns: 28px 1fr; padding: 12px; }
  .step h3 { font-size: 15px; }
  .h2 { font-size: 24px; }
  .preview .flip { width: min(150px, 40vw); }
  .preview { padding: 16px 12px 12px; gap: 10px; }
  .nav__bar { column-gap: 6px; }
  .nav__bar > .logo { margin-block: 10px; }
  .burger { width: 26px; height: 30px; }
  .burger svg { width: 19px; height: 19px; }
  .search { height: 30px; padding: 0 9px; }
  .search .ico { width: 14px; height: 14px; }
  .search input { font-size: 13px; }
  .region { height: 30px; padding: 0 7px; font-size: 9.5px; }
  .icon-btn--fav, .icon-btn--cart { width: 30px; height: 30px; }
  .icon-btn--fav .ico, .icon-btn--cart .ico { width: 14px; height: 14px; }
  .soc, .nav__social .sound-toggle { width: 26px; height: 26px; }
  .soc svg { width: 15px; height: 15px; }
  .nav__social .sound-toggle svg { width: 14px; height: 14px; }
  .nav__social { gap: 6px; }
  .nav__sep { height: 16px; }
  .nav__bar > .burger, .nav__bar > .search, .nav__bar > #favBtn, .nav__bar > #cartBtn, .region { margin-block: 7px; }
}

/* ---------- главная: новинки и акции ---------- */
.sechead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.sechead__more { color: var(--grey); font-size: 13px; font-weight: 600; white-space: nowrap; }
.sechead__more:hover { color: var(--text); }
.newcards {
  display: flex; gap: 14px; margin: 22px -16px 0; padding: 0 16px 6px; overflow-x: auto; scroll-snap-type: x proximity;
  scroll-padding-inline: 16px; scrollbar-width: none;
}
.newcards::-webkit-scrollbar { display: none; }
.newc { flex: 0 0 176px; scroll-snap-align: start; display: grid; gap: 4px; }
.newc__img { position: relative; display: block; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); transition: transform .2s; }
.newc__img img { width: 100%; height: auto; aspect-ratio: var(--card-ratio); object-fit: cover; }
.newc__img em { position: absolute; top: 8px; left: 8px; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 7px; border-radius: 4px; background: var(--red); color: #fff; }
.newc:hover .newc__img { transform: translateY(-3px); }
.newc b { margin-top: 6px; font-size: 14px; }
.newc > span:last-child { color: var(--grey); font-size: 12.5px; }

.promos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: 22px; }
.promo {
  position: relative; display: grid; align-content: start; justify-items: start; gap: 8px; padding: 20px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(216, 17, 47, .16), transparent 60%), var(--paper); box-shadow: 0 0 0 1px rgba(216, 17, 47, .25);
}
.promo__tag { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--hot); }
.promo h3 { font-size: 18px; line-height: 1.2; }
.promo p { margin: 0 0 6px; color: var(--grey); font-size: 14px; }

/* ---------- страница «Как это работает» ---------- */
.howp__steps { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 14px; }
.howp__step { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 28px; padding: 22px; border-radius: 12px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.howp__step:nth-child(even) .howp__pic { order: 2; }
.howp__pic { position: relative; height: 230px; display: flex; align-items: center; justify-content: center; border-radius: 10px; overflow: hidden;
  background: radial-gradient(60% 70% at 50% 55%, rgba(216, 17, 47, .2), transparent 70%), var(--well); }
.howp__pic img { border-radius: 6px; box-shadow: 0 14px 30px -12px #000, 0 0 0 1px rgba(255, 255, 255, .1); }
.howp__pic--fan img { width: 100px; aspect-ratio: var(--card-ratio); object-fit: cover; margin: 0 -18px; }
.howp__pic--fan img:nth-child(1) { transform: rotate(-12deg) translateY(10px); }
.howp__pic--fan img:nth-child(2) { position: relative; z-index: 1; width: 116px; }
.howp__pic--fan img:nth-child(3) { transform: rotate(12deg) translateY(10px); }
.howp__pic--frames { gap: 14px; }
.howp__pic--frames img { width: 104px; aspect-ratio: var(--card-ratio); object-fit: cover; }
.howp__pic--frames span { font: 800 26px var(--display); color: var(--hot); }
.howp__pic--photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; }
.howp__pic--chat { flex-direction: column; align-items: stretch; justify-content: center; gap: 8px; padding: 22px; }
.bub { max-width: 78%; padding: 9px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.35; }
.bub--in { align-self: flex-start; background: var(--paper-2); border-bottom-left-radius: 4px; }
.bub--out { align-self: flex-end; background: var(--red); color: #fff; border-bottom-right-radius: 4px; }
.howp__txt { display: grid; justify-items: start; gap: 8px; }
.howp__n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; background: var(--red); color: #fff; font: 800 14px var(--display); }
.howp__txt h3 { font-size: 22px; }
.howp__txt p { margin: 0 0 4px; color: var(--grey); }
.howp__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
@media (max-width: 760px) {
  .howp__step { grid-template-columns: 1fr; gap: 14px; padding: 14px; }
  .howp__step:nth-child(even) .howp__pic { order: 0; }
  .howp__pic { height: 190px; }
  .howp__txt h3 { font-size: 18px; }
  .howp__txt p { font-size: 14px; }
  .newc { flex-basis: 40vw; }
  .promo { padding: 16px; }
  .howp__cta .btn { flex: 1; }
}
.newc b { display: flex; align-items: center; gap: 6px; }
.newc b em { position: static; font-style: normal; font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 2px 5px; border-radius: 3px; background: var(--red); color: #fff; }
.nav { background: var(--bg); }

/* Новинки — бегущая строка; при наведении и касании останавливается */
.newcards { position: relative; display: block; overflow: hidden; margin-inline: calc(50% - 50vw); padding: 0; scroll-snap-type: none; }
.newcards::before, .newcards::after { content: ""; position: absolute; top: 0; bottom: 0; width: 8vw; z-index: 2; pointer-events: none; }
.newcards::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.newcards::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.newcards__track { display: flex; gap: 14px; width: max-content; padding-left: 14px; animation: new-run var(--dur, 30s) linear infinite; will-change: transform; }
.newcards:hover .newcards__track, .newcards:active .newcards__track, .newcards:focus-within .newcards__track { animation-play-state: paused; }
@keyframes new-run { to { transform: translate3d(-50%, 0, 0); } }
.newc { flex: 0 0 200px; }
@media (max-width: 760px) { .newc { flex-basis: 38vw; } .newcards__track { gap: 10px; padding-left: 10px; } }
@media (prefers-reduced-motion: reduce) {
  .newcards { overflow-x: auto; }
  .newcards__track { animation: none; }
}

/* Акции: баннер 4+1 слева, текст справа; «весь каталог» — цена со скидкой */
.promos { grid-template-columns: 1.35fr 1fr; align-items: stretch; }
.promo { padding: 0; overflow: hidden; }
.promo__body { display: grid; align-content: center; justify-items: start; gap: 8px; padding: 22px; }
.promo--img { grid-template-columns: minmax(150px, 230px) 1fr; }
.promo__img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; object-position: top; }
.promo__price { margin: 2px 0 6px; font-size: 14px; color: var(--grey); }
.promo__price s { margin-right: 4px; }
.promo__price b { font: 700 20px var(--display); color: var(--text); }
.cart-promo { margin: 0; padding: 8px 10px; border-radius: 6px; font-size: 12.5px; color: var(--grey); background: rgba(255, 255, 255, .04); }
.cart-promo.is-on { color: #fff; background: rgba(216, 17, 47, .22); }
@media (max-width: 760px) {
  .promos { grid-template-columns: 1fr; }
  .promo--img { grid-template-columns: 120px 1fr; }
  .promo__img { max-height: 250px; }
  .promo__body { padding: 16px; }
  .promo h3 { font-size: 16px; }
  .promo p { font-size: 13px; }
}
.promo { align-content: stretch; }
.promo__body { height: 100%; }
.footer .logo { font-size: 26px; }
/* Акции — без картинок, просто описание и кнопка */
.promos { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.promo { padding: 20px; align-content: start; }
.summary__rows .is-promo b, .summary__rows .is-promo span { color: var(--hot); }
.omodal__lines dd { white-space: nowrap; }

/* ============================================================
   Коллекции — запечатанные паки с карточками
   ============================================================ */
.collections { gap: 22px; padding-top: 30px; }
.col-tile.pack { overflow: visible; background: none; border: 0; box-shadow: none; isolation: isolate; aspect-ratio: 791 / 1087; transition: transform .25s; }
.col-tile.pack:hover { transform: translateY(-4px); box-shadow: none; }
.col-tile.pack::after { content: none; }
/* Тело пака (без верхней полосы) */
.pack__body, .pack__top { position: absolute; left: 0; right: 0; overflow: hidden; border-radius: 6px; }
.pack__body { top: 12%; bottom: 0; z-index: 2; border-radius: 0 0 6px 6px; box-shadow: 0 18px 40px -18px #000; }
.pack__top { top: 0; height: 12%; z-index: 3; border-radius: 6px 6px 0 0; transform-origin: 12% 100%; transition: transform .45s cubic-bezier(.3, .7, .2, 1), opacity .45s; }
.pack__body > img, .pack__top > img { position: absolute; left: 0; width: 100%; height: calc(100% / .88); object-fit: cover; z-index: 0; transform: none !important; }
.pack__body > img { top: calc(-12% / .88); }
.pack__top > img { top: 0; height: calc(100% / .12); }
.pack__body::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(transparent 50%, rgba(0, 0, 0, .94)); }
.pack .col-tile__info { z-index: 2; }
/* Запаянные рифлёные края — сверху у отрывной полосы и снизу */
.pack__top::before, .pack__body::before {
  content: ""; position: absolute; left: 0; right: 0; z-index: 2; height: 14px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .32) 0 1.5px, rgba(0, 0, 0, .25) 1.5px 4px), linear-gradient(rgba(255, 255, 255, .12), rgba(0, 0, 0, .3));
  mix-blend-mode: overlay;
}
.pack__top::before { top: 0; }
.pack__body::before { bottom: 0; }
/* Линия надрыва и метка «оторви» */
.pack__top::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 6px;
  background: radial-gradient(circle at 3px 6px, transparent 2.2px, rgba(255, 255, 255, .0) 2.3px) 0 0 / 7px 6px repeat-x,
    linear-gradient(90deg, rgba(255, 255, 255, .55) 50%, transparent 50%) 0 100% / 8px 1px repeat-x;
}
/* Фольга: отблеск по всему паку */
.pack__body > .col-tile__info::before { content: none; }
.pack::before {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: 6px;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .16) 47%, rgba(255, 255, 255, .04) 53%, transparent 62%) -140% 0 / 250% 100% no-repeat;
  transition: background-position .7s ease;
}
.pack:hover::before { background-position: 140% 0; }
/* Карточка внутри пака: при наведении верх отрывается, карточка выезжает */
.pack__card {
  position: absolute; left: 12%; width: 76%; top: 14%; z-index: 1; aspect-ratio: var(--card-ratio); object-fit: cover; border-radius: 5px;
  box-shadow: 0 10px 24px -8px #000, 0 0 0 1px rgba(255, 255, 255, .15); transition: transform .45s cubic-bezier(.3, .7, .2, 1) .08s;
}
.pack:hover .pack__top, .pack:focus-visible .pack__top { transform: translate(-6%, -70%) rotate(-14deg); opacity: 0; }
.pack:hover .pack__card, .pack:focus-visible .pack__card { transform: translateY(-38%) rotate(-3deg); }
@media (hover: none) { .pack:hover .pack__top { transform: none; opacity: 1; } .pack:hover .pack__card { transform: none; } }
@media (prefers-reduced-motion: reduce) { .pack__top, .pack__card, .pack::before { transition: none; } }
@media (max-width: 860px) { .collections { gap: 12px; padding-top: 20px; } .pack__top::before, .pack__body::before { height: 9px; } }
/* Зубчатые края запайки и заметное рифление */
.pack__top {
  -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 9px 5px repeat-x, linear-gradient(#000, #000) 0 5px / 100% 100% no-repeat;
          mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 9px 5px repeat-x, linear-gradient(#000, #000) 0 5px / 100% 100% no-repeat;
  border-radius: 0;
}
.pack__body {
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 9px 5px repeat-x, linear-gradient(#000, #000) 0 0 / 100% calc(100% - 5px) no-repeat;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 9px 5px repeat-x, linear-gradient(#000, #000) 0 0 / 100% calc(100% - 5px) no-repeat;
  border-radius: 0; box-shadow: none;
}
.pack { filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .7)); }
.pack__top::before, .pack__body::before {
  height: 16px; mix-blend-mode: normal;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 1px, rgba(0, 0, 0, .35) 1px 3px), linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .2));
}
.pack__body::before { bottom: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 1px, rgba(0, 0, 0, .35) 1px 3px), linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .55)); }
.pack::before { border-radius: 0; }
.pack:hover .pack__card, .pack:focus-visible .pack__card { transform: translateY(-26%) rotate(-3deg); }
@media (max-width: 860px) { .pack__top::before, .pack__body::before { height: 10px; } }
.pack.is-open .pack__top { transform: translate(-6%, -70%) rotate(-14deg) !important; opacity: 0 !important; }
.pack.is-open .pack__card { transform: translateY(-26%) rotate(-3deg) !important; }
/* Перелив логотипа — как в «голографической» версии: «FLIP» течёт градиентом, «ANIVERSE» — ровный белый */
.logo { background: none; -webkit-text-fill-color: var(--text); color: var(--text); animation: none; }
.logo__accent {
  background: linear-gradient(100deg, #ff5fa2, #a77bff 35%, #5ee7ff 65%, #ffd36e);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: logo-flow 8s ease-in-out infinite alternate;
}
.logo::after { -webkit-text-fill-color: #a77bff; color: #a77bff; }
@media (prefers-reduced-motion: reduce) { .logo__accent { animation: none; } }
.howp__pic--gift img { width: 120px; aspect-ratio: var(--card-ratio); object-fit: cover; transform: rotate(-6deg); }
.howp__tag { position: absolute; left: 50%; bottom: 26px; transform: translateX(10%) rotate(5deg); padding: 6px 12px; border-radius: 6px; background: var(--red); color: #fff; font-weight: 800; font-size: 13px; box-shadow: 0 8px 18px -6px #000; }
/* Логотип как в красной неоновой версии: курсив капсом, по всей надписи течёт
   градиент красный → розовый → белый, под «FLIP» — взмах, рядом искра */
.logo {
  font-family: "Dela Gothic One", var(--display); font-weight: 400; font-style: italic; text-transform: uppercase; letter-spacing: -.02em;
  position: relative; padding-right: .5em;
  background: linear-gradient(100deg, #b80d22 0%, #ff1f3d 38%, #ff5a72 56%, #fff1f4 64%, #ffd3db 82%, #ff9fb0 100%);
  background-size: 160% 100%; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: logo-flow 6s ease-in-out infinite alternate;
}
.logo__accent { background: none; -webkit-text-fill-color: transparent; animation: none; }
.logo::before {
  content: ""; position: absolute; right: .55em; bottom: -.16em; width: 2.4em; height: .42em; pointer-events: none;
  border-bottom: .05em solid #ff3d5e; border-radius: 0 0 60% 60% / 0 0 100% 100%; transform: rotate(-5deg);
  filter: drop-shadow(0 0 6px rgba(255, 50, 90, .6));
}
.logo::after { content: "✦"; position: absolute; right: 0; top: -.05em; font-size: .5em; font-style: normal; -webkit-text-fill-color: #ff3d5e; color: #ff3d5e; text-shadow: 0 0 10px rgba(255, 50, 90, .6); }
@media (prefers-reduced-motion: reduce) { .logo { animation: none; } }

/* ============================================================
   Unbounded везде, кроме обычного текста абзацев (он остаётся Golos)
   ============================================================ */
:root { --display: "Unbounded", "Golos Text", system-ui, sans-serif; }
h1, h2, h3, .h2, .logo, .btn, .tool, .seg button, .chip, .cpick button, .menu a, .field legend,
.price h3, .price__v, .summary__total, .summary__total b, .work__buy b, .work__meta b, .lb-buy__price b, .lightbox__meta h3,
.cart-total, .cart-total b, .ditem__info b, .ditem__info em, .newc b, .promo h3, .promo__price b, .promo__tag, .col-tile__info b,
.collection__head h3, .step h3, .howp__txt h3, .howp__n, .step::before, .field__n, .price__tag, .badge, .region, .cf__label,
.hero__title, .sechead__more, .faq summary, .about b, .omodal__lines dt, .omodal__lines .is-total dd, .mbar__info b, .drawer__head h3,
.newc b em, .col-tile__tag, .lb-uni, .qty output, .uni__name {
  font-family: var(--display);
}
/* Размеры и насыщенность — спокойные, как на витрине */
.logo { font-family: var(--display); font-style: normal; font-weight: 700; letter-spacing: -.025em; }
.h2 { font-weight: 700; font-size: clamp(24px, 3.2vw, 40px); letter-spacing: -.02em; }
h3, .step h3, .howp__txt h3, .promo h3, .col-tile__info b, .collection__head h3 { font-weight: 600; letter-spacing: -.01em; }
.btn { font-weight: 600; font-size: 13px; letter-spacing: 0; }
.btn--sm, .work__buy .btn { font-size: 11.5px; }
.tool, .seg button, .chip, .cpick button { font-weight: 500; font-size: 12px; }
.menu a { font-weight: 600; font-size: 17px; }
.field legend { font-weight: 600; font-size: 14px; }
.price__v, .summary__total b, .cart-total b, .lb-buy__price b { font-weight: 700; letter-spacing: -.02em; }
.faq summary { font-weight: 500; font-size: 14px; }
.hero__title { font-weight: 500; font-size: 11px; }
.cf__label { font-weight: 600; font-size: 12px; letter-spacing: .14em; }
.region { font-weight: 500; }
@media (max-width: 860px) {
  .h2 { font-size: 22px; }
  .btn { font-size: 12px; }
  .menu a { font-size: 15px; }
  .faq summary { font-size: 13px; }
  .tool, .seg button, .chip, .cpick button { font-size: 11px; }
}
/* «FLIP» прозрачный только внутри логотипа (там его красит градиент); в тексте — красный */
:not(.logo) > .logo__accent { -webkit-text-fill-color: var(--hot); color: var(--hot); background: none; }
/* Карточка спрятана внутри пака целиком; при открытии ровно выходит вверх из разорванного края */
.col-tile.pack > img.pack__card {
  inset: auto; left: 15%; top: 13%; width: 70%; height: auto; z-index: 1; opacity: 0;
  transform: translateY(0); transition: transform .45s cubic-bezier(.3, .7, .2, 1) .08s, opacity .15s;
}
.col-tile.pack:hover > img.pack__card, .col-tile.pack:focus-visible > img.pack__card, .col-tile.pack.is-open > img.pack__card {
  opacity: 1; transform: translateY(-42%) !important;
}
@media (hover: none) { .col-tile.pack:hover > img.pack__card { opacity: 0; transform: none !important; } .col-tile.pack.is-open > img.pack__card { opacity: 1; transform: translateY(-42%) !important; } }
/* Карточка в паке — почти во всю ширину */
.col-tile.pack > img.pack__card { left: 6%; width: 88%; }
/* «Коллекционные карточки» — тонкий вытянутый шрифт, разрядка меньше */
.hero__title { font: 300 15px/1 "Oswald", var(--body); letter-spacing: .3em; text-transform: uppercase; color: #c9c3c6; }
.hero__title span { margin-right: -.3em; }
@media (max-width: 860px) { .hero__title { font-size: 13px; letter-spacing: .24em; } .hero__title span { margin-right: -.24em; } }

/* ============================================================
   Аудит телефона: исправления
   ============================================================ */
/* 1. Галерея коллекции не шире экрана: колонки могут сжиматься, цена и кнопка переносятся */
@media (max-width: 520px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; }
  .work { min-width: 0; max-width: none; }
  .work__meta { flex-wrap: wrap; gap: 2px 6px; font-size: 13px; }
  .work__meta span { font-size: 11px; }
  .work__buy { flex-wrap: wrap; gap: 6px; }
  .work__buy b { font-size: 17px; }
  .work__buy .btn { flex: 1 1 auto; padding: 7px 8px; }
}
/* 2. Соцсети в меню — ровные «пилюли» с иконкой и названием */
.menu__social { gap: 8px; }
.menu__social .icon-btn--label { width: auto; height: 38px; padding: 0 14px 0 10px; gap: 8px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font: 600 12px var(--body); color: var(--text); }
.menu__social .icon-btn--label svg { width: 18px; height: 18px; flex: none; }
/* 3. Сообщения — снизу, над краем экрана (в конструкторе — сверху, там внизу панель заказа) */
@media (max-width: 860px) {
  .toast { top: auto; bottom: calc(18px + env(safe-area-inset-bottom)); }
  body[data-page="builder"] .toast { top: calc(12px + env(safe-area-inset-top)); bottom: auto; }
}
/* 4. Бегущая строка: отступ у каждой карточки, а не у ленты — половинки одинаковые, склейка без скачка;
      на телефоне не «залипает» на паузе после касания */
.newcards__track { gap: 0; padding-left: 0; }
.newcards__track .newc { margin-right: 14px; }
@media (max-width: 760px) { .newcards__track .newc { margin-right: 10px; } }
@media (hover: none) {
  .newcards:hover .newcards__track, .newcards:focus-within .newcards__track { animation-play-state: running; }
  .newcards:active .newcards__track { animation-play-state: paused; }
}
@media (max-width: 860px) { .hero__mark { display: none; } }

/* ============================================================
   Толщина карточки: лицо и рубашка раздвинуты, по краям — торцы
   ============================================================ */
.flip { --t: max(3px, 1.8cqw); --cw2: 50cqw; --ch2: calc(50cqw * 1051 / 780); }
.flip .face--front { transform: translateZ(calc(var(--t) / 2)); }
.flip .face--back { transform: rotateY(180deg) translateZ(calc(var(--t) / 2)); }
/* Толщина — стопка слоёв формы карточки между лицом и рубашкой (только там, где карточку крутят) */
.flip__layer {
  position: absolute; inset: 0; border-radius: 4.5% / 3.4%; pointer-events: none;
  background: #17151b; box-shadow: inset 0 0 0 1px #2b2830;
  transform: translateZ(calc(var(--t) * var(--k) * .96));
}
.flip:not([data-free]) .face--front, .flip:not([data-free]) .face--back { --t: 0px; }

/* Фон окна карточки — без красных точек */
.lightbox { background: rgba(5, 4, 6, .94); }

/* ============================================================
   Окно карточки на телефоне: всё на одном экране.
   Сверху крестик, по центру карточка, снизу компактная панель.
   ============================================================ */
@media (max-width: 760px) {
  .lightbox { display: flex; flex-direction: column; padding: 0; overflow: hidden; place-items: initial; }
  .lightbox[hidden] { display: none; }
  .lightbox__inner { flex: 1; display: flex; flex-direction: column; gap: 0; width: 100%; max-width: none; height: 100%; }
  .lightbox__close { position: absolute; top: calc(10px + env(safe-area-inset-top)); right: 12px; width: 36px; height: 36px; z-index: 6; }
  .lightbox__card { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 46px 16px 8px; }
  .lightbox .flip { width: min(62vw, 260px, calc((100dvh - 330px) * .742)); }
  .lightbox .hint { font-size: 11px; opacity: .6; margin: 0; }
  .lightbox__meta {
    flex: none; gap: 10px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0;
    box-shadow: 0 -1px 0 var(--line), 0 -20px 40px -20px #000;
  }
  .lb-uni { font-size: 10.5px; padding: 3px 8px; margin: 0; }
  .lightbox__meta h3 { font-size: 22px; margin-top: -2px; }
  .lightbox__meta > .lb-uni + h3 { margin-top: -4px; }
  .lb-buy { gap: 10px; }
  .lb-buy .qty button { width: 32px; height: 32px; font-size: 16px; }
  .lb-buy .qty output { min-width: 34px; line-height: 32px; font-size: 15px; }
  .lb-buy__price .note { font-size: 11px; }
  .lb-buy__price b { font-size: 22px; }
  .lb-cta { grid-template-columns: 1fr 1fr 42px; gap: 8px; }
  .lb-cta .btn { padding: 10px 8px; }
  .lb-cta .heart--lg { width: 42px; }
  .lb-links { padding-top: 8px; gap: 6px; flex-wrap: nowrap; }
  .lb-links .tool { flex: 1; font-size: 11px; padding: 7px 6px; }
  .seg--sm button { padding: 7px 8px; }
}

/* Бесконечная лента новинок: двигает скрипт, CSS-анимация выключена */
.newcards { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.newcards.is-drag { cursor: grabbing; }
.newcards .newcards__track { animation: none !important; will-change: transform; }
.newcards img { -webkit-user-drag: none; pointer-events: none; }

/* Окно карточки на телефоне: нижняя панель строго в ширину экрана */
@media (max-width: 760px) {
  .lightbox__inner { width: 100%; min-width: 0; }
  .lightbox__meta { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); }
  .lb-cta, .lb-buy, .lb-links { min-width: 0; }
}
@media (max-width: 760px) {
  .lb-links .tool { flex: 1 1 0; min-width: 0; white-space: normal; text-align: center; line-height: 1.2; font-size: 10.5px; padding: 7px 4px; }
  .lb-links .tool .ico { flex: none; }
}
/* Лента новинок: карточки — отдельные слои, позицию задаёт скрипт */
.newcards .newcards__track { position: relative; display: block; width: auto; transform: none !important; will-change: auto; }
.newcards .newcards__track .newc { position: absolute; left: 0; top: 0; width: 200px; margin-right: 14px; will-change: transform; }
@media (max-width: 760px) { .newcards .newcards__track .newc { width: 38vw; margin-right: 10px; } }
/* «Забери всю серию»: список коллекций с ценой */
.promo__cols { display: grid; gap: 8px; width: 100%; margin-top: 4px; }
.promo__col { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; width: 100%; padding: 8px 14px 8px 8px; text-align: left;
  border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .03); color: var(--text); transition: border-color .2s, background .2s; }
.promo__col:hover { border-color: rgba(216, 17, 47, .6); background: rgba(216, 17, 47, .08); }
.promo__col img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.promo__col span { display: grid; line-height: 1.25; min-width: 0; }
.promo__col b { font: 600 13px var(--display); }
.promo__col small { color: var(--grey); font-size: 12px; }
.promo__col em { font: 700 15px var(--display); font-style: normal; white-space: nowrap; }

/* Лента новинок — обычная горизонтальная прокрутка (надёжно на iPhone и Android) */
.newcards { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; touch-action: pan-x pan-y; scroll-snap-type: none; }
.newcards::-webkit-scrollbar { display: none; }
.newcards::before, .newcards::after { position: sticky; flex: none; }
.newcards .newcards__track { position: static; display: flex; width: max-content; height: auto !important; transform: none !important; }
.newcards .newcards__track .newc { position: static; flex: 0 0 200px; width: 200px; transform: none !important; will-change: auto; }
@media (max-width: 760px) { .newcards .newcards__track .newc { flex-basis: 40vw; width: 40vw; } }
.newcards::before, .newcards::after { display: none; }

/* ============================================================
   Мобильный аудит (5 ревьюеров): касания, ритм, окна, тексты
   ============================================================ */
html { scroll-padding-bottom: 96px; }
.search input { font-size: 16px; }                       /* иначе iOS увеличивает страницу при фокусе */
.newc b em { display: none; }                             /* «Новинка» дублировала заголовок раздела */
.newc__img { line-height: 0; }
.newc__img img { display: block; }
.sechead__more { color: var(--text); padding: 10px 0; margin: -10px 0; }
.sechead__more::after { content: " →"; color: var(--hot); }
.collection__empty p { display: block; padding: 0; background: none; }
.collection__empty { display: grid; justify-items: start; gap: 16px; padding: 24px 20px; }
.collection__head { align-items: start; }
.col-tile__info span, .collection__head .note, .note--center, .summary__rows b { text-wrap: balance; }
.pack__top::after { opacity: .5; }
.cf__dots i { padding: 10px 0; background-clip: content-box; height: 22px; }
.cf__dots i.is-on { height: 22px; }
.lb-cta .heart--lg { height: auto; align-self: stretch; }
.promo__col::after { content: "›"; font: 600 22px var(--display); color: var(--grey); }
.promo__col { grid-template-columns: 40px 1fr auto 12px; }
.cpick { display: grid; grid-template-columns: repeat(3, 1fr); }
.omodal__alt { padding: 11px 8px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__nav a { color: var(--grey); font-size: 13px; padding: 6px 0; }
.footer__nav a:hover { color: var(--text); }
.footer__copy { margin: 0; flex-basis: 100%; color: var(--grey); font-size: 12px; opacity: .7; }
.footer__brand .note { margin-top: 6px; }
/* Уведомление, когда открыто окно, — сверху, чтобы не закрывать кнопки */
body:has(.lightbox:not([hidden])) .toast, body:has(.omodal:not([hidden])) .toast { top: calc(12px + env(safe-area-inset-top)); bottom: auto; }
/* Окно заказа: прокручивается само окно, крестик всегда виден */
.omodal__box { max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
.omodal__box .lightbox__close { position: sticky; top: 0; float: right; margin: -6px -6px 0 0; z-index: 3; }

@media (max-width: 860px) {
  /* Шапка: цели касания 36 px, поиск забирает остаток */
  .soc, .nav__social .sound-toggle { width: 34px; height: 34px; }
  .soc svg { width: 18px; height: 18px; }
  .nav__social .sound-toggle svg { width: 17px; height: 17px; }
  .burger { width: 34px; height: 36px; }
  .burger svg { width: 22px; height: 22px; }
  .icon-btn--fav, .icon-btn--cart { width: 36px; height: 36px; }
  .icon-btn--fav .ico, .icon-btn--cart .ico { width: 17px; height: 17px; }
  .search { height: 36px; min-width: 0; }
  .search input { font-size: 16px; }
  .region { height: 36px; padding: 0 4px; font-size: 11px; }
  .region button { min-height: 34px; padding: 0 5px; }
  .badge { min-width: 15px; height: 15px; font-size: 9px; line-height: 13px; top: -5px; right: -5px; }
  .nav__bar > .burger, .nav__bar > .search, .nav__bar > #favBtn, .nav__bar > #cartBtn, .region { margin-block: 8px; }
  .nav__bar > .logo { font-size: 18px; }

  /* Ритм страницы */
  .section { padding-block: 36px; }
  .hero > .wrap { padding-bottom: 16px; }
  .h2 { font-size: 26px; }
  .sub { font-size: 14.5px; }

  /* Кнопки и переключатели — удобнее под палец */
  .btn { font-size: 13.5px; min-height: 42px; }
  .btn--sm, .work__buy .btn { min-height: 38px; font-size: 12.5px; }
  .seg button, .tool { min-height: 42px; font-size: 13px; padding-block: 10px; }
  .chip { font-size: 12.5px; }
  .heart { width: 38px; height: 38px; }
  .cpick button { min-height: 42px; font-size: 12.5px; }
  .lb-buy .qty button, .ditem .qty button { width: 38px; height: 38px; }
  .collection__head .tool { min-height: 40px; }

  /* Вопросы: вопрос крупнее ответа */
  .faq summary { font-size: 15px; }
  .faq p { font-size: 14px; line-height: 1.55; }

  /* Единые отступы карточек-панелей */
  .step, .price, .about li { padding: 18px; }
  .price--hot { margin-top: 24px; }
  .price__tag { top: -12px; }

  /* /how */
  .howp__cta { flex-direction: column; }
  .howp__cta .btn { width: 100%; }
  .howp__pic { background: none; }
  .howp__pic--fan { padding-bottom: 16px; }
  .howp__tag { bottom: auto; top: 18px; transform: translateX(20%) rotate(5deg); }

  /* Каталог и коллекции */
  .collections { padding-top: 40px; }
  .pack.is-open .pack__card, .col-tile.pack.is-open > img.pack__card { transform: translateY(-30%) !important; }

  /* Подвал */
  .footer { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .footer__row { gap: 18px; }
  .footer .logo { font-size: 22px; }
}
@media (max-width: 520px) {
  .gallery { gap: 24px 12px; }
  .work__meta { flex-wrap: nowrap; }
  .work__meta b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .work__meta span { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .work__meta .heart { width: 34px; height: 34px; flex: none; }
}
/* Сетка выбора персонажа — 3 колонки и на узких экранах; «Другой» — компактная плитка */
@media (max-width: 360px) { .pick { grid-template-columns: repeat(3, 1fr); gap: 10px 6px; } }
.pick__item--other .pick__img { aspect-ratio: auto; min-height: 96px; height: 100%; }
/* Конструктор по фото: номер и «Особая» не налезают */
.custom__top { padding-inline: 22%; }
.summary__rows span { white-space: nowrap; flex: none; }
/* Доводка после повторной проверки на 360 px */
.cf__dots i, .cf__dots i.is-on { background-clip: content-box; height: 22px; box-shadow: none; }
@media (max-width: 400px) {
  .nav__social { gap: 5px; }
  .soc, .nav__social .sound-toggle { width: 30px; height: 30px; }
  .soc svg { width: 16px; height: 16px; }
  .nav__sep { display: none; }
  .nav__bar > .logo { font-size: 16px; }
  .seg button, .tool { font-size: 12px; padding-inline: 6px; white-space: nowrap; }
  .preview__tools .tool { flex: 1; justify-content: center; }
}

/* Окно заказа никогда не шире экрана: длинные строки чека переносятся */
.omodal > .omodal__box { min-width: 0; max-width: 100%; box-sizing: border-box; overflow-x: hidden; }
.omodal__lines, .omodal__lines div { min-width: 0; }
.omodal__lines dt { flex: none; }
.omodal__lines dd { white-space: normal; min-width: 0; overflow-wrap: anywhere; text-wrap: balance; }
.omodal__lines .is-total dd, .omodal__lines dd:only-child { white-space: nowrap; }
.omodal .cpick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.omodal .cpick button { min-width: 0; padding-inline: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.omodal .input input, .omodal .input textarea, .omodal .consent { min-width: 0; max-width: 100%; box-sizing: border-box; }
.omodal input, .omodal textarea { font-size: 16px; }

/* Подсказка акции 4+1 вверху конструктора */
.promo-note { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; background: rgba(216, 17, 47, .14); box-shadow: 0 0 0 1px rgba(216, 17, 47, .35); font-size: 14px; }
.promo-note b { font-family: var(--display); color: var(--hot); white-space: nowrap; }
/* «О нас»: номер-акцент у каждого пункта */
.about { counter-reset: ab; }
.about li { position: relative; padding-left: 58px; counter-increment: ab; }
.about li::before { content: counter(ab, decimal-leading-zero); position: absolute; left: 18px; top: 18px; font: 700 15px var(--display); color: var(--hot); }
/* Заголовки страниц теперь h1 — тот же вид, что у h2 */
h1.h2 { margin: 0; }
.promo__col em { display: grid; justify-items: end; line-height: 1.1; }
.promo__col em s { font: 500 11px var(--body); color: var(--grey); }
/* Фон за окнами — ровное затемнение, без точек */
.omodal, .drawer { background: rgba(5, 4, 6, .9); }
.omodal .cpick { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Подвал: почта и юридические ссылки */
.footer__legal { display: grid; gap: 10px; flex-basis: 100%; padding-top: 18px; border-top: 1px solid var(--line); }
.footer__legal a { color: var(--grey); font-size: 14px; }
.footer__legal a:hover { color: var(--text); }
.footer__legal .footer__mail { color: var(--text); font-size: 15px; margin-bottom: 6px; }
@media (min-width: 861px) { .footer__legal { display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: baseline; } .footer__legal .footer__mail { margin: 0 auto 0 0; } }
/* Юридические страницы и контакты */
.legal h3 { font-size: 16px; margin: 26px 0 8px; }
.legal p { color: var(--grey); font-size: 14.5px; line-height: 1.6; margin: 0 0 10px; max-width: 68ch; }
.legal a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.legal__meta { font-size: 12.5px !important; }
.todo { color: #f5b53c; }
.contacts { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 8px; }
.contacts li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 10px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.contacts li span { color: var(--grey); font-size: 13px; }
.contacts li a { font-weight: 600; overflow-wrap: anywhere; text-align: right; text-decoration: none; }
.consent a { color: var(--text); text-decoration: underline; }
.legal h1.h2 { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 860px) { .legal h1.h2 { font-size: 22px; } }
/* Акция 2+1 в конструкторе */
.gift21 { margin: 0 0 4px; padding: 16px; border-radius: 10px; background: rgba(216, 17, 47, .12); box-shadow: 0 0 0 1px rgba(216, 17, 47, .35); }
.gift21__title { margin: 0 0 6px; font-size: 14px; color: var(--grey); }
.gift21__title b { font-family: var(--display); color: var(--hot); }
.gift21 select { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .12); background: var(--well); color: var(--text); font: 16px var(--body); }
.omodal .cpick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* Лёгкость для iPhone: меньше постоянных слоёв на главной */
.cf__item, .newcards .newcards__track .newc { will-change: auto; }
/* Safari/iPhone: лицо и рубашка в одной плоскости «мерцали», и наверх вылезала
   зеркальная рубашка. Разносим их на 1 px; в витрине рубашка не нужна вовсе. */
.flip:not([data-free]) .face--front, .flip:not([data-free]) .face--back { --t: 1px; }
.flip .face { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.cf__slide .face--back { display: none; }
/* Видна только сторона, повёрнутая к зрителю (надёжно и в Safari) */
.flip[data-side="front"] .face--back, .flip[data-side="back"] .face--front { visibility: hidden; }
/* Перелив: «осветление» (screen) вместо color-dodge — Safari рисовал color-dodge кислотными полосами */
.face__holo { mix-blend-mode: screen; }
.face--front .face__holo { opacity: calc(var(--holo, 0) * .22); }
/* Шапка, 2-я строка: поиск · валюта · избранное · корзина · меню (меню — справа) */
.nav__bar { grid-template-columns: minmax(0, 1fr) auto auto auto auto; grid-template-areas: none; }
/* Логотип и соцсети делят всю строку, чтобы ширина соцсетей не раздвигала кнопки во 2-й строке */
.nav__bar > .logo { grid-row: 1; grid-column: 1 / -1; justify-self: start; }
.nav__bar > .nav__social { grid-row: 1; grid-column: 1 / -1; justify-self: end; }
.nav__bar > .search { grid-row: 2; grid-column: 1; }
.nav__bar > .region { grid-row: 2; grid-column: 2; }
.nav__bar > #favBtn { grid-row: 2; grid-column: 3; }
.nav__bar > #cartBtn { grid-row: 2; grid-column: 4; }
.nav__bar > .burger { grid-row: 2; grid-column: 5; }
.nav__bar::after { grid-column: 1 / -1; }

/* Кадрирование фото в конструкторе */
.cropper { margin-top: 14px; padding: 14px; border-radius: 10px; background: var(--well); box-shadow: 0 0 0 1px var(--line); }
.cropper__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.cropper__head b { font: 600 13px var(--display); }
.cropper__slots { display: flex; gap: 6px; }
.cropper__slots button { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--grey); font-size: 12px; }
.cropper__slots button.is-on { background: var(--red); color: #fff; border-color: transparent; }
.cropper__body { display: grid; grid-template-columns: 130px 1fr; gap: 14px; align-items: start; }
.cropper__view { position: relative; aspect-ratio: var(--card-ratio); overflow: hidden; border-radius: 8px; background: #000; cursor: grab; touch-action: none; box-shadow: 0 0 0 2px var(--red); }
.cropper__view:active { cursor: grabbing; }
.cropper__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.cropper__grid { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent 33%, rgba(255,255,255,.18) 33.3%, transparent 33.7%, transparent 66.3%, rgba(255,255,255,.18) 66.6%, transparent 67%),
              linear-gradient(transparent 33%, rgba(255,255,255,.18) 33.3%, transparent 33.7%, transparent 66.3%, rgba(255,255,255,.18) 66.6%, transparent 67%); }
.cropper__ctl { display: grid; gap: 10px; align-content: start; }
.cropper__zoom { display: grid; gap: 6px; font-size: 12px; color: var(--grey); }
.cropper__zoom input { width: 100%; accent-color: var(--red); }
.cropper__ctl .note { margin: 0; font-size: 12px; }
.cropper__ctl .tool { justify-self: start; min-height: 34px !important; }
.custom__photo img { transform-origin: center; }
/* Карточки коллекции строго в ширину колонки: длинное имя больше не растягивает карточку */
.work { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.work > * { min-width: 0; }
.work__meta b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Подпись карточки: имя (до 2 строк) и версия под ним, сердечко справа */
.work__meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 6px; row-gap: 1px; align-items: start; }
.work__meta b { grid-column: 1; white-space: normal; overflow: hidden; text-overflow: clip; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.2; overflow-wrap: anywhere; }
.work__meta span { grid-column: 1; grid-row: 2; margin: 0; white-space: nowrap; overflow: visible; }
.work__meta .heart { grid-column: 2; grid-row: 1 / span 2; align-self: start; margin: -6px -6px 0 0; }

/* ============================================================
   СТАНДАРТ КАРТОЧЕК: любая карточка на сайте — строго формата 780×1051,
   ширина задаётся местом, где она стоит, а не картинкой и не подписью.
   Картинка любого размера (в т.ч. из бота) заполняет рамку по центру.
   ============================================================ */
.flip, .newc__img, .pick__img, .ditem__img, .sres i, .pack__card, .mbar__thumb, .cropper__view, .howp__pic img {
  aspect-ratio: var(--card-ratio);
}
.face img, .newc__img img, .pick__img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.newc__img img { height: 100%; }
/* Контейнеры карточек не растягиваются от содержимого */
.gallery > *, .newcards__track > *, .pick > *, .collections > *, .cf__slide, .ditem, .work__buy > *, .promo__col > * { min-width: 0; }
.newc b, .pick__name, .ditem__info b { overflow-wrap: anywhere; }
.pick__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.newc > span:last-child { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Паки и плитка «Другой» — тоже строго формата карточки */
.col-tile.pack { aspect-ratio: var(--card-ratio); }
.pick__item--other .pick__img { aspect-ratio: var(--card-ratio); min-height: 0; height: auto; }
/* Узкие экраны (320 px): конструктор не шире экрана */
.builder, .builder__form, .builder__preview, .preview, .summary { min-width: 0; }
@media (max-width: 360px) {
  .preview__tools { flex-wrap: wrap; }
  .preview__tools .tool { flex: 1 1 auto; font-size: 11px; padding-inline: 6px; }
}

/* ============================================================
   Окно карточки как на макете: сверху карточки серии, ниже покупка,
   «О персонаже» и «Другие коллекции». Окно прокручивается.
   ============================================================ */
.lightbox { overflow-y: auto; place-items: start center; padding: 24px 16px 40px; }
.lightbox__inner { grid-template-columns: minmax(0, 420px) minmax(0, 420px); gap: 28px; align-items: start; }
.lb-col { display: grid; gap: 14px; min-width: 0; }
/* Сцена: центральная карточка + соседние по бокам, стрелки, точки */
.lb-stage { position: relative; display: grid; justify-items: center; padding: 10px 0 30px;
  background: radial-gradient(60% 50% at 50% 45%, rgba(216, 17, 47, .25), transparent 70%); border-radius: 14px; overflow: hidden; }
.lb-stage .flip { position: relative; z-index: 2; width: min(300px, 62vw); }
.lb-stage .face--front { box-shadow: 0 0 0 2px #ff3d55, 0 0 30px rgba(216, 17, 47, .7); }
.lb-side { position: absolute; top: 12%; width: 32%; aspect-ratio: var(--card-ratio); padding: 0; border: 0; background: none; z-index: 1; opacity: .55; filter: brightness(.6); }
.lb-side img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.lb-side--prev { left: -14%; transform: perspective(600px) rotateY(28deg); }
.lb-side--next { right: -14%; transform: perspective(600px) rotateY(-28deg); }
.lb-arrow { position: absolute; top: 60%; z-index: 3; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; padding: 0;
  background: rgba(10, 8, 10, .8); border: 1px solid rgba(255, 255, 255, .18); color: #fff; }
.lb-arrow--prev { left: 8px; } .lb-arrow--next { right: 8px; }
.lb-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.lb-dots i { width: 14px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .25); }
.lb-dots i.is-on { width: 28px; background: var(--red); }
.lightbox .hint { display: none; }
/* Панель покупки */
.lightbox__meta { gap: 12px; padding: 16px; border-radius: 14px; }
.lb-top { display: flex; align-items: center; gap: 10px; }
.lb-top .lb-uni { margin: 0; font: 600 11px var(--body); padding: 4px 10px; border-radius: 999px; }
.lb-num { color: var(--grey); font-size: 12px; padding-left: 10px; border-left: 1px solid var(--line); }
.lb-stock { margin-left: auto; font-size: 11px; font-weight: 700; color: #3ee083; border: 1px solid rgba(62, 224, 131, .55); border-radius: 999px; padding: 3px 9px; }
.lightbox__meta h3 { font-size: 24px; line-height: 1.15; margin: 0; }
.lb-buy { display: flex; align-items: center; justify-content: space-between; }
.lb-buy__price { display: grid; text-align: left; }
.lb-buy__price b { font: 700 30px/1 var(--display); }
.lb-buy__price .note { font-size: 11px; margin: 4px 0 0; }
.lb-cta { grid-template-columns: 1fr 1fr 46px; }
/* О персонаже */
.lb-kicker { margin: 0 0 8px; font: 600 10px var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--grey); display: flex; align-items: center; gap: 8px; }
.lb-kicker::before { content: ""; width: 3px; height: 12px; background: var(--red); transform: skewX(-18deg); }
.lb-kicker--big { font: 700 15px var(--display); letter-spacing: .02em; color: var(--text); text-transform: uppercase; }
.lb-about { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 34%; gap: 10px; padding: 16px; border-radius: 14px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.lb-about p { margin: 0; color: var(--grey); font-size: 13px; line-height: 1.55; }
.lb-about__img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; -webkit-mask: linear-gradient(90deg, transparent, #000 40%); mask: linear-gradient(90deg, transparent, #000 40%); }
/* Другие коллекции */
.lb-others { padding: 16px; border-radius: 14px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.lb-others__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.lb-others__head .lb-kicker { margin: 0; }
.lb-more { font-size: 11px; font-weight: 700; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); }
.lb-others__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.lb-oth { display: grid; gap: 4px; min-width: 0; }
.lb-oth img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.lb-oth b { font: 600 11px var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-oth span { font-size: 10px; color: var(--grey); }
@media (max-width: 860px) {
  .lightbox { display: block; padding: 0 0 calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; }
  .lightbox__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; width: 100%; height: auto; padding: 0 12px; }
  .lightbox__close { position: fixed; top: calc(10px + env(safe-area-inset-top)); right: 12px; z-index: 6; }
  .lb-stage { margin: 0 -12px; border-radius: 0; padding: 50px 0 34px; }
  .lb-stage .flip { width: min(56vw, 240px); }
  .lightbox__meta { border-radius: 14px; padding: 14px; box-shadow: 0 0 0 1px var(--line); }
  .lightbox__meta h3 { font-size: 21px; }
  .lb-others__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.nf__code { font: 800 72px/1 var(--display); color: var(--hot); margin: 0 0 8px; }

/* === Исправления по тестам === */
/* Крестик окна карточки не перекрывает кнопки: на телефоне — над панелью, с отступом под ним */
@media (max-width: 860px) {
  .lightbox__inner { padding-top: 0; }
  .lb-cta { padding-right: 0; }
  .lightbox__meta { scroll-margin-top: 60px; }
  .lightbox__close { width: 38px; height: 38px; background: rgba(10, 8, 10, .85); }
  .lightbox:has(.lightbox__meta) .lightbox__close { top: calc(8px + env(safe-area-inset-top)); }
}
.lb-cta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 46px; }
.lb-cta .btn { white-space: nowrap; padding-inline: 8px; }
@media (max-width: 360px) { .lb-cta .btn { font-size: 12px; } }
/* Длинные названия коллекций и персонажей переносятся, а не расширяют страницу */
#colTitle, .collection__head h3, .lightbox__meta h3, .h2, .col-tile__info b, .lb-top, .sres b, .ditem__info b { overflow-wrap: anywhere; min-width: 0; }
.collection__head > div { min-width: 0; }
.lb-top { flex-wrap: wrap; }
.lb-top .lb-uni { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-oth b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sres--none .btn { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 860px) {
  /* Крестик прокручивается вместе со сценой карточки и не висит над кнопками покупки */
  .lightbox__close { position: absolute; top: calc(8px + env(safe-area-inset-top)); right: 12px; }
  .lightbox:has(.lightbox__meta) .lightbox__close { position: absolute; }
  .lightbox__inner { position: relative; }
}

/* Стрелки окна карточки: быстрые нажатия подряд не считаются двойным тапом (масштабом) на iPhone */
.lb-arrow, .lb-side { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.lb-arrow { width: 44px; height: 44px; }

/* Быстро в корзину с плитки коллекции: рядом с сердечком, зелёная — как корзина в шапке */
.tocart { position: relative; display: grid; place-items: center; width: 36px; height: 36px; flex: none; padding: 0; margin: -8px 0; align-self: center;
  border: 1px solid rgba(62, 224, 131, .35); border-radius: 50%; background: rgba(62, 224, 131, .06); color: #3ee083; cursor: pointer; transition: background .2s, border-color .2s, transform .15s; }
.tocart .ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tocart:hover { border-color: #3ee083; background: rgba(62, 224, 131, .15); }
.tocart:active { transform: scale(.88); }
.tocart.is-on { border-color: #3ee083; background: rgba(62, 224, 131, .18); }
.tocart.is-on::after { content: attr(data-n); position: absolute; top: -5px; right: -5px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
  background: #3ee083; color: #06120b; font: 700 10px/16px var(--body); text-align: center; }
.work__meta:has(.tocart) { grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 8px; }
.work__meta .tocart { grid-column: 2; grid-row: 1 / span 2; align-self: start; margin: -4px 0 0; }
.work__meta .tocart + .heart { grid-column: 3; }
@media (max-width: 560px) {
  .tocart { width: 32px; height: 32px; margin: -6px 0; }
  .tocart .ico { width: 16px; height: 16px; }
}

/* Конструктор: фраза на карточке и готовые варианты */
.phrase { margin-top: 18px; display: grid; gap: 10px; }
.phrase .input { margin: 0; }
.phrase__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.phrase__chip { max-width: 100%; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--well); color: var(--grey);
  font: 500 12.5px/1.25 var(--body); text-align: left; cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.phrase__chip:hover { color: var(--text); border-color: rgba(255, 255, 255, .3); }
.phrase__chip.is-on { color: #fff; border-color: var(--red); background: rgba(216, 17, 47, .18); }
.phrase .note { margin: 0; }

/* Отзывы: главная (три последних) и страница /reviews */
.rv-sum { display: flex; align-items: center; gap: 10px; margin: 18px 0 22px; color: var(--grey); font-size: 14px; }
.rv-sum__avg { font: 700 30px/1 var(--display); color: var(--text); }
.rv-stars { color: #ffc23d; letter-spacing: 1px; font-size: 15px; white-space: nowrap; }
.rv-stars i { font-style: normal; color: rgba(255, 255, 255, .16); }
.rv-list { display: grid; gap: 12px; }
.rv-list--home { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; }
.rv-sum + .rv-list--home { margin-top: 0; }
.rv { display: grid; gap: 10px; align-content: start; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .025); min-width: 0; }
.rv__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.rv__name { font-weight: 700; font-size: 15px; min-width: 0; overflow-wrap: anywhere; }
.rv__date { margin-left: auto; color: var(--grey); font-size: 12px; white-space: nowrap; }
.rv__text { margin: 0; color: var(--text); font-size: 14.5px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.rv-list--home .rv__text { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rv__reply { padding: 10px 12px; border-left: 3px solid var(--red); border-radius: 0 10px 10px 0; background: rgba(216, 17, 47, .08); }
.rv__reply b { display: block; font-size: 12px; color: #ff8b9a; margin-bottom: 4px; }
.rv__reply p { margin: 0; font-size: 14px; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.rv-empty { margin: 0; padding: 22px; border: 1px dashed var(--line); border-radius: 14px; color: var(--grey); text-align: center; }
.rv-list--home .rv-empty { grid-column: 1 / -1; }
.rv-cta { margin-top: 18px; }
.rv-more { margin-top: 14px; }

.rv-form { margin: 8px 0 28px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .02); }
.rv-form__title { margin: 0 0 4px; font: 600 18px var(--display); }
.rv-form .btn { margin-top: 16px; }
.rv-rate { display: flex; gap: 4px; }
.rv-rate button { width: 44px; height: 44px; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .18); font-size: 32px; line-height: 1; cursor: pointer; touch-action: manipulation; transition: color .12s, transform .12s; }
.rv-rate button.is-on { color: #ffc23d; }
.rv-rate button:active { transform: scale(.88); }
.rv-rate button:focus-visible { outline: 2px solid var(--hot); outline-offset: 2px; border-radius: 8px; }
.rv-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.rv-done { display: grid; gap: 4px; margin: 8px 0 28px; padding: 18px; border: 1px solid rgba(62, 224, 131, .45); border-radius: 16px; background: rgba(62, 224, 131, .07); }
.rv-done b { font-size: 17px; }
.rv-done span { color: var(--grey); }

@media (max-width: 860px) {
  .rv-list--home { grid-template-columns: minmax(0, 1fr); }
  .rv-list--home .rv:nth-child(n + 4) { display: none; }
  .rv { padding: 15px; }
  .rv-cta { width: 100%; }
}
.rv-demo { margin: 0 0 12px; padding: 10px 12px; border: 1px dashed #ffc23d; border-radius: 10px; color: #ffd77a; font-size: 13px; }

/* Фото и видео в отзывах */
.rv__media { display: flex; flex-wrap: wrap; gap: 8px; }
.rv__photo { display: block; width: 92px; height: 92px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.rv__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv__video { width: 100%; max-width: 360px; max-height: 420px; border-radius: 10px; background: #000; }
.rv-list--home .rv__photo { width: 64px; height: 64px; }
.rv-list--home .rv__video { max-height: 220px; }
.rv-up { position: relative; display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 10px 14px; border: 1px dashed rgba(255, 255, 255, .25); border-radius: 12px; color: var(--grey); font-weight: 600; cursor: pointer; transition: border-color .15s, color .15s; }
.rv-up:hover, .rv-up:focus-within { border-color: var(--hot); color: var(--text); }
.rv-up input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.input .rv-up span { font-size: 14px; font-weight: 600; }
.rv-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.rv-thumb { position: relative; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.rv-thumb img, .rv-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-thumb i { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 20px; text-shadow: 0 1px 6px #000; pointer-events: none; }
.rv-thumb button { position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .75); color: #fff; font-size: 16px; line-height: 24px; cursor: pointer; }

/* Конструктор: «Нажми на карточку — собери её сам» */
.preview { position: relative; }
.edit-hint { display: inline-flex; align-items: center; gap: 8px; margin: 0 auto 12px; padding: 8px 14px; border: 1px solid rgba(255, 194, 61, .55); border-radius: 999px;
  background: rgba(255, 194, 61, .1); color: #ffd77a; font: 600 13px/1.2 var(--body); cursor: pointer; animation: hint-pulse 2.4s ease-in-out 3; }
.edit-hint .ico { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.edit-hint:hover { background: rgba(255, 194, 61, .18); }
.edit-hint.is-used { animation: none; }
@keyframes hint-pulse { 50% { box-shadow: 0 0 0 6px rgba(255, 194, 61, .12); } }
@media (prefers-reduced-motion: reduce) { .edit-hint { animation: none; } }
#previewCard { cursor: pointer; }
.ceditor h3 { margin-bottom: 6px; }
.ceditor__sub { margin: 0 0 12px; color: var(--grey); font-size: 13.5px; }
.ceditor__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; }
.ceditor__tabs button { min-height: 40px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .02); color: var(--grey); font: 600 13px var(--body); cursor: pointer; }
.ceditor__tabs button small { font-weight: 500; opacity: .75; }
.ceditor__tabs button.is-set::before { content: "✓ "; color: #3ee083; }
.ceditor__tabs button.is-on { border-color: var(--hot); color: var(--text); background: rgba(216, 17, 47, .12); }
.ceditor__card { width: min(300px, 82%); aspect-ratio: var(--card-ratio); margin: 0 auto; border-radius: 12px; overflow: hidden; container-type: inline-size; box-shadow: 0 0 30px -6px var(--glow); }
.ce-live { position: relative !important; width: 100%; height: 100%; }
.ce-live .custom__photo { overflow: hidden; touch-action: none; cursor: grab; }
.ce-live .custom__photo:active { cursor: grabbing; }
.ce-live .custom__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.ce-live .custom__frame { pointer-events: none; }
.ce-add { position: absolute; inset: 8% 8% 34%; display: grid; place-content: center; gap: 6px; padding: 10px; border: 2px dashed rgba(255, 255, 255, .35); border-radius: 12px;
  background: rgba(255, 255, 255, .04); color: #fff; font: 600 13px/1.3 var(--body); text-align: center; cursor: pointer; z-index: 2; }
.ce-add b { font-size: 34px; line-height: 1; color: var(--hot); }
.ce-name, .ce-text { display: block; width: 100%; margin: 0 auto; border: 1px dashed transparent; background: transparent; color: #fff; text-align: center; font: inherit; outline: none; resize: none; }
.ce-name { max-width: 100%; box-sizing: border-box; font-family: var(--display); font-size: clamp(16px, 6.5cqw, 32px); text-transform: uppercase; }
.ce-text { font-size: clamp(10px, 3.4cqw, 15px); line-height: 1.3; font-weight: 700; text-transform: uppercase; color: #eee; overflow: hidden; }
.ce-name::placeholder, .ce-text::placeholder { color: rgba(255, 255, 255, .55); text-transform: none; }
.ce-name:placeholder-shown, .ce-text:placeholder-shown { border-color: rgba(255, 255, 255, .35); border-radius: 8px; }
.ce-name:focus, .ce-text:focus { border-color: var(--hot); border-radius: 8px; background: rgba(0, 0, 0, .35); }
.ceditor__tools { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.ceditor__zoom { flex: 1; display: grid; gap: 4px; font-size: 12px; color: var(--grey); }
.ceditor__zoom input { width: 100%; accent-color: var(--hot); }
.ceditor .btn--ghost { margin-top: 8px; }

/* Переключатель языка RU | EN (меню и подвал) */
.lang-sw { display: inline-flex; width: max-content; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03); }
.lang-sw button { min-width: 44px; min-height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: var(--grey); font: 600 12px var(--body); cursor: pointer; }
.lang-sw button.is-on { background: var(--text); color: var(--bg); }
.drawer__foot .lang-sw { align-self: flex-start; margin: 4px 0 12px; }
.footer .lang-sw { justify-self: start; }
/* Имя в редакторе — та же плашка, что на карточке */
.ce-name { width: auto; min-width: 60%; max-width: 100%; field-sizing: content; padding: 4px 14px; margin-bottom: 8px; border: 2px solid var(--c); border-radius: 6px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 70%, #000), #120d0d); }
.ce-name:placeholder-shown { border: 2px dashed rgba(255, 255, 255, .45); background: rgba(0, 0, 0, .35); }
.ce-name:focus { border: 2px solid var(--hot); }

/* Кнопка звука в окне карточки — рядом с сердечком */
.lb-sound { color: var(--text); }
.lb-sound svg { width: 22px; height: 22px; }
.lb-sound[aria-pressed="false"] { color: var(--grey); }
.lb-sound.is-playing { color: #fff; border-color: var(--hot); box-shadow: 0 0 14px -4px var(--glow); }
/* Ряд в окне карточки: «Заказать», «В корзину» и квадратные кнопки (звук, если есть, и сердечко) — в одну строку */
.lb-cta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-flow: column; grid-auto-columns: 46px; }
.lb-sound[hidden] { display: none; }
@media (max-width: 400px) { .lb-cta { grid-auto-columns: 42px; gap: 6px; } .lb-cta .heart--lg { width: 42px; } }

/* Главная: кнопка «Создать свою индивидуальную карточку» под витриной коллекций */
.hero__custom { display: flex; align-items: center; justify-content: center; gap: 10px; width: min(440px, 100%); margin: 22px auto 0; min-height: 52px; text-align: center; }
.hero__custom .ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 440px) { .hero__custom { font-size: 13px; padding-inline: 10px; gap: 8px; } .hero__custom .ico { width: 17px; height: 17px; } }

/* Конструктор: выбор задника — лента карточек-рубашек */
.backs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; scroll-snap-type: x proximity; }
.backs::-webkit-scrollbar { display: none; }
.backs__item { flex: 0 0 84px; scroll-snap-align: start; }
.backs__item .pick__name { font-size: 12px; line-height: 1.2; overflow-wrap: anywhere; }
.backs__item.pick__item--other b { font-size: 30px; }
@media (max-width: 560px) { .backs { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; } .backs__item { flex-basis: 76px; } }

/* Окно «В корзине остался заказ» — на весь экран, когда человек уходит с сайта */
.leave { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(5, 3, 8, .86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.leave__box { position: relative; width: min(420px, 100%); display: grid; gap: 10px; padding: 28px 22px 18px; text-align: center; border: 1px solid rgba(255, 70, 100, .45); border-radius: 18px; background: var(--paper); box-shadow: 0 0 60px -12px var(--glow); }
.leave__close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; }
.leave__cards { display: flex; justify-content: center; margin-bottom: 6px; }
.leave__cards i { width: 64px; aspect-ratio: var(--card-ratio); border-radius: 8px; background: #000 center / cover no-repeat; border: 1px solid var(--line); box-shadow: 0 10px 24px -10px #000; margin-left: -18px; transform: rotate(calc((var(--n, 0) - 1.5) * 6deg)); }
.leave__cards i:first-child { margin-left: 0; }
.leave__cards i:nth-child(1) { --n: 0; } .leave__cards i:nth-child(2) { --n: 1; } .leave__cards i:nth-child(3) { --n: 2; } .leave__cards i:nth-child(4) { --n: 3; }
.leave h3 { margin: 0; font-size: 24px; line-height: 1.15; }
.leave__sum { margin: 0; color: var(--grey); }
.leave__q { margin: 4px 0 6px; font-weight: 700; font-size: 17px; }
.leave .btn { margin: 0; }
.leave__stay { margin-top: 2px; padding: 8px; border: 0; background: none; color: var(--grey); font: 600 13px var(--body); cursor: pointer; }
.leave__stay:hover { color: var(--text); }

/* Доставка в форме заказа: служба, куда, цена */
.dpick { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 6px; }
.dpick button { display: grid; gap: 2px; justify-items: start; text-align: left; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--well); color: var(--text); font: inherit; cursor: pointer; }
.dpick button:hover { background: var(--paper-2); }
.dpick b { font-size: 14px; }
.dpick small { color: var(--grey); font-size: 12px; line-height: 1.2; }
.dpick em { margin-top: 3px; font-style: normal; font-weight: 700; font-size: 14px; }
.dpick button.is-on { border-color: var(--red); background: var(--red); color: #fff; box-shadow: 0 0 16px -2px var(--glow); }
.dpick button.is-on small { color: rgba(255, 255, 255, .85); }
.dpick__note { grid-column: 1 / -1; margin: 2px 0 0; color: var(--grey); font-size: 12px; line-height: 1.35; }
.omodal__lines .is-total dd .omodal__plus { display: block; margin-top: 4px; font: 600 12px var(--body); color: var(--grey); text-align: right; }
