/* Uniqueified: 49660a48 */
/* Prefix: nyns- */
/* Prefixes-map: wn->nyns */
/* Widget-prefixes: {"cb":"tafa","wb":"npsg","wt":"qhyk","ms":"pknc","fl":"ysxk","lm":"xbcp","rv":"gvrr"} */
/* Classmap: {"wn-age":"nyns-fpbjt","wn-auth":"nyns-wknah","wn-brand":"nyns-gnhbr","wn-btn":"nyns-kwssv","wn-btn--accent":"nyns-jvfcw","wn-btn--soft":"nyns-qtqwy","wn-burger":"nyns-tpegb","wn-content":"nyns-whjkr","wn-copy":"nyns-dmgyb","wn-drawer":"nyns-rrdrf","wn-drawer-auth":"nyns-zxrem","wn-drawer-close":"nyns-fmzzq","wn-drawer-item":"nyns-parhe","wn-drawer-logo":"nyns-fczza","wn-drawer-nav":"nyns-nfghb","wn-drawer-panel":"nyns-qavsy","wn-drawer-scrim":"nyns-zqxjw","wn-faq":"nyns-tmzdh","wn-faq-item":"nyns-njpdx","wn-footer":"nyns-fbxbd","wn-footer-inner":"nyns-mjpjy","wn-footer-logo":"nyns-nfbza","wn-footer-nav":"nyns-sptsj","wn-header":"nyns-zghhp","wn-header-inner":"nyns-sgeac","wn-logo":"nyns-qtkfv","wn-logo-mark":"nyns-nrvmb","wn-logo-sub":"nyns-ecmdj","wn-logo-text":"nyns-fpfba","wn-main":"nyns-sartb","wn-nav":"nyns-cfxjn","wn-nav-item":"nyns-mhwbg","wn-rg":"nyns-yknae","wn-submenu":"nyns-gdsvx","wn-submenu-toggle":"nyns-erepm","wn-top":"nyns-cxwxm","wn-visually-hidden":"nyns-bpqfz"} */

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

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

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

.nyns-bpqfz {
    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, 0, 1, .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); } }

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

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

.nyns-jvfcw { background: var(--c-accent); color: var(--c-on-accent); }
.nyns-jvfcw:hover { background: var(--c-accent-hover); color: var(--c-on-accent); }

.nyns-qtqwy { background: var(--c-purple); color: var(--c-on-purple); }
.nyns-qtqwy:hover { background: var(--c-purple-hover); color: var(--c-on-purple); }

.nyns-zghhp {
    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);
}

.nyns-sgeac {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 17px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 9px 17px;
}

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

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

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

.nyns-qtkfv {
    display: flex;
    align-items: center;
    gap: 11px;
}

.nyns-qtkfv:hover { text-decoration: none; }

.nyns-qtkfv img { height: 44px; width: auto; }

.nyns-nrvmb {
    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;
}

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

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

.nyns-cfxjn { display: none; }

.nyns-wknah {
    display: flex;
    gap: 6px;
    width: 100%;
}

.nyns-wknah .nyns-kwssv { flex: 1; }

.nyns-rrdrf {
    position: fixed;
    inset: 0;
    z-index: 52;
    visibility: hidden;
}

.nyns-rrdrf[data-open="true"] { visibility: visible; }

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

.nyns-rrdrf[data-open="true"] .nyns-zqxjw { opacity: 1; }

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

.nyns-rrdrf[data-open="true"] .nyns-qavsy { transform: translateX(0); }

.nyns-fmzzq {
    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);
}

.nyns-fczza {
    display: flex;
    justify-content: center;
    padding-top: 14px;
}

.nyns-zxrem {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px 8px 0;
}

.nyns-nfghb {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 14px;
    list-style: none;
}

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

.nyns-parhe {
    position: relative;
    display: flex;
    align-items: center;
}

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

.nyns-parhe > a:hover { text-decoration: none; }

.nyns-erepm {
    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;
}

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

.nyns-gdsvx {
    display: none;
    padding: 0 12px 11px;
    list-style: none;
}

.nyns-gdsvx[data-open="true"] { display: block; }

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

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

.nyns-sartb {
    display: flex;
    flex-direction: column;
    padding: 0 18px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.nyns-whjkr .nyns-kwssv { text-decoration: none; }
.nyns-whjkr .nyns-jvfcw, .nyns-whjkr .nyns-jvfcw:hover { color: var(--c-on-accent); }
.nyns-whjkr .nyns-qtqwy, .nyns-whjkr .nyns-qtqwy:hover { color: var(--c-on-purple); }

.nyns-whjkr strong { font-weight: 700; }
.nyns-whjkr em { font-style: italic; }

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

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

/* Таблицы приезжают из [[*content]] БЕЗ обёртки, поэтому скролл-контейнером на мобиле
   становится сама таблица. min-width здесь ставить нельзя — он даёт горизонтальный скролл
   всей страницы (грабли №7). */
.nyns-whjkr table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 17px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
    font-size: 0.96rem;
}

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

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

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

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

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

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

.nyns-whjkr .npsg-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);
}

.nyns-whjkr .npsg-cta,
.npsg-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 14px 22px;
    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;
}

.nyns-whjkr .npsg-cta:hover,
.npsg-cta:hover { background: var(--c-accent-hover); color: var(--c-on-accent); text-decoration: none; }

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

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

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

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

.nyns-whjkr .qhyk-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 10px;
    border-radius: 13px;
    background: var(--c-surface);
    list-style: none;
}

.nyns-whjkr .qhyk-list li { margin: 0; }

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

.nyns-whjkr .qhyk-list a:hover,
.qhyk-list a:hover { color: var(--c-accent); }

.nyns-tmzdh { padding-top: 16px; }

.nyns-njpdx {
    margin-bottom: 17px;
    padding: 15px 21px 28px;
    border-radius: 16px;
    background: var(--c-surface);
}

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

.nyns-njpdx p:last-child { margin-bottom: 0; }

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

.nyns-mjpjy {
    max-width: 1240px;
    margin: 0 auto;
    padding: 18px 13px;
    text-align: center;
}

.nyns-sptsj {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    list-style: none;
}

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

.nyns-sptsj a:hover { color: var(--c-accent); }

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

.nyns-fpbjt {
    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;
}

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

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

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

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

.nyns-cxwxm {
    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;
}

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

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

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

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

.tafa-actions { display: flex; flex-wrap: wrap; gap: 6px; }

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

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

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

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

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

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

.tafa-categories { display: flex; flex-direction: column; gap: 13px; margin-bottom: 19px; }

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

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

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

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

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

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

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

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

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

    .nyns-sgeac {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 17px;
        padding: 9px 24px;
    }

    .nyns-gnhbr { width: auto; justify-content: flex-start; }
    .nyns-tpegb { display: none; }
    .nyns-rrdrf { display: none; }

    .nyns-qtkfv img { height: 36px; }

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

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

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

    .nyns-mhwbg > a:hover { color: var(--c-accent); }

    .nyns-mhwbg > .nyns-erepm {
        position: static;
        width: 24px;
        height: 24px;
        margin: 0;
        background: none;
        color: var(--c-text);
    }

    .nyns-mhwbg > .nyns-erepm svg { width: 24px; height: 24px; }

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

    .nyns-cfxjn .nyns-gdsvx a { white-space: nowrap; }
    .nyns-cfxjn .nyns-gdsvx li:first-child a { border-top: 0; }

    .nyns-wknah { width: auto; }
    .nyns-wknah .nyns-kwssv { flex: none; min-width: 100px; min-height: 42px; padding: 14px 12px; }

    .nyns-sartb { padding: 0 26px; }

    .nyns-whjkr table { display: table; }

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

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

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

    .nyns-cxwxm { right: 32px; bottom: 32px; }
}

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

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

/* LastModified #302 [Base] 3 — плашка на фоне, дата крупнее подписи и стоит ПЕРВОЙ.
   Дописывать В КОНЕЦ assets/css/wn.min.css.
   Структура третья: div > time + span, порядок «дата → подпись» обратный остальным двум. */
.xbcp-plate{display:inline-block;margin:14px 0 21px;padding:11px 18px;border-left:3px solid #3d7dfe;border-radius:7px;background:#161d2a}
.xbcp-big{display:block;font-size:19px;font-weight:700;line-height:1.2;color:#eef5f9}
.xbcp-cap{display:block;margin-top:5px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#7b879b}
/* ── Comments block (rv) — [Base] 3 #302 ────────────────────────────────────
   Раскладка: двухколоночная плитка, оценка крупной цифрой, имя в подписи.
   ⛔ Значения ЛИТЕРАЛАМИ (#hex и px), не var()/rem — иначе джиттер их не двигает.
   Палитра из темы: surface #35343b, border #34333c, accent #f5e93c,
   muted #b9b6bb, радиус 14px — доминирующий у этой темы (13 из 26 правил). */
.gvrr-wrap{margin:34px 0}
.gvrr-cap{font-size:26px;line-height:1.3;margin:0 0 19px;color:#fffbfe}
.gvrr-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;list-style:none;margin:0;padding:0}
.gvrr-tile{background:#34313b;border:1px solid #33363c;border-radius:13px;padding:16px 19px 16px}
.gvrr-score{display:block;color:#f5ec3a;font-size:34px;line-height:1;font-weight:700;margin-bottom:12px}
.gvrr-say{color:#fffafe;font-size:14px;line-height:1.6;margin:0 0 10px}
.gvrr-sig{color:#b9b7bc;font-size:12px;border-top:1px solid #36333c;padding-top:11px}
@media (max-width:700px){.gvrr-grid{grid-template-columns:1fr}}
