/* Uniqueified: f20642f6 */
/* Prefix: tfn- */
/* Prefixes-map: wz->tfn */
/* Widget-prefixes: {"cb":"jvw","wg":"sbf","wb":"qwc","ms":"tbh","fl":"wea"} */
/* Classmap: {"wz-back-to-top":"tfn-wzbyp","wz-btn":"tfn-yecpc","wz-btn-cta":"tfn-qfswg","wz-btn-ghost":"tfn-mejcv","wz-btn-secondary":"tfn-ngpcb","wz-content":"tfn-daqkr","wz-el-back-to-top":"tfn-fwxmv","wz-el-hamburger":"tfn-edrzv","wz-el-header":"tfn-bnbdf","wz-el-overlay":"tfn-kexzn","wz-el-sidebar":"tfn-gpksm","wz-el-sidebar-close":"tfn-egymn","wz-faq-icon":"tfn-tcjhz","wz-faq-item":"tfn-dyqws","wz-footer":"tfn-rpxcw","wz-footer-badges":"tfn-veaeb","wz-footer-bottom":"tfn-npyss","wz-footer-chevron":"tfn-qfyng","wz-footer-col":"tfn-swmwq","wz-footer-copy":"tfn-gvbyg","wz-footer-divider":"tfn-ngrzk","wz-footer-inner":"tfn-hpzse","wz-footer-nav":"tfn-bvxey","wz-footer-social":"tfn-eamgn","wz-hamburger":"tfn-hqcbt","wz-header":"tfn-hdwyh","wz-header--scrolled":"tfn-prhxj","wz-header-actions":"tfn-ajbhd","wz-header-inner":"tfn-mrbcc","wz-hero":"tfn-nnnxc","wz-hero-body":"tfn-crcda","wz-hero-subtitle":"tfn-ewftc","wz-hero-title":"tfn-beamn","wz-layout":"tfn-yjarf","wz-logo":"tfn-ggrxm","wz-logo-mark":"tfn-zfcra","wz-logo-text":"tfn-vmbyz","wz-main":"tfn-wbzxr","wz-nav-chevron":"tfn-vmdej","wz-nav-icon":"tfn-xafmq","wz-nav-label":"tfn-jgjfv","wz-nav-link":"tfn-eftse","wz-nav-list":"tfn-spzhw","wz-promo-card":"tfn-tatjd","wz-promo-grid":"tfn-rcvdc","wz-sidebar":"tfn-dnadg","wz-sidebar--open":"tfn-frkmk","wz-sidebar-close":"tfn-nwgfa","wz-sidebar-overlay":"tfn-ksenw","wz-sidebar-overlay--visible":"tfn-aatem"} */
:root{
  --c-bg:#20203d; --c-surface:#503f80; --c-surface-alt:#5f4c95; --c-border:#6a54ac;
  --c-text:#d0ad90; --c-text-muted:#8a7673;
  --c-accent:#617438; --c-accent-hover:#83994d; --c-on-accent:#fffffe;
  --c-purple:#d0b093; --c-purple-hover:#e1ccb8; --c-on-purple:#222040;
  --c-green:#3fe38a; --c-shadow:rgba(2, 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. */
  --tfn-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(14, 18, 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 ===== */
.tfn-hdwyh {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--c-surface);
  padding: 12px 14px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 1,0.2), 0 2px 4px -1px rgba(1, 0, 0,0.12);
}
.tfn-prhxj {
  box-shadow: 0 4px 10px -1px var(--c-shadow);
}
.tfn-mrbcc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: 1600px;
  margin: 0 auto;
}
.tfn-hqcbt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 45px;
  height: 45px;
  flex-shrink: 0;
}
.tfn-hqcbt span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
}
.tfn-ggrxm {
  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. */
.tfn-zfcra { flex-shrink: 0; line-height: 0; max-height: 36px; width: auto; }
img.tfn-zfcra { height: 36px; object-fit: contain; }
.tfn-vmbyz {
  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). */
.tfn-ajbhd { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.tfn-ajbhd .tfn-yecpc { padding: 9px 14px; font-size: 13px; }

/* ===== Buttons ===== */
.tfn-yecpc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 11px 18px;
  border-radius: 10px;
  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 */
.tfn-mejcv { background: #9d9f9f; color: #0b1223; }
.tfn-mejcv:hover { background: #8a8a88; }
.tfn-ngpcb { background: var(--c-purple); color: var(--c-on-purple); }
.tfn-ngpcb:hover { background: var(--c-purple-hover); }
.tfn-qfswg {
  background: var(--c-accent);
  color: var(--c-on-accent);
  border-radius: 13px;
  font-size: 18px;
  padding: 15px 23px;
  width: 100%;
}
.tfn-qfswg:hover { background: var(--c-accent-hover); }

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

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

/* ===== Sidebar ===== */
.tfn-dnadg {
  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 16px;
}
.tfn-frkmk { transform: translateX(0); }
.tfn-nwgfa {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  align-self: flex-end;
  color: var(--c-text);
  margin-bottom: 10px;
}
.tfn-spzhw { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.tfn-eftse {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 45px;
  padding: 12px 11px;
  border-radius: 7px;
  color: var(--c-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.tfn-eftse:hover { background: color-mix(in srgb, var(--c-text) 6%, transparent); }
.tfn-xafmq { display: flex; flex-shrink: 0; color: var(--c-text); }
.tfn-jgjfv { flex: 1; }
.tfn-vmdej { flex-shrink: 0; color: var(--c-text-muted); }

/* ===== Main / Hero ===== */
.tfn-wbzxr { flex: 1; min-width: 0; padding: 12px; }
/* Hero glow is decorative atmosphere, intentionally NOT brand-mapped — mixing --c-accent
   and --c-purple in one gradient collapses into a flat block on palettes where they're
   near-identical (see docs/new-base-template-onboarding.md §1, HeroCard incident). */
.tfn-nnnxc {
  position: relative;
  border-radius: 17px;
  overflow: hidden;
  padding: 31px 21px;
  /* Literal rgb here MUST NOT equal --c-accent/--c-purple's default (#ff3d3e/#03b4ef) —
     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(218, 39, 119,0.28), transparent 50%),
    linear-gradient(135deg, #1a2649 0%, #0d1423 100%);
  isolation: isolate;
}
.tfn-nnnxc::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(240, 242, 243,0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.5;
}
.tfn-crcda { max-width: 640px; }
.tfn-beamn {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 13px;
}
.tfn-ewftc {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 19px;
}

/* Breadcrumbs — printed by the shared `breadcrumbsHtml` snippet with a LITERAL `breadcrumbs`
   class (no prefix, so cloneTemplate() never renames it; styling it directly is safe). The
   snippet returns '' on the homepage, so this only ever shows on inner pages. */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  font-size: 13px;
  color: var(--c-text-muted);
  margin-bottom: 16px;
}
.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 ===== */
.tfn-daqkr { max-width: 900px; margin: 27px auto 0; padding: 0 5px; }
.tfn-daqkr h1, .tfn-daqkr h2, .tfn-daqkr h3,
.tfn-daqkr h4, .tfn-daqkr h5, .tfn-daqkr h6 {
  font-weight: 700;
  line-height: 1.25;
  margin: 29px 0 13px;
}
.tfn-daqkr h1 { font-size: 28px; font-weight: 600; margin-top: 0; }
.tfn-daqkr h2 { font-size: 22px; }
.tfn-daqkr h3 { font-size: 19px; }
.tfn-daqkr h4 { font-size: 17px; }
.tfn-daqkr h5, .tfn-daqkr h6 { font-size: 15px; }
.tfn-daqkr p { margin-bottom: 16px; color: var(--c-text); }
.tfn-daqkr ul, .tfn-daqkr ol { margin: 0 0 12px 18px; }
.tfn-daqkr li { margin-bottom: 5px; }
.tfn-daqkr a { color: var(--c-purple); text-decoration: underline; }
.tfn-daqkr a:hover { color: var(--c-accent); }
.tfn-daqkr strong { font-weight: 700; }
.tfn-daqkr em { font-style: italic; }
.tfn-daqkr img { border-radius: 10px; margin: 13px 0; }
.tfn-daqkr blockquote {
  border-left: 3px solid var(--c-accent);
  background: var(--c-surface);
  padding: 16px 17px;
  border-radius: 0 11px 8px 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
   tfn-* 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. */
.tfn-daqkr table {
  width: 100%;
  border-collapse: collapse;
  background: var(--c-surface);
  border-radius: 14px;
  overflow: hidden;
}
@media (max-width: 767px) {
  .tfn-daqkr table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    border-radius: 10px;
  }
}
.tfn-daqkr th, .tfn-daqkr td {
  text-align: left;
  padding: 10px 15px;
  font-size: 14px;
}
.tfn-daqkr th { font-weight: 700; background: var(--c-bg); }
.tfn-daqkr td { color: var(--c-text-muted); }
.tfn-daqkr tbody tr:nth-child(odd) { background: var(--c-surface); }
.tfn-daqkr tbody tr:nth-child(even) { background: var(--c-bg); }

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

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

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

/* ===== Promotions grid ===== */
.tfn-rcvdc { display: grid; grid-template-columns: 1fr; gap: 13px; margin: 15px 0 26px; }
.tfn-tatjd { background: var(--c-surface); border-radius: 12px; padding: 20px; }
.tfn-tatjd h3 { margin: 0 0 7px; font-size: 16px; }
.tfn-tatjd p { margin: 0; font-size: 14px; color: var(--c-text-muted); }

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

/* ===== Footer ===== */
.tfn-rpxcw { background: var(--c-surface); margin-top: 28px; padding: 23px 15px; }
.tfn-hpzse { 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. */
.tfn-veaeb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  justify-content: center;
}
.tfn-veaeb a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 6px 12px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--c-text) 6%, transparent);
}
.tfn-veaeb a:hover { background: color-mix(in srgb, var(--c-text) 12%, transparent); }
.tfn-veaeb img {
  width: 6rem;
  height: 2.5rem;
  object-fit: contain;
  display: block;
}
.tfn-ngrzk { border: 0; border-top: 1px solid var(--c-border); margin: 18px 0; }
.tfn-bvxey { display: grid; grid-template-columns: 1fr; gap: 19px; }
.tfn-swmwq { border-bottom: 1px solid var(--c-border); }
.tfn-swmwq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  list-style: none;
  min-height: 45px;
  padding: 5px 0;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.tfn-swmwq summary::-webkit-details-marker { display: none; }
.tfn-qfyng { flex-shrink: 0; color: var(--c-text-muted); transition: transform 0.2s ease; }
.tfn-swmwq[open] .tfn-qfyng { transform: rotate(180deg); }
.tfn-swmwq ul { list-style: none; display: flex; flex-direction: column; gap: 8px; padding: 2px 0 18px; }
.tfn-swmwq a { color: var(--c-text-muted); text-decoration: none; font-size: 14px; }
.tfn-swmwq a:hover { color: var(--c-text); }
.tfn-npyss {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}
.tfn-eamgn { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.tfn-eamgn 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);
}
.tfn-eamgn a:hover { background: var(--c-accent); }
.tfn-gvbyg { font-size: 13px; color: var(--c-text-muted); }
.tfn-wzbyp {
  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);
}
.tfn-wzbyp:hover { background: var(--c-purple); color: var(--c-on-purple); }

/* ===== Tablet ===== */
@media (min-width: 768px) {
  .tfn-nnnxc { padding: 45px 31px; }
  .tfn-beamn { font-size: 32px; }
  .tfn-bvxey { grid-template-columns: repeat(2, 1fr); }
  .tfn-npyss { flex-direction: row; justify-content: space-between; text-align: left; }

  .sbf-card { width: 145px; }
  .sbf-wins-card { min-width: 200px; }
  .tfn-rcvdc { grid-template-columns: repeat(2, 1fr); }

  .tfn-swmwq { border-bottom: 0; }
  .tfn-swmwq summary { cursor: default; pointer-events: none; min-height: 0; padding: 0 0 10px; }
  .tfn-qfyng { display: none; }
  .tfn-swmwq ul { padding: 0; }
}

/* ===== Desktop ===== */
@media (min-width: 1024px) {
  .tfn-hdwyh { padding: 17px 34px; }
  .tfn-hqcbt { display: none; }
  .tfn-ajbhd { gap: 12px; }
  .tfn-ajbhd .tfn-yecpc { padding: 9px 22px; font-size: 15px; }
  .tfn-ggrxm { flex: 0 1 auto; }
  .tfn-vmbyz { font-size: 19px; }

  .tfn-ksenw { display: none; }

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

  .tfn-wbzxr { padding: 26px 33px; }
  .tfn-nnnxc { padding: 56px 46px; }
  .tfn-beamn { font-size: 42px; }
  .tfn-ewftc { font-size: 20px; }
  .tfn-qfswg { width: auto; }

  .tfn-daqkr { padding: 0; }
  .tfn-rpxcw { padding: 30px; }
  .tfn-bvxey { grid-template-columns: repeat(4, 1fr); }

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.jvw-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: 14px 21px; }
    .qwc-media img { aspect-ratio: 16 / 6.5; }
    .jvw-banner { flex-direction: row; align-items: center; gap: 22px; }
    .jvw-actions { flex: none; }
    .jvw-btn { flex: none; }
}
/* [hidden]-гард (2026-08-24): не поехал при извлечении jvw-блока */
[hidden]{display:none !important;}

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