/* Uniqueified: 5cb1b50c */
/* Prefix: gab- */
/* Prefixes-map: wz->gab */
/* Widget-prefixes: {"cb":"qkm","wg":"zwj","wb":"dbg","ms":"khw","fl":"bzc"} */
/* Classmap: {"wz-back-to-top":"gab-htajf","wz-btn":"gab-wkmym","wz-btn-cta":"gab-hcjcc","wz-btn-ghost":"gab-kbhzk","wz-btn-secondary":"gab-hqjqj","wz-content":"gab-qbjqs","wz-el-back-to-top":"gab-emcaz","wz-el-hamburger":"gab-wvztq","wz-el-header":"gab-wdmpr","wz-el-overlay":"gab-sdhsv","wz-el-sidebar":"gab-fbexf","wz-el-sidebar-close":"gab-akwgp","wz-faq-icon":"gab-yhkxn","wz-faq-item":"gab-xdezf","wz-footer":"gab-vadqk","wz-footer-badges":"gab-jegpk","wz-footer-bottom":"gab-tgarx","wz-footer-chevron":"gab-hmmjm","wz-footer-col":"gab-atads","wz-footer-copy":"gab-saste","wz-footer-divider":"gab-feszf","wz-footer-inner":"gab-fcdvh","wz-footer-nav":"gab-rcjhr","wz-footer-social":"gab-pnbsn","wz-hamburger":"gab-xwvvh","wz-header":"gab-skgtj","wz-header--scrolled":"gab-cmkfb","wz-header-actions":"gab-qecpb","wz-header-inner":"gab-waqjb","wz-hero":"gab-jwmsb","wz-hero-body":"gab-rckgc","wz-hero-subtitle":"gab-mdzba","wz-hero-title":"gab-mdmer","wz-layout":"gab-xqqff","wz-logo":"gab-bdcjd","wz-logo-mark":"gab-thfxf","wz-logo-text":"gab-dyecw","wz-main":"gab-wswje","wz-nav-chevron":"gab-jxrgj","wz-nav-icon":"gab-fhmfk","wz-nav-label":"gab-vcbsj","wz-nav-link":"gab-vztqc","wz-nav-list":"gab-nazsf","wz-promo-card":"gab-jqdnb","wz-promo-grid":"gab-ymjzs","wz-sidebar":"gab-bpwtn","wz-sidebar--open":"gab-ywgrv","wz-sidebar-close":"gab-frhgp","wz-sidebar-overlay":"gab-nmkca","wz-sidebar-overlay--visible":"gab-fqdst"} */
:root{
  --c-bg:#191c1c; --c-surface:#2d2e2e; --c-surface-alt:#3f4040; --c-border:#4d504d;
  --c-text:#f1f4f7; --c-text-muted:#9ca19f;
  --c-accent:#4c8aff; --c-accent-hover:#84b2ff; --c-on-accent:#010000;
  --c-purple:#4b8dff; --c-purple-hover:#84b1fe; --c-on-purple:#000001;
  --c-green:#41e08a; --c-shadow:rgba(0, 0, 3,.35);
  /* Затемнение под модалками/оверлеями. Не брендируется (нет источника в palette.json),
     но объявить обязано: без неё var(--c-overlay) не разрешается и background молча
     становится прозрачным. Значение = --c-bg с альфой, поэтому с retint не конфликтует. */
  --c-overlay:rgba(13, 17, 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. */
  --gab-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, 15, 35, .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 ===== */
.gab-skgtj {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--c-surface);
  padding: 8px 15px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 1,0.2), 0 2px 4px -1px rgba(0, 2, 0,0.12);
}
.gab-cmkfb {
  box-shadow: 0 4px 10px -1px var(--c-shadow);
}
.gab-waqjb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  max-width: 1600px;
  margin: 0 auto;
}
.gab-xwvvh {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 45px;
  height: 45px;
  flex-shrink: 0;
}
.gab-xwvvh span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
}
.gab-bdcjd {
  display: flex;
  align-items: center;
  gap: 12px;
  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. */
.gab-thfxf { flex-shrink: 0; line-height: 0; max-height: 36px; width: auto; }
img.gab-thfxf { height: 36px; object-fit: contain; }
.gab-dyecw {
  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). */
.gab-qecpb { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.gab-qecpb .gab-wkmym { padding: 12px 11px; font-size: 13px; }

/* ===== Buttons ===== */
.gab-wkmym {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 11px 21px;
  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 */
.gab-kbhzk { background: #9f9e9f; color: #0d1222; }
.gab-kbhzk:hover { background: #8a8d8a; }
.gab-hqjqj { background: var(--c-purple); color: var(--c-on-purple); }
.gab-hqjqj:hover { background: var(--c-purple-hover); }
.gab-hcjcc {
  background: var(--c-accent);
  color: var(--c-on-accent);
  border-radius: 13px;
  font-size: 18px;
  padding: 12px 26px;
  width: 100%;
}
.gab-hcjcc:hover { background: var(--c-accent-hover); }

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

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

/* ===== Sidebar ===== */
.gab-bpwtn {
  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;
}
.gab-ywgrv { transform: translateX(0); }
.gab-frhgp {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  align-self: flex-end;
  color: var(--c-text);
  margin-bottom: 10px;
}
.gab-nazsf { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.gab-vztqc {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 45px;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--c-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.gab-vztqc:hover { background: color-mix(in srgb, var(--c-text) 6%, transparent); }
.gab-fhmfk { display: flex; flex-shrink: 0; color: var(--c-text); }
.gab-vcbsj { flex: 1; }
.gab-jxrgj { flex-shrink: 0; color: var(--c-text-muted); }

/* ===== Main / Hero ===== */
.gab-wswje { flex: 1; min-width: 0; padding: 15px; }
/* 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). */
.gab-jwmsb {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  padding: 31px 22px;
  /* Literal rgb here MUST NOT equal --c-accent/--c-purple's default (#ff3d3a/#00b4ed) —
     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, 50, 234,0.32), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(222, 39, 119,0.28), transparent 50%),
    linear-gradient(135deg, #1a2547 0%, #0d1225 100%);
  isolation: isolate;
}
.gab-jwmsb::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(242, 242, 244,0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.5;
}
.gab-rckgc { max-width: 640px; }
.gab-mdmer {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
}
.gab-mdzba {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}

/* 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: 7px;
  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: 4px; color: var(--c-text-muted); }

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

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

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

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

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

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

/* ===== Footer ===== */
.gab-vadqk { background: var(--c-surface); margin-top: 32px; padding: 23px 15px; }
.gab-fcdvh { 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. */
.gab-jegpk {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  align-items: center;
  justify-content: center;
}
.gab-jegpk a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 3px 12px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--c-text) 6%, transparent);
}
.gab-jegpk a:hover { background: color-mix(in srgb, var(--c-text) 12%, transparent); }
.gab-jegpk img {
  width: 6rem;
  height: 2.5rem;
  object-fit: contain;
  display: block;
}
.gab-feszf { border: 0; border-top: 1px solid var(--c-border); margin: 22px 0; }
.gab-rcjhr { display: grid; grid-template-columns: 1fr; gap: 18px; }
.gab-atads { border-bottom: 1px solid var(--c-border); }
.gab-atads summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  list-style: none;
  min-height: 45px;
  padding: 5px 0;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.gab-atads summary::-webkit-details-marker { display: none; }
.gab-hmmjm { flex-shrink: 0; color: var(--c-text-muted); transition: transform 0.2s ease; }
.gab-atads[open] .gab-hmmjm { transform: rotate(180deg); }
.gab-atads ul { list-style: none; display: flex; flex-direction: column; gap: 9px; padding: 2px 0 17px; }
.gab-atads a { color: var(--c-text-muted); text-decoration: none; font-size: 14px; }
.gab-atads a:hover { color: var(--c-text); }
.gab-tgarx {
  display: flex;
  flex-direction: column;
  gap: 17px;
  align-items: center;
  text-align: center;
}
.gab-pnbsn { display: flex; gap: 9px; flex-wrap: wrap; justify-content: center; }
.gab-pnbsn 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);
}
.gab-pnbsn a:hover { background: var(--c-accent); }
.gab-saste { font-size: 13px; color: var(--c-text-muted); }
.gab-htajf {
  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);
}
.gab-htajf:hover { background: var(--c-purple); color: var(--c-on-purple); }

/* ===== Tablet ===== */
@media (min-width: 768px) {
  .gab-jwmsb { padding: 42px 31px; }
  .gab-mdmer { font-size: 32px; }
  .gab-rcjhr { grid-template-columns: repeat(2, 1fr); }
  .gab-tgarx { flex-direction: row; justify-content: space-between; text-align: left; }

  .zwj-card { width: 145px; }
  .zwj-wins-card { min-width: 200px; }
  .gab-ymjzs { grid-template-columns: repeat(2, 1fr); }

  .gab-atads { border-bottom: 0; }
  .gab-atads summary { cursor: default; pointer-events: none; min-height: 0; padding: 0 0 13px; }
  .gab-hmmjm { display: none; }
  .gab-atads ul { padding: 0; }
}

/* ===== Desktop ===== */
@media (min-width: 1024px) {
  .gab-skgtj { padding: 15px 31px; }
  .gab-xwvvh { display: none; }
  .gab-qecpb { gap: 9px; }
  .gab-qecpb .gab-wkmym { padding: 9px 19px; font-size: 15px; }
  .gab-bdcjd { flex: 0 1 auto; }
  .gab-dyecw { font-size: 19px; }

  .gab-nmkca { display: none; }

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

  .gab-wswje { padding: 23px 31px; }
  .gab-jwmsb { padding: 56px 47px; }
  .gab-mdmer { font-size: 42px; }
  .gab-mdzba { font-size: 20px; }
  .gab-hcjcc { width: auto; }

  .gab-qbjqs { padding: 0; }
  .gab-vadqk { padding: 30px; }
  .gab-rcjhr { grid-template-columns: repeat(4, 1fr); }

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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