/* =====================================================================
   Another World — новый сайт (страницы с сервера: server/src/web).
   Стиль «Ethereal Glass»: глубокий чёрный, красные свечения, стекло только на фиксированных слоях.
   Только токены /vendor/aw-tokens.css. Сначала телефон. Анимации — transform/opacity.
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
/* фон страницы — только у html (он же цвет при «оттяжке» на iOS / Android). У body фона нет: иначе при фоне у html фон body
   рисуется своим слоем поверх .page-fx (z-index: -1) и закрывает «жидкость» — так было после выкладки 29.10 */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background-color: var(--aw-bg); color-scheme: dark; }
/* Телефон: без зума двойным тапом и задержки нажатия; щипок двумя пальцами остаётся (доступность, WCAG 1.4.4) */
body, a, button, input, select, textarea, label, summary { touch-action: manipulation; }
/* iOS приближает страницу при фокусе на поле с шрифтом меньше 16px */
@media (max-width: 1024px) { input, select, textarea { font-size: max(16px, 1em); } }
/* Запас для полей без своего класса: тёмные, как .fld, а не белые системные (окно 2, 28.10). :where — разделы перебивают */
:where(input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"], [type="color"], [type="hidden"], [type="submit"], [type="button"]), textarea, select) {
    font: inherit; color: var(--aw-text); background-color: rgba(0,0,0,0.25); border: 1px solid var(--aw-line-strong); border-radius: var(--aw-radius-md); color-scheme: dark;
}
/* Галочки и кружки выбора — в стиле сайта вместо белого системного квадрата (владелец 28.10).
   Нативный input остаётся: клавиатура, пробел, required. :where — нулевая специфичность, поэтому скрытые input
   у чипов .seg3 и переключатель cookies (role="switch", свой вид) этим правилом не перекрашиваются.
   Рамка — white 50 % (контраст с фоном ≥ 3:1, WCAG 1.4.11); отмечено — акцентная рамка и галочка. */
:where(input[type="checkbox"]:not([role="switch"]), input[type="radio"]) {
    appearance: none; -webkit-appearance: none; flex: none; display: inline-grid; place-content: center;
    width: 22px; height: 22px; margin: 0; vertical-align: middle; cursor: pointer;
    border: 1.5px solid var(--aw-text-muted); border-radius: calc(var(--aw-radius-sm) - 2px); background: rgba(0,0,0,0.25);
    transition: border-color var(--aw-dur-fast) var(--aw-ease-out), background-color var(--aw-dur-fast) var(--aw-ease-out), box-shadow var(--aw-dur-fast) var(--aw-ease-out);
}
:where(input[type="radio"]) { border-radius: var(--aw-radius-pill); }
/* галочка — повёрнутый уголок, кружок — точка; появляются коротким «пружинным» масштабом (reduced motion: токены = 1 ms) */
:where(input[type="checkbox"]:not([role="switch"]))::before {
    content: ''; width: 6px; height: 11px; margin-top: -3px; border: solid var(--aw-accent); border-width: 0 2.5px 2.5px 0; border-radius: 1px;
    opacity: 0; transform: rotate(45deg) scale(0.5);
    transition: transform var(--aw-dur-fast) var(--aw-ease-spring), opacity var(--aw-dur-fast) var(--aw-ease-out);
}
:where(input[type="radio"])::before {
    content: ''; width: 10px; height: 10px; border-radius: var(--aw-radius-pill); background: var(--aw-accent);
    opacity: 0; transform: scale(0.5);
    transition: transform var(--aw-dur-fast) var(--aw-ease-spring), opacity var(--aw-dur-fast) var(--aw-ease-out);
}
:where(input[type="checkbox"]:not([role="switch"]), input[type="radio"]):checked { border-color: var(--aw-accent); background-color: var(--aw-accent-10); }
:where(input[type="checkbox"]:not([role="switch"])):checked::before { opacity: 1; transform: rotate(45deg) scale(1); }
:where(input[type="radio"]):checked::before { opacity: 1; transform: scale(1); }
@media (hover: hover) and (pointer: fine) {
    :where(input[type="checkbox"]:not([role="switch"]), input[type="radio"]):not(:checked):not(:disabled):hover { border-color: var(--aw-text); }
}
:where(input[type="checkbox"]:not([role="switch"]), input[type="radio"]):focus-visible { outline: 2px solid var(--aw-accent); outline-offset: 2px; }
:where(input[type="checkbox"]:not([role="switch"]), input[type="radio"]):disabled { opacity: 0.4; cursor: not-allowed; }
/* обязательная галочка не отмечена: после попытки отправить (book.js ставит aria-invalid) или после снятия */
:where(input[type="checkbox"]:not([role="switch"]), input[type="radio"]):is(:user-invalid, [aria-invalid="true"]) { border-color: var(--aw-accent); box-shadow: 0 0 0 4px var(--aw-accent-10); }
body {
    margin: 0; color: var(--aw-text);
    font-family: var(--aw-font-body); font-size: 1.0625rem; line-height: 1.6;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* Плёночное зерно — фиксированный слой, не мешает прокрутке */
body::after { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: 0.035;
    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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
.mono { font-family: var(--aw-font-mono); }
.center { text-align: center; }
/* Обычные блоки — до 1240 px (владелец 24.10: «на всю ширину слишком растянуто»); на всю ширину — только карточки первого экрана (--hero-gut) */
:root { --gut: 20px; --hero-gut: clamp(16px, 3.2vw, 56px); --maxw: 1400px;   /* карточки первого экрана: шире плашки меню (1180), но не во весь монитор — владелец 25.10 */ }
@media (min-width: 768px) { :root { --gut: 32px; } }
/* ПК с боковой панелью 01–09 (от 1360 px): карточки первого экрана не заходят под неё */
@media (min-width: 1360px) { :root { --hero-gut: max(96px, 4vw); } }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); }
:focus-visible { outline: 2px solid var(--aw-accent); outline-offset: 3px; border-radius: 10px; }
::selection { background: var(--aw-accent); color: #fff; }
:root { --ease: cubic-bezier(0.32, 0.72, 0, 1); --spring: cubic-bezier(0.34, 1.56, 0.64, 1); --hair: rgba(255, 255, 255, 0.09); }

/* ---------- Появление при прокрутке (IntersectionObserver в site.js) ---------- */
/* Появление блоков — только прозрачность и сдвиг (размытие убрано: оно тяжёлое для видеокарты и дёргается на слабых телефонах) */
.rv { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: 0.08s; } .rv.d2 { transition-delay: 0.16s; } .rv.d3 { transition-delay: 0.24s; } .rv.d4 { transition-delay: 0.32s; }
.no-js .rv { opacity: 1; transform: none; filter: none; }
/* ролик блока с постером в data-poster (ставит site.js при подходе к экрану): без JS постера нет, а браузер рисует серый кадр с кнопками —
   прячем ролик, под ним то же фото (окно 6, 5.11) */
.no-js .sx-vid[data-poster]:not([poster]) { display: none; }

/* ---------- Кнопки: таблетка + кнопка-в-кнопке ---------- */
.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    min-height: 52px; padding: 6px 8px 6px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; white-space: nowrap;
    transition: transform 0.5s var(--ease), background 0.3s var(--ease), box-shadow 0.5s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn .ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: transform 0.5s var(--ease); }
.btn .ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .ic { transform: translate(3px, -1px) scale(1.06); }
.btn-primary { background: var(--aw-accent); color: #fff; box-shadow: 0 18px 40px -16px var(--aw-accent-glow), inset 0 1px 0 rgba(255,255,255,0.25); }
.btn-primary .ic { background: rgba(0, 0, 0, 0.18); }
.btn-primary:hover { background: var(--aw-accent-soft); box-shadow: 0 22px 50px -14px var(--aw-accent-glow), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn-ghost { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--hair); color: var(--aw-text); }
.btn-ghost .ic { background: rgba(255, 255, 255, 0.08); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn-plain { padding: 0 24px; }
.btn-sm { min-height: 42px; padding: 4px 6px 4px 18px; font-size: 0.92rem; }
.btn-sm .ic { width: 32px; height: 32px; }

/* ---------- Плавающее меню-остров ---------- */
.nav {
    position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: var(--aw-z-nav);
    width: calc(100% - 24px); max-width: 1180px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 8px 8px 8px 16px; border-radius: 999px;
    /* стекло: blur 14 (было 20) и фон на 6 % плотнее — на вид то же, а пересчёт размытия поверх роликов и прокрутки втрое дешевле (окно 7, 28.10) */
    background: rgba(12, 12, 14, 0.68); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
    border: 1px solid var(--hair); box-shadow: 0 20px 50px -20px rgba(0,0,0,0.8);
    transition: transform 0.6s var(--ease);
}
.nav.hide { transform: translate(-50%, -140%); }
@media (min-width: 1024px) {
    .nav { display: grid; grid-template-columns: 1fr auto 1fr; }
    .nav-right { justify-self: end; }
    .nav-right .btn-sm { width: 134px; justify-content: space-between; }
}
.nav-logo { display: flex; align-items: center; gap: 9px; font-family: var(--aw-font-display); font-weight: 600; letter-spacing: 0.06em; font-size: 0.92rem; white-space: nowrap; }
.nav-links { display: none; gap: 4px; }
/* пункты меню — светлые и крупнее (владелец 27.10: «текст меню хочется более светлым и больше») */
.nav-links :is(a, button) { padding: 9px 12px; border-radius: 999px; font-size: 1rem; font-weight: 500; color: var(--aw-text); white-space: nowrap; transition: color 0.3s, background 0.3s; }
.nav-links :is(a, button):hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 4px; }
.dd-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform 0.4s var(--ease); }
/* сплошной фон: вложенный backdrop-filter внутри меню-острова в Chrome не работает */
.dd-panel { position: absolute; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.9); border-radius: 24px; top: 100%; left: -8px; width: 600px; padding-top: 14px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s; }
.dd:hover .dd-panel, .dd:focus-within .dd-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dd:hover .dd-btn svg, .dd:focus-within .dd-btn svg { transform: rotate(180deg); }
.dd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 10px; border-radius: 24px 24px 0 0; background: #0c0c0e; border: 1px solid var(--hair); border-bottom: 0; }
.nav-links .dd-tile { position: relative; display: block; aspect-ratio: 3 / 4; padding: 0; border-radius: 16px; overflow: hidden; isolation: isolate; color: #fff; }
.dd-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.8s var(--ease); }
.dd-tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(5,5,5,0.9)); }
.dd-tile:hover img { transform: scale(1.07); }
.dd-tile span { position: absolute; left: 10px; right: 10px; bottom: 10px; font-family: var(--aw-font-display); font-weight: 600; font-size: 0.95rem; line-height: 1.1; }
/* «Ver los 25 juegos» — низ панели (фон панели не меняется при наведении), внутри — кнопка-ссылка со своим скруглением */
.nav-links .dd-all, .nav-links .dd-all:hover { display: block; padding: 0 10px 10px; border-radius: 0 0 24px 24px; background: #0c0c0e; border: 1px solid var(--hair); border-top: 0; }
.dd-all span { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; border-radius: 16px;
    background: rgba(255,255,255,0.03); border: 1px solid var(--hair); color: var(--aw-text-muted);
    font-family: var(--aw-font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease); }
.dd-all i { font-style: normal; transition: transform 0.4s var(--ease); }
.dd-all:hover span, .dd-all:focus-visible span { background: rgba(255,59,78,0.12); border-color: rgba(255,59,78,0.4); color: var(--aw-text); }
.dd-all:hover i, .dd-all:focus-visible i { transform: translateX(4px); }
.lang { position: relative; display: flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,0.05); }
/* пилюля под текущим языком; при смене языка — переезжает (View Transitions между страницами), а не мигает */
.lang-pill { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: rgba(255,255,255,0.14); pointer-events: none;
    transition: transform 0.3s var(--ease); }
.lang[data-cur="en"] .lang-pill { transform: translateX(100%); }
.nav-right .lang-pill { view-transition-name: lang-pill; }
.lang a { position: relative; }
.lang a { font-family: var(--aw-font-mono); font-size: 0.78rem; padding: 7px 8px; border-radius: 999px; color: var(--aw-text); opacity: 0.8; min-width: 32px; text-align: center; transition: opacity 0.3s, background 0.3s; }
.lang a:hover { opacity: 1; }
.lang a[aria-current="true"] { color: #fff; opacity: 1; }
@media (max-width: 479px) { .nav-logo span { display: none; } .nav .btn-sm { padding-left: 14px; } }
/* Reservar / Book одной ширины на всех экранах — правый блок шапки не прыгает при смене языка */
@media (max-width: 1023px) { .nav-right .btn-sm { width: 128px; justify-content: space-between; } }

/* ---------- Смена языка: лёгкий переход между страницами (View Transitions) — владелец 27.10: «лагает» → без blur и сдвига,
   только короткий fade 200 мс; именованы лишь шапка и пилюля ES|EN (каждое имя — отдельный слой), шапка стоит на месте ---------- */
@view-transition { navigation: auto; }
main [id] { scroll-margin-top: 90px; }   /* якорь после смены языка — раздел не под шапкой */
.nav { view-transition-name: header; }
::view-transition-group(lang-pill) { animation-duration: 0.22s; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
::view-transition-old(header), ::view-transition-new(header) { animation-duration: 0.16s; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.2s; animation-timing-function: ease-out; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ---------- Кнопки-иконки шапки: контакты 🎧, бургер, закрыть ---------- */
.nav-ico { display: inline-grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 999px; background: rgba(255,255,255,0.06);
    border: 1px solid var(--hair); color: var(--aw-text); transition: background 0.3s var(--ease), transform 0.2s var(--ease); }
.nav-ico:hover, .nav-ico[aria-expanded="true"] { background: rgba(255,255,255,0.12); }
.nav-ico:active { transform: scale(0.95); }
.nav-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nav-right .lang, .cmenu { display: none; }
@media (min-width: 1024px) { .nav-right .lang, .cmenu { display: flex; } .nav-burger { display: none; } }
/* Меню контактов: позвонить / WhatsApp — сплошной фон (вложенный backdrop-filter в меню-острове Chrome не рисует) */
.cmenu { position: relative; }
.cmenu-pop { position: absolute; right: 0; top: calc(100% + 12px); min-width: 250px; display: grid; gap: 4px; padding: 8px; border-radius: 22px;
    background: #0c0c0e; border: 1px solid var(--hair); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.9); animation: pop-in 0.28s var(--ease) both; }
.cmenu-pop[hidden] { display: none; }
@keyframes pop-in { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }
.cm-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; color: var(--aw-text); transition: background 0.25s var(--ease); }
.cm-item:hover, .cm-item:focus-visible { background: rgba(255,255,255,0.06); }
.cm-item > span:last-child { display: grid; gap: 2px; }
.cm-item small { color: var(--aw-text-muted); font-size: 0.72rem; }
.cm-item .ic, .btn .ic svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cm-item .ic { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: rgba(255,255,255,0.08); }
.cm-item .ic svg { width: 18px; height: 18px; }

/* ---------- Окна: «Dónde estamos» и мобильное меню (нижний лист на телефоне) ---------- */
html.modal-open { overflow: hidden; }
dialog.sheet { width: 100%; max-width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; background: transparent; color: var(--aw-text); overflow: visible; }
dialog.sheet::backdrop { background: rgba(5,5,7,0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
dialog.sheet[open] { animation: sheet-in 0.4s var(--ease) both; }
dialog.sheet[open]::backdrop { animation: fade-in 0.3s ease-out both; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(18px) scale(0.98); } }
@keyframes fade-in { from { opacity: 0; } }
.sheet-in { position: relative; max-height: inherit; overflow: auto; overscroll-behavior: contain; padding: 30px 28px 28px; border-radius: 30px;
    background: #0c0c0e; border: 1px solid var(--hair); box-shadow: 0 40px 90px -30px rgba(0,0,0,0.95), inset 0 1px 0 rgba(255,255,255,0.06); }
.sheet-x { position: absolute; top: 14px; right: 14px; }
.where-addr { margin: 0 0 12px; font-size: 1.05rem; line-height: 1.5; }
.where .hero-cta { margin: 0; }
/* ---------- Страница «Dónde estamos» ---------- */
.wh-hero { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .wh-hero { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.wh-photo { position: relative; isolation: isolate; overflow: hidden; border-radius: 30px; aspect-ratio: 4 / 3; border: 1px solid var(--hair); background: #111; }
.wh-photo img { width: 100%; height: 100%; object-fit: cover; }
.wh-contact { display: grid; gap: 12px; }
@media (min-width: 768px) { .wh-contact { grid-template-columns: repeat(3, 1fr); } }
.wh-card { display: grid; gap: 10px; align-content: start; padding: 24px; height: 100%; }
.wh-card b { font-family: var(--aw-font-display); font-size: 1.25rem; }
.wh-card p { margin: 0 0 6px; color: var(--aw-text-muted); }
.wh-card p a { color: var(--aw-text); }
.wh-card .btn { justify-self: start; }
.wh-place { display: grid; gap: 32px; }
@media (min-width: 1024px) { .wh-place { grid-template-columns: 1fr 1.1fr; align-items: stretch; } }
.wh-h3 { margin: 28px 0 10px; font-family: var(--aw-font-display); font-size: 1.15rem; }
.wh-hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-width: 420px; }
.wh-hours li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid var(--hair); }
.wh-hours span { color: var(--aw-text-muted); text-transform: capitalize; }
.wh-map { position: relative; isolation: isolate; overflow: hidden; min-height: 340px; border-radius: 30px; border: 1px solid var(--hair);
    background: radial-gradient(60% 60% at 50% 45%, rgba(255,59,78,0.18), transparent 70%), repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 44px), repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 44px), #0d0d10; }
.wh-map-in { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; }
.wh-map-in p { margin: 0; max-width: 34ch; font-size: 0.82rem; color: var(--aw-text-muted); }
.wh-pin { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 999px; background: var(--aw-accent); box-shadow: 0 0 0 10px rgba(255,59,78,0.18); }
.wh-pin svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wh-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.where-route { justify-self: start; margin-top: 4px; font-size: 0.86rem; color: var(--aw-accent-soft); text-decoration: underline; text-underline-offset: 3px; }
.where-route:hover { color: #fff; }
.msheet-nav { display: grid; margin: 8px 0 22px; }
.msheet-nav > :is(a, button) { display: block; width: 100%; padding: 15px 2px; text-align: left; font-family: var(--aw-font-display); font-size: 1.125rem; font-weight: 600;
    border-bottom: 1px solid var(--hair); color: var(--aw-text); }
.msheet-h { margin: 18px 0 6px; font-family: var(--aw-font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--aw-text-muted); }
.msheet-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--hair); }
.msheet-sub a { padding: 12px 14px; font-size: 1.125rem; font-weight: 500; color: var(--aw-text); border-radius: 16px; background: rgba(255,255,255,0.04); border: 1px solid var(--hair); }
.msheet-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.msheet-contact .btn { justify-content: space-between; min-width: 0; width: 100%; min-height: 56px; padding-left: 16px; font-size: 0.98rem; }
.msheet .lang { display: inline-flex; }
@media (max-width: 767px) {
    dialog.sheet { max-width: 100%; margin: auto 0 0; max-height: 92dvh; }
    dialog.sheet[open] { animation-name: sheet-up; }
    @keyframes sheet-up { from { transform: translateY(100%); } }
    .sheet-in { border-radius: 28px 28px 0 0; padding-bottom: calc(28px + env(safe-area-inset-bottom)); border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { dialog.sheet[open], dialog.sheet[open]::backdrop, .cmenu-pop { animation: none; } }

/* ---------- Боковая панель с якорями (главная, ПК от 1360 px — уже налезает на текст разделов): стекло как у меню; названия — при наведении ---------- */
.side { display: none; }
@media (min-width: 1360px) {
    .side { position: fixed; left: 16px; top: 50%; transform: translateY(-50%); z-index: var(--aw-z-nav); display: flex; flex-direction: column; gap: 2px; padding: 8px;
        border-radius: 30px; background: rgba(12, 12, 14, 0.68); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
        border: 1px solid var(--hair); box-shadow: 0 20px 50px -20px rgba(0,0,0,0.8); transition: opacity 0.5s var(--ease); }
    .side a { position: relative; display: flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 999px; color: var(--aw-text-muted); white-space: nowrap; transition: color 0.3s, background 0.3s; }
    .side a:hover { color: var(--aw-text); background: rgba(255,255,255,0.06); }
    .side-n { font-family: var(--aw-font-mono); font-size: 0.72rem; letter-spacing: 0.08em; }
    .side-l { max-width: 0; overflow: hidden; opacity: 0; font-size: 0.9rem; transition: max-width 0.5s var(--ease), opacity 0.3s ease, margin 0.5s var(--ease); }
    .side:is(:hover, :focus-within) .side-l { max-width: 170px; opacity: 1; margin-left: 12px; }
    .side a[aria-current="true"] { color: var(--aw-text); background: rgba(255,255,255,0.08); }
    .side a[aria-current="true"] .side-n { color: var(--aw-accent-soft); }
    .side a[aria-current="true"]::before { content: ''; position: absolute; left: -5px; top: 50%; width: 3px; height: 16px; margin-top: -8px; border-radius: 2px; background: var(--aw-accent); box-shadow: 0 0 10px var(--aw-accent); }
    /* пока идёт сцена «Beyond reality» и доводка к играм (site.js → html.scene-on) — панель плавно скрыта (владелец 30.10) */
    .scene-on .side { opacity: 0; pointer-events: none; }
}
/* /juegos/ — меню сцен 01–07 (владелец 31.10: «пользователь не понимает куда он попал, есть ли ниже блоки — добавьте такое же меню, как на главной»):
   та же панель (index.js → sideNav, .side-gp), видна с первого экрана и на сценах игр (site.js → .on; владелец 31.10: «на этой странице всё ещё нет
   бокового меню»), кроме раздачи карточек ленты (как колесо портала); на телефоне — только на сценах (на первом экране точки легли бы на ленту).
   Уже 1420 px панель налезает на ленту и текст сцен — там узкая колонка точек у правого края: у текущей — «03 / 07», названия — для чтения с экрана */
.side-gp { transition: opacity var(--aw-dur-slow) var(--aw-ease-out); }
.side-gp:not(.on), html:not(.no-js):not(.lite) body:has(.pv-gprail:not(.dealt)) .side-gp { opacity: 0; pointer-events: none; }
.side-gp a[hidden] { display: none; }   /* сцена скрыта фильтром */
@media (max-width: 1419px) {
    .side.side-gp { position: fixed; left: auto; right: 4px; top: 50%; transform: translateY(-50%); z-index: var(--aw-z-nav); display: flex; flex-direction: column; gap: 0; padding: 5px 0;
        border-radius: 999px; background: rgba(12, 12, 14, 0.55); border: 1px solid var(--hair); box-shadow: none; }
    .side-gp a { position: relative; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; min-height: 0; padding: 0; border-radius: 0; background: none; }
    .side-gp a:hover, .side-gp a[aria-current="true"] { background: none; }
    .side-gp a[aria-current="true"]::before { content: none; }   /* полоска панели 1360+ — у точек не нужна */
    .side-gp a::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.5);
        transition: transform var(--aw-dur-base) var(--aw-ease-out), background-color var(--aw-dur-base) var(--aw-ease-out); }
    .side-gp a[aria-current="true"]::after { background: var(--aw-accent); box-shadow: 0 0 8px var(--aw-accent); transform: scale(1.5); }
    .side-gp .side-n { position: absolute; right: calc(100% + 8px); white-space: nowrap; font-family: var(--aw-font-mono); font-size: 0.7rem; letter-spacing: 0.06em; color: #fff;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9); opacity: 0; transition: opacity var(--aw-dur-base) var(--aw-ease-out); pointer-events: none; }
    .side-gp .side-n::after { content: ' ' attr(data-of); color: rgba(255, 255, 255, 0.6); }
    .side-gp a[aria-current="true"] .side-n { opacity: 1; }
    .side-gp .side-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 767px) { .side.side-gp { right: 2px; } .side-gp a { width: 22px; height: 24px; } .side-gp a::after { width: 5px; height: 5px; } }

/* ---------- Нижняя панель брони на телефоне (после первого экрана) ---------- */
.mbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: var(--aw-z-nav);
    display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 18px; border-radius: 999px;
    background: rgba(12,12,14,0.78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border: 1px solid var(--hair);
    transform: translateY(160%); transition: transform 0.6s var(--ease); }
.mbar.show { transform: none; }
.mbar-txt { display: grid; line-height: 1.2; font-size: 0.8rem; color: var(--aw-text-muted); }
.mbar-txt b { color: var(--aw-text); font-size: 1rem; }
@media (min-width: 1024px) { .mbar { display: none; } }


/* ---------- Первый экран: 4 направления 2×2 на весь экран, без текста; при наведении блок растёт и раскрывает пункты и бронь ---------- */
.hero4 { position: relative; padding: 104px var(--hero-gut) 8px; }
/* Первый экран по макету владельца 24.10: заголовок по центру + 4 широкие карточки 2×2, шире верхней плашки */
.h4-head { text-align: center; margin: 0 auto 26px; max-width: 900px; }
/* Видимый H1 (SEO, владелец 25.10): маленькая строка над главным заголовком */
.h4-kicker { margin: 0 0 12px; text-align: center; font-family: var(--aw-font-mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--aw-text-muted); }
.h4-title { margin: 0; font-family: var(--aw-font-display); font-weight: 700; font-size: clamp(1.9rem, 4.6vw, 3.4rem); line-height: 1.05; letter-spacing: -0.02em;
    text-shadow: 0 0 40px rgba(255,255,255,0.12); }
.h4-title em { font-style: normal; color: var(--aw-accent); text-shadow: 0 0 34px rgba(255,59,78,0.45); }
.h4-lead { max-width: 56ch; margin: 10px auto 0; color: var(--aw-text-soft); font-size: clamp(0.95rem, 1.4vw, 1.1rem); line-height: 1.6; }   /* ≤ 65 знаков в строке; цвет — читаемый (владелец 6.11) */
.cards4 { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: var(--maxw); margin: 0 auto; }
.card4 { position: relative; isolation: isolate; display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 18px;
    background: #101014; border: 1px solid rgba(255,255,255,0.09);
    box-shadow: 0 30px 60px -30px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.06);
    animation: card4-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards; animation-delay: calc(var(--i) * 70ms);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.6s ease; }
.card4 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
/* Затемнение снизу, чтобы белый текст читался на любой картинке */
.card4::before { content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(8,8,10,0) 35%, rgba(8,8,10,0.55) 62%, rgba(8,8,10,0.92) 100%); }
.card4-go { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
    background: rgba(12,12,14,0.62); border: 1px solid rgba(255,255,255,0.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transition: background 0.35s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.card4-go svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card4-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; display: grid; gap: 2px; }
.card4-kicker { font-family: var(--aw-font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--aw-accent-soft); }
.card4-title { font-family: var(--aw-font-display); font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1; text-transform: uppercase; letter-spacing: -0.01em; color: #fff; }
.card4-sub { color: rgba(255,255,255,0.88); font-size: clamp(0.92rem, 1.2vw, 1.05rem); }
.card4-cta { margin-top: 10px; justify-self: start; padding: 7px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; color: #fff; background: rgba(255,59,78,0.22); border: 1px solid rgba(255,59,78,0.5); transition: background 0.3s var(--ease); }
.card4:hover .card4-cta { background: var(--aw-accent); }
.card4:focus-visible { outline: 2px solid var(--aw-accent); outline-offset: 3px; }
/* Наведение (владелец 24.10: «живее»): карточка наклоняется за курсором в 3D, картинка уходит в глубину навстречу,
   по стеклу бежит блик от курсора, текст чуть приподнимается. Значения --rx/--ry/--mx/--my ставит site.js. */
.cards4 { perspective: 1400px; }
.card4::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.5s ease;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.16), rgba(255,59,78,0.08) 35%, transparent 65%);
    mix-blend-mode: screen; }
.card4-body, .card4-go { z-index: 2; }
.card4-body { transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
@media (hover: hover) {
    .card4.tilt { transition: transform 0.18s ease-out, border-color 0.4s ease, box-shadow 0.6s ease; }
    .card4:hover { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px) scale(1.012);
        border-color: rgba(255,59,78,0.45); box-shadow: 0 50px 80px -34px rgba(0,0,0,0.95), 0 0 0 1px rgba(255,59,78,0.25), 0 24px 70px -24px rgba(255,59,78,0.45); }
    .card4:hover::after { opacity: 1; }
    .card4:hover img { transform: scale(1.12) translate(var(--px, 0px), var(--py, 0px)); transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
    .card4:hover .card4-body { transform: translate(calc(var(--px, 0px) * -0.6), -4px); }
    .card4:hover .card4-go { background: var(--aw-accent); border-color: var(--aw-accent); transform: rotate(-45deg) scale(1.08); box-shadow: 0 0 24px rgba(255,59,78,0.6); }
}
.card4:active { transform: scale(0.99); }
@keyframes card4-in { from { opacity: 0; transform: translateY(18px) scale(0.98); } }
@media (min-width: 760px) { .cards4 { grid-template-columns: 1fr 1fr; gap: 14px; } .card4 { aspect-ratio: 2.15 / 1; } }
@media (min-width: 760px) and (max-height: 820px) { .card4 { aspect-ratio: 2.25 / 1; } }
@media (prefers-reduced-motion: reduce) { .card4, .card4 img, .card4-go { animation: none; transition: none; } }
/* Фон — как в админке (владелец 24.10): графит, сверху слабый красный свет
   (владелец 24.10: «жидкость» не продаёт — клиенты в основном родители 30+ с детьми). */
.page-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(120% 60% at 50% -10%, rgba(255, 59, 78, 0.10), transparent 60%), var(--aw-bg); overflow: hidden; }
/* Как в админке: два слоя мягких свечений плывут каждый своим путём (только transform — дёшево) */
.page-fx::before, .page-fx::after { content: ""; position: absolute; pointer-events: none; }
.page-fx::before { inset: -20%;
    background: radial-gradient(32% 38% at 22% 30%, rgba(255, 59, 78, 0.13), transparent 70%), radial-gradient(28% 34% at 82% 82%, rgba(255, 181, 71, 0.07), transparent 70%), radial-gradient(40% 40% at 70% 10%, rgba(255, 59, 78, 0.06), transparent 70%);
    animation: fx-drift 38s ease-in-out infinite alternate; }
.page-fx::after { inset: -10%;
    background: radial-gradient(26% 30% at 62% 55%, rgba(255, 59, 78, 0.08), transparent 70%), radial-gradient(22% 26% at 14% 86%, rgba(255, 181, 71, 0.05), transparent 70%);
    animation: fx-drift-b 22s ease-in-out infinite alternate; }
@keyframes fx-drift { to { transform: translate3d(4%, -3%, 0) scale(1.06); } }
@keyframes fx-drift-b { 40% { transform: translate3d(-5%, 4%, 0) scale(0.94); } to { transform: translate3d(3%, -5%, 0) scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .page-fx::before, .page-fx::after { animation: none; } }
/* «Жидкость» со страницы входа в админку (site.js рисует в canvas), сильнее размыта; поверх — затемнение,
   чтобы текст читался. Пока canvas не загорелся (или нет WebGL) — видны CSS-свечения выше.
   Размытие и цвет (было filter: blur(34px) saturate(0.9) brightness(1.1)) теперь делает сам WebGL: CSS-фильтр на весь экран,
   который меняется 30 раз в секунду, был главной причиной рывков (окно 7, 28.10). */
.page-fx canvas { position: absolute; inset: -8%; width: 116%; height: 116%; display: block;
    opacity: 0; transition: opacity 1.6s ease; }
.page-fx.gl canvas { opacity: 1; }
.page-fx.gl::before { opacity: 0; transition: opacity 1.6s ease; animation-play-state: paused; }   /* под canvas не видно — не двигаем */
.page-fx.gl::after { inset: 0; animation: none; transform: none;
    background: radial-gradient(80% 90% at 50% 40%, rgba(13,13,16,0.3), rgba(13,13,16,0.74)); }
/* (здесь была строка-обрывок «filter: blur(45px)… }» — она съедала правило .off ниже, и бесконечные анимации не вставали на паузу вне экрана) */
.off, .off::before, .off::after, .off *, .off *::before, .off *::after { animation-play-state: paused !important; }
.tile-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.tile-go { z-index: 2; pointer-events: none; }
.tile-body { z-index: 2; pointer-events: none; }
.tile-cta { pointer-events: auto; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tile-more ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 4px; font-size: 0.92rem; color: rgba(255,255,255,0.85); }
.tile-more li::before { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 10px 2px 0; border-radius: 50%; background: var(--aw-accent); box-shadow: 0 0 10px var(--aw-accent); }
.tile:focus-within { outline: 2px solid var(--aw-accent); outline-offset: 3px; }
/* подпись над заголовком — моно, прописные, светлый акцент, как строка над названием сцены (.gstage-kick); без капсулы и точки
   (владелец 31.10: «на всех страницах надо убрать этот блок, который занимает очень много места») */
.eyebrow { display: inline-flex; align-items: center; margin: 0 0 12px; padding: 0;
    font-family: var(--aw-font-mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--aw-accent-soft); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* Факты: стеклянная полоса */
.facts { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border-radius: 24px; overflow: hidden; background: var(--hair); max-width: 720px; }
.facts li { display: grid; gap: 2px; padding: 16px 18px; background: rgba(10,10,12,0.78); font-size: 0.85rem; color: var(--aw-text-muted); }
.fact-n { font-family: var(--aw-font-display); font-size: 1.7rem; line-height: 1; color: var(--aw-text); font-weight: 600; }
.stats { position: relative; z-index: 1; margin: 0 auto; max-width: 980px; }   /* цифры — над свечением трейлера, не бледнеют */
.stats li { position: relative; isolation: isolate; text-align: center; padding: 28px 16px; transition: color 0.4s ease; }
/* Владелец 25.10: цифры — Manrope (не дисплейный шрифт), значение всегда в одну строку; размер — от ширины колонки */
.stats .fact-n { font-family: 'Manrope', var(--aw-font-body, sans-serif); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; height: 1.15em; line-height: 1.15;   /* ★ из запасного шрифта не раздувает строку */
    font-size: clamp(1.05rem, 5vw, 1.6rem); display: inline-block; font-variant-numeric: tabular-nums; transition: transform 0.5s var(--ease), color 0.3s ease; }
.stats li { padding: 22px 10px; }
.stats li.hot .fact-n { color: #ff6b78; }   /* светлее акцента: контраст на тёмном ≥ 4.5:1 */
/* Цифры: появляются по очереди, считаются от нуля (site.js); под курсором — красное свечение за ним и полоска снизу */
.stats li::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(240px circle at var(--x, 50%) var(--y, 50%), var(--aw-accent-glow), transparent 70%); opacity: 0; transition: opacity 0.4s ease; }
.stats li::after { content: ''; position: absolute; left: 30%; right: 30%; bottom: 0; height: 2px; border-radius: 2px; background: var(--aw-accent); box-shadow: 0 0 12px var(--aw-accent); transform: scaleX(0); transition: transform 0.5s var(--ease); }
.stats li:hover { color: var(--aw-text); }
.stats li:hover::before { opacity: 1; }
.stats li:hover::after { transform: scaleX(1); }
.stats li:hover .fact-n { transform: translateY(-4px) scale(1.06); color: var(--aw-accent-soft); }
.stats.rv { transform: none; filter: none; }
.stats.rv li { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), color 0.4s ease; }
.stats.rv.in li { opacity: 1; transform: none; }
.stats.rv li:nth-child(2) { transition-delay: 0.12s; } .stats.rv li:nth-child(3) { transition-delay: 0.24s; } .stats.rv li:nth-child(4) { transition-delay: 0.36s; }
.no-js .stats.rv li { opacity: 1; transform: none; }
/* «Ambient» как у YouTube (владелец 27.10: «чтобы видео взаимодействовало с фоном, больше расширялось»): цвета кадра самого
   трейлера (canvas 64×36 из site.js — второго видео нет, рассинхрона быть не может) растянуты на всю ширину секции и ±200–300 px
   по вертикали, сильно размыты; края растворяются радиальной маской. До первого кадра и на телефоне — размытый постер */
.reel-wrap { position: relative; isolation: isolate; margin: 40px auto 0; max-width: calc(58vh * 16 / 9); }   /* видео не выше ~58vh (с ростом — 70vh): внизу экрана виден следующий блок */
#por-que + .section { padding-top: 72px; }
.reel-wrap[data-amb="b"] { margin-top: 72px; }   /* место под рост карточки — не наезжает на полосу цифр */   /* «хвост» следующего блока ближе к трейлеру — призыв листать дальше */
.reel-amb { position: absolute; inset: -14% 0 -20%; z-index: -1; pointer-events: none; overflow: hidden;
    left: calc((100vw - 100%) / -2); right: calc((100vw - 100%) / -2);   /* во всю ширину экрана, но не дальше его края */
    -webkit-mask-image: radial-gradient(closest-side, #000 62%, rgba(0,0,0,0.8) 76%, rgba(0,0,0,0.46) 88%, rgba(0,0,0,0.14) 96%, transparent 100%);
    mask-image: radial-gradient(closest-side, #000 62%, rgba(0,0,0,0.8) 76%, rgba(0,0,0,0.46) 88%, rgba(0,0,0,0.14) 96%, transparent 100%); }
/* лёгкий слой: маленький (192×108) с blur 10 px и растянут transform — размывать огромную картинку каждый кадр дорого (лаги) */
.reel-amb::before, .reel-amb canvas { content: ''; position: absolute; left: 50%; top: 50%; width: 192px; height: 108px; filter: blur(12px) saturate(1.1) brightness(0.62);
    transform: translate(-50%, -50%) scale(6.4, 6.6); }
/* окно 6, 29.10 (владелец: «у этого видео очень большое свечение, неестественно») — было brightness 1.15, scale 8.2×9.4, opacity 1: белые кадры
   (портал, лазер) давали молочный ореол на полэкрана. Теперь — мягкий отсвет в цвет кадра: темнее, меньше, слабее; лёгкий режим — без свечения */
.reel-amb::before { background: url('/trailer-ambient.webp') center / cover; opacity: 0.4; transition: opacity 0.8s var(--ease); }
.reel-amb canvas { opacity: 0; transition: opacity 0.8s var(--ease); will-change: transform; }
.reel-amb.live canvas { opacity: 0.5; }
.reel-amb.live::before { opacity: 0; }
@media (max-width: 699px) { .reel-amb::before { transform: translate(-50%, -50%) scale(2.4, 3); opacity: 0.3; } }   /* телефон — только мягкий постер, без светлого пятна */
/* Вариант B: карточка растёт к центру экрана (0,9 → почти на всю ширину) и обратно — scroll-driven, без JS-прокрутки */
@supports (animation-timeline: view()) {
    .reel-wrap[data-amb="b"] .reel { border-radius: 18px; will-change: transform; animation: reel-grow linear both; animation-timeline: view(); animation-range: cover 5% cover 95%; }
}
@keyframes reel-grow { 0%, 100% { transform: scale(0.9); } 50% { transform: scale(var(--grow, 1)); } }   /* только transform — без перерисовки */
@supports not (animation-timeline: view()) {
    .reel-wrap[data-amb="b"] .reel { transform: scale(0.9); transition: transform 0.9s var(--ease); }
    .reel-wrap[data-amb="b"].grown .reel { transform: scale(var(--grow, 1)); }
}
.reel-wrap .reel { margin-top: 0; }
.reel { margin-top: 40px; border-radius: 34px; overflow: hidden; aspect-ratio: 16 / 9; background: #0b0b0e center / cover; border: 1px solid var(--hair); }
/* кадр-постер трейлера: у ролика — data-poster (site.js ставит его за полтора экрана, не в первую секунду загрузки — окно 6, 9.11: на медленной
   сети постеры внизу страницы делили канал со стилями первого экрана); без JS и когда ролик убран (экономия трафика) — фоном блока */
.no-js .reel, .reel.reel-still { background-image: url('/trailer_poster.webp'); }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel { position: relative; }
/* Кнопка ▶, когда автозапуск запрещён (энергосбережение iPhone) или «меньше движения» — ролик по касанию */
.tap-play { position: absolute; right: 14px; bottom: 14px; z-index: 4; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; pointer-events: auto;
    background: rgba(12,12,14,0.62); border: 1px solid rgba(255,255,255,0.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tap-play::before { content: ''; margin-left: 4px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; }
@supports (animation-timeline: view()) {
    .reel { animation: reel linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    @keyframes reel { from { transform: scale(0.86); border-radius: 64px; filter: brightness(0.5); } to { transform: none; border-radius: 34px; filter: none; } }
}

/* Что это / для кого: фото + список с иконками */
.duo { display: grid; gap: 28px; align-items: center; }
.duo-img { border-radius: 30px; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--hair); background: #111; }
.duo-img img { width: 100%; height: 100%; object-fit: cover; }
.ilist { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 18px; }
.ilist li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.ilist b { display: block; font-family: var(--aw-font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: 2px; }
.ilist p { margin: 0; color: var(--aw-text-soft); font-size: 0.95rem; }

/* Подарочная карта (блок со старой главной): видео карты на фоне, затемнение с красным оттенком */
.gift { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 28px; align-items: center; padding: 40px 28px; border-radius: 34px; border: 1px solid var(--hair);
    background: radial-gradient(70% 120% at 0% 0%, rgba(255,59,78,0.22), transparent 70%), #0b0b0e; }
.gift-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.gift-bg video { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.4) contrast(1.1) saturate(0.8); }
.gift-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,59,78,0.1) 0%, rgba(5,5,5,0.85) 100%); }
.gift .section-title { margin-bottom: 14px; }
/* ===== Страница игр (владелец 26.10): 7 сцен — ролик на фоне, игра крупно, сценарии плиткой, бронь с выбранной игрой ===== */
.gp-filter button { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--hair);
    font: inherit; font-size: 0.92rem; color: var(--aw-text-muted); cursor: pointer; transition: background 0.3s, color 0.3s, transform 0.2s var(--ease); }
.gp-filter button:hover { color: var(--aw-text); }
.gp-filter button:active { transform: scale(0.97); }
.gp-filter button[aria-pressed="true"] { background: var(--aw-text); border-color: var(--aw-text); color: #050505; font-weight: 600; }
/* Сцены «выплывают» из фона страницы (свечение .page-fx) и уходят в него. Ролик — на всю ширину, без боковой маски (она давала «коробку»).
   Сверху — длинное растворение (--ft: 40 % сцены на десктопе, не меньше 300 px) по плавной кривой, а не линейно: линейное давало полосу.
   Каждая сцена заходит под предыдущую / под шапку на --ov: верх следующей проявляется, пока низ предыдущей гаснет. */
.gstage { --ft: clamp(150px, 24%, 260px); --fb: clamp(120px, 16%, 200px); --ov: 100px;
    position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end; min-height: calc(min(88vh, 780px) + var(--ov));
    margin-top: calc(-1 * var(--ov)); scroll-margin-top: 70px; pointer-events: none; }
.gstage-copy, .gstage-list { pointer-events: auto; }   /* перекрытие сцен не перехватывает клики у кнопок соседней сцены */
.gstage[hidden] { display: none; }
.gp-hero { position: relative; z-index: 2; }            /* фильтр — над верхом первой сцены */
.gstage-media, .gstage::before {
    --m: linear-gradient(180deg, transparent 0, rgba(0,0,0,0.02) calc(var(--ft) * 0.1), rgba(0,0,0,0.08) calc(var(--ft) * 0.25), rgba(0,0,0,0.2) calc(var(--ft) * 0.4),
        rgba(0,0,0,0.35) calc(var(--ft) * 0.55), rgba(0,0,0,0.55) calc(var(--ft) * 0.68), rgba(0,0,0,0.75) calc(var(--ft) * 0.8), rgba(0,0,0,0.92) calc(var(--ft) * 0.92), #000 var(--ft),
        #000 calc(100% - var(--fb)), rgba(0,0,0,0.9) calc(100% - var(--fb) * 0.88), rgba(0,0,0,0.6) calc(100% - var(--fb) * 0.62), rgba(0,0,0,0.3) calc(100% - var(--fb) * 0.38),
        rgba(0,0,0,0.1) calc(100% - var(--fb) * 0.16), transparent 100%);
    -webkit-mask-image: var(--m); mask-image: var(--m); }
.gstage-media { position: absolute; inset: 0; z-index: -2; }
.gstage-media video, .gstage-media img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.gstage::before { content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(0deg, var(--aw-bg) 0%, rgba(10,10,12,0.88) 42%, rgba(10,10,12,0.15) 62%, transparent 75%); }   /* телефон: верх сцены — «окно» с роликом без затемнения, текст ниже на тёмном */
.gstage-in { display: grid; gap: 26px; padding-top: calc(var(--ov) + 46svh); padding-bottom: calc(var(--ov) + 40px); }   /* текст — под «окном» с роликом и выше зоны, где следующая сцена заходит сверху */
@media (min-width: 1024px) { .gstage-in { padding-top: calc(var(--ov) + 110px); } }
.gstage-kick { margin: 0 0 10px; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--aw-accent-soft); }
.gstage-title { margin: 0 0 14px; font-family: var(--aw-font-display); font-weight: 700; font-size: clamp(2.4rem, 7vw, 5.2rem); line-height: 0.92; letter-spacing: -0.02em; text-wrap: balance; }
.gstage-pitch { margin: 0 0 18px; max-width: 46ch; font-size: 1.06rem; color: rgba(255,255,255,0.86); text-wrap: pretty; }
.gstage-price { display: grid; gap: 4px; margin: 0 0 22px; }
.gstage-price span { color: rgba(255,255,255,0.8); }
.gstage-price b { font-family: 'Manrope', var(--aw-font-body); font-weight: 700; font-size: 2rem; color: #fff; letter-spacing: -0.02em; white-space: nowrap; }
.gstage-price small { font-family: var(--aw-font-mono); font-size: 0.74rem; color: var(--aw-text-muted); text-transform: capitalize; }
.gstage-list ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.gstage-list a { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.12);
    transition: transform 0.45s var(--ease), border-color 0.3s; }
.gstage-list a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5,5,7,0.9)); }
.gstage-list img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.3s, transform 0.7s var(--ease); }
.gstage-list span { position: absolute; left: 10px; right: 10px; bottom: 8px; z-index: 1; font-size: 0.84rem; font-weight: 600; line-height: 1.15; }
.gstage-list a:hover { transform: translateY(-3px); border-color: var(--aw-accent); }
.gstage-list a:hover img { opacity: 1; transform: scale(1.06); }
.gstage-list a:focus-visible { outline: 2px solid var(--aw-accent); outline-offset: 3px; }
@media (min-width: 1000px) { .gstage { --ft: clamp(300px, 40%, 460px); --fb: clamp(220px, 28%, 340px); --ov: 200px; } }
@media (min-width: 1024px) {
    /* затемнение под текстом — мягкое пятно, а не тёмная полоса от края кадра */
    .gstage::before { background: radial-gradient(ellipse 62% 70% at 24% 72%, rgba(10,10,12,0.86) 0%, rgba(10,10,12,0.62) 45%, rgba(10,10,12,0.18) 85%), rgba(10,10,12,0.14); }
    .gstage.rev::before { background: radial-gradient(ellipse 62% 70% at 76% 72%, rgba(10,10,12,0.86) 0%, rgba(10,10,12,0.62) 45%, rgba(10,10,12,0.18) 85%), rgba(10,10,12,0.14); }
    .gstage-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: 56px; padding-bottom: calc(var(--ov) + 56px); }
    .gstage.rev .gstage-copy { order: 2; }
}
.gp-table { overflow-x: auto; }
.gp-table .tiers { min-width: 560px; }
.gp-table .tiers a { color: var(--aw-text); }
.gp-table .tiers a:hover { color: var(--aw-accent-soft); }
/* Значок «Apto para niños · Sin sangre ni violencia gráfica» (Shmooter Arena) — заметный, зелёный, в первом экране */
.kid-badge { display: inline-flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 8px 14px 8px 8px; border-radius: 999px; font-size: 0.95rem; font-weight: 600; line-height: 1.25;
    color: #c9f7d6; background: rgba(46, 204, 113, 0.12); border: 1px solid rgba(46, 204, 113, 0.42); }
.kid-ic { display: inline-grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 999px; background: #2ecc71; color: #06210f; }
.kid-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.top-card .kid-badge { margin-top: 10px; font-size: 0.8rem; padding: 6px 12px 6px 6px; }
.top-card .kid-ic { flex-basis: 24px; width: 24px; height: 24px; }
.top-card .kid-ic svg { width: 14px; height: 14px; }
.g-lead { margin: 0 0 14px; font-family: var(--aw-font-display); font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 600; line-height: 1.25; }
.g-cta { margin: 18px 0 0; font-weight: 600; color: var(--aw-accent-soft); }


/* Страница «Tarjeta regalo»: карта-предпросмотр + выбор суммы и как купить */
.gc-grid { display: grid; gap: 32px; align-items: center; margin-top: 8px; }
.gc-card-wrap { perspective: 1200px; }
.gc-card { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-rows: auto auto 1fr auto; gap: 6px; aspect-ratio: 1.586; max-width: 520px; padding: 26px 28px;
    border-radius: var(--aw-radius-xl); color: #fff; border: 1px solid rgba(255,255,255,0.14);
    background: radial-gradient(120% 90% at 100% 0%, rgba(255,59,78,0.55), transparent 55%), radial-gradient(90% 80% at 0% 100%, rgba(120,20,60,0.6), transparent 60%), #0b0b0f;
    box-shadow: 0 40px 80px -40px rgba(255,59,78,0.45), inset 0 1px 0 rgba(255,255,255,0.12); transform: rotateY(-8deg) rotateX(4deg); transition: transform 0.8s var(--ease); }
.gc-card:hover, .gc-card-wrap:hover .gc-card { transform: none; }
.gc-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.12) 50%, transparent 65%); background-size: 250% 100%; animation: gc-shine 6s ease-in-out infinite; }
@keyframes gc-shine { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.gc-logo { font-family: var(--aw-font-display); font-weight: 700; letter-spacing: 0.08em; font-size: 0.95rem; }
.gc-kicker { font-family: var(--aw-font-mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--aw-accent-soft); }
.gc-amount { align-self: center; font-family: 'Manrope', var(--aw-font-body); font-weight: 700; font-size: clamp(2.6rem, 8vw, 4rem); letter-spacing: -0.02em; white-space: nowrap; }
.gc-foot { font-size: 0.78rem; color: rgba(255,255,255,0.7); }
.gc-pick { border: 0; padding: 0; margin: 0 0 18px; }
.gc-pick legend { font-weight: 600; margin-bottom: 10px; }
.gc-how { margin: 0 0 22px; padding-left: 20px; display: grid; gap: 8px; color: rgba(255,255,255,0.85); }
@media (min-width: 900px) { .gc-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
@media (prefers-reduced-motion: reduce) { .gc-card { transform: none; } .gc-card::after { animation: none; } }
.gift .lead { margin: 0; color: rgba(255,255,255,0.8); }
.gift-cta { display: grid; gap: 12px; }
.gift-cta .btn { justify-content: center; }
.gift-sub { margin: 0; font-family: var(--aw-font-mono); font-size: 0.8rem; color: var(--aw-text-muted); text-align: center; }

/* Соцсети */
/* Лента Instagram: вертикальные ролики 9:16 — на ПК 5 в ряд, на телефоне — свайп со snap */
.ig-rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(62vw, 250px); gap: 12px; overflow-x: auto; margin: 0 calc(-1 * var(--gut)); padding: 6px var(--gut) 18px;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; }
.ig-rail::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .ig-rail { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; margin: 0; padding: 6px 0 0; }
    .ig-card:nth-child(n+6) { display: none; } }
.ig-card { position: relative; isolation: isolate; display: block; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; scroll-snap-align: start;
    background: #111; border: 1px solid var(--hair); will-change: transform; transition: transform 0.4s var(--ease), border-color 0.3s ease-out; }
.ig-card :is(img, .ig-vid) { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.ig-card .ig-vid { opacity: 0; transition: opacity 0.4s ease-out; }
.ig-card .ig-vid.on { opacity: 1; }
.ig-card::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 55%, rgba(5,5,7,0.85)); pointer-events: none; }
.ig-cap { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; font-size: 0.82rem; line-height: 1.35; color: #fff;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ig-ic { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: rgba(12,12,14,0.55); }
.ig-ic svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 1.7; }
.ig-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.3); }
.ig-card:focus-visible { outline: 2px solid var(--aw-accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .ig-card, .ig-card .ig-vid { transition: none; } .ig-card:hover { transform: none; } }
.social { display: grid; gap: 24px; align-items: end; padding: 36px 28px; border-radius: 34px; border: 1px solid var(--hair);
    background: radial-gradient(70% 120% at 100% 100%, rgba(255,59,78,0.28), transparent 70%), radial-gradient(60% 100% at 0% 0%, rgba(255,138,92,0.12), transparent 70%), #0b0b0e; }
.social .head { margin: 0; }
.social .btn { justify-self: start; max-width: 100%; }
/* «@anotherworld.alicante» на кнопке — в ширину карточки на узком телефоне (320–379 px) */
@media (max-width: 379px) { .social { grid-template-columns: minmax(0, 1fr); padding: 30px 20px; } }
@media (max-width: 359px) { .social .btn { font-size: 0.84rem; padding-left: 18px; } }
/* «Descubre todas las experiencias» под сценами главной: на 320 px длиннее экрана на ~37 px (окно 20, 31.10) — в пределах колонки, на узком в две строки */
.games-stage .wrap > .btn { max-width: 100%; }
@media (max-width: 399px) { .games-stage .wrap > .btn { white-space: normal; text-align: center; line-height: 1.25; } }

/* Не нашли ответ */
.ask { max-width: 860px; margin: 0 auto; display: grid; gap: 18px; padding: 26px; border-radius: 26px; background: rgba(255,59,78,0.07); border: 1px solid rgba(255,59,78,0.22); }
.ask b { font-family: var(--aw-font-display); font-size: 1.3rem; font-weight: 600; }
.ask p { margin: 4px 0 0; color: var(--aw-text-soft); }
/* Блок «связаться» с формой (владелец 31.10; askBlock + web/ask.js): ПК — «Te llamamos» / WhatsApp / «Pregúntanos aquí»,
   телефон — «Llamar» / WhatsApp / «Escríbenos»; форма раскрывается внутри блока. Поля — как у формы брони (.fld, .chk, .hp). */
.ask-right { display: grid; gap: 12px; }
.ask-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.ask .ask-alt { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--aw-fs-sm); }
.ask-alt a, .ask-panel .chk a, .ask-wa a, .ask-ok a { color: var(--aw-text); text-decoration: underline; text-decoration-color: var(--aw-line-strong); text-underline-offset: 3px; }
.ask-alt .mono { font-family: var(--aw-font-mono); }
.ask-panel, .ask-ok { grid-column: 1 / -1; }
.ask-panel { display: grid; padding-top: 18px; border-top: 1px solid var(--aw-accent-25); }
.ask-panel[hidden], .ask-ok[hidden], .ask-panel [hidden] { display: none; }
.ask-seg { justify-self: start; display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 14px; border-radius: var(--aw-radius-pill); background: rgba(0,0,0,0.25); border: 1px solid var(--aw-line); }
.ask-seg button { min-height: 40px; padding: 0 16px; border: 0; border-radius: var(--aw-radius-pill); background: none; color: var(--aw-text-muted); font: 600 var(--aw-fs-sm) var(--aw-font-body); cursor: pointer; transition: background-color var(--aw-dur-fast), color var(--aw-dur-fast); }
.ask-seg button[aria-pressed="true"] { background: var(--aw-accent); color: #fff; }
.ask-seg button:focus-visible { outline: 2px solid var(--aw-accent); outline-offset: 2px; }
.ask-grid { display: grid; gap: 0 14px; }
.ask-when { border: 0; padding: 0; min-width: 0; }
.ask-when legend { padding: 0; margin-bottom: 6px; font-size: var(--aw-fs-sm); color: var(--aw-text-muted); }
.ask-when legend small { color: var(--aw-text-faint); font-size: var(--aw-fs-xs); }
.ask-when .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ask-when .chips label { position: relative; cursor: pointer; }
.ask-when .chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ask-when .chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--aw-radius-pill); border: 1px solid var(--aw-line-strong); background: var(--aw-surface-2); color: var(--aw-text-muted); font-size: var(--aw-fs-sm); transition: border-color var(--aw-dur-fast), background-color var(--aw-dur-fast), color var(--aw-dur-fast); }
.ask-when .chips input:checked + span { border-color: var(--aw-accent); background: var(--aw-accent-10); color: var(--aw-text); }
.ask-when .chips input:focus-visible + span { outline: 2px solid var(--aw-accent); outline-offset: 2px; }
.ask-panel .fld textarea { min-height: 110px; resize: vertical; }
.ask .ask-err { margin: -4px 0 12px; color: var(--aw-accent-soft); }
.ask-send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.ask-send .btn[disabled] { opacity: 0.6; cursor: progress; }
.ask-send small { color: var(--aw-text-muted); font-size: var(--aw-fs-sm); }
.ask .ask-wa { margin-top: 12px; font-size: var(--aw-fs-sm); }
.ask .ask-info { margin-top: 14px; max-width: 70ch; font-size: var(--aw-fs-xs); line-height: 1.5; color: var(--aw-text-muted); }
.ask-info a { color: var(--aw-text); text-decoration: underline; text-decoration-color: var(--aw-line-strong); text-underline-offset: 3px; }
.ask-ok { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--aw-radius-lg); background: rgba(61,220,132,0.10); border: 1px solid rgba(61,220,132,0.35); outline: none; }
.ask-ok b { font-size: 1.05rem; }
.ask-ok-ic { flex: 0 0 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--aw-ok); color: #0b0b0d; }
.ask-ok-ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ask-pc { display: none; }
/* Телефон (владелец 31.10: «центрирование везде должно быть по центру»): заголовок, текст, кнопки одной ширины и ссылки — по центру;
   поля раскрытой формы — как у формы брони (слева) */
@media (max-width: 767px) {
    .ask { text-align: center; justify-items: center; }
    .ask-right { width: 100%; justify-items: center; }
    .ask-acts { width: 100%; max-width: 340px; flex-direction: column; align-items: stretch; }
    .ask-acts .btn { width: 100%; justify-content: center; }
    .ask .ask-alt { justify-content: center; }
    .ask-panel, .ask-ok { width: 100%; text-align: left; justify-self: stretch; }
}
@media (min-width: 768px) {
    .ask-pc { display: inline-flex; }
    .ask-mob { display: none; }
    .ask-grid { grid-template-columns: 1fr 1fr; }
    .ask-grid .wide { grid-column: 1 / -1; }
}

/* ---------- Живой чат на сайте (владелец 31.10; web/chat.js): кнопка «Escríbenos» и окно ----------
   ПК — окно 380×560 справа внизу; телефон — на весь экран. Кнопка на телефоне — над полосой «Reservar» (.mbar). */
.chat-fab { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: calc(var(--aw-z-nav) + 1);
    display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px; border: 0; border-radius: var(--aw-radius-pill);
    background: var(--aw-accent); color: #fff; font: 700 var(--aw-fs-md) var(--aw-font-body); cursor: pointer;
    box-shadow: 0 18px 40px -16px var(--aw-accent-glow); transition: transform var(--aw-dur-fast) var(--aw-ease-out), bottom var(--aw-dur-base) var(--aw-ease-out), translate var(--aw-dur-base) var(--aw-ease-out); }
.chat-fab:active { transform: scale(0.96); }
.chat-fab:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.chat-fab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chat-fab-dot { display: none; width: 9px; height: 9px; border-radius: 50%; background: var(--aw-ok); box-shadow: 0 0 0 3px rgba(0,0,0,0.25); }
.chat-fab.is-open .chat-fab-dot { display: inline-block; }   /* клуб сейчас открыт */
.chat-fab-n { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center;
    border-radius: 11px; background: #fff; color: var(--aw-accent); font: 700 0.72rem var(--aw-font-mono); }
.chat-fab-n[hidden], .chat-fab[hidden] { display: none; }
.chat-panel { position: fixed; right: 20px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: var(--aw-z-modal);
    width: 380px; height: min(560px, calc(100dvh - 120px)); display: flex; flex-direction: column; overflow: hidden;
    border-radius: var(--aw-radius-xl); background: #141416; border: 1px solid var(--aw-line-strong); box-shadow: 0 30px 70px -30px rgba(0,0,0,0.85); }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--aw-glass); border-bottom: 1px solid var(--aw-line); }
.chat-av { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--aw-accent-10);
    border: 1px solid var(--aw-accent-25); color: var(--aw-accent-soft); font: 700 0.8rem var(--aw-font-display); }
.chat-who { min-width: 0; }
.chat-who b { display: block; font: 600 1rem var(--aw-font-display); }
.chat-status { display: flex; align-items: center; gap: 6px; color: var(--aw-text-muted); font-size: var(--aw-fs-xs); }
.chat-status i { flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--aw-text-faint); }
.chat-status i.on { background: var(--aw-ok); }
/* вне часов отвечает ассистент: часы команды второй строкой, под текстом статуса (отступ = точка 7 px + зазор 6 px) */
.chat-team { padding-left: 13px; }
.chat-team[hidden] { display: none; }
.chat-x { margin-left: auto; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--aw-line); background: var(--aw-surface-2);
    color: var(--aw-text); display: grid; place-items: center; cursor: pointer; }
.chat-x svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.chat-x:focus-visible, .chat-send:focus-visible { outline: 2px solid var(--aw-accent); outline-offset: 2px; }
.chat-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.chat-bub { max-width: 82%; padding: 10px 13px; border-radius: 18px; font-size: var(--aw-fs-sm); line-height: 1.45; overflow-wrap: anywhere; }
.chat-bub.club { align-self: flex-start; background: var(--aw-surface-2); border: 1px solid var(--aw-line); border-bottom-left-radius: 6px; }
.chat-bub.me { align-self: flex-end; background: var(--aw-accent); color: #fff; border-bottom-right-radius: 6px; }
.chat-txt { white-space: pre-wrap; }
/* ссылки в сообщениях клуба (chat.js linkParts): цвет текста + подчёркивание — контраст как у текста пузыря */
.chat-txt a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.chat-txt a:focus-visible { outline: 2px solid var(--aw-accent); outline-offset: 2px; border-radius: 4px; }
.chat-bub small { display: block; margin-top: 4px; font: 500 0.68rem var(--aw-font-mono); opacity: 0.75; text-align: right; }
.chat-bub.club small { text-align: left; }
.chat-foot { padding: 12px; border-top: 1px solid var(--aw-line); background: #111113; display: grid; gap: 8px; }
.chat-row { display: flex; gap: 8px; align-items: flex-end; }
.chat-in { flex: 1; min-height: 46px; max-height: 120px; padding: 12px 14px; border-radius: 16px; background: rgba(0,0,0,0.3); border: 1px solid var(--aw-line-strong);
    color: var(--aw-text); font: inherit; font-size: var(--aw-fs-sm); resize: none; }
.chat-in:focus, .chat-away input:focus { outline: none; border-color: var(--aw-accent); box-shadow: 0 0 0 4px var(--aw-accent-10); }
.chat-send { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--aw-accent); color: #fff; display: grid; place-items: center; cursor: pointer; }
.chat-send[disabled] { opacity: 0.6; }
.chat-send svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chat-start { display: grid; gap: 10px; max-height: 60dvh; overflow-y: auto; }
.chat-start .fld { margin: 0; }
.chat-start .fld textarea { min-height: 84px; resize: vertical; }
.chat-info { margin: 0; font-size: var(--aw-fs-xs); line-height: 1.45; color: var(--aw-text-muted); }   /* первая информация, до первого сообщения */
.chat-info a, .chat-wa a { color: var(--aw-text); text-decoration: underline; text-underline-offset: 3px; }
.chat-bub.is-sending { opacity: 0.7; }
.chat-bub.is-failed { background: transparent; color: var(--aw-text); border: 1px solid var(--aw-accent); }
.chat-retry { display: block; margin: 6px 0 0 auto; min-height: 32px; padding: 0; border: 0; background: none; color: var(--aw-accent-soft);
    font: inherit; font-size: var(--aw-fs-xs); font-weight: 600; text-align: right; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.chat-later { justify-self: start; min-height: 44px; padding: 0; border: 0; background: none; color: var(--aw-text-muted); font: inherit; font-size: var(--aw-fs-xs);
    text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.chat-retry:focus-visible, .chat-later:focus-visible { outline: 2px solid var(--aw-accent); outline-offset: 2px; }
.chat-start .btn { width: 100%; justify-content: center; }
.chat-err { margin: 0; color: var(--aw-accent-soft); font-size: var(--aw-fs-xs); font-weight: 600; }
.chat-err[hidden] { display: none; }
.chat-away { align-self: stretch; display: grid; gap: 10px; padding: 14px; border-radius: 18px; background: rgba(255,181,71,0.08); border: 1px solid rgba(255,181,71,0.3); }
.chat-away b { font-size: var(--aw-fs-sm); }
.chat-away p { margin: 0; font-size: var(--aw-fs-xs); color: var(--aw-text-muted); }
.chat-away input { flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; border-radius: 14px; background: rgba(0,0,0,0.3); border: 1px solid var(--aw-line-strong); color: var(--aw-text); font: inherit; font-size: var(--aw-fs-sm); }
.chat-away .btn { min-height: 44px; padding: 0 16px; }
.chat-keep { align-self: center; margin: 0 0 4px; max-width: 90%; text-align: center; font-size: var(--aw-fs-xs); color: var(--aw-text-faint); }
.chat-typing { color: var(--aw-text-muted); font-style: italic; }
@media (prefers-reduced-motion: no-preference) { .chat-typing { animation: chat-typing 1.4s ease-in-out infinite; } }
@keyframes chat-typing { 50% { opacity: 0.45; } }
.chat-ok { align-self: center; margin: 0; font-size: var(--aw-fs-xs); color: var(--aw-ok); }
.chat-wa { align-self: center; margin: 0; font-size: var(--aw-fs-xs); color: var(--aw-text-muted); }
/* Окно у кнопок звонка на ПК (web/call.js, callPop): стекло как у окна чата; номер крупно, три способа связи, форма «Te llamamos» внутри */
.callpop { position: fixed; z-index: calc(var(--aw-z-modal) - 1); width: min(380px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
    padding: 16px 18px 18px; border-radius: var(--aw-radius-xl); background: #141416; border: 1px solid var(--aw-line-strong); box-shadow: 0 30px 70px -30px rgba(0,0,0,0.85); }
.callpop[hidden] { display: none; }
.callpop-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.callpop-l { font: 500 var(--aw-fs-xs) var(--aw-font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--aw-text-muted); }
.callpop-x { flex: 0 0 40px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--aw-line); background: var(--aw-surface-2); color: var(--aw-text); cursor: pointer; }
.callpop-x svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.callpop-num { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 4px; }
.callpop-num b { font: 600 1.45rem var(--aw-font-mono); letter-spacing: 0.01em; white-space: nowrap; user-select: all; }
.callpop-copy { min-height: 40px; padding: 0 16px; flex: 0 0 auto; }
.callpop-hint { margin: 0 0 14px; font-size: var(--aw-fs-xs); color: var(--aw-text-muted); }
.callpop-acts { display: grid; gap: 8px; }
.callpop-acts .btn { width: 100%; justify-content: space-between; }
.callpop-acts .btn[hidden] { display: none; }
.callpop .ask-panel { margin-top: 16px; }
.callpop .ask-grid { grid-template-columns: 1fr; }
.callpop .ask-ok { margin-top: 16px; }
.callpop .ask-info { font-size: var(--aw-fs-xs); line-height: 1.5; }
.callpop .ask-panel .chk { font-size: var(--aw-fs-xs); }
.callpop-x:focus-visible, .callpop-copy:focus-visible { outline: 2px solid var(--aw-accent); outline-offset: 2px; }
@media (max-width: 767px) {
    .chat-fab { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
    body:has(.mbar.show) .chat-fab { bottom: calc(92px + env(safe-area-inset-bottom)); }
    /* бронь: над итогом кнопку поднимает chat.js (keepClear); здесь она — круглая иконка 52 px, чтобы меньше закрывать поля (окно 6, 5.11) */
    body:has(#bookForm) .chat-fab { padding: 0; width: 52px; justify-content: center; }
    body:has(#bookForm) .chat-fab-t { display: none; }
    .chat-on .chat-fab { display: none; }
    .chat-panel { inset: 0; right: 0; bottom: 0; width: 100%; height: 100dvh; border-radius: 0; border: 0; }
    .chat-on body { overflow: hidden; }
}

/* ---------- Секции ---------- */
.section { position: relative; padding-top: 96px; }
.hero4 + .section { padding-top: 40px; } /* сразу под 4 блоками — без лишней пустоты */
.section.first { padding-top: 128px; }
.head { display: grid; gap: 14px; margin-bottom: 36px; justify-items: start; }
.head.center { justify-items: center; text-align: center; }
.section-title { margin: 0; font-family: var(--aw-font-display); font-weight: 600; font-size: clamp(2rem, 5.6vw, 3.6rem); line-height: 1.02; letter-spacing: -0.02em; overflow-wrap: break-word; }
.section-title em { font-style: normal; color: var(--aw-accent); }
/* Лиды и абзацы блоков (в т.ч. блок клуба clubBlock) — читаемый цвет, не muted: на свечении фона белый 50 % давал 1,8–3,9 : 1
   (владелец 6.11, Eventos: «этот текст не читаемый вообще»); 80 % — не ниже 7 : 1 по самому светлому месту свечения. 17 px, 1,6, ≤ 58 знаков */
.lead { max-width: 58ch; color: var(--aw-text-soft); font-size: 1.08rem; line-height: 1.6; margin: 0; }

/* Двойная рамка (оболочка + сердцевина) */
.shell { padding: 6px; border-radius: 30px; background: rgba(255,255,255,0.035); border: 1px solid var(--hair); }
.core { border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)); box-shadow: inset 0 1px 1px rgba(255,255,255,0.08); overflow: hidden; }

/* ---------- Плитки направлений ---------- */
.tile { position: relative; display: block; min-height: 280px; border-radius: 30px; overflow: hidden; isolation: isolate; border: 1px solid var(--hair); background: #111; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,5,5,0.05) 20%, rgba(5,5,5,0.88) 100%); }
.tile:hover img { transform: scale(1.06); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; display: grid; gap: 6px; }
.tile-kicker { font-family: var(--aw-font-mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.tile-title { font-family: var(--aw-font-display); font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 600; line-height: 1.02; }
.tile-sub { color: rgba(255,255,255,0.75); font-size: 0.95rem; max-width: 36ch; }
.tile-go { position: absolute; right: 18px; top: 18px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255,255,255,0.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform 0.6s var(--ease), background 0.4s; }
.tile-go svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; }
.tile:hover .tile-go { transform: rotate(-45deg) scale(1.06); background: var(--aw-accent); }

/* ---------- Лента игр ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 340px); gap: 14px; overflow-x: auto; padding: 4px var(--gut) 20px; margin: 0 calc(-1 * var(--gut)); scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.game-grid { display: grid; gap: 14px; }
.game { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 28px; overflow: hidden; background: #0d0d10; border: 1px solid var(--hair); transition: transform 0.6s var(--ease), border-color 0.4s; }
.game:hover { transform: translateY(-4px); border-color: rgba(255,59,78,0.35); }
.game-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #16161a; }
.game-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.game:hover .game-img img { transform: scale(1.07); }
.game-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13,13,16,0.95)); }
.game-body { display: grid; gap: 10px; align-content: start; padding: 4px 20px 20px; }
.game-body h3 { margin: 0; font-family: var(--aw-font-display); font-size: 1.32rem; font-weight: 600; line-height: 1.1; }
.game-body p { margin: 0; color: var(--aw-text-muted); font-size: 0.93rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-family: var(--aw-font-mono); font-size: 0.7rem; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.72); }
.top-badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: var(--aw-accent); color: #fff; font-family: var(--aw-font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; box-shadow: 0 10px 24px -8px var(--aw-accent-glow); }
.game .btn { margin-top: 4px; justify-self: start; }

.filter { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 22px; scrollbar-width: none; }
.filter::-webkit-scrollbar { display: none; }
.filter a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--hair); font-size: 0.92rem; color: var(--aw-text-muted); transition: background 0.3s, color 0.3s; }
.filter a:hover { color: var(--aw-text); }
.filter a[aria-current="page"] { background: var(--aw-text); border-color: var(--aw-text); color: #050505; font-weight: 600; }

/* ---------- Иконка в кружке ---------- */
.why-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(12,12,14,0.62); border: 1px solid rgba(255,255,255,0.12); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); }
/* Иконки белые на тёмной подложке: на красном фоне-«жидкости» красное на красном не читалось (владелец 24.10) */
.why-ico svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Как это работает ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: s; }
.steps .core { position: relative; padding: 26px; height: 100%; }
.steps b { display: block; margin-top: 30px; font-family: var(--aw-font-display); font-size: 1.25rem; font-weight: 600; }
.steps span.d { color: var(--aw-text-muted); font-size: 0.95rem; }
.step-n { position: absolute; top: 18px; right: 22px; font-family: var(--aw-font-display); font-size: 3.4rem; line-height: 1; color: rgba(255,255,255,0.06); }
.step-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--aw-accent); box-shadow: 0 0 16px var(--aw-accent); }
.steps .hot .core { background: linear-gradient(180deg, rgba(255,59,78,0.16), rgba(255,59,78,0.04)); }

/* ---------- Метки ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid var(--hair); font-size: 0.88rem; }

/* ---------- Цены ---------- */
.price-grid { display: grid; gap: 12px; }
.price .core { padding: 28px 24px; height: 100%; display: grid; align-content: start; gap: 6px; }
.price h3 { margin: 0; font-family: var(--aw-font-display); font-size: 1.4rem; font-weight: 600; }
.price-meta { font-family: var(--aw-font-mono); font-size: 0.7rem; letter-spacing: 0.16em; color: var(--aw-accent-soft); }
.price-n { font-family: var(--aw-font-display); font-size: 3.4rem; line-height: 1; font-weight: 600; margin: 14px 0 2px; }
.price-n small { font-size: 1rem; color: var(--aw-text-muted); font-family: var(--aw-font-body); font-weight: 400; margin-left: 4px; }
.price-unit { color: var(--aw-text-muted); font-size: 0.92rem; margin: 0 0 16px; }
.price.featured .shell { background: linear-gradient(180deg, rgba(255,59,78,0.35), rgba(255,59,78,0.05)); border-color: rgba(255,59,78,0.35); }
.tiers { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin: 6px 0 18px; }
.tiers th, .tiers td { padding: 9px 0; border-bottom: 1px solid var(--hair); text-align: left; }
.tiers th { font-weight: 400; color: var(--aw-text-muted); font-size: 0.8rem; }
.tiers td:not(:first-child), .tiers th:not(:first-child) { text-align: right; font-family: var(--aw-font-mono); }
.tiers s { color: var(--aw-text-faint); margin-right: 6px; }

/* ---------- Отзывы, FAQ, место ---------- */
/* Отзывы (владелец 29.10: «слишком большое расстояние между ними»): на ширину контейнера, промежутки — токены, у <figure>
   нет внешних отступов браузера. От 768 px — masonry (колонки): карточки с фото / видео и без не растягиваются друг под друга,
   пустого места нет; длинный текст — 7 строк и «Leer más» (web/reviews.js, только с JS); на телефоне — карусель со scroll-snap,
   край следующей карточки виден */
.reviews { display: grid; gap: var(--aw-space-4); }
.review { margin: 0; display: flex; min-width: 0; }
@media (min-width: 768px) {
    .reviews { display: block; columns: 2; column-gap: var(--aw-space-4); }
    .review { break-inside: avoid; margin-bottom: var(--aw-space-4); }
}
@media (min-width: 1024px) { .reviews { columns: 3; } }
.review .shell { width: 100%; }
.review .core { padding: var(--aw-space-5); height: 100%; display: flex; flex-direction: column; }
.review blockquote { margin: var(--aw-space-3) 0 0; font-size: 1.02rem; line-height: 1.55; overflow-wrap: anywhere; }
.reviews.js-clamp .review blockquote:not(.open) { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review-more { align-self: flex-start; min-height: 40px; margin: var(--aw-space-1) 0 0; padding: 0; border: 0; background: none; color: var(--aw-text);
    font: inherit; font-size: 0.9rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.review-more:focus-visible { outline: 2px solid var(--aw-accent); outline-offset: 2px; border-radius: 4px; }
.review figcaption { margin-top: auto; padding-top: var(--aw-space-4); color: var(--aw-text-muted); font-size: 0.85rem; }
@media (max-width: 767px) {
    .reviews { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--aw-space-3); margin: 0 calc(var(--gut) * -1);
        padding: var(--aw-space-1) var(--gut) var(--aw-space-4); scroll-padding-inline: var(--gut); overscroll-behavior-x: contain; scrollbar-width: none; }
    .reviews::-webkit-scrollbar { display: none; }
    .review { flex: 0 0 min(84%, 340px); scroll-snap-align: start; }
}
.review figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* Видео отзыва (070): постер с ▶ (кроп 4:3, как у фото), ролик — в окне (web/reviews.js) */
.review-play { position: relative; display: block; margin-bottom: 14px; border-radius: var(--aw-radius-md); overflow: hidden; }
.review-play .review-photo { margin: 0; }
.review-play-ic { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
    background: rgba(5, 5, 5, 0.62); border: 1px solid rgba(255, 255, 255, 0.28); transition: transform var(--aw-dur-fast) var(--aw-ease-out); }
.review-play-ic svg { width: 26px; height: 26px; fill: #fff; margin-left: 3px; }
.review-play:hover .review-play-ic { transform: scale(1.06); }
.review-play:active .review-play-ic { transform: scale(0.96); }
.review-play:focus-visible { outline: 2px solid var(--aw-accent); outline-offset: 3px; }
.rv-dialog { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--aw-text); }
.rv-dialog[open] { display: grid; place-items: center; }
.rv-dialog::backdrop { background: rgba(3, 3, 3, 0.86); }
.rv-frame { position: relative; width: min(92vw, calc(84dvh * 9 / 16)); aspect-ratio: 9 / 16; border-radius: var(--aw-radius-xl); overflow: hidden;
    background: #000; border: 1px solid var(--aw-line-strong); }
.rv-frame.is-wide { width: min(92vw, 1100px, calc(84dvh * 16 / 9)); aspect-ratio: 16 / 9; }
.rv-frame video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.rv-x { position: absolute; top: 10px; right: 10px; z-index: 2; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    color: #fff; background: rgba(0, 0, 0, 0.6); border: 1px solid rgba(255, 255, 255, 0.22); }
.rv-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (prefers-reduced-motion: reduce) { .review-play-ic { transition: none; } }
.review-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--aw-radius-md); margin-bottom: 14px; background: var(--aw-surface-2); }
.stars { color: #f5b301; letter-spacing: 2px; }
.faq { display: grid; gap: 10px; max-width: 860px; margin: 0 auto 32px; }
.faq details { border-radius: 22px; background: rgba(255,255,255,0.035); border: 1px solid var(--hair); transition: background 0.3s; }
.faq details[open] { background: rgba(255,255,255,0.06); }
.faq summary { cursor: pointer; padding: 20px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: 0 0 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.08); color: var(--aw-accent-soft); font-size: 1.2rem; transition: transform 0.5s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--aw-text-soft); line-height: 1.6; }   /* ответ — основной текст, не muted (окно 6, 6.11) */

/* ---------- Финальный призыв ---------- */
.final { position: relative; margin-top: 96px; padding: 72px 24px; border-radius: 36px; overflow: hidden; text-align: center; isolation: isolate;
    background: radial-gradient(80% 120% at 50% 0%, rgba(255,59,78,0.35), rgba(5,5,5,0) 70%), #0b0b0e; border: 1px solid rgba(255,59,78,0.25); }
.final .section-title { max-width: 16ch; margin: 0 auto 18px; text-wrap: balance; }   /* без одинокого «VR» во 2-й строке (ревизор 29.10) */
.final .lead { max-width: 52ch; text-wrap: pretty; }
.final .hero-cta { justify-content: center; }

/* ---------- Страница игры ---------- */
.g-hero { position: relative; min-height: 78dvh; display: flex; align-items: flex-end; overflow: hidden; }
.g-hero-img, .g-hero-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.g-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, var(--aw-bg) 4%, rgba(24,24,27,0.6) 50%, rgba(24,24,27,0.15)); }
.g-hero .wrap { position: relative; z-index: 2; padding-bottom: 36px; padding-top: 110px; }
.g-title { margin: 6px 0 16px; font-family: var(--aw-font-display); font-size: clamp(2.4rem, 8vw, 5.4rem); font-weight: 600; line-height: 0.98; letter-spacing: -0.02em; }
.g-video { margin: 0 0 28px; max-width: 880px; border-radius: var(--aw-radius-xl); overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 30px 80px -40px rgba(0,0,0,0.8); }
.g-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.g-desc { max-width: 62ch; color: rgba(255,255,255,0.78); font-size: 1.12rem; margin: 0 0 26px; }
.back { display: inline-flex; gap: 6px; color: var(--aw-text-muted); font-size: 0.9rem; padding: 10px 0; margin-bottom: 8px; }
.points { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.points li { position: relative; padding: 16px 18px 16px 50px; border-radius: 20px; background: rgba(255,255,255,0.04); border: 1px solid var(--hair); }
.points li::before { content: ''; position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--aw-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- Подвал ---------- */
.foot { padding: 64px 0 110px; color: var(--aw-text-muted); font-size: 0.92rem; margin-top: 96px; border-top: 1px solid var(--hair);
    background: radial-gradient(60% 80% at 50% 0%, rgba(255,59,78,0.08), transparent 70%), #050505; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 20px; align-items: start; }
/* телефон: «Experiencias» и «Información» рядом, бренд и контакты — во всю ширину (ревизор 29.10: подвал был в 3 экрана прокрутки) */
@media (max-width: 767px) { .foot-brand, .foot-grid > div:last-child { grid-column: 1 / -1; } }
.foot-brand { display: grid; gap: 14px; justify-items: start; align-content: start; max-width: 320px; }
.foot-brand .nav-logo { color: var(--aw-text); }
.foot-brand p { margin: 0; }
.foot h3 { margin: 0 0 12px; font-family: var(--aw-font-mono); font-size: 0.7rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--aw-text); }
.foot nav { display: grid; align-content: start; }
.foot nav a, .foot-links a { display: block; padding: 6px 0; }
.foot a:hover { color: var(--aw-text); }
.foot-list { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.foot-list span { display: block; font-size: 0.75rem; color: var(--aw-text-faint); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--hair); font-size: 0.82rem; }
.foot-legal nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-legal nav a { padding: 0; }
.foot-pay { display: flex; align-items: center; gap: 8px; flex-basis: 100%; color: var(--aw-text-muted); font-size: 0.78rem; }
.foot-pay svg { width: 44px; height: 28px; border-radius: 5px; box-shadow: 0 0 0 1px rgba(255,255,255,0.1); }

/* ---------- Планшет и ПК ---------- */
@media (min-width: 768px) {


    .facts { grid-template-columns: repeat(4, 1fr); }
    .stats li { padding: 28px 16px; }
    .stats .fact-n { font-size: clamp(1.05rem, 2vw, 1.85rem); }
    .hero4 { padding-top: 96px; padding-bottom: 24px; }
    .social { grid-template-columns: 1fr auto; padding: 56px 48px; }
    .gift { grid-template-columns: 1.5fr 1fr; gap: 40px; padding: 60px; }
    /* текст над кнопками (окно 5 / окно 1, 31.10): рядом с тремя кнопками колонке текста оставалось ~190 px — заголовок в 2 строки, абзац в 7 */
    .ask > div:first-child { max-width: 62ch; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .game-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .price-grid { grid-template-columns: repeat(3, 1fr); }
    .section { padding-top: var(--aw-space-9); }   /* 96 px — токен «между секциями на десктопе» (было 140: пустые полосы ~190 px между блоками, владелец 29.10) */
    .nav-links { display: flex; }
}
@media (min-width: 1024px) {
    .game-grid { grid-template-columns: repeat(3, 1fr); }
    .duo { grid-template-columns: 1fr 1fr; gap: 64px; }
    .duo.rev .duo-img { order: 2; }
    .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
    .steps { grid-template-columns: repeat(4, 1fr); }
    .split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .rv { opacity: 1; transform: none; filter: none; transition: none; }
    .stats.rv li { opacity: 1; transform: none; transition: none; }
    .reel, .reel-wrap[data-amb] .reel { animation: none; transform: none; }
    .reel video { display: none; }
}
/* ---------- Бронь: одна панель-таймлайн вместо отдельных коробок ---------- */
.book-grid { display: grid; gap: 24px; align-items: start; }
.book-steps {
    position: relative; min-width: 0; padding: 8px; border-radius: 32px;
    background: rgba(255,255,255,0.03); border: 1px solid var(--aw-line);
}
.book-steps-core {
    border-radius: 26px; background: var(--aw-surface-2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); padding: 8px 0;
}
.bstep { position: relative; margin: 0; padding: 22px 24px 24px 64px; border: 0; min-width: 0; }
.bstep + .bstep { border-top: 1px solid var(--aw-line); }
/* линия таймлайна и номер шага */
.bstep::before { content: ''; position: absolute; left: 35px; top: 0; bottom: 0; width: 1px; background: linear-gradient(var(--aw-line), var(--aw-line)); }
.bstep:first-child::before { top: 30px; }
.bstep:last-child::before { bottom: calc(100% - 30px); }
.bstep legend { float: left; width: 100%; margin-bottom: 16px; font-family: var(--aw-font-display); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
.bstep legend .mono {
    position: absolute; left: 22px; top: 21px; width: 28px; height: 28px; display: grid; place-items: center; z-index: 1;
    border-radius: 50%; background: var(--aw-surface-3); border: 1px solid var(--aw-line-strong);
    color: var(--aw-text-muted); font-size: 0.68rem; margin: 0; transition: background var(--aw-dur-fast), color var(--aw-dur-fast), border-color var(--aw-dur-fast);
}
.bstep.done legend .mono { background: var(--aw-accent); border-color: var(--aw-accent); color: #fff; box-shadow: 0 0 18px var(--aw-accent-25); }
.bstep > *:not(legend) { clear: both; }

/* Горизонтальные ленты: без системной полосы, мягкое затухание по краям, стрелки */
.hs { position: relative; }
.hs-track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 6px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl, 0px), #000 calc(100% - var(--fr, 0px)), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl, 0px), #000 calc(100% - var(--fr, 0px)), transparent 100%); }
.hs-track::-webkit-scrollbar { display: none; }
.hs.can-l .hs-track { --fl: 48px; }
.hs.can-r .hs-track { --fr: 48px; }
.hs-btn {
    position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%;
    display: grid; place-items: center; color: var(--aw-text);
    background: rgba(20,20,22,0.82); border: 1px solid var(--aw-line-strong); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    opacity: 0; pointer-events: none; transition: opacity var(--aw-dur-fast), transform var(--aw-dur-fast) var(--aw-ease-spring);
}
.hs-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hs-btn:hover { transform: scale(1.08); }
.hs-btn.l { left: -6px; } .hs-btn.r { right: -6px; }
.hs.can-l .hs-btn.l, .hs.can-r .hs-btn.r { opacity: 1; pointer-events: auto; }
@media (hover: none) { .hs-btn { display: none; } }
/* Лента игр брони «01 Juego» (окно 17, 31.10; владелец: стрелка «›» лежала на карточке): стрелки ленты над карточками не показываем;
   на ПК — сетка всех игр, уже — лента и под ней строка «‹ 1–2 / 7 ›» (book.js gamesNav) */
.hs-games .hs-btn { display: none; }
.gp-nav { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.gp-nav[hidden] { display: none; }
.gp-count { min-width: 5.5ch; text-align: center; font-size: var(--aw-fs-xs, 0.75rem); color: var(--aw-text-muted); font-variant-numeric: tabular-nums; }
.gp-btn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--aw-text); background: var(--aw-surface-2, rgba(255,255,255,0.06));
    border: 1px solid var(--aw-line-strong); transition: opacity var(--aw-dur-fast), transform var(--aw-dur-fast) var(--aw-ease-spring); }
.gp-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gp-btn:hover:not(:disabled) { transform: scale(1.08); }
.gp-btn:disabled { opacity: 0.35; cursor: default; }
.gp-btn:focus-visible { outline: 2px solid var(--aw-accent); outline-offset: 3px; }
@media (min-width: 1024px) {
    .hs-games .gpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; overflow: visible; scroll-snap-type: none;
        -webkit-mask-image: none; mask-image: none; }
    .hs-games .gpick .gopt { flex: none; }
    .gp-nav { display: none; }
}

/* Игры: крупные карточки, название на картинке */
.gopt {
    position: relative; flex: 0 0 168px; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; text-align: left; padding: 0;
    background: var(--aw-surface-3); border: 0; scroll-snap-align: start; isolation: isolate;
    box-shadow: inset 0 0 0 1px var(--aw-line); transition: transform var(--aw-dur-fast) var(--aw-ease-spring), box-shadow var(--aw-dur-fast);
}
.gopt:hover { transform: translateY(-2px); }
.gopt:active { transform: scale(0.97); }
.gopt .gimg { position: absolute; inset: 0; z-index: -2; background: var(--aw-surface-3) center / cover no-repeat; transition: transform 0.7s var(--ease); }
.gopt:hover .gimg { transform: scale(1.05); }
.gopt::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.85)); }
.gopt .gname { position: absolute; left: 12px; right: 12px; bottom: 12px; font-size: var(--aw-fs-sm); font-weight: 600; line-height: 1.25; color: #fff; }
.gopt .gmeta { position: absolute; top: 10px; left: 10px; padding: 3px 8px; border-radius: 999px; background: rgba(0,0,0,0.55); color: #fff; font-family: var(--aw-font-mono); font-size: 0.68rem; }
.gopt.on { box-shadow: inset 0 0 0 2px var(--aw-accent), 0 12px 30px -12px var(--aw-accent-25); }
.gopt.on::before { content: '✓'; position: absolute; top: 10px; right: 10px; z-index: 1; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--aw-accent); color: #fff; font-size: 0.8rem; font-weight: 700; }
.gopt.any .gimg { background: radial-gradient(circle at 50% 38%, var(--aw-accent-25), transparent 60%), var(--aw-surface-3); }
.gopt.any .gimg::after { content: ''; position: absolute; inset: 0; background: url('/favicon.svg') center 38% / 46px no-repeat; }
/* Прайс 25.10: цена «desde» на карточке игры; без праздника — карточка неактивна */
.gopt .gprice { position: absolute; top: 10px; right: 10px; padding: 3px 8px; border-radius: 999px; background: rgba(0,0,0,0.6); color: #fff; font-size: 0.7rem; font-weight: 600; }
.gopt.on .gprice { top: 42px; }   /* выбранная: цена под галочкой — на узкой карточке справа от «2–6» не помещалась (окно 17, 31.10) */
.gopt.off { opacity: 0.38; cursor: not-allowed; filter: grayscale(0.6); }
.gopt.off:hover { transform: none; }
.hint.scen { margin: 10px 0 0; }
.seg3.kind { display: grid; grid-template-columns: 1fr 1fr; }
.seg3.kind span { display: grid; gap: 2px; border-radius: 18px; height: 100%; }
.seg3.kind small { color: var(--aw-text-muted); font-size: 0.8rem; }
.seg3 label.off { opacity: 0.4; }
.seg3 label.off span { cursor: not-allowed; }
.bday-box { margin-top: 14px; padding: 16px 18px; border-radius: 18px; background: var(--aw-accent-10); border: 1px solid rgba(255,59,78,0.35); }
.bday-box ul { margin: 8px 0 6px; padding-left: 18px; display: grid; gap: 4px; font-size: var(--aw-fs-sm); }
.bday-box .hint { margin: 0; }
.day .dp { font-size: 0.68rem; color: var(--aw-text-muted); }
.day.on .dp { color: rgba(255,255,255,0.9); }
.dg-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.dg-prices:empty { display: none; }
.dgp { display: grid; gap: 2px; padding: 10px 14px; border-radius: 14px; background: rgba(0,0,0,0.22); border: 1px solid var(--aw-line); transition: border-color var(--aw-dur-fast), background var(--aw-dur-fast); }
.dgp.on { border-color: var(--aw-accent); background: var(--aw-accent-10); }
.dgp-name { font-size: 0.78rem; color: var(--aw-text-muted); text-transform: capitalize; }
.dgp-name em { font-style: normal; color: var(--aw-accent-soft); text-transform: none; }
.dgp small { font-size: 0.72rem; color: var(--aw-accent-soft); }
.sum-game small { display: block; color: var(--aw-text-muted); font-size: 0.8rem; }
.tiers td small { display: block; font-size: 0.7rem; color: var(--aw-text-muted); }
.tiers th small { display: block; font-weight: 400; color: var(--aw-accent-soft); }
@media (max-width: 520px) { .seg3.kind, .dg-prices { grid-template-columns: 1fr; } }
.gopt:first-child::after { background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.6)); }

/* Игроки */
.stepper-lg { display: inline-flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(0,0,0,0.25); border: 1px solid var(--aw-line); }
.st-btn { width: 48px; height: 48px; border-radius: 50%; background: var(--aw-surface-3); border: 1px solid var(--aw-line-strong); font-size: 1.4rem; color: var(--aw-text); transition: transform var(--aw-dur-fast) var(--aw-ease-spring), background var(--aw-dur-fast); }
.st-btn:hover:not(:disabled) { background: var(--aw-accent); border-color: var(--aw-accent); }
.st-btn:active { transform: scale(0.9); }
.st-btn:disabled { opacity: 0.3; }
.stepper-lg output { min-width: 64px; text-align: center; font-size: 2rem; }
.hint { color: var(--aw-text-muted); font-size: var(--aw-fs-sm); margin: 12px 0 0; }
.hint.small { font-size: var(--aw-fs-xs); }
.hint a { text-decoration: underline; }

/* Дни */
.day { flex: 0 0 64px; display: grid; justify-items: center; gap: 4px; padding: 12px 0; border-radius: 18px; background: rgba(0,0,0,0.22); border: 1px solid var(--aw-line); scroll-snap-align: start; transition: background var(--aw-dur-fast), border-color var(--aw-dur-fast), transform var(--aw-dur-fast) var(--aw-ease-spring); }
.day:hover { border-color: var(--aw-line-strong); }
.day:active { transform: scale(0.95); }
.day.we .dw { color: var(--aw-accent-soft); }
.day.on { background: var(--aw-accent); border-color: var(--aw-accent); color: #fff; box-shadow: 0 10px 24px -10px var(--aw-accent-25); }
.day.on .dw { color: rgba(255,255,255,0.85); }
.dw { font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--aw-text-muted); }
.dn { font-size: 1.35rem; }

/* Время */
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.times > p { grid-column: 1 / -1; }   /* «Elige primero el juego», «Cargando…», ошибки — на всю ширину, не в ячейку 88 px */
.tm { display: grid; justify-items: center; gap: 2px; min-height: 54px; padding: 8px 4px; border-radius: 16px; background: rgba(0,0,0,0.22); border: 1px solid var(--aw-line); font-size: 1.02rem; transition: background var(--aw-dur-fast), border-color var(--aw-dur-fast), transform var(--aw-dur-fast) var(--aw-ease-spring); }
.tm:hover:not(:disabled) { border-color: var(--aw-line-strong); }
.tm:active:not(:disabled) { transform: scale(0.95); }
.tm small { font-size: 0.64rem; color: var(--aw-text-muted); }
.tm.pop { border-color: var(--aw-accent-25); }
.tm.pop small { color: var(--aw-accent-soft); }
.tm.on { background: var(--aw-accent); border-color: var(--aw-accent); color: #fff; box-shadow: 0 10px 24px -10px var(--aw-accent-25); }
.tm.on small { color: #fff; }
.tm:disabled { opacity: 0.28; text-decoration: line-through; }

/* Повод */
.seg3 { display: flex; flex-wrap: wrap; gap: 8px; }
.seg3 label { position: relative; }
.seg3 input { position: absolute; opacity: 0; }
.seg3 span { display: block; padding: 12px 18px; border-radius: 999px; background: rgba(0,0,0,0.22); border: 1px solid var(--aw-line); cursor: pointer; transition: background var(--aw-dur-fast), border-color var(--aw-dur-fast); }
.seg3 span:hover { border-color: var(--aw-line-strong); }
.seg3 input:checked + span { border-color: var(--aw-accent); background: var(--aw-accent-10); color: #fff; }
.seg3 input:focus-visible + span { outline: 2px solid var(--aw-accent); outline-offset: 2px; }
/* Карты Shmooter Arena с картинками (владелец 29.10): плитки 2 / 4 в ряд, кадр 16:9, выбранная — акцентная рамка */
.seg3.maps-pics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--aw-space-3); }
@media (min-width: 1024px) { .seg3.maps-pics { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.seg3.maps-pics span { display: grid; align-content: start; gap: var(--aw-space-2); height: 100%; padding: var(--aw-space-2) var(--aw-space-2) var(--aw-space-3); border-radius: var(--aw-radius-md); }
.seg3.maps-pics img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: calc(var(--aw-radius-md) - 4px); background: var(--aw-surface-2); }
.seg3.maps-pics b { padding: 0 var(--aw-space-1); font-size: 0.92rem; font-weight: 600; overflow-wrap: anywhere; }
.seg3.maps-pics input:disabled + span { opacity: 0.45; cursor: not-allowed; }

/* Контакты */
.fld { display: grid; gap: 6px; margin-bottom: 14px; }
.fld span { font-size: var(--aw-fs-sm); color: var(--aw-text-muted); }
.fld small { color: var(--aw-text-faint); font-size: var(--aw-fs-xs); }
/* Почта брони (владелец 28.10): подсказка заметнее — на неё приходит подтверждение и ссылка на бронь; опечатка домена;
   «Confirmación a: …» крупно перед оплатой */
.fld small.em-hint { color: var(--aw-text-muted); font-size: var(--aw-fs-sm); line-height: 1.45; }
.em-typo { margin: 2px 0 0; font-size: var(--aw-fs-sm); color: var(--aw-warn); }
.em-fix { margin-left: 6px; padding: 4px 12px; min-height: 32px; border-radius: var(--aw-radius-pill); border: 1px solid var(--aw-line-strong); background: var(--aw-surface-2); color: var(--aw-text); font: inherit; font-size: var(--aw-fs-sm); cursor: pointer; }
.em-fix:focus-visible { outline: 2px solid var(--aw-accent); outline-offset: 2px; }
.sum-email { margin: 0 0 4px; font-size: var(--aw-fs-sm); color: var(--aw-text-muted); overflow-wrap: anywhere; }
.sum-email b { display: block; font-size: var(--aw-fs-md); color: var(--aw-text); }
.bstep .sum-email { margin-top: 12px; padding: 12px 14px; border-radius: var(--aw-radius-md); background: var(--aw-surface-2); border: 1px solid var(--aw-line); }
.fld input, .fld textarea { width: 100%; min-height: 50px; padding: 13px 16px; border-radius: 16px; background: rgba(0,0,0,0.25); border: 1px solid var(--aw-line-strong); color: var(--aw-text); font: inherit; outline: none; transition: border-color var(--aw-dur-fast), box-shadow var(--aw-dur-fast); }
.fld input:focus, .fld textarea:focus { border-color: var(--aw-accent); box-shadow: 0 0 0 4px var(--aw-accent-10); }
.chk { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; min-height: 44px; cursor: pointer; font-size: var(--aw-fs-sm); color: var(--aw-text-muted); line-height: 1.45; }
.chk input { margin-top: 1px; }
.chk:has(input:disabled) { cursor: not-allowed; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Итог */
.summary { position: sticky; bottom: 12px; z-index: 5; display: grid; gap: 12px; padding: 20px; border-radius: 28px 28px 0 0; background: var(--aw-glass); backdrop-filter: var(--aw-blur-glass); -webkit-backdrop-filter: var(--aw-blur-glass); border: 1px solid var(--aw-line-strong); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6); }
.sum-game { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--aw-line); }
.sum-game .gimg { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 14px; background: var(--aw-surface-3) center / cover no-repeat; }
.sum-rows { display: none; margin: 0; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: var(--aw-fs-sm); }
.sum-rows dt { color: var(--aw-text-muted); }
.sum-rows dd { margin: 0; text-align: right; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--aw-font-display); font-size: 1.2rem; padding-top: 12px; border-top: 1px solid var(--aw-line); }
.sum-total .mono { font-size: 1.8rem; }
.sum-btn { width: 100%; justify-content: center; }
.form-err { color: var(--aw-accent-soft); margin: 0; min-height: 1em; font-size: var(--aw-fs-sm); }
/* Ошибки полей формы брони (владелец 31.10): текст под полем, красная рамка — book.js ставит aria-invalid; шаг без выбора — под заголовком шага */
.fld-err { margin: 0; color: var(--aw-accent-soft); font-size: var(--aw-fs-sm); line-height: 1.45; font-weight: 600; }
.fld-err::before { content: "! "; font-family: var(--aw-font-mono); }
.fld input[aria-invalid="true"], .fld textarea[aria-invalid="true"] { border-color: var(--aw-accent); box-shadow: 0 0 0 4px var(--aw-accent-10); }
.chk + .fld-err { margin: -6px 0 12px; }
.bstep > .step-err { margin: 0 0 12px; }
.book-ok { padding: 32px; border-radius: 28px; background: var(--aw-accent-10); border: 1px solid var(--aw-accent-25); }
@media (min-width: 1024px) {
    .book-grid { grid-template-columns: minmax(0, 1fr) 380px; }
    .summary { top: 96px; bottom: auto; border-radius: 28px; }
    .sum-rows { display: grid; }
}
/* Телефон: шаги без лишних отступов; итог — полоска «сумма + кнопка» */
@media (max-width: 1023px) {
    .book-steps { padding: 0; border: 0; background: none; }
    .book-steps-core { border-radius: 24px; }
    .bstep { padding: 18px 16px 20px 52px; }
    .bstep::before { left: 29px; }
    .bstep legend .mono { left: 16px; top: 17px; width: 26px; height: 26px; }
    .gopt { flex-basis: 140px; }
    .summary { grid-template-columns: 1fr auto; align-items: center; gap: 6px 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); margin: 0 calc(-1 * var(--aw-gutter)); }
    .sum-game, .summary .hint { display: none; }
    .sum-total { display: grid; gap: 0; font-size: 0.8rem; color: var(--aw-text-muted); padding: 0; border: 0; }
    .sum-total .mono { font-size: 1.4rem; color: var(--aw-text); }
    .sum-btn { width: auto; min-width: 140px; max-width: 58vw; white-space: normal; text-align: center; line-height: 1.15; font-size: 0.9rem; padding-inline: 16px; }
    .chk-step { margin-top: 16px; }
    .form-err { grid-column: 1 / -1; }
    .form-err:empty { display: none; }
    /* Проверка Cloudflare (300 px), когда просит отметить «Verify you are human», — своей строкой на всю ширину полосы,
       а не рядом с итогом: иначе страница уезжала вбок (491 px на экране 375, окно 2, 28.10); подсказка к ней — тоже видна */
    .b-ts, .summary #bTsHint { grid-column: 1 / -1; min-width: 0; }
    .summary #bTsHint:not([hidden]) { display: block; margin: 0; }
}
@media (min-width: 1024px) { .only-mobile { display: none; } }
@media (prefers-reduced-motion: reduce) { .hs-track { scroll-behavior: auto; } .gopt .gimg { transition: none; } }
/* Бронь: видимый фокус с клавиатуры */
.book :is(.day, .tm, .gopt, .st-btn, .hs-btn):focus-visible { outline: 2px solid var(--aw-accent); outline-offset: 3px; }
/* Бронь: место под ленты резервируется заранее — содержимое приходит скриптом, вёрстка не должна прыгать (CLS) */
#bGame { min-height: 222px; }
#bDays { min-height: 78px; }
/* место под календарь, пока day-cal.js его не построил (после загрузки страницы): шаги ниже не прыгают — на ПК было +337 px, на телефоне
   дважды по ~35 px (окно 6, 9.11, прогон «что дёргается» — Firefox и Chrome). Высоты — готового календаря: лента дней телефона 82 px,
   месяц 364 px (1024–1279) и 415 px (от 1280); рядов бывает больше — тогда добавится только разница. Без JS — как было */
html:not(.no-js) #bDays:not(:has(.dcal)) { min-height: 82px; }
@media (min-width: 1024px) { html:not(.no-js) #bDays:not(:has(.dcal)) { min-height: 364px; } }
@media (min-width: 1280px) { html:not(.no-js) #bDays:not(:has(.dcal)) { min-height: 415px; } }
/* Время: место держим только пока список грузится; показаны плитки — высота по ним (владелец 31.10: под одним рядом оставалась
   пустая полоса до 116 px — «свободное место»). align-content: start — ряд плиток не растягивается */
#bTimes { align-content: start; }
#bTimes:has(> p.hint.is-loading) { min-height: 116px; }
.sum-rows { min-height: 132px; }
@media (max-width: 1023px) { #bGame { min-height: 187px; } .sum-rows { min-height: 0; } }

/* ================= Главная: живые блоки (заголовки по словам, свет за курсором, параллакс, лента игр, рамки) ================= */
/* Заголовки разделов: слова выезжают снизу из-под маски по очереди (site.js разбивает на слова) */
.section-title.words .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.section-title.words .w > span { display: inline-block; transform: translateY(110%); transition: transform 0.9s var(--ease) calc(var(--i) * 70ms + 0.08s); }
.rv.in .section-title.words .w > span, .section-title.words.rv.in .w > span { transform: none; }

/* Свет за курсором у карточек */
.glow { position: relative; isolation: isolate; }
.glow::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
    background: radial-gradient(340px circle at var(--x, 50%) var(--y, 50%), rgba(255, 59, 78, 0.16), transparent 65%); opacity: 0; transition: opacity 0.45s ease; }
.glow:hover::before { opacity: 1; }

/* «Что это» / «Для кого»: пункты — мягкая подложка при наведении, иконка появляется с поворотом */
.ilist li { padding: 12px 14px; margin: -12px -14px; border-radius: 20px; transition: background 0.3s; }
.ilist li:hover { background: rgba(255, 255, 255, 0.03); }
.ilist li.rv .why-ico { opacity: 0; transform: scale(0.5) rotate(-20deg); transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s, opacity 0.5s ease 0.25s, background 0.3s; }
.ilist li.rv.in .why-ico { opacity: 1; transform: none; }
.ilist li:hover .why-ico { background: var(--aw-accent); box-shadow: 0 10px 24px -10px var(--aw-accent-glow); }
.ilist li:hover .why-ico svg { stroke: #fff; }

/* Картинки разделов: параллакс при прокрутке, приближение при наведении, плашки-факты в стекле */
.duo-img { position: relative; }
.duo-img :is(img, .duo-vid) { transition: scale 1.4s var(--ease); }
.duo-img:hover :is(img, .duo-vid) { scale: 1.06; }
/* Видео поверх картинки блока: проявляется, когда пошли кадры; тот же наезд и параллакс, что у картинки */
.duo-img .duo-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s var(--ease), scale 1.4s var(--ease); }
.duo-img .duo-vid.on { opacity: 1; }
@supports (animation-timeline: view()) {
    .duo-img :is(img, .duo-vid) { scale: 1.14; animation: duo-par linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .duo-img:hover :is(img, .duo-vid) { scale: 1.2; }
    @keyframes duo-par { from { translate: 0 -5%; } to { translate: 0 5%; } }
}
.chip-float { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; font-size: 0.88rem; font-weight: 600; color: #fff;
    /* без backdrop-filter: плашка «плавает» поверх играющего ролика — размытие пересчитывалось бы на каждый кадр; вместо стекла — плотный фон (окно 7, 28.10) */
    background: rgba(16, 16, 20, 0.76); border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.8); animation: bob 6s ease-in-out infinite; }
.chip-float svg { width: 18px; height: 18px; fill: none; stroke: var(--aw-accent-soft); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.chip-float.two { border-radius: 18px; padding: 10px 16px 10px 13px; }
.chip-float.two > span { display: grid; line-height: 1.15; }
.chip-float.two small { font-size: 0.72rem; font-weight: 400; color: rgba(255,255,255,0.7); }
.chip-float.c1 { left: 16px; bottom: 16px; }
.chip-float.c2 { right: 16px; top: 16px; animation-delay: -3s; }
#que-es .chip-float.c2 { top: auto; bottom: 16px; }   /* «Qué es»: сверху справа плашка закрывала лицо парня на кадре (ревизор 29.10) */
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Лента игр: края гаснут, пока есть что листать; стрелки — на компьютере */
.rail-wrap { position: relative; }
.rail { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.rail-wrap.at-start .rail { -webkit-mask-image: linear-gradient(90deg, #000 0, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, #000 0, #000 94%, transparent 100%); }
.rail-wrap.at-end .rail { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 100%); }
.rail-wrap.at-start.at-end .rail { -webkit-mask-image: none; mask-image: none; }
.rail-btn { display: none; }
@media (hover: hover) and (min-width: 768px) {
    .rail-btn { position: absolute; top: 30%; z-index: 3; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; cursor: pointer; color: #fff;
        background: rgba(16, 16, 20, 0.72); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
        box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.9); transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s, background 0.3s; }
    .rail-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .rail-btn.prev { left: -8px; }
    .rail-btn.prev svg { transform: rotate(180deg); }
    .rail-btn.next { right: -8px; }
    .rail-btn:hover { background: var(--aw-accent); transform: scale(1.08); box-shadow: 0 18px 40px -14px var(--aw-accent-glow); }
    .rail-btn:disabled { opacity: 0; transform: scale(0.8); pointer-events: none; }
}
.game:hover { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 59, 78, 0.18); }

/* Instagram и финальная бронь: по рамке бежит красно-янтарный блик */
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.social { position: relative; isolation: isolate; transition: transform 0.6s var(--ease); }
.social:hover { transform: translateY(-4px); }
.social::after, .final::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
    background: conic-gradient(from var(--spin), transparent 0 55%, rgba(255, 59, 78, 0.9) 70%, rgba(255, 181, 71, 0.85) 80%, transparent 92%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    animation: spin 7s linear infinite; }
@keyframes spin { to { --spin: 360deg; } }
/* Финальная бронь: за текстом медленно плывут свечения, главная кнопка «дышит» */
.final::before { content: ''; position: absolute; inset: -30%; z-index: -1; pointer-events: none;
    background: radial-gradient(30% 40% at 30% 40%, rgba(255, 59, 78, 0.32), transparent 70%), radial-gradient(25% 35% at 72% 62%, rgba(255, 181, 71, 0.16), transparent 70%);
    animation: drift-f 14s ease-in-out infinite alternate; }
@keyframes drift-f { to { transform: translate3d(8%, -6%, 0) rotate(12deg); } }
.final .btn-primary { animation: breathe 2.8s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { box-shadow: 0 18px 40px -16px var(--aw-accent-glow), 0 0 0 0 rgba(255, 59, 78, 0.45); } 60% { box-shadow: 0 18px 40px -16px var(--aw-accent-glow), 0 0 0 14px rgba(255, 59, 78, 0); } }
/* телефон и планшет (iPhone 30.10, «виснет»): блик на рамке стоит в правом верхнем углу — бегущий --spin каждый кадр пересчитывал стили
   и перерисовывал рамку с маской во весь блок */
@media (hover: none), (pointer: coarse) { .social::after, .final::after, .price.featured .shell::after { animation: none; --spin: 160deg; } }
/* …и кнопка «дышит» кольцом на transform/opacity (видеокарта), а не анимацией box-shadow — та перерисовывала кнопку каждый кадр */
@media (hover: none) and (prefers-reduced-motion: no-preference), (pointer: coarse) and (prefers-reduced-motion: no-preference) {
    .final .btn-primary { animation: none; position: relative; }
    .final .btn-primary::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
        box-shadow: 0 0 0 5px rgba(255, 59, 78, 0.45); animation: breathe-ring 2.8s ease-out infinite; }
    @keyframes breathe-ring { 0%, 12% { transform: scale(0.97); opacity: 1; } 60%, 100% { transform: scale(1.1, 1.32); opacity: 0; } }
    .lite .final .btn-primary::after { animation: none; opacity: 0; }
}

/* Вопросы: ответ раскрывается плавно (где браузер умеет), рамка светлеет при наведении */
:root { interpolate-size: allow-keywords; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.5s var(--ease), content-visibility 0.5s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq details { transition: background 0.3s, border-color 0.3s; }
.faq details:hover { border-color: rgba(255, 255, 255, 0.16); }

@media (prefers-reduced-motion: reduce) {
    .chip-float, .social::after, .final::after, .final::before, .final .btn-primary, .duo-img :is(img, .duo-vid) { animation: none; }
    .ilist li.rv .why-ico { opacity: 1; transform: none; }
    .faq details::details-content { transition: none; }
}

/* ================= Все страницы: картинки проявляются плавно, свет за курсором у карточек-«ракушек», блик у выделенной цены ================= */
img { transition: opacity 0.6s ease; }
img.fade { opacity: 0; }
/* У карточек с внутренней подложкой свет ложится поверх (режим «экран» — текст не тускнеет) */
.glow:has(> .shell)::before { z-index: 1; mix-blend-mode: screen; }
.points li { transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease); }
.points li:hover { background: rgba(255, 59, 78, 0.07); border-color: rgba(255, 59, 78, 0.28); transform: translateX(4px); }
.price .shell, .steps .shell, .review .shell { transition: transform 0.5s var(--ease), border-color 0.3s; }
.price:hover .shell, .steps li:hover .shell, .review:hover .shell { transform: translateY(-4px); border-color: rgba(255, 59, 78, 0.3); }
.price.featured .shell { position: relative; }
.price.featured .shell::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
    background: conic-gradient(from var(--spin), transparent 0 55%, rgba(255, 59, 78, 0.9) 70%, rgba(255, 181, 71, 0.85) 80%, transparent 92%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 7s linear infinite; }
/* Внутренние страницы: обложка (игра, дни рождения) мягко растворяется в живой фон */
.g-hero { isolation: isolate; }
.g-hero-vid { z-index: 0; max-width: none; -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%); }   /* «мир игры» поверх обложки */
.g-hero-img { -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%); transform-origin: 50% 100%; animation: hero-zoom 14s ease-out both; }
.g-hero::before { background: linear-gradient(0deg, transparent 0%, rgba(10, 10, 12, 0.4) 35%, rgba(10, 10, 12, 0.1) 100%); }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .g-hero-img { animation: none; } }
@media (prefers-reduced-motion: reduce) { .price.featured .shell::after { animation: none; } img { transition: none; } }

/* Картинки «Что это» / «Для кого» тоже наклоняются за курсором (site.js ставит .tilt и --rx/--ry/--px/--py/--mx/--my) */
.duo-img { transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease, opacity 0.9s var(--ease), filter 0.9s var(--ease); }
.duo-img::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.5s ease;
    background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.14), rgba(255,59,78,0.07) 35%, transparent 65%); mix-blend-mode: screen; }
.duo-img.tilt { transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
    transition: transform 0.18s ease-out, box-shadow 0.6s ease; box-shadow: 0 50px 80px -34px rgba(0,0,0,0.9), 0 24px 70px -24px rgba(255,59,78,0.35); }
.duo-img.tilt::after { opacity: 1; }
.duo-img.tilt :is(img, .duo-vid) { scale: 1.1; translate: var(--px, 0px) var(--py, 0px); transition: scale 0.8s var(--ease), translate 0.6s cubic-bezier(0.16, 1, 0.3, 1); }

/* Живые карточки игр (web/game-fx.js): поверх картинки — canvas со своей анимацией у каждой игры */
.game-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.45s ease; }
.game-fx.on { opacity: 1; }
.game-img::after { z-index: 2; pointer-events: none; }
.game.fx-on { border-color: rgba(255,59,78,0.4); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,59,78,0.22), 0 24px 60px -26px rgba(255,59,78,0.45); }
.game.fx-on .game-img img { transform: scale(1.1); transition: transform 3s cubic-bezier(0.16, 1, 0.3, 1); }
/* Свой характер картинки под эффект: Kernel — сбой изображения, тревога — красная вспышка, сны — мигание, зомби — холодный зелёный */
.game.fx-hud .game-img img { animation: fx-glitch 2.6s steps(1) infinite; }
@keyframes fx-glitch { 0%, 86%, 100% { filter: none; translate: 0 0; } 88% { filter: hue-rotate(90deg) saturate(1.6); translate: -3px 0; } 90% { filter: none; translate: 2px 1px; } 92% { filter: contrast(1.4) hue-rotate(-40deg); translate: -1px 0; } }
.game.fx-zombie .game-img img { filter: saturate(0.7) hue-rotate(25deg) brightness(0.85); transition: filter 1s ease, transform 3s cubic-bezier(0.16, 1, 0.3, 1); }
.game.fx-dreams .game-img img { filter: sepia(0.4) saturate(1.3); }
.game.fx-space .game-img img { transform: scale(1.18); transition: transform 4s cubic-bezier(0.16, 1, 0.3, 1); }
/* Настоящий ролик игры при наведении (game-fx.js): поверх обложки, под анимацией-эффектом */
.game-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0; transition: opacity 0.45s ease; pointer-events: none; }
.game-clip.on { opacity: 1; }
.game-clip.on ~ .game-fx.on { opacity: 0.8; }

/* Иконки списков «Qué es» / «Para quién» (владелец 25.10: «красиво анимировать»):
   при появлении каждая иконка прорисовывается линией, дальше у каждой своё движение по смыслу,
   при наведении — строка сдвигается, иконка загорается и «играет». Только transform/opacity/stroke-dashoffset. */
.why-ico svg * { transform-box: fill-box; transform-origin: 50% 50%; }
.ilist li.rv .why-ico svg * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.ilist li.rv.in .why-ico svg * { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s cubic-bezier(0.65, 0, 0.35, 1) 0.45s; }
.ilist li.rv.in .why-ico svg :nth-child(2) { transition-delay: 0.75s; }
.ilist li.rv.in .why-ico svg :nth-child(3) { transition-delay: 1s; }
.ilist li { transition: background 0.3s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.ilist b { transition: color 0.3s; }
@media (hover: hover) {
    .ilist li:hover { transform: translateX(6px); }
    .ilist li:hover b { color: var(--aw-accent-soft); }
    .ilist li:hover .why-ico { transform: scale(1.08) rotate(-4deg); }
}
/* Постоянные «живые» движения (тихие): часы идут, у геймпада мигает кнопка, сердце бьётся */
.ilist li.in [data-ic="clock"] svg :nth-child(2) { transform-origin: 0% 0%; transform-box: view-box; transform-origin: 12px 12px; animation: ic-tick 6s steps(12) 1.6s infinite; }
@keyframes ic-tick { to { transform: rotate(360deg); } }
.ilist li.in [data-ic="pad"] svg :nth-child(3) { animation: ic-blink 1.6s ease-in-out 1.6s infinite; stroke: var(--aw-accent-soft); stroke-width: 3; }
@keyframes ic-blink { 50% { opacity: 0.15; } }
.ilist li.in [data-ic="heart"] svg { animation: ic-beat 2.4s ease-in-out 1.6s infinite; }
@keyframes ic-beat { 0%, 40%, 100% { transform: scale(1); } 10% { transform: scale(1.18); } 20% { transform: scale(0.96); } 30% { transform: scale(1.1); } }
/* Наведение: своё движение у каждой иконки */
@media (hover: hover) {
    .ilist li:hover [data-ic="clock"] svg :nth-child(2) { animation: ic-tick 0.8s cubic-bezier(0.65, 0, 0.35, 1); }
    .ilist li:hover [data-ic="free"] svg :nth-child(2) { animation: ic-drop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) infinite; }
    @keyframes ic-drop { 0% { transform: translateY(-3px); opacity: 0.4; } 60% { transform: translateY(2px); opacity: 1; } 100% { transform: translateY(-3px); opacity: 0.4; } }
    .ilist li:hover [data-ic="group"] svg :nth-child(1) { animation: ic-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
    .ilist li:hover [data-ic="group"] svg :nth-child(2) { animation: ic-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.12s; }
    @keyframes ic-pop { 40% { transform: scale(1.45); } }
    .ilist li:hover [data-ic="pad"] svg { animation: ic-wiggle 0.6s ease-in-out; }
    @keyframes ic-wiggle { 25% { transform: rotate(-10deg); } 75% { transform: rotate(10deg); } }
    .ilist li:hover [data-ic="star"] svg { animation: ic-spin 0.9s cubic-bezier(0.34, 1.56, 0.64, 1); }
    @keyframes ic-spin { from { transform: rotate(-144deg) scale(0.6); } }
    .ilist li:hover [data-ic="gift"] svg :nth-child(3) { animation: ic-hop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1); }
    @keyframes ic-hop { 40% { transform: translateY(-4px) rotate(-8deg); } }
    .ilist li:hover [data-ic="shield"] svg :nth-child(2) { animation: ic-draw 0.7s cubic-bezier(0.65, 0, 0.35, 1); }
    @keyframes ic-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}
@media (prefers-reduced-motion: reduce) {
    .ilist li.rv .why-ico svg * { stroke-dashoffset: 0; transition: none; }
    .why-ico svg, .why-ico svg * { animation: none !important; }
    .ilist li:hover { transform: none; }
}
.no-js .ilist li .why-ico svg * { stroke-dashoffset: 0; }

/* ===== Портал к играм: прокрутка — проход в другое измерение, из которого выходят карточки (владелец 25.10) =====
   Сцена «Los más jugados» лежит внутри портала. Без класса .on (нет JS, «меньше движения») — обычный раздел.
   С .on: блок 260vh, внутри «залипающий» экран; site.js каждый кадр (только пока блок виден) переводит прокрутку
   в переменные: --dark темнота, --wo/--ws надпись, --ro/--rs разлом, --fl вспышка, --so/--ho сцена и заголовок,
   у карточек --cg/--co (вылет из глубины разлома). Движутся только transform/translate и opacity. */
.portal { --void: #050507; position: relative; }
.portal-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }
.portal-fx { display: none; }
.portal.on { --dark: 0; --wo: 0; --ws: 1; --ro: 0; --rs: 0.04; --fl: 0; --so: 0; --ho: 0; height: 260vh; }
/* «Juegos» в меню ведёт в конец портала — сразу к карточкам на месте */
.portal.on .portal-anchor { top: auto; bottom: 0; height: 100vh; }
.portal.on::before { content: ''; position: absolute; left: 0; right: 0; height: 40vh; pointer-events: none; bottom: 100%; background: linear-gradient(transparent, var(--void)); opacity: var(--dark); }
.portal.on .portal-in { position: sticky; top: 0; min-height: 100vh; overflow: hidden; display: grid; align-items: center; }
/* телефон и планшет (site.js → .timed): без «залипания» — обычной высоты, сцена проигрывается сама по времени */
.portal.on.timed { height: auto; }
.portal.on.timed .portal-in { position: relative; min-height: 0; }
.portal.on.timed .portal-anchor { top: 0; bottom: auto; height: 1px; }
.portal.on .portal-fx { display: grid; place-items: center; position: absolute; inset: 0; pointer-events: none; transition: opacity 0.4s ease; }
.portal-fx > * { position: absolute; }
/* В конце портала (--fade 0→1) темнота снизу растворяется в фон сайта — без шва, когда экран «отлипает» */
.portal-veil { inset: 0; background: var(--void); opacity: var(--dark);
    -webkit-mask-image: linear-gradient(#000 calc(100% - var(--fade, 0) * 38vh), transparent); mask-image: linear-gradient(#000 calc(100% - var(--fade, 0) * 38vh), transparent); }
/* Разлом: тёмная «дыра» с раскалённым краем; два кольца-вихря крутятся навстречу */
.portal-rift { width: 34vmax; aspect-ratio: 1; border-radius: 50%; opacity: var(--ro); transform: scale(var(--rs)); will-change: transform;
    background: radial-gradient(circle, var(--void) 56%, rgba(90, 6, 22, 0.95) 63%, rgba(255, 59, 78, 0.95) 67%, rgba(255, 190, 150, 0.95) 68.5%, rgba(255, 59, 78, 0.55) 70.5%, transparent 74%); }
.portal-rift::before, .portal-rift::after { content: ''; position: absolute; inset: -8%; border-radius: 50%;
    background: conic-gradient(transparent, rgba(255, 59, 78, 0.6), transparent 28%, rgba(255, 150, 90, 0.45), transparent 58%, rgba(255, 59, 78, 0.5), transparent 86%);
    -webkit-mask-image: radial-gradient(circle, transparent 52%, #000 60%, #000 66%, transparent 74%); mask-image: radial-gradient(circle, transparent 52%, #000 60%, #000 66%, transparent 74%);
    filter: blur(5px); animation: portal-spin 9s linear infinite; }
.portal-rift::after { inset: -18%; opacity: 0.6; animation-duration: 14s; animation-direction: reverse; }
@keyframes portal-spin { to { transform: rotate(1turn); } }
.portal.off .portal-rift::before, .portal.off .portal-rift::after { animation-play-state: paused; }
/* разлом прозрачен (--ro ≈ 0: до вспышки и после сцены, раздут в 8 раз) — не рисуется и кольца стоят (site.js, окно 6, 9.11: Firefox — 4 кадра/с) */
.portal.rift-off .portal-rift { visibility: hidden; }
.portal.rift-off .portal-rift::before, .portal.rift-off .portal-rift::after { animation-play-state: paused; }
/* Firefox (окно 6, 9.11, владелец: «на мозиле на главной очень сильно трясётся экран»): крутящиеся кольца разлома (conic + маска + blur,
   раздуты до 8×) и свечение за трейлером (слой во всю ширину под blur и маской) Firefox перерисовывал каждый кадр — сцена портала шла
   8 кадров/с и вместо 2,6 с тянулась 6,5 с, доводка прокрутки — рывками по 100 px. Без них: сцена 21 кадр/с, трейлер 230.
   Разлом остаётся (дыра с раскалённым краем), свечение почти не видно. Chrome и Safari этот блок не читают — у них как было */
@supports (-moz-appearance: none) {
    .portal-rift::before, .portal-rift::after { display: none; }
    .reel-amb { display: none; }
}
.portal-stars { inset: 0; width: 100%; height: 100%; }
.portal-word { margin: 0; padding: 0 16px; text-align: center; color: #fff; opacity: var(--wo); transform: scale(var(--ws)); will-change: transform, opacity;
    font-family: var(--aw-font-display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.95;
    font-size: clamp(2.6rem, 8.5vw, 7.5rem); text-shadow: 0 0 50px rgba(255, 59, 78, 0.55); }
.portal-word span { display: block; margin-bottom: 18px; font-family: var(--aw-font-mono); font-weight: 400; font-size: 0.8rem; letter-spacing: 0.32em; color: var(--aw-accent-soft); text-shadow: none; }
.portal-flash { inset: 0; opacity: var(--fl); background: radial-gradient(circle, rgba(255, 240, 230, 0.95), rgba(255, 59, 78, 0.55) 45%, transparent 75%); }
/* Сцена в портале: проявляется из вспышки, заголовок всплывает, карточки летят из глубины (точка схода — центр ленты) */
.portal.on .games-stage { z-index: 1; width: 100%; padding: 84px 0 28px; opacity: var(--so); }
.portal.on .games-stage .head, .portal.on .games-stage .wrap > .btn { opacity: var(--ho); transform: none; translate: 0 calc((1 - var(--ho)) * 34px); }
.portal.on .rail-wrap .rail-btn { opacity: var(--ho); }
.portal.on .rv.deal .top-card { animation: none; filter: none; transform: none; opacity: var(--co, 0);
    scale: calc(0.18 + 0.82 * var(--cg, 0)); translate: 0 calc((1 - var(--cg, 0)) * 60px); }
@media (hover: hover) { .portal.on .rv.deal .top-card:hover { transform: translateY(-8px); } }
/* Наведение на карточку — её мир на весь экран (game-fx): темнота и разлом портала не должны его закрывать */
.gw-active .portal.on .portal-fx { opacity: 0; }
/* Пока идёт сцена (site.js → html.scene-on): варп и темнота — не короче окна, до самого низа экрана (владелец 30.10, 1900×907: снизу
   была полоса ~50 px — раздел ниже окна, под ним виднелся следующий), поверх следующего раздела; сцена с карточками — над ними */
/* Обрезка — overflow: clip (не контейнер прокрутки: смена hidden ↔ visible посреди плавной прокрутки к якорю её обрывала; и разлом,
   выросший в 8 раз, не раздвигает страницу вбок); в сцене по вертикали открыт только низ — сверху режет clip-path */
.portal.on.timed .portal-in { overflow: clip; }
.scene-on .portal.on.timed .portal-in { z-index: 2; overflow-y: visible; clip-path: inset(0 0 -100vh 0); }   /* слой сцены — над следующим разделом */
.scene-on .portal.on .portal-fx { bottom: auto; height: max(100%, 100vh); }
/* …и от самого верха окна, поверх шапки (владелец 6.11, ПК 1900×840: сверху оставалась полоса ~75 px с шапкой и кнопками первого экрана —
   сцена стартует, когда верх раздела ещё ниже верха окна, а доводку могли перебить колесом). --vt — на сколько верх раздела ниже верха окна
   (site.js, каждый кадр сцены): слой поднимается на столько же, обрезка сверху открыта на столько же; сцена — над шапкой (z-index выше --aw-z-nav) */
.scene-on .portal.on.timed .portal-in { z-index: calc(var(--aw-z-nav) + 1); clip-path: inset(calc(-1 * var(--vt, 0px)) 0 -100vh 0); }
.scene-on .portal.on .portal-fx { top: calc(-1 * var(--vt, 0px)); height: max(calc(100% + var(--vt, 0px)), 100vh); }

/* ===== «Los más jugados» — отдельная сцена (владелец 25.10: блок, который цепляет взгляд) ===== */
.games-stage { position: relative; isolation: isolate; overflow: hidden; padding-bottom: 40px; }
/* Фон сцены: прожектор и огромное контурное слово, медленно плывущее за карточками */
.gs-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent);   /* свечение не обрывается краем секции */
    background: radial-gradient(60% 55% at 50% 58%, rgba(255,59,78,0.16), transparent 70%), radial-gradient(40% 30% at 50% 100%, rgba(255,140,60,0.08), transparent 70%); }
.gs-word { position: absolute; top: 46%; left: 0; white-space: nowrap; transform: translateY(-50%);
    font-family: var(--aw-font-display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.03em;
    font-size: clamp(7rem, 22vw, 20rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.07);
    animation: gs-drift 60s linear infinite; }
@keyframes gs-drift { to { translate: -50% 0; } }
.games-stage.off .gs-word { animation-play-state: paused; }

/* Лента постеров */
/* Снизу запас под тень карточек: лента прокручивается и обрезает всё за своим краем — тень обрывалась ровной линией (шов) */
.top-rail { grid-auto-columns: min(72vw, 300px); gap: 18px; padding-top: 34px; padding-bottom: 72px; margin-bottom: -42px; }
.top-card { display: block; aspect-ratio: 3 / 4; border-radius: 26px; background: #0b0b0e;
    box-shadow: 0 30px 60px -30px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.07); overflow: visible; }
.top-card .game-img { position: absolute; inset: 0; aspect-ratio: auto; border-radius: inherit; }
.top-card .game-img::after { background: linear-gradient(180deg, rgba(8,8,10,0.25) 0%, transparent 22%, transparent 42%, rgba(8,8,10,0.92) 82%); z-index: 2; }
.top-card .game-img img { transform: scale(1.04); }
/* Огромный контурный номер места — выходит за верхний край карточки */
.tc-rank { position: absolute; top: -30px; left: 14px; z-index: 3; pointer-events: none;
    font-family: var(--aw-font-display); font-weight: 700; font-size: 5.4rem; line-height: 1; letter-spacing: -0.04em;
    color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,0.85); text-shadow: 0 10px 30px rgba(0,0,0,0.6);
    transition: color 0.5s ease, -webkit-text-stroke-color 0.5s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.tc-genre { position: absolute; top: 16px; right: 16px; z-index: 3; padding: 5px 11px; border-radius: 999px; pointer-events: none;
    font-family: var(--aw-font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff;
    background: rgba(12,12,14,0.55); border: 1px solid rgba(255,255,255,0.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tc-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 20px 20px 22px; display: grid; gap: 6px; pointer-events: none; }
.tc-body h3 { margin: 0; font-family: var(--aw-font-display); font-size: 1.45rem; font-weight: 700; line-height: 1.05; letter-spacing: -0.01em; }
.tc-body h3 a { pointer-events: auto; }
.tc-body h3 a::after { content: ''; position: absolute; inset: 0; }   /* вся нижняя часть — тоже ссылка */
.tc-meta { margin: 0; font-size: 0.72rem; letter-spacing: 0.04em; color: var(--aw-accent-soft); }
.tc-tag { margin: 0; font-size: 0.9rem; color: rgba(255,255,255,0.78); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    max-height: 0; opacity: 0; transform: translateY(8px); transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.tc-go { position: absolute; right: 16px; bottom: 20px; z-index: 3; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; pointer-events: none;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); transition: background 0.35s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.tc-go svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.top-card .tc-body { padding-right: 70px; }
/* Наведение: номер заливается красным и приподнимается, описание выезжает, стрелка загорается */
@media (hover: hover) {
    .top-card:hover { transform: translateY(-8px); }
    .top-card:hover .tc-rank { color: var(--aw-accent); -webkit-text-stroke-color: var(--aw-accent); transform: translateY(-6px) scale(1.05); }
    .top-card:hover .tc-tag { max-height: 3em; opacity: 1; transform: none; }
    .top-card:hover .tc-go { background: var(--aw-accent); transform: rotate(-45deg); }
}
/* Появление: карточки «раздаются» справа по очереди, с поворотом в 3D и из размытия, номера проявляются следом */
.rv.deal { opacity: 1; transform: none; filter: none; }
/* пока идёт раздача — без привязки ленты (site.js ставит .dealt, когда последняя карточка на месте): со сдвинутыми карточками
   scroll-snap тянул ленту на ~190 px и обратно (владелец 31.10, /juegos/: «блоки обновляются 2 раза», край пятой моргал) */
html:not(.no-js) .rv.deal:not(.dealt) .rail { scroll-snap-type: none; }
.rv.deal .top-card { opacity: 0; transform: perspective(1100px) translateX(160px) rotateY(-32deg) scale(0.88); filter: blur(8px); }
.rv.deal.in .top-card { animation: tc-deal 1.1s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: calc(var(--i) * 0.09s); }
@keyframes tc-deal { from { opacity: 0; transform: perspective(1100px) translateX(160px) rotateY(-32deg) scale(0.88); filter: blur(8px); }
    to { opacity: 1; transform: none; filter: none; } }
/* телефон и планшет (iPhone 30.10, «виснет»): та же раздача без размытия — blur на 7 карточках с картинками iOS считает каждый кадр */
@media (hover: none), (pointer: coarse) {
    .rv.deal .top-card { filter: none; }
    .rv.deal.in .top-card { animation-name: tc-deal-m; }
    @keyframes tc-deal-m { from { opacity: 0; transform: perspective(1100px) translateX(160px) rotateY(-32deg) scale(0.88); } to { opacity: 1; transform: none; } }
}
.rv.deal .tc-rank { opacity: 0; translate: 0 18px; }
.rv.deal.in .tc-rank { opacity: 1; translate: 0 0; transition: opacity 0.6s ease, translate 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); transition-delay: calc(0.45s + var(--i) * 0.09s); }
/* После «раздачи» наведение снова управляет transform */
.rv.deal.in .top-card { opacity: 1; transform: none; filter: none; animation-fill-mode: backwards; }
@media (hover: hover) { .rv.deal.in .top-card:hover { transform: translateY(-8px); } }
/* Телефон: карточка по центру ленты (.fx-on из game-fx.js) — как при наведении мышью */
@media (hover: none) {
    .rv.deal.in .top-card.fx-on { transform: translateY(-8px); }
    .top-card.fx-on .tc-rank { color: var(--aw-accent); -webkit-text-stroke-color: var(--aw-accent); transform: translateY(-6px) scale(1.05); }
    .top-card.fx-on .tc-go { background: var(--aw-accent); transform: rotate(-45deg); }
    .gstage-list a:active, .game:active { transform: scale(0.97); }
}
.no-js .rv.deal .top-card, .no-js .rv.deal .tc-rank { opacity: 1; transform: none; filter: none; translate: none; }
@media (prefers-reduced-motion: reduce) {
    .rv.deal .top-card, .rv.deal .tc-rank { opacity: 1; transform: none; filter: none; translate: none; animation: none !important; }
    .gs-word { animation: none; }
}
@media (max-width: 767px) { .tc-rank { font-size: 4.2rem; top: -24px; } .tc-tag { max-height: 3em; opacity: 1; transform: none; } }

/* Воронка брони (25.10): короче и понятнее на телефоне */
.bstep { scroll-margin-top: 90px; }
/* время — сетка по 4 в ряд, компактнее (было 18 высоких кнопок столбиком) */
.times { grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: 6px; }
.tm { min-height: 46px; padding: 6px 2px; font-size: 0.95rem; border-radius: 13px; }
.tm small { font-size: 0.62rem; }
/* комментарий — по ссылке, не занимает место */
.fld-more { margin: 2px 0 12px; }
.fld-more summary { cursor: pointer; list-style: none; display: inline-block; padding: 8px 0; color: var(--aw-accent-soft); font-size: 0.92rem; }
.fld-more summary::-webkit-details-marker { display: none; }
.fld-more textarea { width: 100%; margin-top: 6px; min-height: 50px; padding: 13px 16px; border-radius: 16px; background: rgba(0,0,0,0.25); border: 1px solid var(--aw-line-strong); color: var(--aw-text); font: inherit; outline: none; }
.fld-more textarea:focus { border-color: var(--aw-accent); box-shadow: 0 0 0 4px var(--aw-accent-10); }
/* цена на человека рядом с итогом */
.sum-total .per { display: block; font-size: 0.72rem; color: var(--aw-text-muted); font-family: var(--aw-font-mono); letter-spacing: 0.02em; }
/* кнопка-подсказка «Elige la hora» — не главная красная, а светлая: видно, что сначала нужен шаг */
.sum-btn.is-next { background: rgba(255,255,255,0.1); color: var(--aw-text); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25); }
.day.closed { opacity: 0.35; cursor: not-allowed; }
.day.closed:active { transform: none; }

/* Баннер cookies (web/prefs.js, гайд AEPD 2023; вид — окно 6, 7.11, владелец: «сейчас страшно»): компактная плашка снизу, не посреди экрана.
   Телефон и планшет (< 1024) — лист на всю ширину над нижней полосой (.mbar с кнопкой чата не перекрывается), ПК — карточка 400 px в левом нижнем углу
   (кнопка и окно чата справа свободны). «Rechazar» и «Aceptar» — одного вида и размера (отказ не слабее согласия), «Configurar» — ссылкой под ними.
   Фон почти сплошной, без backdrop-filter (пересчитывался на каждом кадре прокрутки, окно 7, 28.10). Появление — подъём на 16 px, без сдвига страницы. */
#awPrefs { position: fixed; z-index: var(--aw-z-toast); display: none; box-sizing: border-box;
    left: calc(10px + env(safe-area-inset-left)); right: calc(10px + env(safe-area-inset-right)); bottom: calc(88px + env(safe-area-inset-bottom));
    max-height: calc(100dvh - 104px - env(safe-area-inset-bottom)); overflow: auto; overscroll-behavior: contain;
    padding: 16px; border-radius: 22px; background: rgba(17, 17, 20, 0.985); border: 1px solid var(--aw-line-strong);
    box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(0, 0, 0, 0.4); color: var(--aw-text);
    animation: pf-in var(--aw-dur-slow) var(--aw-ease-out) both; }
#awPrefs.show { display: block; }
html.pf-ask #awPrefs[data-ssr] { display: block; }   /* баннер с сервера — виден с первой отрисовки (web/vt.js), потом — .show (web/prefs.js) */
@keyframes pf-in { from { transform: translateY(16px); opacity: 0.01; } }
/* нижней полосы нет (страница без неё или barHide убрал её с экрана) — лист у самого низа */
body:not(:has(.mbar:not(.is-off))) #awPrefs { bottom: calc(10px + env(safe-area-inset-bottom)); max-height: calc(100dvh - 26px - env(safe-area-inset-bottom)); }
.ios-float #awPrefs { bottom: 90px; max-height: calc(100dvh - 106px); }
.ios-float body:not(:has(.mbar:not(.is-off))) #awPrefs { bottom: 12px; max-height: calc(100dvh - 28px); }
@media (max-width: 1023px) { .chat-on #awPrefs.show { display: none; } }   /* на телефоне чат во весь экран — баннер ждёт, пока чат закрыт (до выбора пиксель не грузится) */
@media (min-width: 600px) and (max-width: 1023px) { #awPrefs { right: auto; width: 440px; } }
@media (min-width: 1024px) {
    #awPrefs, body:not(:has(.mbar:not(.is-off))) #awPrefs { left: 24px; right: auto; bottom: 24px; width: 400px; max-height: calc(100dvh - 48px); padding: 18px; }
    #awPrefs:has(.pf-panel:not([hidden])) { width: 440px; max-height: calc(100dvh - 120px); }   /* «Configurar» — ниже шапки, прокрутка внутри */
}

#awPrefs .pf-main[hidden], #awPrefs .pf-panel[hidden] { display: none; }
#awPrefs .pf-main, #awPrefs .pf-panel { display: grid; gap: 12px; }
#awPrefs .pf-panel { animation: pf-fade var(--aw-dur-base) var(--aw-ease-out) both; }
@keyframes pf-fade { from { opacity: 0.01; } }
/* заголовок со значком: «печенька» штрихом акцента на плитке (картинка в CSS — без файла и без разметки) */
#awPrefs .pf-title { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--aw-font-display); font-weight: 600; font-size: 1rem; line-height: 1.25; color: var(--aw-text); }
#awPrefs .pf-main > .pf-title::before { content: ''; flex: none; width: 34px; height: 34px; border-radius: 11px; background: var(--aw-accent-10) no-repeat center / 20px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5c6d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 1 0 9 9 3 3 0 0 1-3.5-3A3 3 0 0 1 14 5.5 2.5 2.5 0 0 1 12 3z'/%3E%3Ccircle cx='8.5' cy='11' r='.7' fill='%23ff5c6d'/%3E%3Ccircle cx='11' cy='16' r='.7' fill='%23ff5c6d'/%3E%3Ccircle cx='15.5' cy='14.5' r='.7' fill='%23ff5c6d'/%3E%3C/svg%3E"); }
#awPrefs .pf-text { margin: 0; font-size: 0.875rem; line-height: 1.5; color: var(--aw-text-soft); }
#awPrefs .pf-text a { color: var(--aw-text); text-decoration: underline; text-decoration-color: var(--aw-accent); text-underline-offset: 3px; }

/* кнопки: «Rechazar» и «Aceptar» поровну, один вид; «Configurar» — ссылкой на всю ширину под ними */
#awPrefs .pf-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 2px; }
#awPrefs .pf-actions .btn { min-width: 0; width: 100%; min-height: 48px; justify-content: center; padding: 0 12px; border-radius: 14px;
    background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.16); color: var(--aw-text); font-weight: 600; font-size: 0.9375rem;
    transition: background-color var(--aw-dur-fast) var(--aw-ease-out), transform var(--aw-dur-fast) var(--aw-ease-out); }
@media (hover: hover) { #awPrefs .pf-actions .btn:hover { background: rgba(255, 255, 255, 0.15); } }
#awPrefs .pf-actions .btn:active { transform: scale(0.97); }
#awPrefs .pf-actions .btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
#awPrefs .pf-actions :is(.pf-config, .pf-save) { grid-column: 1 / -1; }
#awPrefs .pf-actions .pf-config.pf-config { min-height: 44px; background: none; border-color: transparent; color: var(--aw-text-soft); font-weight: 500; font-size: 0.875rem;
    text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 4px; }
@media (hover: hover) { #awPrefs .pf-actions .pf-config:hover { background: rgba(255, 255, 255, 0.05); color: var(--aw-text); } }

/* «Configurar»: категории строками с переключателем; кнопки внизу листа не уезжают при прокрутке */
#awPrefs .pf-panel > .pf-text { color: var(--aw-text-soft); }
#awPrefs .pf-cat { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; padding: 12px 14px; border-radius: 16px;
    background: rgba(255, 255, 255, 0.04); border: 1px solid var(--aw-line); cursor: pointer; }
#awPrefs .pf-cat > div { display: contents; }   /* название и переключатель — в одной строке, описание — на всю ширину под ними */
#awPrefs .pf-cat :is(.pf-on, .pf-ads, .pf-ana) { grid-column: 2; grid-row: 1; }
#awPrefs .pf-cat p { grid-column: 1 / -1; }
#awPrefs .pf-cat b { font-size: 0.9375rem; color: var(--aw-text); }
#awPrefs .pf-cat p { margin: 0; font-size: 0.8125rem; line-height: 1.5; color: rgba(255, 255, 255, 0.66); }
#awPrefs .pf-on { padding: 4px 8px; border-radius: 999px; background: var(--aw-accent-10); font: 500 0.6875rem var(--aw-font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--aw-accent-soft); white-space: nowrap; }
#awPrefs .pf-panel .pf-actions { position: sticky; bottom: -16px; margin: 0 -16px -16px; padding: 12px 16px 16px; background: linear-gradient(transparent, rgba(17, 17, 20, 0.985) 14px); }
@media (min-width: 1024px) { #awPrefs .pf-panel .pf-actions { bottom: -18px; margin: 0 -18px -18px; padding: 12px 18px 18px; } }
/* переключатели: по умолчанию выключены (AEPD) */
#awPrefs :is(.pf-ads, .pf-ana) { appearance: none; -webkit-appearance: none; position: relative; flex: 0 0 46px; width: 46px; height: 26px; margin: 0; border-radius: 999px;
    background: rgba(255, 255, 255, 0.18); cursor: pointer; transition: background var(--aw-dur-base) var(--aw-ease-out); }
#awPrefs :is(.pf-ads, .pf-ana)::before { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform var(--aw-dur-base) var(--aw-ease-out); }
#awPrefs :is(.pf-ads, .pf-ana):checked { background: var(--aw-accent); }
#awPrefs :is(.pf-ads, .pf-ana):checked::before { transform: translateX(20px); }
#awPrefs :is(.pf-ads, .pf-ana):focus-visible { outline: 2px solid var(--aw-accent); outline-offset: 3px; }
#awPrefs .pf-saved { margin: 0; font-size: 0.875rem; color: var(--aw-text-soft); }
#awPrefs .pf-saved:empty { display: none; }
@media (max-width: 359px) { #awPrefs { padding: 14px; } #awPrefs .pf-actions .btn { padding: 0 8px; font-size: 0.875rem; }
    #awPrefs .pf-panel .pf-actions { bottom: -14px; margin: 0 -14px -14px; padding: 12px 14px 14px; } }
@media (prefers-reduced-motion: reduce) { #awPrefs, #awPrefs .pf-panel { animation: none; } #awPrefs .pf-actions .btn { transition: none; } #awPrefs .pf-actions .btn:active { transform: none; } }

/* Safari / WebKit (владелец 27.10, Mac): скруглённые блоки с overflow: hidden были с квадратными углами до наведения.
   Картинка или видео внутри с transform / transition уходит в свой слой, и WebKit не обрезает его скруглением родителя,
   пока hover не сделает слоем и сам родитель. Лечим заранее: родитель — сразу свой слой (will-change, а не transform:
   transform перебил бы появление .rv и наклоны). .gc-card не трогаем — у неё transform в покое, слой уже есть.
   Скорость (окно 7, 28.10): will-change — только в Safari (блок ниже): в Chrome/Android это ~40 лишних слоёв видеокарты на главной
   (память телефона и работа компоновщика при прокрутке), а углы Chrome обрезает и без них. */
.nav-links .dd-tile, .card4, .reel, .duo-img, .gift, .gstage-list a, .tile, .game, .game-img, .final, .g-video, .gopt, .core, .facts, .ig-card, .wh-photo, .wh-map {
    isolation: isolate; }
/* Только Safari (шрифт -apple-system-body знает только он): вдобавок маска — самый надёжный способ заставить WebKit
   обрезать по скруглению. Не для блоков с внешней тенью (маска срезала бы тень): .card4, .game, .g-video, .gopt. */
@supports (font: -apple-system-body) and (-webkit-appearance: none) {
    .nav-links .dd-tile, .card4, .reel, .duo-img, .gift, .gstage-list a, .tile, .game, .game-img, .final, .g-video, .gopt, .core, .facts, .ig-card, .wh-photo, .wh-map {
        will-change: transform; }
    .nav-links .dd-tile, .reel, .duo-img, .gift, .gstage-list a, .tile, .top-card .game-img, .final, .core, .facts, .ig-card {
        -webkit-mask-image: -webkit-radial-gradient(white, black); }
}
.foot-legal .foot-cookies { padding: 0; font-size: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; }   /* «Configurar cookies» — постоянная ссылка (AEPD) */

/* ===== Лёгкий режим (html.lite — vt.js / site.js, окно 7, 29.10) =====
   Браузер рисует без видеокарты (у владельца Chrome: «Microsoft Basic Render Driver»), экономия трафика, «меньше движения»,
   слабое устройство или мало кадров. Вид тот же, но без того, что такой браузер считает каждым кадром процессором:
   стекла и размытия (вместо стекла — плотный тёмный фон), бесконечных анимаций, движения фона, тяжёлых появлений и роликов-декораций
   (ролики убирает site.js: остаются кадр-постер и картинки блоков; трейлер и ролик игры — по ▶). */
.lite { --aw-glass: rgba(15, 15, 17, 0.94); --aw-blur-glass: none; }
.lite *, .lite *::before, .lite *::after, .lite dialog::backdrop { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.lite :is(.nav, .side) { background: rgba(14, 14, 17, 0.95); }
.lite .mbar { background: rgba(14, 14, 17, 0.96); }
.lite :is(.card4-go, .tc-genre, .portal-hint) { background: rgba(12, 12, 14, 0.82); }
.lite :is(.tap-play, .rail-btn, .hs-btn) { background: rgba(16, 16, 20, 0.9); }
.lite .tile-go { background: rgba(40, 40, 46, 0.88); }
.lite .pv-facts li { background: rgba(10, 10, 12, 0.82); }
.lite dialog.sheet::backdrop { background: rgba(5, 5, 7, 0.82); }
/* фон страницы: CSS-свечения стоят на месте (WebGL-«жидкости» нет), ambient трейлера и размытия — нет */
.lite .page-fx canvas, .lite .reel-amb { display: none; }
.lite .page-fx::before { opacity: 1; }
/* вместо «жидкости» — неподвижные красные пятна в тех же местах и той же силы (рисуются один раз, ничего не стоят) */
.lite .page-fx { background: radial-gradient(55% 60% at 72% 30%, rgba(150, 22, 42, 0.34), transparent 72%), radial-gradient(45% 45% at 18% 78%, rgba(120, 18, 34, 0.22), transparent 70%),
    radial-gradient(120% 60% at 50% -10%, rgba(255, 59, 78, 0.10), transparent 60%), var(--aw-bg); }
/* бесконечные декоративные анимации — стоят (крутилки загрузки не трогаем) */
.lite .page-fx::before, .lite .page-fx::after, .lite .social::after, .lite .final::before, .lite .final::after, .lite .final .btn-primary,
.lite .price.featured .shell::after, .lite .gc-card::after, .lite .chip-float, .lite .gs-word, .lite .gw-still, .lite .pv-still img,
.lite .portal-hint::after, .lite .dv-play-ic::after, .lite .igd-slot.is-new::before, .lite .game.fx-hud .game-img img,
.lite .ilist li.in svg, .lite .ilist li.in svg * { animation: none !important; }
/* появление — короткое проявление без сдвигов, поворотов и размытия */
.lite .rv, .lite .stats.rv li { transform: none; transition: opacity 0.35s ease-out; }
.lite .rv.deal .top-card, .lite .rv.deal .tc-rank { opacity: 1; transform: none; filter: none; translate: none; animation: none !important; }
.lite .card4 { animation: lite-in 0.35s ease-out backwards; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes lite-in { from { opacity: 0; } }
/* движение от прокрутки (трейлер растёт, фото «плывут») — нет: каждый кадр прокрутки это перерисовка */
.lite .reel, .lite .reel-wrap[data-amb] .reel { animation: none; transform: none; filter: none; }
.lite .duo-img :is(img, .duo-vid) { animation: none; scale: none; translate: none; }
.lite .g-hero-img { animation: none; transform: none; }
/* наведение на карточки первого экрана — без 3D, блика и большой тени */
.lite .card4::after { display: none; }
.lite .card4:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(255, 59, 78, 0.35), 0 20px 40px -24px rgba(0, 0, 0, 0.9); }
.lite .card4:hover img { transform: none; }
.lite .card4:hover .card4-body { transform: none; }

/* ---------- Телефон (< 768): короткое — по центру (владелец 31.10: «центрирование везде должно быть по центру», окно 20) ----------
   По центру: eyebrow, заголовки, лиды, карточки-блоки, цифры, бейджи, ссылка «← назад», ряды кнопок (на < 600 — столбик одной ширины, chrome.css).
   Слева, для чтения: длинные абзацы (.sx-text, описания игр, FAQ, правовые), формы, таблицы (часы, цены), списки с пунктами.
   :root main — перебивает разделы (sections / pages / directions / ig-viewer.css подключаются после site.css). ПК (≥ 768) не меняется */
@media (max-width: 767px) {
    :root main :is(.head, .igv-side, .gift-text, .gc-side, .pv-about-text, .gstage-copy, .game-body, .wh-card, .price .core, .sx-card, .dv-body, .sx-fact, .pv-facts > li, .pv-steps > li) { justify-items: stretch; text-align: center; }
    :root main :is(.section-title, .g-title, .sx-card-h, .sx-close, .gstage-title, .wh-h3, .dv-more-t, .dv-hero .g-desc, .section > .hint, .dv-foot, .where-addr, .pv-big-price, .duo-end) { text-align: center; }
    :root main :is(.g-desc, .sx-text, .gstage-pitch, .igv-side ul, .price ul) { text-align: start; }
    :root main :is(.eyebrow, .kid-badge, .back):not(.tc-body *) { display: flex; width: fit-content; max-width: 100%; margin-inline: auto; }
    :root main :is(.dv-chips, .pv-kicker, .igv-row, .hero-cta, .sx-cta) { justify-content: center; }
    :root main :is(.dv-end, .wh-card) { align-items: center; }   /* столбики-flex: бейдж, кнопка «Llamar» — по центру */
    :root main .dv-foot { padding-inline: 56px; }   /* справа — кнопка ▶ ролика: отступ с обеих сторон, чтобы строка стояла по центру */
}
/* ---------- Горизонтальные ленты на телефоне и планшете — одно правило (владелец 6.11 через окно 1: «блоки прям режутся в края экрана»,
   «если тянуть за комменты, то они уезжают»). Лента — во всю ширину экрана; первая и последняя карточка — от поля страницы (--gut),
   прилипание — тоже от поля (scroll-padding), край следующей карточки виден подсказкой; в конце ленты нет ни «резинки» самой ленты,
   ни прокрутки страницы (overscroll-behavior: none). Было: у «Cómo llegar» поле 16 px при поле страницы 20 px и без scroll-padding —
   первая карточка прилипала к краю экрана, лента не доходила до краёв. «html» в селекторе — сильнее правил лент в p6.css и mobile.css,
   которые подключаются позже. Отзывы — лента только до 768 px (дальше — колонки). ---------- */
@media (max-width: 1023px) {
    html :is(.rail, .ig-rail, .m-rail, .pv-routes, .filter) {
        margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); overscroll-behavior-x: none;
    }
    html :is(.pv-routes, .m-rail) { padding-block: 8px 12px; }   /* рамка и тень карточек — не по верхнему и нижнему краю ленты */
}
@media (max-width: 767px) {
    html .reviews { overscroll-behavior-x: none; }
}

/* Окно 6, 11.11 (владелец): текстовые надзаголовки над заголовками убраны со всех страниц. Строка параметров игры (.gstage-kick) и .h4-kicker на главной остаются */
.eyebrow { display: none !important; }
/* Выбор длительности игры на брони (только у игр с вариантами) */
.dur-label { margin: 14px 0 8px; font-size: 0.85rem; color: var(--aw-text-soft, rgba(255, 255, 255, 0.72)); }
.seg-durs { display: flex; flex-wrap: wrap; gap: 8px; }
.dur-opt { min-height: 44px; padding: 8px 18px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.16); background: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.dur-opt.on { border-color: var(--aw-accent, #ff3b4e); background: rgba(255, 59, 78, 0.12); }
