/*
Theme Name: MT events
Description: Тема мультиигрового ивент-портала MT events. Шапка/подвал, главная, страницы игр и контентные страницы; шаблоны маршрутов /{город}/{игра}/{повод}/ рендерит плагин mafia-portal-core через get_header()/get_footer() этой темы.
Author: MT events
Version: 0.2.0
Requires PHP: 8.0
Text Domain: match-time
*/

/* ===== Design tokens ===== */
:root {
  --font-heading: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* Палитра брендбука MT events (MT_Brand_Assets.zip): основной красный и цвета суббрендов. */
  --brand-dark: #231F1E;
  --brand-red: #A92523;
  --brand-red-dark: #7A1713;
  --brand-red-bright: #D3332F;
  --brand-orange: #EA6A2A;
  --brand-purple: #7B35C9;
  --brand-green: #12A37F;
  --brand-blue: #1F55F0;
  --ink: var(--brand-dark);
  --ink-2: #3a3432;
  --muted: #57534f;
  --muted-2: #625c58;
  --on-dark-muted: rgba(255,255,255,.72);
  --line: #eceae8;
  --soft: #faf9f8;
  /* Игры — цвета суббрендов: MT MAFIA, MT BUNKER, MT LOGIC; Шпион, Элиас, Данетки — MT GAMES (оттенки зелёного). */
  --g-maf: var(--brand-red);
  --g-bun: var(--brand-orange);
  --g-log: var(--brand-purple);
  --g-shp: var(--brand-green);
  --g-eli: #0B7A5F;
  --g-dan: #C2185B;
  --g-bin: #B02F9B; /* Музыкальное бинго (MT GAMES), отдельный цвет, не из брендбука */
  --g-onl: var(--brand-red-bright);
  --ok: var(--brand-green);
  --color-accent: var(--brand-red);
  /* Горизонтальный отступ секций: фон — во всю ширину экрана, контент —
     в пределах ~1080px. Во всех новых секциях использовать var(--edge). */
  --edge: max(48px, calc((100% - 1080px) / 2));
  --radius: 18px;
}

* { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { background: #fff; font-family: var(--font-body); color: var(--ink); margin: 0; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--color-accent); }
a:hover { color: var(--ink); }
[id] { scroll-margin-top: 130px; }
h1, h2, h3 { text-wrap: balance; }

/* Атрибут hidden всегда скрывает — иначе display у компонента (.lead-form и др.) его перебивает. */
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }
main:focus { outline: none; }

/* ===== Layout ===== */
.site { width: 100%; }
.sec { padding: 64px var(--edge); border-top: 1px solid var(--line); }
.sec-soft { background: var(--soft); }
.sec-tint { background: rgba(123, 53, 201, .04); }
.sec-dark { background: var(--ink); color: #fff; border-top-color: var(--ink); }
.sec-dark .h2 { color: #fff; }
.sec-dark .sub { color: var(--on-dark-muted); }
.sec-flush-top { border-top: none; padding-top: 8px; }
.narrow { max-width: 760px; }

.h2 { font-family: var(--font-heading); font-weight: 700; font-size: 30px; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 10px; }
.h3 { font-family: var(--font-heading); font-weight: 600; font-size: 18px; line-height: 1.3; margin: 36px 0 14px; }
.h3-flush { margin-top: 0; }
.sub { font-size: 15px; line-height: 1.5; color: var(--muted-2); margin: 0 0 32px; max-width: 64ch; }
.kick { font-family: var(--font-heading); font-weight: 600; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 14px; }
.kick-dark { color: var(--on-dark-muted); }
.body { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; text-wrap: pretty; }
.note { font-size: 14px; color: var(--muted); margin: 22px 0 0; }
.text-link { display: inline-block; margin-top: 16px; font-weight: 700; font-size: 14.5px; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.text-link:hover { color: var(--color-accent); }
.text-link + .text-link { margin-left: 18px; }
.body + .cta { margin-top: 22px; } /* кнопка сразу после абзаца (блок HR и т. п.) стояла вплотную */
.final-form { min-width: 0; }
.final-form .lead-consent { margin-top: 12px; }
.nowrap { white-space: nowrap; }

/* ===== Типографика статей и произвольного WP-контента ===== */
.rich { font-size: 16px; line-height: 1.7; color: #3b3632; }
.rich > :first-child { margin-top: 0; }
.rich p { margin: 0 0 16px; }
.rich h2 { font-family: var(--font-heading); font-weight: 700; font-size: 23px; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); margin: 40px 0 14px; }
.rich h3 { font-family: var(--font-heading); font-weight: 600; font-size: 17.5px; line-height: 1.35; color: var(--ink); margin: 28px 0 10px; }
.rich ul, .rich ol { margin: 0 0 18px; padding-left: 22px; }
.rich li { margin-bottom: 8px; }
.rich li::marker { color: var(--color-accent); }
.rich a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 3px; }
.rich strong { color: var(--ink); }
.rich blockquote { margin: 22px 0; padding: 16px 20px; border-left: 3px solid var(--color-accent); background: var(--soft); border-radius: 0 12px 12px 0; }
.rich code { background: #f4f3f2; padding: 2px 6px; border-radius: 6px; font-size: .92em; }
.page-content { max-width: 74ch; }

/* ===== Хлебные крошки ===== */
.crumb-wrap { padding: 26px var(--edge) 0; }
.crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; font-size: 13px; color: var(--muted-2); }
.crumb li { display: inline-flex; align-items: center; }
.crumb li + li::before { content: "/"; margin: 0 8px; color: #c4c0bc; }
.crumb a { color: var(--muted-2); text-decoration: none; }
.crumb a:hover { color: var(--color-accent); }
.crumb [aria-current] { color: var(--ink); }

/* ===== Спот-фон ===== */
.spat { position: relative; background: radial-gradient(circle at 8% 12%, rgba(169,37,35,.09), transparent 42%), radial-gradient(circle at 88% 4%, rgba(123,53,201,.08), transparent 40%), radial-gradient(circle at 62% 92%, rgba(18,163,127,.07), transparent 44%), radial-gradient(circle at 26% 78%, rgba(201,106,16,.06), transparent 40%), #fff; }
.spat > * { position: relative; }

/* ===== Header ===== */
.hdr { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); box-shadow: 0 8px 20px -18px rgba(22,18,15,.55); }
.hdr-t { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 13px var(--edge); }
.hdr-b { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--edge) 10px; }
.hdr-nav { display: flex; align-items: center; gap: 2px; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 12px; background: none; border: 0; border-bottom: 2px solid transparent; font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; cursor: pointer; transition: color .18s ease, border-color .18s ease; }
.nav-link:hover, .nav-item.open > .nav-link { color: var(--ink); }
.nav-link.on { color: var(--ink); border-bottom-color: var(--color-accent); }
.nav-chevron { transition: transform .2s ease; }
.nav-item.open .nav-chevron { transform: rotate(180deg); }

/* Выпадающие каталоги шапки: панель во всю ширину под шапкой */
.nav-drop { position: absolute; left: 0; right: 0; top: 100%; padding: 0 var(--edge); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .18s cubic-bezier(.23,1,.32,1), transform .18s cubic-bezier(.23,1,.32,1), visibility 0s linear .18s; pointer-events: none; }
.nav-item.open .nav-drop { visibility: visible; opacity: 1; transform: none; transition: opacity .18s cubic-bezier(.23,1,.32,1), transform .18s cubic-bezier(.23,1,.32,1); pointer-events: auto; }
.nav-item.motion-instant .nav-drop, .nav-item.motion-instant .nav-chevron { transition: none; }
.hdr-nav:has(.nav-item.open) .nav-item:not(.open) .nav-drop { transition: none; } /* переключение между каталогами — без наложения */
.nav-drop-in { display: flex; gap: 32px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 22px 22px; padding: 22px 24px 24px; box-shadow: 0 30px 50px -30px rgba(22,18,15,.35); }
.nd-grid { flex: 1; min-width: 0; display: grid; gap: 8px; }
.nd-grid--games { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nd-game { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; text-decoration: none; color: var(--ink); transition: background .15s ease; }
.nd-game:hover { background: color-mix(in srgb, var(--tone) 8%, #fff); }
.nd-ico { flex: 0 0 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; color: #fff; background: radial-gradient(120% 120% at 20% 10%, color-mix(in srgb, var(--tone) 70%, #fff), var(--tone) 55%, color-mix(in srgb, var(--tone) 55%, #000)); }
.nd-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nd-name { font-family: var(--font-heading); font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.nd-meta { font-size: 12.5px; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nd-side { flex: 0 0 220px; display: flex; flex-direction: column; gap: 10px; padding: 8px 0 0 24px; border-left: 1px solid var(--line); }
.nd-kick { margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.nd-link { font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; }
.nd-link:hover { color: var(--color-accent); }
.nav-drop-in:has(.nd-grid--occ) { flex-direction: column; gap: 14px; }
.nd-grid--occ { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; width: 100%; }
.nd-occ { padding: 14px 16px 12px; border-radius: 16px; background: color-mix(in srgb, var(--tone) 6%, #fff); border: 1px solid color-mix(in srgb, var(--tone) 16%, #fff); }
.nd-occ-name { margin: 0 0 8px; font-family: var(--font-heading); font-weight: 700; font-size: 15px; color: var(--tone); }
.nd-occ-name a { color: inherit; text-decoration: none; }
.nd-occ-name a:hover { text-decoration: underline; }
.nd-occ-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.nd-occ-list a { display: block; padding: 4px 0; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; }
.nd-occ-list a:hover { color: var(--tone); }
.nd-note { margin: 0; font-size: 13.5px; color: var(--muted); }
.nav-drop-in:has(.nd-grid--cities) { align-items: center; }
.nd-grid--cities { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.nd-city { display: flex; align-items: center; justify-content: center; height: 46px; padding: 0 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--soft); font-weight: 600; font-size: 14px; color: var(--ink); text-decoration: none; white-space: nowrap; transition: border-color .15s ease, background .15s ease; }
.nd-city:hover { border-color: var(--ink); background: #fff; }
.nd-city.is-current { border-color: var(--color-accent); color: var(--color-accent); background: #fff; }
.nd-link--all { flex: 0 0 auto; }
.hdr-side { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.hdr-identity { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.hdr-mobile-contacts { display: none; }
.cta.cta-hdr { height: 36px; padding: 0 16px; font-size: 13.5px; margin: 2px 0; flex-shrink: 0; } /* .cta-hdr без .cta проигрывал общему .cta (48px) ниже по файлу */

.brand-logo { display: block; height: 32px; width: auto; }
.mark { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: var(--color-accent); color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: 12px; }
.brand { font-family: var(--font-heading); font-weight: 800; font-size: 17px; letter-spacing: -.01em; color: var(--ink); }

.pill { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #f5f4f3; border: 1px solid #e6e4e2; border-radius: 999px; font-family: var(--font-body); font-weight: 600; font-size: 13.5px; color: var(--ink); cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.pill:hover { background: #efedeb; border-color: #d8d5d2; }

.tel-block { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.tel { font-family: var(--font-body); font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.tel:hover { color: var(--color-accent); }
.tel-big { font-size: 19px; display: block; margin: auto 0 6px; }
.tel-hours { font-size: 11.5px; color: var(--muted-2); white-space: nowrap; }

.msg-row { display: flex; align-items: center; gap: 7px; }
.msg { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; background: #fff; border: 1px solid #e6e4e2; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.msg svg, .msg img { display: block; border-radius: 999px; }
.msg[data-messenger="max"] img { border-radius: 6px; }
.msg:hover { border-color: #d6d3d0; box-shadow: 0 6px 14px -8px rgba(20,18,17,.35); }
.msg-row--big .msg { width: 46px; height: 46px; }
.msg-row--big .msg svg, .msg-row--big .msg img { width: 28px; height: 28px; }
.msg-dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; }

.burger { display: none; }

/* ===== City picker ===== */
.city-picker { position: relative; }
#mt-city-trigger-label { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill-chevron { transition: transform .2s cubic-bezier(.23,1,.32,1); }
.city-picker.open .pill-chevron { transform: rotate(180deg); }
.city-dropdown { position: absolute; top: calc(100% + 10px); right: 0; z-index: 40; width: 560px; max-width: min(560px, calc(100vw - 40px)); background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 24px 55px -10px rgba(22,18,15,.28); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(-10px) scaleY(.96); transform-origin: top; transition: opacity .2s ease, transform .22s cubic-bezier(.23,1,.32,1), visibility 0s linear .2s; }
.city-picker.open .city-dropdown { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .22s cubic-bezier(.23,1,.32,1), visibility 0s; }
.city-dropdown-head { padding: 14px 14px 10px; border-bottom: 1px solid var(--line); }
.city-search { width: 100%; height: 44px; padding: 0 15px; border: 1px solid #d8d5d2; border-radius: 11px; font-family: var(--font-body); font-size: 16px; color: var(--ink); }
.city-search:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(169,37,35,.11); }
.city-list { max-height: 360px; overflow-y: auto; padding: 4px 10px 12px; overscroll-behavior: contain; }
.city-group-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin: 12px 6px 4px; }
.city-group-label[hidden], .city-grid[hidden] { display: none; }
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 2px; }
.city-grid--top .city-cell { font-weight: 700; }
.city-cell { display: block; width: 100%; text-align: left; padding: 9px 11px; border: none; background: transparent; border-radius: 9px; font-family: var(--font-body); font-size: 13.5px; color: var(--ink); cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.city-cell:hover { background: #f5f4f3; }
.city-cell.is-active { background: color-mix(in srgb, var(--color-accent) 10%, #fff); color: var(--color-accent); font-weight: 700; }
.city-cell[hidden] { display: none; }
.city-empty { padding: 20px 14px; text-align: center; color: var(--muted-2); font-size: 13.5px; margin: 0; }

/* ===== Buttons / forms ===== */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; background: var(--ink); color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 15px; border: none; border-radius: 999px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .2s ease, transform .12s ease, box-shadow .2s ease; }
.cta:hover { background: var(--ink-2); color: #fff; }
.cta:active { transform: translateY(1px); }
.cta-red { background: var(--color-accent); box-shadow: 0 10px 24px -12px rgba(169,37,35,.7); }
.cta-red:hover { background: var(--brand-red-dark); }
.cta-sm { height: 42px; font-size: 14px; padding: 0 18px; }
.cta-block { display: flex; width: 100%; }
.cta-ghost { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; background: transparent; color: var(--ink); border: 1px solid #d8d5d2; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background .2s ease, border-color .2s ease; }
.cta-ghost:hover { background: #f5f4f3; border-color: #bdb9b5; color: var(--ink); }

.fld { width: 100%; height: 52px; padding: 0 18px; background: #fff; border: 1px solid #d8d5d2; border-radius: 999px; font-family: var(--font-body); font-size: 16px; color: var(--ink); }
.fld { transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.fld:hover { border-color: #bdb9b5; }
/* Радиус поля не меняется при фокусе: общее правило a/input:focus-visible ниже ставит 6px и перебивало 999px. */
.fld:focus, .fld:focus-visible { outline: none; border-color: var(--ink); border-radius: 999px; box-shadow: 0 0 0 3px rgba(169,37,35,.13); }
.lead-form--dark .fld:hover { border-color: rgba(255,255,255,.5); }
.lead-form--dark .fld:focus, .lead-form--dark .fld:focus-visible { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
.fld::placeholder { color: var(--muted-2); opacity: 1; }
select.fld { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.cap { font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 8px; }

.lead-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 480px; }
.contact-pick { border: 0; margin: 0; padding: 0; min-width: 0; flex: 1 0 100%; }
.contact-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.contact-tab { position: relative; cursor: pointer; }
.contact-tab input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.contact-tab-in { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 13px 0 9px; border: 1px solid transparent; border-radius: 12px; font-size: 14.5px; font-weight: 500; color: var(--ink); transition: border-color .15s ease, background .15s ease; }
.contact-tab-in svg, .contact-tab-in img { flex: 0 0 auto; border-radius: 999px; }
.contact-tab:hover .contact-tab-in { background: rgba(20,18,17,.05); }
.contact-tab input:checked + .contact-tab-in { border-color: #8f8b88; background: #fff; }
.contact-tab input:focus-visible + .contact-tab-in { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.contact-field { position: relative; flex: 1 1 220px; min-width: 0; }
.contact-field[hidden] { display: none; }
.fld-flag { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); display: flex; pointer-events: none; }
.fld-flag svg { border-radius: 2px; box-shadow: 0 0 0 1px rgba(20,18,17,.12); }
.fld.fld-phone { padding-left: 48px; }
.lead-form .cta { height: 52px; flex-shrink: 0; }
.lead-form--card { flex-direction: column; flex-wrap: nowrap; max-width: none; }
.lead-form--card .contact-field, .lead-form--dark .contact-field { flex: 0 0 auto; }
.lead-form--card .contact-tabs { display: grid; grid-template-columns: auto auto auto auto; justify-content: space-between; gap: 2px; }
.lead-form--card .contact-tab-in { gap: 5px; height: 34px; padding: 0 8px 0 6px; font-size: 13px; border-radius: 10px; }
.lead-form--card .contact-tab-in svg, .lead-form--card .contact-tab-in img { width: 16px; height: 16px; }
.lead-form--card .cta { width: 100%; }
.lead-form--dark { flex-direction: column; flex-wrap: nowrap; gap: 8px; max-width: none; }
.lead-form--dark .contact-tab-in { color: #fff; }
.lead-form--dark .contact-tab:hover .contact-tab-in { background: rgba(255,255,255,.08); }
.lead-form--dark .contact-tab input:checked + .contact-tab-in { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); }
.lead-form--dark .contact-pick { margin-bottom: 6px; }
.lead-form--dark .contact-pick legend { margin-bottom: 8px; }
.lead-form--dark .fld { background: transparent; border-color: rgba(255,255,255,.28); color: #fff; margin-bottom: 8px; }
.lead-form--dark .fld::placeholder { color: var(--on-dark-muted); }
.lead-form--dark select.fld option { color: var(--ink); }
.lead-form--dark .cap { color: var(--on-dark-muted); margin: 0; }
.lead-form--dark .cta { height: 56px; font-size: 16px; }
.lead-consent { font-size: 12px; line-height: 1.45; color: var(--muted-2); margin: 10px 0 0; max-width: 480px; }
.lead-consent a { color: inherit; }
.lead-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.lead-check input { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: var(--color-accent); cursor: pointer; }
.lead-check a { position: relative; }
.sec-dark .lead-consent { color: var(--on-dark-muted); }
.lead-status { font-weight: 600; font-size: 14px; margin: 12px 0 0; }
.lead-status--ok { color: var(--ok); }
.lead-status--error { color: var(--color-accent); }

.trust { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.trust li { position: relative; padding-left: 24px; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.trust li::before { content: ""; position: absolute; left: 2px; top: 3px; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
a:focus-visible, summary:focus-visible { border-radius: 6px; } /* кнопки и поля сохраняют свой радиус при фокусе */

/* ===== Плейсхолдеры под фото/видео ===== */

/* ===== Hero главной ===== */
.hero { padding: 56px var(--edge) 52px; display: grid; grid-template-columns: 1.12fr .88fr; gap: 48px; align-items: stretch; }
.hero h1 { font-family: var(--font-heading); font-weight: 800; font-size: 42px; line-height: 1.08; letter-spacing: -.03em; margin: 16px 0 18px; }
.hero-sub { font-size: 17.5px; line-height: 1.6; color: var(--muted); margin: 0 0 28px; max-width: 48ch; text-wrap: pretty; }
.hero-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted-2); margin: 12px 0 0; }
.hero-media { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.hero-photo { flex: 1; width: 100%; min-height: 250px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.hero--city { padding-top: 18px; align-items: start; }
/* Фото и цифры — по центру высоты левой колонки: с плашкой «Высокая загруженность»
   текст выше фото, и при прижатии к верху справа оставалась пустота внизу. */
.hero--city .hero-media { margin-top: 0; align-self: center; }
.hero--city .hero-stats { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; } /* цена не переносится — ей ровно её ширину, остальное первым двум */
.hero--city .st { padding: 14px 14px 13px; }
.hero--city .st dd { font-size: 20px; }
.hero--city .trust { margin-top: 20px; }
.hero-figure { position: relative; flex: 1; display: flex; margin: 0; min-height: 0; }
.hero-figure .hero-photo { object-position: center 35%; }
.st { border-radius: 16px; padding: 15px 16px 14px; background: color-mix(in srgb, var(--tone) 10%, #fff); display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 7px; }
.st dd { margin: 0; font-family: var(--font-heading); font-weight: 800; font-size: 22px; line-height: 1; letter-spacing: -.03em; color: color-mix(in srgb, var(--tone) 75%, #000); white-space: nowrap; } /* затемнение — контраст 4,5:1 на светлой плашке (зелёный Шпиона давал 2,9) */
.st dt { font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--muted); }

.live { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 4px 13px; margin: 0; border-radius: 999px; background: rgba(169,37,35,.1); color: var(--brand-red-dark); font-size: 12.5px; font-weight: 700; }
.live i { width: 7px; height: 7px; border-radius: 999px; background: var(--color-accent); display: inline-block; }
.hero-notices { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.holiday-notice { display: inline-flex; align-items: flex-start; gap: 7px; margin: 0; padding: 7px 11px; border-radius: 12px; background: #faedeb; color: var(--brand-red-dark); font-size: 12px; line-height: 1.5; font-weight: 600; max-width: 100%; }
.holiday-notice svg { flex: none; margin-top: 1px; }
@media (max-width: 860px) {
  .hero-notices { align-items: flex-start; flex-direction: column; }
}
.live--off { background: rgba(22,18,15,.06); color: var(--ink-2); }
.live--off i { background: #9a9592; }

/* ===== Поводы (главная) ===== */
.occ-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.occ { position: relative; isolation: isolate; text-decoration: none; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 22px; background: #120e0c; color: #fff; display: flex; align-items: flex-end; }
.occ .occ-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; margin: 0; border: 0; border-radius: 0; transition: transform .2s cubic-bezier(.23,1,.32,1); }
.occ::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,14,12,0) 35%, rgba(18,14,12,.55) 62%, rgba(18,14,12,.92) 100%); }
.occ-body { padding: 20px 20px 22px; }
.occ h3 { font-family: var(--font-heading); font-weight: 700; font-size: 20px; letter-spacing: -.01em; margin: 0 0 6px; color: #fff; }
.occ .body { font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.8); }

/* ===== Города на главной ===== */
.city-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.city-card { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); transition: border-color .2s ease, transform .2s ease; }
.city-card:hover { border-color: var(--ink); color: var(--ink); }
.city-card-name { font-family: var(--font-heading); font-weight: 700; font-size: 18px; }
.city-card-meta { font-size: 13px; color: var(--muted-2); line-height: 1.45; }

/* ===== Галерея ===== */
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 26px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; gap: 12px; }
.g-cell { min-width: 0; }
.g-img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.g-span2x2 { grid-area: span 2 / span 2; }
.g-span-row2 { grid-row: span 2; }
.g-span-col2 { grid-column: span 2; }

/* ===== FAQ ===== */
.faq { border-top: 1px solid #e3dfda; }
.faq-i { border-bottom: 1px solid #e3dfda; }
.faq-q { font-family: var(--font-heading); font-weight: 600; font-size: 17.5px; line-height: 1.4; color: var(--ink); padding: 20px 44px 20px 0; position: relative; cursor: pointer; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: ""; position: absolute; right: 4px; top: 50%; width: 15px; height: 2px; background: var(--color-accent); }
.faq-q::before { content: ""; position: absolute; right: 10.5px; top: calc(50% - 6.5px); width: 2px; height: 15px; background: var(--color-accent); transition: opacity .18s cubic-bezier(.23,1,.32,1), transform .18s cubic-bezier(.23,1,.32,1); }
.faq-i[open] .faq-q::before { opacity: 0; transform: rotate(90deg); }
.faq-q:hover { color: var(--brand-red-dark); }
.faq-a { font-size: 15.5px; line-height: 1.7; color: var(--muted); margin: 0; padding: 0 44px 22px 0; max-width: 72ch; }
.faq-card { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding: 24px 28px; border-radius: 20px; background: var(--soft); border: 1px solid var(--line); }
.faq-card h3 { font-family: var(--font-heading); font-weight: 600; font-size: 18px; margin: 0 0 6px; }
.faq-card-text { flex: 1 1 320px; }
.faq-card-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px 22px; }
.faq-card-actions .text-link { margin: 0; }
.faq-card-actions .tel-big { margin: 0; }

/* ===== Страницы: заголовки ===== */
.page-head { padding: 18px var(--edge) 34px; }
.page-head h1 { font-family: var(--font-heading); font-weight: 800; font-size: 38px; line-height: 1.12; letter-spacing: -.025em; margin: 14px 0 14px; max-width: 24ch; }
.page-head .page-hero-sub p { margin: 0 0 10px; }
.err-hero { padding: 64px var(--edge) 56px; text-align: center; }
.err-hero h1 { font-family: var(--font-heading); font-weight: 800; font-size: 38px; line-height: 1.12; letter-spacing: -.025em; margin: 10px 0 14px; }
.err-hero .page-hero-sub { margin: 0 auto 26px; }
.err-code { font-family: var(--font-heading); font-weight: 800; font-size: 120px; line-height: .9; letter-spacing: -.05em; margin: 0; background: linear-gradient(120deg, var(--g-maf), var(--g-bun) 35%, var(--g-shp) 70%, var(--g-eli)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.err-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.err-games { margin: 14px 0 34px; }
.err-sub { margin-bottom: 14px; }
.err-hero ~ .sec .faq-card { margin-top: 34px; }

/* ===== Первый экран коммерческих страниц ===== */
.page-hero { padding: 18px var(--edge) 56px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.page-hero h1 { font-family: var(--font-heading); font-weight: 800; font-size: 38px; line-height: 1.12; letter-spacing: -.025em; margin: 14px 0 16px; }
.page-hero-sub { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0 0 26px; max-width: 54ch; text-wrap: pretty; }
.page-hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; }
.page-hero-stats--col { grid-template-columns: 1fr; align-self: center; }
.page-hero-stat { background: var(--soft); border-radius: 16px; padding: 16px 18px; }
.page-hero-stat dt { margin: 0 0 6px; }
.page-hero-stat dd { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 18px; line-height: 1.25; }
.page-hero-stat--tone { background: color-mix(in srgb, var(--tone, var(--color-accent)) 9%, #fff); }
.page-hero-stat--tone dt, .page-hero-stat--tone dd { color: var(--tone, var(--color-accent)); }
.page-hero-aside { display: flex; flex-direction: column; gap: 14px; }
.page-hero-aside--end { align-self: end; }
.page-hero-photo { width: 100%; height: 280px; object-fit: cover; object-position: center 45%; border-radius: var(--radius); }
.kids-video { display: block; width: 100%; max-width: 820px; aspect-ratio: 16 / 9; border-radius: var(--radius); background: #111; }
/* Текст + видео справа: видео по центру высоты текста и не выше его. */
.text-video { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 860px) {
  .text-video { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
.page-hero-main .trust { margin-top: 22px; }
.hero-price { font-size: 14.5px; color: var(--muted); margin: 0; }
.hero-price b { font-family: var(--font-heading); color: var(--ink); }
.book-card { background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -34px rgba(22,18,15,.45); border-radius: 20px; padding: 26px; }
.book-card--compact { padding: 20px 22px; box-shadow: none; background: var(--soft); }
.book-title { font-family: var(--font-heading); font-weight: 700; font-size: 18px; margin: 0 0 6px; }
.book-text { font-size: 14px; color: var(--muted-2); margin: 0 0 16px; }
.book-card--compact .book-text { margin: 12px 0 0; }

/* ===== Что за игра / факты / ход игры ===== */
.about-game-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 48px; align-items: stretch; }
.cover-art.about-side { flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 20px; min-height: 100%; padding: 28px; border-radius: 24px; }
.about-side .cover-art-icon { top: 26px; right: 22px; transform: rotate(-10deg); }
.about-side .cover-art-icon svg { width: clamp(72px, 34%, 130px); }
.about-side-kick { position: relative; font-family: var(--font-heading); font-weight: 600; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-muted); margin: 0; }
.about-side-facts { position: relative; margin: 0; display: flex; flex-direction: column; }
.about-side-facts > div { padding: 13px 0; border-top: 1px solid rgba(255,255,255,.14); }
.about-side-facts dt { font-size: 12px; color: var(--on-dark-muted); margin: 0 0 3px; }
.about-side-facts dd { font-family: var(--font-heading); font-weight: 700; font-size: 17px; color: #fff; margin: 0; }
.about-side .cta { position: relative; align-self: stretch; }
/* Видео над панелью (детский праздник): вместе по высоте текста, панель — шириной видео. */
.about-side-col { display: flex; flex-direction: column; gap: 16px; }
.about-side-col .about-side { flex: 1; min-height: 0; }
.about-side-col .kids-video { aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .about-side-col .kids-video { aspect-ratio: 16 / 9; } } /* на всю ширину — без обрезки */

/* ===== Фото/видео ===== */
.media-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(3, 150px); gap: 12px; }
.mm-cell { margin: 0; min-width: 0; min-height: 0; border-radius: var(--radius); overflow: hidden; background: #eceae8; }
.mm-img, .mm-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.mm-video video { background: #111; }
.mm-0 { grid-column: 1; grid-row: 1 / 4; }
.mm-1 { grid-column: 2 / 4; grid-row: 1 / 3; }
.mm-2 { grid-column: 4; grid-row: 1 / 4; }
.mm-3 { grid-column: 2; grid-row: 3; }
.mm-4 { grid-column: 3; grid-row: 3; }

/* ===== Галерея /foto/ ===== */
.gal-grid { columns: 4 240px; column-gap: 12px; }
.gal-item { position: relative; display: block; margin: 0 0 12px; break-inside: avoid; border-radius: 16px; overflow: hidden; background: #eceae8; cursor: zoom-in; }
.gal-item[hidden] { display: none; }
.gal-img { display: block; width: 100%; height: auto; transition: transform .2s cubic-bezier(.23,1,.32,1); }

.gal-item--video { cursor: pointer; }
.gal-play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); }
.gal-play svg { margin-left: 3px; }
.gal-more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; }
.gal-more:hover { color: var(--color-accent); }

.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12,10,9,.94); color: #fff; }
.lb::backdrop { background: rgba(12,10,9,.94); }
.lb[open] { display: flex; align-items: center; justify-content: center; }
.lb-stage { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: calc(100vw - 160px); }
.lb-figure { margin: 0; display: flex; align-items: center; justify-content: center; }
.lb-figure img, .lb-figure video { display: block; max-width: calc(100vw - 160px); max-height: calc(100dvh - 120px); width: auto; height: auto; border-radius: 12px; background: #000; }
.lb-caption { margin: 0; font-size: 14px; color: rgba(255,255,255,.72); text-align: center; }
.lb-count { position: absolute; top: 22px; left: 24px; margin: 0; font-size: 13px; font-weight: 600; color: var(--on-dark-muted); }
.lb-btn { position: absolute; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 999px; border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; transition: background .15s ease; }
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 14px; right: 16px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 860px) {
  .gal-grid { columns: 2; column-gap: 8px; }
  .gal-item { margin-bottom: 8px; border-radius: 12px; }
      .lb-stage { max-width: 100vw; }
  .lb-figure img, .lb-figure video { max-width: 100vw; max-height: calc(100dvh - 140px); border-radius: 0; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-caption { padding: 0 16px; }
}

/* ===== Шкала скидок (/ceny/#discounts) ===== */
.disc-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.disc-filter { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; white-space: nowrap; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.disc-filter:hover { border-color: color-mix(in srgb, var(--tone) 45%, #fff); }
.disc-filter[aria-selected="true"] { background: var(--tone); border-color: var(--tone); color: #fff; }
.disc-base { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--muted); }
.disc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.disc-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 18px 8px; }
.disc-hours { margin: 0 0 8px; font-family: var(--font-heading); font-weight: 800; font-size: 21px; }
.disc-rows { list-style: none; margin: 0; padding: 0; }
.disc-rows li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; min-height: 56px; padding: 8px 0; border-top: 1px solid var(--line); }
.disc-who { font-size: 13.5px; color: var(--muted); }
.disc-sum { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.disc-sum b { font-family: var(--font-heading); font-weight: 800; font-size: 19px; letter-spacing: -.02em; white-space: nowrap; color: var(--ink); }
.disc-card--best .disc-sum b { color: var(--tone); } /* цветом выделена только самая выгодная карточка */
.disc-card--best { border: 2px solid var(--tone); background: color-mix(in srgb, var(--tone) 5%, #fff); box-shadow: 0 24px 50px -36px color-mix(in srgb, var(--tone) 80%, #000); }
.disc-best { display: inline-flex; align-items: center; margin-left: 8px; padding: 4px 10px; border-radius: 999px; background: var(--tone); color: #fff; font-family: var(--font-body); font-size: 11.5px; font-weight: 700; letter-spacing: .02em; vertical-align: 3px; }
.disc-sum s { font-size: 13px; font-weight: 600; color: var(--muted-2); white-space: nowrap; }
.disc-card--best .disc-sum s { text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; }
.offer-terms { margin: 10px 0 0; font-size: 12.5px; color: var(--on-dark-muted); }
.offer--light .offer-terms { color: var(--muted-2); }

/* ===== Цена ===== */
.price-block { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: stretch; }
.price-headline { display: flex; flex-direction: column; align-items: flex-start; background: var(--ink); color: #fff; border-radius: 20px; padding: 32px; }
.price-headline .cap { color: var(--on-dark-muted); }
.price-headline-amount { font-family: var(--font-heading); font-weight: 800; font-size: 40px; line-height: 1.05; letter-spacing: -.03em; margin: 0 0 12px; }
.price-headline-note { font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.66); margin: 0 0 22px; }
.price-headline .cta { margin-top: auto; }
.tariffs { display: grid; gap: 14px; }
.tariffs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tariffs--wide { max-width: 860px; }
.tariff { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.tariff--accent { border-color: color-mix(in srgb, var(--tone) 45%, #fff); box-shadow: 0 18px 40px -30px color-mix(in srgb, var(--tone) 80%, transparent); }
.tariff-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.tariff-name { font-family: var(--font-heading); font-weight: 700; font-size: 17px; margin: 0; }
.tariff-price { font-family: var(--font-heading); font-weight: 800; font-size: 20px; color: var(--tone, var(--ink)); margin: 0; white-space: nowrap; }
.tariff-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.tariff-list li { position: relative; padding-left: 24px; }
.tariff-list li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 11px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.tariff-list .tariff-inherit { color: var(--ink); font-weight: 600; }
.price-extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.price-extra { padding: 22px 24px; border-radius: 20px; background: var(--soft); border: 1px solid var(--line); }
.price-extras--page .price-extra { background: #fff; }
.price-extra-title { font-family: var(--font-heading); font-weight: 700; font-size: 16px; margin: 0 0 12px; }
.addons { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.addons li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.addons li:first-child { border-top: 0; padding-top: 0; }
.addons small { display: block; font-size: 13px; color: var(--muted-2); margin-top: 2px; }
.addons b { font-family: var(--font-heading); white-space: nowrap; }

/* ===== Выбор повода ===== */
.occ-pick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.occ-pick { display: flex; flex-direction: column; gap: 10px; background: var(--soft); border-radius: var(--radius); padding: 22px; border-top: 3px solid var(--tone); text-decoration: none; color: inherit; min-height: 190px; transition: background .2s ease, transform .2s ease; }
.occ-pick:hover { background: color-mix(in srgb, var(--tone) 7%, #faf9f8); color: inherit; }
.occ-pick h3 { font-family: var(--font-heading); font-weight: 700; font-size: 18px; line-height: 1.3; margin: 0; }
.occ-pick-more { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--tone); }

.occ-list { display: flex; flex-direction: column; gap: 18px; }
.occ-list-row { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; padding-left: 16px; border-left: 3px solid var(--tone); }
.occ-list-title { font-family: var(--font-heading); font-weight: 700; font-size: 17px; margin: 0; }
.occ-list-title a { color: inherit; text-decoration: none; }
.occ-list-title a:hover { color: var(--tone); }
.sub a { color: inherit; }

/* Страница повода в городе: Мафия и Бункер крупными карточками (mt_render_focus_games). */
.focus-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.focus-card { display: grid; grid-template-columns: 200px minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.focus-media { display: block; min-height: 100%; background: color-mix(in srgb, var(--tone) 12%, #fff); }
.focus-media img, .focus-media .cover-art { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
.focus-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.focus-kick { margin: 0; color: var(--tone); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.focus-name { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 24px; line-height: 1.15; }
.focus-name a { color: inherit; text-decoration: none; }
.focus-body .body { margin: 0; }
.focus-facts { margin: 0; font-size: 14px; color: var(--muted); }
.focus-actions { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.focus-actions .text-link { margin-top: 0; }
@media (max-width: 1080px) { .focus-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .focus-card { grid-template-columns: minmax(0, 1fr); }
  .focus-media { height: 180px; }
  .focus-body { padding: 18px; }
  .focus-name { font-size: 21px; }
}

/* ===== Кросс-линки ===== */
.game-chip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.game-chip { display: flex; flex-direction: column; gap: 4px; background: #fff; border-radius: 16px; padding: 0 16px 16px; overflow: hidden; border-top: 3px solid var(--tone); border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .2s ease; }
.game-chip:hover { color: inherit; }
.game-chip-media { display: block; aspect-ratio: 16 / 9; margin: 0 -16px 12px; overflow: hidden; }
.game-chip-media > img, .game-chip-media > .cover-art { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; border-radius: 0; transition: transform .2s cubic-bezier(.23,1,.32,1); }

.game-chip-media .cover-art-name, .bundle-media .cover-art-name { display: none; }
.game-chip-name { font-family: var(--font-heading); font-weight: 700; font-size: 16px; }
.game-chip-price { font-size: 13px; font-weight: 600; color: var(--tone); }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 16px; background: #f1efed; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; transition: background .2s ease, color .2s ease; }
.chip:hover { background: var(--ink); color: #fff; }
.chip-strong { background: var(--ink); color: #fff; }
.chip-strong:hover { background: var(--color-accent); }
.city-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.where-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.where-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.where-card h2, .where-card h3 { font-family: var(--font-heading); font-weight: 700; font-size: 17px; margin: 0 0 8px; }
.where-card h2 a, .where-card h3 a { color: var(--ink); text-decoration: none; }
.where-card h2 a:hover, .where-card h3 a:hover { color: var(--color-accent); }
.where-links { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; }
.where-links a { color: var(--muted); }
.where-links a:hover { color: var(--color-accent); }

/* ===== Процесс / чек-лист ===== */
.check-list { display: flex; flex-direction: column; gap: 14px; list-style: none; margin: 0; padding: 0; }
.school-price { margin: 14px 0 18px; font-size: 15px; color: var(--ink-2); }
.school-price b { font-family: var(--font-heading); font-weight: 800; font-size: 28px; color: var(--g-dan); }
.school-price s { margin-right: 6px; color: var(--muted-2); text-decoration-color: var(--color-accent); }
.check-item { display: flex; gap: 12px; align-items: flex-start; }
.check-item svg { flex: 0 0 auto; margin-top: 3px; }

/* ===== Статья об игре ===== */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.article { max-width: 72ch; }
.article-side { position: sticky; top: 140px; }
.side-card { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-facts { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; color: var(--muted); }
.side-facts b { color: var(--ink); font-weight: 700; }

/* ===== Таблицы ===== */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
.cmp th, .cmp td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); background: var(--soft); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: none; }
.cmp td:nth-child(2), .cmp td:nth-child(3) { white-space: nowrap; }
.cmp tbody th a { font-family: var(--font-heading); font-weight: 700; color: var(--ink); text-decoration: none; }
.cmp tbody th a:hover { color: var(--color-accent); }

/* ===== Контакты ===== */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 20px; }
.contact-card { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact-big { display: inline-block; font-family: var(--font-heading); font-weight: 700; font-size: 22px; color: var(--ink); text-decoration: none; margin-bottom: 8px; overflow-wrap: anywhere; }
.contact-big:hover { color: var(--color-accent); }

/* ===== Финальный CTA ===== */
.final-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.final-cta .h2 { font-size: 30px; }
.final-text { font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,.68); margin: 0 0 20px; }
.final-messengers { display: flex; gap: 8px; margin-bottom: 14px; }
.final-tel { font-family: var(--font-heading); font-weight: 700; font-size: 20px; color: #fff; text-decoration: none; }
.final-tel:hover { color: #fff; opacity: .85; }

/* ===== Cookie-баннер ===== */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--ink); color: #fff; padding: 16px var(--edge); display: flex; align-items: center; justify-content: space-between; gap: 24px; box-shadow: 0 -10px 30px rgba(0,0,0,.18); }
.cookie-bar[hidden] { display: none; }
.cookie-bar-text { font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.86); margin: 0; max-width: 760px; }
.cookie-bar-text a { color: #fff; }

/* ===== Footer ===== */
.foot { background: var(--ink); color: #fff; }
.foot-top { padding: 44px var(--edge) 36px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.foot-brand { display: flex; flex-direction: column; gap: 16px; }
.foot-brand .brand { color: #fff; }
.foot-identity { display: flex; align-items: center; gap: 10px; }
.foot-about { font-size: 14px; line-height: 1.5; color: var(--on-dark-muted); margin: 0; max-width: 34ch; }
.foot-contact { display: flex; flex-direction: column; gap: 6px; }
.foot-tel { font-family: var(--font-heading); font-weight: 700; font-size: 18px; color: #fff; text-decoration: none; white-space: nowrap; }
.foot-tel:hover { color: #fff; opacity: .85; }
.foot-email { font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,.86); text-decoration: none; }
.foot-email:hover { color: #fff; }
.foot-hours { display: flex; align-items: center; gap: 8px; margin: 2px 0 0; font-size: 13.5px; color: var(--on-dark-muted); }
.foot-hours i { width: 7px; height: 7px; border-radius: 999px; background: #2fbf71; flex: 0 0 auto; display: inline-block; }
.foot-social { display: flex; align-items: center; gap: 8px; }
.foot-social-link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; }
.foot-social-link:hover { background: rgba(255,255,255,.18); color: #fff; }
.foot-nav { display: flex; flex-direction: column; gap: 10px; }
.foot-nav-title { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); margin: 0 0 4px; }
.foot-nav a { font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,.86); text-decoration: none; padding: 2px 0; }
.foot-nav a:hover { color: #fff; }
.foot-bottom { padding: 16px var(--edge) 22px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12.5px; color: var(--on-dark-muted); flex-wrap: wrap; }
.foot-legal { display: flex; flex-direction: column; gap: 4px; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a { color: var(--on-dark-muted); text-decoration: none; }
.foot-links a:hover { color: #fff; }

/* ===== Шапка секции: заголовок слева, действие справа ===== */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.sec-head .sub { margin-bottom: 0; }
.sec-head .h2 { margin-bottom: 10px; }
.sec-head > .cta { flex-shrink: 0; }

/* Тёмные секции: зерно + мягкие цветные подсветки вместо плоской заливки */
.sec-grain { position: relative; isolation: isolate; overflow: hidden; }
.sec-grain::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(169,37,35,.18), transparent 60%),
    radial-gradient(50% 70% at 100% 100%, rgba(123,53,201,.16), transparent 60%);
}
.sec-grain::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .09;
  background-image: 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%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Шкала шагов: номера на общей линии, у каждого шага — иконка и текст ===== */
.timeline { --marker: 56px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); gap: 20px; position: relative; }
.timeline::before { content: ""; position: absolute; left: calc(var(--marker) / 2); right: calc(var(--marker) / 2); top: calc(var(--marker) / 2 - 1px); height: 2px; background: linear-gradient(90deg, var(--g-maf), var(--g-log), var(--g-shp), var(--g-eli)); opacity: .5; transform-origin: left center; }
.tl-step { position: relative; display: flex; flex-direction: column; gap: 18px; }
.tl-marker { position: relative; z-index: 1; display: grid; place-items: center; width: var(--marker); height: var(--marker); border-radius: 50%; background: #fff; border: 2px solid var(--tone); box-shadow: 0 0 0 6px #fff; }
.tl-num { font-family: var(--font-heading); font-weight: 800; font-size: 15px; color: var(--tone); font-variant-numeric: tabular-nums; }
.tl-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.tl-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 13px; background: color-mix(in srgb, var(--tone) 13%, transparent); color: var(--tone); }
.tl-title { font-family: var(--font-heading); font-weight: 600; font-size: 17px; line-height: 1.3; margin: 0; }
.tl-text { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0; text-wrap: pretty; }
.timeline--dark .tl-marker { background: var(--ink); box-shadow: 0 0 0 6px var(--ink), 0 0 26px color-mix(in srgb, var(--tone) 45%, transparent); }
.timeline--dark .tl-num { color: color-mix(in srgb, var(--tone) 55%, #fff); }
.timeline--dark .tl-body { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.09); }
.timeline--dark .tl-icon { background: color-mix(in srgb, var(--tone) 22%, transparent); color: color-mix(in srgb, var(--tone) 55%, #fff); }
.timeline--dark .tl-title { color: #fff; }
.timeline--dark .tl-text { color: rgba(255,255,255,.68); }

/* ===== Карточки игр: шахматка из фото-карточек и карточек в цвете игры ===== */
.games-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.games-more { margin: 24px 0 0; text-align: center; }
.gcard { --tone: var(--color-accent); position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: 320px; border-radius: 20px; }
.gcard-body { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; gap: 9px; padding: 18px 18px 16px; }
.gcard .body { font-size: 13.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gcard .gname { font-size: 19px; }
.gcard .gcard-facts { font-size: 12.5px; }
.gcard .gcard-actions { gap: 10px 16px; }
.gcard-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; min-height: 28px; }
.gcard--photo .gcard-top { justify-content: flex-end; }
.gi { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 13px; background: color-mix(in srgb, var(--tone, var(--color-accent)) 14%, #fff); color: var(--tone, var(--color-accent)); }
.gname { font-family: var(--font-heading); font-weight: 700; font-size: 22px; letter-spacing: -.015em; margin: 0 0 6px; }
.gname a { color: inherit; text-decoration: none; }
.gname a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.gcard-actions, .gcard-actions a { position: relative; z-index: 1; }
.gcard-facts { font-size: 13.5px; font-weight: 600; color: var(--muted-2); margin: 0; }
.meters { display: flex; gap: 16px; }
.meter-col { flex: 1; }
.meter-lbl { font-size: 11px; color: var(--muted-2); margin: 0 0 5px; }
.meter { height: 5px; background: rgba(22,18,15,.1); border-radius: 999px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--tone); }
.gcard-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 4px; }
.gcard-more { font-size: 14px; font-weight: 700; text-decoration: none; color: var(--ink); }
.gcard-more:hover { color: var(--tone); }
.hit { background: var(--brand-red-bright); color: #fff; font-family: var(--font-heading); font-weight: 800; letter-spacing: .12em; border: 1px solid #e0574b; box-shadow: 0 0 12px rgba(211,51,47,.45); }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 12px; margin: 0; border-radius: 999px; font-size: 12.5px; font-weight: 600; }

.gcard--plain { background: color-mix(in srgb, var(--tone) 6%, #fff); border: 1px solid color-mix(in srgb, var(--tone) 16%, #fff); }
/* Текст в обоих типах карточек прижат к низу — в ряду фото + цвет заголовки,
   шкалы и кнопки стоят на одной линии. */
.gcard .gcard-text { margin-top: auto; }
.gcard-watermark { position: absolute; right: -28px; top: -24px; z-index: 0; color: var(--tone); opacity: .09; transform: rotate(-12deg); pointer-events: none; }
.gcard-watermark svg { width: 170px; height: 170px; }

.gcard--photo { background: #120e0c; color: #fff; }
.gcard-media { position: absolute; inset: 0; z-index: -1; }
.gcard-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform .2s cubic-bezier(.23,1,.32,1); }
.gcard-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,14,12,.15) 0%, rgba(18,14,12,.35) 38%, rgba(18,14,12,.93) 78%); }
.gcard--photo .gi { background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.gcard--photo .body { color: rgba(255,255,255,.78); }
.gcard--photo .gcard-facts, .gcard--photo .meter-lbl { color: var(--on-dark-muted); }
.gcard--photo .meter { background: rgba(255,255,255,.18); }
.gcard--photo .gcard-more { color: #fff; }


/* ===== Оформленная обложка игры (когда нет фото) ===== */
.cover-art { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; padding: 22px; border-radius: var(--radius); color: #fff;
  background:
    radial-gradient(110% 90% at 85% 15%, color-mix(in srgb, var(--tone) 75%, transparent), transparent 62%),
    radial-gradient(80% 80% at 0% 100%, color-mix(in srgb, var(--tone) 35%, transparent), transparent 60%),
    #14100d; }
.cover-art::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .12;
  background-image: 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%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.cover-art-icon { position: absolute; right: 8%; top: 50%; transform: translateY(-50%) rotate(-10deg); color: color-mix(in srgb, var(--tone) 45%, #fff); filter: drop-shadow(0 0 28px var(--tone)); }
.cover-art-icon svg { display: block; width: clamp(64px, 30%, 180px); height: auto; aspect-ratio: 1; }
.cover-art-name { position: relative; font-family: var(--font-heading); font-weight: 800; font-size: 24px; letter-spacing: -.02em; }
.game-cover { display: block; width: 100%; object-fit: cover; object-position: center 40%; }

/* ===== Собираем вечер ===== */
.offer-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 26px; }
.offer-text { font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,.68); margin: 0; max-width: 58ch; }
.offer-price { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.offer-old { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 17px; line-height: 1.1; color: var(--on-dark-muted); }
.offer-old s { text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; }
.offer-now { margin: 4px 0 0; font-family: var(--font-heading); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -.03em; color: #fff; }
.offer-per { margin: 8px 0 18px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.7); }
.offer--light .offer-text { color: var(--muted); }
.offer--light .offer-old { color: var(--muted-2); }
.offer--light .offer-now { color: var(--color-accent); text-shadow: none; }
.offer--light .offer-per { color: var(--muted); }
.offer--light .bundle-card { background: #fff; border-color: var(--line); }
.offer--light .bundle-name a { color: var(--ink); }
.offer--light .bundle-desc { color: var(--muted); }
.offer--light .bundle-time { color: var(--tone); }
.offer-note { margin: 0 0 4px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.08); font-size: 14px; font-weight: 600; color: #fff; }
.bundle-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.bundle-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09); }
.bundle-media { height: 132px; overflow: hidden; }
.bundle-media > img, .bundle-media > .cover-art { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; border-radius: 0; }
.bundle-body { padding: 22px 24px 26px; }
.bundle-time { font-family: var(--font-heading); font-weight: 800; font-size: 15px; margin: 0 0 12px; color: color-mix(in srgb, var(--tone) 50%, #fff); }
.bundle-name { font-family: var(--font-heading); font-weight: 600; font-size: 20px; margin: 0 0 8px; }
.bundle-name a { color: #fff; text-decoration: none; }
.bundle-name a:hover { text-decoration: underline; }
.bundle-desc { font-size: 14.5px; line-height: 1.5; color: var(--on-dark-muted); margin: 0; }

/* ===== Отзывы (виджет MyReviews) ===== */
/* Отзывы текстом над виджетом (тёмная секция) и блок клиентов (2026-10-15). */
.rev-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 0 0 28px; }
.rev-card { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.rev-text { margin: 0; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.9); }
.rev-who { margin: auto 0 0; font-size: 13px; color: var(--on-dark-muted); }
.rev-who b { display: block; color: #fff; font-weight: 700; }
.rev-who span { display: block; margin-top: 2px; }
.reviews-widget { display: flex; justify-content: center; min-height: 440px; border-radius: 20px; }
.reviews-widget iframe { display: block; width: 100%; max-width: 1170px; min-height: 440px; border: 0; outline: none; padding: 0; margin: 0; }

/* ===== Страница «Города» ===== */
.city-index { columns: 4 190px; column-gap: 32px; }
.city-index-group { break-inside: avoid; margin-bottom: 20px; }
.city-index-letter { font-family: var(--font-heading); font-weight: 800; font-size: 18px; color: var(--color-accent); margin: 0 0 6px; }
.city-index ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.city-index a { font-size: 15px; color: var(--ink); text-decoration: none; }
.city-index a:hover { color: var(--color-accent); }
.foot-nav a.foot-more { color: #fff; font-weight: 700; }

/* ===== Микроанимация (прогрессивное улучшение, без влияния на CLS) ===== */
@media (prefers-reduced-motion: no-preference) {
  .live:not(.live--off) i { animation: pulsedot 1.6s ease-in-out infinite; }
  .faq-i[open] .faq-a { animation: fadein .18s cubic-bezier(.23,1,.32,1) both; }
}
@keyframes pulsedot { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-property: color, background-color, border-color, opacity !important; transition-duration: .15s !important; transition-delay: 0s !important; animation: none !important; }
  .cta:active, .nav-chevron, .pill-chevron { transform: none !important; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .msg:hover { transform: translateY(-1px); }
  .gal-item:hover .gal-img { transform: scale(1.03); }
  .game-chip:hover .game-chip-media > * { transform: scale(1.05); }
  .gcard--photo:hover .gcard-media img { transform: scale(1.04); }
  .cert-promo-visual:hover { transform: rotate(-1deg) translateY(-3px); }
  .occ, .game-chip, .city-card, .occ-pick { transition: transform .2s cubic-bezier(.23,1,.32,1), box-shadow .2s ease, background .2s ease, border-color .2s ease; }
  .city-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -20px rgba(22,18,15,.5); }
  .occ:hover .occ-photo { transform: scale(1.05); }
  .game-chip:hover, .occ-pick:hover { transform: translateY(-2px); }
}

/* ===== Планшет ===== */
@media (max-width: 1080px) {
  .hdr-t .tel-hours { display: none; }
  .nav-link { padding: 0 8px; font-size: 13.5px; }
  .nd-grid--games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nd-grid--cities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .article-grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 36px; }
  }

/* ===== Мобильные (≤ 860px), проверено на 360 / 768 ===== */
@media (max-width: 860px) {
  :root { --edge: 20px; }
  [id] { scroll-margin-top: 80px; }

  .hdr-t { padding: 10px 16px; gap: 8px; }
  .hdr-side { gap: 8px; }
  .tel-block, .msg-row { display: none; }
  .burger { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; background: #f5f4f3; border: 1px solid #e6e4e2; cursor: pointer; flex: 0 0 auto; color: var(--ink); }
  .hdr-b { display: none; }
  .hdr.nav-open .hdr-b { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 6px 20px 18px; }
  .hdr.nav-open .hdr-b { max-height: calc(100dvh - 64px); overflow-y: auto; }
  .hdr.nav-open .hdr-nav { flex-direction: column; align-items: stretch; gap: 0; }
  .hdr.nav-open .nav-link { width: 100%; justify-content: space-between; height: 48px; padding: 0 2px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .hdr.nav-open .nav-link.on { border-bottom-color: var(--color-accent); }
  .nav-drop { position: static; padding: 0; display: none; opacity: 1; visibility: visible; transform: none; transition: none; pointer-events: auto; }
  .nav-item.open .nav-drop { display: block; }
  .nav-drop-in, .nav-drop-in:has(.nd-grid--occ) { flex-direction: column; gap: 12px; border: 0; border-radius: 0; box-shadow: none; padding: 10px 0 16px; }
  .nd-grid--games { grid-template-columns: 1fr; gap: 2px; }
  .nd-game { padding: 8px 4px; }
  .nd-ico { flex-basis: 38px; height: 38px; }
  .nd-side { flex: none; padding: 4px 4px 0; border-left: 0; }
  .nd-grid--occ { grid-template-columns: 1fr 1fr; gap: 8px; }
  .nd-grid--cities { grid-template-columns: 1fr 1fr; }
  .hdr.nav-open .hdr-mobile-contacts { display: flex; flex-direction: column; gap: 2px; padding-top: 6px; }
  .cta.cta-hdr { height: 46px; font-size: 15px; }
  .brand { font-size: 15px; }
  #mt-city-trigger { max-width: 128px; gap: 5px; padding: 0 10px; }
  #mt-city-trigger-label { max-width: 72px; }
  .city-dropdown { position: fixed; left: 12px; right: 12px; top: 64px; width: auto; max-width: none; transform-origin: top center; }
  .city-list { max-height: 50vh; }
  .city-grid { grid-template-columns: repeat(2, 1fr); }

  .sec { padding: 40px 20px; }
  .h2 { font-size: 23px; }
  .h3 { font-size: 17px; margin-top: 28px; }
  .sub { font-size: 14px; margin-bottom: 22px; }
  .crumb-wrap { padding-top: 18px; }

  .hero { padding: 26px 20px 34px; grid-template-columns: 1fr; gap: 22px; }
  .hero h1 { font-size: 29px; }
  .hero-sub { font-size: 16px; margin-bottom: 20px; }
  .hero-media { margin-top: 0; }
  .hero-photo { min-height: 0; }
  .lead-form { flex-direction: column; max-width: none; }
  .lead-form .cta { width: 100%; }

  .page-hero { padding: 12px 20px 36px; grid-template-columns: 1fr; gap: 24px; }
  .page-hero h1, .page-head h1 { font-size: 27px; }
  .page-hero-sub { font-size: 16px; margin-bottom: 20px; }
  .page-hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .page-hero-stats--col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-hero-stat { padding: 12px 12px; }
  .page-hero-stat dt { font-size: 9.5px; letter-spacing: .08em; }
  .page-hero-stat dd { font-size: 14.5px; }
  .page-head { padding: 12px 20px 26px; }

  .games-grid, .bundle-cards, .price-block, .about-game-grid, .final-grid, .article-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .st { padding: 12px; }
  .st dd { font-size: 17px; white-space: normal; }
  .st dt { font-size: 11.5px; }
  .occ-grid { display: flex; grid-template-columns: none; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; margin: 0 -20px; padding: 0 20px 4px; scrollbar-width: none; }
  .occ-grid::-webkit-scrollbar { display: none; }
  .occ { flex: 0 0 68%; scroll-snap-align: start; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 10px; }
  .g-span2x2, .g-span-col2 { grid-column: span 2; }
  .g-span2x2 { grid-row: span 2; }
    .occ-list-row { grid-template-columns: 1fr; gap: 10px; }
  .occ-pick { min-height: 0; padding: 18px; }
  .media-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 150px 150px; gap: 10px; }
  .mm-1 { grid-column: 1 / 3; grid-row: 1; }
  .mm-0 { grid-column: 1; grid-row: 2 / 4; }
  .mm-3 { grid-column: 2; grid-row: 2; }
  .mm-4 { grid-column: 2; grid-row: 3; }
  .mm-2 { display: none; }
  .price-headline { padding: 24px; }
  .price-headline-amount { font-size: 32px; }
  .article-side { position: static; }
  .faq-q { font-size: 16px; }
  .gallery-head, .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .faq-card { flex-direction: column; align-items: flex-start; padding: 20px; }
  .faq-card-actions { justify-content: flex-start; }
  .tariffs--2, .price-extras { grid-template-columns: 1fr; }
  .tariff { padding: 20px; }
  .final-cta .h2 { font-size: 24px; }
  .text-link + .text-link { margin-left: 0; display: block; }
  .err-code { font-size: 84px; }
  .err-hero { padding: 40px 20px 36px; }
  .err-hero h1 { font-size: 27px; }
  .err-games { grid-template-columns: 1fr; }

  .cookie-bar { padding: 14px 20px; flex-direction: column; align-items: stretch; gap: 10px; }
  .cookie-bar-text { max-width: none; font-size: 13px; }
  .foot-top { grid-template-columns: 1fr 1fr; padding: 30px 20px 24px; gap: 26px 16px; }
  .foot-brand { grid-column: 1 / -1; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .foot-bottom { padding: 16px 20px 24px; flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .timeline::before { animation: tl-draw linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
  }
}
@keyframes tl-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 860px) {
  .timeline { --marker: 46px; grid-template-columns: 1fr; gap: 14px; }
  .timeline::before { left: calc(var(--marker) / 2 - 1px); right: auto; top: 24px; bottom: 24px; width: 2px; height: auto; background: linear-gradient(180deg, var(--g-maf), var(--g-log), var(--g-shp), var(--g-eli)); animation: none; transform: none; }
  .tl-step { flex-direction: row; align-items: flex-start; gap: 14px; }
  .tl-marker { flex: 0 0 var(--marker); }
  .tl-num { font-size: 13px; }
  .tl-body { padding: 18px 18px 20px; }
  .tl-icon { width: 38px; height: 38px; }
  .gcard { min-height: 0; }
  .gcard--photo { min-height: 340px; }
  .gcard-body { padding: 22px 20px 20px; }
  .gname { font-size: 21px; }
  .bundle-body { padding: 18px 20px 22px; }
  .offer-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  /* Цена «от 5 400 ₽» не переносится (неразрывные пробелы) — третьей колонке её ширину. */
  .hero--city .hero-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; }
  @media (max-width: 400px) { /* три в ряд не влезают — две, цена на всю ширину */
    .hero--city .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero--city .hero-stats .st:last-child { grid-column: 1 / -1; }
  }
  .hero--city .st { padding: 12px; }
  .hero--city .st dd { font-size: 17px; white-space: normal; }
  .offer-price { align-items: flex-start; text-align: left; }
  .offer-now { font-size: 32px; }
  .reviews-widget, .reviews-widget iframe { min-height: 380px; }
  .city-index { columns: 2; column-gap: 20px; }
}

@media (max-width: 370px) {
  .brand { display: none; }
  .hero h1 { font-size: 26px; }
  .page-hero h1, .page-head h1 { font-size: 24px; }
  .page-hero-stat dd { font-size: 13px; }
}

/* ===== Мобильная версия: правки по iPhone 16 (393px), 2026-10-01 ===== */
@media (max-width: 860px) {
  /* Сетки первого экрана не должны раздуваться по самому широкому ребёнку
     (вкладки формы распирали страницу до 448px — телефон уменьшал всю страницу). */
  .hero, .page-hero { grid-template-columns: minmax(0, 1fr); }

  /* Блоки, которые на десктопе в строку, а здесь в столбик: flex-basis
     превращался в высоту (пустота в «Не нашли свой вопрос?», флаг ниже поля). */
  .faq-card-text { flex: 0 0 auto; }
  .lead-form .contact-field { flex: 0 0 auto; }

  /* Вкладки способа связи: 4 равные ячейки, значок над подписью — всегда в один ряд. */
  .lead-form .contact-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .lead-form .contact-tab { min-width: 0; }
  .lead-form .contact-tab-in { width: 100%; height: auto; min-height: 54px; flex-direction: column; justify-content: center; gap: 4px; padding: 7px 2px; font-size: 12px; border-radius: 12px; text-align: center; }
  .lead-form .contact-tab-in svg, .lead-form .contact-tab-in img { width: 18px; height: 18px; }

  /* Первый экран главной и хабов: без фото — заголовок, описание, карточки преимуществ, заявка. */
  .hero { display: flex; flex-direction: column; gap: 0; }
  /* Хаб: на десктопе align-items: start, а в столбике это сжимало форму до ширины
     содержимого — она стояла слева, а не на всю ширину. */
  .hero--city { align-items: stretch; }
  .hero > div:first-child, .hero-media { display: contents; }
  .hero-photo, .hero-figure { display: none; }
  .hero-stats { order: 1; margin: 2px 0 22px; }
  .hero .lead-form, .hero .lead-status, .hero .lead-consent, .hero .hero-note, .hero .trust { order: 2; }

  /* «Об игре»: на телефоне без обложки. */
  .page-hero-aside .page-hero-photo { display: none; }

  /* Карточки игр: по две в ряд, только главное (название, факты, кнопка). */
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gcard, .gcard--photo { min-height: 210px; border-radius: 16px; }
  .gcard-body { gap: 6px; padding: 12px 12px 12px; }
  .gcard .body, .gcard .meters, .gcard-more, .gcard-watermark { display: none; }
  .gcard .gname { font-size: 16px; line-height: 1.15; }
  .gcard .gcard-facts { font-size: 11.5px; line-height: 1.35; }
  .gcard-top { min-height: 0; }
  .gcard .gi { width: 34px; height: 34px; }
  .gcard .tag.hit { font-size: 10px; padding: 3px 8px; }
  .gcard .gcard-actions { margin-top: 2px; }
  .gcard-off-x, .gcard.is-off .gcard-mobile-facts { display: none; }
  .gcard .gcard-actions .cta { width: 100%; height: 36px; padding: 0 10px; font-size: 13px; }

  /* Спецпредложение: игры строками — значок слева, текст справа. */
  .bundle-cards { gap: 8px; }
  .bundle-card { flex-direction: row; align-items: center; border-radius: 16px; }
  .bundle-media { flex: 0 0 76px; height: 76px; }
  .bundle-body { padding: 10px 14px; }
  .bundle-time { font-size: 12px; margin: 0 0 4px; }
  .bundle-name { font-size: 16px; margin: 0 0 2px; }
  .bundle-desc { font-size: 13px; }
}
@media (max-width: 860px) {
  /* Цена в первом экране игры — на всю ширину под двумя карточками: в трети экрана «от 4 900 ₽/ч» рвалась по слогам. */
  .page-hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero-stats .page-hero-stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  /* Одноколоночные сетки: десктопный промежуток 48px на телефоне выглядел дырой (блок HR, «Коротко об игре», финальная форма). */
  .about-game-grid, .final-grid, .article-grid, .contact-grid { gap: 28px; }
  /* Текстовые ссылки ~22px высотой — расширяем область нажатия до ~42px, не двигая вёрстку. */
  .text-link, .gal-more, .final-tel, .tel-big, .contact-big, .where-card h3 a, .where-links a { position: relative; }
  .text-link::after, .gal-more::after, .final-tel::after, .tel-big::after, .contact-big::after, .where-card h3 a::after { content: ""; position: absolute; inset: -10px -6px; }
  .where-links a::after { content: ""; position: absolute; inset: -5px -6px; }
  /* Самые мелкие подписи. */
  .page-hero-stat dt { font-size: 10.5px; letter-spacing: .06em; }
  .kick { font-size: 11px; }
}

@media (max-width: 860px) {
  /* Все игры и тарифы видны сразу — без скрытой горизонтальной прокрутки. */
  .disc-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; }
  .disc-filter { width: 100%; min-height: 44px; height: auto; padding: 10px 8px; font-size: 12px; white-space: normal; }
  .disc-grid { grid-template-columns: 1fr; gap: 10px; }
  .disc-card { padding: 14px 14px 4px; }
}

/* ===== Подарочный сертификат (inc-certificate.php) =====
   Макет-«билет» 1.414:1: слева игра и что входит, справа отрывной корешок.
   Шрифты в cqw — один макет и крупно в конструкторе, и миниатюрой в промо. */
.cert { --tone: #A92523; container-type: inline-size; position: relative; display: grid; grid-template-columns: 1fr 27%; aspect-ratio: 1.414 / 1; border-radius: 18px; overflow: hidden; color: #fff; isolation: isolate;
  background: radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--tone) 50%, transparent), transparent 60%), radial-gradient(70% 90% at 0% 100%, color-mix(in srgb, var(--tone) 20%, transparent), transparent 70%), #231F1E;
  box-shadow: 0 30px 60px -34px rgba(20,16,14,.75); }
/* Знак MT из брендбука — крупный водяной знак за текстом. */
.cert::after { content: ""; position: absolute; right: 24%; bottom: -21cqw; z-index: -1; width: 62cqw; aspect-ratio: 1401.6 / 620; opacity: .06; pointer-events: none;
  background: url("assets/img/mt-mark-white.svg") no-repeat center / contain; }
.cert-main { display: flex; flex-direction: column; padding: 6cqw 5cqw 4.6cqw 6cqw; min-width: 0; }
.cert-brand { margin: 0; line-height: 0; }
.cert-logo { display: block; width: auto; height: 5.4cqw; }
.cert-kick { margin: 5cqw 0 1cqw; font-size: 1.9cqw; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: color-mix(in srgb, var(--tone) 50%, #fff); }
.cert-game { margin: 0; font-family: var(--font-heading); font-weight: 800; font-size: 8.4cqw; line-height: .98; letter-spacing: -.035em; }
.cert-sub { margin: 1.6cqw 0 0; font-size: 2.3cqw; font-weight: 600; color: rgba(255,255,255,.78); }
.cert-inc { list-style: none; margin: 3.4cqw 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1cqw 3cqw; font-size: 1.95cqw; line-height: 1.3; color: rgba(255,255,255,.86); }
.cert-inc li { position: relative; padding-left: 2.4cqw; }
.cert-inc li::before { content: ""; position: absolute; left: 0; top: .55em; width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: var(--tone); box-shadow: 0 0 1.4cqw var(--tone); }
.cert-foot { display: flex; flex-wrap: wrap; gap: .6cqw 2.6cqw; margin: auto 0 0; padding-top: 3cqw; font-size: 1.7cqw; color: var(--on-dark-muted); }
.cert-stub { position: relative; display: flex; flex-direction: column; padding: 6cqw 3.6cqw 4.6cqw; border-left: .3cqw dashed rgba(255,255,255,.28); background: rgba(255,255,255,.03); }
.cert-stub::before, .cert-stub::after { content: ""; position: absolute; left: -2.2cqw; width: 4.4cqw; height: 4.4cqw; border-radius: 50%; background: var(--cert-hole, #fff); }
.cert-stub::before { top: -2.2cqw; }
.cert-stub::after { bottom: -2.2cqw; }
.cert-icon { display: flex; justify-content: center; margin: 0 0 auto; color: color-mix(in srgb, var(--tone) 45%, #fff); filter: drop-shadow(0 0 3cqw var(--tone)); transform: rotate(-8deg); }
.cert-icon svg { width: 13cqw; height: 13cqw; }
.cert-field { display: flex; align-items: flex-end; gap: 1.2cqw; margin: 2.6cqw 0 0; font-size: 1.6cqw; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.cert-field i { flex: 1; border-bottom: .2cqw solid rgba(255,255,255,.35); height: 2.2cqw; }
.cert-contact { margin: 3cqw 0 0; font-size: 1.7cqw; font-weight: 700; color: rgba(255,255,255,.75); white-space: nowrap; }
.cert-field i { font-style: normal; font-size: 1.9cqw; font-weight: 600; letter-spacing: 0; text-transform: none; line-height: 2.2cqw; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sec-soft .cert, .cert-promo .cert { --cert-hole: var(--soft); }
.gift { text-align: center; }
.gift-title { margin: 6px 0 28px; }
.gift-ticket { max-width: 820px; margin: 0 auto; text-align: left; --cert-hole: #fff; }
.gift-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 28px 0 0; }
.gift-note { max-width: 560px; margin: 18px auto 0; color: var(--muted); }
@media print {
  @page { size: A4 landscape; margin: 12mm; }
  .hdr, .foot, .cookie-bar, .final-cta, .gift-actions, .gift-note, .gift .kick, .gift-title { display: none !important; }
  .gift { padding: 0; }
  .gift-ticket { max-width: none; }
  .cert { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Страница /sertifikat/ */
.cert-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 0; padding: 0; }
.cert-facts li { padding: 10px 16px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.cert-facts b { color: var(--ink); }
.cert-config { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; align-items: start; }
.cert-config-preview { position: sticky; top: 130px; }
.cert-preview-details { margin-top: 16px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.cert-config-panel { display: flex; flex-direction: column; gap: 22px; }
.cert-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.cert-step-title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 0; font-family: var(--font-heading); font-weight: 700; font-size: 17px; }
.cert-step-title span { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; }
.cert-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cert-chip { position: relative; cursor: pointer; }
.cert-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cert-chip span { display: inline-flex; align-items: center; height: 40px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink); transition: border-color .15s ease, background .15s ease, color .15s ease; }
.cert-chip:hover span { border-color: #cfccc9; }
.cert-chip input:checked + span { background: var(--tone, var(--ink)); border-color: var(--tone, var(--ink)); color: #fff; }
.cert-chip input:focus-visible + span { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.cert-price { padding: 18px 20px; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); }
.cert-price-old { margin: 0; font-size: 15px; font-weight: 600; color: var(--muted-2); }
.cert-price-old[hidden] { display: none; }
.cert-price-old s { text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; }
.cert-price-now { margin: 2px 0 0; font-family: var(--font-heading); font-weight: 800; font-size: 34px; letter-spacing: -.03em; }
.cert-price-note { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.cert-order { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -36px rgba(22,18,15,.45); }
.cert-order-text { margin: -4px 0 14px; font-size: 14px; color: var(--muted); }

/* Промо-блок на других страницах */
.cert-promo { background: var(--soft); }
.cert-promo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.cert-promo-text .body + .cert-promo-price { margin-top: 18px; }
.cert-promo-price { margin: 0 0 18px; font-family: var(--font-heading); font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
.cert-promo-price span { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.cert-promo-visual { display: block; text-decoration: none; transform: rotate(-3deg); transition: transform .2s cubic-bezier(.23,1,.32,1); }

@media (prefers-reduced-motion: reduce) { .cert-promo-visual, .cert-promo-visual:hover { transform: none; transition: none; } }

@media (max-width: 860px) {
  .cert-config { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cert-config-preview { position: static; }
  .cert-promo-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .cert-promo-visual { transform: none; }
  .cert { border-radius: 12px; }
  .cert-order { padding: 18px; }
  .cert-facts li { font-size: 13px; padding: 8px 12px; }
}

/* ===== Онлайн-формат (Мафия онлайн): промо, «видеозвонок», что нужно для игры ===== */
.onl-promo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.onl-promo-lead { margin: 0 0 22px; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.72); max-width: 52ch; }
.onl-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; }
.onl-facts li { padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-size: 14px; color: rgba(255,255,255,.66); }
.onl-facts b { color: #fff; font-weight: 700; }

.onl-call { --tone: var(--g-onl); position: relative; padding: 12px; border-radius: 20px; color: #fff; border: 1px solid rgba(255,255,255,.1);
  background: radial-gradient(80% 60% at 50% 50%, color-mix(in srgb, var(--tone) 22%, transparent), transparent 75%), #1c1816;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.2); }
.onl-bar { display: flex; align-items: center; gap: 10px; padding: 2px 4px 12px; font-size: 12.5px; color: var(--on-dark-muted); min-width: 0; }
.onl-dots { display: inline-flex; gap: 5px; flex: 0 0 auto; }
.onl-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.onl-dots i:first-child { background: #e0574b; }
.onl-title { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.onl-live { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.onl-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e0574b; box-shadow: 0 0 0 3px rgba(224,87,75,.25); }
.onl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.onl-tile { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #2a2522; color: var(--on-dark-muted); }
.onl-tile:nth-child(2) { background: #23282c; }
.onl-tile:nth-child(3) { background: #2b2430; }
.onl-tile:nth-child(4) { background: #232a28; }
.onl-tile:nth-child(6) { background: #2d2724; }
.onl-tile:nth-child(7) { background: #26232e; }
.onl-tile:nth-child(8) { background: #2a2a24; }
.onl-tile:nth-child(9) { background: #22272e; }
.onl-tile svg { width: 42%; height: auto; }
.onl-tile b { position: absolute; left: 8px; bottom: 6px; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.7); }
.onl-tile--host { background: color-mix(in srgb, var(--tone) 38%, #1c1816) !important; box-shadow: inset 0 0 0 2px var(--tone), 0 0 26px -4px var(--tone); color: color-mix(in srgb, var(--tone) 35%, #fff); }
.onl-tile--host b { color: #fff; }
.onl-host-ico { display: flex; }
.onl-host-ico svg { width: 46px; height: 46px; }
.onl-ctrl { display: flex; justify-content: center; gap: 10px; padding-top: 12px; }
.onl-ctrl span { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); }
.onl-ctrl .onl-ctrl-end { background: var(--color-accent); color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .onl-live::before { animation: pulsedot 1.6s ease-in-out infinite; }
}

.onl-needs { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; }
.onl-need { padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.onl-need-ico { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--tone) 11%, #fff); color: var(--tone); }
.onl-need-title { margin: 14px 0 6px; font-family: var(--font-heading); font-weight: 700; font-size: 16px; line-height: 1.25; }
.onl-need-text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.onl-disc-title { margin: 40px 0 16px; }
.price-extras--single { grid-template-columns: minmax(0, 1fr); }
.nd-game--online { background: color-mix(in srgb, var(--tone) 7%, transparent); }

@media (max-width: 1080px) {
  .onl-needs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .onl-promo-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .onl-promo-lead { font-size: 16px; }
  .page-hero-aside .onl-call--hero { display: none; }
  .onl-need { padding: 16px; }
  .onl-disc-title { margin-top: 28px; }
}
@media (max-width: 560px) {
  .onl-needs { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .onl-need { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: start; }
  .onl-need-ico { width: 44px; height: 44px; grid-row: span 2; }
  .onl-need-title { margin: 2px 0 4px; }
  .onl-grid { gap: 6px; }
  .onl-tile b { font-size: 10px; left: 6px; bottom: 4px; }
}

/* Единый первый экран: крошки → 18px → подпись «Онлайн · ответ за 15 минут» → 14px → H1
   (page-hero, page-head, хаб города). Текст прижат к верху, а не центрирован по
   высоте фото справа — иначе отступ под крошками зависел от высоты правой колонки. */
.page-hero .hero-notices + h1, .page-head .hero-notices + h1, .hero--city .hero-notices + h1 { margin-top: 14px; }
/* Сезонный повод (Новый год): метка «Сезонное» со снежинкой — в списках, карточках и рядом с подписью «Онлайн» на странице повода. */
.season-tag { display: inline-flex; align-items: center; gap: 5px; min-height: 22px; padding: 2px 9px; margin: 0 0 0 8px; border-radius: 999px; background: #e8f1fb; color: #1f5c99; font-family: var(--font-body); font-size: 11.5px; font-weight: 700; letter-spacing: .02em; vertical-align: middle; white-space: nowrap; }
.season-tag::before { content: "❄"; font-size: 11px; line-height: 1; }
p.season-tag { min-height: 30px; padding: 4px 13px; font-size: 12.5px; }
.occ-pick > .season-tag { align-self: flex-start; margin: 0; }
.page-hero .season-tag + h1, .hero--city .season-tag + h1 { margin-top: 14px; }
/* Новый год — праздничный фон: ёлки, шары, снежинки (пользователь, 2026-10-15: «чтобы праздник ощущался»). Рисунок — inline SVG, без запросов. */
.is-season { --xmas-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg opacity='.6'%3E%3Cpath d='M30 18l12 16h-6l10 13h-7l10 13H14l10-13h-7l10-13h-6z' fill='%233f8f5a'/%3E%3Crect x='27' y='60' width='6' height='7' fill='%23855a3a'/%3E%3Cpath d='M30 12l1.6 3.4 3.7.4-2.8 2.5.8 3.6-3.3-1.9-3.3 1.9.8-3.6-2.8-2.5 3.7-.4z' fill='%23e0b23a'/%3E%3Cpath d='M100 14v12' stroke='%23c9a227' stroke-width='1.4'/%3E%3Crect x='97' y='25' width='6' height='4' rx='1' fill='%23c9a227'/%3E%3Ccircle cx='100' cy='38' r='9.5' fill='%23d92b1e'/%3E%3Cpath d='M94 35q6-4 12 0' stroke='%23fff' stroke-opacity='.5' stroke-width='1.4' fill='none'/%3E%3Crect x='59.5' y='93' width='5' height='3' rx='1' fill='%23a37f1d'/%3E%3Ccircle cx='62' cy='103' r='7' fill='%23e0b23a'/%3E%3Cg stroke='%237fb0dc' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M112 94v20M102 104h20M105 97l14 14M119 97l-14 14'/%3E%3C/g%3E%3Ccircle cx='16' cy='112' r='2' fill='%23e0b23a'/%3E%3Ccircle cx='80' cy='14' r='1.8' fill='%237fb0dc'/%3E%3Ccircle cx='128' cy='70' r='1.8' fill='%23d92b1e'/%3E%3C/g%3E%3C/svg%3E"); }
.occ-pick.is-season, .nd-occ.is-season, .occ-list-row.is-season { background-color: #f2f8f3; background-image: var(--xmas-tile); background-repeat: no-repeat; background-position: right -18px bottom -22px; background-size: 150px; }
.occ-list-row.is-season { padding: 14px 16px; border-radius: 0 14px 14px 0; }
.nd-occ.is-season { border-color: #cfe3d4; background-size: 120px; background-position: right -20px bottom -26px; }
.page-hero.is-season { background-color: #fbfdfb; background-image: linear-gradient(90deg, rgba(251,253,251,.96) 0 46%, rgba(251,253,251,.55) 70%, rgba(251,253,251,.2)), var(--xmas-tile); background-position: 0 0, 0 0; background-size: auto, 170px; }
@media (max-width: 860px) { .page-hero.is-season { background-image: linear-gradient(rgba(251,253,251,.9), rgba(251,253,251,.9)), var(--xmas-tile); } }
.chip--season::after { content: "❄"; margin-left: 6px; font-size: 12px; color: #1f5c99; }
@media (max-width: 860px) {
  .hero--city { padding-top: 12px; }
}

/* Поле-ловушка формы заявки: за пределами экрана, не display:none — часть ботов такие поля пропускает. */
.hp-field { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* «Спасибо» на месте отправленной формы (main.js, отправка без перезагрузки). */
.lead-done { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: 18px; background: color-mix(in srgb, var(--ok) 9%, #fff); border: 1px solid color-mix(in srgb, var(--ok) 28%, #fff); color: var(--ink); outline: none; }
.lead-done-ico { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ok); color: #fff; }
.lead-done-txt { display: flex; flex-direction: column; gap: 3px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.lead-done-txt b { font-family: var(--font-heading); font-size: 16px; color: var(--ink); }
.sec-dark .lead-done { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.sec-dark .lead-done-txt { color: rgba(255,255,255,.7); }
.sec-dark .lead-done-txt b { color: #fff; }
@media (max-width: 860px) { .hero .lead-done { order: 2; } }

/* Карточки игр: тёмная карточка #231F1E, свечение цвета игры из угла, знак вверху справа (как панель «Коротко об игре») */
.gcard { --shade: color-mix(in srgb, var(--tone) 78%, #000); color: #fff; border: 0; min-height: 0; overflow: visible;
  background: radial-gradient(115% 88% at 96% 2%, color-mix(in srgb, var(--tone) 82%, transparent) 0%, color-mix(in srgb, var(--tone) 30%, transparent) 42%, transparent 74%),
              radial-gradient(75% 50% at 0% 100%, color-mix(in srgb, var(--tone) 30%, transparent) 0%, transparent 72%), #231F1E; }
.gcard-body { padding: 18px 20px 20px; gap: 10px; }
.gcard-wm { position: absolute; right: 16px; top: 16px; z-index: 1; width: 76px; height: 76px; opacity: .88; pointer-events: none; }
.gcard-wm--icon svg { width: 100%; height: 100%; }
.gcard-top { min-height: 76px; margin-bottom: 0; padding-right: 88px; align-items: flex-start; flex-direction: column; gap: 10px; justify-content: flex-start; }
.gcard-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .3em; color: rgba(255,255,255,.72); }
.gcard-brand img { width: 36px; height: auto; }
.gcard .gname { font-size: 26px; line-height: 1.05; margin-top: 2px; }
.gcard .gname a { color: #fff; }
.gcard .body { max-width: none; min-height: 3em; -webkit-line-clamp: 2; color: rgba(255,255,255,.82); }
.gcard .gcard-facts { color: #fff; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.14); }
.gcard .gcard-more { color: rgba(255,255,255,.82); }
/* «ХИТ»: яркий красный бренда, свисает за правый край и сидит на верхней границе */
.gcard .tag.hit { position: absolute; top: 0; right: -10px; transform: translateY(-50%); z-index: 3; background: #D3332F; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; padding: 6px 15px; box-shadow: 0 0 0 2px #231F1E, 0 6px 14px rgba(0,0,0,.35); }
.gcard-cta, .gcard-cta:hover { background: var(--shade); color: #fff; box-shadow: none; }
.gcard-cta:hover { filter: brightness(1.12); }
.gcard-external { flex: 0 0 14px; }
.gcard-mobile-facts { display: none; }
/* Телефон: название и действие на переднем плане, знак — приглушённый фон. */
@media (max-width: 860px) {
  .games-grid { row-gap: 20px; }
  .gcard { min-height: 200px; }
  .gcard-body { padding: 24px 10px 12px; gap: 10px; text-align: center; }
  .gcard-wm { left: 50%; top: 50%; right: auto; width: 136px; height: 136px; transform: translate(-50%, -50%); opacity: .13; filter: brightness(.7); z-index: 0; }
  .gcard .body, .gcard-brand { display: none; }
  .gcard-top { min-height: 0; padding: 0; gap: 0; }
  .gcard .gcard-text { flex: 1; display: grid; place-items: center; margin-top: 0; }
  .gcard .gname { font-size: clamp(20px, 5.2vw, 24px); line-height: 1.15; margin: 0; max-width: 100%; hyphens: auto; overflow-wrap: anywhere; }
  .gcard .tag.hit { right: -6px; font-size: 10.5px; padding: 4px 11px; }
  .gcard .gcard-facts { display: none; }
  .gcard-mobile-facts { display: block; margin: 0; font-size: 12px; line-height: 1.5; color: var(--on-dark-muted); text-wrap: balance; }
  .gcard-facts .gcard-fact-duration, .gcard-facts .sep { display: none; }
  .gcard .gcard-actions { margin-top: 0; }
  .gcard .gcard-actions .cta { height: 44px; font-size: 13px; background: #fff; color: var(--ink); }
  .gcard .gcard-actions .cta:hover { background: #f5f4f3; filter: none; }
}

/* Игры, которых нет в городе посетителя: заглушка вместо ссылки */
.is-off { opacity: .55; filter: grayscale(.6); cursor: default; }
.gcard.is-off { opacity: 1; filter: grayscale(.8) brightness(.6); }
.gcard-off { margin: auto 0 0; font-size: 13px; font-weight: 600; color: #fff; }
.gcard.is-off .gcard-facts { display: none; }

/* ===== Музыкальное бинго: фон за плашкой заявки, три карточки вариантов ===== */
.page-hero-stat dd small { display: block; margin-top: 4px; font-family: var(--font-body); font-weight: 600; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.page-hero-stat--tone dd small { color: inherit; opacity: .8; }
.page-hero-stats--bingo .page-hero-stat { display: flex; flex-direction: column; }
.page-hero-stats--bingo .page-hero-stat dd { font-size: 24px; }
.page-hero-stats--bingo .page-hero-stat dd small { font-size: 12px; }
@media (min-width: 861px) { /* колонка = высоте левого блока, картинка на всю высоту, плашка внизу накрывает её нижнюю часть; на телефоне файл не грузится */
  .page-hero-aside--bingo { align-self: stretch; position: relative; isolation: isolate; justify-content: flex-end; padding: 120px 14px 14px; border-radius: var(--radius); overflow: hidden; background: linear-gradient(rgba(35,31,30,.4), rgba(35,31,30,.4)), url("assets/img/games/muzykalnoe-bingo-hero.webp") 50% 30% / cover no-repeat; }
  .page-hero-aside--bingo .hero-price, .page-hero-aside--bingo .hero-price b, .page-hero-aside--bingo .hero-price a { color: #fff; }
  /* повод×бинго: колонка = высоте текста слева; компактная плашка, цена поверх полосы картинки */
  .page-hero-aside--tight { padding-top: 0; }
  .page-hero-aside--tight .book-card { padding: 16px 18px; }
  .page-hero-aside--tight .book-title { margin-bottom: 10px; }
  .page-hero-aside--tight .book-text { display: none; }
  .page-hero-aside--tight .hero-price { position: absolute; top: 14px; left: 18px; right: 18px; margin: 0; font-size: 13px; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
}
.tariffs--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tariffs--3 .tariff-head { display: block; }
.tariff-sub { margin: 4px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.tariff-sub b { color: var(--ink); }
.tariff-alt { padding-top: 12px; border-top: 1px dashed var(--line); }
.tariff-alt .tariff-sub:first-child { margin-top: 0; font-size: 14.5px; }
.tariff-alt-link { display: inline-block; margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.tariff-price--big { font-size: 32px; letter-spacing: -.02em; }
.tariff--rec { border-color: var(--tone); box-shadow: 0 0 0 1px var(--tone), 0 24px 50px -36px color-mix(in srgb, var(--tone) 80%, #000); background: color-mix(in srgb, var(--tone) 5%, #fff); }
.disc-best--soft { background: color-mix(in srgb, var(--tone) 12%, #fff); color: var(--tone); }
.tariffs--3 .tariff .tariff-list { flex: 1; }
@media (max-width: 860px) { .tariffs--3 { grid-template-columns: 1fr; } }
