/* Uniqueified: 2f7cf628 */
/* Prefix: rw- */
/* Prefixes-map: wz->rw */
/* Widget-prefixes: {"cb":"xsd","wg":"bve","wb":"cdh","ms":"wnp","fl":"tve"} */
/* Classmap: {"wz-back-to-top":"rw-nnkdf","wz-btn":"rw-qccqf","wz-btn-cta":"rw-cdzzj","wz-btn-ghost":"rw-yzhfy","wz-btn-secondary":"rw-jcybp","wz-content":"rw-hrgry","wz-el-back-to-top":"rw-nyjwh","wz-el-hamburger":"rw-fscpr","wz-el-header":"rw-tcbrb","wz-el-overlay":"rw-rfvtd","wz-el-sidebar":"rw-gwacw","wz-el-sidebar-close":"rw-hwggh","wz-faq-icon":"rw-pxrgf","wz-faq-item":"rw-ghnby","wz-footer":"rw-rfvtw","wz-footer-badges":"rw-eqqep","wz-footer-bottom":"rw-dbjhx","wz-footer-chevron":"rw-njyed","wz-footer-col":"rw-jgnvv","wz-footer-copy":"rw-sjjet","wz-footer-divider":"rw-rdwdn","wz-footer-inner":"rw-cdwka","wz-footer-nav":"rw-mtpjh","wz-footer-social":"rw-mfsdc","wz-hamburger":"rw-mdgdv","wz-header":"rw-cnxhn","wz-header--scrolled":"rw-zbbzm","wz-header-actions":"rw-gsyzt","wz-header-inner":"rw-nccdb","wz-hero":"rw-whabs","wz-hero-body":"rw-byzdn","wz-hero-subtitle":"rw-dybha","wz-hero-title":"rw-rsfym","wz-layout":"rw-emevz","wz-logo":"rw-ryxpp","wz-logo-mark":"rw-mrhnp","wz-logo-text":"rw-nsfmk","wz-main":"rw-vxxhb","wz-nav-chevron":"rw-brjgv","wz-nav-icon":"rw-mwyez","wz-nav-label":"rw-mmdyp","wz-nav-link":"rw-zfmhn","wz-nav-list":"rw-kgjvy","wz-promo-card":"rw-ztfcq","wz-promo-grid":"rw-fffbx","wz-sidebar":"rw-rtvvy","wz-sidebar--open":"rw-ekcyt","wz-sidebar-close":"rw-mhhtp","wz-sidebar-overlay":"rw-thzwq","wz-sidebar-overlay--visible":"rw-ewdpz"} */
:root{
  --c-bg:#190e28; --c-surface:#2b1f3a; --c-surface-alt:#3c2e51; --c-border:#483861;
  --c-text:#f1f4f7; --c-text-muted:#9b99a3;
  --c-accent:#f0408f; --c-accent-hover:#f474ab; --c-on-accent:#000001;
  --c-purple:#f04390; --c-purple-hover:#f477ae; --c-on-purple:#000001;
  --c-green:#3ce08a; --c-shadow:rgba(0, 1, 0,.35);
  /* Затемнение под модалками/оверлеями. Не брендируется (нет источника в palette.json),
     но объявить обязано: без неё var(--c-overlay) не разрешается и background молча
     становится прозрачным. Значение = --c-bg с альфой, поэтому с retint не конфликтует. */
  --c-overlay:rgba(13, 16, 35,.72);
  /* Header height, shared by the header itself and the desktop sidebar's sticky offset —
     one value so the two can't drift apart. 16px padding ×2 + 45px tallest control. */
  --rw-header-h: 77px;
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
}
a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
.go-link { cursor: pointer; }

/* Оверлей-спиннер на время редиректа в офферную систему.
   Разметку создаёт ОБЩИЙ go-redirect.js (`#go-overlay` > `.go-spinner`), стили обязан нести
   шаблон — у [Base] base они лежат в его CSS, и без такой же пары правил здесь клик по
   .go-link выглядел как «ничего не произошло»: скрипт ставил класс на невидимый пустой div,
   а пользователь ждал 3 секунды без единого признака, что нажатие засчитано.
   Префикс `go-` в RESERVED_PREFIXES — клонирование его НЕ переименовывает, поэтому селекторы
   здесь литеральные и совпадают с тем, что печатает скрипт. */
#go-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  /* фоллбэк на случай CSS клона, созданного до появления --c-overlay в :root */
  background: var(--c-overlay, rgba(13, 18, 38, .72));
  align-items: center;
  justify-content: center;
}
/* Селектор с ID обязателен: `#go-overlay` выше по специфичности (1,0,0), и голый
   `.go-overlay--visible{display:flex}` (0,1,0) его НЕ перебивает — оверлей остаётся
   display:none, сколько бы скрипт ни вешал класс. У [Base] base стоит ровно такой же
   селектор с ID. */
#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); } }

/* ===== Header ===== */
.rw-cnxhn {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--c-surface);
  padding: 12px 14px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 2,0.2), 0 2px 4px -1px rgba(0, 0, 2,0.12);
}
.rw-zbbzm {
  box-shadow: 0 4px 10px -1px var(--c-shadow);
}
.rw-nccdb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  max-width: 1600px;
  margin: 0 auto;
}
.rw-mdgdv {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 45px;
  height: 45px;
  flex-shrink: 0;
}
.rw-mdgdv span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
}
.rw-ryxpp {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  min-width: 0;   /* lets the brand name truncate instead of pushing the buttons out */
  text-decoration: none;
  color: var(--c-text);
}
/* Explicit CSS height is REQUIRED, not decorative: the brand logo renders as
   <img height="36">, but the global `img{height:auto}` reset above beats the HTML attribute,
   so without this the logo drew at its intrinsic 300×91 (82px tall) and inflated the whole
   header to 114px. Same trap as the footer badges and the documented 0×0 incident. */
.rw-mrhnp { flex-shrink: 0; line-height: 0; max-height: 36px; width: auto; }
img.rw-mrhnp { height: 36px; object-fit: contain; }
.rw-nsfmk {
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Auth buttons live in the header at EVERY width (never folded into the mobile menu) —
   at 390px the row is hamburger(45) + logo(flex, truncates) + two compact buttons(~138). */
.rw-gsyzt { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.rw-gsyzt .rw-qccqf { padding: 11px 13px; font-size: 13px; }

/* ===== Buttons ===== */
.rw-qccqf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 11px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}
/* Login stays a neutral gray regardless of brand palette — not tied to --c-accent/--c-purple */
.rw-yzhfy { background: #9f9fa0; color: #101223; }
.rw-yzhfy:hover { background: #8a8d8a; }
.rw-jcybp { background: var(--c-purple); color: var(--c-on-purple); }
.rw-jcybp:hover { background: var(--c-purple-hover); }
.rw-cdzzj {
  background: var(--c-accent);
  color: var(--c-on-accent);
  border-radius: 13px;
  font-size: 18px;
  padding: 15px 23px;
  width: 100%;
}
.rw-cdzzj:hover { background: var(--c-accent-hover); }

/* ===== Sidebar overlay (mobile) ===== */
.rw-thzwq {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 3,0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 45;
}
.rw-ewdpz { opacity: 1; pointer-events: auto; }

/* ===== Layout ===== */
.rw-emevz {
  display: flex;
  max-width: 1600px;
  margin: 0 auto;
}

/* ===== Sidebar ===== */
.rw-rtvvy {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 280px;
  max-width: 85vw;
  background: var(--c-surface);
  z-index: 50;
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 17px 13px;
}
.rw-ekcyt { transform: translateX(0); }
.rw-mhhtp {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  align-self: flex-end;
  color: var(--c-text);
  margin-bottom: 10px;
}
.rw-kgjvy { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.rw-zfmhn {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 45px;
  padding: 12px 14px;
  border-radius: 7px;
  color: var(--c-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.rw-zfmhn:hover { background: color-mix(in srgb, var(--c-text) 6%, transparent); }
.rw-mwyez { display: flex; flex-shrink: 0; color: var(--c-text); }
.rw-mmdyp { flex: 1; }
.rw-brjgv { flex-shrink: 0; color: var(--c-text-muted); }

/* ===== Main / Hero ===== */
.rw-vxxhb { flex: 1; min-width: 0; padding: 12px; }
/* Hero glow is decorative atmosphere, intentionally NOT brand-mapped — mixing --c-accent
   and --c-purple in one gradient collapses into a flat block on palettes where they're
   near-identical (see docs/new-base-template-onboarding.md §1, HeroCard incident). */
.rw-whabs {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  padding: 31px 18px;
  /* Literal rgb here MUST NOT equal --c-accent/--c-purple's default (#ff3c3d/#01b4ef) —
     cloneTemplate()'s retintDerivedRgba() does an EXACT rgb match against every
     retint:true var and rewrites any literal that happens to coincide, even outside
     :root. Confirmed live in Phase 3: rgba(255,61,61,*)/rgba(0,180,239,*) both got
     swept into the brand's accent/purple and collapsed into one flat blob (the exact
     failure mode described above) despite intentionally not using var() here. */
  background:
    radial-gradient(circle at 15% 20%, rgba(147, 54, 234,0.32), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(219, 39, 120,0.28), transparent 50%),
    linear-gradient(135deg, #1c2647 0%, #0e1223 100%);
  isolation: isolate;
}
.rw-whabs::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(240, 240, 244,0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.5;
}
.rw-byzdn { max-width: 640px; }
.rw-rsfym {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 13px;
}
.rw-dybha {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 19px;
}

/* Breadcrumbs — printed by the shared `breadcrumbsHtml` snippet with a LITERAL `breadcrumbs`
   class (no prefix, so cloneTemplate() never renames it; styling it directly is safe). The
   snippet returns '' on the homepage, so this only ever shows on inner pages. */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  list-style: none;
  font-size: 13px;
  color: var(--c-text-muted);
  margin-bottom: 17px;
}
.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: "/"; margin-right: 7px; color: var(--c-text-muted); }

/* ===== Content zone ===== */
.rw-hrgry { max-width: 900px; margin: 30px auto 0; padding: 0 7px; }
.rw-hrgry h1, .rw-hrgry h2, .rw-hrgry h3,
.rw-hrgry h4, .rw-hrgry h5, .rw-hrgry h6 {
  font-weight: 700;
  line-height: 1.25;
  margin: 29px 0 14px;
}
.rw-hrgry h1 { font-size: 28px; font-weight: 600; margin-top: 0; }
.rw-hrgry h2 { font-size: 22px; }
.rw-hrgry h3 { font-size: 19px; }
.rw-hrgry h4 { font-size: 17px; }
.rw-hrgry h5, .rw-hrgry h6 { font-size: 15px; }
.rw-hrgry p { margin-bottom: 13px; color: var(--c-text); }
.rw-hrgry ul, .rw-hrgry ol { margin: 0 0 13px 18px; }
.rw-hrgry li { margin-bottom: 7px; }
.rw-hrgry a { color: var(--c-purple); text-decoration: underline; }
.rw-hrgry a:hover { color: var(--c-accent); }
.rw-hrgry strong { font-weight: 700; }
.rw-hrgry em { font-style: italic; }
.rw-hrgry img { border-radius: 14px; margin: 12px 0; }
.rw-hrgry blockquote {
  border-left: 3px solid var(--c-accent);
  background: var(--c-surface);
  padding: 16px 17px;
  border-radius: 0 11px 11px 0;
  font-style: italic;
  color: var(--c-text-muted);
  margin: 0 0 15px;
}
/* Content comes from [[*content]] — plain HTML written by the copywriting worker, with no
   template-side wrapper elements to hang a scroll container on (and it must not use
   rw-* classes: those are renamed per clone, a literal one in resource content would
   desync). So the table has to be self-contained: NO min-width (that forced the page
   itself to scroll sideways at 390px — caught 2026-08-11), and on narrow screens the
   table itself becomes the scroll container via display:block. */
.rw-hrgry table {
  width: 100%;
  border-collapse: collapse;
  background: var(--c-surface);
  border-radius: 17px;
  overflow: hidden;
}
@media (max-width: 767px) {
  .rw-hrgry table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    border-radius: 10px;
  }
}
.rw-hrgry th, .rw-hrgry td {
  text-align: left;
  padding: 11px 16px;
  font-size: 14px;
}
.rw-hrgry th { font-weight: 700; background: var(--c-bg); }
.rw-hrgry td { color: var(--c-text-muted); }
.rw-hrgry tbody tr:nth-child(odd) { background: var(--c-surface); }
.rw-hrgry tbody tr:nth-child(even) { background: var(--c-bg); }

/* ===== Sliders (game carousels / wins ticker) ===== */
.bve-slider { margin: 20px 0; }
.bve-slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 13px;
}
.bve-slider-title { font-size: 19px; font-weight: 700; }
.bve-slider-controls { display: flex; gap: 7px; flex-shrink: 0; }
.bve-slider-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--c-text) 8%, transparent);
  color: var(--c-text);
  flex-shrink: 0;
}
.bve-slider-btn:hover { background: var(--c-purple); color: var(--c-on-purple); }
.bve-slider-btn[disabled] { opacity: 0.35; pointer-events: none; }
.bve-slider-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -wnp-overflow-style: none;
}
.bve-slider-track::-webkit-scrollbar { display: none; }

/* ===== Game cards (rendered by snippet-Wz1Games.php — own widget key `wg`, distinct
   from this template's `wz` private prefix; see the snippet's docblock) ===== */
.bve-card { position: relative; flex: 0 0 auto; width: 120px; scroll-snap-align: start; }
.bve-link { display: block; text-decoration: none; color: inherit; }
.bve-thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background: var(--c-surface);
}
.bve-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bve-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  align-items: center;
  gap: 2px;
  background: color-mix(in srgb, var(--c-bg) 70%, transparent);
  color: var(--c-text);
  border-radius: 22px;
  padding: 2px 9px;
  font-size: 10px;
  font-weight: 600;
}
.bve-meta { padding-top: 10px; }
.bve-title {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bve-provider { font-size: 10px; color: var(--c-text-muted); margin-top: 2px; }

/* ===== Wins ticker ===== */
.bve-wins-card {
  flex: 0 0 auto;
  min-width: 180px;
  background: var(--c-surface);
  border-radius: 8px;
  padding: 13px 16px;
  scroll-snap-align: start;
}
.bve-wins-row { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.bve-wins-player { font-size: 12px; font-weight: 700; }
.bve-wins-amount { font-size: 13px; font-weight: 700; color: var(--c-green); }
.bve-wins-game { font-size: 11px; color: var(--c-text-muted); margin-top: 2px; }

/* ===== Chip rows (providers / banking) ===== */

/* ===== Promotions grid ===== */
.rw-fffbx { display: grid; grid-template-columns: 1fr; gap: 15px; margin: 17px 0 23px; }
.rw-ztfcq { background: var(--c-surface); border-radius: 15px; padding: 19px; }
.rw-ztfcq h3 { margin: 0 0 9px; font-size: 16px; }
.rw-ztfcq p { margin: 0; font-size: 14px; color: var(--c-text-muted); }

/* ===== FAQ accordion ===== */
.rw-ghnby { background: var(--c-surface); border-radius: 11px; margin-bottom: 12px; overflow: hidden; }
.rw-ghnby summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  min-height: 45px;
  padding: 18px 16px;
  font-weight: 700;
  font-size: 15px;
}
.rw-ghnby summary::-webkit-details-marker { display: none; }
.rw-pxrgf { flex-shrink: 0; color: var(--c-text-muted); transition: transform 0.2s ease; }
.rw-ghnby[open] .rw-pxrgf { transform: rotate(180deg); }
.rw-ghnby p { margin: 0; padding: 0 17px 15px; color: var(--c-text-muted); font-size: 14px; }

/* ===== Footer ===== */
.rw-rfvtw { background: var(--c-surface); margin-top: 32px; padding: 25px 17px; }
.rw-cdwka { max-width: 1600px; margin: 0 auto; }
/* Regulator / trust badges — real logos linking out, same shared assets and same explicit
   sizing the base template uses (base.min.css `.bs-footer-images img`). The explicit CSS
   height is not cosmetic: the global `img{height:auto}` reset plus an inline height="56"
   is exactly the combination that collapsed images to 0×0 in a past incident, which is why
   check-wz1-template.js has a dedicated check for it. */
.rw-eqqep {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.rw-eqqep a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 2px 8px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--c-text) 6%, transparent);
}
.rw-eqqep a:hover { background: color-mix(in srgb, var(--c-text) 12%, transparent); }
.rw-eqqep img {
  width: 6rem;
  height: 2.5rem;
  object-fit: contain;
  display: block;
}
.rw-rdwdn { border: 0; border-top: 1px solid var(--c-border); margin: 22px 0; }
.rw-mtpjh { display: grid; grid-template-columns: 1fr; gap: 21px; }
.rw-jgnvv { border-bottom: 1px solid var(--c-border); }
.rw-jgnvv summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  list-style: none;
  min-height: 45px;
  padding: 5px 0;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.rw-jgnvv summary::-webkit-details-marker { display: none; }
.rw-njyed { flex-shrink: 0; color: var(--c-text-muted); transition: transform 0.2s ease; }
.rw-jgnvv[open] .rw-njyed { transform: rotate(180deg); }
.rw-jgnvv ul { list-style: none; display: flex; flex-direction: column; gap: 11px; padding: 2px 0 15px; }
.rw-jgnvv a { color: var(--c-text-muted); text-decoration: none; font-size: 14px; }
.rw-jgnvv a:hover { color: var(--c-text); }
.rw-dbjhx {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}
.rw-mfsdc { display: flex; gap: 11px; flex-wrap: wrap; justify-content: center; }
.rw-mfsdc a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--c-text) 8%, transparent);
  color: var(--c-text);
}
.rw-mfsdc a:hover { background: var(--c-accent); }
.rw-sjjet { font-size: 13px; color: var(--c-text-muted); }
.rw-nnkdf {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--c-text) 8%, transparent);
  color: var(--c-text);
}
.rw-nnkdf:hover { background: var(--c-purple); color: var(--c-on-purple); }

/* ===== Tablet ===== */
@media (min-width: 768px) {
  .rw-whabs { padding: 43px 31px; }
  .rw-rsfym { font-size: 32px; }
  .rw-mtpjh { grid-template-columns: repeat(2, 1fr); }
  .rw-dbjhx { flex-direction: row; justify-content: space-between; text-align: left; }

  .bve-card { width: 145px; }
  .bve-wins-card { min-width: 200px; }
  .rw-fffbx { grid-template-columns: repeat(2, 1fr); }

  .rw-jgnvv { border-bottom: 0; }
  .rw-jgnvv summary { cursor: default; pointer-events: none; min-height: 0; padding: 0 0 10px; }
  .rw-njyed { display: none; }
  .rw-jgnvv ul { padding: 0; }
}

/* ===== Desktop ===== */
@media (min-width: 1024px) {
  .rw-cnxhn { padding: 14px 30px; }
  .rw-mdgdv { display: none; }
  .rw-gsyzt { gap: 12px; }
  .rw-gsyzt .rw-qccqf { padding: 8px 19px; font-size: 15px; }
  .rw-ryxpp { flex: 0 1 auto; }
  .rw-nsfmk { font-size: 19px; }

  .rw-thzwq { display: none; }

  .rw-rtvvy {
    position: sticky;
    /* Stick BELOW the sticky header, not under it: with top:0 the sidebar slid beneath the
       header on scroll and — being z-index 50 vs the header's 40 — painted straight over the
       logo. Dropping the stacking below the header AND offsetting by its height fixes both
       halves; the height calc keeps the last menu item reachable instead of pushed off-screen. */
    top: var(--rw-header-h);
    height: calc(100vh - var(--rw-header-h));
    z-index: 1;
    max-width: none;
    width: 260px;
    transform: none;
    flex-shrink: 0;
    padding: 22px 16px;
  }
  .rw-mhhtp { display: none; }

  .rw-vxxhb { padding: 26px 30px; }
  .rw-whabs { padding: 56px 46px; }
  .rw-rsfym { font-size: 42px; }
  .rw-dybha { font-size: 20px; }
  .rw-cdzzj { width: auto; }

  .rw-hrgry { padding: 0; }
  .rw-rfvtw { padding: 33px; }
  .rw-mtpjh { grid-template-columns: repeat(4, 1fr); }

  .bve-slider-btn { width: 38px; height: 38px; }
  .bve-card { width: 165px; }
  .bve-wins-card { min-width: 220px; }
  .rw-fffbx { grid-template-columns: repeat(3, 1fr); }
}

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

/* CookieBanner (2026-08-24): при параметризации забыт */


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@media (min-width: 768px) {
    .wn-footer-nav { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 14px 30px; }
    /* wrap обязателен: бейджей стало до семи, в один ряд они влезают только на широком
       десктопе, а на планшете иначе вылезали бы за контейнер. */
    .wn-rg { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 18px 24px; }
    .cdh-media img { aspect-ratio: 16 / 6.5; }
    .xsd-banner { flex-direction: row; align-items: center; gap: 21px; }
    .xsd-actions { flex: none; }
    .xsd-btn { flex: none; }
}
/* [hidden]-гард (2026-08-24): не поехал при извлечении xsd-блока */
[hidden]{display:none !important;}

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