/* Uniqueified: a7ccf3e0 */
/* Prefix: kjq- */
/* Prefixes-map: wz->kjq */
/* Widget-prefixes: {"cb":"pcy","wg":"hqc","wb":"jaj","ms":"aha","fl":"tmj"} */
/* Classmap: {"wz-back-to-top":"kjq-rfkcq","wz-btn":"kjq-mwrwz","wz-btn-cta":"kjq-brmyq","wz-btn-ghost":"kjq-cvygn","wz-btn-secondary":"kjq-pcsch","wz-content":"kjq-akmvv","wz-el-back-to-top":"kjq-xbhms","wz-el-hamburger":"kjq-qeefc","wz-el-header":"kjq-bjdhr","wz-el-overlay":"kjq-debhd","wz-el-sidebar":"kjq-vywkr","wz-el-sidebar-close":"kjq-tbdxs","wz-faq-icon":"kjq-cwqqk","wz-faq-item":"kjq-kfgqj","wz-footer":"kjq-wmxzx","wz-footer-badges":"kjq-ztfsa","wz-footer-bottom":"kjq-xcred","wz-footer-chevron":"kjq-xyqet","wz-footer-col":"kjq-xajyd","wz-footer-copy":"kjq-rqvmr","wz-footer-divider":"kjq-cfnnb","wz-footer-inner":"kjq-bsqye","wz-footer-nav":"kjq-rcavy","wz-footer-social":"kjq-bvvjd","wz-hamburger":"kjq-seepf","wz-header":"kjq-wqrbj","wz-header--scrolled":"kjq-rqrff","wz-header-actions":"kjq-cfxeh","wz-header-inner":"kjq-bmwrb","wz-hero":"kjq-gvmsc","wz-hero-body":"kjq-pzdvh","wz-hero-subtitle":"kjq-nrayq","wz-hero-title":"kjq-xbmyt","wz-layout":"kjq-bjdgb","wz-logo":"kjq-bnrdt","wz-logo-mark":"kjq-pndvd","wz-logo-text":"kjq-qvvdy","wz-main":"kjq-hbhsg","wz-nav-chevron":"kjq-jzazd","wz-nav-icon":"kjq-pekav","wz-nav-label":"kjq-ndgnw","wz-nav-link":"kjq-kwshs","wz-nav-list":"kjq-fadfk","wz-promo-card":"kjq-gwqpk","wz-promo-grid":"kjq-ryytc","wz-sidebar":"kjq-rqtjt","wz-sidebar--open":"kjq-pskfq","wz-sidebar-close":"kjq-shwvm","wz-sidebar-overlay":"kjq-rwayh","wz-sidebar-overlay--visible":"kjq-bwgwc"} */
:root{
  --c-bg:#010008; --c-surface:#14121a; --c-surface-alt:#26212e; --c-border:#322e3e;
  --c-text:#f2f1f7; --c-text-muted:#929295;
  --c-accent:#4c8dfc; --c-accent-hover:#84b4ff; --c-on-accent:#010000;
  --c-purple:#4d8dff; --c-purple-hover:#84b1fe; --c-on-purple:#000003;
  --c-green:#3fe08b; --c-shadow:rgba(0, 2, 0,.35);
  /* Затемнение под модалками/оверлеями. Не брендируется (нет источника в palette.json),
     но объявить обязано: без неё var(--c-overlay) не разрешается и background молча
     становится прозрачным. Значение = --c-bg с альфой, поэтому с retint не конфликтует. */
  --c-overlay:rgba(13, 18, 37,.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. */
  --kjq-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, 32, .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 ===== */
.kjq-wqrbj {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--c-surface);
  padding: 11px 14px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 1,0.2), 0 2px 4px -1px rgba(0, 0, 1,0.12);
}
.kjq-rqrff {
  box-shadow: 0 4px 10px -1px var(--c-shadow);
}
.kjq-bmwrb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 1600px;
  margin: 0 auto;
}
.kjq-seepf {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 45px;
  height: 45px;
  flex-shrink: 0;
}
.kjq-seepf span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
}
.kjq-bnrdt {
  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. */
.kjq-pndvd { flex-shrink: 0; line-height: 0; max-height: 36px; width: auto; }
img.kjq-pndvd { height: 36px; object-fit: contain; }
.kjq-qvvdy {
  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). */
.kjq-cfxeh { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.kjq-cfxeh .kjq-mwrwz { padding: 11px 13px; font-size: 13px; }

/* ===== Buttons ===== */
.kjq-mwrwz {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 9px 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 */
.kjq-cvygn { background: #9f9f9d; color: #0d1123; }
.kjq-cvygn:hover { background: #888a8a; }
.kjq-pcsch { background: var(--c-purple); color: var(--c-on-purple); }
.kjq-pcsch:hover { background: var(--c-purple-hover); }
.kjq-brmyq {
  background: var(--c-accent);
  color: var(--c-on-accent);
  border-radius: 14px;
  font-size: 18px;
  padding: 12px 25px;
  width: 100%;
}
.kjq-brmyq:hover { background: var(--c-accent-hover); }

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

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

/* ===== Sidebar ===== */
.kjq-rqtjt {
  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: 18px 12px;
}
.kjq-pskfq { transform: translateX(0); }
.kjq-shwvm {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  align-self: flex-end;
  color: var(--c-text);
  margin-bottom: 9px;
}
.kjq-fadfk { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.kjq-kwshs {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 45px;
  padding: 9px 13px;
  border-radius: 9px;
  color: var(--c-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.kjq-kwshs:hover { background: color-mix(in srgb, var(--c-text) 6%, transparent); }
.kjq-pekav { display: flex; flex-shrink: 0; color: var(--c-text); }
.kjq-ndgnw { flex: 1; }
.kjq-jzazd { flex-shrink: 0; color: var(--c-text-muted); }

/* ===== Main / Hero ===== */
.kjq-hbhsg { flex: 1; min-width: 0; padding: 16px; }
/* 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). */
.kjq-gvmsc {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  padding: 30px 22px;
  /* Literal rgb here MUST NOT equal --c-accent/--c-purple's default (#ff3e3d/#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, 48, 234,0.32), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(219, 39, 118,0.28), transparent 50%),
    linear-gradient(135deg, #1c2647 0%, #0d1323 100%);
  isolation: isolate;
}
.kjq-gvmsc::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(239, 242, 244,0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.5;
}
.kjq-pzdvh { max-width: 640px; }
.kjq-xbmyt {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 13px;
}
.kjq-nrayq {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 21px;
}

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

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

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

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

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

/* ===== Promotions grid ===== */
.kjq-ryytc { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 18px 0 22px; }
.kjq-gwqpk { background: var(--c-surface); border-radius: 12px; padding: 19px; }
.kjq-gwqpk h3 { margin: 0 0 9px; font-size: 16px; }
.kjq-gwqpk p { margin: 0; font-size: 14px; color: var(--c-text-muted); }

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

/* ===== Footer ===== */
.kjq-wmxzx { background: var(--c-surface); margin-top: 32px; padding: 23px 14px; }
.kjq-bsqye { 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. */
.kjq-ztfsa {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.kjq-ztfsa a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 3px 9px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--c-text) 6%, transparent);
}
.kjq-ztfsa a:hover { background: color-mix(in srgb, var(--c-text) 12%, transparent); }
.kjq-ztfsa img {
  width: 6rem;
  height: 2.5rem;
  object-fit: contain;
  display: block;
}
.kjq-cfnnb { border: 0; border-top: 1px solid var(--c-border); margin: 21px 0; }
.kjq-rcavy { display: grid; grid-template-columns: 1fr; gap: 18px; }
.kjq-xajyd { border-bottom: 1px solid var(--c-border); }
.kjq-xajyd summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  list-style: none;
  min-height: 45px;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.kjq-xajyd summary::-webkit-details-marker { display: none; }
.kjq-xyqet { flex-shrink: 0; color: var(--c-text-muted); transition: transform 0.2s ease; }
.kjq-xajyd[open] .kjq-xyqet { transform: rotate(180deg); }
.kjq-xajyd ul { list-style: none; display: flex; flex-direction: column; gap: 9px; padding: 2px 0 14px; }
.kjq-xajyd a { color: var(--c-text-muted); text-decoration: none; font-size: 14px; }
.kjq-xajyd a:hover { color: var(--c-text); }
.kjq-xcred {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}
.kjq-bvvjd { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.kjq-bvvjd 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);
}
.kjq-bvvjd a:hover { background: var(--c-accent); }
.kjq-rqvmr { font-size: 13px; color: var(--c-text-muted); }
.kjq-rfkcq {
  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);
}
.kjq-rfkcq:hover { background: var(--c-purple); color: var(--c-on-purple); }

/* ===== Tablet ===== */
@media (min-width: 768px) {
  .kjq-gvmsc { padding: 45px 30px; }
  .kjq-xbmyt { font-size: 32px; }
  .kjq-rcavy { grid-template-columns: repeat(2, 1fr); }
  .kjq-xcred { flex-direction: row; justify-content: space-between; text-align: left; }

  .hqc-card { width: 145px; }
  .hqc-wins-card { min-width: 200px; }
  .kjq-ryytc { grid-template-columns: repeat(2, 1fr); }

  .kjq-xajyd { border-bottom: 0; }
  .kjq-xajyd summary { cursor: default; pointer-events: none; min-height: 0; padding: 0 0 14px; }
  .kjq-xyqet { display: none; }
  .kjq-xajyd ul { padding: 0; }
}

/* ===== Desktop ===== */
@media (min-width: 1024px) {
  .kjq-wqrbj { padding: 18px 33px; }
  .kjq-seepf { display: none; }
  .kjq-cfxeh { gap: 9px; }
  .kjq-cfxeh .kjq-mwrwz { padding: 12px 19px; font-size: 15px; }
  .kjq-bnrdt { flex: 0 1 auto; }
  .kjq-qvvdy { font-size: 19px; }

  .kjq-rwayh { display: none; }

  .kjq-rqtjt {
    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(--kjq-header-h);
    height: calc(100vh - var(--kjq-header-h));
    z-index: 1;
    max-width: none;
    width: 260px;
    transform: none;
    flex-shrink: 0;
    padding: 18px 12px;
  }
  .kjq-shwvm { display: none; }

  .kjq-hbhsg { padding: 23px 33px; }
  .kjq-gvmsc { padding: 56px 49px; }
  .kjq-xbmyt { font-size: 42px; }
  .kjq-nrayq { font-size: 20px; }
  .kjq-brmyq { width: auto; }

  .kjq-akmvv { padding: 0; }
  .kjq-wmxzx { padding: 30px; }
  .kjq-rcavy { grid-template-columns: repeat(4, 1fr); }

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.pcy-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 33px; }
    /* wrap обязателен: бейджей стало до семи, в один ряд они влезают только на широком
       десктопе, а на планшете иначе вылезали бы за контейнер. */
    .wn-rg { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 17px 20px; }
    .jaj-media img { aspect-ratio: 16 / 6.5; }
    .pcy-banner { flex-direction: row; align-items: center; gap: 22px; }
    .pcy-actions { flex: none; }
    .pcy-btn { flex: none; }
}
/* [hidden]-гард (2026-08-24): не поехал при извлечении pcy-блока */
[hidden]{display:none !important;}

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