/* Uniqueified: e3537134 */
/* Prefix: bwg- */
/* Prefixes-map: wn->bwg */
/* Widget-prefixes: {"cb":"qbd","wb":"kdn","wt":"zwh","ms":"gec","fl":"vaa"} */
/* Classmap: {"wn-age":"bwg-atdtp","wn-auth":"bwg-tsyzf","wn-brand":"bwg-vvbzq","wn-btn":"bwg-cnyan","wn-btn--accent":"bwg-sjtdh","wn-btn--soft":"bwg-kepkd","wn-burger":"bwg-adzam","wn-content":"bwg-bwsbt","wn-copy":"bwg-ayrcr","wn-drawer":"bwg-wdedh","wn-drawer-auth":"bwg-dverx","wn-drawer-close":"bwg-rkxnd","wn-drawer-item":"bwg-kkxbd","wn-drawer-logo":"bwg-nhmnc","wn-drawer-nav":"bwg-qfwct","wn-drawer-panel":"bwg-jnrtp","wn-drawer-scrim":"bwg-kekgz","wn-faq":"bwg-zxndn","wn-faq-item":"bwg-chsdt","wn-footer":"bwg-rwtys","wn-footer-inner":"bwg-abbbc","wn-footer-logo":"bwg-gpgqe","wn-footer-nav":"bwg-mdbwp","wn-header":"bwg-ntpqb","wn-header-inner":"bwg-fcsyj","wn-logo":"bwg-cwdfy","wn-logo-mark":"bwg-cwmqr","wn-logo-sub":"bwg-drxmk","wn-logo-text":"bwg-rjreh","wn-main":"bwg-czprt","wn-nav":"bwg-mfmwn","wn-nav-item":"bwg-qacyt","wn-rg":"bwg-xsvbk","wn-submenu":"bwg-cpcph","wn-submenu-toggle":"bwg-hsfyq","wn-top":"bwg-yzseg","wn-visually-hidden":"bwg-arxhc"} */

/* Брендовые переменные. Перекраска (deriveBrandVarMap) заполняет РОВНО эти 12 имён из
   style.json/palette.json бренда — переменной нет в :root, значит для неё перекраска молча
   пропускается. Значения ниже = палитра донора (winstlercasinos.uk), она же дефолт шаблона.
   retint:true только у --c-accent и --c-purple: любой литерал в файле, побайтово совпавший с
   их rgb, будет перекрашен по всему файлу (грабли №2), поэтому декоративных литералов этих
   двух цветов здесь нет — всё идёт через var(). */
:root {
    --c-bg: #000100;
    --c-surface: #121412;
    --c-surface-alt: #262424;
    --c-border: #313431;
    --c-text: #f2f6f7;
    --c-text-muted: #8e9294;
    --c-accent: #dfe0f0;
    --c-accent-hover: #fffeff;
    --c-on-accent: #000100;
    --c-purple: #e0def0;
    --c-purple-hover: #fffcff;
    --c-on-purple: #000100;

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

    /* Высота липкой шапки — одной переменной, чтобы scroll-margin якорей не разъехался с
       реальной шапкой (грабли №20). */
    --bwg-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; }

.bwg-arxhc {
    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, 0, 1, .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); } }

.bwg-cnyan {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 13px 22px;
    border-radius: 16px;
    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;
}

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

.bwg-sjtdh { background: var(--c-accent); color: var(--c-on-accent); }
.bwg-sjtdh:hover { background: var(--c-accent-hover); color: var(--c-on-accent); }

.bwg-kepkd { background: var(--c-purple); color: var(--c-on-purple); }
.bwg-kepkd:hover { background: var(--c-purple-hover); color: var(--c-on-purple); }

.bwg-ntpqb {
    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);
}

.bwg-fcsyj {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 13px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 11px 18px;
}

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

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

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

.bwg-cwdfy {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bwg-cwdfy:hover { text-decoration: none; }

.bwg-cwdfy img { height: 44px; width: auto; }

.bwg-cwmqr {
    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;
}

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

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

.bwg-mfmwn { display: none; }

.bwg-tsyzf {
    display: flex;
    gap: 9px;
    width: 100%;
}

.bwg-tsyzf .bwg-cnyan { flex: 1; }

.bwg-wdedh {
    position: fixed;
    inset: 0;
    z-index: 52;
    visibility: hidden;
}

.bwg-wdedh[data-open="true"] { visibility: visible; }

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

.bwg-wdedh[data-open="true"] .bwg-kekgz { opacity: 1; }

.bwg-jnrtp {
    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;
}

.bwg-wdedh[data-open="true"] .bwg-jnrtp { transform: translateX(0); }

.bwg-rkxnd {
    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);
}

.bwg-nhmnc {
    display: flex;
    justify-content: center;
    padding-top: 14px;
}

.bwg-dverx {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px 9px 0;
}

.bwg-qfwct {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 18px;
    list-style: none;
}

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

.bwg-kkxbd {
    position: relative;
    display: flex;
    align-items: center;
}

.bwg-kkxbd > a {
    flex: 1;
    min-height: 45px;
    padding: 10px 45px 14px 14px;
    font-size: 16px;
    font-weight: 500;
    color: var(--c-text);
}

.bwg-kkxbd > a:hover { text-decoration: none; }

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

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

.bwg-cpcph {
    display: none;
    padding: 0 8px 12px;
    list-style: none;
}

.bwg-cpcph[data-open="true"] { display: block; }

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

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

.bwg-czprt {
    display: flex;
    flex-direction: column;
    padding: 0 19px;
}

.bwg-bwsbt {
    width: 100%;
    max-width: 1190px;
    margin: 0 auto;
    padding: 17px 0;
}

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

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

/* Крошки печатает ОБЩИЙ сниппет breadcrumbsHtml с ЛИТЕРАЛЬНЫМ классом `breadcrumbs`
   (без префикса) — клонирование его не трогает, правила обязан нести шаблон. */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    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: 7px; }
.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); }

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

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

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

.bwg-bwsbt h3 {
    margin-bottom: 11px;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
}

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

.bwg-bwsbt h5 {
    margin-bottom: 7px;
    font-size: 1.06rem;
    font-weight: 600;
    line-height: 1.4;
}

.bwg-bwsbt 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);
}

.bwg-bwsbt h2:not(:first-child),
.bwg-bwsbt h3:not(:first-child) { margin-top: 24px; }

.bwg-bwsbt p {
    margin-bottom: 17px;
    font-size: 0.96rem;
    line-height: 1.51;
}

.bwg-bwsbt ul,
.bwg-bwsbt ol {
    margin: 0 0 14px 18px;
    font-size: 0.96rem;
    line-height: 1.51;
}

.bwg-bwsbt li { margin-bottom: 4px; }
.bwg-bwsbt li::marker { color: var(--c-accent); }

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

.bwg-bwsbt .bwg-cnyan { text-decoration: none; }
.bwg-bwsbt .bwg-sjtdh, .bwg-bwsbt .bwg-sjtdh:hover { color: var(--c-on-accent); }
.bwg-bwsbt .bwg-kepkd, .bwg-bwsbt .bwg-kepkd:hover { color: var(--c-on-purple); }

.bwg-bwsbt strong { font-weight: 700; }
.bwg-bwsbt em { font-style: italic; }

.bwg-bwsbt img { max-width: 100%; height: auto; border-radius: 13px; }

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

/* Таблицы приезжают из [[*content]] БЕЗ обёртки, поэтому скролл-контейнером на мобиле
   становится сама таблица. min-width здесь ставить нельзя — он даёт горизонтальный скролл
   всей страницы (грабли №7). */
.bwg-bwsbt 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;
}

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

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

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

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

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

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

.bwg-bwsbt .kdn-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);
}

.bwg-bwsbt .kdn-cta,
.kdn-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;
}

.bwg-bwsbt .kdn-cta:hover,
.kdn-cta:hover { background: var(--c-accent-hover); color: var(--c-on-accent); text-decoration: none; }

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

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

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

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

.bwg-bwsbt .zwh-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    padding: 14px;
    border-radius: 12px;
    background: var(--c-surface);
    list-style: none;
}

.bwg-bwsbt .zwh-list li { margin: 0; }

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

.bwg-bwsbt .zwh-list a:hover,
.zwh-list a:hover { color: var(--c-accent); }

.bwg-zxndn { padding-top: 13px; }

.bwg-chsdt {
    margin-bottom: 18px;
    padding: 15px 18px 28px;
    border-radius: 13px;
    background: var(--c-surface);
}

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

.bwg-chsdt p:last-child { margin-bottom: 0; }

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

.bwg-abbbc {
    max-width: 1240px;
    margin: 0 auto;
    padding: 21px 14px;
    text-align: center;
}

.bwg-mdbwp {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    list-style: none;
}

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

.bwg-mdbwp a:hover { color: var(--c-accent); }

.bwg-gpgqe { display: flex; justify-content: center; margin-bottom: 16px; }
.bwg-gpgqe img { height: 40px; width: auto; }

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

.bwg-xsvbk {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
    margin-top: 21px;
}

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

.bwg-ayrcr {
    margin-top: 17px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--c-text-muted);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.qbd-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;
}

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

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

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

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

    .bwg-fcsyj {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 16px;
        padding: 9px 21px;
    }

    .bwg-vvbzq { width: auto; justify-content: flex-start; }
    .bwg-adzam { display: none; }
    .bwg-wdedh { display: none; }

    .bwg-cwdfy img { height: 36px; }

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

    .bwg-qacyt { position: relative; display: flex; align-items: center; gap: 6px; }

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

    .bwg-qacyt > a:hover { color: var(--c-accent); }

    .bwg-qacyt > .bwg-hsfyq {
        position: static;
        width: 24px;
        height: 24px;
        margin: 0;
        background: none;
        color: var(--c-text);
    }

    .bwg-qacyt > .bwg-hsfyq svg { width: 24px; height: 24px; }

    .bwg-mfmwn .bwg-cpcph {
        position: absolute;
        top: 100%;
        left: 50%;
        min-width: 200px;
        margin-top: 12px;
        padding: 6px 14px 6px;
        border: 1px solid color-mix(in srgb, var(--c-text) 10%, transparent);
        border-radius: 16px;
        background: var(--c-surface-alt);
        transform: translateX(-50%);
    }

    .bwg-mfmwn .bwg-cpcph a { white-space: nowrap; }
    .bwg-mfmwn .bwg-cpcph li:first-child a { border-top: 0; }

    .bwg-tsyzf { width: auto; }
    .bwg-tsyzf .bwg-cnyan { flex: none; min-width: 100px; min-height: 42px; padding: 11px 12px; }

    .bwg-czprt { padding: 0 23px; }

    .bwg-bwsbt table { display: table; }

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

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

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

    .bwg-yzseg { right: 32px; bottom: 32px; }
}

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

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