/* Uniqueified: 2f2d23ba */
/* Prefix: ah- */
/* Prefixes-map: wn->ah */
/* Widget-prefixes: {"cb":"nee","wb":"epq","wt":"etq"} */
/* Classmap: {"wn-age":"ah-cgazt","wn-auth":"ah-crmtc","wn-brand":"ah-cjrsq","wn-btn":"ah-pqssr","wn-btn--accent":"ah-qrdgj","wn-btn--soft":"ah-ezjxb","wn-burger":"ah-rjbct","wn-content":"ah-fjham","wn-copy":"ah-wvsks","wn-drawer":"ah-jjmrh","wn-drawer-auth":"ah-vbfff","wn-drawer-close":"ah-jrbyp","wn-drawer-item":"ah-nhkap","wn-drawer-logo":"ah-cvpfd","wn-drawer-nav":"ah-ejejn","wn-drawer-panel":"ah-peczh","wn-drawer-scrim":"ah-vepta","wn-faq":"ah-fpkxs","wn-faq-item":"ah-ghybt","wn-footer":"ah-ztcwp","wn-footer-inner":"ah-ttbty","wn-footer-logo":"ah-nawfy","wn-footer-nav":"ah-gjptx","wn-header":"ah-hqzrk","wn-header-inner":"ah-fnhtn","wn-logo":"ah-cqdys","wn-logo-mark":"ah-wnemz","wn-logo-sub":"ah-kjezp","wn-logo-text":"ah-xcven","wn-main":"ah-cskas","wn-nav":"ah-jwayr","wn-nav-item":"ah-sxcxk","wn-rg":"ah-zgccr","wn-submenu":"ah-ewqee","wn-submenu-toggle":"ah-yqdkp","wn-top":"ah-paekw","wn-visually-hidden":"ah-zxgye"} */

/* Брендовые переменные. Перекраска (deriveBrandVarMap) заполняет РОВНО эти 12 имён из
   style.json/palette.json бренда — переменной нет в :root, значит для неё перекраска молча
   пропускается. Значения ниже = палитра донора (winstlercasinos.uk), она же дефолт шаблона.
   retint:true только у --c-accent и --c-purple: любой литерал в файле, побайтово совпавший с
   их rgb, будет перекрашен по всему файлу (грабли №2), поэтому декоративных литералов этих
   двух цветов здесь нет — всё идёт через var(). */
:root {
    --c-bg: #131030;
    --c-surface: #20303f;
    --c-surface-alt: #2c4358;
    --c-border: #344f6b;
    --c-text: #b09fa0;
    --c-text-muted: #706674;
    --c-accent: #5755c2;
    --c-accent-hover: #8080d0;
    --c-on-accent: #fffffc;
    --c-purple: #403eb0;
    --c-purple-hover: #6262c4;
    --c-on-purple: #fffdff;

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

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

.ah-zxgye {
    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(2, 0, 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); } }

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

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

.ah-qrdgj { background: var(--c-accent); color: var(--c-on-accent); }
.ah-qrdgj:hover { background: var(--c-accent-hover); color: var(--c-on-accent); }

.ah-ezjxb { background: var(--c-purple); color: var(--c-on-purple); }
.ah-ezjxb:hover { background: var(--c-purple-hover); color: var(--c-on-purple); }

.ah-hqzrk {
    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);
}

.ah-fnhtn {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 9px 18px;
}

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

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

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

.ah-cqdys {
    display: flex;
    align-items: center;
    gap: 11px;
}

.ah-cqdys:hover { text-decoration: none; }

.ah-cqdys img { height: 44px; width: auto; }

.ah-wnemz {
    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;
}

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

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

.ah-jwayr { display: none; }

.ah-crmtc {
    display: flex;
    gap: 9px;
    width: 100%;
}

.ah-crmtc .ah-pqssr { flex: 1; }

.ah-jjmrh {
    position: fixed;
    inset: 0;
    z-index: 52;
    visibility: hidden;
}

.ah-jjmrh[data-open="true"] { visibility: visible; }

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

.ah-jjmrh[data-open="true"] .ah-vepta { opacity: 1; }

.ah-peczh {
    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;
}

.ah-jjmrh[data-open="true"] .ah-peczh { transform: translateX(0); }

.ah-jrbyp {
    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);
}

.ah-cvpfd {
    display: flex;
    justify-content: center;
    padding-top: 14px;
}

.ah-vbfff {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 15px 11px 0;
}

.ah-ejejn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 14px;
    list-style: none;
}

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

.ah-nhkap {
    position: relative;
    display: flex;
    align-items: center;
}

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

.ah-nhkap > a:hover { text-decoration: none; }

.ah-yqdkp {
    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;
}

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

.ah-ewqee {
    display: none;
    padding: 0 8px 8px;
    list-style: none;
}

.ah-ewqee[data-open="true"] { display: block; }

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

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

.ah-cskas {
    display: flex;
    flex-direction: column;
    padding: 0 19px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.ah-fjham ul,
.ah-fjham ol {
    margin: 0 0 14px 19px;
    font-size: 0.96rem;
    line-height: 1.51;
}

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

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

.ah-fjham .ah-pqssr { text-decoration: none; }
.ah-fjham .ah-qrdgj, .ah-fjham .ah-qrdgj:hover { color: var(--c-on-accent); }
.ah-fjham .ah-ezjxb, .ah-fjham .ah-ezjxb:hover { color: var(--c-on-purple); }

.ah-fjham strong { font-weight: 700; }
.ah-fjham em { font-style: italic; }

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

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

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

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

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

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

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

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

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

.ah-fjham .epq-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);
}

.ah-fjham .epq-cta,
.epq-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 14px 18px;
    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;
}

.ah-fjham .epq-cta:hover,
.epq-cta:hover { background: var(--c-accent-hover); color: var(--c-on-accent); text-decoration: none; }

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

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

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

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

.ah-fjham .etq-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
    padding: 11px;
    border-radius: 16px;
    background: var(--c-surface);
    list-style: none;
}

.ah-fjham .etq-list li { margin: 0; }

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

.ah-fjham .etq-list a:hover,
.etq-list a:hover { color: var(--c-accent); }

.ah-fpkxs { padding-top: 13px; }

.ah-ghybt {
    margin-bottom: 15px;
    padding: 14px 19px 28px;
    border-radius: 16px;
    background: var(--c-surface);
}

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

.ah-ghybt p:last-child { margin-bottom: 0; }

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

.ah-ttbty {
    max-width: 1240px;
    margin: 0 auto;
    padding: 18px 17px;
    text-align: center;
}

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

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

.ah-gjptx a:hover { color: var(--c-accent); }

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

.ah-cgazt {
    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;
}

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

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

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

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

.ah-paekw {
    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;
}

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

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

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

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

.nee-actions { display: flex; flex-wrap: wrap; gap: 9px; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    .ah-fnhtn {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 16px;
        padding: 12px 20px;
    }

    .ah-cjrsq { width: auto; justify-content: flex-start; }
    .ah-rjbct { display: none; }
    .ah-jjmrh { display: none; }

    .ah-cqdys img { height: 36px; }

    .ah-jwayr {
        display: flex;
        flex: 1;
        justify-content: center;
        gap: 18px;
        list-style: none;
    }

    .ah-sxcxk { position: relative; display: flex; align-items: center; gap: 7px; }

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

    .ah-sxcxk > a:hover { color: var(--c-accent); }

    .ah-sxcxk > .ah-yqdkp {
        position: static;
        width: 24px;
        height: 24px;
        margin: 0;
        background: none;
        color: var(--c-text);
    }

    .ah-sxcxk > .ah-yqdkp svg { width: 24px; height: 24px; }

    .ah-jwayr .ah-ewqee {
        position: absolute;
        top: 100%;
        left: 50%;
        min-width: 200px;
        margin-top: 8px;
        padding: 2px 10px 7px;
        border: 1px solid color-mix(in srgb, var(--c-text) 10%, transparent);
        border-radius: 16px;
        background: var(--c-surface-alt);
        transform: translateX(-50%);
    }

    .ah-jwayr .ah-ewqee a { white-space: nowrap; }
    .ah-jwayr .ah-ewqee li:first-child a { border-top: 0; }

    .ah-crmtc { width: auto; }
    .ah-crmtc .ah-pqssr { flex: none; min-width: 100px; min-height: 42px; padding: 13px 15px; }

    .ah-cskas { padding: 0 23px; }

    .ah-fjham table { display: table; }

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

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

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

    .ah-paekw { right: 32px; bottom: 32px; }
}
