/* Hallmark · macrostructure: Catalogue (storefront: stage + shop floor) · route: custom (tuned) · redesign 20.10.2026
 * vibe: "витрина игр: арт на сцене, цифры на ценнике" · paper: oklch(96.4% 0.006 262) · stage: oklch(24.5% 0.05 276)
 * accent: oklch(90.5% 0.165 102) lemon price-tag · display: Sofia Sans Extra Condensed 800 · body: Golos Text
 * nav: N13 inline search (plain GET form, no modal) · footer: Ft4 dense colophon · enrichment: official game art, Tier-A CSS covers
 * axes: light / display-condensed / chromatic-other (lemon) — differs from v1 (light / geometric-wide / warm coral) on display + accent
 * Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V5 · contrast: pass (40–41) · nav: N13 · footer: Ft4 · slop: pass (42–45)
 * honest: pass (46) · chrome: pass (47) · tokens: pass (48) · responsive: pass (49) · mobile: pass (34, 49, 50–57)
 * known deviations: gate 24 — optical paddings 6/7/10 px inside ticket and pills; gate 13 — poster hover = art zoom 1.03 + title underline
 *
 * VIP Deposits v2. Две поверхности: «сцена» (тёмный индиго) — там, где арт: первый экран, шапки страниц, live-полоса, подвал;
 * «торговый зал» (холодный светлый) — списки, текст, фильтры. Главный приём — «ценник»: лимонная этикетка с RTP,
 * волатильностью и выигрышем, наклеенная на низ арта игры. Лимонный — только ценник, знак и главная кнопка на сцене.
 * Шрифты: Sofia Sans Extra Condensed — названия игр, заголовки, цифры; Golos Text — текст и интерфейс.
 */

:root {
	/* Цвета — только здесь. Ниже по файлу только var(--…). */
	--paper: oklch(96.4% 0.006 262);
	--surface: oklch(99.3% 0.003 262);
	--sunk: oklch(93.2% 0.01 262);
	--ink: oklch(23% 0.035 270);
	--ink-2: oklch(45% 0.03 268);          /* второстепенный текст: 7,4:1 на --paper */
	--line: oklch(86.5% 0.013 265);
	--line-2: oklch(92.5% 0.008 265);

	--stage: oklch(24.5% 0.05 276);
	--stage-2: oklch(31% 0.06 276);
	--stage-3: oklch(39% 0.065 276);
	--on-stage: oklch(97% 0.008 270);
	--on-stage-2: oklch(81% 0.03 272);     /* 9:1 на --stage */

	--ticket: oklch(90.5% 0.165 102);      /* лимонный ценник */
	--ticket-hover: oklch(94.5% 0.12 102);
	--ticket-2: oklch(95.5% 0.06 102);     /* пустая ячейка */
	--ticket-line: oklch(74% 0.12 98);
	--ticket-ink-2: oklch(38% 0.05 95);    /* подписи на ценнике: 8:1 */

	--hot-ink: oklch(45% 0.16 27);
	--hot-bg: oklch(95% 0.03 27);
	--hot-line: oklch(78% 0.09 27);
	--focus: oklch(50% 0.21 264);          /* на светлом; на сцене фокус — лимонный */
	--scrim: oklch(16% 0.04 276 / 0.55);   /* подложка под рамку демо */

	/* Обложка без арта: оттенок --hue задаёт провайдер (inc/media.php), светлота и насыщенность — здесь. */
	--cover-l: 36%;
	--cover-c: 0.11;
	--glyph-l: 45.5%;
	--glyph-c: 0.14;
	--cover-sub-l: 87%;
	--cover-sub-c: 0.04;
	--cover-ink: oklch(97.5% 0.01 270);

	--f-display: "Sofia Sans Extra Condensed", "Arial Narrow", sans-serif;
	--f-text: "Golos Text", "Segoe UI", Roboto, Arial, sans-serif;

	--fs-0: 0.8125rem;   /* 13 */
	--fs-1: 0.9375rem;   /* 15 */
	--fs-2: 1rem;        /* 16 */
	--fs-3: 1.0625rem;   /* 17 — текст статей */
	--d-1: 1.5rem;       /* название на постере */
	--d-2: clamp(1.875rem, 1.45rem + 1.5vw, 2.5rem);   /* заголовок секции */
	--d-3: clamp(2.25rem, 1.55rem + 2.6vw, 3.75rem);   /* заголовок страницы */
	--d-4: clamp(2.75rem, 1.7rem + 4vw, 5rem);         /* название игры на её странице */

	--s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
	--s-6: 32px; --s-7: 48px; --s-8: 64px;

	--r-art: 6px;
	--r-ticket: 3px;
	--r-plate: 8px;
	--r-box: 12px;
	--r-pill: 999px;

	--gutter: 16px;
	--max: 1280px;
	--ticket-lift: 22px;

	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--dur: 180ms;
	--z-raise: 1;
	--z-skip: 30;
}

@media (min-width: 700px) { :root { --gutter: 24px; } }

/* Токены обложки: --hue приходит из разметки (style="--hue:…"), цвета считаются один раз здесь. */
.art--cover, .thumb--cover {
	--cover-bg: oklch(var(--cover-l) var(--cover-c) var(--hue));
	--cover-glyph: oklch(var(--glyph-l) var(--glyph-c) var(--hue));
	--cover-sub: oklch(var(--cover-sub-l) var(--cover-sub-c) var(--hue));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
	margin: 0;
	overflow-x: clip;
	background: var(--paper);
	color: var(--ink);
	font: 400 var(--fs-2)/1.55 var(--f-text);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { text-wrap: balance; margin: 0; overflow-wrap: anywhere; min-width: 0; font-style: normal; }
p { text-wrap: pretty; }
summary { cursor: pointer; }
dl, dd { margin: 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: var(--z-skip); background: var(--surface); padding: 8px 14px; border-radius: var(--r-ticket); }
.skip:focus { top: 8px; }
.small { font-size: var(--fs-0); color: var(--ink-2); margin: 0; }
.h3 { font: 800 1.625rem/1 var(--f-display); margin-bottom: var(--s-3); }

/* ---------- Сцена: тёмная поверхность под арт ---------- */
.stage { background: var(--stage); color: var(--on-stage); --focus: var(--ticket); }
.stage .small, .stage .ticket__note { color: var(--on-stage-2); }
.stage--head { padding: var(--s-2) 0 var(--s-6); }
.stage--item { padding: var(--s-2) 0 var(--s-7); }
.stage--home { padding: var(--s-6) 0 var(--s-7); }
.stage--band { padding: var(--s-7) 0; }
.floor { padding-block: var(--s-6) var(--s-8); }
.floor > * + * { margin-top: var(--s-7); }
.foot { --focus: var(--ticket); }

/* ---------- Кнопки и ссылки ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); white-space: nowrap;
	min-height: 44px; padding: 10px 22px; border: 0; border-radius: var(--r-pill);
	background: var(--ink); color: var(--surface);
	font: 600 var(--fs-1)/1.2 var(--f-text); text-decoration: none; cursor: pointer;
	transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.btn:hover { background: var(--stage-3); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--surface); }
.btn--ticket { background: var(--ticket); color: var(--ink); }
.btn--ticket:hover { background: var(--ticket-hover); }
.btn--light { background: var(--on-stage); color: var(--ink); }
.btn--light:hover { background: var(--ticket); }
.link { color: var(--ink); font-weight: 600; white-space: nowrap; }
.stage .link { color: var(--on-stage); }

/* ---------- Знак ---------- */
.logo { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; margin: 0; white-space: nowrap; }
.logo__mark {
	background: var(--ticket); color: var(--ink); border-radius: var(--r-ticket);
	box-shadow: inset 0 0 0 2px var(--ink);
	font: 800 1.375rem/1 var(--f-display); padding: 6px 7px 4px;
}
.logo__name { font: 800 1.875rem/1 var(--f-display); }
.logo--foot .logo__mark { box-shadow: none; }
.logo--foot .logo__name { color: var(--on-stage); }

/* ---------- Шапка: знак + поиск, ниже полоса разделов ---------- */
.top { background: var(--surface); border-bottom: 1px solid var(--line); }
.top__bar { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-3) var(--s-4); padding-block: 10px; }
.top__age {
	margin-left: auto; color: var(--hot-ink); border: 2px solid currentColor; border-radius: var(--r-pill);
	font: 700 var(--fs-0)/1 var(--f-text); padding: 4px 8px;
}
.top__toggle {
	min-height: 40px; padding: 6px 16px; border-radius: var(--r-pill); border: 0;
	background: var(--ink); color: var(--surface); font: 600 var(--fs-1) var(--f-text); cursor: pointer;
}
.nav { display: none; border-top: 1px solid var(--line-2); }
.nav.is-open { display: block; }
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav .nav__list { padding-block: var(--s-2); }
.nav .nav__list a { display: block; padding: 11px 0; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav .nav__list a:hover { text-decoration: underline; }
.nav .nav__list a[aria-current] { font-weight: 700; }

.finder { display: flex; min-width: 0; }
.finder input[type=search] {
	flex: 1; min-width: 0; min-height: 44px; padding: 10px 18px;
	border: 1px solid var(--line); border-right: 0; border-radius: var(--r-pill) 0 0 var(--r-pill);
	background: var(--paper); color: var(--ink); font: inherit;
}
.finder input::placeholder { color: var(--ink-2); }
.finder button {
	border: 0; border-radius: 0 var(--r-pill) var(--r-pill) 0; padding: 0 20px; cursor: pointer;
	background: var(--ink); color: var(--surface); font: 600 var(--fs-1) var(--f-text);
}
.finder button:hover { background: var(--stage-3); }
.finder--top { order: 3; flex: 1 1 100%; }
.home .finder--top { display: none; }
.home .top__age { margin-left: auto; } /* на главной поиск — крупный в первом экране, второй в шапке не нужен */
.finder--big input[type=search] { background: var(--stage-2); border-color: var(--stage-3); color: var(--on-stage); min-height: 52px; }
.finder--big input::placeholder { color: var(--on-stage-2); }
.finder--big button { background: var(--ticket); color: var(--ink); padding: 0 26px; }
.finder--big button:hover { background: var(--ticket-hover); }

@media (min-width: 700px) {
	.finder--top { order: 0; flex: 1 1 auto; max-width: 560px; margin-inline: var(--s-5) auto; }
	.top__age { margin-left: 0; }
}
@media (min-width: 1000px) {
	.top__toggle { display: none; }
	.nav, .nav.is-open { display: block; }
	.nav .nav__list { display: flex; gap: var(--s-1); padding: 0; margin-left: -12px; }
	.nav .nav__list a { padding: 11px 12px; }
	.nav .nav__list a[aria-current] { box-shadow: inset 0 -3px var(--ink); }
}

/* ---------- Хлебные крошки (всегда на сцене) ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0 var(--s-2); margin: 0 0 var(--s-2); padding: 0; font-size: var(--fs-1); color: var(--on-stage-2); }
.crumbs li + li::before { content: "/"; margin-right: var(--s-2); }
.crumbs a { display: inline-block; padding: 8px 0; white-space: nowrap; color: var(--on-stage-2); }
.crumbs a:hover { color: var(--on-stage); }
.crumbs [aria-current] { color: var(--on-stage); padding: 8px 0; flex: 1 1 0; min-width: 6em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Шапки страниц на сцене ---------- */
.head { max-width: 860px; }
.head__title { font: 800 var(--d-3)/0.95 var(--f-display); margin-top: var(--s-2); }
.head__count { margin: var(--s-2) 0 0; color: var(--on-stage-2); }
.head__meta { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); }
.head__meta a { color: var(--on-stage); font-weight: 600; }
.head__intro { margin: var(--s-3) 0 0; color: var(--on-stage-2); max-width: 70ch; }
.head__intro.prose p { margin: 0 0 var(--s-2); }
.stage .finder--big { margin-top: var(--s-5); max-width: 640px; }

/* ---------- Арт и обложка ---------- */
.art { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--r-art); background: var(--sunk); }
.art__img { width: 100%; height: 100%; object-fit: cover; }
/* Арт целиком (21.10.2026): contain, поля — размытая копия арта (--art-bg) или цвет сцены у прозрачных картинок */
.art--fit { background: var(--stage); }
.art--fit::before { content: ""; position: absolute; inset: -12%; background: var(--art-bg, none) center / cover no-repeat; filter: blur(18px) saturate(1.15) brightness(0.55); }
.art--fit .art__img { position: relative; object-fit: contain; }
.art--alpha { background: var(--stage-2); }
.card .art--fit .art__img { height: calc(100% - var(--ticket-lift)); }
.art--cover {
	display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
	padding: 8% 7%; container-type: inline-size;
	background: var(--cover-bg);
	color: var(--cover-ink);
}
.cover__glyph {
	position: absolute; right: -0.06em; top: -0.2em; line-height: 1;
	font: 800 92cqi/1 var(--f-display);
	color: var(--cover-glyph);
}
.cover__prov { position: relative; font: 600 max(12px, 4.4cqi)/1.2 var(--f-text); color: var(--cover-sub); }
.cover__title { position: relative; font: 800 clamp(1.25rem, 12.5cqi, 5rem)/0.92 var(--f-display); overflow-wrap: anywhere; text-wrap: balance; }

.thumb { width: 56px; height: 56px; border-radius: var(--r-art); object-fit: cover; flex: none; }
.thumb--cover {
	display: grid; place-items: center;
	background: var(--cover-bg); color: var(--cover-ink);
	font: 800 1.75rem/1 var(--f-display);
}
.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-1); }
.mosaic .thumb { width: 100%; height: auto; aspect-ratio: 1; }

/* ---------- Ценник: RTP, волатильность, выигрыш ---------- */
.ticket {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
	background: var(--ticket); color: var(--ink); border-radius: var(--r-ticket);
	box-shadow: 0 2px 0 var(--ticket-line);
}
.ticket__cell { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; min-width: 0; padding: 8px 10px 7px; }
.ticket__cell + .ticket__cell { border-left: 1px solid var(--ticket-line); }
.ticket dt { font: 500 0.78rem/1.2 var(--f-text); color: var(--ticket-ink-2); }
.ticket dd { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 6px; min-width: 0; }
.ticket__val { font: 800 1.5rem/1 var(--f-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ticket__short { display: none; }
.ticket__cell.is-empty { background: var(--ticket-2); }
.ticket__cell.is-empty .ticket__val { color: var(--ticket-ink-2); }
.ticket__cell:first-child { border-radius: var(--r-ticket) 0 0 var(--r-ticket); }
.ticket__cell:last-child { border-radius: 0 var(--r-ticket) var(--r-ticket) 0; }
.ticket__cell--word .ticket__val { font-size: 1.1875rem; line-height: 1.02; white-space: normal; overflow-wrap: anywhere; }
.ticket__cell--word dd { flex-direction: column; align-items: flex-start; }
.ticket__note { margin: var(--s-2) 0 0; font-size: var(--fs-0); color: var(--ink-2); }
.ticket dd small { display: block; width: 100%; font: 500 0.78rem/1.2 var(--f-text); color: var(--ticket-ink-2); }

.vol { display: inline-flex; gap: 2px; }
.vol__bar { width: 7px; height: 12px; border-radius: 1px; background: var(--ticket-line); }
.vol__bar.is-on { background: var(--ink); }

.ticket--big { max-width: 560px; }
.ticket--big .ticket__cell { padding: 12px 16px 10px; }
.ticket--big .ticket__val { font-size: 2.375rem; }
.ticket--big .ticket__cell--word .ticket__val { font-size: 1.75rem; }
.ticket--big dt { font-size: var(--fs-0); }
.ticket--big .vol__bar { width: 9px; height: 16px; }
@media (max-width: 599px) {
	.ticket--big .ticket__cell { padding: 10px 10px 8px; }
	.ticket--big .ticket__val { font-size: 1.875rem; }
	.ticket--big .ticket__cell--word .ticket__val { font-size: 1.375rem; }
}
.ticket--stack { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-self: end; }
.ticket--stack .ticket__val { font-size: 2rem; white-space: normal; }
.ticket--stack .ticket__cell:first-child, .ticket--stack .ticket__cell:last-child { border-radius: 0; }
.ticket--bonus { grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); }
.ticket--bonus .ticket__val { font-size: 1.375rem; white-space: normal; }

/* ---------- Постер игры ---------- */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; container-type: inline-size; }
.card > .art { order: -2; }
.card > .ticket { background: var(--ticket-2); }
.card > .ticket .ticket__cell.is-empty { background: var(--surface); }
.card .ticket__cell--word .ticket__val { font-size: 1.0625rem; white-space: nowrap; }
.card > .ticket { order: -1; position: relative; z-index: var(--z-raise); margin: calc(-1 * var(--ticket-lift)) 8px 0; }
.card > .ticket__note { order: 0; margin: var(--s-2) 0 0; }
.card .art--cover { padding-bottom: calc(var(--ticket-lift) + 7%); }
.card__title { margin-top: var(--s-3); font: 800 var(--d-1)/1 var(--f-display); }
.card__link { text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-art); }
.card__link:focus-visible { outline: none; }
.card__link:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 4px; }
.card:hover .card__link { text-decoration: underline; text-decoration-thickness: 2px; }
.card__meta { display: flex; justify-content: space-between; gap: var(--s-2); margin: var(--s-1) 0 0; font-size: var(--fs-1); color: var(--ink-2); }
.card__meta span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.art__img { transition: transform 400ms var(--ease-out); }
.card:hover .art__img { transform: scale(1.03); }
.stage .card__meta { color: var(--on-stage-2); }

@container (max-width: 290px) {
	.ticket__long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.ticket__short { display: inline; }
	.ticket__cell { padding: 6px 6px 5px; }
	.ticket__val { font-size: 1.1875rem; }
	.card .ticket__cell--word .ticket__val { font-size: 1rem; white-space: normal; min-height: 2.04em; }
	.ticket dt { font-size: 0.75rem; }
	.vol__bar { width: 5px; height: 10px; }
	.card__title { font-size: 1.3125rem; }
	.card__meta { font-size: var(--fs-0); }
}

/* Совсем узкий постер (две колонки на телефоне): ценник в два ряда — RTP и выигрыш сверху, волатильность снизу. */
@container (max-width: 210px) {
	.card > .ticket { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.card > .ticket .ticket__cell:nth-child(2) { grid-column: 1 / -1; order: 3; border-left: 0; border-top: 1px solid var(--ticket-line); }
	.card > .ticket .ticket__cell:nth-child(3) { border-left: 1px solid var(--ticket-line); }
	.card > .ticket .ticket__cell--word dd { flex-direction: row; align-items: center; }
	.card > .ticket .ticket__cell--word .ticket__val { min-height: 0; white-space: nowrap; }
	.card > .ticket .ticket__cell { border-radius: 0; }
	.ticket__val { font-size: 1.25rem; }
}

/* ---------- Сетки и полки ---------- */
/* Одноколоночные сетки — явно minmax(0, 1fr): иначе дорожка auto растягивается по самому широкому содержимому. */
.intro, .feature, .item, .ent, .split, .split-main, .article, .bonuses, .casinos, .reads, .prov-grid { grid-template-columns: minmax(0, 1fr); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-4); }
.grid--wide .art { aspect-ratio: 16 / 9; }
@media (min-width: 700px) {
	.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-7) var(--s-5); }
	.grid--shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
	.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Полка на телефоне — вбок, с привязкой к карточке; край следующей карточки подсказывает, что есть ещё. */
@media (max-width: 699px) {
	.grid--shelf {
		display: flex; gap: var(--s-4); overflow-x: auto; overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
		margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) var(--s-3);
		scrollbar-width: thin;
	}
	.grid--shelf > .card { flex: 0 0 68%; max-width: 280px; scroll-snap-align: start; }
	.grid--shelf.grid--wide > .card { flex-basis: 80%; max-width: 320px; }
}

.block__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-2) var(--s-4); margin-bottom: var(--s-5); }
.block__title { font: 800 var(--d-2)/1 var(--f-display); }
.stage--band .block__head { margin-bottom: var(--s-4); }
.stage--band .chips { margin-bottom: var(--s-6); }

/* ---------- Главная: первый экран ---------- */
.intro { display: grid; gap: var(--s-5); }
.intro__title { font: 800 var(--d-3)/0.95 var(--f-display); max-width: 18ch; }
.intro__side .finder--big { margin: 0; }
.tally { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); margin-top: var(--s-5); }
.tally div { display: flex; flex-direction: column-reverse; }
.tally dt { font-size: var(--fs-0); color: var(--on-stage-2); }
.tally dd { font: 800 2.5rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.tally--row { margin-top: var(--s-4); }
@media (max-width: 699px) {
	/* На главной у телефона один поиск — крупный в первом экране; счётчики одной строкой, чтобы арт поднялся выше. */
	.tally { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); margin-top: var(--s-4); }
	.tally dd { font-size: 2rem; }
	.stage--home { padding-top: var(--s-5); }
	.feature { margin-top: var(--s-6); }
}

.feature { display: grid; gap: var(--s-5); margin-top: var(--s-7); }
.feature__media { margin: 0; }
.feature .art { aspect-ratio: 16 / 9; }
.feature__meta { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); margin: 0; color: var(--on-stage-2); }
.feature__meta a { color: var(--on-stage); font-weight: 600; }
.feature__title { font: 800 clamp(2.75rem, 1.6rem + 4vw, 5rem)/0.9 var(--f-display); margin: var(--s-2) 0 var(--s-3); }
.feature__fact { margin: 0 0 var(--s-5); color: var(--on-stage-2); max-width: 54ch; }
.feature .ticket { margin-bottom: var(--s-5); }

.minis { list-style: none; display: grid; gap: var(--s-4); margin: var(--s-7) 0 0; padding: var(--s-5) 0 0; border-top: 1px solid var(--stage-3); }
.mini { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: var(--s-3); align-items: center; }
.mini .art { aspect-ratio: 4 / 3; }
.mini__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mini__title { font: 800 1.5rem/1 var(--f-display); }
.mini__title::after { border-radius: var(--r-art); }
.mini:hover .mini__title { text-decoration: underline; }
.mini__meta { font-size: var(--fs-1); color: var(--on-stage-2); }
.mini__val { align-self: flex-start; margin-top: var(--s-1); background: var(--ticket); color: var(--ink); border-radius: var(--r-ticket); padding: 3px 7px 2px; font: 800 1.0625rem/1 var(--f-display); }

@media (min-width: 700px) {
	.minis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
}
@media (min-width: 1000px) {
	.intro { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: var(--s-7); }
	.intro__title { max-width: none; }
	.feature { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); align-items: center; }
}

/* ---------- Рейтинги ---------- */
.split { display: grid; gap: var(--s-7); }
@media (min-width: 900px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-8); } }
.rank { list-style: none; margin: 0; padding: 0; counter-reset: rank; border-top: 2px solid var(--ink); }
.rank__row {
	position: relative; counter-increment: rank;
	display: grid; grid-template-columns: 1.75rem 56px minmax(0, 1fr) auto; align-items: center; gap: var(--s-3);
	padding: 10px 0; border-bottom: 1px solid var(--line);
}
.rank__row::before { content: counter(rank); font: 800 1.625rem/1 var(--f-display); color: var(--ink-2); text-align: right; }
.rank__name { display: flex; flex-direction: column; min-width: 0; }
.rank__link { font-weight: 600; text-decoration: none; }
.rank__link::after { content: ""; position: absolute; inset: 0; }
.rank__link:focus-visible { outline: none; }
.rank__link:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 2px; }
.rank__row:hover .rank__link { text-decoration: underline; }
.rank__meta { font-size: var(--fs-0); color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank__val {
	background: var(--ticket); border-radius: var(--r-ticket); padding: 5px 8px 4px;
	font: 800 1.375rem/1 var(--f-display); font-variant-numeric: tabular-nums; white-space: nowrap;
}

/* Главная на телефоне: короче списки — полные по ссылке «Все…» рядом с заголовком. */
@media (max-width: 699px) {
	.home-trim .rank__row:nth-child(n+6),
	.home-trim .casinos > :nth-child(n+3),
	.home-trim .logos > :nth-child(n+9),
	.home-trim .reads > :nth-child(n+4) { display: none; }
}

/* ---------- Чипы ---------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; }
.chip {
	display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px;
	border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface);
	color: var(--ink); text-decoration: none; font-size: var(--fs-1); font-weight: 500; white-space: nowrap;
}
.chip small { color: var(--ink-2); font-size: var(--fs-0); }
.chip:hover { border-color: var(--ink); }
.chip[aria-current], .chip--on { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.chip[aria-current] small, .chip--on small { color: var(--on-stage-2); }
.chips--stage { margin-top: var(--s-5); }
.chips--stage .chip { background: var(--stage-2); border-color: var(--stage-3); color: var(--on-stage); }
.chips--stage .chip small { color: var(--on-stage-2); }
.chips--stage .chip:hover { border-color: var(--on-stage-2); }
.chips--stage .chip[aria-current] { background: var(--ticket); border-color: var(--ticket); color: var(--ink); }
.chips--stage .chip[aria-current] small { color: var(--ticket-ink-2); }
.chips--stage .chip--alt { border-style: dashed; }
.chips-block { margin-top: var(--s-6); }
.active-filters { align-items: center; }

/* ---------- Плитки механик ---------- */
.tiles { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); margin: 0; padding: 0; }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); } }
.tile { position: relative; display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-3); background: var(--sunk); border-radius: var(--r-box); }
.tile .mosaic { order: -1; margin-bottom: var(--s-1); }
.tile__name { font: 800 1.5rem/1 var(--f-display); }
.tile__name::after { border-radius: var(--r-box); }
.tile:hover .tile__name { text-decoration: underline; }
.tile__count { font-size: var(--fs-1); color: var(--ink-2); }

/* ---------- Логотипы: плашка по тону логотипа ---------- */
.plate {
	display: inline-grid; place-items: center; overflow: hidden; flex: none;
	border-radius: var(--r-plate); padding: 6px 12px;
}
.plate--light, .plate--word { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.plate--dark { background: var(--stage); box-shadow: inset 0 0 0 1px var(--stage-3); }
.plate--word { font: 800 1.125rem/1 var(--f-display); text-align: center; overflow-wrap: anywhere; }
.plate__img { width: auto; height: auto; object-fit: contain; }
.plate--s { height: 36px; min-width: 56px; max-width: 120px; }
.plate--s .plate__img { max-height: 22px; max-width: 96px; }
.plate--m { height: 64px; width: 100%; }
.plate--m .plate__img { max-height: 40px; max-width: 150px; }
.plate--m.plate--word { font-size: 1.5rem; }
.plate--l { height: 88px; min-width: 200px; max-width: 320px; padding: 10px 20px; }
.plate--l .plate__img { max-height: 60px; max-width: 260px; }
.plate--l.plate--word { font-size: 2.25rem; }

.logos { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-4); margin: 0; padding: 0; }
@media (min-width: 700px) { .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.logos__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-2) var(--s-2); align-items: baseline; text-decoration: none; }
.logos__item .plate { grid-column: 1 / -1; }
.logos__name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.logos__count { font-size: var(--fs-0); color: var(--ink-2); white-space: nowrap; }
.logos__item:hover .logos__name { text-decoration: underline; }
.logos__item:hover .plate { box-shadow: inset 0 0 0 2px var(--ink); }
.logos--compact { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); }
.logos--compact .logos__item { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; }

/* ---------- Казино: строки списка ---------- */
.casinos { display: grid; gap: 0 var(--s-6); border-top: 2px solid var(--ink); }
@media (min-width: 900px) { .casinos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.casino { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--s-3) var(--s-4); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); align-content: start; }
.casino > .plate { width: 96px; height: 64px; padding: 6px 8px; }
.casino > .plate .plate__img { max-width: 80px; max-height: 44px; }
.casino > .plate--word { font-size: 1.25rem; }
.casino__title { font: 800 1.875rem/1 var(--f-display); }
.casino__title a { text-decoration: none; }
.casino__title a:hover { text-decoration: underline; }
.casino__bonus { margin: var(--s-1) 0 0; font-weight: 600; }
.casino__pays { margin: var(--s-2) 0 0; font-size: var(--fs-0); color: var(--ink-2); }
.casino__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }
.facts-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2) var(--s-4); margin-top: var(--s-3); }
.facts-row dt { font-size: var(--fs-0); color: var(--ink-2); }
.facts-row dd { font-weight: 600; font-size: var(--fs-1); }
.facts-row .is-wide { grid-column: 1 / -1; }
@media (max-width: 599px) {
	/* На телефоне логотип и название — одной строкой, факты и кнопки на всю ширину. */
	.casino { grid-template-columns: 72px minmax(0, 1fr); align-items: center; }
	.casino > .plate { width: 72px; height: 48px; }
	.casino > .plate .plate__img { max-width: 60px; max-height: 32px; }
	.casino > .plate--word { font-size: 1rem; }
	.casino__main { display: contents; }
	.casino__main > :not(.casino__title) { grid-column: 1 / -1; }
}
.warn { margin: var(--s-3) 0 0; padding: 8px 12px; border-radius: var(--r-ticket); background: var(--hot-bg); color: var(--hot-ink); box-shadow: inset 0 0 0 1px var(--hot-line); font-size: var(--fs-1); font-weight: 500; }

/* ---------- Бонусы: купоны ---------- */
.bonuses { display: grid; gap: var(--s-4); }
@media (min-width: 700px) { .bonuses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .bonuses { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bonuses--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) { .bonuses--shelf > :nth-child(n+4) { display: none; } }
.bonus {
	display: flex; flex-direction: column; gap: var(--s-3);
	padding: var(--s-4); background: var(--surface); border-radius: var(--r-box);
	border: 1px dashed var(--ink-2);
}
.bonus__head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin: 0; }
.bonus__casino { font-weight: 600; }
.bonus__type { margin-left: auto; font-size: var(--fs-0); color: var(--ink-2); }
.bonus__title { font: 800 1.625rem/1 var(--f-display); }
.bonus__title a { text-decoration: none; }
.bonus__title a:hover { text-decoration: underline; }
.bonus__actions { margin-top: auto; padding-top: var(--s-1); }

/* ---------- Провайдеры ---------- */
.prov-grid { display: grid; gap: var(--s-6) var(--s-5); }
@media (min-width: 600px) { .prov-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .prov-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .prov-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.prov { position: relative; display: flex; flex-direction: column; gap: var(--s-2); }
.prov > .plate { order: -2; height: 76px; }
.prov .mosaic { order: -1; }
.prov__title { font: 800 1.875rem/1 var(--f-display); margin-top: var(--s-1); }
.prov__title .card__link::after { border-radius: var(--r-plate); }
.prov:hover .prov__title a { text-decoration: underline; }
.prov__meta { display: flex; flex-wrap: wrap; gap: 0 var(--s-4); margin: 0; font-size: var(--fs-1); color: var(--ink-2); }

/* ---------- Статьи ---------- */
.reads { display: grid; gap: var(--s-6) var(--s-5); }
@media (min-width: 700px) { .reads { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .reads { grid-template-columns: repeat(4, minmax(0, 1fr)); } .reads--3, .reads--list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.read { position: relative; display: flex; flex-direction: column; gap: var(--s-2); padding-top: var(--s-3); border-top: 2px solid var(--ink); }
.read .mosaic { order: -2; margin-bottom: var(--s-1); }
.read__meta { order: -1; display: flex; flex-wrap: wrap; gap: 0 var(--s-3); margin: 0; font-size: var(--fs-0); color: var(--ink-2); }
.read__title { font: 800 1.75rem/1 var(--f-display); }
.read:hover .read__title a { text-decoration: underline; }
.read__text { margin: 0; color: var(--ink-2); font-size: var(--fs-1); }

/* ---------- Страница игры, провайдера, казино, бонуса: сцена ---------- */
.item { display: grid; gap: var(--s-5); margin-top: var(--s-2); }
.item__media { margin: 0; }
.item .art { aspect-ratio: 16 / 10; }
.item__prov { display: inline-flex; align-items: center; gap: var(--s-3); color: var(--on-stage); font-weight: 600; text-decoration: none; min-height: 44px; }
.item__prov:hover span { text-decoration: underline; }
.item__title { font: 800 var(--d-4)/0.9 var(--f-display); margin: var(--s-3) 0 var(--s-5); }
@media (min-width: 900px) {
	.item { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); align-items: center; }
}

.demo { margin: var(--s-5) 0 0; } /* кнопка «Демо-версия» раскрывает блок #demo под сценой (только у игр со встраиваемым демо) */
.acts { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: 0; }
.stage .btn--ghost { color: var(--on-stage); box-shadow: inset 0 0 0 2px var(--on-stage); }
.stage .btn--ghost:hover { background: var(--on-stage); color: var(--ink); }

/* ---------- Блок демо #demo: под сценой игры, до основного текста (21.10.2026) ----------
   Окно 16:9 по ширине контента, не выше 80vh; на телефоне 4:5 во всю ширину, не выше 70vh. Поверх игры — «шторка»
   (.demo-box__shield), пока по игре не кликнули: колесо и тач над ней прокручивают страницу. Поведение — main.js. */
.demo-box { background: var(--stage-2); border-top: 1px solid var(--stage-3); padding-block: var(--s-4) var(--s-6); scroll-margin-top: var(--s-2); }
.demo-box:focus { outline: none; } /* фокус ставит скрипт (переход к блоку), видимый фокус — у кнопок внутри */
html:not(.js) .demo-box[hidden]:target { display: block; } /* без JS ссылка …/#demo тоже раскрывает блок */
.demo-box__bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin-bottom: var(--s-3); }
.demo-box__name {
	flex: 1 1 14rem; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px var(--s-3);
	margin: 0; font: 800 1.75rem/1 var(--f-display);
}
.demo-box__prov { font: 500 var(--fs-0)/1.2 var(--f-text); color: var(--on-stage-2); }
.demo-box__age {
	flex: none; color: var(--hot-line); border: 2px solid currentColor; border-radius: var(--r-pill);
	font: 700 var(--fs-0)/1 var(--f-text); padding: 4px 8px;
}
.demo-box__btn { min-height: 40px; padding: 8px 18px; }
.demo-box__btn[hidden] { display: none; }
.demo-box__screen {
	position: relative; isolation: isolate; overflow: hidden; width: 100%;
	aspect-ratio: 16 / 9; max-height: 80vh; max-height: 80dvh;
	border-radius: var(--r-box); background: var(--stage);
	transition: box-shadow var(--dur) var(--ease-out);
}
.demo-box__screen::before {
	content: ""; position: absolute; inset: -12%; z-index: -1;
	background: var(--art-bg, none) center / cover no-repeat; filter: blur(22px) saturate(1.1) brightness(0.38);
}
.demo-box__screen.is-live { box-shadow: 0 0 0 3px var(--ticket); } /* игра забрала мышь и клавиатуру */
.demo-box__screen:fullscreen { max-height: none; aspect-ratio: auto; width: 100%; height: 100%; border-radius: 0; }
.demo-box__frame { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; border: 0; background: var(--stage); }
.demo-box__frame:focus { outline: none; }
.demo-box__shield {
	position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: center;
	margin: 0; padding: var(--s-3); border: 0; background: transparent; cursor: pointer; font: inherit;
}
.demo-box__shield span {
	padding: 7px 16px; border-radius: var(--r-pill); background: var(--ticket); color: var(--ink);
	font: 600 var(--fs-0)/1.2 var(--f-text);
}
.demo-box__shield:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.demo-box__shield[hidden] { display: none; } /* display:flex выше перебивал [hidden] — шторка не уходила, игра не кликалась */
.demo-gate {
	position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: var(--s-3);
	margin: 0; padding: var(--s-5); text-align: center;
}
.demo-gate__title { font: 800 var(--d-2)/0.95 var(--f-display); margin: 0; text-wrap: balance; }
.demo-gate__text { color: var(--on-stage); max-width: 46ch; margin: 0 0 var(--s-2); }
@media (max-width: 699px) {
	.demo-box__screen {
		width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter));
		aspect-ratio: 4 / 5; max-height: 70vh; max-height: 70dvh; border-radius: 0;
	}
	.demo-box__name { font-size: 1.375rem; }
}

.ent { display: grid; gap: var(--s-6); margin-top: var(--s-2); }
.ent__title { font: 800 var(--d-3)/0.95 var(--f-display); margin: var(--s-4) 0 0; }
.ent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); margin-top: var(--s-5); }
.collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
@media (min-width: 900px) {
	.ent { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s-7); align-items: end; }
}

/* ---------- Текст и колонка характеристик ---------- */
.split-main { display: grid; gap: var(--s-6); }
.split-main__text > * + * { margin-top: var(--s-6); }
@media (min-width: 1000px) {
	.split-main { grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s-8); align-items: start; }
	.side { position: sticky; top: var(--s-4); }
}
.side { background: var(--surface); border-radius: var(--r-box); box-shadow: inset 0 0 0 1px var(--line); padding: var(--s-5); }
.specs > div { display: flex; justify-content: space-between; gap: var(--s-4); padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.specs > div:last-child { border-bottom: 0; }
.specs dt { color: var(--ink-2); }
.specs dd { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; min-width: 0; overflow-wrap: anywhere; }
.checked { margin: var(--s-3) 0 0; font-size: var(--fs-0); color: var(--ink-2); }

.prose { max-width: 70ch; }
.prose h2 { font: 800 2rem/1 var(--f-display); margin: var(--s-6) 0 var(--s-3); }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font: 700 1.1875rem/1.3 var(--f-text); margin: var(--s-5) 0 var(--s-2); }
.prose p, .prose li { font-size: var(--fs-3); line-height: 1.65; }
.prose a { font-weight: 500; }
.facts { list-style: none; padding: 0; margin: 0 0 var(--s-4); }
.facts li { position: relative; padding-left: 24px; margin-bottom: var(--s-3); }
.facts li::before {
	content: ""; position: absolute; left: 2px; top: 0.6em; width: 11px; height: 11px;
	background: var(--ticket); box-shadow: inset 0 0 0 2px var(--ink); border-radius: 2px;
}
.table-wrap { overflow-x: auto; margin: var(--s-4) 0; }
.table, .prose table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: var(--fs-1); }
.table th, .table td, .prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th, .prose th { font-size: var(--fs-0); color: var(--ink-2); font-weight: 600; border-bottom: 2px solid var(--ink); }

.article { display: grid; gap: var(--s-5); }
@media (min-width: 1000px) {
	.article--toc { grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s-8); align-items: start; }
	.article--toc .toc { order: 2; position: sticky; top: var(--s-4); }
}
.toc { background: var(--surface); border-radius: var(--r-box); box-shadow: inset 0 0 0 1px var(--line); padding: var(--s-3) var(--s-4); }
.toc__title { font-weight: 700; min-height: 32px; display: flex; align-items: center; }
.toc__list { margin: var(--s-2) 0 0; padding-left: 20px; font-size: var(--fs-1); }
.toc__list li { margin: 4px 0; }
.toc__list a { display: inline-block; padding: 4px 0; color: var(--ink-2); text-decoration: none; }
.toc__list a:hover { color: var(--ink); text-decoration: underline; }
.prose--page { max-width: 72ch; }
.sources { margin-top: var(--s-6); padding-top: var(--s-4); border-top: 2px solid var(--ink); }
.sources__title { font: 800 1.625rem/1 var(--f-display); margin: 0 0 var(--s-3); }
.sources__list { padding-left: 20px; font-size: var(--fs-1); }
.sources__list li { font-size: var(--fs-1); }
.sources__host { color: var(--ink-2); font-size: var(--fs-0); }
.related { margin-top: var(--s-7); }
.related .block__title { margin-bottom: var(--s-5); }

/* ---------- Фильтры ---------- */
.filters-box { background: var(--surface); border-radius: var(--r-box); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: var(--s-6); }
.filters-box > summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 var(--s-4); font-weight: 700; list-style: none; }
.filters-box > summary::-webkit-details-marker { display: none; }
.filters-box > summary::after { content: "+"; font: 800 1.5rem/1 var(--f-display); }
.filters-box[open] > summary::after { content: "−"; }
.filters { padding: 0 var(--s-4) var(--s-4); }
.filters__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); align-items: end; }
@media (min-width: 900px) { .filters__row { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; } }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field__label { font-size: var(--fs-0); color: var(--ink-2); }
.field select, .field input {
	min-height: 44px; width: 100%; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line);
	background: var(--paper); color: var(--ink); font: inherit;
}
.field input::placeholder { color: var(--ink-2); }
.check { display: flex; align-items: center; gap: var(--s-2); min-height: 44px; font-size: var(--fs-1); }
.check input { width: 20px; height: 20px; accent-color: var(--ink); }
.filters__more { margin-top: var(--s-4); border-top: 1px solid var(--line-2); padding-top: var(--s-2); }
.filters__more > summary { min-height: 40px; display: flex; align-items: center; font-weight: 600; }
.filters__groups { display: grid; gap: var(--s-4); margin-top: var(--s-2); }
.filters__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.filters__group legend { font-size: var(--fs-0); font-weight: 600; color: var(--ink-2); margin-bottom: 6px; padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { position: relative; max-width: 100%; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span {
	display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 4px 12px;
	border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--paper);
	font-size: var(--fs-1); cursor: pointer; max-width: 100%;
}
.pill small { color: var(--ink-2); }
.pill input:checked + span { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.pill input:checked + span small { color: var(--on-stage-2); }
.pill input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.filters__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); margin-top: var(--s-4); }

/* ---------- Пагинация, пустое состояние ---------- */
.pager ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: var(--s-7) 0 0; padding: 0; }
.pager a, .pager span {
	display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 14px;
	border-radius: var(--r-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
	text-decoration: none; font-weight: 600; white-space: nowrap;
}
.pager a:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.pager .current { background: var(--ink); color: var(--surface); box-shadow: none; }
.pager .dots { background: none; box-shadow: none; }
.empty { max-width: 640px; padding: var(--s-6); border-radius: var(--r-box); border: 1px dashed var(--ink-2); background: var(--surface); }
.empty__title { font: 800 1.875rem/1 var(--f-display); margin: 0 0 var(--s-2); }

/* ---------- Подвал: колофон ---------- */
.foot { background: var(--stage); color: var(--on-stage-2); padding: var(--s-7) 0 var(--s-6); }
.foot__top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-6); padding-bottom: var(--s-4); border-bottom: 1px solid var(--stage-3); }
.foot__nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 var(--s-5); margin: 0; padding: 0; }
.foot__nav a { display: inline-block; padding: 8px 0; color: var(--on-stage); text-decoration: none; white-space: nowrap; }
.foot__nav a:hover { text-decoration: underline; }
.foot__legal { margin-top: var(--s-4); font-size: var(--fs-0); line-height: 1.6; max-width: 110ch; }
.foot__legal p { margin: 0 0 var(--s-2); }
.age { display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: var(--r-pill); background: var(--hot-bg); color: var(--hot-ink); font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
	.card:hover .art__img { transform: none; }
}

/* Маленькая обложка (новинки сбоку, коллаж на телефоне): название не влезает — остаётся крупная буква по центру. */
@container (max-width: 160px) {
	.cover__prov, .cover__title { display: none; }
	.cover__glyph { position: static; margin: auto; font-size: 64cqi; color: var(--cover-sub); }
}

/* ---------- Текст «Подробно» (template-parts/about.php, тексты из данных каталога, 21.10.2026) ---------- */
.vd-about { max-width: 72ch; }
.vd-about > h2 { font: 800 var(--d-2)/1 var(--f-display); margin: 0 0 var(--s-4); }
.vd-about p { margin: 0 0 var(--s-3); }
.vd-about ul { margin: 0 0 var(--s-4); padding-left: 1.15em; }
.vd-about li { margin: 0 0 var(--s-2); }
.vd-about li::marker { color: var(--ticket-line); }
.vd-about li > a:first-child { font-weight: 700; }
.split-main__text > .vd-about:first-child { margin-top: 0; }
.split-main__text > * + .vd-about { margin-top: var(--s-6); }
