/* Uniqueified: a1adc50e */
/* Prefix: ap- */
/* Prefixes-map: wn->ap */
/* Widget-prefixes: {"cb":"xys","wb":"kea","wt":"mnb","ms":"qby"} */
/* Classmap: {"wn-age":"ap-hafpk","wn-auth":"ap-pphxj","wn-brand":"ap-rsebb","wn-btn":"ap-rqmva","wn-btn--accent":"ap-xsavg","wn-btn--soft":"ap-xvety","wn-burger":"ap-vmtxx","wn-content":"ap-qszpa","wn-copy":"ap-yvjka","wn-drawer":"ap-fxpxf","wn-drawer-auth":"ap-pxjeh","wn-drawer-close":"ap-ebmea","wn-drawer-item":"ap-gksbw","wn-drawer-logo":"ap-gctxb","wn-drawer-nav":"ap-wxsqa","wn-drawer-panel":"ap-wbcwx","wn-drawer-scrim":"ap-pwhea","wn-faq":"ap-tmsex","wn-faq-item":"ap-nqgsm","wn-footer":"ap-qfmvf","wn-footer-inner":"ap-ddspa","wn-footer-logo":"ap-jphqy","wn-footer-nav":"ap-fybjk","wn-header":"ap-fhsdd","wn-header-inner":"ap-dskhn","wn-logo":"ap-hbahw","wn-logo-mark":"ap-tdcbj","wn-logo-sub":"ap-kvaqz","wn-logo-text":"ap-axhef","wn-main":"ap-nazzn","wn-nav":"ap-aajje","wn-nav-item":"ap-rsczj","wn-rg":"ap-ejgtg","wn-submenu":"ap-cmavp","wn-submenu-toggle":"ap-dteqs","wn-top":"ap-yxwzr","wn-visually-hidden":"ap-ahftd"} */

/* Брендовые переменные. Перекраска (deriveBrandVarMap) заполняет РОВНО эти 12 имён из
   style.json/palette.json бренда — переменной нет в :root, значит для неё перекраска молча
   пропускается. Значения ниже = палитра донора (winstlercasinos.uk), она же дефолт шаблона.
   retint:true только у --c-accent и --c-purple: любой литерал в файле, побайтово совпавший с
   их rgb, будет перекрашен по всему файлу (грабли №2), поэтому декоративных литералов этих
   двух цветов здесь нет — всё идёт через var(). */
:root {
    --c-bg: #000003;
    --c-surface: #120f12;
    --c-surface-alt: #212424;
    --c-border: #313133;
    --c-text: #f2f7f7;
    --c-text-muted: #918f94;
    --c-accent: #4c8eff;
    --c-accent-hover: #84b1fe;
    --c-on-accent: #000001;
    --c-purple: #4b8dff;
    --c-purple-hover: #82b1ff;
    --c-on-purple: #000100;

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

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

.ap-ahftd {
    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); } }

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

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

.ap-xsavg { background: var(--c-accent); color: var(--c-on-accent); }
.ap-xsavg:hover { background: var(--c-accent-hover); color: var(--c-on-accent); }

.ap-xvety { background: var(--c-purple); color: var(--c-on-purple); }
.ap-xvety:hover { background: var(--c-purple-hover); color: var(--c-on-purple); }

.ap-fhsdd {
    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);
}

.ap-dskhn {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 14px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 8px 15px;
}

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

.ap-vmtxx {
    position: absolute;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 45px;
    height: 45px;
    padding: 10px 6px;
}

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

.ap-hbahw {
    display: flex;
    align-items: center;
    gap: 11px;
}

.ap-hbahw:hover { text-decoration: none; }

.ap-hbahw img { height: 44px; width: auto; }

.ap-tdcbj {
    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;
}

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

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

.ap-aajje { display: none; }

.ap-pphxj {
    display: flex;
    gap: 9px;
    width: 100%;
}

.ap-pphxj .ap-rqmva { flex: 1; }

.ap-fxpxf {
    position: fixed;
    inset: 0;
    z-index: 52;
    visibility: hidden;
}

.ap-fxpxf[data-open="true"] { visibility: visible; }

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

.ap-fxpxf[data-open="true"] .ap-pwhea { opacity: 1; }

.ap-wbcwx {
    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;
}

.ap-fxpxf[data-open="true"] .ap-wbcwx { transform: translateX(0); }

.ap-ebmea {
    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);
}

.ap-gctxb {
    display: flex;
    justify-content: center;
    padding-top: 16px;
}

.ap-pxjeh {
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 18px 9px 0;
}

.ap-wxsqa {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 17px;
    list-style: none;
}

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

.ap-gksbw {
    position: relative;
    display: flex;
    align-items: center;
}

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

.ap-gksbw > a:hover { text-decoration: none; }

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

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

.ap-cmavp {
    display: none;
    padding: 0 8px 8px;
    list-style: none;
}

.ap-cmavp[data-open="true"] { display: block; }

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

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

.ap-nazzn {
    display: flex;
    flex-direction: column;
    padding: 0 22px;
}

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

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

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

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

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

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

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

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

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

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

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

.ap-qszpa h2:not(:first-child),
.ap-qszpa h3:not(:first-child) { margin-top: 25px; }

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

.ap-qszpa ul,
.ap-qszpa ol {
    margin: 0 0 17px 22px;
    font-size: 0.96rem;
    line-height: 1.51;
}

.ap-qszpa li { margin-bottom: 7px; }
.ap-qszpa li::marker { color: var(--c-accent); }

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

.ap-qszpa .ap-rqmva { text-decoration: none; }
.ap-qszpa .ap-xsavg, .ap-qszpa .ap-xsavg:hover { color: var(--c-on-accent); }
.ap-qszpa .ap-xvety, .ap-qszpa .ap-xvety:hover { color: var(--c-on-purple); }

.ap-qszpa strong { font-weight: 700; }
.ap-qszpa em { font-style: italic; }

.ap-qszpa img { max-width: 100%; height: auto; border-radius: 15px; }

.ap-qszpa blockquote {
    margin: 0 0 17px;
    padding: 15px 21px;
    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). */
.ap-qszpa 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;
}

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

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

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

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

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

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

.ap-qszpa .kea-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);
}

.ap-qszpa .kea-cta,
.kea-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;
}

.ap-qszpa .kea-cta:hover,
.kea-cta:hover { background: var(--c-accent-hover); color: var(--c-on-accent); text-decoration: none; }

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

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

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

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

.ap-qszpa .mnb-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    padding: 13px;
    border-radius: 16px;
    background: var(--c-surface);
    list-style: none;
}

.ap-qszpa .mnb-list li { margin: 0; }

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

.ap-qszpa .mnb-list a:hover,
.mnb-list a:hover { color: var(--c-accent); }

.ap-tmsex { padding-top: 13px; }

.ap-nqgsm {
    margin-bottom: 15px;
    padding: 15px 22px 27px;
    border-radius: 13px;
    background: var(--c-surface);
}

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

.ap-nqgsm p:last-child { margin-bottom: 0; }

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

.ap-ddspa {
    max-width: 1240px;
    margin: 0 auto;
    padding: 19px 13px;
    text-align: center;
}

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

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

.ap-fybjk a:hover { color: var(--c-accent); }

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

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

.ap-ejgtg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 21px;
}

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

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

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

.ap-yxwzr {
    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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    .ap-dskhn {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 17px;
        padding: 12px 24px;
    }

    .ap-rsebb { width: auto; justify-content: flex-start; }
    .ap-vmtxx { display: none; }
    .ap-fxpxf { display: none; }

    .ap-hbahw img { height: 36px; }

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

    .ap-rsczj { position: relative; display: flex; align-items: center; gap: 4px; }

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

    .ap-rsczj > a:hover { color: var(--c-accent); }

    .ap-rsczj > .ap-dteqs {
        position: static;
        width: 24px;
        height: 24px;
        margin: 0;
        background: none;
        color: var(--c-text);
    }

    .ap-rsczj > .ap-dteqs svg { width: 24px; height: 24px; }

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

    .ap-aajje .ap-cmavp a { white-space: nowrap; }
    .ap-aajje .ap-cmavp li:first-child a { border-top: 0; }

    .ap-pphxj { width: auto; }
    .ap-pphxj .ap-rqmva { flex: none; min-width: 100px; min-height: 42px; padding: 10px 11px; }

    .ap-nazzn { padding: 0 26px; }

    .ap-qszpa table { display: table; }

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

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

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

    .ap-yxwzr { right: 32px; bottom: 32px; }
}

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