/* Uniqueified: b67c5580 */
/* Prefix: gtx- */
/* Prefixes-map: wn->gtx */
/* Widget-prefixes: {"cb":"ehs","wb":"qms","wt":"zhd","ms":"gbd","fl":"kbx"} */
/* Classmap: {"wn-age":"gtx-kjatx","wn-auth":"gtx-qdjss","wn-brand":"gtx-pqkch","wn-btn":"gtx-mgtqw","wn-btn--accent":"gtx-ckatc","wn-btn--soft":"gtx-cjbcz","wn-burger":"gtx-qtsnx","wn-content":"gtx-mjvgd","wn-copy":"gtx-hfnbv","wn-drawer":"gtx-kjagx","wn-drawer-auth":"gtx-vkdch","wn-drawer-close":"gtx-hjgjw","wn-drawer-item":"gtx-xbmnz","wn-drawer-logo":"gtx-csrqd","wn-drawer-nav":"gtx-sbahg","wn-drawer-panel":"gtx-kbddm","wn-drawer-scrim":"gtx-ayemv","wn-faq":"gtx-vsbjh","wn-faq-item":"gtx-yqffr","wn-footer":"gtx-bjanp","wn-footer-inner":"gtx-qxnwf","wn-footer-logo":"gtx-mrbrb","wn-footer-nav":"gtx-kwxmh","wn-header":"gtx-sdqbr","wn-header-inner":"gtx-seyfk","wn-logo":"gtx-zgfbh","wn-logo-mark":"gtx-wewqd","wn-logo-sub":"gtx-dtfcg","wn-logo-text":"gtx-smwjq","wn-main":"gtx-ypbnn","wn-nav":"gtx-rrzxk","wn-nav-item":"gtx-pcvkr","wn-rg":"gtx-qahrv","wn-submenu":"gtx-rdbvc","wn-submenu-toggle":"gtx-ewhca","wn-top":"gtx-zdeeq","wn-visually-hidden":"gtx-cprhc"} */

/* Брендовые переменные. Перекраска (deriveBrandVarMap) заполняет РОВНО эти 12 имён из
   style.json/palette.json бренда — переменной нет в :root, значит для неё перекраска молча
   пропускается. Значения ниже = палитра донора (winstlercasinos.uk), она же дефолт шаблона.
   retint:true только у --c-accent и --c-purple: любой литерал в файле, побайтово совпавший с
   их rgb, будет перекрашен по всему файлу (грабли №2), поэтому декоративных литералов этих
   двух цветов здесь нет — всё идёт через var(). */
:root {
    --c-bg: #100f20;
    --c-surface: #301e30;
    --c-surface-alt: #452e47;
    --c-border: #553852;
    --c-text: #d1d0d0;
    --c-text-muted: #83838d;
    --c-accent: #c91300;
    --c-accent-hover: #ff1802;
    --c-on-accent: #fffeff;
    --c-purple: #914878;
    --c-purple-hover: #b06092;
    --c-on-purple: #feffff;

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

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

.gtx-cprhc {
    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, 2, .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); } }

.gtx-mgtqw {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 10px 21px;
    border-radius: 15px;
    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;
}

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

.gtx-ckatc { background: var(--c-accent); color: var(--c-on-accent); }
.gtx-ckatc:hover { background: var(--c-accent-hover); color: var(--c-on-accent); }

.gtx-cjbcz { background: var(--c-purple); color: var(--c-on-purple); }
.gtx-cjbcz:hover { background: var(--c-purple-hover); color: var(--c-on-purple); }

.gtx-sdqbr {
    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);
}

.gtx-seyfk {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 17px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 9px 17px;
}

.gtx-pqkch {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: 100%;
    min-height: 48px;
}

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

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

.gtx-zgfbh {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gtx-zgfbh:hover { text-decoration: none; }

.gtx-zgfbh img { height: 44px; width: auto; }

.gtx-wewqd {
    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;
}

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

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

.gtx-rrzxk { display: none; }

.gtx-qdjss {
    display: flex;
    gap: 9px;
    width: 100%;
}

.gtx-qdjss .gtx-mgtqw { flex: 1; }

.gtx-kjagx {
    position: fixed;
    inset: 0;
    z-index: 52;
    visibility: hidden;
}

.gtx-kjagx[data-open="true"] { visibility: visible; }

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

.gtx-kjagx[data-open="true"] .gtx-ayemv { opacity: 1; }

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

.gtx-kjagx[data-open="true"] .gtx-kbddm { transform: translateX(0); }

.gtx-hjgjw {
    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);
}

.gtx-csrqd {
    display: flex;
    justify-content: center;
    padding-top: 14px;
}

.gtx-vkdch {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 18px 12px 0;
}

.gtx-sbahg {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 17px;
    list-style: none;
}

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

.gtx-xbmnz {
    position: relative;
    display: flex;
    align-items: center;
}

.gtx-xbmnz > a {
    flex: 1;
    min-height: 45px;
    padding: 11px 47px 10px 15px;
    font-size: 16px;
    font-weight: 500;
    color: var(--c-text);
}

.gtx-xbmnz > a:hover { text-decoration: none; }

.gtx-ewhca {
    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;
}

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

.gtx-rdbvc {
    display: none;
    padding: 0 9px 8px;
    list-style: none;
}

.gtx-rdbvc[data-open="true"] { display: block; }

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

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

.gtx-ypbnn {
    display: flex;
    flex-direction: column;
    padding: 0 19px;
}

.gtx-mjvgd {
    width: 100%;
    max-width: 1190px;
    margin: 0 auto;
    padding: 14px 0;
}

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

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

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

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

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

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

.gtx-mjvgd h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
}

.gtx-mjvgd h4 {
    margin-bottom: 7px;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

.gtx-mjvgd h5 {
    margin-bottom: 6px;
    font-size: 1.06rem;
    font-weight: 600;
    line-height: 1.4;
}

.gtx-mjvgd 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);
}

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

.gtx-mjvgd p {
    margin-bottom: 18px;
    font-size: 0.96rem;
    line-height: 1.51;
}

.gtx-mjvgd ul,
.gtx-mjvgd ol {
    margin: 0 0 17px 19px;
    font-size: 0.96rem;
    line-height: 1.51;
}

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

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

.gtx-mjvgd .gtx-mgtqw { text-decoration: none; }
.gtx-mjvgd .gtx-ckatc, .gtx-mjvgd .gtx-ckatc:hover { color: var(--c-on-accent); }
.gtx-mjvgd .gtx-cjbcz, .gtx-mjvgd .gtx-cjbcz:hover { color: var(--c-on-purple); }

.gtx-mjvgd strong { font-weight: 700; }
.gtx-mjvgd em { font-style: italic; }

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

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

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

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

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

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

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

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

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

.gtx-mjvgd .qms-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);
}

.gtx-mjvgd .qms-cta,
.qms-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 14px 22px;
    border-radius: 16px;
    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;
}

.gtx-mjvgd .qms-cta:hover,
.qms-cta:hover { background: var(--c-accent-hover); color: var(--c-on-accent); text-decoration: none; }

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

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

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

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

.gtx-mjvgd .zhd-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 13px;
    border-radius: 16px;
    background: var(--c-surface);
    list-style: none;
}

.gtx-mjvgd .zhd-list li { margin: 0; }

.gtx-mjvgd .zhd-list a,
.zhd-list a {
    display: block;
    padding: 4px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--c-text);
    text-decoration: none;
}

.gtx-mjvgd .zhd-list a:hover,
.zhd-list a:hover { color: var(--c-accent); }

.gtx-vsbjh { padding-top: 16px; }

.gtx-yqffr {
    margin-bottom: 15px;
    padding: 15px 19px 24px;
    border-radius: 12px;
    background: var(--c-surface);
}

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

.gtx-yqffr p:last-child { margin-bottom: 0; }

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

.gtx-qxnwf {
    max-width: 1240px;
    margin: 0 auto;
    padding: 21px 17px;
    text-align: center;
}

.gtx-kwxmh {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    list-style: none;
}

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

.gtx-kwxmh a:hover { color: var(--c-accent); }

.gtx-mrbrb { display: flex; justify-content: center; margin-bottom: 19px; }
.gtx-mrbrb img { height: 40px; width: auto; }

.gtx-kjatx {
    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;
}

.gtx-qahrv {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 21px;
}

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

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

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

.gtx-zdeeq {
    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;
}

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

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

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

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

.ehs-actions { display: flex; flex-wrap: wrap; gap: 7px; }

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

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

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

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

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

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

.ehs-categories { display: flex; flex-direction: column; gap: 12px; margin-bottom: 17px; }

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

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

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

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

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

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

.ehs-modal__actions { display: flex; flex-wrap: wrap; gap: 7px; }

@media (min-width: 768px) {
    .gtx-kwxmh { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 14px 31px; }
    /* wrap обязателен: бейджей стало до семи, в один ряд они влезают только на широком
       десктопе, а на планшете иначе вылезали бы за контейнер. */
    .gtx-qahrv { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 18px 20px; }
    .qms-media img { aspect-ratio: 16 / 6.5; }
    .ehs-banner { flex-direction: row; align-items: center; gap: 19px; }
    .ehs-actions { flex: none; }
    .ehs-btn { flex: none; }
}

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

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

    .gtx-pqkch { width: auto; justify-content: flex-start; }
    .gtx-qtsnx { display: none; }
    .gtx-kjagx { display: none; }

    .gtx-zgfbh img { height: 36px; }

    .gtx-rrzxk {
        display: flex;
        flex: 1;
        justify-content: center;
        gap: 19px;
        list-style: none;
    }

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

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

    .gtx-pcvkr > a:hover { color: var(--c-accent); }

    .gtx-pcvkr > .gtx-ewhca {
        position: static;
        width: 24px;
        height: 24px;
        margin: 0;
        background: none;
        color: var(--c-text);
    }

    .gtx-pcvkr > .gtx-ewhca svg { width: 24px; height: 24px; }

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

    .gtx-rrzxk .gtx-rdbvc a { white-space: nowrap; }
    .gtx-rrzxk .gtx-rdbvc li:first-child a { border-top: 0; }

    .gtx-qdjss { width: auto; }
    .gtx-qdjss .gtx-mgtqw { flex: none; min-width: 100px; min-height: 42px; padding: 13px 12px; }

    .gtx-ypbnn { padding: 0 27px; }

    .gtx-mjvgd table { display: table; }

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

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

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

    .gtx-zdeeq { right: 32px; bottom: 32px; }
}

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

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