/* Uniqueified: b2bd651f */
/* Prefix: hwy- */
/* Prefixes-map: wn->hwy */
/* Widget-prefixes: {"cb":"spb","wb":"phk","wt":"dcx","ms":"hns","fl":"rwf"} */
/* Classmap: {"wn-age":"hwy-hgmdt","wn-auth":"hwy-qsvmm","wn-brand":"hwy-grptf","wn-btn":"hwy-xkkba","wn-btn--accent":"hwy-arnwh","wn-btn--soft":"hwy-nmbya","wn-burger":"hwy-bgnsw","wn-content":"hwy-qwxhc","wn-copy":"hwy-cqebp","wn-drawer":"hwy-qxnzk","wn-drawer-auth":"hwy-gdggt","wn-drawer-close":"hwy-rfpnt","wn-drawer-item":"hwy-whsjk","wn-drawer-logo":"hwy-epent","wn-drawer-nav":"hwy-xwzkh","wn-drawer-panel":"hwy-dnjnp","wn-drawer-scrim":"hwy-hmayz","wn-faq":"hwy-cence","wn-faq-item":"hwy-wwrrm","wn-footer":"hwy-ptcbs","wn-footer-inner":"hwy-jpfdc","wn-footer-logo":"hwy-wwxkc","wn-footer-nav":"hwy-ewxjn","wn-header":"hwy-djyjt","wn-header-inner":"hwy-krjmk","wn-logo":"hwy-tfejv","wn-logo-mark":"hwy-bzjzz","wn-logo-sub":"hwy-wcmzr","wn-logo-text":"hwy-hbjfa","wn-main":"hwy-srath","wn-nav":"hwy-xvfyt","wn-nav-item":"hwy-ywmyw","wn-rg":"hwy-scfvm","wn-submenu":"hwy-rekgv","wn-submenu-toggle":"hwy-bxasy","wn-top":"hwy-aktpm","wn-visually-hidden":"hwy-nspwe"} */

/* Брендовые переменные. Перекраска (deriveBrandVarMap) заполняет РОВНО эти 12 имён из
   style.json/palette.json бренда — переменной нет в :root, значит для неё перекраска молча
   пропускается. Значения ниже = палитра донора (winstlercasinos.uk), она же дефолт шаблона.
   retint:true только у --c-accent и --c-purple: любой литерал в файле, побайтово совпавший с
   их rgb, будет перекрашен по всему файлу (грабли №2), поэтому декоративных литералов этих
   двух цветов здесь нет — всё идёт через var(). */
:root {
    --c-bg: #1c1a1c;
    --c-surface: #2c2e2e;
    --c-surface-alt: #403e40;
    --c-border: #4d4d4b;
    --c-text: #f2f4f9;
    --c-text-muted: #9c9b9f;
    --c-accent: #ffde26;
    --c-accent-hover: #fde55e;
    --c-on-accent: #1c1d1c;
    --c-purple: #fedc26;
    --c-purple-hover: #fce55e;
    --c-on-purple: #1c1c1a;

    /* Не брендируются (у deriveBrandVarMap для них нет источника), но объявить обязательно —
       иначе значения негде взять. */
    --c-white: #fffeff;
    --c-green: #3fdf8a;
    --c-shadow: rgba(2, 0, 0, .35);
    --c-overlay: rgba(0, 1, 0, .7);

    /* Высота липкой шапки — одной переменной, чтобы scroll-margin якорей не разъехался с
       реальной шапкой (грабли №20). */
    --hwy-header-h: 118px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    font-size: 16px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.46;
    color: var(--c-text);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

img { max-width: 100%; height: auto; }

a { color: var(--c-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }

svg { display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.hwy-nspwe {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Элементы, ведущие в офферную систему: href у них нет, клик ловит делегат из шаблона. */
.go-link { cursor: pointer; }

/* Оверлей-спиннер на время редиректа в офферную систему. Разметку создаёт ОБЩИЙ
   go-redirect.js (`#go-overlay` > `.go-spinner`), стили обязан нести шаблон — без них клик
   выглядит как «ничего не произошло» (грабли №25). Селектор с ID обязателен: `#go-overlay`
   имеет специфичность (1,0,0), голый `.go-overlay--visible` (0,1,0) его НЕ перебивает
   (грабли №26). Префикс `go-` в RESERVED_PREFIXES — клонирование его не переименовывает. */
#go-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    background: var(--c-overlay, rgba(0, 1, 0, .7));
}

#go-overlay.go-overlay--visible { display: flex; }

.go-spinner {
    width: 3.5rem;
    height: 3.5rem;
    border: .3125rem solid color-mix(in srgb, var(--c-text) 20%, transparent);
    border-top-color: var(--c-accent);
    border-radius: 50%;
    animation: go-spin .8s linear infinite;
}

@keyframes go-spin { to { transform: rotate(360deg); } }

.hwy-xkkba {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
    transition: background 0.2s ease, transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.hwy-xkkba:hover { text-decoration: none; }
.hwy-xkkba:active { transform: translateY(1px); }

.hwy-arnwh { background: var(--c-accent); color: var(--c-on-accent); }
.hwy-arnwh:hover { background: var(--c-accent-hover); color: var(--c-on-accent); }

.hwy-nmbya { background: var(--c-purple); color: var(--c-on-purple); }
.hwy-nmbya:hover { background: var(--c-purple-hover); color: var(--c-on-purple); }

.hwy-djyjt {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--c-surface-alt);
    border-bottom: 1px solid color-mix(in srgb, var(--c-text) 6%, transparent);
}

.hwy-krjmk {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 16px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 8px 15px;
}

.hwy-grptf {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    min-height: 48px;
}

.hwy-bgnsw {
    position: absolute;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 45px;
    height: 45px;
    padding: 11px 3px;
}

.hwy-bgnsw span {
    display: block;
    width: 34px;
    height: 4px;
    border-radius: 2px;
    background: var(--c-text);
}

.hwy-tfejv {
    display: flex;
    align-items: center;
    gap: 9px;
}

.hwy-tfejv:hover { text-decoration: none; }

.hwy-tfejv img { height: 44px; width: auto; }

.hwy-bzjzz {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--c-accent);
    color: var(--c-on-accent);
    font-size: 24px;
    font-weight: 700;
    line-height: 44px;
    text-align: center;
}

.hwy-hbjfa {
    display: block;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--c-text);
}

.hwy-wcmzr {
    display: block;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--c-accent);
}

.hwy-xvfyt { display: none; }

.hwy-qsvmm {
    display: flex;
    gap: 9px;
    width: 100%;
}

.hwy-qsvmm .hwy-xkkba { flex: 1; }

.hwy-qxnzk {
    position: fixed;
    inset: 0;
    z-index: 52;
    visibility: hidden;
}

.hwy-qxnzk[data-open="true"] { visibility: visible; }

.hwy-hmayz {
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, #000 60%, transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.hwy-qxnzk[data-open="true"] .hwy-hmayz { opacity: 1; }

.hwy-dnjnp {
    position: absolute;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 88%;
    height: 100%;
    padding: 8px;
    overflow-y: auto;
    background: var(--c-surface-alt);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
}

.hwy-qxnzk[data-open="true"] .hwy-dnjnp { transform: translateX(0); }

.hwy-rfpnt {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--c-accent);
    color: var(--c-on-accent);
}

.hwy-epent {
    display: flex;
    justify-content: center;
    padding-top: 16px;
}

.hwy-gdggt {
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 17px 12px 0;
}

.hwy-xwzkh {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
    list-style: none;
}

.hwy-xwzkh > li {
    border-radius: 12px;
    background: color-mix(in srgb, var(--c-accent) 20%, transparent);
}

.hwy-whsjk {
    position: relative;
    display: flex;
    align-items: center;
}

.hwy-whsjk > a {
    flex: 1;
    min-height: 45px;
    padding: 11px 45px 13px 14px;
    font-size: 16px;
    font-weight: 500;
    color: var(--c-text);
}

.hwy-whsjk > a:hover { text-decoration: none; }

.hwy-bxasy {
    position: absolute;
    top: 50%;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-top: -15px;
    border-radius: 50%;
    background: var(--c-purple);
    color: var(--c-on-purple);
    transition: transform 0.2s ease;
}

.hwy-bxasy svg { width: 18px; height: 18px; }
.hwy-bxasy[aria-expanded="true"] { transform: rotate(180deg); }

.hwy-rekgv {
    display: none;
    padding: 0 8px 11px;
    list-style: none;
}

.hwy-rekgv[data-open="true"] { display: block; }

.hwy-rekgv a {
    display: block;
    padding: 8px 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--c-text);
    border-top: 1px solid var(--c-border);
}

.hwy-rekgv a:hover { color: var(--c-accent); text-decoration: none; }

.hwy-srath {
    display: flex;
    flex-direction: column;
    padding: 0 22px;
}

.hwy-qwxhc {
    width: 100%;
    max-width: 1190px;
    margin: 0 auto;
    padding: 16px 0;
}

/* Якоря из [[!AddAnchorsToHeadings]] проставляются на сами h2-h4 внутри контента, поэтому
   отступ под липкую шапку вешается на них, а не только на секции. */
.hwy-qwxhc[id],
.hwy-qwxhc :is(h2, h3, h4)[id] { scroll-margin-top: calc(var(--hwy-header-h) + 13px); }

/* Секции, которые на конкретном домене оказались пустыми, не должны занимать место: вторая
   врезка баннера отдаёт '' при единственной картинке, блок FAQ — когда TV faq_q1..10 не
   заполнены. :empty здесь не годится (внутри остаются пробелы и переводы строк), поэтому
   проверяем отсутствие дочерних ЭЛЕМЕНТОВ. */
.hwy-srath > .hwy-qwxhc:not(:has(*)) { display: none; }

/* Крошки печатает ОБЩИЙ сниппет breadcrumbsHtml с ЛИТЕРАЛЬНЫМ классом `breadcrumbs`
   (без префикса) — клонирование его не трогает, правила обязан нести шаблон. */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 13px;
    padding: 0;
    font-size: 0.875rem;
    list-style: none;
    color: var(--c-text-muted);
}

.breadcrumbs li { display: flex; align-items: center; gap: 5px; }
.breadcrumbs li a { color: var(--c-text-muted); text-decoration: none; }
.breadcrumbs li a:hover { color: var(--c-accent); }
.breadcrumbs li:last-child span { color: var(--c-text); }
.breadcrumbs li + li::before { content: "/"; color: var(--c-text-muted); }

.hwy-qwxhc h1,
.hwy-qwxhc h2,
.hwy-qwxhc h3,
.hwy-qwxhc h4,
.hwy-qwxhc h5,
.hwy-qwxhc h6 { color: var(--c-text); }

.hwy-qwxhc h1 {
    margin-bottom: 17px;
    font-size: clamp(1.781rem, 1.653rem + 0.524vw, 2.125rem);
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

.hwy-qwxhc h2 {
    margin-bottom: 11px;
    font-size: clamp(1.646rem, 1.560rem + 0.350vw, 1.875rem);
    font-weight: 700;
    line-height: 1.05;
}

.hwy-qwxhc h3 {
    margin-bottom: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
}

.hwy-qwxhc h4 {
    margin-bottom: 9px;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

.hwy-qwxhc h5 {
    margin-bottom: 10px;
    font-size: 1.06rem;
    font-weight: 600;
    line-height: 1.4;
}

.hwy-qwxhc h6 {
    margin-bottom: 6px;
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--c-accent);
}

.hwy-qwxhc h2:not(:first-child),
.hwy-qwxhc h3:not(:first-child) { margin-top: 28px; }

.hwy-qwxhc p {
    margin-bottom: 15px;
    font-size: 0.96rem;
    line-height: 1.51;
}

.hwy-qwxhc ul,
.hwy-qwxhc ol {
    margin: 0 0 15px 19px;
    font-size: 0.96rem;
    line-height: 1.51;
}

.hwy-qwxhc li { margin-bottom: 8px; }
.hwy-qwxhc li::marker { color: var(--c-accent); }

.hwy-qwxhc a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; }
.hwy-qwxhc a:hover { color: var(--c-purple); }

.hwy-qwxhc .hwy-xkkba { text-decoration: none; }
.hwy-qwxhc .hwy-arnwh, .hwy-qwxhc .hwy-arnwh:hover { color: var(--c-on-accent); }
.hwy-qwxhc .hwy-nmbya, .hwy-qwxhc .hwy-nmbya:hover { color: var(--c-on-purple); }

.hwy-qwxhc strong { font-weight: 700; }
.hwy-qwxhc em { font-style: italic; }

.hwy-qwxhc img { max-width: 100%; height: auto; border-radius: 12px; }

.hwy-qwxhc blockquote {
    margin: 0 0 18px;
    padding: 18px 19px;
    border-left: 3px solid var(--c-accent);
    border-radius: 0 12px 16px 0;
    background: var(--c-surface);
    font-size: 0.96rem;
    font-style: italic;
    line-height: 1.51;
}

/* Таблицы приезжают из [[*content]] БЕЗ обёртки, поэтому скролл-контейнером на мобиле
   становится сама таблица. min-width здесь ставить нельзя — он даёт горизонтальный скролл
   всей страницы (грабли №7). */
.hwy-qwxhc table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 15px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
    font-size: 0.96rem;
}

.hwy-qwxhc th,
.hwy-qwxhc td {
    padding: 9px;
    border: 1px solid var(--c-border);
    text-align: left;
    vertical-align: top;
    line-height: 1.46;
}

.hwy-qwxhc th {
    background: var(--c-surface);
    font-weight: 700;
    color: var(--c-text);
}

/* ===== Баннер — печатает сниппет [[!WnBanner]], ключ widget-префикса `wb` =====
   Классы здесь НЕ на приватном префиксе шаблона: приватный (hwy-) рандомизируется в HTML
   шаблона при клонировании, а вывод сниппета остался бы со старым именем и без стилей.
   Сниппет печатает cg_widget_prefix($modx,'wb','wb'), и assignWidgetPrefixes() переименует
   обе стороны согласованно. Кнопка несёт свой полный набор свойств (повторяет .hwy-xkkba) —
   печатать .hwy-xkkba из сниппета нельзя по той же причине. */
.phk-banner {
    position: relative;
    margin: 0 0 22px;
}

.phk-media {
    position: relative;
    display: flex;
    overflow: hidden;
    border-radius: 15px;
}

.phk-media img {
    width: 100%;
    aspect-ratio: 16 / 10.3;
    object-fit: cover;
    border-radius: 0;
}

.phk-box {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 9px;
    border-radius: 0 0 12px 15px;
    background: color-mix(in srgb, #000 45%, transparent);
    text-align: center;
}

.hwy-qwxhc .phk-title {
    margin: 0;
    font-size: clamp(1.187rem, 0.931rem + 1.049vw, 1.875rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--c-white);
}

.hwy-qwxhc .phk-cta,
.phk-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 11px 21px;
    border-radius: 12px;
    background: var(--c-accent);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    color: var(--c-on-accent);
    transition: background 0.2s ease;
}

.hwy-qwxhc .phk-cta:hover,
.phk-cta:hover { background: var(--c-accent-hover); color: var(--c-on-accent); text-decoration: none; }

/* ===== Оглавление — печатает сниппет [[!WnToc]], ключ widget-префикса `wt` ===== */
.dcx-toc { padding: 17px 0; }

.dcx-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 45px;
    padding: 9px 16px;
    border-radius: 15px;
    background: var(--c-accent);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--c-on-accent);
}

.dcx-toggle svg { width: 20px; height: 20px; }

.dcx-panel { display: none; margin-top: 10px; }
.dcx-panel[data-open="true"] { display: block; }

.hwy-qwxhc .dcx-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
    padding: 14px;
    border-radius: 16px;
    background: var(--c-surface);
    list-style: none;
}

.hwy-qwxhc .dcx-list li { margin: 0; }

.hwy-qwxhc .dcx-list a,
.dcx-list a {
    display: block;
    padding: 3px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--c-text);
    text-decoration: none;
}

.hwy-qwxhc .dcx-list a:hover,
.dcx-list a:hover { color: var(--c-accent); }

.hwy-cence { padding-top: 16px; }

.hwy-wwrrm {
    margin-bottom: 18px;
    padding: 17px 18px 27px;
    border-radius: 16px;
    background: var(--c-surface);
}

.hwy-wwrrm h3 {
    margin: 0 0 11px;
    padding-bottom: 10px;
    border-bottom: 1px solid color-mix(in srgb, var(--c-text) 18%, transparent);
}

.hwy-wwrrm p:last-child { margin-bottom: 0; }

.hwy-ptcbs {
    padding-bottom: 8px;
    background: color-mix(in srgb, var(--c-bg) 65%, #000);
}

.hwy-jpfdc {
    max-width: 1240px;
    margin: 0 auto;
    padding: 18px 14px;
    text-align: center;
}

.hwy-ewxjn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    list-style: none;
}

.hwy-ewxjn a {
    display: inline-block;
    min-height: 24px;
    font-size: 16px;
    font-weight: 500;
    color: var(--c-text);
    text-decoration: none;
}

.hwy-ewxjn a:hover { color: var(--c-accent); }

.hwy-wwxkc { display: flex; justify-content: center; margin-bottom: 20px; }
.hwy-wwxkc img { height: 40px; width: auto; }

.hwy-hgmdt {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 25px auto 0;
    border: 1px solid color-mix(in srgb, var(--c-text) 30%, transparent);
    border-radius: 50%;
    font-size: 15px;
    font-weight: 700;
}

.hwy-scfvm {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

/* Явные размеры обязательны: у SVG регуляторов разная внутренняя геометрия, без этого они
   разъезжаются по высоте (грабли №18). */
.hwy-scfvm a { display: flex; align-items: center; }
.hwy-scfvm img { width: 6.5rem; height: 2.2rem; object-fit: contain; }

.hwy-cqebp {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--c-text-muted);
}

.hwy-cqebp a { color: var(--c-text-muted); text-decoration: underline; }
.hwy-cqebp a:hover { color: var(--c-accent); }

.hwy-aktpm {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: var(--c-purple);
    color: var(--c-on-purple);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.hwy-aktpm[data-visible="true"] { opacity: 1; visibility: visible; }

/* ===== CookieBanner (общий сниппет [[!CookieBanner]], ключ префикса `cb`) =====
   Классы печатает сниппет через cg_widget_prefix($modx,'cb','cb'); литеральные `.spb-*`
   обязаны существовать здесь, иначе tallyPrefixCandidates() не найдёт ключ при сканировании
   и assignWidgetPrefixes() не сможет их рандомизировать. */
.spb-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: color-mix(in srgb, #000 60%, transparent);
}

.spb-banner {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 61;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 18px;
    background: var(--c-surface-alt);
    border-top: 1px solid var(--c-border);
}

.spb-text { font-size: 0.9rem; line-height: 1.5; color: var(--c-text); }
.spb-text a { color: var(--c-accent); text-decoration: underline; }

.spb-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.spb-btn {
    flex: 1 1 auto;
    min-height: 45px;
    padding: 9px 19px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

.spb-btn--accept { background: var(--c-accent); color: var(--c-on-accent); }
.spb-btn--save { background: var(--c-purple); color: var(--c-on-purple); }

.spb-btn--reject,
.spb-btn--settings {
    background: transparent;
    border: 1px solid var(--c-border);
    color: var(--c-text);
}

.spb-modal {
    position: fixed;
    inset: 0;
    z-index: 62;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: color-mix(in srgb, #000 70%, transparent);
}

.spb-modal__inner {
    width: 100%;
    max-width: 560px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 19px;
    border-radius: 13px;
    background: var(--c-surface);
}

.spb-modal__title { margin-bottom: 12px; font-size: 1.3rem; font-weight: 700; color: var(--c-text); }
.spb-modal__desc { margin-bottom: 17px; font-size: 0.9rem; line-height: 1.5; color: var(--c-text-muted); }

.spb-categories { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }

.spb-cat { padding-bottom: 15px; border-bottom: 1px solid var(--c-border); }
.spb-cat:last-child { border-bottom: 0; padding-bottom: 0; }

.spb-cat__header { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 7px; }
.spb-cat__name { font-weight: 600; color: var(--c-text); }
.spb-cat__always { font-size: 0.8rem; color: var(--c-text-muted); }
.spb-cat__desc { font-size: 0.85rem; line-height: 1.45; color: var(--c-text-muted); }

.spb-toggle { position: relative; flex: none; width: 44px; height: 24px; }
.spb-toggle input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }

.spb-toggle__slider {
    display: block;
    width: 44px;
    height: 24px;
    border-radius: 14px;
    background: var(--c-border);
    transition: background 0.2s ease;
}

.spb-toggle__slider::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--c-text);
    transition: transform 0.2s ease;
}

.spb-toggle input:checked + .spb-toggle__slider { background: var(--c-accent); }
.spb-toggle input:checked + .spb-toggle__slider::before { transform: translateX(20px); background: var(--c-on-accent); }

.spb-modal__actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (min-width: 768px) {
    .hwy-ewxjn { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 15px 33px; }
    /* wrap обязателен: бейджей стало до семи, в один ряд они влезают только на широком
       десктопе, а на планшете иначе вылезали бы за контейнер. */
    .hwy-scfvm { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 17px 21px; }
    .phk-media img { aspect-ratio: 16 / 6.5; }
    .spb-banner { flex-direction: row; align-items: center; gap: 19px; }
    .spb-actions { flex: none; }
    .spb-btn { flex: none; }
}

@media (min-width: 1024px) {
    :root { --hwy-header-h: 69px; }

    .hwy-krjmk {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 13px;
        padding: 12px 20px;
    }

    .hwy-grptf { width: auto; justify-content: flex-start; }
    .hwy-bgnsw { display: none; }
    .hwy-qxnzk { display: none; }

    .hwy-tfejv img { height: 36px; }

    .hwy-xvfyt {
        display: flex;
        flex: 1;
        justify-content: center;
        gap: 22px;
        list-style: none;
    }

    .hwy-ywmyw { position: relative; display: flex; align-items: center; gap: 3px; }

    .hwy-ywmyw > a {
        font-size: 0.98rem;
        font-weight: 500;
        color: var(--c-text);
        text-decoration: none;
    }

    .hwy-ywmyw > a:hover { color: var(--c-accent); }

    .hwy-ywmyw > .hwy-bxasy {
        position: static;
        width: 24px;
        height: 24px;
        margin: 0;
        background: none;
        color: var(--c-text);
    }

    .hwy-ywmyw > .hwy-bxasy svg { width: 24px; height: 24px; }

    .hwy-xvfyt .hwy-rekgv {
        position: absolute;
        top: 100%;
        left: 50%;
        min-width: 200px;
        margin-top: 8px;
        padding: 3px 10px 10px;
        border: 1px solid color-mix(in srgb, var(--c-text) 10%, transparent);
        border-radius: 13px;
        background: var(--c-surface-alt);
        transform: translateX(-50%);
    }

    .hwy-xvfyt .hwy-rekgv a { white-space: nowrap; }
    .hwy-xvfyt .hwy-rekgv li:first-child a { border-top: 0; }

    .hwy-qsvmm { width: auto; }
    .hwy-qsvmm .hwy-xkkba { flex: none; min-width: 100px; min-height: 42px; padding: 11px 14px; }

    .hwy-srath { padding: 0 26px; }

    .hwy-qwxhc table { display: table; }

    .phk-media img { aspect-ratio: 1190 / 400; }

    .phk-box {
        top: 50%;
        right: auto;
        bottom: auto;
        left: 50%;
        width: max-content;
        max-width: 60%;
        gap: 8px;
        padding: 17px 15px;
        border-radius: 12px;
        background: var(--c-overlay);
        transform: translate(-50%, -50%);
    }

    .phk-box .phk-cta { align-self: center; min-height: 39px; }

    .hwy-aktpm { right: 32px; bottom: 32px; }
}

.hns-strip{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;margin:17px 0 8px}
.hns-lead{display:flex;align-items:center;gap:11px}
.hns-age{width:32px;height:32px;flex:0 0 auto}
.hns-chip{font-size:13px;line-height:1.35;opacity:.85}
.hns-pays{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:7px}
.hns-pay{width:40px;height:26px;object-fit:contain;opacity:.8}

/* FooterLinks (2026-08-24) */
.rwf-links{display:flex;flex-direction:column;gap:6px;margin:16px 0 4px;font-size:13px}
.rwf-row,.rwf-block{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 16px}
.rwf-caption{opacity:.65;margin-right:6px}
.rwf-item a{color:inherit;text-decoration:underline;text-underline-offset:2px;opacity:.85}
.rwf-item a:hover{opacity:1}
