/* Uniqueified: a88f1449 */
/* Prefix: jhqz- */
/* Prefixes-map: wz->jhqz */
/* Widget-prefixes: {"cb":"gjcx","wg":"fmdz","wb":"csmt","ms":"kqpd","fl":"grsy","lm":"anps","rv":"jtxp"} */
/* Classmap: {"wz-back-to-top":"jhqz-eafah","wz-btn":"jhqz-fdaps","wz-btn-cta":"jhqz-evtta","wz-btn-ghost":"jhqz-kzdkm","wz-btn-secondary":"jhqz-hemcf","wz-content":"jhqz-gwjdz","wz-el-back-to-top":"jhqz-gkfff","wz-el-hamburger":"jhqz-jfbsj","wz-el-header":"jhqz-nwjpx","wz-el-overlay":"jhqz-bsrmj","wz-el-sidebar":"jhqz-djvyg","wz-el-sidebar-close":"jhqz-qxnxd","wz-faq-icon":"jhqz-kwqca","wz-faq-item":"jhqz-pmcws","wz-footer":"jhqz-tdfsn","wz-footer-badges":"jhqz-dkafc","wz-footer-bottom":"jhqz-attpt","wz-footer-chevron":"jhqz-swqds","wz-footer-col":"jhqz-pzzpk","wz-footer-copy":"jhqz-enbpg","wz-footer-divider":"jhqz-ebbzb","wz-footer-inner":"jhqz-mbcfb","wz-footer-nav":"jhqz-dbwpz","wz-footer-social":"jhqz-jejns","wz-hamburger":"jhqz-cnprv","wz-header":"jhqz-gjxns","wz-header--scrolled":"jhqz-dbnsz","wz-header-actions":"jhqz-jfadc","wz-header-inner":"jhqz-bkgcd","wz-hero":"jhqz-hrtyp","wz-hero-body":"jhqz-mfqrz","wz-hero-subtitle":"jhqz-gbqcs","wz-hero-title":"jhqz-wjrbr","wz-layout":"jhqz-yzjnp","wz-logo":"jhqz-nsrzw","wz-logo-mark":"jhqz-empbm","wz-logo-text":"jhqz-ndphd","wz-main":"jhqz-ydfzm","wz-nav-chevron":"jhqz-mgbze","wz-nav-icon":"jhqz-nzksz","wz-nav-label":"jhqz-qxzdt","wz-nav-link":"jhqz-xakfx","wz-nav-list":"jhqz-ccptx","wz-promo-card":"jhqz-yqthz","wz-promo-grid":"jhqz-satcc","wz-sidebar":"jhqz-jhssh","wz-sidebar--open":"jhqz-dpwxr","wz-sidebar-close":"jhqz-kwhpm","wz-sidebar-overlay":"jhqz-shghf","wz-sidebar-overlay--visible":"jhqz-ppgab"} */
:root{
  --c-bg:#3b3a3a; --c-surface:#4c4c4f; --c-surface-alt:#5e5e5b; --c-border:#686b6b;
  --c-text:#f2f1f7; --c-text-muted:#a8a7ab;
  --c-accent:#2093ff; --c-accent-hover:#57afff; --c-on-accent:#010000;
  --c-purple:#2193ff; --c-purple-hover:#57afff; --c-on-purple:#000001;
  --c-green:#3ee08a; --c-shadow:rgba(3, 0, 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. */
  --jhqz-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, 36, .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 ===== */
.jhqz-gjxns {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--c-surface);
  padding: 12px 14px;
  box-shadow: 0 4px 6px -1px rgba(3, 0, 0,0.2), 0 2px 4px -1px rgba(1, 0, 0,0.12);
}
.jhqz-dbnsz {
  box-shadow: 0 4px 10px -1px var(--c-shadow);
}
.jhqz-bkgcd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  max-width: 1600px;
  margin: 0 auto;
}
.jhqz-cnprv {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 45px;
  height: 45px;
  flex-shrink: 0;
}
.jhqz-cnprv span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
}
.jhqz-nsrzw {
  display: flex;
  align-items: center;
  gap: 11px;
  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. */
.jhqz-empbm { flex-shrink: 0; line-height: 0; max-height: 36px; width: auto; }
img.jhqz-empbm { height: 36px; object-fit: contain; }
.jhqz-ndphd {
  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). */
.jhqz-jfadc { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.jhqz-jfadc .jhqz-fdaps { padding: 11px 10px; font-size: 13px; }

/* ===== Buttons ===== */
.jhqz-fdaps {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 8px 18px;
  border-radius: 9px;
  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 */
.jhqz-kzdkm { background: #9f9fa0; color: #0d0f23; }
.jhqz-kzdkm:hover { background: #8b8a8a; }
.jhqz-hemcf { background: var(--c-purple); color: var(--c-on-purple); }
.jhqz-hemcf:hover { background: var(--c-purple-hover); }
.jhqz-evtta {
  background: var(--c-accent);
  color: var(--c-on-accent);
  border-radius: 13px;
  font-size: 18px;
  padding: 13px 23px;
  width: 100%;
}
.jhqz-evtta:hover { background: var(--c-accent-hover); }

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

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

/* ===== Sidebar ===== */
.jhqz-jhssh {
  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;
}
.jhqz-dpwxr { transform: translateX(0); }
.jhqz-kwhpm {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  align-self: flex-end;
  color: var(--c-text);
  margin-bottom: 6px;
}
.jhqz-ccptx { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.jhqz-xakfx {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 45px;
  padding: 11px 13px;
  border-radius: 9px;
  color: var(--c-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.jhqz-xakfx:hover { background: color-mix(in srgb, var(--c-text) 6%, transparent); }
.jhqz-nzksz { display: flex; flex-shrink: 0; color: var(--c-text); }
.jhqz-qxzdt { flex: 1; }
.jhqz-mgbze { flex-shrink: 0; color: var(--c-text-muted); }

/* ===== Main / Hero ===== */
.jhqz-ydfzm { 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). */
.jhqz-hrtyp {
  position: relative;
  border-radius: 13px;
  overflow: hidden;
  padding: 34px 22px;
  /* Literal rgb here MUST NOT equal --c-accent/--c-purple's default (#ff3f3d/#00b4f0) —
     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(148, 51, 234,0.32), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(219, 39, 122,0.28), transparent 50%),
    linear-gradient(135deg, #1a264a 0%, #101223 100%);
  isolation: isolate;
}
.jhqz-hrtyp::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(240, 244, 244,0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.5;
}
.jhqz-mfqrz { max-width: 640px; }
.jhqz-wjrbr {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
}
.jhqz-gbqcs {
  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: 5px;
  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: 7px; color: var(--c-text-muted); }

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

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

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

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

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

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

/* ===== Footer ===== */
.jhqz-tdfsn { background: var(--c-surface); margin-top: 28px; padding: 23px 15px; }
.jhqz-mbcfb { 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. */
.jhqz-dkafc {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  align-items: center;
  justify-content: center;
}
.jhqz-dkafc a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 6px 9px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--c-text) 6%, transparent);
}
.jhqz-dkafc a:hover { background: color-mix(in srgb, var(--c-text) 12%, transparent); }
.jhqz-dkafc img {
  width: 6rem;
  height: 2.5rem;
  object-fit: contain;
  display: block;
}
.jhqz-ebbzb { border: 0; border-top: 1px solid var(--c-border); margin: 21px 0; }
.jhqz-dbwpz { display: grid; grid-template-columns: 1fr; gap: 22px; }
.jhqz-pzzpk { border-bottom: 1px solid var(--c-border); }
.jhqz-pzzpk summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  list-style: none;
  min-height: 45px;
  padding: 3px 0;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.jhqz-pzzpk summary::-webkit-details-marker { display: none; }
.jhqz-swqds { flex-shrink: 0; color: var(--c-text-muted); transition: transform 0.2s ease; }
.jhqz-pzzpk[open] .jhqz-swqds { transform: rotate(180deg); }
.jhqz-pzzpk ul { list-style: none; display: flex; flex-direction: column; gap: 8px; padding: 2px 0 15px; }
.jhqz-pzzpk a { color: var(--c-text-muted); text-decoration: none; font-size: 14px; }
.jhqz-pzzpk a:hover { color: var(--c-text); }
.jhqz-attpt {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}
.jhqz-jejns { display: flex; gap: 9px; flex-wrap: wrap; justify-content: center; }
.jhqz-jejns 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);
}
.jhqz-jejns a:hover { background: var(--c-accent); }
.jhqz-enbpg { font-size: 13px; color: var(--c-text-muted); }
.jhqz-eafah {
  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);
}
.jhqz-eafah:hover { background: var(--c-purple); color: var(--c-on-purple); }

/* ===== Tablet ===== */
@media (min-width: 768px) {
  .jhqz-hrtyp { padding: 43px 30px; }
  .jhqz-wjrbr { font-size: 32px; }
  .jhqz-dbwpz { grid-template-columns: repeat(2, 1fr); }
  .jhqz-attpt { flex-direction: row; justify-content: space-between; text-align: left; }

  .fmdz-card { width: 145px; }
  .fmdz-wins-card { min-width: 200px; }
  .jhqz-satcc { grid-template-columns: repeat(2, 1fr); }

  .jhqz-pzzpk { border-bottom: 0; }
  .jhqz-pzzpk summary { cursor: default; pointer-events: none; min-height: 0; padding: 0 0 11px; }
  .jhqz-swqds { display: none; }
  .jhqz-pzzpk ul { padding: 0; }
}

/* ===== Desktop ===== */
@media (min-width: 1024px) {
  .jhqz-gjxns { padding: 17px 33px; }
  .jhqz-cnprv { display: none; }
  .jhqz-jfadc { gap: 12px; }
  .jhqz-jfadc .jhqz-fdaps { padding: 9px 22px; font-size: 15px; }
  .jhqz-nsrzw { flex: 0 1 auto; }
  .jhqz-ndphd { font-size: 19px; }

  .jhqz-shghf { display: none; }

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

  .jhqz-ydfzm { padding: 26px 34px; }
  .jhqz-hrtyp { padding: 56px 47px; }
  .jhqz-wjrbr { font-size: 42px; }
  .jhqz-gbqcs { font-size: 20px; }
  .jhqz-evtta { width: auto; }

  .jhqz-gwjdz { padding: 0; }
  .jhqz-tdfsn { padding: 30px; }
  .jhqz-dbwpz { grid-template-columns: repeat(4, 1fr); }

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

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

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


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

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

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

.gjcx-actions { display: flex; flex-wrap: wrap; gap: 10px; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* LastModified #250 [Base] Winzter1 — подпись в рамке справа, вместе с автором страницы.
   Дописывать В КОНЕЦ assets/css/wz1.min.css.
   Структура иная, чем у #42: aside > dl > dt/dd, а не строка.
   ⛔ float не используем — в .jhqz-gwjdz он утащил бы за собой обтекание FAQ.
      Прижимаем margin-left:auto, это не влияет на соседей. */
.anps-box{display:block;width:max-content;max-width:100%;margin:16px 0 16px auto;padding:14px 12px;border:1px solid #333d5c;border-radius:12px;background:#1b2534}
.anps-meta{margin:0;font-size:12px;line-height:1.5}
.anps-key{margin:0;font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:#7e87a3}
.anps-val{margin:2px 0 0;color:#dee5f0;font-weight:600}
.anps-key--by{margin-top:6px}
.anps-val--by{font-weight:400;color:#9aa3bd}
/* ── Comments block (rv) — [Base] Winzter1 #250 ─────────────────────────────
   Раскладка: список в столбик, вертикальная линейка слева, дата под текстом.
   ⛔ Значения ЛИТЕРАЛАМИ (#hex и px), не var()/rem — иначе джиттер их не двигает.
   Палитра и приёмы взяты из темы: surface #111f38, accent #ff403d,
   синий #00b7ef, muted #9fa19f, радиус 12px, тень 0 4px 10px -1px,
   срезанный радиус слева — как у существующего `border-radius: 0 12px 9px 0`. */
.jtxp-list{margin:30px 0}
.jtxp-lead{font-size:26px;line-height:1.3;margin:0 0 19px;color:#f0f5f4}
.jtxp-item{border-left:3px solid #ff3d3c;background:#111c38;border-radius:0 13px 13px 0;padding:12px 16px 14px;margin-bottom:11px;box-shadow:0 4px 10px -1px rgba(0, 0, 1,.35)}
.jtxp-who{display:flex;align-items:center;gap:9px;margin:0 0 10px;color:#f2f2f4;font-size:16px}
.jtxp-score{background:#00b4f2;color:#0d1523;border-radius:6px;padding:1px 9px;font-size:13px;font-weight:700}
.jtxp-quote{margin:0;padding:0;border:0;color:#a29f9f;font-size:14px;line-height:1.6}
.jtxp-when{display:block;margin-top:9px;color:#9f9fa1;font-size:12px}
@media (max-width:560px){.jtxp-item{padding:11px 12px 15px}.jtxp-who{flex-wrap:wrap}}
