/* Uniqueified: 5f5a2a9f */
/* Prefix: cwd- */
/* Prefixes-map: wz->cwd */
/* Widget-prefixes: {"cb":"bqd","wg":"xgb","wb":"cde","ms":"fyz","fl":"hmb"} */
/* Classmap: {"wz-back-to-top":"cwd-trsrw","wz-btn":"cwd-zhqmv","wz-btn-cta":"cwd-hyvef","wz-btn-ghost":"cwd-nvzmm","wz-btn-secondary":"cwd-jvspr","wz-content":"cwd-qshev","wz-el-back-to-top":"cwd-knsth","wz-el-hamburger":"cwd-jtpea","wz-el-header":"cwd-cgjxy","wz-el-overlay":"cwd-jejvj","wz-el-sidebar":"cwd-dayss","wz-el-sidebar-close":"cwd-gdafr","wz-faq-icon":"cwd-acvqm","wz-faq-item":"cwd-nmgpr","wz-footer":"cwd-tzgya","wz-footer-badges":"cwd-fecmk","wz-footer-bottom":"cwd-vemvz","wz-footer-chevron":"cwd-jmfnf","wz-footer-col":"cwd-tghka","wz-footer-copy":"cwd-pkdje","wz-footer-divider":"cwd-zwrdy","wz-footer-inner":"cwd-vdnsc","wz-footer-nav":"cwd-pcvwv","wz-footer-social":"cwd-dhcsw","wz-hamburger":"cwd-ahmyc","wz-header":"cwd-actzh","wz-header--scrolled":"cwd-sbvzc","wz-header-actions":"cwd-sjjxg","wz-header-inner":"cwd-vyaws","wz-hero":"cwd-zzxjm","wz-hero-body":"cwd-atjxm","wz-hero-subtitle":"cwd-cvydj","wz-hero-title":"cwd-yrdka","wz-layout":"cwd-hhnbs","wz-logo":"cwd-vwhar","wz-logo-mark":"cwd-yyfay","wz-logo-text":"cwd-vbfbp","wz-main":"cwd-kaews","wz-nav-chevron":"cwd-fhzde","wz-nav-icon":"cwd-cwfmj","wz-nav-label":"cwd-hbxrt","wz-nav-link":"cwd-jxqxr","wz-nav-list":"cwd-qspnx","wz-promo-card":"cwd-btvwn","wz-promo-grid":"cwd-htdqw","wz-sidebar":"cwd-dvkzd","wz-sidebar--open":"cwd-khptw","wz-sidebar-close":"cwd-sbdxd","wz-sidebar-overlay":"cwd-rpjjr","wz-sidebar-overlay--visible":"cwd-zggdm"} */
:root{
  --c-bg:#141415; --c-surface:#262526; --c-surface-alt:#383b38; --c-border:#454544;
  --c-text:#feffff; --c-text-muted:#a3a1a1;
  --c-accent:#007dff; --c-accent-hover:#3899ff; --c-on-accent:#010000;
  --c-purple:#007bfd; --c-purple-hover:#3598ff; --c-on-purple:#000001;
  --c-green:#3fdd8a; --c-shadow:rgba(1, 0, 0,.35);
  /* Затемнение под модалками/оверлеями. Не брендируется (нет источника в palette.json),
     но объявить обязано: без неё var(--c-overlay) не разрешается и background молча
     становится прозрачным. Значение = --c-bg с альфой, поэтому с retint не конфликтует. */
  --c-overlay:rgba(14, 18, 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. */
  --cwd-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, 34, .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 ===== */
.cwd-actzh {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--c-surface);
  padding: 8px 14px;
  box-shadow: 0 4px 6px -1px rgba(1, 0, 0,0.2), 0 2px 4px -1px rgba(0, 3, 0,0.12);
}
.cwd-sbvzc {
  box-shadow: 0 4px 10px -1px var(--c-shadow);
}
.cwd-vyaws {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  max-width: 1600px;
  margin: 0 auto;
}
.cwd-ahmyc {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 45px;
  height: 45px;
  flex-shrink: 0;
}
.cwd-ahmyc span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
}
.cwd-vwhar {
  display: flex;
  align-items: center;
  gap: 8px;
  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. */
.cwd-yyfay { flex-shrink: 0; line-height: 0; max-height: 36px; width: auto; }
img.cwd-yyfay { height: 36px; object-fit: contain; }
.cwd-vbfbp {
  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). */
.cwd-sjjxg { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.cwd-sjjxg .cwd-zhqmv { padding: 11px 13px; font-size: 13px; }

/* ===== Buttons ===== */
.cwd-zhqmv {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 12px 22px;
  border-radius: 7px;
  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 */
.cwd-nvzmm { background: #9fa29f; color: #0d1221; }
.cwd-nvzmm:hover { background: #878a8a; }
.cwd-jvspr { background: var(--c-purple); color: var(--c-on-purple); }
.cwd-jvspr:hover { background: var(--c-purple-hover); }
.cwd-hyvef {
  background: var(--c-accent);
  color: var(--c-on-accent);
  border-radius: 13px;
  font-size: 18px;
  padding: 16px 22px;
  width: 100%;
}
.cwd-hyvef:hover { background: var(--c-accent-hover); }

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

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

/* ===== Sidebar ===== */
.cwd-dvkzd {
  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: 15px 16px;
}
.cwd-khptw { transform: translateX(0); }
.cwd-sbdxd {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  align-self: flex-end;
  color: var(--c-text);
  margin-bottom: 6px;
}
.cwd-qspnx { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.cwd-jxqxr {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 45px;
  padding: 11px 14px;
  border-radius: 9px;
  color: var(--c-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.cwd-jxqxr:hover { background: color-mix(in srgb, var(--c-text) 6%, transparent); }
.cwd-cwfmj { display: flex; flex-shrink: 0; color: var(--c-text); }
.cwd-hbxrt { flex: 1; }
.cwd-fhzde { flex-shrink: 0; color: var(--c-text-muted); }

/* ===== Main / Hero ===== */
.cwd-kaews { flex: 1; min-width: 0; padding: 13px; }
/* 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). */
.cwd-zzxjm {
  position: relative;
  border-radius: 13px;
  overflow: hidden;
  padding: 34px 21px;
  /* Literal rgb here MUST NOT equal --c-accent/--c-purple's default (#fc3d3d/#02b4ef) —
     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, 52, 234,0.32), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(221, 39, 119,0.28), transparent 50%),
    linear-gradient(135deg, #172647 0%, #0a1223 100%);
  isolation: isolate;
}
.cwd-zzxjm::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(240, 242, 242,0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.5;
}
.cwd-atjxm { max-width: 640px; }
.cwd-yrdka {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 12px;
}
.cwd-cvydj {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 22px;
}

/* 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: 8px;
  list-style: none;
  font-size: 13px;
  color: var(--c-text-muted);
  margin-bottom: 19px;
}
.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: 8px; color: var(--c-text-muted); }

/* ===== Content zone ===== */
.cwd-qshev { max-width: 900px; margin: 27px auto 0; padding: 0 5px; }
.cwd-qshev h1, .cwd-qshev h2, .cwd-qshev h3,
.cwd-qshev h4, .cwd-qshev h5, .cwd-qshev h6 {
  font-weight: 700;
  line-height: 1.25;
  margin: 29px 0 10px;
}
.cwd-qshev h1 { font-size: 28px; font-weight: 600; margin-top: 0; }
.cwd-qshev h2 { font-size: 22px; }
.cwd-qshev h3 { font-size: 19px; }
.cwd-qshev h4 { font-size: 17px; }
.cwd-qshev h5, .cwd-qshev h6 { font-size: 15px; }
.cwd-qshev p { margin-bottom: 12px; color: var(--c-text); }
.cwd-qshev ul, .cwd-qshev ol { margin: 0 0 16px 18px; }
.cwd-qshev li { margin-bottom: 4px; }
.cwd-qshev a { color: var(--c-purple); text-decoration: underline; }
.cwd-qshev a:hover { color: var(--c-accent); }
.cwd-qshev strong { font-weight: 700; }
.cwd-qshev em { font-style: italic; }
.cwd-qshev img { border-radius: 13px; margin: 16px 0; }
.cwd-qshev blockquote {
  border-left: 3px solid var(--c-accent);
  background: var(--c-surface);
  padding: 12px 14px;
  border-radius: 0 12px 11px 0;
  font-style: italic;
  color: var(--c-text-muted);
  margin: 0 0 16px;
}
/* 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
   cwd-* 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. */
.cwd-qshev table {
  width: 100%;
  border-collapse: collapse;
  background: var(--c-surface);
  border-radius: 14px;
  overflow: hidden;
}
@media (max-width: 767px) {
  .cwd-qshev table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    border-radius: 10px;
  }
}
.cwd-qshev th, .cwd-qshev td {
  text-align: left;
  padding: 10px 15px;
  font-size: 14px;
}
.cwd-qshev th { font-weight: 700; background: var(--c-bg); }
.cwd-qshev td { color: var(--c-text-muted); }
.cwd-qshev tbody tr:nth-child(odd) { background: var(--c-surface); }
.cwd-qshev tbody tr:nth-child(even) { background: var(--c-bg); }

/* ===== Sliders (game carousels / wins ticker) ===== */
.xgb-slider { margin: 24px 0; }
.xgb-slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  margin-bottom: 14px;
}
.xgb-slider-title { font-size: 19px; font-weight: 700; }
.xgb-slider-controls { display: flex; gap: 6px; flex-shrink: 0; }
.xgb-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;
}
.xgb-slider-btn:hover { background: var(--c-purple); color: var(--c-on-purple); }
.xgb-slider-btn[disabled] { opacity: 0.35; pointer-events: none; }
.xgb-slider-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -fyz-overflow-style: none;
}
.xgb-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) ===== */
.xgb-card { position: relative; flex: 0 0 auto; width: 120px; scroll-snap-align: start; }
.xgb-link { display: block; text-decoration: none; color: inherit; }
.xgb-thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background: var(--c-surface);
}
.xgb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.xgb-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: color-mix(in srgb, var(--c-bg) 70%, transparent);
  color: var(--c-text);
  border-radius: 21px;
  padding: 2px 5px;
  font-size: 10px;
  font-weight: 600;
}
.xgb-meta { padding-top: 6px; }
.xgb-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;
}
.xgb-provider { font-size: 10px; color: var(--c-text-muted); margin-top: 2px; }

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

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

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

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

/* ===== Footer ===== */
.cwd-tzgya { background: var(--c-surface); margin-top: 31px; padding: 22px 14px; }
.cwd-vdnsc { 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. */
.cwd-fecmk {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.cwd-fecmk a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 2px 8px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--c-text) 6%, transparent);
}
.cwd-fecmk a:hover { background: color-mix(in srgb, var(--c-text) 12%, transparent); }
.cwd-fecmk img {
  width: 6rem;
  height: 2.5rem;
  object-fit: contain;
  display: block;
}
.cwd-zwrdy { border: 0; border-top: 1px solid var(--c-border); margin: 18px 0; }
.cwd-pcvwv { display: grid; grid-template-columns: 1fr; gap: 21px; }
.cwd-tghka { border-bottom: 1px solid var(--c-border); }
.cwd-tghka summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  list-style: none;
  min-height: 45px;
  padding: 3px 0;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.cwd-tghka summary::-webkit-details-marker { display: none; }
.cwd-jmfnf { flex-shrink: 0; color: var(--c-text-muted); transition: transform 0.2s ease; }
.cwd-tghka[open] .cwd-jmfnf { transform: rotate(180deg); }
.cwd-tghka ul { list-style: none; display: flex; flex-direction: column; gap: 12px; padding: 2px 0 18px; }
.cwd-tghka a { color: var(--c-text-muted); text-decoration: none; font-size: 14px; }
.cwd-tghka a:hover { color: var(--c-text); }
.cwd-vemvz {
  display: flex;
  flex-direction: column;
  gap: 17px;
  align-items: center;
  text-align: center;
}
.cwd-dhcsw { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.cwd-dhcsw 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);
}
.cwd-dhcsw a:hover { background: var(--c-accent); }
.cwd-pkdje { font-size: 13px; color: var(--c-text-muted); }
.cwd-trsrw {
  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);
}
.cwd-trsrw:hover { background: var(--c-purple); color: var(--c-on-purple); }

/* ===== Tablet ===== */
@media (min-width: 768px) {
  .cwd-zzxjm { padding: 46px 34px; }
  .cwd-yrdka { font-size: 32px; }
  .cwd-pcvwv { grid-template-columns: repeat(2, 1fr); }
  .cwd-vemvz { flex-direction: row; justify-content: space-between; text-align: left; }

  .xgb-card { width: 145px; }
  .xgb-wins-card { min-width: 200px; }
  .cwd-htdqw { grid-template-columns: repeat(2, 1fr); }

  .cwd-tghka { border-bottom: 0; }
  .cwd-tghka summary { cursor: default; pointer-events: none; min-height: 0; padding: 0 0 10px; }
  .cwd-jmfnf { display: none; }
  .cwd-tghka ul { padding: 0; }
}

/* ===== Desktop ===== */
@media (min-width: 1024px) {
  .cwd-actzh { padding: 18px 34px; }
  .cwd-ahmyc { display: none; }
  .cwd-sjjxg { gap: 12px; }
  .cwd-sjjxg .cwd-zhqmv { padding: 8px 22px; font-size: 15px; }
  .cwd-vwhar { flex: 0 1 auto; }
  .cwd-vbfbp { font-size: 19px; }

  .cwd-rpjjr { display: none; }

  .cwd-dvkzd {
    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(--cwd-header-h);
    height: calc(100vh - var(--cwd-header-h));
    z-index: 1;
    max-width: none;
    width: 260px;
    transform: none;
    flex-shrink: 0;
    padding: 22px 16px;
  }
  .cwd-sbdxd { display: none; }

  .cwd-kaews { padding: 25px 31px; }
  .cwd-zzxjm { padding: 56px 47px; }
  .cwd-yrdka { font-size: 42px; }
  .cwd-cvydj { font-size: 20px; }
  .cwd-hyvef { width: auto; }

  .cwd-qshev { padding: 0; }
  .cwd-tzgya { padding: 31px; }
  .cwd-pcvwv { grid-template-columns: repeat(4, 1fr); }

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

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

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


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

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

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

.bqd-actions { display: flex; flex-wrap: wrap; gap: 9px; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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