/* Uniqueified: 3f130916 */
/* Prefix: mes- */
/* Prefixes-map: wn->mes */
/* Widget-prefixes: {"cb":"sad","wb":"bpx","wt":"pdc","ms":"gwd","fl":"cvv"} */
/* Classmap: {"wn-age":"mes-pcdnh","wn-auth":"mes-mkbtd","wn-brand":"mes-bdwrs","wn-btn":"mes-wzyqd","wn-btn--accent":"mes-ncntm","wn-btn--soft":"mes-kzabg","wn-burger":"mes-qpfzc","wn-content":"mes-enzpw","wn-copy":"mes-ysypv","wn-drawer":"mes-edkmz","wn-drawer-auth":"mes-krjqa","wn-drawer-close":"mes-xdbbr","wn-drawer-item":"mes-thchx","wn-drawer-logo":"mes-bgecz","wn-drawer-nav":"mes-cjzdg","wn-drawer-panel":"mes-zbctg","wn-drawer-scrim":"mes-xkejy","wn-faq":"mes-mbczs","wn-faq-item":"mes-zaxhz","wn-footer":"mes-nrqjm","wn-footer-inner":"mes-akhhx","wn-footer-logo":"mes-jvaxe","wn-footer-nav":"mes-gvnhq","wn-header":"mes-fepwd","wn-header-inner":"mes-dbany","wn-logo":"mes-xfzqj","wn-logo-mark":"mes-vprjf","wn-logo-sub":"mes-gvhpn","wn-logo-text":"mes-sfbtv","wn-main":"mes-pexxk","wn-nav":"mes-xwjzv","wn-nav-item":"mes-asgqq","wn-rg":"mes-yyaem","wn-submenu":"mes-pmrwg","wn-submenu-toggle":"mes-pfftt","wn-top":"mes-dhgew","wn-visually-hidden":"mes-tqpsv"} */

/* Брендовые переменные. Перекраска (deriveBrandVarMap) заполняет РОВНО эти 12 имён из
   style.json/palette.json бренда — переменной нет в :root, значит для неё перекраска молча
   пропускается. Значения ниже = палитра донора (winstlercasinos.uk), она же дефолт шаблона.
   retint:true только у --c-accent и --c-purple: любой литерал в файле, побайтово совпавший с
   их rgb, будет перекрашен по всему файлу (грабли №2), поэтому декоративных литералов этих
   двух цветов здесь нет — всё идёт через var(). */
:root {
    --c-bg: #101017;
    --c-surface: #25222b;
    --c-surface-alt: #37313d;
    --c-border: #433e49;
    --c-text: #f2f4f4;
    --c-text-muted: #99989d;
    --c-accent: #f03d00;
    --c-accent-hover: #fe6229;
    --c-on-accent: #030000;
    --c-purple: #f04100;
    --c-purple-hover: #fd6229;
    --c-on-purple: #000001;

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

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

.mes-tqpsv {
    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); } }

.mes-wzyqd {
    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;
}

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

.mes-ncntm { background: var(--c-accent); color: var(--c-on-accent); }
.mes-ncntm:hover { background: var(--c-accent-hover); color: var(--c-on-accent); }

.mes-kzabg { background: var(--c-purple); color: var(--c-on-purple); }
.mes-kzabg:hover { background: var(--c-purple-hover); color: var(--c-on-purple); }

.mes-fepwd {
    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);
}

.mes-dbany {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 11px 15px;
}

.mes-bdwrs {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    min-height: 48px;
}

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

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

.mes-xfzqj {
    display: flex;
    align-items: center;
    gap: 9px;
}

.mes-xfzqj:hover { text-decoration: none; }

.mes-xfzqj img { height: 44px; width: auto; }

.mes-vprjf {
    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;
}

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

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

.mes-xwjzv { display: none; }

.mes-mkbtd {
    display: flex;
    gap: 10px;
    width: 100%;
}

.mes-mkbtd .mes-wzyqd { flex: 1; }

.mes-edkmz {
    position: fixed;
    inset: 0;
    z-index: 52;
    visibility: hidden;
}

.mes-edkmz[data-open="true"] { visibility: visible; }

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

.mes-edkmz[data-open="true"] .mes-xkejy { opacity: 1; }

.mes-zbctg {
    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;
}

.mes-edkmz[data-open="true"] .mes-zbctg { transform: translateX(0); }

.mes-xdbbr {
    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);
}

.mes-bgecz {
    display: flex;
    justify-content: center;
    padding-top: 17px;
}

.mes-krjqa {
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 18px 8px 0;
}

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

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

.mes-thchx {
    position: relative;
    display: flex;
    align-items: center;
}

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

.mes-thchx > a:hover { text-decoration: none; }

.mes-pfftt {
    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;
}

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

.mes-pmrwg {
    display: none;
    padding: 0 8px 12px;
    list-style: none;
}

.mes-pmrwg[data-open="true"] { display: block; }

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

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

.mes-pexxk {
    display: flex;
    flex-direction: column;
    padding: 0 18px;
}

.mes-enzpw {
    width: 100%;
    max-width: 1190px;
    margin: 0 auto;
    padding: 13px 0;
}

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

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

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

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

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

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

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

.mes-enzpw h4 {
    margin-bottom: 6px;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

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

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

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

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

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

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

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

.mes-enzpw .mes-wzyqd { text-decoration: none; }
.mes-enzpw .mes-ncntm, .mes-enzpw .mes-ncntm:hover { color: var(--c-on-accent); }
.mes-enzpw .mes-kzabg, .mes-enzpw .mes-kzabg:hover { color: var(--c-on-purple); }

.mes-enzpw strong { font-weight: 700; }
.mes-enzpw em { font-style: italic; }

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

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

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

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

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

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

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

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

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

.mes-enzpw .bpx-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);
}

.mes-enzpw .bpx-cta,
.bpx-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 14px 19px;
    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;
}

.mes-enzpw .bpx-cta:hover,
.bpx-cta:hover { background: var(--c-accent-hover); color: var(--c-on-accent); text-decoration: none; }

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

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

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

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

.mes-enzpw .pdc-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
    padding: 14px;
    border-radius: 13px;
    background: var(--c-surface);
    list-style: none;
}

.mes-enzpw .pdc-list li { margin: 0; }

.mes-enzpw .pdc-list a,
.pdc-list a {
    display: block;
    padding: 6px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--c-text);
    text-decoration: none;
}

.mes-enzpw .pdc-list a:hover,
.pdc-list a:hover { color: var(--c-accent); }

.mes-mbczs { padding-top: 14px; }

.mes-zaxhz {
    margin-bottom: 14px;
    padding: 17px 21px 27px;
    border-radius: 12px;
    background: var(--c-surface);
}

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

.mes-zaxhz p:last-child { margin-bottom: 0; }

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

.mes-akhhx {
    max-width: 1240px;
    margin: 0 auto;
    padding: 19px 17px;
    text-align: center;
}

.mes-gvnhq {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 17px;
    list-style: none;
}

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

.mes-gvnhq a:hover { color: var(--c-accent); }

.mes-jvaxe { display: flex; justify-content: center; margin-bottom: 17px; }
.mes-jvaxe img { height: 40px; width: auto; }

.mes-pcdnh {
    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;
}

.mes-yyaem {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 21px;
}

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

.mes-ysypv {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--c-text-muted);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.sad-modal__actions { display: flex; flex-wrap: wrap; gap: 6px; }

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

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

    .mes-dbany {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 13px;
        padding: 12px 23px;
    }

    .mes-bdwrs { width: auto; justify-content: flex-start; }
    .mes-qpfzc { display: none; }
    .mes-edkmz { display: none; }

    .mes-xfzqj img { height: 36px; }

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

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

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

    .mes-asgqq > a:hover { color: var(--c-accent); }

    .mes-asgqq > .mes-pfftt {
        position: static;
        width: 24px;
        height: 24px;
        margin: 0;
        background: none;
        color: var(--c-text);
    }

    .mes-asgqq > .mes-pfftt svg { width: 24px; height: 24px; }

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

    .mes-xwjzv .mes-pmrwg a { white-space: nowrap; }
    .mes-xwjzv .mes-pmrwg li:first-child a { border-top: 0; }

    .mes-mkbtd { width: auto; }
    .mes-mkbtd .mes-wzyqd { flex: none; min-width: 100px; min-height: 42px; padding: 13px 12px; }

    .mes-pexxk { padding: 0 27px; }

    .mes-enzpw table { display: table; }

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

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

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

    .mes-dhgew { right: 32px; bottom: 32px; }
}

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

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