/* Uniqueified: ed735af9 */
/* Prefix: hm- */
/* Prefixes-map: wn->hm */
/* Widget-prefixes: {"cb":"sgk","wb":"qxm","wt":"hcq","ms":"cad"} */
/* Classmap: {"wn-age":"hm-aaqvq","wn-auth":"hm-yjdxv","wn-brand":"hm-vqxbt","wn-btn":"hm-mgnnq","wn-btn--accent":"hm-qrtaw","wn-btn--soft":"hm-cnmac","wn-burger":"hm-pnvba","wn-content":"hm-dwfqg","wn-copy":"hm-myyyr","wn-drawer":"hm-efytt","wn-drawer-auth":"hm-petks","wn-drawer-close":"hm-wkfya","wn-drawer-item":"hm-frvfr","wn-drawer-logo":"hm-egtyp","wn-drawer-nav":"hm-jpzea","wn-drawer-panel":"hm-rzhpn","wn-drawer-scrim":"hm-hpmft","wn-faq":"hm-rppfj","wn-faq-item":"hm-dadbh","wn-footer":"hm-jtxan","wn-footer-inner":"hm-eapbq","wn-footer-logo":"hm-sfrtd","wn-footer-nav":"hm-kwdae","wn-header":"hm-whegc","wn-header-inner":"hm-dwxaw","wn-logo":"hm-ngayw","wn-logo-mark":"hm-hbyvw","wn-logo-sub":"hm-jkbcf","wn-logo-text":"hm-ttrtp","wn-main":"hm-hcfdx","wn-nav":"hm-dmqhb","wn-nav-item":"hm-amttb","wn-rg":"hm-fkmwp","wn-submenu":"hm-nvhhp","wn-submenu-toggle":"hm-strft","wn-top":"hm-pbryq","wn-visually-hidden":"hm-mvere"} */

/* Брендовые переменные. Перекраска (deriveBrandVarMap) заполняет РОВНО эти 12 имён из
   style.json/palette.json бренда — переменной нет в :root, значит для неё перекраска молча
   пропускается. Значения ниже = палитра донора (winstlercasinos.uk), она же дефолт шаблона.
   retint:true только у --c-accent и --c-purple: любой литерал в файле, побайтово совпавший с
   их rgb, будет перекрашен по всему файлу (грабли №2), поэтому декоративных литералов этих
   двух цветов здесь нет — всё идёт через var(). */
:root {
    --c-bg: #14504e;
    --c-surface: #236060;
    --c-surface-alt: #307c7a;
    --c-border: #378d8c;
    --c-text: #f2f4f9;
    --c-text-muted: #99b2b2;
    --c-accent: #00a3a4;
    --c-accent-hover: #00dbda;
    --c-on-accent: #030000;
    --c-purple: #00706f;
    --c-purple-hover: #01a8a8;
    --c-on-purple: #fffffe;

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

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

.hm-mvere {
    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); } }

.hm-mgnnq {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 11px 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;
}

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

.hm-qrtaw { background: var(--c-accent); color: var(--c-on-accent); }
.hm-qrtaw:hover { background: var(--c-accent-hover); color: var(--c-on-accent); }

.hm-cnmac { background: var(--c-purple); color: var(--c-on-purple); }
.hm-cnmac:hover { background: var(--c-purple-hover); color: var(--c-on-purple); }

.hm-whegc {
    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);
}

.hm-dwxaw {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 14px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 12px 14px;
}

.hm-vqxbt {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
}

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

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

.hm-ngayw {
    display: flex;
    align-items: center;
    gap: 11px;
}

.hm-ngayw:hover { text-decoration: none; }

.hm-ngayw img { height: 44px; width: auto; }

.hm-hbyvw {
    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;
}

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

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

.hm-dmqhb { display: none; }

.hm-yjdxv {
    display: flex;
    gap: 7px;
    width: 100%;
}

.hm-yjdxv .hm-mgnnq { flex: 1; }

.hm-efytt {
    position: fixed;
    inset: 0;
    z-index: 52;
    visibility: hidden;
}

.hm-efytt[data-open="true"] { visibility: visible; }

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

.hm-efytt[data-open="true"] .hm-hpmft { opacity: 1; }

.hm-rzhpn {
    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;
}

.hm-efytt[data-open="true"] .hm-rzhpn { transform: translateX(0); }

.hm-wkfya {
    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);
}

.hm-egtyp {
    display: flex;
    justify-content: center;
    padding-top: 14px;
}

.hm-petks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px 11px 0;
}

.hm-jpzea {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 15px;
    list-style: none;
}

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

.hm-frvfr {
    position: relative;
    display: flex;
    align-items: center;
}

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

.hm-frvfr > a:hover { text-decoration: none; }

.hm-strft {
    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;
}

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

.hm-nvhhp {
    display: none;
    padding: 0 8px 12px;
    list-style: none;
}

.hm-nvhhp[data-open="true"] { display: block; }

.hm-nvhhp a {
    display: block;
    padding: 9px 7px;
    font-size: 15px;
    font-weight: 500;
    color: var(--c-text);
    border-top: 1px solid var(--c-border);
}

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

.hm-hcfdx {
    display: flex;
    flex-direction: column;
    padding: 0 19px;
}

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

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

/* Секции, которые на конкретном домене оказались пустыми, не должны занимать место: вторая
   врезка баннера отдаёт '' при единственной картинке, блок FAQ — когда TV faq_q1..10 не
   заполнены. :empty здесь не годится (внутри остаются пробелы и переводы строк), поэтому
   проверяем отсутствие дочерних ЭЛЕМЕНТОВ. */
.hm-hcfdx > .hm-dwfqg: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: 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); }

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

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

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

.hm-dwfqg h3 {
    margin-bottom: 9px;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
}

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

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

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

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

.hm-dwfqg p {
    margin-bottom: 14px;
    font-size: 0.96rem;
    line-height: 1.51;
}

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

.hm-dwfqg li { margin-bottom: 5px; }
.hm-dwfqg li::marker { color: var(--c-accent); }

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

.hm-dwfqg .hm-mgnnq { text-decoration: none; }
.hm-dwfqg .hm-qrtaw, .hm-dwfqg .hm-qrtaw:hover { color: var(--c-on-accent); }
.hm-dwfqg .hm-cnmac, .hm-dwfqg .hm-cnmac:hover { color: var(--c-on-purple); }

.hm-dwfqg strong { font-weight: 700; }
.hm-dwfqg em { font-style: italic; }

.hm-dwfqg img { max-width: 100%; height: auto; border-radius: 16px; }

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

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

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

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

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

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

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

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

.hm-dwfqg .qxm-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);
}

.hm-dwfqg .qxm-cta,
.qxm-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 11px 18px;
    border-radius: 13px;
    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;
}

.hm-dwfqg .qxm-cta:hover,
.qxm-cta:hover { background: var(--c-accent-hover); color: var(--c-on-accent); text-decoration: none; }

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

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

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

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

.hm-dwfqg .hcq-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
    padding: 14px;
    border-radius: 12px;
    background: var(--c-surface);
    list-style: none;
}

.hm-dwfqg .hcq-list li { margin: 0; }

.hm-dwfqg .hcq-list a,
.hcq-list a {
    display: block;
    padding: 7px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--c-text);
    text-decoration: none;
}

.hm-dwfqg .hcq-list a:hover,
.hcq-list a:hover { color: var(--c-accent); }

.hm-rppfj { padding-top: 16px; }

.hm-dadbh {
    margin-bottom: 15px;
    padding: 15px 21px 28px;
    border-radius: 13px;
    background: var(--c-surface);
}

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

.hm-dadbh p:last-child { margin-bottom: 0; }

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

.hm-eapbq {
    max-width: 1240px;
    margin: 0 auto;
    padding: 18px 13px;
    text-align: center;
}

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

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

.hm-kwdae a:hover { color: var(--c-accent); }

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

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

.hm-fkmwp {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 19px;
}

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

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

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

.hm-pbryq {
    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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.sgk-modal__actions { display: flex; flex-wrap: wrap; gap: 9px; }

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

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

    .hm-dwxaw {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 17px;
        padding: 11px 21px;
    }

    .hm-vqxbt { width: auto; justify-content: flex-start; }
    .hm-pnvba { display: none; }
    .hm-efytt { display: none; }

    .hm-ngayw img { height: 36px; }

    .hm-dmqhb {
        display: flex;
        flex: 1;
        justify-content: center;
        gap: 21px;
        list-style: none;
    }

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

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

    .hm-amttb > a:hover { color: var(--c-accent); }

    .hm-amttb > .hm-strft {
        position: static;
        width: 24px;
        height: 24px;
        margin: 0;
        background: none;
        color: var(--c-text);
    }

    .hm-amttb > .hm-strft svg { width: 24px; height: 24px; }

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

    .hm-dmqhb .hm-nvhhp a { white-space: nowrap; }
    .hm-dmqhb .hm-nvhhp li:first-child a { border-top: 0; }

    .hm-yjdxv { width: auto; }
    .hm-yjdxv .hm-mgnnq { flex: none; min-width: 100px; min-height: 42px; padding: 14px 11px; }

    .hm-hcfdx { padding: 0 26px; }

    .hm-dwfqg table { display: table; }

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

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

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

    .hm-pbryq { right: 32px; bottom: 32px; }
}

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