/* Uniqueified: a8282e7c */
/* Prefix: ypw- */
/* Prefixes-map: wn->ypw */
/* Widget-prefixes: {"cb":"ygn","wb":"kxm","wt":"ndv","ms":"msr","fl":"xjh"} */
/* Classmap: {"wn-age":"ypw-vwkyr","wn-auth":"ypw-fbdcm","wn-brand":"ypw-tkemg","wn-btn":"ypw-ctwwx","wn-btn--accent":"ypw-qqvvy","wn-btn--soft":"ypw-xydwh","wn-burger":"ypw-dynyh","wn-content":"ypw-casgq","wn-copy":"ypw-yhzkz","wn-drawer":"ypw-xjaaq","wn-drawer-auth":"ypw-mxrzs","wn-drawer-close":"ypw-pdgdq","wn-drawer-item":"ypw-ckcpt","wn-drawer-logo":"ypw-gdgnm","wn-drawer-nav":"ypw-qkmyv","wn-drawer-panel":"ypw-sqdtv","wn-drawer-scrim":"ypw-cttge","wn-faq":"ypw-jydbq","wn-faq-item":"ypw-jqpmh","wn-footer":"ypw-jmfke","wn-footer-inner":"ypw-ydens","wn-footer-logo":"ypw-fsjtb","wn-footer-nav":"ypw-xwavg","wn-header":"ypw-ycxzt","wn-header-inner":"ypw-wwrex","wn-logo":"ypw-zmwtn","wn-logo-mark":"ypw-tpaxr","wn-logo-sub":"ypw-mrayz","wn-logo-text":"ypw-ncwhw","wn-main":"ypw-jtwdr","wn-nav":"ypw-kfpcq","wn-nav-item":"ypw-nzdsk","wn-rg":"ypw-vrzfw","wn-submenu":"ypw-ktrpy","wn-submenu-toggle":"ypw-nfmkf","wn-top":"ypw-pkwmz","wn-visually-hidden":"ypw-kxcan"} */

/* Брендовые переменные. Перекраска (deriveBrandVarMap) заполняет РОВНО эти 12 имён из
   style.json/palette.json бренда — переменной нет в :root, значит для неё перекраска молча
   пропускается. Значения ниже = палитра донора (winstlercasinos.uk), она же дефолт шаблона.
   retint:true только у --c-accent и --c-purple: любой литерал в файле, побайтово совпавший с
   их rgb, будет перекрашен по всему файлу (грабли №2), поэтому декоративных литералов этих
   двух цветов здесь нет — всё идёт через var(). */
:root {
    --c-bg: #13161f;
    --c-surface: #242830;
    --c-surface-alt: #333b46;
    --c-border: #3e4354;
    --c-text: #f2f1f7;
    --c-text-muted: #989ba0;
    --c-accent: #4c8dfe;
    --c-accent-hover: #84b1fe;
    --c-on-accent: #020000;
    --c-purple: #4c8dfc;
    --c-purple-hover: #81b1ff;
    --c-on-purple: #000100;

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

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

.ypw-kxcan {
    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(3, 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); } }

.ypw-ctwwx {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 13px 19px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
    transition: background 0.2s ease, transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

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

.ypw-qqvvy { background: var(--c-accent); color: var(--c-on-accent); }
.ypw-qqvvy:hover { background: var(--c-accent-hover); color: var(--c-on-accent); }

.ypw-xydwh { background: var(--c-purple); color: var(--c-on-purple); }
.ypw-xydwh:hover { background: var(--c-purple-hover); color: var(--c-on-purple); }

.ypw-ycxzt {
    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);
}

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

.ypw-tkemg {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
}

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

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

.ypw-zmwtn {
    display: flex;
    align-items: center;
    gap: 9px;
}

.ypw-zmwtn:hover { text-decoration: none; }

.ypw-zmwtn img { height: 44px; width: auto; }

.ypw-tpaxr {
    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;
}

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

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

.ypw-kfpcq { display: none; }

.ypw-fbdcm {
    display: flex;
    gap: 7px;
    width: 100%;
}

.ypw-fbdcm .ypw-ctwwx { flex: 1; }

.ypw-xjaaq {
    position: fixed;
    inset: 0;
    z-index: 52;
    visibility: hidden;
}

.ypw-xjaaq[data-open="true"] { visibility: visible; }

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

.ypw-xjaaq[data-open="true"] .ypw-cttge { opacity: 1; }

.ypw-sqdtv {
    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;
}

.ypw-xjaaq[data-open="true"] .ypw-sqdtv { transform: translateX(0); }

.ypw-pdgdq {
    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);
}

.ypw-gdgnm {
    display: flex;
    justify-content: center;
    padding-top: 13px;
}

.ypw-mxrzs {
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 17px 12px 0;
}

.ypw-qkmyv {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
    list-style: none;
}

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

.ypw-ckcpt {
    position: relative;
    display: flex;
    align-items: center;
}

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

.ypw-ckcpt > a:hover { text-decoration: none; }

.ypw-nfmkf {
    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;
}

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

.ypw-ktrpy {
    display: none;
    padding: 0 9px 9px;
    list-style: none;
}

.ypw-ktrpy[data-open="true"] { display: block; }

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

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

.ypw-jtwdr {
    display: flex;
    flex-direction: column;
    padding: 0 18px;
}

.ypw-casgq {
    width: 100%;
    max-width: 1190px;
    margin: 0 auto;
    padding: 16px 0;
}

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

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

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

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

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

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

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

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

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

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

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

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

.ypw-casgq ul,
.ypw-casgq ol {
    margin: 0 0 15px 22px;
    font-size: 0.96rem;
    line-height: 1.51;
}

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

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

.ypw-casgq .ypw-ctwwx { text-decoration: none; }
.ypw-casgq .ypw-qqvvy, .ypw-casgq .ypw-qqvvy:hover { color: var(--c-on-accent); }
.ypw-casgq .ypw-xydwh, .ypw-casgq .ypw-xydwh:hover { color: var(--c-on-purple); }

.ypw-casgq strong { font-weight: 700; }
.ypw-casgq em { font-style: italic; }

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

.ypw-casgq blockquote {
    margin: 0 0 18px;
    padding: 17px 21px;
    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). */
.ypw-casgq 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;
}

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

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

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

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

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

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

.ypw-casgq .kxm-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);
}

.ypw-casgq .kxm-cta,
.kxm-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 11px 18px;
    border-radius: 15px;
    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;
}

.ypw-casgq .kxm-cta:hover,
.kxm-cta:hover { background: var(--c-accent-hover); color: var(--c-on-accent); text-decoration: none; }

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

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

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

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

.ypw-casgq .ndv-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
    padding: 13px;
    border-radius: 12px;
    background: var(--c-surface);
    list-style: none;
}

.ypw-casgq .ndv-list li { margin: 0; }

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

.ypw-casgq .ndv-list a:hover,
.ndv-list a:hover { color: var(--c-accent); }

.ypw-jydbq { padding-top: 16px; }

.ypw-jqpmh {
    margin-bottom: 15px;
    padding: 14px 19px 25px;
    border-radius: 13px;
    background: var(--c-surface);
}

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

.ypw-jqpmh p:last-child { margin-bottom: 0; }

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

.ypw-ydens {
    max-width: 1240px;
    margin: 0 auto;
    padding: 18px 14px;
    text-align: center;
}

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

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

.ypw-xwavg a:hover { color: var(--c-accent); }

.ypw-fsjtb { display: flex; justify-content: center; margin-bottom: 16px; }
.ypw-fsjtb img { height: 40px; width: auto; }

.ypw-vwkyr {
    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;
}

.ypw-vrzfw {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
    margin-top: 22px;
}

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

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

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

.ypw-pkwmz {
    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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    .ypw-tkemg { width: auto; justify-content: flex-start; }
    .ypw-dynyh { display: none; }
    .ypw-xjaaq { display: none; }

    .ypw-zmwtn img { height: 36px; }

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

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

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

    .ypw-nzdsk > a:hover { color: var(--c-accent); }

    .ypw-nzdsk > .ypw-nfmkf {
        position: static;
        width: 24px;
        height: 24px;
        margin: 0;
        background: none;
        color: var(--c-text);
    }

    .ypw-nzdsk > .ypw-nfmkf svg { width: 24px; height: 24px; }

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

    .ypw-kfpcq .ypw-ktrpy a { white-space: nowrap; }
    .ypw-kfpcq .ypw-ktrpy li:first-child a { border-top: 0; }

    .ypw-fbdcm { width: auto; }
    .ypw-fbdcm .ypw-ctwwx { flex: none; min-width: 100px; min-height: 42px; padding: 10px 12px; }

    .ypw-jtwdr { padding: 0 24px; }

    .ypw-casgq table { display: table; }

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

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

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

    .ypw-pkwmz { right: 32px; bottom: 32px; }
}

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

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