/* Uniqueified: c72da300 */
/* Prefix: qt- */
/* Prefixes-map: wn->qt */
/* Widget-prefixes: {"cb":"kfg","wb":"dkw","wt":"fcy"} */
/* Classmap: {"wn-age":"qt-meanh","wn-auth":"qt-wmrwc","wn-brand":"qt-bqgzv","wn-btn":"qt-jqvcr","wn-btn--accent":"qt-bawne","wn-btn--soft":"qt-pqzds","wn-burger":"qt-wavnd","wn-content":"qt-xdpms","wn-copy":"qt-bdhrh","wn-drawer":"qt-vdvtx","wn-drawer-auth":"qt-jcqtx","wn-drawer-close":"qt-xazhz","wn-drawer-item":"qt-kfkzp","wn-drawer-logo":"qt-jaqty","wn-drawer-nav":"qt-qrxka","wn-drawer-panel":"qt-kesrj","wn-drawer-scrim":"qt-wzwct","wn-faq":"qt-yapfe","wn-faq-item":"qt-twzjx","wn-footer":"qt-jsybm","wn-footer-inner":"qt-styzf","wn-footer-logo":"qt-xdxgs","wn-footer-nav":"qt-rhnvh","wn-header":"qt-zzpgw","wn-header-inner":"qt-rtgma","wn-logo":"qt-vpesw","wn-logo-mark":"qt-dsnzg","wn-logo-sub":"qt-tfcnb","wn-logo-text":"qt-grhnz","wn-main":"qt-zaqrb","wn-nav":"qt-cpcbp","wn-nav-item":"qt-nmwvw","wn-rg":"qt-xhvyq","wn-submenu":"qt-tbrrs","wn-submenu-toggle":"qt-vhqhh","wn-top":"qt-gfpsa","wn-visually-hidden":"qt-xfrtv"} */

/* Брендовые переменные. Перекраска (deriveBrandVarMap) заполняет РОВНО эти 12 имён из
   style.json/palette.json бренда — переменной нет в :root, значит для неё перекраска молча
   пропускается. Значения ниже = палитра донора (winstlercasinos.uk), она же дефолт шаблона.
   retint:true только у --c-accent и --c-purple: любой литерал в файле, побайтово совпавший с
   их rgb, будет перекрашен по всему файлу (грабли №2), поэтому декоративных литералов этих
   двух цветов здесь нет — всё идёт через var(). */
:root {
    --c-bg: #101011;
    --c-surface: #40201e;
    --c-surface-alt: #582c2b;
    --c-border: #693431;
    --c-text: #d09e80;
    --c-text-muted: #836953;
    --c-accent: #40afd0;
    --c-accent-hover: #6dc3dc;
    --c-on-accent: #10100f;
    --c-purple: #40b0ce;
    --c-purple-hover: #6dc3dc;
    --c-on-purple: #10100e;

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

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

.qt-xfrtv {
    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, 2, 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); } }

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

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

.qt-bawne { background: var(--c-accent); color: var(--c-on-accent); }
.qt-bawne:hover { background: var(--c-accent-hover); color: var(--c-on-accent); }

.qt-pqzds { background: var(--c-purple); color: var(--c-on-purple); }
.qt-pqzds:hover { background: var(--c-purple-hover); color: var(--c-on-purple); }

.qt-zzpgw {
    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);
}

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

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

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

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

.qt-vpesw {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qt-vpesw:hover { text-decoration: none; }

.qt-vpesw img { height: 44px; width: auto; }

.qt-dsnzg {
    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;
}

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

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

.qt-cpcbp { display: none; }

.qt-wmrwc {
    display: flex;
    gap: 6px;
    width: 100%;
}

.qt-wmrwc .qt-jqvcr { flex: 1; }

.qt-vdvtx {
    position: fixed;
    inset: 0;
    z-index: 52;
    visibility: hidden;
}

.qt-vdvtx[data-open="true"] { visibility: visible; }

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

.qt-vdvtx[data-open="true"] .qt-wzwct { opacity: 1; }

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

.qt-vdvtx[data-open="true"] .qt-kesrj { transform: translateX(0); }

.qt-xazhz {
    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);
}

.qt-jaqty {
    display: flex;
    justify-content: center;
    padding-top: 17px;
}

.qt-jcqtx {
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 15px 12px 0;
}

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

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

.qt-kfkzp {
    position: relative;
    display: flex;
    align-items: center;
}

.qt-kfkzp > a {
    flex: 1;
    min-height: 45px;
    padding: 13px 45px 10px 17px;
    font-size: 16px;
    font-weight: 500;
    color: var(--c-text);
}

.qt-kfkzp > a:hover { text-decoration: none; }

.qt-vhqhh {
    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;
}

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

.qt-tbrrs {
    display: none;
    padding: 0 8px 11px;
    list-style: none;
}

.qt-tbrrs[data-open="true"] { display: block; }

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

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

.qt-zaqrb {
    display: flex;
    flex-direction: column;
    padding: 0 18px;
}

.qt-xdpms {
    width: 100%;
    max-width: 1190px;
    margin: 0 auto;
    padding: 17px 0;
}

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

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

/* Крошки печатает ОБЩИЙ сниппет breadcrumbsHtml с ЛИТЕРАЛЬНЫМ классом `breadcrumbs`
   (без префикса) — клонирование его не трогает, правила обязан нести шаблон. */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    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: 7px; }
.breadcrumbs li a { color: var(--c-text-muted); text-decoration: none; }
.breadcrumbs li a:hover { color: var(--c-accent); }
.breadcrumbs li:last-child span { color: var(--c-text); }
.breadcrumbs li + li::before { content: "/"; color: var(--c-text-muted); }

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

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

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

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

.qt-xdpms h4 {
    margin-bottom: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

.qt-xdpms h5 {
    margin-bottom: 9px;
    font-size: 1.06rem;
    font-weight: 600;
    line-height: 1.4;
}

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

.qt-xdpms h2:not(:first-child),
.qt-xdpms h3:not(:first-child) { margin-top: 27px; }

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

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

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

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

.qt-xdpms .qt-jqvcr { text-decoration: none; }
.qt-xdpms .qt-bawne, .qt-xdpms .qt-bawne:hover { color: var(--c-on-accent); }
.qt-xdpms .qt-pqzds, .qt-xdpms .qt-pqzds:hover { color: var(--c-on-purple); }

.qt-xdpms strong { font-weight: 700; }
.qt-xdpms em { font-style: italic; }

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

.qt-xdpms blockquote {
    margin: 0 0 15px;
    padding: 17px 22px;
    border-left: 3px solid var(--c-accent);
    border-radius: 0 15px 12px 0;
    background: var(--c-surface);
    font-size: 0.96rem;
    font-style: italic;
    line-height: 1.51;
}

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

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

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

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

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

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

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

.qt-xdpms .dkw-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);
}

.qt-xdpms .dkw-cta,
.dkw-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 13px 21px;
    border-radius: 12px;
    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;
}

.qt-xdpms .dkw-cta:hover,
.dkw-cta:hover { background: var(--c-accent-hover); color: var(--c-on-accent); text-decoration: none; }

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

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

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

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

.qt-xdpms .fcy-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
    padding: 13px;
    border-radius: 16px;
    background: var(--c-surface);
    list-style: none;
}

.qt-xdpms .fcy-list li { margin: 0; }

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

.qt-xdpms .fcy-list a:hover,
.fcy-list a:hover { color: var(--c-accent); }

.qt-yapfe { padding-top: 14px; }

.qt-twzjx {
    margin-bottom: 15px;
    padding: 15px 18px 25px;
    border-radius: 15px;
    background: var(--c-surface);
}

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

.qt-twzjx p:last-child { margin-bottom: 0; }

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

.qt-styzf {
    max-width: 1240px;
    margin: 0 auto;
    padding: 22px 14px;
    text-align: center;
}

.qt-rhnvh {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    list-style: none;
}

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

.qt-rhnvh a:hover { color: var(--c-accent); }

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

.qt-meanh {
    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;
}

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

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

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

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

.qt-gfpsa {
    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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    .qt-rtgma {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 13px;
        padding: 8px 23px;
    }

    .qt-bqgzv { width: auto; justify-content: flex-start; }
    .qt-wavnd { display: none; }
    .qt-vdvtx { display: none; }

    .qt-vpesw img { height: 36px; }

    .qt-cpcbp {
        display: flex;
        flex: 1;
        justify-content: center;
        gap: 22px;
        list-style: none;
    }

    .qt-nmwvw { position: relative; display: flex; align-items: center; gap: 3px; }

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

    .qt-nmwvw > a:hover { color: var(--c-accent); }

    .qt-nmwvw > .qt-vhqhh {
        position: static;
        width: 24px;
        height: 24px;
        margin: 0;
        background: none;
        color: var(--c-text);
    }

    .qt-nmwvw > .qt-vhqhh svg { width: 24px; height: 24px; }

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

    .qt-cpcbp .qt-tbrrs a { white-space: nowrap; }
    .qt-cpcbp .qt-tbrrs li:first-child a { border-top: 0; }

    .qt-wmrwc { width: auto; }
    .qt-wmrwc .qt-jqvcr { flex: none; min-width: 100px; min-height: 42px; padding: 14px 14px; }

    .qt-zaqrb { padding: 0 27px; }

    .qt-xdpms table { display: table; }

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

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

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

    .qt-gfpsa { right: 32px; bottom: 32px; }
}
