/* Uniqueified: c3ec2c5c */
/* Prefix: gb- */
/* Prefixes-map: wn->gb */
/* Widget-prefixes: {"cb":"tjg","wb":"mkk","wt":"kvh","ms":"qyk"} */
/* Classmap: {"wn-age":"gb-qgswb","wn-auth":"gb-theqp","wn-brand":"gb-pbwzj","wn-btn":"gb-fhrhy","wn-btn--accent":"gb-ynrrj","wn-btn--soft":"gb-rmvsk","wn-burger":"gb-zcgxe","wn-content":"gb-jywws","wn-copy":"gb-ekpda","wn-drawer":"gb-nrhmc","wn-drawer-auth":"gb-ghntm","wn-drawer-close":"gb-fbmmr","wn-drawer-item":"gb-ryrqy","wn-drawer-logo":"gb-mdnkt","wn-drawer-nav":"gb-rbasy","wn-drawer-panel":"gb-ctrnv","wn-drawer-scrim":"gb-fqvre","wn-faq":"gb-dfgzx","wn-faq-item":"gb-ebvzv","wn-footer":"gb-cetda","wn-footer-inner":"gb-exqds","wn-footer-logo":"gb-bamnz","wn-footer-nav":"gb-pctjn","wn-header":"gb-cmjtp","wn-header-inner":"gb-cwzgw","wn-logo":"gb-zqzyt","wn-logo-mark":"gb-ynxbd","wn-logo-sub":"gb-fxtet","wn-logo-text":"gb-snzpz","wn-main":"gb-qkvtp","wn-nav":"gb-zhpdm","wn-nav-item":"gb-evdgy","wn-rg":"gb-mtrwb","wn-submenu":"gb-qhpwk","wn-submenu-toggle":"gb-mnpwr","wn-top":"gb-sprvd","wn-visually-hidden":"gb-pxfkx"} */

/* Брендовые переменные. Перекраска (deriveBrandVarMap) заполняет РОВНО эти 12 имён из
   style.json/palette.json бренда — переменной нет в :root, значит для неё перекраска молча
   пропускается. Значения ниже = палитра донора (winstlercasinos.uk), она же дефолт шаблона.
   retint:true только у --c-accent и --c-purple: любой литерал в файле, побайтово совпавший с
   их rgb, будет перекрашен по всему файлу (грабли №2), поэтому декоративных литералов этих
   двух цветов здесь нет — всё идёт через var(). */
:root {
    --c-bg: #140b10;
    --c-surface: #262222;
    --c-surface-alt: #373033;
    --c-border: #443c40;
    --c-text: #f2f3f7;
    --c-text-muted: #99989c;
    --c-accent: #4c8bff;
    --c-accent-hover: #87b1ff;
    --c-on-accent: #020000;
    --c-purple: #498dff;
    --c-purple-hover: #84b1fd;
    --c-on-purple: #000001;

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

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

.gb-pxfkx {
    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); } }

.gb-fhrhy {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 10px 18px;
    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;
}

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

.gb-ynrrj { background: var(--c-accent); color: var(--c-on-accent); }
.gb-ynrrj:hover { background: var(--c-accent-hover); color: var(--c-on-accent); }

.gb-rmvsk { background: var(--c-purple); color: var(--c-on-purple); }
.gb-rmvsk:hover { background: var(--c-purple-hover); color: var(--c-on-purple); }

.gb-cmjtp {
    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);
}

.gb-cwzgw {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 16px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 11px 15px;
}

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

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

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

.gb-zqzyt {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gb-zqzyt:hover { text-decoration: none; }

.gb-zqzyt img { height: 44px; width: auto; }

.gb-ynxbd {
    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;
}

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

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

.gb-zhpdm { display: none; }

.gb-theqp {
    display: flex;
    gap: 10px;
    width: 100%;
}

.gb-theqp .gb-fhrhy { flex: 1; }

.gb-nrhmc {
    position: fixed;
    inset: 0;
    z-index: 52;
    visibility: hidden;
}

.gb-nrhmc[data-open="true"] { visibility: visible; }

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

.gb-nrhmc[data-open="true"] .gb-fqvre { opacity: 1; }

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

.gb-nrhmc[data-open="true"] .gb-ctrnv { transform: translateX(0); }

.gb-fbmmr {
    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);
}

.gb-mdnkt {
    display: flex;
    justify-content: center;
    padding-top: 17px;
}

.gb-ghntm {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 15px 12px 0;
}

.gb-rbasy {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
    list-style: none;
}

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

.gb-ryrqy {
    position: relative;
    display: flex;
    align-items: center;
}

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

.gb-ryrqy > a:hover { text-decoration: none; }

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

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

.gb-qhpwk {
    display: none;
    padding: 0 12px 9px;
    list-style: none;
}

.gb-qhpwk[data-open="true"] { display: block; }

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

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

.gb-qkvtp {
    display: flex;
    flex-direction: column;
    padding: 0 18px;
}

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

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

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

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

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

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

.gb-jywws h3 {
    margin-bottom: 11px;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
}

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

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

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

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

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

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

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

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

.gb-jywws .gb-fhrhy { text-decoration: none; }
.gb-jywws .gb-ynrrj, .gb-jywws .gb-ynrrj:hover { color: var(--c-on-accent); }
.gb-jywws .gb-rmvsk, .gb-jywws .gb-rmvsk:hover { color: var(--c-on-purple); }

.gb-jywws strong { font-weight: 700; }
.gb-jywws em { font-style: italic; }

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

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

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

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

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

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

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

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

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

.gb-jywws .mkk-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);
}

.gb-jywws .mkk-cta,
.mkk-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 13px 18px;
    border-radius: 13px;
    background: var(--c-accent);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    color: var(--c-on-accent);
    transition: background 0.2s ease;
}

.gb-jywws .mkk-cta:hover,
.mkk-cta:hover { background: var(--c-accent-hover); color: var(--c-on-accent); text-decoration: none; }

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

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

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

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

.gb-jywws .kvh-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    padding: 14px;
    border-radius: 16px;
    background: var(--c-surface);
    list-style: none;
}

.gb-jywws .kvh-list li { margin: 0; }

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

.gb-jywws .kvh-list a:hover,
.kvh-list a:hover { color: var(--c-accent); }

.gb-dfgzx { padding-top: 13px; }

.gb-ebvzv {
    margin-bottom: 15px;
    padding: 14px 21px 27px;
    border-radius: 16px;
    background: var(--c-surface);
}

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

.gb-ebvzv p:last-child { margin-bottom: 0; }

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

.gb-exqds {
    max-width: 1240px;
    margin: 0 auto;
    padding: 22px 16px;
    text-align: center;
}

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

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

.gb-pctjn a:hover { color: var(--c-accent); }

.gb-bamnz { display: flex; justify-content: center; margin-bottom: 20px; }
.gb-bamnz img { height: 40px; width: auto; }

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

.gb-mtrwb {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 19px;
}

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

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

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

.gb-sprvd {
    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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    .gb-cwzgw {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 16px;
        padding: 11px 20px;
    }

    .gb-pbwzj { width: auto; justify-content: flex-start; }
    .gb-zcgxe { display: none; }
    .gb-nrhmc { display: none; }

    .gb-zqzyt img { height: 36px; }

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

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

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

    .gb-evdgy > a:hover { color: var(--c-accent); }

    .gb-evdgy > .gb-mnpwr {
        position: static;
        width: 24px;
        height: 24px;
        margin: 0;
        background: none;
        color: var(--c-text);
    }

    .gb-evdgy > .gb-mnpwr svg { width: 24px; height: 24px; }

    .gb-zhpdm .gb-qhpwk {
        position: absolute;
        top: 100%;
        left: 50%;
        min-width: 200px;
        margin-top: 9px;
        padding: 3px 14px 7px;
        border: 1px solid color-mix(in srgb, var(--c-text) 10%, transparent);
        border-radius: 16px;
        background: var(--c-surface-alt);
        transform: translateX(-50%);
    }

    .gb-zhpdm .gb-qhpwk a { white-space: nowrap; }
    .gb-zhpdm .gb-qhpwk li:first-child a { border-top: 0; }

    .gb-theqp { width: auto; }
    .gb-theqp .gb-fhrhy { flex: none; min-width: 100px; min-height: 42px; padding: 13px 14px; }

    .gb-qkvtp { padding: 0 24px; }

    .gb-jywws table { display: table; }

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

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

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

    .gb-sprvd { right: 32px; bottom: 32px; }
}

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