/* Наши правки поверх снятого CSS */

/* страница не должна ёрзать по горизонтали */
html,
body {
  overflow-x: clip;
}
html {
  scrollbar-width: none;
}
html::-webkit-scrollbar {
  display: none;
}

/* в снятом DOM ленивые обложки остались с opacity:0 — показываем все */
[data-testid="game-tile-link"] img {
  opacity: 1 !important;
}
[data-testid="game-tile-link"] img[aria-hidden="true"]:has(+ img) {
  opacity: 0 !important;
}

/* ряд карточек режем по контейнеру, а не по документу */
[data-testid="games-carousel"] {
  min-width: 0;
}

/* ---------- главная: баннеры и полосы по 8 игр ---------- */
[data-testid="casino-banner"] {
  border-radius: 32px;
}
[data-testid="banners-carousel"] .shrink-0 {
  view-transition-class: casino-banner;
  transition: flex-basis 300ms ease, min-width 300ms ease, max-width 300ms ease;
}
::view-transition-group(.casino-banner) {
  animation-duration: 300ms;
  animation-timing-function: ease-in-out;
}
::view-transition {
  pointer-events: none;
}
:root {
  view-transition-name: none;
}
/* Ряды игр. Замеры thrill.com 26.11: карточка 146×199 (aspect 188/256),
   column-gap 10px, скругления нет (border-radius 0 и у плитки, и у картинки);
   в трек 1238px становится ровно 8 карточек: 8*146 + 7*10 = 1238.
   Раньше ширина считалась дробью (12.5%) при gap 16 — отсюда 141×192. */
[data-catalog-category] .no-scrollbar {
  display: flex;
  gap: 10px;
  min-height: 0 !important;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
}
[data-catalog-category] .no-scrollbar > [data-testid="game-tile-link"],
[data-catalog-category] .no-scrollbar > .aspect-188\/256 {
  flex: 0 0 146px;
  width: 146px !important;
  min-width: 0 !important;
  max-width: none !important;
  margin-right: 0 !important;
  border-radius: 0;
  scroll-snap-align: start;
}
[data-catalog-category] .no-scrollbar > [data-testid="game-tile-link"] img,
[data-catalog-category] .no-scrollbar > .aspect-188\/256 img {
  border-radius: 0;
}
@media (max-width: 1279px) {
  [data-catalog-category] .no-scrollbar > [data-testid="game-tile-link"],
  [data-catalog-category] .no-scrollbar > .aspect-188\/256 {
    flex-basis: 146px;
  }
}
@media (max-width: 1023px) {
  [data-catalog-category] .no-scrollbar > [data-testid="game-tile-link"],
  [data-catalog-category] .no-scrollbar > .aspect-188\/256 {
    flex-basis: 146px;
  }
}
@media (max-width: 639px) {
  [data-testid="casino-banner"] {
    border-radius: 24px;
  }
  [data-catalog-category] .no-scrollbar {
    gap: 8px;
  }
  [data-catalog-category] .no-scrollbar > [data-testid="game-tile-link"],
  [data-catalog-category] .no-scrollbar > .aspect-188\/256 {
    flex-basis: 146px;
  }
}
/* Рельса и развёрнутая панель. Донор держит в DOM ровно одну из них: пока
   панель свёрнута — узкую рельсу (104px), когда развёрнута — панель 280px.
   В снятой разметке обе лежат в одной точке, и развёрнутая накладывается на
   рельсу пунктами по 240px шириной — отсюда «дублирующие категории». */
:root:not(.nav-open) nav[data-nav-state="expanded"] {
  display: none;
}
:root.nav-open nav[data-nav-state="collapsed"] {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-testid="banners-carousel"] .shrink-0 {
    transition: none;
  }
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}
/* Замер донора (0.OnB57U6S.css): @media (prefers-reduced-motion: reduce) { * { transition: none !important; } }.
   На этой машине reduce включён, поэтому у донора ЛЮБОЙ computed transition = "none 0s"
   (замерено на плитке ряда категорий: классы transition-[background-color,color,translate]
   duration-150 есть, а вычисляется none). У нас же правила с transition и !important
   (плитки категорий, hover-состояния) продолжали анимировать 150-300ms. */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---------- портал тостов ----------
   Замер донора 27.11: <div class="fixed z-toast-portal"> (position fixed,
   z-index 170) → <div data-testid="toasts" data-prevent-outside-interaction>
   c классом `fixed top-0 right-0 flex w-full flex-col-reverse gap-8 p-16
   sm:max-w-[440px] sm:p-24`. Вычисленные значения при пустом списке тостов:
   fixed top:0 right:0, width 440px, высота 48px (= паддинг 24px сверху и
   снизу), display flex, column-reverse, gap 8px. У нас этот узел раньше не
   создавался вовсе, поэтому правый верхний угол страницы не имел контейнера
   уведомлений. */
.hd-toast-portal { position: fixed; z-index: 170; }
.hd-toasts {
  position: fixed; top: 0; right: 0; box-sizing: border-box;
  display: flex; flex-direction: column-reverse; gap: 8px;
  width: 100%; max-width: 440px; padding: 24px;
  /* Пустой контейнер у донора visibility: hidden (замер 27.11), поэтому он не
     перехватывает клики: elementFromPoint(2520,34) на доноре возвращает кнопку
     шапки, а не этот узел. Без hidden our host накрывал кнопку аккаунта. */
  visibility: hidden;
}
.hd-toasts:not(:empty) { visibility: visible; }
@media (max-width: 639px) {
  .hd-toasts { max-width: none; padding: 16px; }
}

/* ---------- общий слот ---------- */
.slot-shell { min-height: 100vh; margin: 0 auto; padding: 18px clamp(12px, 3vw, 30px) 28px; background: #0b0d15; color: #dfe4ee; }
.slot-header { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.slot-back { width: 38px; height: 38px; border-radius: 50%; background: #191c27; color: #8f9bb2; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.slot-header h1 { margin: 0; font: 800 clamp(18px, 3vw, 26px)/1 Oxanium, sans-serif; color: #fff; }
.slot-provider { color: #858fa6; font: 600 11px Oxanium, sans-serif; margin-left: auto; }
.slot-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 18px; max-width: 1180px; margin: 0 auto; }
.slot-panel { display: flex; flex-direction: column; gap: 14px; padding: 18px; border: 1px solid #262a38; border-radius: 20px; background: #151721; }
.slot-balance, .slot-total { display: flex; align-items: baseline; justify-content: space-between; color: #858fa6; font: 600 11px Oxanium, sans-serif; }
.slot-balance b, .slot-total b { color: #fff; font: 800 18px/1 Oxanium, sans-serif; font-variant-numeric: tabular-nums; }
.slot-field { display: grid; gap: 7px; color: #858fa6; font: 600 11px Oxanium, sans-serif; }
.slot-field div { display: flex; gap: 5px; }
.slot-field button { width: 32px; height: 40px; border-radius: 10px; background: #222734; color: #dfe4ee; cursor: pointer; }
.slot-field input { flex: 1; min-width: 0; height: 40px; border-radius: 10px; border: 1px solid #3ee0b4; background: #1b1e28; color: #fff; text-align: center; font: 700 13px Oxanium, sans-serif; }
.slot-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.slot-chips button { height: 30px; border-radius: 9px; background: #222734; color: #dfe4ee; font: 700 11px Oxanium, sans-serif; cursor: pointer; }
#slotSpin { height: 54px; margin-top: auto; border-radius: 18px; background: linear-gradient(180deg, #67ebc7, #33d0a7); color: #10231d; font: 800 14px Oxanium, sans-serif; text-transform: uppercase; cursor: pointer; }
#slotSpin:disabled { opacity: .55; cursor: wait; }
.slot-stage { position: relative; min-height: 430px; border: 1px solid #262a38; border-radius: 20px; background: radial-gradient(circle at 50% 10%, #221a36, #121521 60%, #0d1018); padding: clamp(14px, 3vw, 26px); }
.slot-board { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(6px, 1vw, 12px); }
.slot-cell { display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: 16px; background: #171b28; border: 1px solid #272c3b; transition: background-color 200ms, border-color 200ms, scale 200ms; }
.slot-board.rolling .slot-cell { animation: slotPulse 250ms linear infinite; }
@keyframes slotPulse { 50% { opacity: .65; translate: 0 4px; } }
.slot-cell.win { background: #1f3b33; border-color: #3ee0b4; scale: 1.03; }
.slot-result { margin-top: 12px; min-height: 30px; color: #a9b1c5; text-align: center; font: 700 13px Oxanium, sans-serif; }
.slot-paytable { max-width: 1180px; margin: 18px auto 0; color: #a9b1c5; }
.slot-paytable summary { cursor: pointer; font: 700 12px Oxanium, sans-serif; }
#slotPays { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; padding: 12px 0 0; }
.slot-pay { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: #151823; font: 600 10px Oxanium, sans-serif; }
@media (max-width: 900px) {
  .slot-layout { grid-template-columns: 1fr; }
  .slot-stage { order: -1; min-height: 0; }
  .slot-panel { position: sticky; bottom: 0; z-index: 2; }
  .slot-board { aspect-ratio: 5 / 2.4; }
}

/* ---------- чат ---------- */
.chat-panel {
  position: fixed; top: 68px; right: 0; bottom: 80px; width: 360px;
  display: flex; flex-direction: column; border-radius: 32px 0 0 32px;
  background: var(--color-background-secondary, #1b1d29); border: 1px solid #262a38; z-index: 60; overflow: hidden;
  box-shadow: -16px 0 40px rgba(0,0,0,.24);
  transform: translateX(100%); visibility: hidden; pointer-events: none;
  transition: transform .3s ease, visibility .3s ease;
}
.chat-panel.on { transform: none; visibility: visible; pointer-events: auto; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid #262a38; }
.chat-channel-wrap { position: relative; flex: 1; }
.chat-channel {
  display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px 12px;
  border: 0; border-radius: 12px; background: #14161f; color: #dfe4ee; cursor: pointer;
  font: 700 11px Oxanium, sans-serif; letter-spacing: .05em;
}
.chat-channel span { color: #858fa6; }
.chat-close { width: 32px; height: 32px; border: 0; border-radius: 50%; background: #14161f; color: #858fa6; cursor: pointer; }
.chat-menu {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 4;
  padding: 6px; border: 1px solid #262a38; border-radius: 16px; background: #14161f;
  box-shadow: 0 12px 28px rgba(0,0,0,.32);
}
.chat-menu button {
  display: flex; width: 100%; padding: 11px 12px; border: 0; border-radius: 10px;
  background: none; color: #dfe4ee; text-align: left; text-transform: uppercase;
  font: 700 11px Oxanium, sans-serif; cursor: pointer;
}
.chat-menu button:hover { background: #262a38; }
.chat-menu [hidden], .chat-rules-panel[hidden] { display: none; }
.chat-feed {
  flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column;
  gap: 10px; font: 500 12px/1.45 Oxanium, sans-serif; color: #dfe4ee;
}
.chat-msg b { color: #3ee0b4; font-weight: 700; margin-right: 4px; }
.chat-foot { border-top: 1px solid #262a38; padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.chat-wager { color: #858fa6; font: 600 10px Oxanium, sans-serif; text-transform: uppercase; }
.chat-progress { height: 4px; margin-top: 7px; border-radius: 4px; background: #262a38; overflow: hidden; }
.chat-progress i { display: block; width: 0; height: 100%; background: #3ee0b4; }
.chat-meta { display: flex; align-items: center; justify-content: space-between; color: #858fa6; font: 500 10px Oxanium, sans-serif; }
.chat-actions { display: flex; gap: 10px; }
.chat-actions button { border: 0; background: none; color: #3ee0b4; font: inherit; padding: 0; cursor: pointer; }
.chat-actions button:disabled { color: #626b7e; cursor: default; }
.chat-entry { display: flex; align-items: center; height: 44px; border: 1px solid #262a38; border-radius: 40px; background: #14161f; }
.chat-plus { width: 40px; height: 40px; border: 0; background: none; color: #858fa6; font-size: 20px; }
.chat-input { flex: 1; min-width: 0; border: 0; background: none; color: #dfe4ee; padding: 0 12px 0 0; font: 500 12px Oxanium, sans-serif; outline: none; }
.chat-input:disabled { opacity: .65; }
.chat-rules-panel { position: absolute; inset: 0; z-index: 5; overflow-y: auto; background: #1b1d29; padding: 18px; color: #dfe4ee; }
.chat-rules-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.chat-rules-head button { border: 0; background: none; color: #858fa6; cursor: pointer; }
.chat-rules-panel ol { padding-left: 22px; font: 500 11px/1.55 Oxanium, sans-serif; }
.chat-rules-panel li { margin-bottom: 9px; }

/* ---------- поиск ---------- */
dialog.search-wrap {
  position: fixed; inset: 0; z-index: 9999; display: none; align-items: flex-start; justify-content: center;
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 24px;
  border: 0; background: transparent; color: #dfe4ee; overflow: hidden;
}
dialog.search-wrap[open] { display: flex; }
dialog.search-wrap::backdrop { background: rgba(10,11,18,.72); backdrop-filter: blur(8px); }
dialog.search-wrap:modal { overscroll-behavior: contain; }
dialog.search-wrap::backdrop { overflow: hidden; overscroll-behavior: contain; }
.search-wrap.on { display: flex; }
.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important;
  margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important; border: 0 !important;
}
.search-box {
  width: min(1120px, 100%); max-height: calc(100dvh - 48px); overflow-y: auto;
  padding: 20px; border: 1px solid #262a38; border-radius: 28px; background: #1b1d29;
  box-shadow: 0 24px 80px rgba(0,0,0,.42);
}
.search-input-wrap {
  display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 18px;
  border: 1px solid #343a4c; border-radius: 40px; background: #262a38; color: #858fa6;
}
.search-input-wrap input { flex: 1; min-width: 0; border: 0; outline: none; background: none; color: #fff; font: 600 15px Oxanium, sans-serif; }
.search-close { width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: #858fa6; cursor: pointer; }
.search-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px; margin-top: 20px; }
.search-card { min-width: 0; outline: none; }
.search-card:focus-visible, .search-card.active { outline: 2px solid #3ee0b4; outline-offset: 3px; border-radius: 12px; }
.search-empty { grid-column: 1 / -1; margin: 24px 0; color: #858fa6; text-align: center; font: 600 13px Oxanium, sans-serif; }
.search-hints { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 22px; color: #858fa6; font: 500 10px Oxanium, sans-serif; }
.search-hints span { display: flex; align-items: center; gap: 5px; }
.search-hints kbd { min-width: 22px; padding: 3px 5px; border: 1px solid #343a4c; border-radius: 5px; background: #262a38; color: #dfe4ee; text-align: center; font: inherit; }
@media (max-width: 640px) {
  dialog.search-wrap { padding: 12px; }
  .search-box { padding: 14px; border-radius: 20px; }
  .search-results { grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 10px; }
}

/* ---------- каталог ---------- */
.catalog-grid {
  /* Замеры thrill.com /casino/category/slots: сетка 8 колонок по 146px,
     column-gap 10px, row-gap 20px (8*146 + 7*10 = 1238 — ровно ширина main).
     minmax(146, 1fr) даёт те же 146px на этой ширине и меньшее число колонок
     на узких экранах, как контейнерный запрос донора. */
  display: grid; grid-template-columns: repeat(auto-fill, minmax(146px, 1fr)); gap: 20px 10px;
}
.catalog-grid > .aspect-188\/256 {
  width: 100%; min-width: 0 !important; max-width: none !important;
}
.catalog-grid [data-testid="game-tile-link"] { display: block; aspect-ratio: 188 / 256; }
.catalog-title { margin: 0; font: 700 28px Oxanium, sans-serif; color: #f4f5f7; text-transform: capitalize; }
.catalog-count, .catalog-status { margin: 8px 0 0; color: #858fa6; font: 600 12px Oxanium, sans-serif; }
.catalog-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; margin: 22px 0; }
/* Сетка лобби: у донора панель стоит через 40px после строки «Lobby» (это его
   собственный gap-40), а не через 40+22. Верхний отступ панели на лобби — тот же
   −4px, что в базе (обёртка донора sm:-mt-4 + padding-top 4 дают содержимое на
   прежнем месте), нижний остаётся. Замеры 26.11 и 27.11: панель донора
   1242x48@715,483, содержимое 1234x40@719,487, сетка @719,571. */
#lobbyCatalog .catalog-toolbar { margin-top: -4px; margin-bottom: 0; }
/* Дно лобби по донору: на /casino после панели 1242x48@715,483 сразу идут
   ряды-карусели с y571 — стены из 25 плиток там нет. Замер донора 27.11
   (viewport 2560x1306): children у main = баннер 1238x233@719,68, строка
   категорий 1238x154@719,301, панель 1242x48@715,483, колонка каруселей
   1238x2471@719,571 (9 рядов по 253, ряд провайдеров 128) и лента ставок
   1238x878@719,2998; высота страницы 4822. Каталог с сеткой живёт только
   внутри категорий (?c=...), там панель и сетка остаются как есть. */
#lobbyCatalog .catalog-grid { display: none; }
.catalog-toolbar label { display: flex; flex-direction: column; gap: 7px; color: #858fa6; font: 600 11px Oxanium, sans-serif; }
.catalog-toolbar input, .catalog-toolbar select, .catalog-toolbar button {
  height: 42px; border: 1px solid #343a4c; border-radius: 12px; background: #171a22; color: #dfe4ee;
  padding: 0 14px; font: 600 13px Oxanium, sans-serif;
}
.catalog-toolbar input { min-width: min(280px, 100%); }
.catalog-toolbar button { cursor: pointer; background: #3ee0b4; border-color: #3ee0b4; color: #10121a; font-weight: 700; }
/* Кнопка «View more games» по замеру донора 27.11 (/casino/category/slots,
   viewport 2560): ряд DIV.flex.justify-center.pt-40 — 1238x76@719,1426, то есть
   отступ сверху 40 и кнопка по центру; сама кнопка 154x36@1261,1466
   (min-width:max-content, padding 0, border 0, фон прозрачный); внутри слой
   rounded-40 с фоном oklab(0.649831 -0.00204834 -0.0362277 / 0.1); подпись
   SPAN 122x9@1277,1480 — uppercase, Oxanium 740 13px/18.2px, белая, паддингов
   нет: 122 — это ширина глифов, а 154 = 122 + 16 + 16 паддингов внутреннего слоя.
   Hover у донора — int-hover-scale, то есть scale 1.03 только при hover:hover
   и без reduced-motion.
   Счётчика «Showing N of M games» у донора на странице категории нет: строка
   статуса остаётся только для скринридера (было 1238x15 под кнопкой). */
.catalog-more-block { display: flex; justify-content: center; padding-top: 40px; }
#catalog-more {
  display: grid; place-items: center; min-width: max-content; height: 36px; padding: 0;
  border: 0; background: none; color: #fff; cursor: pointer;
}
#catalog-more[hidden] { display: none; }
#catalog-more .catalog-more-inner {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 36px;
  padding: 0 16px; border: 0; border-radius: 40px;
  background: oklab(0.649831 -0.00204834 -0.0362277 / .1);
}
#catalog-more .catalog-more-text {
  padding: 0; color: #fff; text-transform: uppercase; white-space: nowrap;
  font: 740 13px/18.2px Oxanium, sans-serif;
}
@media (hover: hover) and (not (prefers-reduced-motion: reduce)) {
  #catalog-more { transition: scale .3s; }
  #catalog-more:hover { scale: 1.03; }
}
.catalog-status {
  position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.catalog-empty { grid-column: 1 / -1; margin: 28px 0; color: #858fa6; text-align: center; font: 600 14px Oxanium, sans-serif; }
[data-testid="games-carousel"] [data-catalog-category] .no-scrollbar { min-height: 280px; }

/* ---------- модалка входа ---------- */
dialog.auth-wrap {
  width: 420px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid #303449;
  border-radius: 32px;
  background: radial-gradient(circle at 50% 0, #25203d 0, #171822 44%, #14161f 100%);
  color: #dfe4ee;
  box-shadow: 0 28px 100px #0009;
}
dialog.auth-wrap::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background: rgba(7, 8, 14, .78);
  backdrop-filter: blur(9px);
}
dialog.auth-wrap:modal { overscroll-behavior: contain; }
.auth-box {
  position: relative;
  padding: 36px 32px 28px;
  text-align: center;
}
.auth-x {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px;
  border-radius: 50%; background: #ffffff08; color: #a8b0c2; cursor: pointer;
}
.auth-logo {
  margin-bottom: 26px;
  background: linear-gradient(100deg, #a66bff 5%, #d166da 42%, #62efb8 95%);
  background-clip: text;
  color: transparent;
  font: 800 46px/1 Oxanium, sans-serif;
  letter-spacing: -.065em;
}
.auth-lead { color: #a2a9bb; font: 600 13px/1.4 Oxanium, sans-serif; margin: 0 0 18px; }
.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.auth-row button {
  display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px;
  border: 1px solid #34394d; border-radius: 16px; background: #202330;
  color: #f4f5f7; font: 700 13px Oxanium, sans-serif; cursor: pointer;
}
.auth-row button:first-child { border-color: #34394d; background: #202330; color: #f4f5f7; }
.auth-row button:hover { filter: brightness(1.08); }
.auth-row button:disabled { opacity: .55; cursor: wait; }
.auth-g { font: 800 20px Arial, sans-serif; }
.auth-wallet { color: #50e4b6; font: 800 18px Arial, sans-serif; }
.auth-wallet-status { min-height: 30px; margin-bottom: 12px; color: #9aa3b7; font: 600 11px/1.5 Oxanium, sans-serif; }
.auth-mail { color: #b4bbca; font-size: 17px; }
.auth-legal { color: #737d91; font: 500 10px/1.55 Oxanium, sans-serif; margin: 0; }
.auth-legal a { color: #8d96aa; }
.auth-register { margin-top: 20px; color: #929bad; font: 600 11px Oxanium, sans-serif; cursor: pointer; }
.auth-register span { color: #50e4b6; }
.auth-form { margin: 0; }
.auth-input {
  width: 100%; height: 50px; border: 1px solid #3ee0b4; border-radius: 16px; background: #1b1e2a;
  color: #fff; padding: 0 16px; margin-bottom: 12px; font: 500 13px Oxanium, sans-serif;
}
.auth-continue {
  width: 100%; height: 50px; border-radius: 16px; background: #3ee0b4; color: #10121a;
  font: 700 13px Oxanium, sans-serif; letter-spacing: .04em; text-transform: uppercase;
  cursor: pointer; margin-bottom: 16px;
}
.auth-back { position: absolute; top: 20px; left: 20px; color: #9aa3b7; font: 600 11px Oxanium, sans-serif; cursor: pointer; }
@media (max-width: 480px) {
  .auth-box { padding: 34px 22px 24px; }
  .auth-row { grid-template-columns: 1fr; }
}

/* ---------- кошелёк / депозит ---------- */
/* Окно кошелька и окно депозита — ОДНО и то же окно, как у донора.
   Замер thrill.com 26.11: это не центрированная модалка, а попап под денежными
   кнопками шапки: верх 60px, кошелёк 350x595, депозит 380x823, центр обеих
   стейт один и тот же (у донора x=838) — поэтому при переходе «кошелёк →
   депозит» окно не прыгает. Раньше у нас кошелёк стоял left 504 top 63, а
   депозит left 605 top 130: два разных окна на глазах у игрока.
   Ширину задаёт стейт (лист 350 / 380), левый край считает wiring.anchorWallet. */
dialog.wl-wrap {
  width: 350px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 92px);
  margin: 0;
  top: 60px;
  left: var(--wl-left, 675px);
  padding: 0;
  border: 0;
  background: transparent;
  color: #dfe4ee;
}
/* Экран депозита/сети/монеты/вывода — тот же попап, только шире (донор: 380). */
dialog.wl-wrap:has(.dp-head) { width: 380px; }
dialog.wl-wrap::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  /* Донор затемняет страницу за окном кошелька слабо (это попап, а не модалка),
     и одинаково в обоих стейтах — поэтому фон общий, без варианта .popup. */
  background: rgba(7, 8, 14, .34);
  backdrop-filter: blur(2px);
}
dialog.wl-wrap:modal { overscroll-behavior: contain; }
dialog.wl-wrap.popup::backdrop { background: rgba(7, 8, 14, .34); backdrop-filter: blur(2px); }
dialog.wl-wrap.popup { margin: 0; }
.wl-sheet {
  position: relative; width: 100%; max-height: min(680px, calc(100dvh - 32px)); overflow-y: auto;
  border-radius: 28px; background: #14161f; border: 1px solid #262a38; padding: 22px;
}
.wl-top { display: flex; justify-content: space-between; align-items: baseline; color: #858fa6; font: 600 12px Oxanium, sans-serif; }
.wl-top b { color: #fff; font: 800 23px/1 Oxanium, sans-serif; font-variant-numeric: tabular-nums; }
.wl-acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0 14px; }
.wl-acts button {
  min-height: 46px; background: #1b1e28; border: 1px solid #262a38; color: #dfe4ee;
  border-radius: 14px; padding: 8px 5px; font: 700 10px Oxanium, sans-serif; cursor: pointer;
}
/* hover-фоны кругам действий и строкам монет НЕ даём: донор (замер 27.11, tab 8,
   подбором правил и по классам элементов) не имеет ни :hover-фона, ни scale на
   .tActionButton-кругах листа и на строках монет — реакция только focus-visible */
.wl-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 12px; background: #171a24; border-radius: 14px; }
.wl-tabs button {
  height: 37px; border-radius: 10px; color: #858fa6; background: none; font: 700 10px Oxanium, sans-serif;
  text-transform: uppercase; cursor: pointer;
}
.wl-tabs button.on { background: #272c3a; color: #fff; box-shadow: 0 3px 10px #0004; }
.wl-list { display: flex; flex-direction: column; gap: 7px; max-height: 302px; overflow-y: auto; padding: 2px; }
.wl-coin { display: grid; grid-template-columns: 42px 1fr auto 34px; align-items: center; gap: 10px; padding: 10px 11px; border-radius: 14px; background: #1b1e28; }
/* строки монет без hover-фона (см. заметку выше) */
.wl-sym {
  display: inline-flex; align-items: center; justify-content: center; height: 32px; flex: 0 0 32px;
  border-radius: 50%; background: #272c3a; color: #fff; font: 700 10px Oxanium, sans-serif;
}
.wl-name { font: 600 12px Oxanium, sans-serif; color: #fff; }
.wl-bal { font: 600 11px Oxanium, sans-serif; color: #858fa6; }
.wl-plus { width: 32px; height: 32px; border-radius: 50%; border: 0; background: #262a38; color: #3ee0b4; font: 700 17px/1 Oxanium, sans-serif; cursor: pointer; }
.wl-2fa { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; color: #858fa6; font: 600 11px Oxanium, sans-serif; }
.wl-2fa button { background: #3ee0b4; color: #10121a; border: 0; border-radius: 10px; padding: 8px 12px; font: 700 10px Oxanium, sans-serif; text-transform: uppercase; cursor: pointer; }

.dp-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.dp-head b { flex: 1; text-align: center; font: 700 14px Oxanium, sans-serif; }
.dp-back, .dp-x { width: 30px; height: 30px; border-radius: 50%; border: 0; background: #1b1d29; color: #dfe4ee; cursor: pointer; }
.dp-amount { display: flex; align-items: center; gap: 8px; background: #1b1d29; border: 1px solid #3ee0b4; border-radius: 14px; padding: 0 14px; height: 52px; margin-bottom: 10px; }
.dp-amount input { flex: 1; background: none; border: 0; color: #fff; font: 700 18px Oxanium, sans-serif; outline: none; }
.dp-amount span { color: #858fa6; font: 600 12px Oxanium, sans-serif; }
.dp-chips { display: flex; gap: 6px; margin-bottom: 14px; }
.dp-chips button { flex: 1; background: #1b1d29; border: 1px solid #262a38; color: #dfe4ee; border-radius: 10px; padding: 8px 0; font: 600 11px Oxanium, sans-serif; cursor: pointer; }
.dp-coin { display: flex; justify-content: space-between; align-items: center; background: #1b1d29; border-radius: 12px; padding: 11px 12px; margin-bottom: 10px; font: 700 12px Oxanium, sans-serif; }
.dp-net { color: #3ee0b4; font: 600 11px Oxanium, sans-serif; cursor: pointer; }
.dp-addr { display: flex; flex-direction: column; gap: 8px; background: #1b1d29; border-radius: 12px; padding: 12px; margin-bottom: 12px; }
.dp-addr code { color: #dfe4ee; font: 500 11px/1.5 ui-monospace, monospace; word-break: break-all; }
.dp-addr button { align-self: flex-start; background: #262a38; border: 0; color: #3ee0b4; border-radius: 8px; padding: 6px 10px; font: 600 10px Oxanium, sans-serif; cursor: pointer; }
.dp-qr {
  display: block; width: 154px; height: 154px; margin: 4px auto 12px; padding: 7px;
  border: 1px solid #30354a; border-radius: 18px; background: #fff;
}
.dp-qr img { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; border-radius: 10px; }
.dp-warn { color: #858fa6; font: 500 10px/1.5 Oxanium, sans-serif; margin: 0 0 12px; }
.dp-or { position: relative; text-align: center; color: #858fa6; font: 600 10px Oxanium, sans-serif; margin: 4px 0 12px; }
.dp-or::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #262a38; }
.dp-or span { position: relative; background: #14161f; padding: 0 10px; }
.dp-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dp-alt button { background: #1b1d29; border: 1px solid #262a38; color: #dfe4ee; border-radius: 12px; padding: 11px 6px; font: 600 11px Oxanium, sans-serif; cursor: pointer; }
.dp-netrow { text-align: left; background: #1b1d29; border: 1px solid #262a38; color: #dfe4ee; border-radius: 12px; padding: 12px; font: 600 12px Oxanium, sans-serif; cursor: pointer; }
.dp-netrow.on { border-color: #3ee0b4; color: #3ee0b4; }
.dp-blur { filter: blur(3px); pointer-events: none; }
.dp-maint { margin: 14px 0 0; text-align: center; color: #3ee0b4; font: 600 11px/1.4 Oxanium, sans-serif; }

/* ---------- шапка после входа ---------- */
/* донор 27.11 (tab 8, замер живого DOM): группа = div.flex items-center c
   margin-left 12px на кнопке Deposit (computed ml=12px) и внешним
   gap-16 → 20px до кнопки аккаунта. Ширина группы 285.4 = 100 + 12 + 103 +
   20 + 50; внутренний столбец сетки шапки minmax(0,auto) = 357.4
   (группа + 2×36). У нас стоял единый gap 10 → группа 273, столбец 345,
   и весь ряд уезжал на +7px. Правим зазоры, а не сетку. */
.hd-auth { display: flex; align-items: center; justify-content: center; gap: 12px; }
@media (min-width: 640px) { .hd-auth .hd-av { margin-left: 8px; } } /* 12 + 8 = 20 */
/* пилюля баланса — замер живого донора 27.11: h 36, radius 24, padding 10/14,
   зазор 6; внутри иконка монеты 20px (мягкий вариант тёмной темы: фон цвета
   монеты 12% + цветной глиф), сумма 14/16.8 700 белым (--color-foreground-primary
   = #fff, opacity 1 — checked up the tree), шеврон 8px.
   Фон у донора НЕ сплошной: класс bg-surface-interactive-2 =
   color-mix(in oklab, #3c4357 30%, transparent). Над шапкой rgb(32,36,51) он
   даёт ~rgb(40,45,62) — светлее, чем сплошной rgb(27,29,41), поэтому белая
   сумма на нём выглядит приглушённо. Раньше мы пекли сплошной rgb(27,29,41)
   (это цвет фона страницы, а не пилюли) — отсюда «сумма ярче, чем в оригинале». */
.hd-bal {
  box-sizing: border-box;
  /* донор 27.11 (tab 8, повторный замер children): justify-content space-between,
     gap 6 — дети растянуты по ширине 100px (монета @10, сумма @36, шеврон @79) */
  display: inline-flex; align-items: center; justify-content: space-between; gap: 6px;
  min-width: 100px; height: 36px; padding: 8px 14px 8px 10px; border-radius: 24px;
  /* замер донора 27.11 (tab 8, /casino/category/slots): button[aria-label="Balance"]
     = 100x36, radius 24px, padding 8px 14px 8px 10px, gap 6px, текст белый,
     background rgb(27, 29, 41) — непрозрачный: вычисленный стиль возвращает указанное
     значение, так что это не смешение с фоном шапки. Классы донора:
     rounded-24 py-8 pr-14 pl-10 int-hover-scale cursor-pointer */
  background: rgb(27, 29, 41);
  color: rgb(255, 255, 255); cursor: pointer;
}
.hd-coin {
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  width: 20px; height: 20px; flex: 0 0 20px; border-radius: 50%;
  color: #fff; font: 700 10px/1 Arial, sans-serif;
}
.hd-coin svg { width: 20px; height: 20px; display: block; }
.hd-bal b {
  /* донор 27.11 (tab 8, замер children пилюли): span.block.min-w-0.width-fit =
     14px/16.8px weight 700 белым, box суммы 36x10 @(36,13). Раньше стояло
     16px/24px 400 — это шрифт самой кнопки, а не узла суммы, и сумма была
     шире (41px вместо 36px) */
  color: rgb(255, 255, 255); font: 700 14px/16.8px Oxanium, sans-serif; font-variant-numeric: tabular-nums;
}
.hd-bal i {
  /* донор 27.11: div.relative.size-8.shrink-0 = шеврон 8x8 @(79,14) внутри
     пилюли — он есть. Пилюля держит 100px, потому что сумма стала 36px
     (14px/16.8px 700): 10 + 20 + 6 + 36 + 6 + 8 + 14 = 100 */
  display: flex;
  align-items: center; width: 8px; height: 8px; flex: 0 0 8px;
  color: rgb(255, 255, 255); font: 600 10px/1 Oxanium, sans-serif; font-style: normal;
  transition: transform 0.3s;
}
.hd-bal i svg { width: 8px; height: 8px; display: block; }
.hd-dep {
  /* замер донора 27.11 (tab 8): кнопка «Wallet» 103x36, контейнер
     .tActionButton__container = background rgb(92, 255, 193) (#5cffc1),
     border-radius 40px, текст rgb(27, 29, 41) uppercase 13px/18.2px 740 Oxanium,
     letter-spacing normal, иконка 14x14, border 0, box-shadow none */
  min-width: 103px; height: 36px; padding: 0 20px; border-radius: 40px;
  background: #5cffc1; color: rgb(27, 29, 41);
  font: 740 13px/18.2px Oxanium, sans-serif;
  text-transform: uppercase;  /* донор: label computed text-transform = uppercase */
  letter-spacing: normal; cursor: pointer;
}
/* донор 27.11 (tab 8): button.outline-foreground-primary 50x36 @966,16 — без
   фона, рамки и радиуса; внутри span.flex items-center justify-center gap-6
   (.int-hover-scale-plus → hover scale 1.1): img.size-[36px] 36x36 @(0,0),
   border-radius 0, object-fit fill; svg viewBox 0 0 24 24 class="size-8"
   → 8x8 @(42,14), fill #fff, stroke none. Паддинг/рамка/круг 36x36,
   которые были у нас, донор не рисует. */
.hd-av {
  width: 50px; height: 36px; padding: 0; border: 0; background: transparent;
  border-radius: 0; cursor: pointer;
}
.hd-av > span {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 50px; height: 36px; color: rgb(255, 255, 255); cursor: pointer;
}
.hd-av img { width: 36px; height: 36px; border-radius: 0; object-fit: fill; }
.hd-av svg { width: 8px; height: 8px; flex: none; fill: none; transition: transform .3s; } /* донор: class="size-8 transition-transform duration-300" */
.hd-av svg path { fill: rgb(255, 255, 255); } /* у донора computed fill path = #fff */
.hd-av[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (max-width: 639px) {
  .hd-auth { gap: 6px; }
  .hd-bal { min-width: 98px; padding: 0 9px; }
  .hd-dep { min-width: 78px; padding: 0 12px; }
}

/* ---------- аккаунт ---------- */
.acc-wrap { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(10,11,18,.7); backdrop-filter: blur(5px); z-index: 85; }
.acc-wrap.on { display: flex; }
.acc-sheet { display: flex; width: 940px; max-width: 94vw; height: 620px; max-height: 88vh; border-radius: 28px; overflow: hidden;
  background: #14161f; border: 1px solid #262a38; }
.acc-left { width: 216px; border-right: 1px solid #262a38; padding: 18px 14px; display: flex; flex-direction: column; gap: 16px; }
.acc-prof { display: flex; align-items: center; gap: 10px; }
.acc-av { width: 32px; height: 32px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #7de3c8 0 35%, #2b7f6b 36% 100%); }
.acc-prof b { display: block; color: #fff; font: 700 12px Oxanium, sans-serif; }
.acc-prof i { color: #b98a3e; font: 600 10px Oxanium, sans-serif; font-style: normal; }
.acc-menu { display: flex; flex-direction: column; gap: 2px; }
.acc-sec { text-align: left; background: none; border: 0; color: #858fa6; border-radius: 10px; padding: 9px 10px; font: 600 11px Oxanium, sans-serif; cursor: pointer; }
.acc-sec:hover { background: #1b1d29; color: #dfe4ee; }
.acc-sec.on { background: #1b1d29; color: #3ee0b4; }
.acc-links { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.acc-links a { color: #858fa6; font: 600 10px Oxanium, sans-serif; cursor: pointer; }
.acc-main { flex: 1; position: relative; padding: 18px 20px; overflow-y: auto; }
.acc-x { position: absolute; right: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: #1b1d29; color: #dfe4ee; cursor: pointer; }
.acc-head { font: 800 15px Oxanium, sans-serif; letter-spacing: .04em; margin-bottom: 12px; }
.acc-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.acc-tabs button { background: none; border: 1px solid #262a38; color: #858fa6; border-radius: 999px; padding: 6px 12px; font: 600 10px Oxanium, sans-serif; cursor: pointer; }
.acc-tabs button.on { border-color: #3ee0b4; color: #3ee0b4; }
.acc-body { min-height: 320px; }
.acc-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 60px 0; text-align: center; }
.acc-ico { width: 46px; height: 46px; border-radius: 12px; background: #1b1d29; border: 2px dashed #3a4053; }
.acc-empty b { font: 700 12px Oxanium, sans-serif; letter-spacing: .06em; }
.acc-empty p { color: #858fa6; font: 500 11px Oxanium, sans-serif; margin: 0; }
.acc-go { margin-top: 8px; background: #3ee0b4; color: #10121a; border: 0; border-radius: 10px; padding: 9px 16px; font: 800 10px Oxanium, sans-serif; cursor: pointer; }
.acc-tbl { width: 100%; border-collapse: collapse; font: 500 11px Oxanium, sans-serif; }
.acc-tbl th { text-align: left; color: #858fa6; font: 600 9px Oxanium, sans-serif; text-transform: uppercase; padding: 8px 6px; border-bottom: 1px solid #262a38; }
.acc-tbl td { padding: 10px 6px; border-bottom: 1px solid #1e222e; color: #dfe4ee; }
.acc-mono { font-family: ui-monospace, monospace; font-size: 10px; }
.s-done { color: #3ee0b4; } .s-pending { color: #d9a441; } .s-won { color: #3ee0b4; } .s-lost { color: #858fa6; }
.acc-bonuses { display: flex; flex-direction: column; gap: 8px; }
.acc-bonus { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #1b1d29; border: 1px solid #262a38; border-radius: 14px; padding: 14px; }
.acc-bonus b { color: #fff; font: 700 12px Oxanium, sans-serif; }
.acc-bonus p { color: #858fa6; font: 500 10px/1.4 Oxanium, sans-serif; margin: 4px 0 0; }
.acc-bonus span { color: #858fa6; font: 700 10px Oxanium, sans-serif; white-space: nowrap; }
.acc-bonus button { background: #3ee0b4; color: #10121a; border: 0; border-radius: 8px; padding: 7px 12px; font: 800 10px Oxanium, sans-serif; cursor: pointer; }

.wl-x { position:absolute; right:14px; top:12px; }
.wl-top { padding-right: 34px; }

.dp-pick { cursor: pointer; }
.dp-netrow b { color: #fff; font-weight: 700; }

/* ---------- dice ---------- */
.dice { display: grid; grid-template-columns: 340px 1fr; gap: 18px; width: 100%; height: 100%; padding: 18px; }
.dice-left { display: flex; flex-direction: column; gap: 8px; background: #1b1f2b; border-radius: 18px; padding: 16px; }
.dice-lbl { color: #858fa6; font: 600 10px Oxanium, sans-serif; text-transform: uppercase; }
.dice-bet, .dice-mult { display: flex; align-items: center; background: #12141c; border: 1px solid #262a38; border-radius: 10px; padding: 0 10px; height: 42px; }
.dice-bet input, .dice-mult input { flex: 1; background: none; border: 0; color: #fff; font: 700 15px Oxanium, sans-serif; outline: none; width: 100%; }
.dice-bet span { color: #858fa6; font: 600 11px Oxanium, sans-serif; }
.dice-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.dice-quick button { background: #262a38; border: 0; color: #dfe4ee; border-radius: 8px; padding: 7px 0; font: 600 10px Oxanium, sans-serif; cursor: pointer; }
.dice-roll { margin-top: auto; height: 50px; border: 0; border-radius: 25px; background: #4ce9b9; color: #10121a; font: 800 14px Oxanium, sans-serif; cursor: pointer; }
.dice-roll:disabled { opacity: .6; cursor: default; }
.dice-pay { margin: 6px 0 0; color: #858fa6; font: 600 10px Oxanium, sans-serif; text-align: center; }
.dice-pay b { color: #4ce9b9; }
.dice-right { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 22px; background: #1b1f2b; border-radius: 18px; padding: 20px 26px; }
.dice-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dice-num { font: 800 44px Oxanium, sans-serif; color: #fff; }
.dice-num.win { color: #4ce9b9; }
.dice-num.lose { color: #ff6b7a; }
.dice-dir { background: #262a38; border: 1px solid #262a38; color: #858fa6; border-radius: 20px; padding: 8px 16px; font: 700 11px Oxanium, sans-serif; cursor: pointer; }
.dice-dir.on { border-color: #4ce9b9; color: #4ce9b9; }
.dice-track { position: relative; height: 16px; border-radius: 8px; background: #12141c; overflow: hidden; cursor: pointer; }
.dice-win { position: absolute; top: 0; bottom: 0; background: #2fbf99; opacity: .55; }
.dice-mark { position: absolute; top: -4px; bottom: -4px; width: 3px; background: #fff; transform: translateX(-1px); }
.dice-mark.live { box-shadow: 0 0 10px #4ce9b9; }
.dice-hist { display: flex; gap: 6px; flex-wrap: wrap; min-height: 26px; }
.dice-chip { font: 700 11px Oxanium, sans-serif; border-radius: 6px; padding: 3px 7px; background: #262a38; }
.dice-chip.g { background: #1d5c4a; color: #4ce9b9; }
.dice-chip.l { background: #4a2028; color: #ff8a95; }

/* ---------- состояния рельсы ---------- */
nav[data-nav-state] {
  grid-area: 1 / 1;
}
nav[data-nav-state="expanded"],
html.nav-open nav[data-nav-state="collapsed"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
html.nav-open nav[data-nav-state="expanded"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
nav[data-nav-state="expanded"] .h-\[98px\] { height: 98px; }
nav[data-nav-state="expanded"] .w-\[240px\] { width: 240px; }
nav[data-nav-state="expanded"] .px-\[38px\] { padding-left: 38px; padding-right: 38px; }

@media (min-width: 640px) {
  header div:has(> [data-testid="header-logo"]) { display: flex !important; }
  .sm\:contents { display: contents !important; }
}

@media (min-width: 1024px) {
  main div:has(> label > input[placeholder="Search Game"]) { flex: 1 1 0; }
}
@media (max-width: 1023px) {
  main div:has(> label > input[placeholder="Search Game"]) { width: 40px; flex: 0 0 40px; padding: 0; }
  main input[placeholder="Search Game"] { display: none; }
}

/* ---------- меню каталога ---------- */
.cat-menu { position: absolute; z-index: 90; display: flex; flex-direction: column; gap: 4px;
  background: #1b1d29; border: 1px solid #262a38; border-radius: 12px; padding: 6px; min-width: 150px; }
.cat-menu button { text-align: left; background: none; border: 0; color: #dfe4ee; padding: 8px 10px;
  border-radius: 8px; font: 600 11px Oxanium, sans-serif; cursor: pointer; }
.cat-menu button:hover { background: #262a38; }

/* ---------- живая лента ставок ---------- */
.lb { margin: 26px 0 10px; background: #1b1d29; border: 1px solid #262a38; border-radius: 18px; padding: 14px 16px; }
.lb-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.lb-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.lb-tabs button { background: none; border: 1px solid transparent; color: #858fa6; font: 600 11px Oxanium, sans-serif;
  padding: 6px 12px; border-radius: 10px; cursor: pointer; }
.lb-tabs button.on { color: #4ce9b9; border-color: #4ce9b9; }
.lb-live { color: #4ce9b9; font: 600 10px Oxanium, sans-serif; }
.lb-cols, .lb-row { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr 1.2fr; gap: 8px; align-items: center; }
.lb-cols { color: #858fa6; font: 600 10px Oxanium, sans-serif; text-transform: uppercase; padding: 6px 8px; }
.lb-row { padding: 7px 8px; border-radius: 8px; font: 600 11px Oxanium, sans-serif; color: #dfe4ee;
  animation: lbIn .3s ease; }
.lb-row:nth-child(odd) { background: #161823; }
.lb-row.mine { outline: 1px solid #4ce9b9; }
.lb-mult.w, .lb-pay.w { color: #4ce9b9; }
.lb-mult.l, .lb-pay.l { color: #ff8a95; }
/* строки ленты внутри «родного» блока оригинала: высота/фон/скругление — у обёртки оригинала */
.lb-row.flat { background: none !important; height: 100%; width: 100%; padding: 0 20px; font: 600 13px Oxanium, sans-serif; }
.lb-mine { outline: 1px solid #4ce9b9; }
[data-live-on] { color: #5cffc8 !important; }
@keyframes lbIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- меню аккаунта ----------
   донор 27.11 (tab 8, клик по кнопке аккаунта, полный слепок — tmp/capture/accmenu.html):
   панель 228x342 @(877,64): центр по кнопке аккаунта, верх = низ кнопки + 12px,
   radius 24px, background oklab(0.332125 -0.000542015 -0.0423073 / 0.9),
   тень rgba(0,0,0,0.1) 0 4px 30px, рамки у самого блока нет — обводку
   1px oklab(0.649831 -0.00204834 -0.0362277 / 0.15) рисует псевдоэлемент inset:0
   (поэтому дети считаются от полных 228px).
   внутрь вложен div 228x342 с padding 12px 0px; колонка gap 4px.
   пункты 204x36 с margin 0 12px, radius 40px, внутри row flex gap 10px
   padding 6px 0 6px 16px, иконка 16x16, подпись 14px/16.8px 600 rgb(160,172,199);
   Log Out — цвет rgb(255,107,107). Разделители 228x1, border-top 1px той же
   обводки, margin 8px 0px (между группами получается ровно 12px с обеих сторон).
   hover-правил у пунктов донора в CSSOM нет (только hover:outline-none) —
   подсветку фона не добавляем. */
.hd-menu { position: fixed; z-index: 90; display: none; box-sizing: border-box; width: 228px;
  flex-direction: column; gap: 4px; padding: 12px 0; border: 0; border-radius: 24px;
  background: oklab(0.332125 -0.000542015 -0.0423073 / 0.9);
  box-shadow: rgba(0, 0, 0, 0.1) 0 4px 30px 0px; }
.hd-menu.on { display: flex; }
.hd-menu::before { content: ""; position: absolute; inset: 0; border-radius: 24px; pointer-events: none;
  border: 1px solid oklab(0.649831 -0.00204834 -0.0362277 / 0.15); }
.hd-menu hr { flex: none; box-sizing: border-box; width: 100%; height: 0; margin: 8px 0; border: 0;
  border-top: 1px solid oklab(0.649831 -0.00204834 -0.0362277 / 0.15); }
.hd-menu button { flex: none; display: flex; align-items: center; width: 204px; height: 36px; margin: 0 12px;
  padding: 0; border: 0; border-radius: 40px; background: none; color: rgb(160, 172, 199);
  text-align: left; cursor: pointer; }
/* донор 27.11 (слепок tmp/capture/accmenu.html): строка пункта = div.flex items-center
   gap-10 rounded-40 py-6 pl-16 (box 204x28, паддинг 6px 0 6px 16px, зазор 10px);
   контейнер иконки 16x16 в координатах пункта @(16,10), svg 16x16 в него вложен,
   подпись начинается с x=42 (32 + зазор 10) и идёт 14px/16.8px 600 */
.hd-menu button > span { display: flex; align-items: center; gap: 10px; padding: 6px 0 6px 16px; }
.hd-menu button svg { flex: none; width: 16px; height: 16px; fill: currentColor; }
.hd-menu button b { display: block; min-width: 0; font: 600 14px/16.8px Oxanium, sans-serif; }
.hd-menu button[data-m="out"] { color: rgb(255, 107, 107); }


/* Карточки, которые каталог собирает без шаблона донора: донор задаёт плитку
   классами relative + aspect-ratio, у нас таких классов нет, поэтому рамки
   карточки повторяем здесь. Без этого абсолютная картинка считала размеры от
   окна и растягивалась на весь экран. */
.catalog-card { position: relative; display: block; width: 100%; aspect-ratio: 188 / 256; overflow: hidden; border-radius: 12px; }
.catalog-card img { display: block; }
.catalog-card:hover { text-decoration: none; }
/* Выбранная категория в ряду плиток: подсвечиваем ту же плитку, что и на
   оригинале,_games_ при этом меняются под ней, а не на новой странице. */
/* Плитки категорий. У донора выбранная плитка: мятный текст rgb(92,255,193),
   фон oklab(0.899 -0.156 0.044 / .06), box-shadow none, а светится ВНУТРИ иконка
   (drop-shadow 10px); внешней обводки нет. Несёт это разметка донора классами
   bg-surface-selected-secondary / text-foreground-selected-secondary / effect-glow,
   которые у нас "приклеены" к каждой плитке — поэтому сначала глушим их у всех
   плиток, потом включаем только на выбранной (класс cat-on ставит wiring.js).
    .lb2-tab — переключатели ленты ставок (My bets / All bets / ...): у них тоже
    есть data-cat-slug ("all-bets"), но донор красит активную пилюлю светлой
    подложкой oklab(0.899 -0.156 0.044 / .06) с мятным текстом, а на hover даёт
    scale 1.03 (.int-hover-scale), а не подъём на 8px — поэтому они исключены. */
main [data-cat-slug]:not([class*="carousel-view-more-area"]):not(.tlg-pill):not(.lb2-tab) {
  background-color: oklab(0.296 0 -0.034 / 0.6) !important;
  color: rgb(133, 143, 166) !important;
  box-shadow: none !important;
  border: 0 !important;
  outline: none !important;
  transition: background-color .15s cubic-bezier(.4, 0, .2, 1),
              color .15s cubic-bezier(.4, 0, .2, 1),
              translate .15s cubic-bezier(.4, 0, .2, 1);
}
main [data-cat-slug]:not([class*="carousel-view-more-area"]):not(.tlg-pill):not(.lb2-tab) svg { color: rgb(160, 172, 199) !important; filter: none !important; }
main [data-cat-slug]:not([class*="carousel-view-more-area"]):not(.tlg-pill):not(.lb2-tab):hover { translate: 0 -8px; }
main [data-cat-slug]:not([class*="carousel-view-more-area"]):not(.tlg-pill):not(.lb2-tab).cat-on {
  background-color: oklab(0.899 -0.156 0.044 / 0.06) !important;
  color: rgb(92, 255, 193) !important;
  box-shadow: none !important;
  border: 0 !important;
  outline: none !important;
  border-radius: 20px;
}
main [data-cat-slug]:not([class*="carousel-view-more-area"]):not(.tlg-pill):not(.lb2-tab).cat-on svg {
  color: rgb(92, 255, 193) !important;
  filter: drop-shadow(rgba(92, 255, 193, 0.4) 0 0 10px) !important;
}

/* ============================================================
   СТРОКА ИНСТРУМЕНТОВ КАТАЛОГА — числа донора (docs/toolbar-spec.md).
   В нашем бандле app.css нет токенов донора (bg-menu-background,
   --color-menu-*, --color-toggle-*, effect-shadow-m, backdrop-blur-l),
   поэтому все значения ниже выписаны числами из замеров.
   ============================================================ */

/* --- строка: рамка 48, содержимое 40, gap 16, align-items center, не sticky ---
   Рамка строки шире содержимого на 4px с каждой стороны (margin -4 + padding 4,
   max-width calc(100%+4px)) — так же, как обёртка донора
   «sm:-ml-4 sm:pl-4 sm:-mr-4 sm:pr-4 sm:max-w-[calc(100%+4px)]». Без этого
   поле поиска получалось 815 вместо 811, инпут 751 вместо 747, а кнопки сдвигались
   на 4px вправо (у донора SORT начинается с 1081).
   Рамка по вертикали — те же 4px: замер донора 27.11 (/casino/category/slots,
   viewport 2560) даёт рамку 1242x48@715,483 с padding:4px и margin-top:-4px,
   а содержимое — 1234x40@719,487. Раньше рамка была 40 (1242x40@715,487).
   margin-top = −4 (вместе с padding-top 4 содержимое остаётся на 487): у донора
   обёртка строки даёт sm:-mt-4 sm:pt-4, а зазор сверху создаёт отступ строки
   категорий (sm:mb-32 = 32px). margin-bottom 40 — чтобы сетка осталась на 571. */
.catalog-toolbar {
  position: relative; display: flex; flex-wrap: nowrap; align-items: center;
  gap: 16px; height: 48px; padding: 4px; margin: -4px -4px 40px;
  max-width: calc(100% + 4px);
}
.catalog-toolbar > .tlg-search { flex: 1 1 auto; min-width: 218px; max-width: 100%; }
/* прокладки-обёртки между строкой и кнопками у донора на ≥949px display:contents,
   поэтому их margin-left:12px / gap:12px не дают лишних зазоров (зазор ровно 16) */
@media (width >= 949px) {
  .catalog-toolbar > div:not(.tlg-search),
  .catalog-toolbar > div:not(.tlg-search) > div { display: contents; }
}

/* --- поле поиска: 40px, пилюля, фон #222636, паддинг 0 20px 0 4px --- */
.catalog-toolbar .tlg-field {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  flex-direction: row; flex-wrap: nowrap; gap: 0; /* гасим column/gap:7px из общего .catalog-toolbar label (стр. 239) */
  box-sizing: border-box; width: 100%; height: 40px; min-height: 40px;
  padding: 0 20px 0 4px; border: 0; border-radius: 99999999px;
  background: #222636; box-shadow: none;
  transition: color .3s, background-color .3s;
}
.catalog-toolbar .tlg-field > span {
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
  box-sizing: border-box; width: 40px; height: 40px; padding: 12px; border-radius: 99999999px;
  background: #222636; color: #a0adc7; cursor: default; transition: color .3s;
  pointer-events: none;
}
.catalog-toolbar .tlg-field > span svg { width: 16px; height: 16px; margin-bottom: 1px; pointer-events: none; }
.catalog-toolbar .tlg-field:has(input:focus) > span { color: #fff; }
.catalog-toolbar .tlg-field input {
  flex: 1 1 auto; box-sizing: border-box; min-width: 0; width: 100%; height: 100%;
  padding: 0; border: 0; border-radius: 0; outline: none;
  background: transparent; box-shadow: none; color: #fff;
  font: 400 14px / 21px Oxanium, sans-serif; caret-color: #5cffc1;
}
.catalog-toolbar .tlg-field input::placeholder { color: #858fa6; opacity: 1; }
.catalog-toolbar .tlg-field input:focus { background: transparent; border: 0; outline: none; box-shadow: none; }
.catalog-toolbar .tlg-field input:-webkit-autofill { -webkit-text-fill-color: #fff; }
.catalog-toolbar #catalog-clear {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 28px; height: 28px; min-height: 28px; padding: 0; border: 0;
  border-radius: 99999999px; background: #262a38; color: #a0adc7; cursor: pointer;
}
.catalog-toolbar #catalog-clear[hidden] { display: none; }

/* --- кнопки-пилюли SORT / FILTER / RANDOM: 40px, radius 40, паддинг 12px 16px --- */
.catalog-toolbar .tlg-pill {
  position: relative; display: inline-flex; align-items: center; gap: 8px; flex: none;
  box-sizing: border-box; height: 40px; min-height: 40px; padding: 12px 16px;
  border: 0; border-radius: 40px; background: rgba(38, 44, 62, .6); color: #a0acc7;
  font: normal 16px / 24px Oxanium, sans-serif; box-shadow: none; cursor: pointer;
  scale: 1; transition: all .3s cubic-bezier(.4, 0, .2, 1);
}
/* подпись делает uppercase именно span: 13px / 15.6px / 800, letter-spacing normal */
.catalog-toolbar .tlg-pill > span {
  font-size: 13px; font-weight: 800; line-height: 15.6px; letter-spacing: normal;
  text-transform: uppercase;
}
.catalog-toolbar .tlg-pill svg.tlg-i16,
.catalog-toolbar .tlg-pill svg.size-16 { width: 16px; height: 16px; flex: none; }
/* Замер правил донора (27.11, кнопка Sort 106x40): hover даёт ДВА разных по
   условиям объявления —
     @media (hover:hover)                                   → background-color: var(--color-control-primary-active)  (= oklab(0.384843 -0.0002 -0.0354 / 0.5))
                                                            → color: var(--color-control-primary-foreground-active) (= #fff)
     @media (hover:hover) and (not (prefers-reduced-motion: reduce)) → scale: 1.03 (+ transition: scale .3s)
   Поэтому цвет/фон меняются и при reduce, а увеличение — только без reduce. */
@media (hover: hover) {
  .catalog-toolbar .tlg-pill:not(#catalog-random):not(.tlg-random-half):hover,
  .catalog-toolbar .tlg-pill[data-hover="1"],
  .catalog-toolbar .tlg-pill[data-state="open"] {
    background: color-mix(in oklab, #3c4357 50%, transparent); color: #fff;
  }
}
@media (hover: hover) and (not (prefers-reduced-motion: reduce)) {
  .catalog-toolbar .tlg-pill:hover,
  .catalog-toolbar .tlg-pill[data-hover="1"],
  .catalog-toolbar .tlg-pill[data-state="open"] { scale: 1.03; }
}
/* Рядом стоит половина «Random Game Filters» — у донора это отдельная кнопка
   40x40 (radius 2/40/40/2, паддинг 12px 14px 12px 10px, svg 16x16,
   bg oklab(0.295687 …/.6), цвет rgb(160,172,199)); hover у обеих половин —
   ТОЛЬКО scale 1.03 (замер правил: у них только .int-hover-scale), без смены
   фона и цвета, поэтому Random исключён из цветного hover-правила выше. */
.catalog-toolbar .tlg-random-half { transition: scale .3s; }
@media (hover: hover) and (not (prefers-reduced-motion: reduce)) {
  .catalog-toolbar .tlg-random-half:hover { scale: 1.03; }
}
/* тень .effect-shadow-s у донора только в открытом состоянии popup-а
   (data-[state=open]:effect-shadow-s = 0 0 16px #0000000a), не на наведении */
.catalog-toolbar .tlg-pill[data-state="open"] {
  box-shadow: 0 0 16px rgba(0, 0, 0, .04);
}
.catalog-toolbar .tlg-pill:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* trailing chevron 8×8, при открытом popup поворачивается на −180° */
.catalog-toolbar .tlg-pill .tlg-chev {
  width: 8px; height: 8px; flex: none; fill: currentColor;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.catalog-toolbar .tlg-pill[data-state="open"] .tlg-chev { transform: rotate(-180deg); }

/* --- сплит-кнопка RANDOM: 2 склеенные половины с щелью 2px --- */
.tlg-random-group { display: inline-flex; align-items: center; gap: 2px; flex: none; }
.catalog-toolbar #catalog-random { border-radius: 40px 2px 2px 40px; padding: 0 14px 0 18px; }
.catalog-toolbar .tlg-random-half {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  box-sizing: border-box; width: 40px; height: 40px; padding: 12px 14px 12px 10px;
  border: 0; font: inherit;
  border-radius: 2px 40px 40px 2px; background: rgba(38, 44, 62, .6); color: #a0acc7;
}
.catalog-toolbar .tlg-random-half svg { width: 16px; height: 16px; flex: none; }
/* Замер правил донора (кнопка «Random Game Filters» 40×40): на наведении
   ТОЛЬКО .int-hover-scale (scale 1.03 + transition scale .3s) внутри
   @media (hover:hover) and (not (prefers-reduced-motion: reduce));
   фон и цвет на hover донор НЕ меняет — правило с background убрано. */
@media (hover: hover) and (not (prefers-reduced-motion: reduce)) {
  .catalog-toolbar .tlg-random-half { transition: scale .3s; }
}
/* клавиатурный фокус halves: донорский .focusable — outline auto, offset 2px,
   цвет --color-foreground-primary (у пилюль шапки замер = rgb(92,255,193)) */
.catalog-toolbar .tlg-random-half:focus-visible {
  outline: auto; outline-offset: 2px; outline-color: rgb(92, 255, 193);
}

/* --- popup SORT / FILTER: портал на body, fixed, radius 24, фон .9 --- */
.tlg-pop {
  position: fixed; z-index: 130; box-sizing: border-box; display: flex;
  flex-direction: column; padding: 0; border-radius: 24px;
  background: rgba(45, 52, 77, .9); box-shadow: 0 4px 30px rgba(0, 0, 0, .1);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  font-family: Oxanium, sans-serif; color: #a0adc7; outline: none; overflow: clip;
}
/* Вход popup'а: opacity 0→1 и translateY(30px)→0 за 300ms (docs/toolbar-spec.md §5).
   Реализовано CSS-анимацией, а не transition, по двум замеренным причинам:
   1) донорское guard-правило @media (prefers-reduced-motion: reduce) { * { transition: none } }
      гасит transition, но не анимации — у донора popup всё равно въезжает;
   2) класс даём в том же кадре, а transition из-за этого не запускается, и в
      фоновой вкладке Firefox не вызывает requestAnimationFrame: замер 27.11
      показал popup с transform matrix(1,0,0,1,0,30) и opacity 0, то есть
      невидимый и сдвинутый на 30px вместо зазора 10px от кнопки. */
.tlg-pop.tlg-open { animation: tlg-pop-in .3s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes tlg-pop-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
/* рамка только на псевдоэлементе: 0.5px rgba(135,140,166,.15) + fade-in 500ms */
.tlg-pop::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  border: .5px solid rgba(135, 140, 166, .15); border-radius: inherit;
  animation: tlgBlurFade .5s ease-in forwards;
}
@keyframes tlgBlurFade { from { opacity: 0; } to { opacity: 1; } }
.tlg-pop-sort { min-width: 212px; }
.tlg-pop-filter { min-width: 248px; }
/* Popup «Random Game Filters» — замер донора 27.11: 212×201, radius 24,
   фон oklab(0.332125 -0.000542015 -0.0423073/0.9) (= rgba(45,52,77,.9)),
   тень rgba(0,0,0,.1) 0 4px 30px, внутренний список py-12.
   От SORT отличается только привязкой по правому краю кнопки (data-align=end). */
.tlg-pop-random { min-width: 212px; }
.tlg-fly { z-index: 131; }

/* --- пункты: 36px высоты, шаг 40px, radius 40, паддинг 6px 40px 6px 16px ---
   Список внутри popup'а донора лежит в scroll-host с py-12: верхний и нижний
   отступы по 12px. Замеры: SORT 212×302, FILTER 248×201, Random Game Filters
   212×201 (12 + 116 + разделитель 25 + 36 + 12). Без этих 12px наши popup'ы
   были на 24px короче донорских. */
.tlg-list { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; }
.tlg-item {
  position: relative; display: flex; align-items: center; gap: 10px;
  box-sizing: border-box; width: calc(100% - 24px); min-width: 188px;
  height: 36px; min-height: 36px; max-height: 36px; margin: 0 12px;
  padding: 6px 40px 6px 16px; border: 0; border-radius: 40px;
  background: transparent; color: #a0adc7; text-align: left; cursor: pointer;
  /* донорский пункт меню несёт font-semibold (600) на самой строке */
  font-family: Oxanium, sans-serif; font-weight: 600; scale: 1;
  transition: all .15s, scale .3s;
}
.tlg-item .tlg-label {
  flex: 1 1 auto; min-width: 0; text-align: left; white-space: nowrap;
  /* донорская подпись — span.typ-label-large: 600 14px/16.8px плюс
     letter-spacing из токена --display-letter-spacing (-.02em); без него
     подпись «Reset to Default» на 2px шире и popup SORT раздувается до 214px
     вместо донорских 212px (пункт 188px становится 190px) */
  font: 600 14px / 16.8px Oxanium, sans-serif; letter-spacing: -.02em;
}
.tlg-item svg.tlg-i16 { width: 16px; height: 16px; flex: none; }
/* отметка выбранного — только цвет + фон, галочки в SORT нет */
.tlg-item.tlg-on { color: #5cffc1; background: rgba(85, 254, 186, .06); }
.tlg-item:hover { color: #fff; }
/* scale на hover у донора всегда внутри @media (hover:hover) and
   (not (prefers-reduced-motion: reduce)) — правило .int-hover-scale; при reduce
   пункты не увеличиваются, только меняют цвет/фон. */
@media (hover: hover) and (not (prefers-reduced-motion: reduce)) {
  .tlg-item:hover { scale: 1.03; }
}
.tlg-item:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* chevron у пунктов-подменю: 8×8, смотрит вправо */
.tlg-item .tlg-chev-right {
  position: absolute; right: 16px; top: 14px; width: 8px; height: 8px;
  fill: currentColor; transform: rotate(-90deg);
}
/* разделитель: margin 8px 0, рамка 0.5px rgba(135,140,166,.15) */
.tlg-sep { margin: 8px 0; border-top: .5px solid rgba(135, 140, 166, .15); }

/* --- строка Hide Unavailable --- */
.tlg-switch-row { justify-content: space-between; padding: 6px 16px; cursor: default; }
.tlg-switch-row:hover { color: inherit; scale: 1; }

/* --- switch: 46×24, дорожка rgba(0,0,0,.3), бегунок 25×16 --- */
.tlg-switch {
  display: inline-flex; align-items: center; flex: none; box-sizing: border-box;
  width: 46px; min-width: 46px; height: 24px; padding: 0 4px; border: 0;
  border-radius: 99999999px; background: rgba(0, 0, 0, .3); cursor: pointer;
  scale: 1; transition: all .15s ease-in-out, scale .3s ease;
}
.tlg-switch > span {
  display: block; pointer-events: none; width: 100%; height: 16px;
  border-radius: 99999999px; background: #f4f6f9;
  box-shadow: 0 0 16px rgba(0, 0, 0, .04);
  margin-right: 13px; margin-left: 0;
  transition: box-shadow .2s linear, background-color .2s linear,
    margin-left .1s linear .1s, margin-right .1s linear;
}
.tlg-switch[aria-checked="true"] > span {
  background: #5cffc1; box-shadow: none; margin-left: 13px; margin-right: 0;
}
/* 27.11, тумблер Hide Unavailable: донорские правила .int-hover-scale-plus
   (scale 1.1 + transition scale .3s) живут внутри
   @media (hover:hover) and (not (prefers-reduced-motion: reduce)). */
@media (hover: hover) and (not (prefers-reduced-motion: reduce)) {
  .tlg-switch:hover { scale: 1.1; }
}
.tlg-switch:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* --- flyout'ы: вплотную к правому краю родителя, список Providers со скроллом --- */
.tlg-scroll {
  display: flex; flex-direction: column; gap: 4px;
  max-height: 310px; padding: 12px 0; overflow-y: auto; overscroll-behavior: contain;
}
.tlg-fly .tlg-list { padding: 12px 0; }
.tlg-fly .tlg-item { padding: 6px 16px; }
/* галочка flyout 10×24, у неактивных opacity 0 */
.tlg-check { width: 10px; height: 24px; flex: none; color: #5cffc1; opacity: 0; transition: opacity .3s; }
.tlg-fly .tlg-item.tlg-on .tlg-check { opacity: 1; }
.tlg-note { margin: 0; padding: 6px 16px; color: #858fa6; font: 600 13px Oxanium, sans-serif; }

/* --- мобильная ветка (<949px): поиск в иконку 40×40, gap 0, подпись Random скрыта --- */
@media (width < 949px) {
  .catalog-toolbar {
    gap: 0; overflow-x: auto; overflow-y: hidden;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .catalog-toolbar::-webkit-scrollbar { width: 0; height: 0; display: none; }
  .catalog-toolbar > .tlg-search {
    flex: 0 0 auto; max-width: 40px;
    transition: max-width .3s cubic-bezier(.4, 0, .2, 1);
  }
  .catalog-toolbar .tlg-field { padding: 0 0 0 4px; }
  .catalog-toolbar .tlg-field input { visibility: hidden; width: 0; height: 0; }
  #catalog-random > span {
    position: absolute !important; width: 1px !important; height: 1px !important;
    margin: -1px !important; padding: 0 !important; overflow: hidden !important;
    clip-path: inset(50%); white-space: nowrap !important; border: 0 !important;
  }
}

/* брейкпоинт донора 1200px (spec §20): отступы контента 64px → 32px.
   DONOR-объект .bl-content-padding читает var(--bl-content-padding,64px),
   в нашем клоне переменная нигде не задаётся, поэтому 32px выставляем здесь.
   Строка инструментов от этого шире на 64px (929 → 1021 при viewport 1173),
   и поле поиска выходит на соотношение донора. */
@media (width < 1200px) {
  /* .bl-content-padding: 32px убран: донор на этой ширине держит 48px, и наш ряд уже совпадал с донорским (929 против 925px при окне 1173) */
}

/* RTP-бейдж на плитке в категории Boosted RTP (catalog.js, addRtpBadge).
   Левый верх: справа сверху у плитки сердечко, справа снизу pop-out. */
.rtp-badge{position:absolute;top:6px;left:6px;z-index:2;padding:2px 6px;border-radius:6px;background:rgba(0,0,0,.55);color:#5cffc1;font:700 11px/1.2 Oxanium,sans-serif;pointer-events:none}
.rtp-badge--low{top:auto;bottom:6px}
.catalog-card{position:relative}
/* ============================================================
   P0 — ПОПАП БАЛАНСА / ДЕПОЗИТА ПО ЖИВЫМ ЗАМЕРАМ ДОНОРА (22.11)
   docs/donor-live-2026-11-22.md: окно 350x595 radius 40; кнопки-иконки
   42x42 круглые шаг 73; вкладки 129x26 radius 24; строки кошельков
   230x40 шаг 52; More 184x100 radius 24 с Vault/Tip 160x36 radius 40;
   Deposit 380x823 radius 40, QR 180x180 radius 24, COPY ADDRESS 127x37
   radius 40, строки Wallet/Network 332x60 radius 18 на rgba(0,0,0,.2).
   Блок последний — перебивает правила выше при равной специфичности.
   ============================================================ */
.wl-sheet {
  box-sizing: border-box;
  width: 350px;
  min-height: 595px;
  padding: 24px 20px 20px;
  border: 0;
  border-radius: 40px;
  background: oklab(0.2957 0 -0.034 / 0.96);
  box-shadow: rgba(0,0,0,0.08) 0 4px 32px 0;
  backdrop-filter: blur(18px);
}
.wl-top { color: rgb(133,143,166); font: 700 12px/1 Oxanium, sans-serif; letter-spacing: .04em; }
.wl-top b { color: rgb(255,255,255); font: 800 28px/1 Oxanium, sans-serif; }

/* ряд кнопок-иконок: 42x42, полностью скруглённые, шаг 73px */
.wl-acts { display: flex; flex-wrap: nowrap; gap: 31px; margin: 22px 0 20px; }
.wl-acts button {
  width: 42px; height: 42px; padding: 0;
  border: 0; border-radius: 50%;
  background: oklab(0.6498 -0.0020 -0.0362 / 0.1);
  color: rgb(255,255,255); cursor: pointer;
  display: grid; place-items: center;
  transition: background .15s ease, color .15s ease;
}
/* hover-фона и смены цвета нет (донор) */
.wl-acts button svg { width: 20px; height: 20px; }
.wl-acts button span { display: none; }

/* вкладки CRYPTO / LOCAL CURRENCY: 129x26, radius 24 */
.wl-tabs { display: grid; grid-template-columns: 129px 129px; gap: 2px; padding: 0; margin: 0 0 18px; background: transparent; }
.wl-tabs button {
  height: 26px; padding: 5px 12px; border: 0; border-radius: 24px;
  background: transparent; color: rgb(133,143,166);
  font: 800 13px/1 Oxanium, sans-serif; letter-spacing: .02em; cursor: pointer;
}
.wl-tabs button.on { background: transparent; color: rgb(92,255,193); box-shadow: none; }

/* строки кошельков: 230x40, шаг 52, кружок-стрелка 20x20 */
.wl-list { gap: 12px; max-height: 320px; padding: 0; }
.wl-coin {
  box-sizing: border-box; width: 230px; height: 40px;
  grid-template-columns: 24px 1fr auto 20px; gap: 8px;
  padding: 2px 0 2px 8px; border-radius: 20px; background: transparent;
}
/* строки монет: hover-фона у донора нет */
.wl-coin svg { width: 24px; height: 24px; }
.wl-sym { width: 24px; height: 24px; }
.wl-name { font: 700 13px/1 Oxanium, sans-serif; color: rgb(255,255,255); }
.wl-bal { font: 700 11px/1 Oxanium, sans-serif; color: rgb(160,172,199); }
.wl-plus { width: 20px; height: 20px; border-radius: 50%; background: oklab(0.6498 -0.0020 -0.0362 / 0.14); font-size: 11px; }

/* Manage Wallets / 2FA — строки 302x40 radius 24 */
.wl-manage, .wl-2fa {
  box-sizing: border-box; width: 302px; min-height: 40px;
  margin: 10px 0 0; padding: 8px 12px; border-radius: 24px;
  background: oklab(0.6498 -0.0020 -0.0362 / 0.08);
  color: rgb(160,172,199); font: 600 12px/1.3 Oxanium, sans-serif;
}
.wl-manage b, .wl-2fa b { color: rgb(255,255,255); font-weight: 700; }
.wl-2fa button {
  border: 0; border-radius: 24px; padding: 8px 14px;
  background: rgb(92,255,193); color: rgb(27,29,41);
  font: 800 12px/1 Oxanium, sans-serif; cursor: pointer;
}

/* --- MORE: маленький popup 184x100 radius 24, пункты 160x36 radius 40 --- */
.wl-more-menu {
  box-sizing: border-box; width: 184px; padding: 8px;
  border: 0; border-radius: 24px;
  background: oklab(0.3321 -0.0005 -0.0423 / 0.9);
  box-shadow: rgba(0,0,0,0.1) 0 4px 30px;
  backdrop-filter: blur(14px);
}
.wl-more-menu button {
  display: flex; align-items: center; gap: 8px;
  box-sizing: border-box; width: 160px; height: 36px; padding: 0 14px;
  border: 0; border-radius: 40px; background: transparent;
  color: rgb(160,172,199); font: 600 16px/1 Oxanium, sans-serif; cursor: pointer;
}
.wl-more-menu button:hover { background: oklab(0.6498 -0.0020 -0.0362 / 0.12); color: rgb(255,255,255); }

/* --- VAULT: окно 350x595, radius 40 сверху / 24 внутри --- */
.vt-sheet {
  box-sizing: border-box; width: 350px; min-height: 595px;
  padding: 20px; border: 0; border-radius: 40px;
  background: oklab(0.2957 0 -0.034 / 0.96);
  box-shadow: rgba(0,0,0,0.08) 0 4px 32px 0;
}
.vt-head { display: flex; align-items: center; gap: 10px; }
.vt-back, .vt-x { width: 34px; height: 56px; border: 0; border-radius: 18px; background: transparent; color: rgb(160,172,199); cursor: pointer; }
.vt-title { flex: 1; color: rgb(160,172,199); font: 800 13px/1 Oxanium, sans-serif; letter-spacing: .06em; }
.vt-total { color: rgb(133,143,166); font: 700 11px/1 Oxanium, sans-serif; }
.vt-total b { display: block; margin-top: 6px; color: rgb(255,255,255); font: 800 26px/1 Oxanium, sans-serif; }
.vt-tiles { display: flex; justify-content: center; gap: 50px; margin: 26px 0; }
.vt-tile { box-sizing: border-box; width: 48px; height: 79px; padding: 15px; border: 0; border-radius: 999px; background: oklab(0.2344 0.0029 -0.0231 / 0.3); color: rgb(160,172,199); cursor: pointer; }
.vt-empty { text-align: center; color: rgb(133,143,166); font: 600 12px/1.4 Oxanium, sans-serif; }
.vt-transfer {
  box-sizing: border-box; width: 302px; min-height: 119px;
  padding: 16px 20px 16px 16px; border-radius: 24px;
  background: oklab(0.6498 -0.0020 -0.0362 / 0.08);
  color: rgb(255,255,255); font: 700 13px/1 Oxanium, sans-serif;
}

/* --- DEPOSIT: диалог 380x823 radius 40 --- */
.wl-sheet.dp-mode { width: 380px; min-height: 823px; padding: 24px; border-radius: 40px; }
.dp-qr { box-sizing: border-box; width: 180px; height: 180px; margin: 0 auto; border-radius: 24px; }
.dp-qr img { border-radius: 18px; }
.dp-addr { box-sizing: border-box; gap: 10px; padding: 14px; border-radius: 24px; background: rgba(0,0,0,0.2); }
.dp-netrow, .dp-coin {
  box-sizing: border-box; width: 332px; min-height: 60px;
  padding: 8px 24px 10px; border: 0; border-radius: 18px;
  background: rgba(0,0,0,0.2);
  color: rgb(160,172,199); font: 600 13px/1.3 Oxanium, sans-serif;
}
.dp-netrow b, .dp-coin b { color: rgb(255,255,255); font-weight: 700; }
.dp-addr button, .dp-copy {
  box-sizing: border-box; width: 127px; height: 37px; padding: 14px 16px;
  border: 0; border-radius: 40px;
  background: oklab(0.6498 -0.0020 -0.0362 / 0.1);
  color: rgb(255,255,255); font: 740 13px/1 Oxanium, sans-serif; cursor: pointer;
  display: grid; place-items: center;
}
.dp-addr code { color: rgb(221,228,236); font: 500 12px/1.5 ui-monospace, monospace; }
.dp-warn { color: rgb(160,172,199); font: 500 12px/1.5 Oxanium, sans-serif; }
.dp-warn button { border: 0; background: transparent; color: rgb(255,255,255); font: 600 12px/1 Oxanium, sans-serif; cursor: pointer; padding: 0; }
.dp-netrow.direct {
  min-height: 69px; padding: 14px 22px 14px 24px; border-radius: 24px;
  background: oklab(0.6498 -0.0020 -0.0362 / 0.1);
}
.dp-netrow .dp-badge { color: rgb(92,255,193); font: 800 12px/1 Oxanium, sans-serif; }

/* --- дополнения к P0: строка Manage Wallets, поле суммы в Vault, подписи вкладок --- */
.wl-manage { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wl-manage button { margin-left: auto; }
.wl-tabs button { text-transform: uppercase; letter-spacing: .05em; }
.wl-acts button svg { width: 20px; height: 20px; display: block; }
.wl-sym svg { width: 24px; height: 24px; display: block; }
.vt-tile svg { width: 18px; height: 18px; }
.vt-amount { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.vt-amount input { flex: 1; min-width: 0; height: 36px; padding: 0 12px; border: 0; border-radius: 18px; background: rgba(0,0,0,0.25); color: #fff; font: 700 14px Oxanium, sans-serif; outline: none; }
.vt-amount button { height: 36px; padding: 0 16px; border: 0; border-radius: 24px; background: rgb(92,255,193); color: rgb(27,29,41); font: 800 13px/1 Oxanium, sans-serif; cursor: pointer; }

/* --- P0 finalizer: точные размеры донора, перебивают всё остальное --- */
.wl-acts button { min-height: 42px; height: 42px !important; min-width: 42px; }
.wl-coin { height: 40px !important; }
.wl-list { gap: 12px !important; }            /* 40 + 12 = шаг 52, как у донора */
.wl-manage, .wl-2fa { min-height: 40px !important; height: 40px !important; width: 302px !important; }
.wl-manage span, .wl-2fa { line-height: 1.15; }
.wl-2fa { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
/* депозит: диалог 380x823 — класс поличного экрана определяем по :has(.dp-head) */
.wl-sheet:has(.dp-head) { width: 380px !important; min-height: 823px; padding: 24px !important; }
.dp-addr button, .dp-copy, .wl-sheet:has(.dp-head) .dp-addr button { text-transform: uppercase; letter-spacing: .03em; }

/* строки не должны сжиматься: у .wl-list фиксированная высота + overflow,
   а flex-элементы по умолчанию сжимаются вдоль главной оси (flex-shrink:1),
   из-за чего ряд 40px превращался в 28px. */
.wl-coin { flex: 0 0 auto; }
.wl-list { flex: 0 0 auto; height: 260px; max-height: 260px; }

/* ============================================================
   ПОИСК ПО ЗАМЕРУ ДОНОРА (27.11, полный слепок DOM — tmp/capture/search_donor_state.html)
   Донор — поповер (Bits UI) под кнопкой лупы: right edge = right edge кнопки (1426),
   верх 20px, панель 660px, radius 32, bg oklab(0.295687 .../0.96),
   backdrop blur(30px), тень rgba(0,0,0,0.08) 0 4px 32px, overflow hidden.
   Внутри три строки:
   1) строка поля h-[63px] pt-24, border-bottom 1px oklab(0.743984 .../0.07),
      паддинг 0 32px, поля ⌕ у донора НЕТ; input 14px/21px 400 белым,
      placeholder rgb(133,143,166), caret rgb(92,255,193); крестик absolute
      right-18 по центру и появляется только с текстом.
   2) список: область прокрутки max-h-[385px], внутри паддинг 20px и gap 12px;
      заголовок "Recommended games" 13px/15.6px 800 uppercase белым 90%,
      паддинг 2px 12px 8px; сетка 6 колонок по 96.67px, gap-x 8px, gap-y 12px,
      плитка aspect 3/4 (96.67x128.89).
   3) подвал паддинг 16px 32px, gap 16px, border-top 1px oklab(0.743984 .../0.07),
      bg oklab(0.295687 .../0.9); группы gap 8px, клавиши gap 6px, сама клавиша
      20x20 radius 6 border 1px oklab(0.743984 .../0.1) без фона, глиф
      11px/13.2px 600 rgb(160,172,199) шрифтом SF Pro (у донора он задан явно),
      esc — шириной по тексту, padding 5px, 700 uppercase; подпись ряда
      13px/15.6px 500 rgb(160,172,199).
   Высота панели из этих чисел = 63 + 1 + 385 + 1 + 52 = 502 (замер 22.11 был 501).
   ============================================================ */
dialog.search-wrap, .search-wrap { padding: 0; background: transparent; border: 0; overflow: visible; }
dialog.search-wrap::backdrop { background: rgba(0,0,0,0.01); backdrop-filter: none; }
.search-box {
  box-sizing: border-box;
  position: fixed; top: 20px; left: 12px;
  display: flex; flex-direction: column;
  width: 660px; max-height: calc(100dvh - 40px); padding: 0; border: 0; border-radius: 32px;
  background: oklab(0.295687 0.0000032 -0.0339771 / 0.96);
  backdrop-filter: blur(30px);
  box-shadow: rgba(0,0,0,0.08) 0 4px 32px 0; overflow: hidden;
  transition-duration: 0s !important; animation: none !important;
}
/* строка поля: 63px, верхний отступ 24px, разделитель снизу */
.search-input-wrap {
  box-sizing: border-box; flex: none; display: flex; align-items: center; gap: 0;
  height: 63px; padding: 24px 32px 0; border: 0; border-radius: 0;
  border-bottom: 1px solid oklab(0.743984 -0.0025965 -0.0411944 / 0.07);
  background: transparent; position: relative;
}
.search-input-wrap input { flex: 1 1 auto; min-width: 0; border: 0; outline: none; background: none;
  color: rgb(255,255,255); font: 400 14px/21px Oxanium, sans-serif; caret-color: rgb(92,255,193); }
.search-input-wrap input::placeholder { color: rgb(133,143,166); }
.search-input-wrap > span[aria-hidden] { display: none; }   /* у донора лупы в поле нет */
.search-close { position: absolute; top: 50%; right: 18px; transform: translateY(-50%);
  width: 20px; height: 20px; color: rgb(133,143,166); }
.search-input-wrap:has(input:placeholder-shown) .search-close { visibility: hidden; }
/* список: прокрутка 385px, паддинг 20px, gap 12px, сетка 6x96.67px */
.search-scroll { box-sizing: border-box; flex: 1 1 auto; display: flex; flex-direction: column; gap: 12px;
  max-height: 385px; padding: 20px; overflow-y: auto; scrollbar-width: thin; overscroll-behavior: contain; }
.search-heading { margin: 0; padding: 2px 12px 8px; color: rgba(255,255,255,.9);
  font: 800 13px/15.6px Oxanium, sans-serif; text-transform: uppercase; }
.search-results { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px 8px; margin-top: 0; }
.search-card { aspect-ratio: 3 / 4; }
.search-card [data-testid="game-tile-link"] { display: block; aspect-ratio: 3 / 4; }
/* подвал с горячими клавишами */
.search-hints { flex: none; display: flex; align-items: center; justify-content: flex-start; gap: 16px;
  margin-top: 0; padding: 16px 32px; color: rgb(160,172,199);
  border-top: 1px solid oklab(0.743984 -0.0025965 -0.0411944 / 0.07);
  background: oklab(0.295687 0.0000032 -0.0339771 / 0.9); }
.search-hints span { display: flex; align-items: center; gap: 6px; }
.hint-g { gap: 8px !important; flex: none; }
.hint-g > i { font: 500 13px/15.6px Oxanium, sans-serif; font-style: normal; color: rgb(160,172,199); }
.search-hints kbd { display: flex; align-items: center; justify-content: center; box-sizing: border-box;
  width: 20px; height: 20px; min-width: 20px; padding: 0; border: 1px solid oklab(0.743984 -0.0025965 -0.0411944 / 0.1);
  border-radius: 6px; background: none; color: rgb(160,172,199); text-align: center;
  font: 600 11px/13.2px "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.search-hints kbd.esc { width: auto; padding: 5px; font-weight: 700; text-transform: uppercase; }
@media (max-width: 760px) { .search-box { width: calc(100vw - 24px); left: 12px !important; } }

/* ============================================================
   КОШЕЛЁК 1:1 ПО ЗАМЕРУ ДОНОРА (26.11, thrill.com, поповер 350x595)
   1) Фон страницы НЕ затемняется и НЕ блюрится: блюрит сама панель
      (backdrop-filter на ней), затемняющего слоя у донора нет.
   2) «Total Balance» 13px и сумма 32/700 — по центру окна, в углу
      шестерёнка «Wallet Settings» 36x36 (inset 18/19).
   3) 4 кнопки: колонки по 74px, иконка 42x42 кругом, подпись 10/700
      под ней (Deposit, Withdraw, Buy Crypto, More).
   4) Светлый блок radius 24 (rgba(166,172,196,.10)) = пилюля
      Crypto/Local Currency 270x36 radius 40 на rgba(0,0,0,.2) + список
      монет: строка 40px шаг 12, аватар 36px кругом, тикер 13/700 белым,
      полное имя 11/500 #a0acc7, справа сверху $ 13/700, снизу сумма в
      монете 11/500. Отступы внутри: пилюля 16px, список 20px.
   5) Ниже строка «Stay Secure with 2FA» 40px radius 24 тем же светлым
      фоном: щит 14px, текст 12/600, справа Enable 12/700. Крестика нет.
   ============================================================ */
dialog.wl-wrap.popup::backdrop { background: transparent; backdrop-filter: none; }

/* лист кошелька = донорская панель 350x595 (замер 27.11, tab 8):
   обёртка контента 350x593 с padding 28px 24px 24px 24px и gap 20px;
   высота складывается так: 28 + 48 (заголовок) + 24 + 59 (ряда иконок) + 20
   + 330 (box) + 20 + 40 (2FA) + 24 = 593 */
.wl-sheet { position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px 24px; }
.wl-set {
  position: absolute; right: 18px; top: 19px; width: 36px; height: 36px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: rgb(133,143,166);
  display: grid; place-items: center; cursor: pointer;
}
.wl-set svg { width: 16px; height: 16px; }
.wl-set:hover { color: rgb(255,255,255); }

/* донор: 302x48, flex-col, gap 16px, по центру (замер tab 8) */
.wl-head { margin-top: 0; height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; overflow: hidden; }
/* Замер скачанной страницы «wallet\Thrill_ … ..html» + живые классы донора (вкладка 2):
   «Total Balance» = typ-label-medium text-foreground-secondary → 13/15.6 400,
   цвет oklab(1 0 0 / 0.9) = rgba(255,255,255,.9); зазор до глаза gap-10 = 10px.
   Самая большая сумма = typ-display-medium font-bold text-foreground-muted-1 →
   32/38.4 700, цвет --color-base-8 = #858fa6 = rgb(133,143,166) — серая, не белая.
   Ряд «Total Balance»→сумма: flex-col gap-16 = 16px. */
.wl-cap { display: flex; align-items: center; justify-content: center; gap: 10px; color: rgba(255, 255, 255, .9); font: 400 13px/10px Oxanium, sans-serif; }
.wl-eye { width: 10px; height: 10px; padding: 0; border: 0; background: transparent; color: rgb(133,143,166); display: grid; place-items: center; cursor: pointer; }
.wl-eye:hover { color: rgba(255, 255, 255, .9); }
.wl-eye svg { width: 10px; height: 10px; }
/* донор: блок суммы 22px высотой при строке 38.4px (обрезок по верху строки —
   у цифр нет выносных элементов, поэтому видно всё число), зазор 16px делает gap
   заголовка, поэтому margin-top убран */
.wl-sum { margin-top: 0; height: 22px; overflow: hidden; color: rgb(133,143,166); font: 700 32px/1.2 Oxanium, sans-serif; font-variant-numeric: tabular-nums; }

.wl-acts { display: flex; gap: 0; box-sizing: border-box; padding: 0 4px; margin: 24px 0 20px; }
.wl-act { flex: 1 1 74px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.wl-ico {
  width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%;
  background: oklab(0.6498 -0.0020 -0.0362 / 0.10); color: rgb(255,255,255);
  display: grid; place-items: center; cursor: pointer; transition: background .15s ease, color .15s ease;
}
/* круги действий листа: hover без изменения фона и цвета (донор) */
.wl-ico svg { width: 20px; height: 20px; display: block; }
.wl-lbl { color: rgb(160,172,199); font: 700 10px/7px Oxanium, sans-serif; text-align: center; white-space: nowrap; }

.wl-box { border-radius: 24px; background: oklab(0.6498 -0.0020 -0.0362 / 0.10); padding: 14px 0 0; }
.wl-pill { display: flex; gap: 2px; box-sizing: border-box; height: 36px; margin: 0 16px; padding: 5px; border-radius: 40px; background: rgba(0,0,0,.2); }
.wl-pill button {
  flex: 1 1 129px; min-width: 0; height: 26px; padding: 0; border: 0; border-radius: 24px;
  background: transparent; color: rgb(133,143,166);
  font: 800 12px/14.4px Oxanium, sans-serif; text-transform: uppercase; cursor: pointer;
}
/* донор (замер 27.11, tab 8): у активной вкладки списка НЕТ подложки — ни своей,
   ни абсолютного слоя внутри контейнера (проверено перебором потомков); отличие
   только цветом текста: активная rgb(92,255,193), пассивная rgb(133,143,166) */
.wl-pill button.on { background: transparent; color: rgb(92,255,193); }

.wl-list { display: flex; flex-direction: column; gap: 12px; box-sizing: border-box; height: 280px; max-height: 280px; margin: 0 20px; padding: 12px 0 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(160,172,199,.35) transparent; }
.wl-list::-webkit-scrollbar { width: 4px; }
.wl-list::-webkit-scrollbar-thumb { background: rgba(160,172,199,.35); border-radius: 4px; }
.wl-row { flex: 0 0 40px; height: 40px; }
.wl-coin {
  box-sizing: border-box; width: 100%; height: 40px; flex: 0 0 40px;
  display: flex; align-items: center; gap: 8px; padding: 0 32px 0 8px;
  border: 0; border-radius: 20px; background: transparent; color: inherit; text-align: left; cursor: pointer;
}
/* строки монет: hover-фона у донора нет */
.wl-av { position: relative; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: rgb(32,36,51); display: grid; place-items: center; overflow: visible; color: rgb(160,172,199); font: 700 13px/1 Oxanium, sans-serif; }
.wl-av svg, .wl-av img { width: 36px; height: 36px; display: block; border-radius: 50%; }
.wl-av i { position: absolute; left: -2px; bottom: -2px; width: 16px; height: 16px; border-radius: 50%; background: rgb(32,36,51); display: none; place-items: center; }
.wl-av i svg { width: 12px; height: 12px; color: rgb(92,255,193); }
.wl-row.on .wl-av i { display: grid; }
/* Строка монеты — скачанная страница «wallet\Thrill_ … ..html»:
   колонки разделены gap-8 = 8px; левая строка 1 = тикер typ-label-medium font-bold
   text-foreground-primary (белый 13/15.6), правая 1 = $ typ-label-medium font-bold
   text-foreground-muted-3 (rgb(160,172,199)); строка 2 = имя и количество
   typ-label-xsmall font-medium text-foreground-muted-3 (11/13.2, rgb(160,172,199)).
   Раньше количество было rgb(133,143,166) — темнее донора. */
.wl-names { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.wl-tk { color: rgb(255,255,255); font: 700 13px/15.6px Oxanium, sans-serif; }
.wl-full { color: rgb(160,172,199); font: 500 11px/13.2px Oxanium, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-amts { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.wl-usd { color: rgb(160,172,199); font: 700 13px/15.6px Oxanium, sans-serif; font-variant-numeric: tabular-nums; }
.wl-unit { color: rgb(160,172,199); font: 500 11px/13.2px Oxanium, sans-serif; font-variant-numeric: tabular-nums; }

.wl-2fa {
  /* донор: 302x40, padding 12px 20px 12px 22px, gap 10px, radius 24px */
  box-sizing: border-box; width: 100%; height: 40px; margin: 20px 0 0; padding: 12px 20px 12px 22px;
  display: flex; align-items: center; gap: 10px; border: 0; border-radius: 24px;
  background: oklab(0.6498 -0.0020 -0.0362 / 0.10); color: rgb(232,236,244);
  font: 600 12px/1 Oxanium, sans-serif; cursor: pointer;
}
.wl-2fa svg { width: 14px; height: 14px; flex: 0 0 14px; }
.wl-2fa-t { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-2fa-b { flex: 0 0 auto; color: rgb(255,255,255); font: 700 12px/1 Oxanium, sans-serif; }

/* ── Окно Deposit 1:1 по скачанному донору (26.11). Классы донора = px:
   панель 380, radius 40, padding 24 (правило выше). Шапка: Back/Close 34x34,
   заголовок 16/700 uppercase по центру. Пилюля Crypto | Local Currency 332x36
   (padding 5, gap 2, кнопки h26 radius 24, 12/800 uppercase, активная — accent на
   accent/6%). QR 180x180 radius 24 по центру, шаг секции 16; адрес 14/500 по центру
   break-all muted; Copy Address h37 radius 40. Строки Wallet/Network 332x60 radius 18,
   шаг 12: подпись 11/500 слева сверху, значение 13/700 справа снизу (pt 6), шеврон 20px.
   Confirmations 13/500, gap 6, иконка 16. Предупреждение radius 20, padding 18x20,
   12/150 + Learn more подчёркнутым. Or: my 20, две линии 1px, текст 13/700 uppercase.
   Direct Deposit h69 radius 24, padding 14 22 14 24: заголовок 14/700 uppercase +
   подпись 12/500 muted, справа +N и шеврон; бейдж Popular top -8 left 24, radius 5,
   padding 5 6, 10/800 uppercase, фон #5956ff (bg-neutral у донора). */
.wl-sheet:has(.dp-head) .dp-head { margin: 0 0 16px; gap: 4px; }
.dp-head b { font: 700 16px/1.2 Oxanium, sans-serif; text-transform: uppercase; }
.dp-back, .dp-x { width: 34px; height: 34px; border: 0; background: transparent; color: rgb(221, 228, 236); cursor: pointer; font-size: 15px; }
.dp-tabs { display: flex; box-sizing: border-box; width: 332px; height: 36px; gap: 2px; margin: 0 0 16px; padding: 5px; border-radius: 40px; background: rgba(0, 0, 0, 0.2); }
.dp-tabs button { flex: 1 1 163px; height: 26px; border: 0; border-radius: 24px; background: transparent; color: rgb(133, 143, 166); cursor: pointer; font: 800 12px/14.4px Oxanium, sans-serif; text-transform: uppercase; }
.dp-tabs button.on { background: rgba(92, 255, 193, 0.06); color: rgb(92, 255, 193); }
.dp-qrsec { display: flex; flex-direction: column; gap: 16px; align-items: center; padding: 0 48px; }
.dp-qr { position: relative; box-sizing: border-box; width: 180px; height: 180px; margin: 0; padding: 0; border: 0; border-radius: 24px; background: #f4f6f9; }
.dp-qr img { width: 100%; height: 100%; border-radius: 16px; image-rendering: pixelated; object-fit: contain; }
/* логотип выбранной монеты в центре QR (у донора в центре кода — иконка монеты):
   светлая «вырезка» под ней того же цвета, что поле кода, чтобы код читался */
.dp-qrlogo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #f4f6f9; pointer-events: none; }
.dp-qrlogo svg { width: 28px; height: 28px; display: block; }
.dp-addr-line { color: rgb(133, 143, 166); font: 500 14px/1.2 Oxanium, sans-serif; text-align: center; word-break: break-all; }
.dp-copyrow { display: flex; width: 100%; height: 40px; align-items: center; justify-content: center; }
.dp-copy { box-sizing: border-box; height: 37px; padding: 0 16px; border: 0; border-radius: 40px; background: oklab(0.6498 -0.0020 -0.0362 / 0.10); color: rgb(255, 255, 255); cursor: pointer; font: 740 13px/1 Oxanium, sans-serif; text-transform: uppercase; letter-spacing: 0.03em; }
.dp-copy[disabled] { color: rgb(133, 143, 166); cursor: default; }
.dp-fields { display: flex; flex-direction: column; gap: 12px; width: 332px; margin-top: 32px; }
/* строки Wallet/Network: сетка донора grid-cols-[2fr max-content 20px] x 2 ряда,
   h 60, radius 18, фон field-background, padding 8/24/10 (pt-8 px-24 pb-10) */
.dp-field { display: grid; box-sizing: border-box; width: 332px; height: 60px; grid-template-columns: 2fr max-content 20px; grid-template-rows: 1fr 1fr; align-items: center; justify-items: start; padding: 8px 24px 10px; border: 0; border-radius: 18px; background: rgba(0, 0, 0, 0.2); color: rgb(160, 172, 199); font: 400 13px/1.2 Oxanium, sans-serif; text-align: left; cursor: pointer; }
.dp-field .dp-tk { display: flex; flex-wrap: nowrap; gap: 6px; align-items: center; min-width: 0; max-width: 100%; color: rgb(255, 255, 255); font: 600 13px/1.2 Oxanium, sans-serif; white-space: nowrap; }
.dp-field .dp-tk svg { width: 14px; height: 14px; flex: 0 0 14px; }
.dp-field .dp-tk em { display: inline-block; min-width: 0; max-width: 100%; overflow: hidden; color: rgb(255, 255, 255); font-style: normal; text-overflow: ellipsis; vertical-align: bottom; }
.dp-field .dp-tk em.up { text-transform: uppercase; }
.dp-field .dp-tk em.ht { height: 14px; }
.dp-field .dp-r2 { justify-self: end; font: 500 11px/1.2 Oxanium, sans-serif; white-space: nowrap; }
.dp-cap { grid-area: 1 / 1; color: rgb(160, 172, 199); font: 500 11px/1.2 Oxanium, sans-serif; }
.dp-bal { justify-self: end; padding-top: 6px; color: rgb(160, 172, 199); font: 700 13px/1.2 Oxanium, sans-serif; white-space: nowrap; }
.dp-val { grid-area: 2 / 2; display: flex; align-items: baseline; gap: 8px; justify-self: end; padding-top: 6px; color: rgb(255, 255, 255); font: 700 13px/1.2 Oxanium, sans-serif; }
.dp-val i { color: rgb(133, 143, 166); font: 500 13px/1.2 Oxanium, sans-serif; font-style: normal; }
.dp-chev { grid-area: 1 / 3 / span 2 / 3; display: flex; justify-self: end; padding-top: 2px; color: rgb(160, 172, 199); }
.dp-chev svg { width: 20px; height: 20px; }
.dp-conf { display: flex; gap: 6px; align-items: center; color: rgb(160, 172, 199); font: 500 13px/1.2 Oxanium, sans-serif; }
.dp-conf svg { width: 16px; height: 16px; }
.dp-conf b { color: rgb(255, 255, 255); font-weight: 700; }
.dp-note { box-sizing: border-box; width: 332px; margin-top: 16px; padding: 18px 20px; border-radius: 20px; background: oklab(0.6498 -0.0020 -0.0362 / 0.10); }
.dp-note .dp-warn { display: inline; margin: 0; color: rgb(160, 172, 199); font: 500 12px/1.5 Oxanium, sans-serif; }
.dp-learn { display: inline; border: 0; background: transparent; padding: 0; color: rgb(221, 228, 236); cursor: pointer; font: 500 12px/1.5 Oxanium, sans-serif; text-decoration: underline; }
.dp-or { position: static; display: flex; box-sizing: border-box; width: 332px; gap: 16px; align-items: center; margin: 20px 0; padding: 6px 13px; color: rgb(160, 172, 199); font: 700 13px/1 Oxanium, sans-serif; text-transform: uppercase; }
.dp-or::before, .dp-or::after { content: ""; position: static; flex: 1; height: 1px; border-radius: 10px; background: rgba(184, 194, 218, 0.4); }
.dp-or span { position: static; padding: 0; background: none; white-space: nowrap; }
.dp-direct { position: relative; display: grid; box-sizing: border-box; width: 332px; height: 69px; padding: 14px 22px 14px 24px; border: 0; border-radius: 24px; background: oklab(0.6498 -0.0020 -0.0362 / 0.10); cursor: pointer; }
.dp-dl { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; text-align: left; }
.dp-direct b { color: rgb(255, 255, 255); font: 700 14px/1.2 Oxanium, sans-serif; text-transform: uppercase; }
.dp-direct i { color: rgb(133, 143, 166); font: 500 12px/1.2 Oxanium, sans-serif; font-style: normal; }
.dp-dr { grid-area: 1 / 1; display: flex; gap: 6px; align-items: center; justify-self: end; color: rgb(160, 172, 199); }
.dp-dr em { color: rgb(160, 172, 199); font: 700 13px/1 Oxanium, sans-serif; font-style: normal; }
.dp-dr svg { width: 20px; height: 20px; }
.dp-tag { position: absolute; top: -8px; left: 24px; padding: 5px 6px; border-radius: 5px; background: #5956ff; color: rgba(255, 255, 255, 0.9); font: 800 10px/1 Oxanium, sans-serif; text-transform: uppercase; }
.dp-loc { display: flex; box-sizing: border-box; width: 332px; flex-direction: column; gap: 18px; align-items: center; padding: 64px 32px; text-align: center; }
.dp-loc-ic { display: flex; width: 64px; height: 64px; align-items: center; justify-content: center; border-radius: 50%; background: oklab(0.6498 -0.0020 -0.0362 / 0.10); color: rgb(92, 255, 193); }
.dp-loc-ic svg { width: 28px; height: 28px; }
.dp-loc-h { color: rgb(255, 255, 255); font: 700 16px/1.2 Oxanium, sans-serif; text-transform: uppercase; }
.dp-loc-s { color: rgb(160, 172, 199); font: 500 13px/1.4 Oxanium, sans-serif; }
.dp-loc-b { height: 40px; min-width: 200px; padding: 0 20px; border: 0; border-radius: 40px; background: rgb(92, 255, 193); color: rgb(20, 22, 31); cursor: pointer; font: 740 13px/1 Oxanium, sans-serif; text-transform: uppercase; }

/* У донора высота окна Deposite задаётся контентом (--desktop-height: unset), поэтому
   снимаем наши фиксированные 823px и потолок 680px: кнопка Direct Deposit целиком
   видна, внутреннего скролла в окне депозита нет. */
.wl-sheet:has(.dp-head) { min-height: 0; max-height: none; overflow: visible; }

/* ── Низ страницы: ряд печатей под текстом лицензии (26.11, замер живого донора).
   Ряд = GameCheck-баннер 218x64 (фон seal.gamecheck.cloud/…png, nat 871x256, cover)
   + зазор 16 (sm 32) + печать Anjouan 42x42 (nat 128x128). Обёртка баннера p-[3px]
   => 228x70. Hover баннера: scale(1.1) за 300ms ease-in-out — как у донора.
   Картинки лежат в front/img/trust/ (скачаны с живого донора, байты совпадают). */
div.flex.flex-wrap.items-center:has(#trust-seal-container) { flex-wrap: wrap; align-items: center; gap: 16px; }
#trust-seal-container { display: flex; box-sizing: border-box; width: 222px; height: 64px; align-items: center; justify-content: center; }
#trust-seal-container-a {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 217.75px;
  height: 64px;
  background-image: url(../img/trust/gamecheck-seal.png);
  background-size: cover;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}
#trust-seal-container-a:hover { transform: scale(1.1); }
[id^="anj-"] > div { display: block; position: relative; overflow: hidden; box-sizing: border-box; width: 42px; max-width: 42px; min-width: 32px; }
[id^="anj-"] img { width: 100%; height: auto; }
@media (min-width: 640px) { div.flex.flex-wrap.items-center:has(#trust-seal-container) { gap: 32px; } }

/* ── Окно Deposit: сетка 380x823 по замерам донора (27.11, вкладка Agent F) ──
   Обёртка донора без паддинга, секции заданы числом:
   шапка 380x72 (padding 19px 24px, ряд 332x34) + ряд вкладок 380x52 (36 + 16 снизу)
   + контент: 4 сверху, 24 по бокам, 24 снизу; секция QR 332x278 (180+16+26+16+40,
   padding 0 48px, gap 16), поля 332x132 с margin-top 32 (60+12+60), плашка 332x80
   с margin-top 16, разделитель «Or» 332x21 с margin 20 сверху и снизу (padding 6px 13px,
   gap 16), карточка 332x69. Итого 72+52+4+278+32+132+16+80+20+21+20+69+24 = 820…821,
   панель 823 = +1px маски с каждой стороны. */
.wl-sheet:has(.dp-head) { padding: 0 0 24px !important; align-items: center; }
/* отступ 16px под шапкой снят: у донора ряд вкладок идёт сразу за шапкой
   (шапка 72 = padding 19px 24px + ряд 34px, затем контейнер вкладок 36 + 16 снизу) */
.wl-sheet:has(.dp-head) .dp-head { box-sizing: border-box; width: 380px; height: 72px; margin: 0; padding: 19px 24px; }
/* Back/Close у донора: 34x34, иконка 14x14, цвет белый, 16/24 */
.dp-back, .dp-x { color: rgb(255, 255, 255); font-size: 16px; line-height: 24px; }
.dp-tabs { margin: 0 0 16px; }
/* у активной вкладки подложки нет — только цвет текста (как в листе кошелька) */
.dp-tabs button.on { background: transparent; }
.dp-qrsec { width: 332px; margin-top: 4px; }
/* адрес: typ-label-large = 14/16.8 500, цвет rgb(160,172,199), блок 26px */
.dp-addr-line { color: rgb(160, 172, 199); font: 500 14px/26px Oxanium, sans-serif; }
/* Copy Address: 13/18.2 740, в верхний регистр, межбуквенный интервал обычный */
.dp-copy { font: 740 13px/18.2px Oxanium, sans-serif; letter-spacing: normal; }
/* плашка: 12/18 400 белым; у донора высота зафиксирована 80px, а текста 3 строки
   по 18px (нужно 90px) — последняя строка выходит за content-область в пустой
   зазор 20px под плашкой (замеры строк: y=17, 35, 53, высота глифов 12px) */
.dp-note { height: 80px; font: 400 12px/18px Oxanium, sans-serif; }
.dp-note .dp-warn { color: rgb(255, 255, 255); font: 400 12px/18px Oxanium, sans-serif; }
.dp-learn { color: rgb(255, 255, 255); font: 400 12px/18px Oxanium, sans-serif; text-decoration: underline; }
/* «Or»: метка 13px 700 в верхний регистр цветом rgb(133,143,166), строка 9px;
   полосы 1px со скруглением 10px и зазором 16px (донор: 128x1 | 18x9 | 128x1) */
.dp-or span { color: rgb(133, 143, 166); font: 700 13px/9px Oxanium, sans-serif; text-transform: uppercase; letter-spacing: normal; }
/* карточка Direct Deposit: подпись 12/14.4 500 rgb(160,172,199), «+21» 13/15.6 600
   rgb(133,143,166) в верхний регистр, плашка Popular = #5956ff */
.dp-direct i { color: rgb(160, 172, 199); font: 500 12px/14.4px Oxanium, sans-serif; }
.dp-dr em { color: rgb(133, 143, 166); font: 600 13px/15.6px Oxanium, sans-serif; text-transform: uppercase; }
/* переходы донора: scale 1.03 на вкладки и карточку, scale 1.1 на Back/Close
   (.int-hover-scale-plus); у Copy, полей и «Learn more» hover-правил нет */
@media (hover: hover) and (not (prefers-reduced-motion: reduce)) {
  .dp-tabs button, .dp-direct { transition: scale .3s; }
  .dp-tabs button:hover, .dp-direct:hover { scale: 1.03; }
  .dp-back, .dp-x { transition: scale .3s; }
  .dp-back:hover, .dp-x:hover { scale: 1.1; }
}
.dp-tabs button:focus-visible, .dp-copy:focus-visible, .dp-field:focus-visible,
.dp-direct:focus-visible, .dp-learn:focus-visible, .dp-back:focus-visible, .dp-x:focus-visible {
  outline: auto; outline-offset: 2px; outline-color: rgb(92, 255, 193);
}

/* Заголовки рядов каталога (Thrill Originals, Slots, ...). У донора у того же класса
   typ-heading-large стоит letter-spacing -0.02em (при 24px = -0.48px); в нашем бандле
   app.css этой строки нет, поэтому без этой правки заголовки шире донорских на ~3.5%
   ("Thrill Originals": 211px против 204px у донора). */
.typ-heading-large { letter-spacing: -0.02em; }

/* ── Плитка игры: контракт наведения ────────────────────────────────────────────
   Замеры thrill.com/casino/category/slots (27.11.2026, окно 1630px):
   • обёртка .int-hover-elevate: transition transform .3s, при :hover
     transform translateY(-8px). У донора правило лежит внутри
     @media (hover:hover) and (not (prefers-reduced-motion:reduce)); на этой
     машине reduce включён (matchMedia даёт true), поэтому сдвига нет ни у
     донора, ни у нас — так и оставляем, правило добавляя под той же защитой.
   • в углах две кнопки, которые проявляются только под курсором:
     избранное — отступ 8px сверху/справа, 34x34, радиус 64px,
       фон oklab(0.295687 0 -0.0339771 / 0.6) = rgba(31,33,42,.6), backdrop 4px;
     pop-out  — отступ 10px снизу/справа, 34x34, радиус 10px, фон rgb(32,36,51),
       backdrop 30px, иконка 14px.
   Без курсора обе кнопки opacity 0 и pointer-events none.
   Донорские утилиты определяем только внутри плитки: в нашем бандле их нет,
   а глобальные имена могут задеть чужие блоки. */
[data-testid="game-tile-link"] { position: relative; }
[data-testid="game-tile-link"] .absolute { position: absolute; }
[data-testid="game-tile-link"] .top-8 { top: 8px; }
[data-testid="game-tile-link"] .right-8 { right: 8px; }
[data-testid="game-tile-link"] .right-10 { right: 10px; }
[data-testid="game-tile-link"] .bottom-10 { bottom: 10px; }
[data-testid="game-tile-link"] .opacity-0 { opacity: 0; }
[data-testid="game-tile-link"] .size-\[34px\] { width: 34px; height: 34px; }
[data-testid="game-tile-link"] .size-14 { width: 14px; height: 14px; }
[data-testid="game-tile-link"] .rounded-64 { border-radius: 64px; }
[data-testid="game-tile-link"] .rounded-10 { border-radius: 10px; }
[data-testid="game-tile-link"] .p-10 { padding: 10px; }
[data-testid="game-tile-link"] .flex { display: flex; }
[data-testid="game-tile-link"] .items-center { align-items: center; }
[data-testid="game-tile-link"] .justify-center { justify-content: center; }
[data-testid="game-tile-link"] .top-1\/2 { top: 50%; }
[data-testid="game-tile-link"] .left-1\/2 { left: 50%; }
[data-testid="game-tile-link"] .-translate-1\/2 { transform: translate(-50%, -50%); }
[data-testid="game-tile-link"] .backdrop-blur-xs { backdrop-filter: blur(4px); }
/* Кнопка избранного: иконка должна сидеть ровно по центру кнопки. У донора
   центр svg совпадает с центром кнопки (121,25 = 121,25), а его обёртка
   top-1/2 left-1/2 -translate-1/2 работает через свойство translate (transform
   при этом none). Наш бандл этого не даёт, поэтому центрируем флексом, как в
   кнопке pop-out, а обёртку обнуляем. */
[data-testid="game-tile-link"] .bg-favorite-background {
  display: flex; align-items: center; justify-content: center;
}
[data-testid="game-tile-link"] .bg-favorite-background > div {
  position: static; transform: none; translate: none;
}
[data-testid="game-tile-link"] .effect-blur-l { backdrop-filter: blur(30px); }
/* донор 27.11: bg oklab(0.295687 0 -0.0339771 / 0.6) = rgba(38,44,62,.6),
   backdrop-filter blur(4px) (класс backdrop-blur-xs), r=64, 34x34 @(104,8) */
[data-testid="game-tile-link"] .bg-favorite-background { background-color: rgba(38, 44, 62, .6); backdrop-filter: blur(4px); }
[data-testid="game-tile-link"] .bg-gameplay-pop-out-button-primary { background-color: rgb(32, 36, 51); }
[data-testid="game-tile-link"] .text-favorite-default { color: rgb(255, 255, 255); }
[data-testid="game-tile-link"] .text-foreground-primary { color: rgb(255, 255, 255); }
/* заливка берётся из currentColor: без этой строки path остаётся fill:none и
   иконка не видна (у донора path.fill = currentColor, цвет белый) */
[data-testid="game-tile-link"] .fill-current { fill: currentColor; }
[data-testid="game-tile-link"] button[aria-label^="Add "] { position: relative; cursor: pointer; }
[data-testid="game-tile-link"] button[aria-label^="Pop out "] { cursor: pointer; }
/* оболочки кнопок: проявляются только под курсором (у донора opacity-0 + group-hover) */
[data-testid="game-tile-link"] [data-tile-reveal] {
  position: absolute; opacity: 0; pointer-events: none; z-index: 3;
}
@media (hover: hover) {
  [data-testid="game-tile-link"]:hover [data-tile-reveal],
  .group\/game-tile:hover .group-hover\/game-tile\:opacity-100 {
    opacity: 1;
    pointer-events: auto;
  }
}
@media (hover: hover) and (not (prefers-reduced-motion: reduce)) {
  [data-testid="game-tile-link"] { transition: transform .3s; }
  [data-testid="game-tile-link"]:hover { transform: translateY(-8px); z-index: 4; }
}

/* ==========================================================================
   Кнопки шапки: контракт наведения и фокуса по замерам донора 27.11 (tab 8)
   донор: .int-hover-scale { transition: scale 0.3s } и
          .int-hover-scale:hover { scale: 1.03 } — оба внутри
          @media (hover:hover) and (not (prefers-reduced-motion: reduce));
          клавиатурный фокус: .focusable { outline-offset: 2px } и
          .focusable:focus-visible { outline-color: var(--color-foreground-primary) }
          = #5cffc1 (пилюля баланса и зелёная кнопка несут этот класс)
   на этой машине reduce включён → scale/переход не срабатывает ни у донора, ни у нас
   ========================================================================== */
@media (hover: hover) and (not (prefers-reduced-motion: reduce)) {
  .hd-bal, .hd-dep { transition: scale .3s; }
  .hd-bal:hover, .hd-dep:hover { scale: 1.03; }
}
.hd-bal:focus-visible, .hd-dep:focus-visible, .hd-av:focus-visible {
  outline: auto; outline-offset: 2px; outline-color: rgb(92, 255, 193);
}

/* Лист кошелька (замер 27.11, tab 8): scale 1.03 висит на вкладках Crypto/Local
   и на строке «Stay Secure with 2FA» (класс .int-hover-scale в том же
   @media (hover:hover) and (not (prefers-reduced-motion: reduce))).
   Круги действий и строки монет — без масштаба и без фона.
   Клавиатурный фокус: outline auto цветом --color-foreground-primary (#5cffc1),
   offset 2px. */
@media (hover: hover) and (not (prefers-reduced-motion: reduce)) {
  .wl-pill button, .wl-2fa { transition: scale .3s; }
  .wl-pill button:hover, .wl-2fa:hover { scale: 1.03; }
}
.wl-pill button:focus-visible, .wl-2fa:focus-visible, .wl-coin:focus-visible,
.wl-ico:focus-visible, .wl-set:focus-visible {
  outline: auto; outline-offset: 2px; outline-color: rgb(92, 255, 193);
}

/* Донорский /sports (замеры 27.11, viewport 2560): страница без контейнера 1366 и
   без левого навбара. Корневая обёртка донора —
   DIV.[--bl-content-padding:0].[--bl-content-max-width:auto].bl-updated-left-nav
   2560x4658@0,0 с margin-left 0, main 2560x2789@0,68, fixed-навбара 116px нет
   (в точке 50,600 лежит сам виджет спортбука). Панели подвала при этом
   2560x874@0,2913 и 2560x831@0,3787, но их содержимое начинается с 336px:
   лента 2208x794@336,2937 и колонка ссылок 2208x831@336,3787 — левая граница
   выровнена с контентом виджета, чьё собственное меню занимает полосу 0..336.
   Утилиты pl-[336px] и h-[61px] в зеркальном app.css не сгенерированы (нужны
   только живому /sports), поэтому значения проставляем здесь же.
   Флаг data-bl-sports на этом маршруте ставит wiring.js. */
html[data-bl-sports] .bl-updated-left-nav { margin-left: 0; --bl-content-padding: 0; --bl-content-max-width: auto; }
html[data-bl-sports] .bl-content-padding { padding-left: 0; padding-right: 0; }
html[data-bl-sports] .z-left-nav { display: none; }
/* Панель поиска каталога (#lobbyCatalog, строка 2560x48@0,3801 «Recommended 25 of
   63 games / Sort / Filter / Random») на /sports не нужна: у донора на этой
   странице нет ни поиска, ни каталога — main 2560x2789@0,68 сразу переходит в
   ленты подвала. Текст «Recommended»/«63 games» в исходном коде /sports
   отсутствует. */
html[data-bl-sports] #lobbyCatalog { display: none; }
html[data-bl-sports] footer[data-testid="footer"] > div.flex-col.items-center { padding-left: 336px; padding-right: 16px; }
@media (min-width: 640px) { html[data-bl-sports] .sm\:pl-\[336px\] { padding-left: 336px; } }
html[data-bl-sports] .h-\[61px\] { height: 61px; }
